keevo-components 1.8.366 → 1.8.368

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.366",
3
+ "version": "1.8.368",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -0,0 +1,184 @@
1
+ // Importar a fonte Inter var primeiro
2
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
3
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
4
+
5
+ $font-family-keevo: "Inter var", "Inter", sans-serif;
6
+
7
+ // Importar outras fontes
8
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
9
+
10
+ ::ng-deep :root {
11
+ --kv-primary-color: 41, 185, 45;
12
+ --kv-secondary-color: 0, 37, 66;
13
+ --kv-tertiary-color: 165, 165, 165;
14
+ }
15
+
16
+ .material-symbols-outlined {
17
+ font-family: "Material Symbols Outlined" !important;
18
+ }
19
+
20
+ // Definir a font-family globalmente
21
+ * {
22
+ font-family: $font-family-keevo !important;
23
+ }
24
+
25
+ // Sobrescrever estilos específicos de componentes do PrimeNG
26
+ ::ng-deep {
27
+ // Componentes que possuem texto
28
+ .p-accordion,
29
+ .p-accordion-header,
30
+ .p-accordion-content,
31
+ .p-badge,
32
+ .p-overlay-badge,
33
+ .p-breadcrumb,
34
+ .p-breadcrumb-item,
35
+ .p-breadcrumb-link,
36
+ .p-button,
37
+ .p-calendar,
38
+ .p-card,
39
+ .p-card-title,
40
+ .p-card-subtitle,
41
+ .p-card-content,
42
+ .p-checkbox,
43
+ .p-chip,
44
+ .p-confirm-dialog,
45
+ .p-confirm-dialog-message,
46
+ .p-contextmenu,
47
+ .p-contextmenu-item,
48
+ .p-dataview,
49
+ .p-dataview-content,
50
+ .p-dialog,
51
+ .p-dialog-title,
52
+ .p-dialog-content,
53
+ .p-dropdown,
54
+ .p-dropdown-label,
55
+ .p-dropdown-item,
56
+ .p-dynamic-dialog,
57
+ .p-dynamic-dialog-title,
58
+ .p-dynamic-dialog-content,
59
+ .p-editor,
60
+ .p-fieldset,
61
+ .p-fieldset-legend,
62
+ .p-fieldset-content,
63
+ .p-fileupload,
64
+ .p-inputmask,
65
+ .p-inputnumber,
66
+ .p-inputtextarea,
67
+ .p-inputtext,
68
+ .p-menu,
69
+ .p-menuitem,
70
+ .p-menuitem-text,
71
+ .p-message,
72
+ .p-messages,
73
+ .p-multiselect,
74
+ .p-multiselect-label,
75
+ .p-multiselect-item,
76
+ .p-panelmenu,
77
+ .p-panelmenu-header,
78
+ .p-panelmenu-content,
79
+ .p-panel,
80
+ .p-panel-header,
81
+ .p-panel-content,
82
+ .p-password,
83
+ .p-picklist,
84
+ .p-progressbar,
85
+ .p-radiobutton,
86
+ .p-rating,
87
+ .p-sidebar,
88
+ .p-splitbutton,
89
+ .p-steps,
90
+ .p-step,
91
+ .p-table,
92
+ .p-datatable,
93
+ .p-tabview,
94
+ .p-tabpanel,
95
+ .p-tag,
96
+ .p-toast,
97
+ .p-toolbar,
98
+ .p-tooltip,
99
+ .p-tree,
100
+ .p-treetable,
101
+ .p-selectbutton,
102
+ .p-stepper,
103
+ .p-inputgroup,
104
+ .p-inputgroup-addon,
105
+ .p-text {
106
+ font-family: $font-family-keevo !important;
107
+ }
108
+ }
109
+
110
+ :host ::ng-deep .inputs {
111
+ height: 1.875rem;
112
+ }
113
+
114
+ :host ::ng-deep .inputs,
115
+ .p-inputtext,
116
+ .p-inputtextarea {
117
+ font-size: 0.875rem;
118
+ }
119
+
120
+ ::ng-deep .p-dialog .p-dialog-header {
121
+ color: white !important;
122
+ background: #002542 !important;
123
+ display: flex !important;
124
+ flex-wrap: wrap;
125
+ word-wrap: break-word;
126
+ }
127
+
128
+ ::ng-deep .p-dialog .p-dialog-content {
129
+ padding-top: 1rem;
130
+ }
131
+
132
+ ::ng-deep .p-dialog {
133
+ min-width: 320px;
134
+ }
135
+
136
+ ::ng-deep .p-dialog-content {
137
+ &::-webkit-scrollbar {
138
+ width: 8px;
139
+
140
+ &:hover {
141
+ background-color: rgba(222, 222, 222, 0.75);
142
+ }
143
+ }
144
+
145
+ &::-webkit-scrollbar-thumb {
146
+ border-radius: 4px;
147
+ background-color: transparent;
148
+ }
149
+
150
+ &:hover::-webkit-scrollbar-thumb {
151
+ border-left: 2px solid white;
152
+ background-color: rgba(0, 0, 0, 0.5);
153
+ }
154
+
155
+ &::-webkit-scrollbar-track {
156
+ border-left: 2px solid white;
157
+ background-color: rgba(222, 222, 222, 0.75);
158
+ }
159
+
160
+ overflow-x: hidden;
161
+ }
162
+
163
+ ::ng-deep .p-dialog-footer {
164
+ display: flex;
165
+ justify-content: flex-end;
166
+ padding: 10px;
167
+ gap: 10px;
168
+ }
169
+
170
+ ::ng-deep .p-dialog .p-dialog-header .p-dialog-header-icon {
171
+ display: none;
172
+ }
173
+
174
+ // element.style {
175
+ // font-size: 0.75rem;
176
+ // width: 100%;
177
+ // margin-left: 2px;
178
+ // /* overflow: hidden; */
179
+ // word-wrap: break-word;
180
+ // }
181
+
182
+ ::ng-deep .p-tooltip {
183
+ font-size: 0.825rem !important;
184
+ }
@@ -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
+ }