@vector-crystal-web/atoms 1.26.0 → 1.26.2

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- # RELEASES - [VECTOR-CRYSTAL-WEB/ATOMS] - VERSION: [1.26.0] - LAST-UPDATE: [2026/03/07]
1
+ # RELEASES - [VECTOR-CRYSTAL-WEB/ATOMS] - VERSION: [1.26.2] - LAST-UPDATE: [2026/03/12]
2
2
 
3
3
  ---
4
4
 
@@ -94,6 +94,7 @@
94
94
 
95
95
  ### ♻️ Refactor
96
96
 
97
+ - 2026/03/08 (Diogo Ribeiro): **crystal-web/atoms:** css formatting adjustments and bold icons on button, chip, hint, label and toast
97
98
  - 2026/03/06 (Diogo Ribeiro): **atoms/text-field:** improved customization for text and password and in the story
98
99
  - 2026/03/06 (Diogo Ribeiro): **atoms/label:** adjustments to the label component and improvements to the story
99
100
  - 2026/03/06 (Diogo Ribeiro): **crystal-web/atoms:** path resolution in entry points adjustments
@@ -128,12 +129,18 @@
128
129
 
129
130
  ### 🩹 Fixes
130
131
 
132
+ - 2026/03/10 (Alexandre): **atoms/tag:** adjust scss
133
+ - 2026/03/10 (Alexandre): **atoms/toast:** scss code review
134
+ - 2026/03/10 (Alexandre): **atoms/toast:** scss adjustment requested by ux
131
135
  - 2026/03/03 (Diogo Ribeiro): **atoms/bundle:** enhancement of the bundle and build process and package generation for NPM
132
136
  - 2026/03/03 (Diogo Ribeiro): **crystal-web/bundle:** enhancement of the bundle and build process and package generation for NPM
133
137
  - 2025/11/09 (Diogo Ribeiro): **atoms/crystal-radio:** code review adjustment behavior and css
134
138
 
135
139
  ### 🔧 Chore
136
140
 
141
+ - 2026/03/08 (Diogo Ribeiro): **crystal-web/atoms:** update package version, dependencies and logs
142
+ - 2026/03/08 (Diogo Ribeiro): **crystal-web/tokens:** update package version, dependencies and logs
143
+ - 2026/03/06 (Diogo Ribeiro): **atoms/label-text-field:** update package version, dependencies and logs
137
144
  - 2026/03/03 (Diogo Ribeiro): **shared/bundle:** update package version, dependencies and logs
138
145
  - 2026/03/03 (Diogo Ribeiro): **atoms/bundle:** update package version, dependencies and logs
139
146
  - 2026/03/03 (Diogo Ribeiro): **tokens/bundle:** update package version, dependencies and logs
@@ -190,7 +197,7 @@
190
197
  # ❤️ THANK YOU FOR
191
198
  ---
192
199
 
193
- - Alexandre (alexandre.salgueiro)
200
+ - Alexandre (alexandre.barbosa)
194
201
  - Ana (ana.najera.tam)
195
202
  - Diogo Ribeiro (diogoribeiro.web)
196
203
  - Marcos Evaristo (marcos.evaristo)
@@ -2,15 +2,21 @@
2
2
 
