@indice/ng-components 0.5.0-beta.0 → 0.5.0-beta.10

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/README.md +4 -4
  2. package/fesm2022/indice-ng-components.mjs +115 -108
  3. package/fesm2022/indice-ng-components.mjs.map +1 -1
  4. package/index.d.ts +11 -5
  5. package/package.json +1 -1
  6. package/src/assets/styles/advanced-search.css +39 -39
  7. package/src/assets/styles/avatar-initials.css +35 -35
  8. package/src/assets/styles/base.css +36 -36
  9. package/src/assets/styles/cards.css +84 -84
  10. package/src/assets/styles/collapsible-panel.css +23 -23
  11. package/src/assets/styles/combobox.css +27 -27
  12. package/src/assets/styles/components.css +34 -34
  13. package/src/assets/styles/date-picker.component.css +68 -68
  14. package/src/assets/styles/drop-down-menu.css +48 -48
  15. package/src/assets/styles/form-layout.css +51 -51
  16. package/src/assets/styles/indice-ng-icons-inline.css +2286 -2286
  17. package/src/assets/styles/language-selection.component.css +10 -10
  18. package/src/assets/styles/list-view.css +62 -62
  19. package/src/assets/styles/modal.css +182 -182
  20. package/src/assets/styles/model-view-layout.css +47 -47
  21. package/src/assets/styles/nav-links.css +64 -64
  22. package/src/assets/styles/notifications-indicator.component.css +37 -37
  23. package/src/assets/styles/pager.css +31 -31
  24. package/src/assets/styles/progress-bar.component.css +15 -15
  25. package/src/assets/styles/shell-layout.css +250 -250
  26. package/src/assets/styles/shell-sidebar-layout.css +122 -122
  27. package/src/assets/styles/shell-sidebar.css +31 -31
  28. package/src/assets/styles/side-pane.css +48 -48
  29. package/src/assets/styles/side-view-layout.css +56 -56
  30. package/src/assets/styles/stepper.css +169 -169
  31. package/src/assets/styles/tab-group.css +27 -27
  32. package/src/assets/styles/toast.css +70 -70
  33. package/src/assets/styles/toggle-button.component.css +51 -51
  34. package/src/assets/styles/toggle-buttons-list.component.css +44 -44
  35. package/src/assets/styles/toggle.css +23 -23
  36. package/src/assets/styles/view-layout.css +89 -89
  37. package/src/styles.css +49 -49
  38. package/src/tailwindcss.css +1 -1
package/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnInit, OnChanges, OnDestroy, EventEmitter, ElementRef, NgZone, SimpleChanges, QueryList, TemplateRef, AfterContentInit, AfterContentChecked, AfterViewChecked, ChangeDetectorRef, ComponentRef, ViewContainerRef, ComponentFactoryResolver, ApplicationRef, Injector, Type, StaticProvider, AfterViewInit, PipeTransform, InjectionToken, Renderer2, RendererFactory2, ModuleWithProviders } from '@angular/core';
3
3
  import { Observable, Subject, Subscription } from 'rxjs';
4
4
  import * as i60 from '@angular/router';
5
- import { Route, Params, Router, ActivatedRoute, Event as Event$1 } from '@angular/router';
5
+ import { ActivatedRouteSnapshot, Route, Params, Router, ActivatedRoute, Event as Event$1 } from '@angular/router';
6
6
  import * as i62 from '@angular/forms';
7
7
  import { ControlValueAccessor, AbstractControl } from '@angular/forms';
8
8
  import * as _indice_ng_components from '@indice/ng-components';
@@ -174,7 +174,12 @@ interface IShellConfig {
174
174
  showPictureOnHeader?: boolean;
175
175
  }
176
176
  interface IBreadcrumbLabelProcessor {
177
- process(route: Route): string;
177
+ process(context: BreadcrumbContext): string | Observable<string>;
178
+ }
179
+ interface BreadcrumbContext {
180
+ routeSnapshot?: ActivatedRouteSnapshot;
181
+ route?: Route;
182
+ defaultValue?: string;
178
183
  }
