ngx-gccb 0.10.0 → 0.11.0

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 (106) hide show
  1. package/README.md +2 -3
  2. package/assets/styles.scss +14 -3
  3. package/fesm2022/ngx-gccb.mjs +614 -622
  4. package/fesm2022/ngx-gccb.mjs.map +1 -1
  5. package/lib/animations/index.d.ts +2 -2
  6. package/lib/animations/ngx-fade-right.animation.d.ts +2 -0
  7. package/lib/animations/ngx-fade-up.animation.d.ts +2 -0
  8. package/lib/components/index.d.ts +7 -7
  9. package/lib/components/ngx-date-picker/index.d.ts +1 -0
  10. package/lib/components/{date-picker/date-picker.component.d.ts → ngx-date-picker/ngx-date-picker.component.d.ts} +1 -1
  11. package/lib/components/ngx-form/index.d.ts +4 -0
  12. package/lib/components/ngx-form/ngx-form-control.d.ts +11 -0
  13. package/lib/components/ngx-form/ngx-form-errors/index.d.ts +1 -0
  14. package/lib/components/ngx-form/ngx-form-errors/ngx-form-errors.component.d.ts +15 -0
  15. package/lib/components/ngx-form/ngx-form.component.d.ts +14 -0
  16. package/lib/components/ngx-form/ngx-form.interfaces.d.ts +14 -0
  17. package/lib/components/ngx-loading-indicator/index.d.ts +1 -0
  18. package/lib/components/ngx-loading-indicator/ngx-loading-indicator.component.d.ts +7 -0
  19. package/lib/components/ngx-modal/index.d.ts +2 -0
  20. package/lib/components/{modal/base-modal.component.d.ts → ngx-modal/ngx-base-modal.component.d.ts} +1 -1
  21. package/lib/components/ngx-modal/ngx-modal.component.d.ts +16 -0
  22. package/lib/components/ngx-off-canvas/index.d.ts +1 -0
  23. package/lib/components/{off-canvas/off-canvas.component.d.ts → ngx-off-canvas/ngx-off-canvas.component.d.ts} +4 -4
  24. package/lib/components/ngx-tabs/index.d.ts +3 -0
  25. package/lib/components/ngx-tabs/ngx-tab-content.component.d.ts +7 -0
  26. package/lib/components/ngx-tabs/ngx-tab.component.d.ts +11 -0
  27. package/lib/components/ngx-tabs/ngx-tabs.component.d.ts +12 -0
  28. package/lib/components/ngx-toast/index.d.ts +1 -0
  29. package/lib/components/ngx-toast/ngx-toast.component.d.ts +8 -0
  30. package/lib/decorators/index.d.ts +3 -3
  31. package/lib/decorators/ngx-class.decorator.d.ts +2 -0
  32. package/lib/decorators/ngx-decorator.types.d.ts +2 -0
  33. package/lib/decorators/ngx-log.decorator.d.ts +3 -0
  34. package/lib/directives/index.d.ts +15 -0
  35. package/lib/directives/ngx-autofocus.directive.d.ts +9 -0
  36. package/lib/directives/ngx-button.directive.d.ts +17 -0
  37. package/lib/directives/ngx-card-body.directive.d.ts +8 -0
  38. package/lib/directives/ngx-card.directive.d.ts +8 -0
  39. package/lib/directives/ngx-col.directive.d.ts +10 -0
  40. package/lib/directives/{dropdown.directive.d.ts → ngx-dropdown.directive.d.ts} +4 -6
  41. package/lib/directives/ngx-form-group.directive.d.ts +13 -0
  42. package/lib/directives/ngx-form-input.directive.d.ts +19 -0
  43. package/lib/directives/ngx-form-label.directive.d.ts +6 -0
  44. package/lib/directives/ngx-form-select.directive.d.ts +9 -0
  45. package/lib/directives/ngx-icon-button.directive.d.ts +11 -0
  46. package/lib/directives/ngx-list-group-item-avatar.directive.d.ts +8 -0
  47. package/lib/directives/{list-group-item.directive.d.ts → ngx-list-group-item.directive.d.ts} +3 -3
  48. package/lib/directives/ngx-list-group.directive.d.ts +8 -0
  49. package/lib/directives/ngx-tooltip.directive.d.ts +8 -0
  50. package/lib/enums/index.d.ts +1 -1
  51. package/lib/pipe/index.d.ts +3 -1
  52. package/lib/pipe/ngx-as-form-control.pipe.d.ts +8 -0
  53. package/lib/pipe/ngx-is-form-control.pipe.d.ts +9 -0
  54. package/lib/pipe/ngx-is-form-group.pipe.d.ts +9 -0
  55. package/lib/services/index.d.ts +4 -0
  56. package/lib/services/{image.service.d.ts → ngx-image.service.d.ts} +3 -3
  57. package/lib/services/ngx-loading-indicator.service.d.ts +8 -0
  58. package/lib/services/ngx-modal.service.d.ts +14 -0
  59. package/lib/services/ngx-toast.service.d.ts +11 -0
  60. package/lib/validators/index.d.ts +3 -3
  61. package/lib/validators/{dateAfter.validator.d.ts → ngx-dateAfter.validator.d.ts} +1 -1
  62. package/lib/validators/{match.validator.d.ts → ngx-match.validator.d.ts} +1 -1
  63. package/lib/validators/{timeAfter.validator.d.ts → ngx-timeAfter.validator.d.ts} +1 -1
  64. package/package.json +1 -1
  65. package/public-api.d.ts +2 -20
  66. package/lib/animations/fade-right.animation.d.ts +0 -2
  67. package/lib/animations/fade-up.animation.d.ts +0 -2
  68. package/lib/components/date-picker/index.d.ts +0 -1
  69. package/lib/components/form/form-errors/form-errors.component.d.ts +0 -15
  70. package/lib/components/form/form-errors/index.d.ts +0 -1
  71. package/lib/components/form/form-input/form-input.component.d.ts +0 -26
  72. package/lib/components/form/form-input/index.d.ts +0 -1
  73. package/lib/components/form/index.d.ts +0 -2
  74. package/lib/components/loading-indicator/index.d.ts +0 -1
  75. package/lib/components/loading-indicator/loading-indicator.component.d.ts +0 -7
  76. package/lib/components/modal/index.d.ts +0 -2
  77. package/lib/components/modal/modal.component.d.ts +0 -14
  78. package/lib/components/off-canvas/index.d.ts +0 -1
  79. package/lib/components/tabs/index.d.ts +0 -3
  80. package/lib/components/tabs/tab-content.component.d.ts +0 -7
  81. package/lib/components/tabs/tab.component.d.ts +0 -11
  82. package/lib/components/tabs/tabs.component.d.ts +0 -12
  83. package/lib/components/toast/index.d.ts +0 -1
  84. package/lib/components/toast/toast.component.d.ts +0 -8
  85. package/lib/decorators/class.decorator.d.ts +0 -2
  86. package/lib/decorators/decorator.types.d.ts +0 -2
  87. package/lib/decorators/log.decorator.d.ts +0 -3
  88. package/lib/directives/autofocus.directive.d.ts +0 -9
  89. package/lib/directives/button.directive.d.ts +0 -17
  90. package/lib/directives/card-body.directive.d.ts +0 -8
  91. package/lib/directives/card.directive.d.ts +0 -8
  92. package/lib/directives/col.directive.d.ts +0 -10
  93. package/lib/directives/form-input.directive.d.ts +0 -9
  94. package/lib/directives/form-label.directive.d.ts +0 -6
  95. package/lib/directives/form-select.directive.d.ts +0 -9
  96. package/lib/directives/icon-button.directive.d.ts +0 -11
  97. package/lib/directives/list-group-item-avatar.directive.d.ts +0 -8
  98. package/lib/directives/list-group.directive.d.ts +0 -8
  99. package/lib/directives/tooltip.directive.d.ts +0 -8
  100. package/lib/pipe/form-control.pipe.d.ts +0 -8
  101. package/lib/services/loading-indicator.service.d.ts +0 -8
  102. package/lib/services/local.service.d.ts +0 -9
  103. package/lib/services/modal.service.d.ts +0 -14
  104. package/lib/services/toast.service.d.ts +0 -13
  105. package/lib/services/token.service.d.ts +0 -11
  106. /package/lib/enums/{logtype.enum.d.ts → ngx-logtype.enum.d.ts} +0 -0
