@coreui/angular-pro 4.7.3 → 5.0.0-alpha.1

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 (103) hide show
  1. package/esm2022/lib/avatar/avatar.component.mjs +8 -5
  2. package/esm2022/lib/badge/badge.component.mjs +8 -4
  3. package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +6 -6
  4. package/esm2022/lib/button/button-close.directive.mjs +9 -3
  5. package/esm2022/lib/calendar/calendar/calendar.component.mjs +148 -69
  6. package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +2 -1
  7. package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +2 -2
  8. package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +26 -0
  9. package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +101 -58
  10. package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +253 -90
  11. package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +117 -0
  12. package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +26 -22
  13. package/esm2022/lib/calendar/calendar.module.mjs +7 -4
  14. package/esm2022/lib/calendar/calendar.service.mjs +5 -2
  15. package/esm2022/lib/calendar/calendar.utils.mjs +100 -17
  16. package/esm2022/lib/card/card.component.mjs +10 -6
  17. package/esm2022/lib/carousel/carousel/carousel.component.mjs +35 -34
  18. package/esm2022/lib/coreui.types.mjs +1 -1
  19. package/esm2022/lib/date-picker/date-picker.component.mjs +5 -9
  20. package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +166 -161
  21. package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +5 -18
  22. package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +10 -2
  23. package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +76 -40
  24. package/esm2022/lib/dropdown/dropdown.service.mjs +2 -2
  25. package/esm2022/lib/modal/modal/modal.component.mjs +1 -1
  26. package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +9 -6
  27. package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
  28. package/esm2022/lib/nav/nav.component.mjs +3 -3
  29. package/esm2022/lib/navbar/navbar.component.mjs +7 -11
  30. package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +8 -4
  31. package/esm2022/lib/popover/popover.directive.mjs +2 -2
  32. package/esm2022/lib/shared/public_api.mjs +2 -1
  33. package/esm2022/lib/shared/shared.module.mjs +5 -12
  34. package/esm2022/lib/shared/theme.directive.mjs +44 -0
  35. package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +3 -2
  36. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +3 -3
  37. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +19 -15
  38. package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +11 -2
  39. package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +88 -123
  40. package/esm2022/lib/smart-table/smart-table-head/smart-table-column-label.pipe.mjs +3 -11
  41. package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +46 -35
  42. package/esm2022/lib/smart-table/smart-table.type.mjs +1 -1
  43. package/esm2022/lib/smart-table/smart-table.utils.mjs +181 -0
  44. package/esm2022/lib/table/table.type.mjs +1 -1
  45. package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +3 -5
  46. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +11 -5
  47. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +17 -10
  48. package/esm2022/lib/time-picker/time-picker.component.mjs +87 -113
  49. package/esm2022/lib/tooltip/tooltip.directive.mjs +2 -2
  50. package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +2 -2
  51. package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +4 -4
  52. package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +14 -16
  53. package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  54. package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +2 -2
  55. package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +2 -2
  56. package/fesm2022/coreui-angular-pro.mjs +2185 -1472
  57. package/fesm2022/coreui-angular-pro.mjs.map +1 -1
  58. package/lib/avatar/avatar.component.d.ts +4 -3
  59. package/lib/badge/badge.component.d.ts +5 -3
  60. package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +1 -1
  61. package/lib/button/button-close.directive.d.ts +3 -1
  62. package/lib/calendar/calendar/calendar.component.d.ts +46 -19
  63. package/lib/calendar/calendar-month/calendar-class-row.pipe.d.ts +23 -0
  64. package/lib/calendar/calendar-month/calendar-day.directive.d.ts +16 -26
  65. package/lib/calendar/calendar-month/calendar-month.component.d.ts +45 -27
  66. package/lib/calendar/calendar-month/calendar-row.directive.d.ts +44 -0
  67. package/lib/calendar/calendar-navigation/calendar-navigation.component.d.ts +7 -6
  68. package/lib/calendar/calendar.module.d.ts +2 -1
  69. package/lib/calendar/calendar.service.d.ts +5 -1
  70. package/lib/calendar/calendar.utils.d.ts +25 -6
  71. package/lib/card/card.component.d.ts +3 -1
  72. package/lib/carousel/carousel/carousel.component.d.ts +10 -14
  73. package/lib/coreui.types.d.ts +4 -1
  74. package/lib/date-picker/date-picker.component.d.ts +2 -2
  75. package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +75 -41
  76. package/lib/dropdown/dropdown/dropdown.component.d.ts +2 -9
  77. package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +5 -1
  78. package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +13 -16
  79. package/lib/dropdown/dropdown.service.d.ts +0 -1
  80. package/lib/multi-select/multi-select/multi-select.component.d.ts +1 -2
  81. package/lib/nav/nav.component.d.ts +2 -2
  82. package/lib/navbar/navbar.component.d.ts +2 -5
  83. package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +2 -1
  84. package/lib/shared/public_api.d.ts +1 -0
  85. package/lib/shared/shared.module.d.ts +2 -1
  86. package/lib/shared/theme.directive.d.ts +19 -0
  87. package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +5 -2
  88. package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +1 -0
  89. package/lib/smart-table/smart-table/smart-table.component.d.ts +36 -51
  90. package/lib/smart-table/smart-table-head/smart-table-column-label.pipe.d.ts +0 -1
  91. package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +21 -11
  92. package/lib/smart-table/smart-table.type.d.ts +49 -34
  93. package/lib/smart-table/smart-table.utils.d.ts +29 -0
  94. package/lib/table/table.type.d.ts +5 -6
  95. package/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +2 -1
  96. package/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +3 -2
  97. package/lib/time-picker/time-picker.component.d.ts +17 -28
  98. package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
  99. package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +3 -3
  100. package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +15 -13
  101. package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +1 -1
  102. package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
  103. package/package.json +3 -2
