@indice/ng-components 0.2.167-beta.4 → 0.2.167-beta.40

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 (100) hide show
  1. package/_styles.css +247 -83
  2. package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +12 -6
  3. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +3 -3
  4. package/esm2020/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -0
  5. package/esm2020/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -0
  6. package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +3 -3
  7. package/esm2020/lib/controls/combobox/combobox.component.mjs +33 -13
  8. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +3 -3
  9. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +9 -5
  10. package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +9 -5
  11. package/esm2020/lib/controls/language-selection/language-selection.component.mjs +3 -3
  12. package/esm2020/lib/controls/list-view/list-column.component.mjs +3 -3
  13. package/esm2020/lib/controls/list-view/list-details-section.component.mjs +3 -3
  14. package/esm2020/lib/controls/list-view/list-tile.component.mjs +3 -3
  15. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +3 -3
  16. package/esm2020/lib/controls/list-view/list-view.component.mjs +8 -8
  17. package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +13 -5
  18. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +3 -3
  19. package/esm2020/lib/controls/pager/pager.component.mjs +3 -3
  20. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +3 -3
  21. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +3 -3
  22. package/esm2020/lib/controls/stepper/lib-step-info.directive.mjs +3 -3
  23. package/esm2020/lib/controls/stepper/lib-step-label.directive.mjs +5 -5
  24. package/esm2020/lib/controls/stepper/lib-step.component.mjs +3 -3
  25. package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +6 -6
  26. package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +20 -14
  27. package/esm2020/lib/controls/tabs/lib-tab-label.directive.mjs +16 -0
  28. package/esm2020/lib/controls/tabs/lib-tab.component.mjs +14 -7
  29. package/esm2020/lib/controls/toaster/toaster-container.component.mjs +3 -3
  30. package/esm2020/lib/controls/toaster/toaster.component.mjs +3 -3
  31. package/esm2020/lib/controls/toggle/toggle.component.mjs +3 -3
  32. package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
  33. package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +32 -0
  34. package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
  35. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  36. package/esm2020/lib/directives/dynamic-component-host.directive.mjs +3 -3
  37. package/esm2020/lib/helpers/base-list.component.mjs +3 -3
  38. package/esm2020/lib/icons.mjs +4 -2
  39. package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +3 -3
  40. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +6 -6
  41. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +41 -52
  42. package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +15 -8
  43. package/esm2020/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +5 -5
  44. package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +19 -14
  45. package/esm2020/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +8 -9
  46. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +3 -3
  47. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +14 -5
  48. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +3 -3
  49. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +5 -5
  50. package/esm2020/lib/ng-components.module.mjs +112 -107
  51. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +3 -3
  52. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +3 -3
  53. package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +3 -3
  54. package/esm2020/lib/pages/http-status/error/error.component.mjs +3 -3
  55. package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +3 -3
  56. package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +3 -3
  57. package/esm2020/lib/pipes/address.pipe.mjs +3 -3
  58. package/esm2020/lib/pipes/duration-format.pipe.mjs +3 -3
  59. package/esm2020/lib/services/breadcrumb.service.mjs +174 -0
  60. package/esm2020/lib/services/component-loader/component-loader.class.mjs +2 -2
  61. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +3 -3
  62. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +3 -3
  63. package/esm2020/lib/services/modal-service/modal-container-component.mjs +3 -3
  64. package/esm2020/lib/services/modal-service/modal-options.class.mjs +3 -3
  65. package/esm2020/lib/services/modal-service/modal-service.mjs +3 -3
  66. package/esm2020/lib/services/modal-service/modal.class.mjs +3 -3
  67. package/esm2020/lib/services/toaster.service.mjs +10 -8
  68. package/esm2020/lib/services/user-settings.service.mjs +35 -0
  69. package/esm2020/lib/services/utilities.service.mjs +47 -0
  70. package/esm2020/lib/types.mjs +12 -9
  71. package/esm2020/public-api.mjs +8 -1
  72. package/fesm2015/indice-ng-components.mjs +933 -450
  73. package/fesm2015/indice-ng-components.mjs.map +1 -1
  74. package/fesm2020/indice-ng-components.mjs +925 -455
  75. package/fesm2020/indice-ng-components.mjs.map +1 -1
  76. package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -0
  77. package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -0
  78. package/lib/controls/combobox/combobox.component.d.ts +10 -5
  79. package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +3 -2
  80. package/lib/controls/kpi-tile/kpi-tile.component.d.ts +2 -1
  81. package/lib/controls/nav-links-list/nav-links-list.component.d.ts +3 -1
  82. package/lib/controls/tabs/lib-tab-group.component.d.ts +3 -3
  83. package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -0
  84. package/lib/controls/tabs/lib-tab.component.d.ts +8 -6
  85. package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -0
  86. package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +14 -0
  87. package/lib/icons.d.ts +2 -0
  88. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +10 -13
  89. package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +5 -3
  90. package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +6 -3
  91. package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +1 -1
  92. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +5 -2
  93. package/lib/ng-components.module.d.ts +57 -53
  94. package/lib/services/breadcrumb.service.d.ts +29 -0
  95. package/lib/services/toaster.service.d.ts +2 -2
  96. package/lib/services/user-settings.service.d.ts +13 -0
  97. package/lib/services/utilities.service.d.ts +11 -0
  98. package/lib/types.d.ts +16 -12
  99. package/package.json +1 -1
  100. package/public-api.d.ts +7 -0
