cax-design-system 2.7.12 → 2.8.1

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.
@@ -5140,9 +5140,17 @@
5140
5140
  width: 0.875rem;
5141
5141
  height: 0.875rem;
5142
5142
  }
5143
+
5144
+ .cax-checkbox .cax-checkbox-box.cax-checkbox-sm.cax-highlight {
5145
+ background-color: var(--primary-500);
5146
+ border: 2px solid var(--primary-500);
5147
+ outline: 1.5px solid var(--primary-300);
5148
+ }
5149
+
5143
5150
  .cax-checkbox .cax-checkbox-box.cax-highlight {
5144
5151
  border-color: var(--primary-500);
5145
5152
  background: var(--primary-500);
5153
+ outline: 2px solid var(--primary-300);
5146
5154
  }
5147
5155
 
5148
5156
  .cax-checkbox-box:hover {
@@ -5175,6 +5183,7 @@
5175
5183
  .cax-checkbox-indeterminate .cax-checkbox-box {
5176
5184
  background-color: var(--primary-500);
5177
5185
  border: 2px solid var(--primary-500);
5186
+ // outline: 2px solid var(--primary-300);
5178
5187
  }
5179
5188
 
5180
5189
  .cax-checkbox-indeterminate .cax-checkbox-box:hover {
@@ -6025,6 +6034,7 @@ cax-calendar.cax-calendar-clearable .cax-calendar-w-btn .cax-calendar-clear-icon
6025
6034
  .cax-radiobutton .cax-radiobutton-box.cax-highlight {
6026
6035
  border-color: var(--primary-500);
6027
6036
  background: var(--primary-500);
6037
+ outline: 2px solid var(--primary-300);
6028
6038
  }
6029
6039
  .cax-radiobutton .cax-radiobutton-box.cax-highlight:not(.cax-disabled):hover {
6030
6040
  border-color: var(--primary-600);
@@ -6039,6 +6049,7 @@ cax-calendar.cax-calendar-clearable .cax-calendar-w-btn .cax-calendar-clear-icon
6039
6049
  }
6040
6050
  .cax-radiobutton.cax-variant-filled .cax-radiobutton-box.cax-highlight {
6041
6051
  background: var(--primary-500);
6052
+ outline: 2px solid var(--primary-300);
6042
6053
  }
6043
6054
  .cax-radiobutton.cax-variant-filled .cax-radiobutton-box.cax-highlight:not(.cax-disabled):hover {
6044
6055
  background: var(--primary-600);
@@ -6068,7 +6079,7 @@ cax-radiobutton.ng-dirty.ng-invalid > .cax-radiobutton > .cax-radiobutton-box {
6068
6079
  0 1px 2px 0 rgba(18, 18, 23, 0.05);
6069
6080
  }
6070
6081
  .cax-radiobutton .cax-radiobutton-box.cax-focus {
6071
- outline-offset: 2px;
6082
+ outline: 2px solid var(--primary-300);
6072
6083
  }
6073
6084
  .cax-radiobutton .cax-radiobutton-box.cax-focus.cax-highlight {
6074
6085
  border-color: var(--primary-500);
@@ -6882,6 +6893,7 @@ cax-radiobutton.ng-dirty.ng-invalid > .cax-radiobutton > .cax-radiobutton-box {
6882
6893
  }
6883
6894
  &:enabled:focus {
6884
6895
  border-color: var(--primary-500);
6896
+ outline: 2px solid var(--primary-300);
6885
6897
  }
6886
6898
  }
6887
6899
 
@@ -6893,6 +6905,7 @@ input.cax-input-invalid:hover,
6893
6905
  input.cax-input-invalid:focus,
6894
6906
  .cax-inputtext.cax-input-invalid:focus {
6895
6907
  border-color: var(--error-500) !important;
6908
+ outline: 2px solid var(--primary-300);
6896
6909
  }
6897
6910
 
6898
6911
  // Update disabled state styles
@@ -7566,6 +7579,9 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
7566
7579
  border-radius: var(--radius-100);
7567
7580
  outline-color: transparent;
7568
7581
  }
7582
+ .cax-button:focus {
7583
+ outline: 2px solid var(--primary-300);
7584
+ }
7569
7585
  .cax-button:not(:disabled):hover {
7570
7586
  background: var(--primary-600);
7571
7587
  color: var(--white-100);
@@ -7576,6 +7592,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
7576
7592
  color: var(--white-100);
7577
7593
  border-color: var(--primary-500);
7578
7594
  }
7595
+
7579
7596
  .cax-button.cax-button-outlined {
7580
7597
  background-color: transparent;
7581
7598
  color: var(--primary-500);
@@ -8472,7 +8489,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
8472
8489
  padding-right: 5.5rem !important;
8473
8490
  }
8474
8491
  .cax-tabview .cax-tabview-nav {
8475
- background: var(--white-100);
8492
+ background: transparent;
8476
8493
  // border: var(--border-100) solid var(--neutral-200);
8477
8494
  border-width: 0 0 var(--border-200) 0;
8478
8495
  }
@@ -8565,7 +8582,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
8565
8582
  border: var(--border-100) solid var(--neutral-700);
8566
8583
  border-width: 0 0 0 0;
8567
8584
  border-color: transparent transparent var(--neutral-700) transparent;
8568
- background: var(--white-100);
8585
+ background: transparent;
8569
8586
  color: var(--neutral-600);
8570
8587
  padding: var(--space-200);
8571
8588
  font-weight: 500;
@@ -8590,7 +8607,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
8590
8607
  }
8591
8608
 
8592
8609
  .cax-tabview .cax-tabview-nav li.cax-highlight .cax-tabview-nav-link {
8593
- background: var(--white-100);
8610
+ background: transparent;
8594
8611
  border-color: var(--neutral-700);
8595
8612
  color: var(--primary-500);
8596
8613
  }
@@ -9061,6 +9078,7 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
9061
9078
  .cax-toggleswitch:checked ~ .cax-toggleswitch-track {
9062
9079
  background-color: var(--primary-500);
9063
9080
  border: 1px solid var(--primary-500);
9081
+ outline: 2px solid var(--primary-300);
9064
9082
  }
9065
9083
 
9066
9084
  /* Update hover styles for unchecked state */
@@ -9175,6 +9193,17 @@ cax-inputmask.cax-inputmask-clearable .cax-inputmask-clear-icon {
9175
9193
  line-height: 20px;
9176
9194
  color: var(--neutral-900);
9177
9195
  }
9196
+
9197
+ .cax-editor-container {
9198
+ border-radius: 6px;
9199
+ outline: none;
9200
+ }
9201
+
9202
+ .cax-editor-container:focus-within {
9203
+ outline: 2px solid var(--primary-300);
9204
+ border-radius: 6px;
9205
+ }
9206
+
9178
9207
  .cax-editor-container .cax-editor-toolbar {
9179
9208
  background: var(--white-100);
9180
9209
  border-top-right-radius: 6px;
@@ -13,7 +13,7 @@
13
13
  align-items: center;
14
14
  margin-left: auto;
15
15
  }
16
-
16
+
17
17
  .cax-tabview-separator {
18
18
  width: 2px;
19
19
  height: 35px;
@@ -1,135 +1,116 @@
1
1
  @layer cax {
2
- .cax-text-fw-light {
3
- font-weight: 300;
4
- }
5
- .cax-text-fw-regular {
6
- font-weight: 400 !important;
7
- }
8
- .cax-text-fw-medium {
9
- font-weight: 500 !important;
10
- }
11
- .cax-text-fw-semibold {
12
- font-weight: 600;
13
- }
14
- .cax-text-fw-bold {
15
- font-weight: 700;
16
- }
17
-
18
- .cax-text-display-lg {
19
- font-size: 96px;
20
- line-height: 124px;
21
- letter-spacing: -2px;
22
- }
23
-
24
- .cax-text-display-md {
25
- font-size: 72px;
26
- line-height: 96px;
27
- letter-spacing: -2px;
28
- }
29
-
30
- .cax-text-display-sm {
31
- font-size: 56px;
32
- line-height: 72px;
33
- letter-spacing: -2px;
34
- }
35
-
36
- .cax-text-heading-2xl {
37
- font-size: 40px;
38
- line-height: 52px;
39
- letter-spacing: -2px;
40
- }
41
-
42
- .cax-text-heading-xl {
43
- font-size: 32px;
44
- line-height: 40px;
45
- letter-spacing: -2px;
46
- }
47
-
48
- .cax-text-heading-lg {
49
- font-size: 28px;
50
- line-height: 36px;
51
- }
52
-
53
- .cax-text-heading-md {
54
- font-size: 24px;
55
- line-height: 32px;
56
- }
57
-
58
- .cax-text-heading-sm {
59
- font-size: 20px;
60
- line-height: 28px;
61
- }
62
-
63
- .cax-text-heading-xs {
64
- font-size: 18px;
65
- line-height: 24px;
66
- }
67
-
68
- .cax-text-body-lg {
69
- font-size: 18px;
70
- line-height: 26px;
71
- }
72
-
73
- .cax-text-body-md {
74
- font-size: 16px;
75
- line-height: 24px;
76
- }
77
-
78
- .cax-text-body-sm {
79
- font-size: 14px;
80
- line-height: 24px;
81
- }
82
-
83
- .cax-text-body-xs {
84
- font-size: 12px;
85
- line-height: 18px;
86
- }
87
-
88
- .cax-text-action-lg {
89
- font-size: 18px;
90
- line-height: 28px;
91
- text-decoration: none;
92
- }
93
-
94
- .cax-text-action-link-lg {
95
- font-size: 18px;
96
- line-height: 28px;
97
- text-decoration: underline;
98
- }
99
-
100
- .cax-text-action-md {
101
- font-size: 16px;
102
- line-height: 24px;
103
- text-decoration: none;
104
- }
105
-
106
- .cax-text-action-link-md {
107
- font-size: 16px;
108
- line-height: 24px;
109
- text-decoration: underline;
110
- }
111
-
112
- .cax-text-action-sm {
113
- font-size: 14px;
114
- line-height: 20px;
115
- text-decoration: none;
116
- }
117
-
118
- .cax-text-action-link-sm {
119
- font-size: 14px;
120
- line-height: 20px;
121
- text-decoration: underline;
122
- }
123
-
124
- .cax-text-action-xs {
125
- font-size: 12px;
126
- line-height: 18px;
127
- text-decoration: none;
128
- }
129
-
130
- .cax-text-action-link-xs {
131
- font-size: 12px;
132
- line-height: 18px;
133
- text-decoration: underline;
134
- }
2
+ // Font Weights
3
+ .cax-text-fw-light { font-weight: 300; }
4
+ .cax-text-fw-regular { font-weight: 400 !important; }
5
+ .cax-text-fw-medium { font-weight: 500 !important; }
6
+ .cax-text-fw-semibold { font-weight: 600; }
7
+ .cax-text-fw-bold { font-weight: 700; }
8
+
9
+ // Breakpoints
10
+ $tablet: 960px;
11
+ $mobile: 360px;
12
+
13
+ // ========== DISPLAY ==========
14
+ .cax-text-display-xl {
15
+ font-size: 64px; line-height: 76px; letter-spacing: -0.5px;
16
+ @media (max-width: $tablet) { font-size: 56px; line-height: 68px; }
17
+ @media (max-width: $mobile) { font-size: 44px; line-height: 56px; letter-spacing: -0.4px; }
18
+ }
19
+
20
+ .cax-text-display-lg {
21
+ font-size: 48px; line-height: 60px; letter-spacing: -0.4px;
22
+ @media (max-width: $tablet) { font-size: 40px; line-height: 52px; letter-spacing: -0.3px; }
23
+ @media (max-width: $mobile) { font-size: 32px; line-height: 44px; letter-spacing: -0.3px; }
24
+ }
25
+
26
+ .cax-text-display-md {
27
+ font-size: 36px; line-height: 48px; letter-spacing: -0.3px;
28
+ @media (max-width: $tablet) { font-size: 32px; line-height: 44px; letter-spacing: -0.2px; }
29
+ @media (max-width: $mobile) { font-size: 28px; line-height: 36px; letter-spacing: -0.2px; }
30
+ }
31
+
32
+ .cax-text-display-sm {
33
+ font-size: 28px; line-height: 36px; letter-spacing: -0.2px;
34
+ @media (max-width: $tablet) { font-size: 24px; line-height: 32px; letter-spacing: -0.1px; }
35
+ @media (max-width: $mobile) { font-size: 20px; line-height: 28px; letter-spacing: -0.1px; }
36
+ }
37
+
38
+ // ========== HEADINGS ==========
39
+ .cax-text-heading-xl {
40
+ font-size: 32px; line-height: 40px; letter-spacing: -0.2px;
41
+ @media (max-width: $tablet) { font-size: 28px; line-height: 36px; letter-spacing: -0.1px; }
42
+ @media (max-width: $mobile) { font-size: 24px; line-height: 32px; letter-spacing: -0.1px; }
43
+ }
44
+
45
+ .cax-text-heading-lg {
46
+ font-size: 24px; line-height: 32px; letter-spacing: -0.1px;
47
+ @media (max-width: $tablet) { font-size: 22px; line-height: 30px; letter-spacing: 0px; }
48
+ @media (max-width: $mobile) { font-size: 20px; line-height: 28px; letter-spacing: 0px; }
49
+ }
50
+
51
+ .cax-text-heading-md {
52
+ font-size: 20px; line-height: 28px; letter-spacing: 0px;
53
+ @media (max-width: $tablet) { font-size: 18px; line-height: 24px; }
54
+ @media (max-width: $mobile) { font-size: 16px; line-height: 22px; }
55
+ }
56
+
57
+ .cax-text-heading-sm {
58
+ font-size: 16px; line-height: 24px; letter-spacing: 0px;
59
+ @media (max-width: $tablet) { font-size: 16px; line-height: 22px; }
60
+ @media (max-width: $mobile) { font-size: 14px; line-height: 20px; }
61
+ }
62
+
63
+ // ========== BODY ==========
64
+ .cax-text-body-lg {
65
+ font-size: 18px; line-height: 28px; letter-spacing: 0px;
66
+ @media (max-width: $tablet) { font-size: 16px; line-height: 28px; }
67
+ @media (max-width: $mobile) { font-size: 16px; line-height: 24px; }
68
+ }
69
+
70
+ .cax-text-body-md {
71
+ font-size: 16px; line-height: 24px; letter-spacing: 0px;
72
+ @media (max-width: $tablet) { font-size: 16px; line-height: 22px; }
73
+ @media (max-width: $mobile) { font-size: 14px; line-height: 20px; letter-spacing: 0.1px; }
74
+ }
75
+
76
+ .cax-text-body-sm {
77
+ font-size: 14px; line-height: 20px; letter-spacing: 0.1px;
78
+ @media (max-width: $tablet) { font-size: 13px; line-height: 18px; letter-spacing: 0.1px; }
79
+ @media (max-width: $mobile) { font-size: 12px; line-height: 16px; letter-spacing: 0.2px; }
80
+ }
81
+
82
+ .cax-text-body-xsm {
83
+ font-size: 12px; line-height: 16px; letter-spacing: 0.2px;
84
+ @media (max-width: $tablet) { font-size: 11px; line-height: 14px; letter-spacing: 0.2px; }
85
+ @media (max-width: $mobile) { font-size: 10px; line-height: 12px; letter-spacing: 0.3px; }
86
+ }
87
+
88
+ // ========== ACTIONS ==========
89
+ .cax-text-action-lg {
90
+ font-size: 16px; line-height: 24px; letter-spacing: 0.1px; text-decoration: none;
91
+ @media (max-width: $tablet) { font-size: 15px; line-height: 22px; }
92
+ @media (max-width: $mobile) { font-size: 14px; line-height: 20px; letter-spacing: 0.2px; }
93
+ }
94
+ .cax-text-action-lg-link { @extend .cax-text-action-lg; text-decoration: underline; }
95
+
96
+ .cax-text-action-md {
97
+ font-size: 14px; line-height: 20px; letter-spacing: 0.2px; text-decoration: none;
98
+ @media (max-width: $tablet) { font-size: 13px; line-height: 18px; }
99
+ @media (max-width: $mobile) { font-size: 12px; line-height: 16px; letter-spacing: 0.3px; }
100
+ }
101
+ .cax-text-action-md-link { @extend .cax-text-action-md; text-decoration: underline; }
102
+
103
+ .cax-text-action-sm {
104
+ font-size: 12px; line-height: 16px; letter-spacing: 0.3px; text-decoration: none;
105
+ @media (max-width: $tablet) { font-size: 11px; line-height: 14px; }
106
+ @media (max-width: $mobile) { font-size: 10px; line-height: 12px; letter-spacing: 0.4px; }
107
+ }
108
+ .cax-text-action-sm-link { @extend .cax-text-action-sm; text-decoration: underline; }
109
+
110
+ .cax-text-action-xsm {
111
+ font-size: 10px; line-height: 12px; letter-spacing: 0.4px; text-decoration: none;
112
+ @media (max-width: $tablet) { font-size: 9px; line-height: 10px; letter-spacing: 0.5px; }
113
+ @media (max-width: $mobile) { font-size: 8px; line-height: 10px; letter-spacing: 0.5px; }
114
+ }
115
+ .cax-text-action-xsm-link { @extend .cax-text-action-xsm; text-decoration: underline; }
135
116
  }