3
3
  :host ::ng-deep {
4
4
  .p-button {
5
- padding: tokens.$padding-padding-5 tokens.$padding-padding-8;
6
- min-height: 36px;
5
+ padding: tokens.$padding-padding-3 tokens.$padding-padding-6 !important;
6
+ min-height: 32px;
7
+ min-width: 110px;
8
+ gap: tokens.$spacing-spacing-3;
7
9
  font-family: tokens.$primitive-font-family-body;
8
10
  font-size: tokens.$primitive-font-size-default;
9
11
  font-weight: var(--primitive-font-weight-6);
10
12
  border-radius: tokens.$radius-radius-2;
11
13
 
14
+ span.p-button-label {
15
+ font-weight: var(--primitive-font-weight-6);
16
+ }
17
+
12
18
  .p-button-icon {
13
- font-size: var(--primitive-font-size-body-6);
19
+ font-size: var(--primitive-dimension-7);
14
20
  }
15
21
  .p-button-icon-left {
16
22
  margin-left: 0;
@@ -26,10 +32,13 @@
26
32
  .cw-button--only-icon {
27
33
  .p-button {
28
34
  display: flex;
35
+ gap: 0 !important;
29
36
  padding: 0 !important;
30
37
  align-items: center;
31
38
  justify-content: center;
32
- .p-button-icon {
39
+ min-width: auto;
40
+
41
+ &.p-button-icon-only {
33
42
  font-size: var(--primitive-font-size-body-5);
34
43
  }
35
44
  }
@@ -220,8 +229,12 @@
220
229
  // size
221
230
  .cw-button--x-small {
222
231
  .p-button {
223
- min-height: 32px;
232
+ height: 32px;
224
233
  padding: tokens.$padding-padding-5 tokens.$padding-padding-8;
234
+
235
+ .p-button-icon {
236
+ font-size: var(--primitive-dimension-6);
237
+ }
225
238
  }
226
239
  &.cw-button--only-icon {
227
240
  .p-button {
@@ -229,29 +242,35 @@
229
242
  height: 32px;
230
243
  width: 32px;
231
244
  .p-button-icon {
232
- font-size: var(--primitive-font-size-body-3);
245
+ font-size: var(--primitive-dimension-6);
233
246
  }
234
247
  }
235
248
  }
236
249
  }
250
+
237
251
  .cw-button--small {
238
252
  .p-button {
239
- min-height: 36px;
253
+ height: 36px;
240
254
  padding: tokens.$padding-padding-5 tokens.$padding-padding-8;
255
+
256
+ .p-button-icon {
257
+ font-size: var(--primitive-dimension-6);
258
+ }
241
259
  }
242
260
  &.cw-button--only-icon {
243
261
  .p-button {
244
262
  height: 36px;
245
263
  width: 36px;
246
264
  .p-button-icon {
247
- font-size: var(--primitive-font-size-body-5);
265
+ font-size: var(--primitive-dimension-6);
248
266
  }
249
267
  }
250
268
  }
251
269
  }
270
+
252
271
  .cw-button--medium {
253
272
  .p-button {
254
- min-height: 42px;
273
+ height: 42px;
255
274
  padding: tokens.$padding-padding-6 tokens.$padding-padding-8;
256
275
  }
257
276
  &.cw-button--only-icon {
@@ -265,9 +284,10 @@
265
284
  }
266
285
  }
267
286
  }
287
+
268
288
  .cw-button--large {
269
289
  .p-button {
270
- min-height: 48px;
290
+ height: 48px;
271
291
  padding: tokens.$padding-padding-5 tokens.$padding-padding-8;
272
292
  }
273
293
  &.cw-button--only-icon {
@@ -1,28 +1,46 @@
1
1
  @use '@vector-crystal-web/tokens/variables' as tokens;
2
2
 
3
3
  :host ::ng-deep {
4
+ .cw-chip-wrapper {
5
+ display: inline-flex;
6
+ outline: none;
7
+ &:focus .p-chip,
8
+ &:focus-visible .p-chip,
9
+ &:focus-within .p-chip {
10
+ border: 1px solid #{tokens.$color-stroke-brand-default} !important;
11
+ outline: 3px solid tokens.$color-stroke-interactive-brand-focused !important;
12
+ outline-offset: 0;
13
+ }
14
+ }
15
+
4
16
  .p-chip {
5
17
  display: flex;
6
- padding: tokens.$padding-padding-2 tokens.$padding-padding-5;
7
- width: fit-content;
18
+ padding: tokens.$padding-padding-2 tokens.$padding-padding-5 !important;
19
+ gap: tokens.$spacing-spacing-3;
8
20
  min-height: var(--primitive-dimension-7);
9
21
  font-family: tokens.$primitive-font-family-body;
10
- font-size: var(--primitive-font-size-body-1);
22
+ font-size: var(--primitive-font-size-body-2);
11
23
  font-weight: var(--primitive-font-weight-6);
12
- align-items: center;
13
- // justify-content: center;
24
+ align-items: center !important;
14
25
  border-radius: tokens.$radius-full;
15
26
 
16
27
  .p-chip-icon {
17
28
  display: flex;
18
- margin: auto var(--primitive-dimension-1);
19
- min-height: var(--primitive-dimension-6);
20
29
  align-items: center;
30
+ justify-content: center;
31
+ margin: auto var(--primitive-dimension-1);
32
+ width: var(--primitive-dimension-6);
33
+ height: var(--primitive-dimension-6);
34
+ font-size: var(--primitive-dimension-6);
21
35
  font-weight: var(--primitive-font-weight-5);
22
36
  }
23
37
 
24
38
  .p-chip-remove-icon {
25
39
  margin: auto var(--primitive-dimension-2);
40
+ display: block;
41
+ width: var(--primitive-dimension-6);
42
+ height: var(--primitive-dimension-6) !important;
43
+ font-size: var(--primitive-dimension-6);
26
44
  }
27
45
  }
28
46
 
@@ -131,6 +149,7 @@
131
149
  box-shadow: var(--primitive-shadow-large);
132
150
  }
133
151
  }
152
+
134
153
  .cw-chip--warning {
135
154
  background: tokens.$color-fill-feedback-warning;
136
155
  color: tokens.$color-text-feedback-warning;
@@ -261,25 +280,16 @@
261
280
 
262
281
  // size
263
282
  .cw-chip--small {
264
- height: var(--primitive-dimension-7);
265
- min-height: var(--primitive-dimension-7);
266
- padding: tokens.$padding-padding-1 tokens.$padding-padding-3;
267
- gap: tokens.$padding-padding-7;
283
+ height: var(--primitive-dimension-8);
268
284
  }
269
285
  .cw-chip--medium {
270
- height: var(--primitive-dimension-8);
271
- min-height: var(--primitive-dimension-8);
272
- gap: tokens.$padding-padding-1;
286
+ height: var(--primitive-dimension-9);
273
287
  }
274
288
  .cw-chip--large {
275
- height: var(--primitive-dimension-9);
276
- min-height: var(--primitive-dimension-9);
277
- gap: tokens.$padding-padding-2;
289
+ height: var(--primitive-dimension-10);
278
290
  }
279
291
  .cw-chip--x-large {
280
- height: var(--primitive-dimension-10);
281
- min-height: var(--primitive-dimension-10);
282
- gap: tokens.$padding-padding-2;
292
+ height: var(--primitive-dimension-11);
283
293
  }
284
294
 
285
295
  // disabled