@@ -1,4 +1,4 @@
1
- import { Colors } from '../../coreui.types';
1
+ import { Colors, TextColors } from '../../coreui.types';
2
2
  import { CardComponent } from '../../card';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WidgetStatBComponent extends CardComponent {
@@ -12,7 +12,7 @@ export declare class WidgetStatBComponent extends CardComponent {
12
12
  * Sets the text-color context of the component to one of CoreUI’s themed colors.
13
13
  * @type Colors
14
14
  */
15
- textColor?: Colors | 'white' | 'muted';
15
+ textColor?: TextColors;
16
16
  /**
17
17
  * Title of the widget to display
18
18
  * @type string
@@ -36,7 +36,7 @@ export declare class WidgetStatBComponent extends CardComponent {
36
36
  get hostClasses(): {
37
37
  [x: string]: boolean;
38
38
  card: boolean;
39
- 'text-high-emphasis-inverse': boolean;
39
+ 'text-white': boolean;
40
40
  };
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatBComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetStatBComponent, "c-widget-stat-b", ["cWidgetStatB"], { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; }, {}, never, ["*"], true, never>;
@@ -27,26 +27,28 @@ export declare class WidgetStatCComponent extends CardComponent implements After
27
27
  templates: any;
28
28
  contentTemplates: QueryList<TemplateIdDirective>;
29
29
  get hostExtendedClass(): {
30
- 'high-emphasis-inverse': string | boolean;
31
- };
32
- get iconClasses(): {
33
- [x: string]: string | boolean;
34
- 'mb-4': boolean;
35
- 'text-end': boolean;
36
- 'text-medium-emphasis': boolean;
37
- 'text-medium-emphasis-inverse': string | boolean;
30
+ 'text-white': string | boolean;
38
31
  };
39
32
  get titleClasses(): {
40
33
  [x: string]: string | boolean;
41
- 'text-medium-emphasis': boolean;
42
- 'text-medium-emphasis-inverse': string | boolean;
34
+ 'text-body-secondary': boolean;
35
+ 'text-white': string | boolean;
36
+ 'text-opacity-75': string | boolean;
43
37
  };
44
38
  get valueClasses(): {
45
- [x: string]: string | boolean;
39
+ 'text-body-emphasis': boolean;
40
+ 'text-body-secondary': boolean;
41
+ 'text-white': string | boolean;
42
+ 'text-opacity-75': string | boolean;
46
43
  'fs-4': boolean;
47
44
  'fw-semibold': boolean;
48
- 'text-high-emphasis': boolean;
49
- 'text-high-emphasis-inverse': string | boolean;
45
+ };
46
+ get iconClasses(): {
47
+ 'text-body-secondary': boolean;
48
+ 'text-white': string | boolean;
49
+ 'text-opacity-75': string | boolean;
50
+ 'mb-4': boolean;
51
+ 'text-end': boolean;
50
52
  };
51
53
  ngAfterContentInit(): void;
52
54
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatCComponent, never>;
@@ -14,7 +14,7 @@ export declare class WidgetStatEComponent extends CardComponent {
14
14
  value?: string | number;
15
15
  get titleClasses(): {
16
16
  [x: string]: boolean;
17
- 'text-medium-emphasis': boolean;
17
+ 'text-body-secondary': boolean;
18
18
  small: boolean;
19
19
  'text-uppercase': boolean;
20
20
  'fw-semibold': boolean;
@@ -57,7 +57,7 @@ export declare class WidgetStatFComponent implements AfterContentInit {
57
57
  };
58
58
  get titleClasses(): {
59
59
  [x: string]: boolean;
60
- 'text-medium-emphasis': boolean;
60
+ 'text-body-secondary': boolean;
61
61
  small: boolean;
62
62
  'text-uppercase': boolean;
63
63
  'fw-semibold': boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.7.3",
3
+ "version": "5.0.0-alpha.1",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "copyright": "Copyright 2023 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
@@ -28,7 +28,8 @@
28
28
  "@angular/core": "^17.0.0",
29
29
  "@angular/forms": "^17.0.0",
30
30
  "@angular/router": "^17.0.0",
31
- "@coreui/coreui-pro": "~4.5.0 || ~4.6.0",
31
+ "@coreui/coreui-pro": "~5.0.0-rc.1",
32
+ "@coreui/icons-angular": "~4.7.3 || ~5.0.0",
32
33
  "rxjs": "^7.8.1"
33
34
  },
34
35
  "repository": {