@indice/ng-components 0.2.133 → 0.2.136-beta
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/README.md +4 -4
- package/_styles.css +72 -25
- package/bundles/indice-ng-components.umd.js +130 -129
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-column.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +2 -2
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +1 -1
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +72 -64
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +6 -11
- package/esm2015/lib/layouts/views/form-layout/form-layout.component.js +6 -5
- package/esm2015/lib/layouts/views/model-view-layout/model-view-layout.component.js +3 -1
- package/esm2015/lib/ng-components.module.js +6 -4
- package/esm2015/lib/pages/http-status/page-not-found/page-not-found.component.js +2 -2
- package/esm2015/lib/pipes/obs-with-status.pipe.js +26 -0
- package/esm2015/lib/services/toaster.service.js +1 -1
- package/esm2015/lib/types.js +11 -5
- package/esm2015/public-api.js +2 -2
- package/fesm2015/indice-ng-components.js +114 -112
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +25 -20
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +2 -3
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +3 -2
- package/lib/ng-components.module.d.ts +2 -2
- package/lib/pipes/obs-with-status.pipe.d.ts +13 -0
- package/lib/types.d.ts +12 -7
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2015/lib/controls/nav-links-list/nav-links-list.component.js +0 -40
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +0 -15
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# INDICE ANGULAR Components
|
|
2
|
-
|
|
3
|
-
Indice common components for Angular 2+
|
|
4
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.
|
|
1
|
+
# INDICE ANGULAR Components
|
|
2
|
+
|
|
3
|
+
Indice common components for Angular 2+
|
|
4
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.
|
package/_styles.css
CHANGED
|
@@ -105,6 +105,10 @@
|
|
|
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
|
+
|
|
108
112
|
.nav-link-mobile-active {
|
|
109
113
|
@apply bg-gray-900 text-blue-300 block px-3 py-2 rounded-sm text-xs whitespace-nowrap overflow-ellipsis overflow-hidden;
|
|
110
114
|
}
|
|
@@ -130,8 +134,8 @@
|
|
|
130
134
|
@apply antialiased font-sans bg-gray-100;
|
|
131
135
|
}
|
|
132
136
|
|
|
133
|
-
|
|
134
|
-
@apply bg-gradient-to-r from-gray-900 to-gray-800 pb-24 sm:pb-
|
|
137
|
+
.shell-header-container {
|
|
138
|
+
@apply bg-gradient-to-r from-gray-900 to-gray-800 pb-24 sm:pb-32 z-50;
|
|
135
139
|
}
|
|
136
140
|
|
|
137
141
|
.shell-header-container-inner {
|
|
@@ -143,7 +147,7 @@
|
|
|
143
147
|
}
|
|
144
148
|
|
|
145
149
|
.shell-content-container {
|
|
146
|
-
@apply
|
|
150
|
+
@apply -mt-24 sm:-mt-32 ;
|
|
147
151
|
}
|
|
148
152
|
|
|
149
153
|
.shell-content-container-no-header {
|
|
@@ -173,25 +177,17 @@
|
|
|
173
177
|
}
|
|
174
178
|
|
|
175
179
|
.shell-header-md-visible {
|
|
176
|
-
@apply hidden sm:block;
|
|
180
|
+
@apply hidden sm:ml-6 sm:block;
|
|
177
181
|
}
|
|
178
182
|
|
|
179
183
|
.shell-header-link-container {
|
|
180
184
|
@apply hidden sm:ml-6 sm:block ml-10 flex-grow justify-start flex items-center space-x-4;
|
|
181
185
|
}
|
|
182
186
|
|
|
183
|
-
.shell-header-
|
|
184
|
-
@apply flex justify-start;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.shell-header-logo-container {
|
|
187
|
+
.shell-header-links-no-grow-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
|
-
|
|
195
191
|
.shell-header-menu-rounded-button {
|
|
196
192
|
@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;
|
|
197
193
|
}
|
|
@@ -209,7 +205,7 @@
|
|
|
209
205
|
}
|
|
210
206
|
|
|
211
207
|
.shell-header-profile-dropdown-button {
|
|
212
|
-
@apply max-w-xs
|
|
208
|
+
@apply max-w-xs focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
|
|
213
209
|
focus:ring-offset-blue-800 focus:ring-blue-400 transition ease-in duration-100;
|
|
214
210
|
}
|
|
215
211
|
|
|
@@ -221,13 +217,54 @@
|
|
|
221
217
|
@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;
|
|
222
218
|
}
|
|
223
219
|
|
|
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
|
+
}
|
|
224
261
|
|
|
225
262
|
.mobile-menu-button-container {
|
|
226
|
-
@apply -mr-2
|
|
263
|
+
@apply -mr-2 flex sm:hidden;
|
|
227
264
|
}
|
|
228
265
|
|
|
229
266
|
.mobile-menu-button {
|
|
230
|
-
@apply inline-flex items-center justify-center p-2 rounded-sm
|
|
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;
|
|
231
268
|
}
|
|
232
269
|
|
|
233
270
|
.mobile-menu-container {
|
|
@@ -235,7 +272,7 @@
|
|
|
235
272
|
}
|
|
236
273
|
|
|
237
274
|
.mobile-menu-link-container {
|
|
238
|
-
@apply px-2 py-3
|
|
275
|
+
@apply px-2 py-3 space-y-1 sm:px-3;
|
|
239
276
|
}
|
|
240
277
|
|
|
241
278
|
.mobile-menu-user-info-container {
|
|
@@ -263,13 +300,16 @@
|
|
|
263
300
|
}
|
|
264
301
|
|
|
265
302
|
.mobile-menu-rounded-button {
|
|
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-
|
|
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-1 focus:ring-offset-blue-800 focus:ring-blue-400 focus:ring-white;
|
|
267
304
|
}
|
|
268
305
|
|
|
269
306
|
.mobile-menu-rounded-button-icon-style {
|
|
270
307
|
@apply h-6 w-6;
|
|
271
308
|
}
|
|
272
309
|
|
|
310
|
+
.mobile-menu-link-container {
|
|
311
|
+
@apply mt-3 px-2 space-y-1;
|
|
312
|
+
}
|
|
273
313
|
|
|
274
314
|
|
|
275
315
|
.shell-footer-container {
|
|
@@ -360,15 +400,15 @@
|
|
|
360
400
|
}
|
|
361
401
|
|
|
362
402
|
.view-container-fluid {
|
|
363
|
-
@apply sm:px-0
|
|
403
|
+
@apply sm:px-0;
|
|
364
404
|
}
|
|
365
405
|
|
|
366
406
|
.view-layout-paddings {
|
|
367
|
-
@apply
|
|
407
|
+
@apply py-6 sm:py-10;
|
|
368
408
|
}
|
|
369
409
|
|
|
370
410
|
.view-layout-title-container {
|
|
371
|
-
@apply flex
|
|
411
|
+
@apply flex flex-row justify-start ;
|
|
372
412
|
}
|
|
373
413
|
|
|
374
414
|
.view-layout-title-container-inner {
|
|
@@ -388,19 +428,26 @@
|
|
|
388
428
|
}
|
|
389
429
|
|
|
390
430
|
.meta-container {
|
|
391
|
-
@apply
|
|
431
|
+
@apply mt-1 flex flex-col sm:flex-row sm:flex-wrap sm:mt-0 sm:space-x-6;
|
|
392
432
|
}
|
|
393
433
|
|
|
394
434
|
.meta-item-container {
|
|
395
|
-
@apply flex items-center;
|
|
435
|
+
@apply mt-2 flex items-center text-sm text-gray-500;
|
|
396
436
|
}
|
|
397
437
|
|
|
398
438
|
.meta-icon {
|
|
399
|
-
@apply text-sm mr-1;
|
|
439
|
+
@apply text-sm text-gray-400 mr-1;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.meta-container-sm {
|
|
443
|
+
@apply flex flex-wrap sm:flex-row space-x-2;
|
|
400
444
|
}
|
|
401
445
|
|
|
402
446
|
.meta-text {
|
|
403
|
-
@apply text-
|
|
447
|
+
@apply text-white text-xs;
|
|
448
|
+
margin-top: 2px;
|
|
449
|
+
margin-left: 2px;
|
|
450
|
+
margin-right: 2px;
|
|
404
451
|
}
|
|
405
452
|
|
|
406
453
|
.search-container {
|