keevo-components 1.8.367 → 1.8.369

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.367",
3
+ "version": "1.8.369",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -0,0 +1,203 @@
1
+ @import "../keevo-components-styles.scss";
2
+
3
+ ::ng-deep .kv-button .p-button-loading-icon svg {
4
+ width: 100%;
5
+ height: 100%;
6
+ display: block;
7
+ }
8
+
9
+ ::ng-deep .kv-button .p-button-loading-icon svg g {
10
+ transform: translate(0, 0);
11
+ }
12
+
13
+ ::ng-deep .kv-button {
14
+ border: none;
15
+ // padding: 0.4rem;
16
+ display: flex;
17
+ flex-direction: row;
18
+ align-items: center;
19
+ justify-content: center;
20
+ gap: 0.125rem;
21
+
22
+ .kv-button-label {
23
+ font-weight: 500;
24
+ }
25
+ }
26
+
27
+ ::ng-deep .small {
28
+ height: 1.625rem;
29
+ min-width: 1.625rem;
30
+
31
+ .kv-button-label {
32
+ font-size: 0.625rem;
33
+ }
34
+
35
+ .kv-button-icon {
36
+ font-size: 0.75rem;
37
+ }
38
+
39
+ .p-button-loading-icon {
40
+ width: 0.55rem;
41
+ height: 0.55rem;
42
+ }
43
+ }
44
+
45
+ ::ng-deep .normal {
46
+ height: 1.875rem;
47
+ min-width: 1.875rem;
48
+
49
+ .kv-button-label {
50
+ font-size: 0.825rem;
51
+ }
52
+
53
+ .kv-button-icon {
54
+ font-size: 1rem;
55
+ }
56
+
57
+ .p-button-loading-icon {
58
+ width: 0.75rem;
59
+ height: 0.75rem;
60
+ }
61
+ }
62
+
63
+ ::ng-deep .large {
64
+ height: 2.125rem;
65
+ min-width: 2.125rem;
66
+
67
+ .kv-button-label {
68
+ font-size: 1rem;
69
+ }
70
+
71
+ .kv-button-icon {
72
+ font-size: 1.25rem;
73
+ }
74
+
75
+ .p-button-loading-icon {
76
+ width: 0.875rem;
77
+ height: 0.875rem;
78
+ }
79
+ }
80
+
81
+ //Primary button
82
+ ::ng-deep .primary {
83
+ background-color: rgb(var(--kv-primary-color));
84
+ &:hover {
85
+ background-color: rgba(var(--kv-primary-color), 0.8);
86
+ }
87
+
88
+ &:active {
89
+ background-color: rgba(var(--kv-primary-color), 0.95);
90
+ }
91
+ }
92
+
93
+ .primary.outline {
94
+ border: solid 0.5px rgb(var(--kv-primary-color));
95
+ background-color: white;
96
+ color: rgb(var(--kv-primary-color));
97
+
98
+ &:hover {
99
+ background-color: rgb(var(--kv-primary-color));
100
+ color: white;
101
+ }
102
+
103
+ &:active {
104
+ background-color: rgba(var(--kv-primary-color), 0.8);
105
+ }
106
+ }
107
+
108
+ .primary.text {
109
+ opacity: 0.9;
110
+ background-color: transparent;
111
+ color: rgb(var(--kv-primary-color));
112
+
113
+ &:hover {
114
+ background-color: rgba(var(--kv-primary-color), 0.1);
115
+ }
116
+
117
+ &:active {
118
+ background-color: rgba(var(--kv-primary-color), 0.2);
119
+ }
120
+ }
121
+
122
+ //Secondary button
123
+ ::ng-deep .secondary {
124
+ background-color: rgb(var(--kv-secondary-color));
125
+
126
+ &:hover {
127
+ background-color: rgba(var(--kv-secondary-color), 0.8);
128
+ }
129
+
130
+ &:active {
131
+ background-color: rgba(var(--kv-secondary-color), 0.95);
132
+ }
133
+ }
134
+
135
+ .secondary.outline {
136
+ border: solid 0.5px rgb(var(--kv-secondary-color));
137
+ background-color: white;
138
+ color: rgb(var(--kv-secondary-color));
139
+
140
+ &:hover {
141
+ background-color: rgb(var(--kv-secondary-color));
142
+ color: white;
143
+ }
144
+
145
+ &:active {
146
+ background-color: rgba(var(--kv-secondary-color), 0.8);
147
+ }
148
+ }
149
+
150
+ .secondary.text {
151
+ background-color: transparent;
152
+ color: rgb(var(--kv-secondary-color));
153
+
154
+ &:hover {
155
+ background-color: rgba(var(--kv-secondary-color), 0.1);
156
+ }
157
+
158
+ &:active {
159
+ background-color: rgba(var(--kv-secondary-color), 0.2);
160
+ }
161
+ }
162
+
163
+ //Tertiary button
164
+ ::ng-deep .tertiary {
165
+ color: #212121;
166
+ background-color: rgba(var(--kv-tertiary-color), 0.3);
167
+
168
+ &:hover {
169
+ background-color: rgba(var(--kv-tertiary-color), 0.8);
170
+ }
171
+
172
+ &:active {
173
+ background-color: rgba(var(--kv-tertiary-color), 0.95);
174
+ }
175
+ }
176
+
177
+ .tertiary.outline {
178
+ border: solid 0.5px rgb(var(--kv-tertiary-color));
179
+ background-color: white;
180
+ color: rgb(var(--kv-tertiary-color));
181
+
182
+ &:hover {
183
+ background-color: rgb(var(--kv-tertiary-color));
184
+ color: white;
185
+ }
186
+
187
+ &:active {
188
+ background-color: rgba(var(--kv-tertiary-color), 0.8);
189
+ }
190
+ }
191
+
192
+ .tertiary.text {
193
+ background-color: transparent;
194
+ color: rgb(var(--kv-tertiary-color));
195
+
196
+ &:hover {
197
+ background-color: rgba(var(--kv-tertiary-color), 0.1);
198
+ }
199
+
200
+ &:active {
201
+ background-color: rgba(var(--kv-tertiary-color), 0.2);
202
+ }
203
+ }