@uniai-fe/uds-primitives 0.2.6 → 0.2.7

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/dist/styles.css CHANGED
@@ -2743,6 +2743,10 @@ figure.chip {
2743
2743
  margin-bottom: var(--form-field-gap-y);
2744
2744
  }
2745
2745
 
2746
+ .form-field-required {
2747
+ color: var(--color-feedback-error);
2748
+ }
2749
+
2746
2750
  .form-field-label {
2747
2751
  display: flex;
2748
2752
  align-items: center;
@@ -2751,14 +2755,10 @@ figure.chip {
2751
2755
  font-weight: var(--form-field-label-font-weight);
2752
2756
  line-height: var(--form-field-label-line-height);
2753
2757
  }
2754
- .form-field-label span {
2758
+ .form-field-label span:not(.form-field-required) {
2755
2759
  color: var(--form-field-label-color);
2756
2760
  }
2757
2761
 
2758
- .form-field-required {
2759
- color: var(--color-feedback-error);
2760
- }
2761
-
2762
2762
  .form-field-body {
2763
2763
  display: flex;
2764
2764
  flex-wrap: wrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-primitives",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "UNIAI Design System; Primitives Components Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -32,6 +32,10 @@
32
32
  margin-bottom: var(--form-field-gap-y);
33
33
  }
34
34
 
35
+ .form-field-required {
36
+ color: var(--color-feedback-error);
37
+ }
38
+
35
39
  .form-field-label {
36
40
  display: flex;
37
41
  align-items: center;
@@ -40,15 +44,11 @@
40
44
  font-size: var(--form-field-label-font-size);
41
45
  font-weight: var(--form-field-label-font-weight);
42
46
  line-height: var(--form-field-label-line-height);
43
- span {
47
+ span:not(.form-field-required) {
44
48
  color: var(--form-field-label-color);
45
49
  }
46
50
  }
47
51
 
48
- .form-field-required {
49
- color: var(--color-feedback-error);
50
- }
51
-
52
52
  .form-field-body {
53
53
  display: flex;
54
54
  flex-wrap: wrap;