179
184
  declare enum ShellLayoutType {
180
185
  Stacked = "Stacked",
@@ -300,9 +305,9 @@ declare class PagerComponent implements OnInit, OnChanges {
300
305
  }
301
306
 
302
307
  declare class BreadcrumbItem {
303
- title?: string | undefined;
308
+ title?: (string | Observable<string>) | undefined;
304
309
  url?: string | undefined;
305
- constructor(title?: string | undefined, url?: string | undefined);
310
+ constructor(title?: (string | Observable<string>) | undefined, url?: string | undefined);
306
311
  level: number;
307
312
  get urlSegments(): string[] | undefined;
308
313
  }
@@ -347,6 +352,7 @@ declare class BreadcrumbComponent implements OnInit {
347
352
  private _breadcrumbService;
348
353
  constructor(_breadcrumbService: BreadcrumbService);
349
354
  ngOnInit(): void;
355
+ isAsync(value: any): boolean;
350
356
  breadcrumb: BreadcrumbItem[];
351
357
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
352
358
  static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "lib-breadcrumb", never, {}, {}, never, never, false, never>;
@@ -1906,4 +1912,4 @@ declare class IndiceComponentsModule {
1906
1912
  }
1907
1913
 
1908
1914
  export { APP_LANGUAGES, APP_LINKS, APP_NOTIFICATIONS, AddressPipe, AdvancedSearchComponent, AuthCallbackComponent, AuthRenewComponent, AvatarInitialsComponent, BREADCRUMB_LABEL_RESOLVER, BaseListComponent, BreadcrumbComponent, BreadcrumbItem, BreadcrumbRouteData, BreadcrumbService, ClickOutsideDirective, CollapsiblePanelComponent, ComboboxComponent, ComponentLoaderFactory, ContentTileComponent, ContentTileHeaderComponent, ContentTileItemComponent, DatepickerComponent, DefaultShellConfig, DropDownMenuComponent, DurationFormatPipe, EnhancedComboboxComponent, ErrorComponent, ExternalNavLink, FilterClause, FormLayoutComponent, FragmentNavLink, HeaderMetaItem, Icons, IndiceComponentsModule, KpiTileComponent, LIBSTEPPER_ACCESSOR, LIBTABGROUP_ACCESSOR, LibStepComponent, LibStepInfoDirective, LibStepLabelDirective, LibStepperComponent, LibTabComponent, LibTabGroupComponent, LibTabLabelDirective, ListColumnComponent, ListDetailsSectionComponent, ListTileComponent, ListViewComponent, ListViewEmptyStateComponent, ListViewType, LoggedOutComponent, MODAL_CONFIG_DEFAULT_OVERRIDE, MenuOption, Modal, ModalOptions, ModalService, ModelViewLayoutComponent, NULL_TOAST, NavLink, NavLinkSeparator, NavLinksListComponent, NotificationNavLink, OperatorOptions, Operators, PageNotFoundComponent, PagerComponent, PagerPosition, ProgressBarComponent, QueryParameters, RouterViewAction, SCREEN_SIZE, SHELL_CONFIG, ShellFooterComponent, ShellHeaderComponent, ShellLayoutComponent, ShellLayoutType, ShellSidebarComponent, ShellSidebarHeaderComponent, ShortNumberPipe, SidePaneComponent, SidePaneOverlayType, SidePaneSize, SideViewLayoutComponent, SkeletonLoaderComponent, StatsGridComponent, StepSelectedEvent, StepState, StepperType, SwitchViewAction, ToastType, ToasterComponent, ToasterContainerComponent, ToasterService, ToggleButtonComponent, ToggleButtonsListComponent, ToggleComponent, UnauthorizedComponent, UserSettingsService, ViewAction, ViewLayoutComponent };
1909
- export type { CloseInterceptorFn, IAddress, IAppLanguagesService, IAppLinks, IAppNotifications, IBreadcrumbLabelProcessor, IDictionary, IResultSet, IScreenSize, IShellConfig, IValidationProblemDetails, SearchOption, SelectInputOption, Toast, UserSettingKey };
1915
+ export type { BreadcrumbContext, CloseInterceptorFn, IAddress, IAppLanguagesService, IAppLinks, IAppNotifications, IBreadcrumbLabelProcessor, IDictionary, IResultSet, IScreenSize, IShellConfig, IValidationProblemDetails, SearchOption, SelectInputOption, Toast, UserSettingKey };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.5.0-beta.0",
3
+ "version": "0.5.0-beta.10",
4
4
  "description": "Indice common components for Angular v20",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,39 +1,39 @@
1
- .advanced-search-filter {
2
- @apply flex gap-6 mb-2 pr-2;
3
- }
4
-
5
- .advanced-search-filter-value-container {
6
- @apply flex gap-6 mb-6;
7
- }
8
-
9
- .advanced-search-filter-value-label {
10
- @apply block;
11
- }
12
-
13
- .advanced-search-filter-operator-label {
14
- @apply block;
15
- }
16
-
17
- .advanced-search-filter-value-input {
18
- @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;
19
- }
20
-
21
- .advanced-search-filter-value-input-daterange-from {
22
- @apply mt-6 p-2;
23
- }
24
-
25
- .advanced-search-filter-value-input-daterange-to {
26
- @apply mt-6 p-2;
27
- }
28
-
29
- .advanced-search-chips {
30
- @apply inline-flex rounded-full items-center mx-2 mb-4 py-1 pl-3 pr-1 text-sm font-medium bg-gray-300 text-gray-700;
31
- }
32
-
33
- .advanced-search-chips-remove-filter {
34
- @apply flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-gray-400 hover:bg-gray-200 hover:text-gray-500 focus:outline-none focus:bg-gray-500 focus:text-white;
35
- }
36
-
37
- .advanced-search-chips.disabled .advanced-search-chips-remove-filter:active {
38
- @apply transform-none;
39
- }
1
+ .advanced-search-filter {
2
+ @apply flex gap-6 mb-2 pr-2;
3
+ }
4
+
5
+ .advanced-search-filter-value-container {
6
+ @apply flex gap-6 mb-6;
7
+ }
8
+
9
+ .advanced-search-filter-value-label {
10
+ @apply block;
11
+ }
12
+
13
+ .advanced-search-filter-operator-label {
14
+ @apply block;
15
+ }
16
+
17
+ .advanced-search-filter-value-input {
18
+ @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;
19
+ }
20
+
21
+ .advanced-search-filter-value-input-daterange-from {
22
+ @apply mt-6 p-2;
23
+ }
24
+
25
+ .advanced-search-filter-value-input-daterange-to {
26
+ @apply mt-6 p-2;
27
+ }
28
+
29
+ .advanced-search-chips {
30
+ @apply inline-flex rounded-full items-center mx-2 mb-4 py-1 pl-3 pr-1 text-sm font-medium bg-gray-300 text-gray-700;
31
+ }
32
+
33
+ .advanced-search-chips-remove-filter {
34
+ @apply flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-gray-400 hover:bg-gray-200 hover:text-gray-500 focus:outline-none focus:bg-gray-500 focus:text-white;
35
+ }
36
+
37
+ .advanced-search-chips.disabled .advanced-search-chips-remove-filter:active {
38
+ @apply transform-none;
39
+ }
@@ -1,35 +1,35 @@
1
- .avatar-container {
2
- @apply inline-flex items-center justify-center h-8 w-8 rounded-full overflow-hidden;
3
- }
4
-
5
- .avatar-container-large {
6
- @apply inline-flex items-center justify-center h-12 w-12 rounded-full;
7
- }
8
-
9
- .avatar-text {
10
- @apply text-sm font-medium leading-none text-blue-300;
11
- }
12
-
13
- .avatar-text-large {
14
- @apply text-xl font-medium leading-none text-white;
15
- }
16
-
17
-
18
- .circle {
19
- display: flex;
20
- justify-content: center;
21
- align-items: center;
22
- }
23
-
24
- .circle img {
25
- border-radius: 50%;
26
- width: 60px;
27
- height: 60px;
28
- }
29
-
30
- .circle .initials {
31
- color: #FFFFFF;
32
- font-size: 20px;
33
- line-height: 19px;
34
- letter-spacing: 0.2625px;
35
- }
1
+ .avatar-container {
2
+ @apply inline-flex items-center justify-center h-8 w-8 rounded-full overflow-hidden;
3
+ }
4
+
5
+ .avatar-container-large {
6
+ @apply inline-flex items-center justify-center h-12 w-12 rounded-full;
7
+ }
8
+
9
+ .avatar-text {
10
+ @apply text-sm font-medium leading-none text-blue-300;
11
+ }
12
+
13
+ .avatar-text-large {
14
+ @apply text-xl font-medium leading-none text-white;
15
+ }
16
+
17
+
18
+ .circle {
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ }
23
+
24
+ .circle img {
25
+ border-radius: 50%;
26
+ width: 60px;
27
+ height: 60px;
28
+ }
29
+
30
+ .circle .initials {
31
+ color: #FFFFFF;
32
+ font-size: 20px;
33
+ line-height: 19px;
34
+ letter-spacing: 0.2625px;
35
+ }
@@ -1,36 +1,36 @@
1
- @reference tailwindcss;
2
-
3
- @layer base {
4
- html {
5
- scroll-behavior: smooth !important;
6
- }
7
-
8
- input {
9
- outline: none;
10
- }
11
-
12
- input[type=number] {
13
- outline: none;
14
- }
15
-
16
- textarea {
17
- outline: none;
18
- }
19
-
20
- h1 {
21
- @apply text-2xl;
22
- }
23
-
24
- h2 {
25
- @apply text-xl;
26
- }
27
-
28
- h3 {
29
- @apply text-lg;
30
- }
31
-
32
- a {
33
- @apply text-gray-600;
34
- }
35
-
36
- }
1
+ @reference tailwindcss;
2
+
3
+ @layer base {
4
+ html {
5
+ scroll-behavior: smooth !important;
6
+ }
7
+
8
+ input {
9
+ outline: none;
10
+ }
11
+
12
+ input[type=number] {
13
+ outline: none;
14
+ }
15
+
16
+ textarea {
17
+ outline: none;
18
+ }
19
+
20
+ h1 {
21
+ @apply text-2xl;
22
+ }
23
+
24
+ h2 {
25
+ @apply text-xl;
26
+ }
27
+
28
+ h3 {
29
+ @apply text-lg;
30
+ }
31
+
32
+ a {
33
+ @apply text-gray-600;
34
+ }
35
+
36
+ }
@@ -1,84 +1,84 @@
1
- .card-deck-busy{
2
- @apply animate-pulse;
3
- }
4
-
5
- .cards-deck-1 {
6
- @apply grid grid-cols-1 gap-0 sm:grid-cols-1 lg:grid-cols-1;
7
- }
8
-
9
- .cards-deck-2 {
10
- @apply grid grid-cols-1 gap-5 sm:grid-cols-1 lg:grid-cols-2;
11
- }
12
-
13
- .cards-deck-3 {
14
- @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3;
15
- }
16
-
17
- .cards-deck-4 {
18
- @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4;
19
- }
20
-
21
- .card {
22
- @apply relative h-full border border-gray-200 bg-gray-50 shadow-sm rounded-lg sm:rounded-3xl overflow-hidden;;
23
- }
24
-
25
- .card-body {
26
- @apply pt-2 px-4 pb-12 sm:pt-6 sm:px-6;
27
- }
28
-
29
- .card-img-top {
30
- @apply object-cover w-full h-48;
31
- }
32
-
33
- .card-header {
34
- @apply inset-x-0 px-4 py-6 sm:py-4 sm:px-6 border-b bg-white border-gray-200;
35
- }
36
-
37
- .card-footer {
38
- @apply absolute bottom-0 inset-x-0 bg-white px-4 py-4 sm:px-6 border-t border-gray-200;
39
- }
40
-
41
- .kpi-tile-title-container {
42
- @apply uppercase mb-2 overflow-ellipsis overflow-hidden;
43
- }
44
-
45
- .kpi-tile-action {
46
- @apply hover:text-gray-500;
47
- }
48
-
49
- .kpi-tile-value {
50
- @apply text-6xl font-thin my-6;
51
- }
52
-
53
- .gallery-deck-1 {
54
- @apply grid grid-cols-1 p-4 gap-x-6 sm:grid-cols-2;
55
- }
56
-
57
- .gallery-deck-2 {
58
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 sm:gap-x-6 p-4;
59
- }
60
-
61
- .gallery-deck-3 {
62
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 p-4;
63
- }
64
-
65
- .gallery-deck-4 {
66
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 lg:grid-cols-4 xl:gap-x-8 p-4;
67
- }
68
-
69
- .tile-card-footer {
70
- @apply absolute bottom-0 inset-x-0 bg-gradient-to-b from-transparent to-gray-50 px-2 pb-4 sm:px-4;
71
- }
72
-
73
- .tile-card-item-btn {
74
- @apply inline-flex mx-1 items-center rounded-full border border-transparent p-1 text-white shadow-sm focus:outline-none;
75
- }
76
-
77
- .tile-card-item-btn-selected {
78
- @apply bg-slate-700 ring-slate-700 ring-1 ring-offset-1;
79
- }
80
-
81
- .tile-card-item-btn-available {
82
- @apply bg-slate-500 hover:bg-slate-700 ring-0;
83
- }
84
-
1
+ .card-deck-busy{
2
+ @apply animate-pulse;
3
+ }
4
+
5
+ .cards-deck-1 {
6
+ @apply grid grid-cols-1 gap-0 sm:grid-cols-1 lg:grid-cols-1;
7
+ }
8
+
9
+ .cards-deck-2 {
10
+ @apply grid grid-cols-1 gap-5 sm:grid-cols-1 lg:grid-cols-2;
11
+ }
12
+
13
+ .cards-deck-3 {
14
+ @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3;
15
+ }
16
+
17
+ .cards-deck-4 {
18
+ @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4;
19
+ }
20
+
21
+ .card {
22
+ @apply relative h-full border border-gray-200 bg-gray-50 shadow-sm rounded-lg sm:rounded-3xl overflow-hidden;;
23
+ }
24
+
25
+ .card-body {
26
+ @apply pt-2 px-4 pb-12 sm:pt-6 sm:px-6;
27
+ }
28
+
29
+ .card-img-top {
30
+ @apply object-cover w-full h-48;
31
+ }
32
+
33
+ .card-header {
34
+ @apply inset-x-0 px-4 py-6 sm:py-4 sm:px-6 border-b bg-white border-gray-200;
35
+ }
36
+
37
+ .card-footer {
38
+ @apply absolute bottom-0 inset-x-0 bg-white px-4 py-4 sm:px-6 border-t border-gray-200;
39
+ }
40
+
41
+ .kpi-tile-title-container {
42
+ @apply uppercase mb-2 overflow-ellipsis overflow-hidden;
43
+ }
44
+
45
+ .kpi-tile-action {
46
+ @apply hover:text-gray-500;
47
+ }
48
+
49
+ .kpi-tile-value {
50
+ @apply text-6xl font-thin my-6;
51
+ }
52
+
53
+ .gallery-deck-1 {
54
+ @apply grid grid-cols-1 p-4 gap-x-6 sm:grid-cols-2;
55
+ }
56
+
57
+ .gallery-deck-2 {
58
+ @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 sm:gap-x-6 p-4;
59
+ }
60
+
61
+ .gallery-deck-3 {
62
+ @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 p-4;
63
+ }
64
+
65
+ .gallery-deck-4 {
66
+ @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 lg:grid-cols-4 xl:gap-x-8 p-4;
67
+ }
68
+
69
+ .tile-card-footer {
70
+ @apply absolute bottom-0 inset-x-0 bg-gradient-to-b from-transparent to-gray-50 px-2 pb-4 sm:px-4;
71
+ }
72
+
73
+ .tile-card-item-btn {
74
+ @apply inline-flex mx-1 items-center rounded-full border border-transparent p-1 text-white shadow-sm focus:outline-none;
75
+ }
76
+
77
+ .tile-card-item-btn-selected {
78
+ @apply bg-slate-700 ring-slate-700 ring-1 ring-offset-1;
79
+ }
80
+
81
+ .tile-card-item-btn-available {
82
+ @apply bg-slate-500 hover:bg-slate-700 ring-0;
83
+ }
84
+
@@ -1,23 +1,23 @@
1
- .collapsible-panel-container {
2
- @apply bg-white border border-gray-200 mb-2;
3
- }
4
-
5
- .collapsible-panel-container-shadow {
6
- @apply shadow-sm;
7
- }
8
-
9
- .collapsible-panel-container-inner {
10
- @apply relative border-b border-gray-200;
11
- }
12
-
13
- .collapsible-panel-button {
14
- @apply w-full px-8 py-6 text-left;
15
- }
16
-
17
- .collapsible-panel-button-content-container {
18
- @apply flex items-center justify-between;
19
- }
20
-
21
- .collapsible-panel-content-container {
22
- @apply relative overflow-hidden transition-all duration-700;
23
- }
1
+ .collapsible-panel-container {
2
+ @apply bg-white border border-gray-200 mb-2;
3
+ }
4
+
5
+ .collapsible-panel-container-shadow {
6
+ @apply shadow-sm;
7
+ }
8
+
9
+ .collapsible-panel-container-inner {
10
+ @apply relative border-b border-gray-200;
11
+ }
12
+
13
+ .collapsible-panel-button {
14
+ @apply w-full px-8 py-6 text-left;
15
+ }
16
+
17
+ .collapsible-panel-button-content-container {
18
+ @apply flex items-center justify-between;
19
+ }
20
+
21
+ .collapsible-panel-content-container {
22
+ @apply relative overflow-hidden transition-all duration-700;
23
+ }
@@ -1,27 +1,27 @@
1
- .combobox-wrapper {
2
- @apply relative mt-1;
3
- }
4
-
5
- .combobox-input {
6
- @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;
7
- }
8
-
9
- .combobox-icons {
10
- @apply absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none;
11
- }
12
-
13
- .combobox-results {
14
- @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-black/5 focus:outline-none sm:text-sm;
15
- }
16
-
17
- .combobox-default-item-template {
18
- @apply hover:bg-gray-100 relative cursor-pointer select-none py-2 pl-3 pr-3 block truncate;
19
- }
20
-
21
- .combobox-selected-item-wrapper {
22
- @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;
23
- }
24
-
25
- .combobox-selected-item-remove-btn {
26
- @apply cursor-pointer bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500;
27
- }
1
+ .combobox-wrapper {
2
+ @apply relative mt-1;
3
+ }
4
+
5
+ .combobox-input {
6
+ @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;
7
+ }
8
+
9
+ .combobox-icons {
10
+ @apply absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none;
11
+ }
12
+
13
+ .combobox-results {
14
+ @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-black/5 focus:outline-none sm:text-sm;
15
+ }
16
+
17
+ .combobox-default-item-template {
18
+ @apply hover:bg-gray-100 relative cursor-pointer select-none py-2 pl-3 pr-3 block truncate;
19
+ }
20
+
21
+ .combobox-selected-item-wrapper {
22
+ @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;
23
+ }
24
+
25
+ .combobox-selected-item-remove-btn {
26
+ @apply cursor-pointer bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500;
27
+ }
@@ -1,34 +1,34 @@
1
- .md-visible {
2
- @apply hidden md:block;
3
- }
4
-
5
- .btn-outline {
6
- @apply focus:outline-none bg-transparent text-gray-700 text-sm hover:text-gray-800 px-2.5 py-1.5 border border-gray-500 hover:border-gray-600 rounded-sm;
7
- }
8
-
9
- .btn-outline:disabled {
10
- @apply focus:outline-none bg-transparent text-gray-400 text-sm px-2.5 py-1.5 border border-gray-300 rounded-sm cursor-not-allowed;
11
- }
12
-
13
-
14
- .btn-view-header {
15
- @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;
16
- }
17
-
18
-
19
- .sidebar .btn-view-header {
20
- @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;
21
- }
22
-
23
- .btn-form-view-header {
24
- @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
25
- }
26
-
27
- .btn-form-view-header-search {
28
- @apply rounded-l-none text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
29
- }
30
-
31
- .selected-view-indicator {
32
- @apply absolute top-0 right-0 block ml-2 h-1.5 w-1.5 rounded-full ring-1 ring-white bg-blue-300;
33
- }
34
-
1
+ .md-visible {
2
+ @apply hidden md:block;
3
+ }
4
+
5
+ .btn-outline {
6
+ @apply focus:outline-none bg-transparent text-gray-700 text-sm hover:text-gray-800 px-2.5 py-1.5 border border-gray-500 hover:border-gray-600 rounded-sm;
7
+ }
8
+
9
+ .btn-outline:disabled {
10
+ @apply focus:outline-none bg-transparent text-gray-400 text-sm px-2.5 py-1.5 border border-gray-300 rounded-sm cursor-not-allowed;
11
+ }
12
+
13
+
14
+ .btn-view-header {
15
+ @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;
16
+ }
17
+
18
+
19
+ .sidebar .btn-view-header {
20
+ @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;
21
+ }
22
+
23
+ .btn-form-view-header {
24
+ @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
25
+ }
26
+
27
+ .btn-form-view-header-search {
28
+ @apply rounded-l-none text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
29
+ }
30
+
31
+ .selected-view-indicator {
32
+ @apply absolute top-0 right-0 block ml-2 h-1.5 w-1.5 rounded-full ring-1 ring-white bg-blue-300;
33
+ }
34
+