package/README.md CHANGED
@@ -29,8 +29,7 @@ ngx-gccb allows using bootstrap classes, therefor bootstrap scss needs to be imp
29
29
  @Component({
30
30
  selector: 'app-root',
31
31
  templateUrl: './app.component.html',
32
- standalone: true,
33
- imports: [ButtonDirective];
32
+ imports: [NgxButtonDirective];
34
33
  })
35
34
  export class AppComponent {
36
35
  }
@@ -39,7 +38,7 @@ export class AppComponent {
39
38
  ```html
40
39
  // app.component.html
41
40
 
42
- <button app-button>some button text</button>
41
+ <button ngxButton>some button text</button>
43
42
  ```
44
43
 
45
44
  ## Credit
@@ -35,6 +35,11 @@ $btn-border-width: 2px;
35
35
  min-width: 62px;
36
36
  line-height: 21px;
37
37
  text-transform: uppercase;
38
+
39
+ &:focus {
40
+ outline: 0;
41
+ box-shadow: 0 0 0 0.15rem gray;
42
+ }
38
43
  }
39
44
 
40
45
  .card-header {
@@ -58,6 +63,11 @@ $btn-border-width: 2px;
58
63
  border-radius: 100%;
59
64
  background-color: transparent;
60
65
  border-color: transparent;
66
+
67
+ &:focus {
68
+ outline: 0;
69
+ box-shadow: 0 0 0 0.15rem gray;
70
+ }
61
71
  }
62
72
 
63
73
  // Iteriere über alle Farben in $theme-colors
@@ -65,7 +75,8 @@ $btn-border-width: 2px;
65
75
  .icon-button-#{$color-name} {
66
76
  color: $color-value;
67
77
 
68
- &:hover {
78
+ &:hover,
79
+ &:focus {
69
80
  color: var(--#{$color-name}-hover);
70
81
  background-color: rgba(0, 0, 0, 0.04);
71
82
  border-color: transparent !important;
@@ -90,8 +101,8 @@ $btn-border-width: 2px;
90
101
 
91
102
  .focus-active {
92
103
  z-index: 10;
93
- box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width)
94
- var(--bs-focus-ring-color);
104
+ box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0)
105
+ var(--bs-focus-ring-width) var(--bs-focus-ring-color);
95
106
  }
96
107
 
97
108
  .list-group-item-avatar {