package/_styles.css CHANGED
@@ -1,3 +1,54 @@
1
+ /*** IMPORTED FILE NOT FOUND ***/
2
+ @import 'tailwindcss/base';/*** --- ***/
3
+ /*** IMPORTED FILE NOT FOUND ***/
4
+ @import 'tailwindcss/components';/*** --- ***/
5
+ /*** IMPORTED FILE NOT FOUND ***/
6
+ @import 'tailwindcss/utilities';/*** --- ***/
7
+
8
+ @layer base {
9
+ h1 {
10
+ @apply text-2xl;
11
+ }
12
+
13
+ h2 {
14
+ @apply text-xl;
15
+ }
16
+
17
+ h3 {
18
+ @apply text-lg;
19
+ }
20
+
21
+ a {
22
+ @apply text-gray-600;
23
+ }
24
+
25
+ select {
26
+ @apply max-w-lg block focus:ring-gray-300 ring-opacity-25 focus:border-gray-300 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-200 rounded-sm;
27
+ }
28
+
29
+ input[type=text] {
30
+ @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
31
+ }
32
+
33
+ input[type=password] {
34
+ @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
35
+ }
36
+
37
+ input[type=email] {
38
+ @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
39
+ }
40
+
41
+ input[type=number] {
42
+ @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
43
+ }
44
+
45
+ textarea {
46
+ @apply shadow-sm focus:ring-gray-500 focus:border-gray-500 mt-1 block w-full sm:text-sm border-gray-300 rounded-sm;
47
+ }
48
+
49
+ }
50
+
51
+
1
52
  @layer components {
2
53
 
3
54
  .avatar-container {
@@ -278,13 +329,9 @@
278
329
  .shell-sidebar-component-container {
279
330
  @apply flex w-full flex-col h-full min-h-0 bg-gray-800;
280
331
  }
281
-
282
- .shell-sidebar-component-container-inner {
283
- @apply flex items-center h-16 flex-shrink-0 px-4 bg-gray-900;
284
- }
285
-
332
+
286
333
  .shell-sidebar-component-links-container {
287
- @apply pt-4 px-2;
334
+ @apply pt-4;
288
335
  }
289
336
 
290
337
  }
@@ -331,9 +378,13 @@
331
378
  @apply absolute top-0 right-0 -mr-12 pt-2;
332
379
  }
333
380
 
381
+
382
+
334
383
  .sidebar-off-canvas-toggle-button {
335
384
  @apply ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none;
336
385
  }
386
+
387
+
337
388
 
338
389
  .sidebar-off-canvas-app-logo-container {
339
390
  @apply flex-shrink-0 flex items-center px-4;
@@ -343,6 +394,7 @@
343
394
  @apply flex-shrink-0 w-14;
344
395
  }
345
396
 
397
+ /* in mobile view the static menu container is always hidden - off-canvas container is visible */
346
398
  .sidebar-static-menu-outer-container {
347
399
  @apply hidden md:flex;
348
400
  }
@@ -356,15 +408,15 @@
356
408
  }
357
409
 
358
410
  .sidebar-static-menu-container-not-active {
359
- @apply hidden;
411
+ @apply flex w-20;
360
412
  }
361
413
 
