ngx-gccb 0.19.0 → 0.21.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.
package/README.md CHANGED
@@ -29,7 +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
- imports: [NgxButtonDirective];
32
+ imports: [NgxButtonComponent];
33
33
  })
34
34
  export class AppComponent {
35
35
  }
@@ -38,7 +38,7 @@ export class AppComponent {
38
38
  ```html
39
39
  // app.component.html
40
40
 
41
- <button ngxButton>some button text</button>
41
+ <ngx-button>some button text</ngx-button>
42
42
  ```
43
43
 
44
44
  ## Credit
@@ -56,52 +56,6 @@ $btn-border-width: 2px;
56
56
  }
57
57
  }
58
58
 
59
- .icon-button {
60
- display: flex;
61
- align-items: center;
62
- justify-content: center;
63
- min-width: 40px;
64
- width: 40px;
65
- height: 40px;
66
- border-radius: 100%;
67
- background-color: transparent;
68
- border-color: transparent;
69
-
70
- &:focus {
71
- outline: 0;
72
- box-shadow: 0 0 0 0.15rem gray;
73
- }
74
- }
75
-
76
- // Iteriere über alle Farben in $theme-colors
77
- @each $color-name, $color-value in $theme-colors {
78
- .icon-button-#{$color-name} {
79
- color: $color-value;
80
-
81
- &:hover,
82
- &:focus {
83
- color: var(--#{$color-name}-hover);
84
- background-color: rgba(0, 0, 0, 0.04);
85
- border-color: transparent !important;
86
- }
87
- }
88
-
89
- .btn-#{$color-name} {
90
- &:hover {
91
- background-color: var(--#{$color-name}-hover);
92
- }
93
- }
94
-
95
- .btn-text-#{$color-name} {
96
- color: var(--#{$color-name});
97
- background-color: transparent !important;
98
- &:hover {
99
- color: var(--#{$color-name}-hover) !important;
100
- background-color: rgba(108, 117, 125, 0.1) !important;
101
- }
102
- }
103
- }
104
-
105
59
  .focus-active {
106
60
  z-index: 10;
107
61
  box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0)