362
414
  .sidebar-static-menu-container-inner {
363
- @apply flex-1 flex flex-col min-h-0 bg-gray-800 shadow-lg;
415
+ @apply flex-1 flex items-center flex-col min-h-0 bg-gray-800 shadow-lg;
364
416
  }
365
417
 
366
418
  .sidebar-static-menu-app-logo-container {
367
- @apply flex items-center h-16 flex-shrink-0 px-4 bg-gray-900;
419
+ @apply flex items-center h-16 flex-shrink-0;
368
420
  }
369
421
 
370
422
  .sidebar-static-menu-header-app-logo-container {
@@ -373,25 +425,31 @@
373
425
 
374
426
  /* !!!! malakai onoma !!!! */
375
427
  .sidebar-static-menu-wrapper {
376
- @apply flex flex-col;
428
+ @apply flex flex-col md:pl-20;
377
429
  }
378
430
 
379
- .sidebar-static-menu-wrapper-active {
380
- @apply sm:pl-64;
431
+ .sidebar-static-menu-wrapper-expanded {
432
+ @apply md:pl-64;
381
433
  }
382
434
 
383
435
  .sidebar-static-menu-sticky-header-container {
384
- @apply sticky top-0 z-10 flex-shrink-0 flex h-16 bg-gray-900 shadow;
436
+ @apply sticky top-0 z-10 flex-shrink-0 flex h-16 bg-gray-900 shadow-2xl;
385
437
  }
386
438
 
387
439
  .sidebar-static-menu-toggle-button {
388
- @apply px-4 text-white bg-gray-800 focus:outline-none;
440
+ @apply px-4 text-white focus:outline-none;
441
+ }
442
+
443
+ .sidebar-static-menu-toggle-button-md {
444
+ @apply px-4 text-white focus:outline-none md:hidden;
389
445
  }
390
446
 
391
447
  .sidebar-static-menu-header-container {
392
448
  @apply flex-1 px-4 flex justify-between;
393
449
  }
394
450
 
451
+ /* fix names */
452
+
395
453
  .sidebar-static-menu-header-near-container {
396
454
  @apply flex-1 flex;
397
455
  }
@@ -444,55 +502,6 @@
444
502
  cursor: pointer;
445
503
  /* or add it to the track */
446
504
  }
447
- /*** IMPORTED FILE NOT FOUND ***/
448
- @import 'tailwindcss/base';/*** --- ***/
449
- /*** IMPORTED FILE NOT FOUND ***/
450
- @import 'tailwindcss/components';/*** --- ***/
451
- /*** IMPORTED FILE NOT FOUND ***/
452
- @import 'tailwindcss/utilities';/*** --- ***/
453
-
454
- @layer base {
455
- h1 {
456
- @apply text-2xl;
457
- }
458
-
459
- h2 {
460
- @apply text-xl;
461
- }
462
-
463
- h3 {
464
- @apply text-lg;
465
- }
466
-
467
- a {
468
- @apply text-gray-600;
469
- }
470
-
471
- select {
472
- @apply max-w-lg block focus:ring-gray-300 ring-opacity-25 focus:border-gray-300 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-200 rounded-sm;
473
- }
474
-
475
- input[type=text] {
476
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
477
- }
478
-
479
- input[type=password] {
480
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
481
- }
482
-
483
- input[type=email] {
484
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
485
- }
486
-
487
- input[type=number] {
488
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
489
- }
490
-
491
- textarea {
492
- @apply shadow-sm focus:ring-gray-500 focus:border-gray-500 mt-1 block w-full sm:text-sm border-gray-300 rounded-sm;
493
- }
494
-
495
- }
496
505
 
497
506
  @layer components {
498
507
  .card-deck-busy{
@@ -608,12 +617,12 @@
608
617
 
609
618
 
610
619
  .btn-view-header {
611
- @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-white transition-colors duration-150 rounded-md hover:shadow-sm hover:bg-gray-900;
620
+ @apply text-base focus:outline-none inline-flex items-center justify-center h-8 text-white transition-colors duration-150 rounded-md hover:shadow-sm hover:bg-gray-800;
612
621
  }
613
622
 
614
623
 
615
624
  .sidebar .btn-view-header {
616
- @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-900 transition-colors duration-150 rounded-md hover:shadow-sm hover:bg-gray-900 hover:text-white;
625
+ @apply text-base focus:outline-none inline-flex items-center justify-center h-8 text-gray-900 transition-colors duration-150 rounded-md hover:shadow-sm hover:bg-gray-800 hover:text-white;
617
626
  }
618
627
 
619
628
  .btn-form-view-header {
@@ -708,11 +717,11 @@
708
717
  }
709
718
 
710
719
  .dropdown-selected-text {
711
- @apply block truncate;
720
+ @apply truncate inline-flex items-center;
712
721
  }
713
722
 
714
723
  .dropdown-button-icon {
715
- @apply absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none;
724
+ @apply absolute inset-y-0 right-0 flex items-center pointer-events-none;
716
725
  }
717
726
 
718
727
  .dropdown-arrow {
@@ -732,11 +741,11 @@
732
741
  }
733
742
 
734
743
  .dropdown-li-text {
735
- @apply font-normal block truncate;
744
+ @apply font-normal truncate inline-flex items-center ;
736
745
  }
737
746
 
738
747
  .dropdown-li-selected-text {
739
- @apply font-semibold block truncate;
748
+ @apply font-semibold truncate inline-flex items-center ;
740
749
  }
741
750
 
742
751
  .dropdown-li-selected-indicator-container {
@@ -3318,7 +3327,7 @@
3318
3327
  }
3319
3328
 
3320
3329
  .model-view-aside {
3321
- @apply py-6 px-2 sm:px-6 lg:py-0 lg:px-0 lg:col-span-4 md:col-span-3;
3330
+ @apply py-6 px-2 sm:px-6 lg:py-0 lg:px-0 md:col-span-3;
3322
3331
  }
3323
3332
 
3324
3333
  .model-view-aside-header-section {
@@ -3377,7 +3386,11 @@
3377
3386
  }
3378
3387
 
3379
3388
  .sidebar .nav-link-list-container-inner {
3380
- @apply flex-1 px-2 py-4 space-y-1;
3389
+ @apply flex-1 px-2 py-4 space-y-2;
3390
+ }
3391
+
3392
+ .sidebar .nav-link-list-container-inner .icons-only {
3393
+ @apply flex-1 px-2 py-4 space-y-4;
3381
3394
  }
3382
3395
 
3383
3396
  .nav-link-active {
@@ -3388,6 +3401,14 @@
3388
3401
  @apply cursor-default bg-gray-900 text-white flex items-center px-2 py-2 text-sm font-medium rounded-md;
3389
3402
  }
3390
3403
 
3404
+ .sidebar .nav-link-active-b {
3405
+ @apply cursor-default bg-gray-900 border-b border-blue-400 text-white flex items-center px-2 py-2 text-sm font-medium rounded-md;
3406
+ }
3407
+
3408
+ .sidebar .nav-link-active-l {
3409
+ @apply cursor-default bg-gray-900 border-l border-blue-400 text-white flex items-center px-2 py-2 text-sm font-medium rounded-md;
3410
+ }
3411
+
3391
3412
  .nav-link-profile-active {
3392
3413
  @apply cursor-default block px-4 py-2 text-xs text-blue-300 shadow-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
3393
3414
  }
@@ -3404,6 +3425,9 @@
3404
3425
  @apply cursor-default bg-gray-50 border-gray-600 text-gray-900 border-l-4 py-2 px-3 flex items-center text-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
3405
3426
  }
3406
3427
 
3428
+ .min-nav-link-text-width {
3429
+ width: 220px;
3430
+ }
3407
3431
  }
3408
3432
 
3409
3433
  @layer components {
@@ -3459,7 +3483,7 @@
3459
3483
  }
3460
3484
 
3461
3485
  .pager-pages-container {
3462
- @apply relative z-30 inline-flex rounded-sm;
3486
+ @apply relative inline-flex rounded-sm;
3463
3487
  }
3464
3488
 
3465
3489
  .pager-button {
@@ -3554,7 +3578,7 @@
3554
3578
  }
3555
3579
 
3556
3580
  .shell-content-container {
3557
- @apply mx-auto -mt-28;
3581
+ @apply mx-auto -mt-24;
3558
3582
  }
3559
3583
 
3560
3584
  .sidebar .shell-content-container {
@@ -3567,11 +3591,11 @@
3567
3591
  }
3568
3592
 
3569
3593
  .sidebar .shell-content-container-inner {
3570
- @apply max-w-full px-4 min-h-screen;
3594
+ @apply max-w-full px-4 pb-2 min-h-screen;
3571
3595
  }
3572
3596
 
3573
3597
  .shell-content-container-inner {
3574
- @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 min-h-screen;
3598
+ @apply max-w-7xl mx-auto px-4 pb-2 sm:px-6 lg:px-8 min-h-screen;
3575
3599
  }
3576
3600
 
3577
3601
  .shell-content-container-inner-fluid {
@@ -4187,7 +4211,7 @@
4187
4211
  @layer components {
4188
4212
 
4189
4213
  .view-container {
4190
- @apply mt-8 sm:mt-5 flex flex-col;
4214
+ @apply mt-4 sm:mt-5 flex flex-col;
4191
4215
  }
4192
4216
 
4193
4217
  .view-container-fluid {
@@ -4195,17 +4219,25 @@
4195
4219
  }
4196
4220
 
4197
4221
  .view-layout-paddings {
4198
- @apply pt-6 pb-4 sm:py-6;
4222
+ @apply py-4 sm:py-6;
4223
+ }
4224
+
4225
+ .sidebar .view-layout-paddings {
4226
+ @apply py-2 sm:py-4;
4199
4227
  }
4200
4228
 
4201
4229
  .view-layout-title-container {
4202
- @apply flex text-white flex-row justify-start ;
4230
+ @apply flex text-white flex-col md:flex-row justify-start;
4203
4231
  }
4204
4232
 
4205
4233
  .view-layout-title-container-inner {
4206
4234
  @apply flex-1 min-w-0;
4207
4235
  }
4208
4236
 
4237
+ .view-layout-title-container-far {
4238
+ @apply flex items-center justify-start sm:justify-end;
4239
+ }
4240
+
4209
4241
  .title-icon {
4210
4242
  @apply text-2xl md:text-xl text-white font-thin mr-1;
4211
4243
  }
@@ -4231,15 +4263,15 @@
4231
4263
  }
4232
4264
 
4233
4265
  .meta-container {
4234
- @apply ml-1 mt-2 flex flex-row sm:flex-row sm:flex-wrap space-x-2 sm:space-x-4;
4266
+ @apply mt-1 ml-1 hidden h-0 w-0 md:w-full md:flex md:flex-wrap opacity-75;
4235
4267
  }
4236
-
4268
+
4237
4269
  .sidebar .meta-container {
4238
4270
  @apply text-gray-900;
4239
4271
  }
4240
4272
 
4241
4273
  .meta-item-container {
4242
- @apply flex items-center;
4274
+ @apply flex items-center mr-2;
4243
4275
  }
4244
4276
 
4245
4277
  .meta-icon {
@@ -4251,14 +4283,146 @@
4251
4283
  }
4252
4284
 
4253
4285
  .search-container {
4254
- @apply relative text-gray-400 focus-within:text-gray-600 ml-2 hover:shadow-sm hover:bg-gray-900;
4286
+ @apply relative inline-flex items-center bg-white text-gray-400 focus-within:text-gray-600 hover:shadow-sm border border-gray-200;
4255
4287
  }
4256
4288
 
4289
+ /* .search-input {
4290
+ @apply pl-10 pr-20 w-60 bg-gray-50 rounded-sm text-sm text-gray-900 border-gray-400 placeholder-gray-500 outline-none focus:shadow focus:outline-none z-0;
4291
+ } */
4292
+
4257
4293
  .search-input {
4258
- @apply block w-60 bg-gray-50 rounded-sm text-sm text-gray-900 placeholder-gray-500 outline-none;
4294
+ @apply w-60 rounded-sm text-sm text-gray-900 pt-2 pl-2 pb-2 placeholder-gray-500 outline-none border-0 focus:outline-none focus:ring-0;
4295
+ }
4296
+
4297
+ .search-button {
4298
+ @apply mr-1 text-xs focus:outline-none inline-flex items-center justify-center w-6 h-6 text-gray-800 hover:text-gray-900;
4259
4299
  }
4260
4300
  }
4261
4301
 
4302
+ @layer components {
4303
+ .combobox-wrapper {
4304
+ @apply relative mt-1;
4305
+ }
4306
+
4307
+ .combobox-input {
4308
+ @apply w-full rounded-md border border-gray-300 bg-white py-2 pl-3 pr-12 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm;
4309
+ }
4310
+
4311
+ .combobox-icons {
4312
+ @apply absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none;
4313
+ }
4314
+
4315
+ .combobox-results {
4316
+ @apply absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm;
4317
+ }
4318
+
4319
+ .combobox-default-item-template {
4320
+ @apply hover:bg-gray-100 relative cursor-pointer select-none py-2 pl-3 pr-3 block truncate;
4321
+ }
4322
+
4323
+ .combobox-selected-item-wrapper {
4324
+ @apply relative rounded-lg border border-gray-300 bg-white px-6 py-5 shadow-sm flex items-center space-x-3 hover:border-gray-400;
4325
+ }
4326
+
4327
+ .combobox-selected-item-remove-btn {
4328
+ @apply cursor-pointer bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500;
4329
+ }
4330
+ }
4331
+ @layer components {
4332
+ .toggle-button-button {
4333
+ @apply relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-1 focus:ring-gray-500 focus:ring-offset-1;
4334
+ }
4335
+
4336
+ .toggle-button-button-disabled {
4337
+ @apply opacity-75;
4338
+ }
4339
+
4340
+ .toggle-button-bg-false {
4341
+ @apply bg-gray-200;
4342
+ }
4343
+
4344
+ .toggle-button-bg-true {
4345
+ @apply bg-gray-600;
4346
+ }
4347
+
4348
+ .toggle-button-icon-container {
4349
+ @apply pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out;
4350
+ }
4351
+
4352
+ .toggle-button-icon-container-true {
4353
+ @apply translate-x-5;
4354
+ }
4355
+
4356
+ .toggle-button-icon-container-false {
4357
+ @apply translate-x-0;
4358
+ }
4359
+
4360
+ .toggle-button-icon-container-inner {
4361
+ @apply opacity-100 ease-in duration-200 absolute inset-0 flex h-full w-full items-center justify-center transition-opacity;
4362
+ }
4363
+
4364
+ .toggle-button-container-inner-true {
4365
+ @apply opacity-0 ease-out duration-100;
4366
+ }
4367
+
4368
+ .toggle-button-container-inner-false {
4369
+ @apply opacity-100 ease-in duration-200;
4370
+ }
4371
+
4372
+ .toggle-button-icon {
4373
+ @apply h-3 w-3 text-gray-600;
4374
+ }
4375
+
4376
+ .toggle-button-text {
4377
+ @apply text-sm font-medium text-gray-900;
4378
+ }
4379
+
4380
+ .toggle-button-description {
4381
+ @apply text-xs mt-1 text-gray-500;
4382
+ }
4383
+ }
4384
+ @layer components {
4385
+ .toggle-buttons-list-container {
4386
+ @apply relative items-center inline-flex;
4387
+ }
4388
+
4389
+ .toggle-buttons-list-icon-container {
4390
+ @apply flex-none mr-2;
4391
+ }
4392
+
4393
+ .toggle-buttons-list-drop-down-contaner {
4394
+ @apply block lg:hidden z-10;
4395
+ }
4396
+
4397
+ /* mw-40 not supported*/
4398
+ .toggle-buttons-list-drop-down {
4399
+ @apply w-full;
4400
+ }
4401
+
4402
+ .toggle-buttons-list {
4403
+ @apply hidden lg:block;
4404
+ }
4405
+
4406
+ .toggle-buttons-list-button {
4407
+ @apply relative inline-flex items-center p-2 first:border-l first:rounded-l-sm last:rounded-r-sm border-t border-b border-r border-gray-300 bg-white text-xs text-gray-700 hover:text-gray-900 focus:z-10 focus:outline-none;
4408
+ }
4409
+
4410
+ .toggle-buttons-list-button-selected {
4411
+ @apply bg-gray-100;
4412
+ }
4413
+
4414
+ .toggle-buttons-list-button-icon-container {
4415
+ @apply flex-none mr-2;
4416
+ }
4417
+
4418
+ .toggle-buttons-list-button-button-text {
4419
+ @apply mr-2 block overflow-ellipsis overflow-hidden;
4420
+ }
4421
+
4422
+ .toggle-buttons-list-button-button-count {
4423
+ @apply ml-1.5 rounded py-0.5 px-1.5 bg-gray-200 text-xs text-gray-700 tabular-nums;
4424
+ }
4425
+ }
4262
4426
 
4263
4427
  .modal-active {
4264
4428
  overflow: hidden;