cax-design-system 2.7.2 → 2.7.3

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.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/accordion/accordion.d.ts +5 -1
  3. package/calendar/calendar.d.ts +8 -1
  4. package/esm2022/accordion/accordion.mjs +11 -4
  5. package/esm2022/calendar/calendar.mjs +35 -3
  6. package/esm2022/dropdown/dropdown.mjs +3 -3
  7. package/esm2022/inputtextarea/inputtextarea.component.mjs +16 -4
  8. package/esm2022/navigation/navigation.mjs +64 -29
  9. package/esm2022/table/components/column-filter/column-filter.mjs +2 -2
  10. package/esm2022/table/components/column-filter-form-element/column-filter-form-element.mjs +2 -2
  11. package/fesm2022/cax-design-system-accordion.mjs +10 -3
  12. package/fesm2022/cax-design-system-accordion.mjs.map +1 -1
  13. package/fesm2022/cax-design-system-calendar.mjs +34 -2
  14. package/fesm2022/cax-design-system-calendar.mjs.map +1 -1
  15. package/fesm2022/cax-design-system-dropdown.mjs +2 -2
  16. package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
  17. package/fesm2022/cax-design-system-inputtextarea.mjs +15 -3
  18. package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -1
  19. package/fesm2022/cax-design-system-navigation.mjs +63 -28
  20. package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
  21. package/fesm2022/cax-design-system-table.mjs +2 -2
  22. package/fesm2022/cax-design-system-table.mjs.map +1 -1
  23. package/inputtextarea/inputtextarea.component.d.ts +7 -1
  24. package/navigation/navigation.d.ts +3 -1
  25. package/package.json +180 -180
  26. package/resources/cax.min.scss +1 -1
  27. package/resources/cax.scss +21 -8
  28. package/resources/components/calendar/calendar.scss +220 -190
  29. package/resources/components/dropdown/dropdown.scss +8 -0
  30. package/resources/components/navigation/navigation.scss +27 -2
@@ -5655,7 +5655,7 @@ cax-calendar.ng-dirty.ng-invalid > .cax-calendar > .cax-inputtext {
5655
5655
  background: transparent;
5656
5656
  }
5657
5657
  .cax-datepicker .cax-datepicker-header {
5658
- padding: 4px;
5658
+ padding: 10px;
5659
5659
  color: var(--neutral-750);
5660
5660
  background: transparent;
5661
5661
  font-weight: 400;
@@ -5666,12 +5666,12 @@ cax-calendar.ng-dirty.ng-invalid > .cax-calendar > .cax-inputtext {
5666
5666
  }
5667
5667
  .cax-datepicker .cax-datepicker-header .cax-datepicker-prev,
5668
5668
  .cax-datepicker .cax-datepicker-header .cax-datepicker-next {
5669
- width: 40px;
5670
- height: 40px;
5669
+ width: 32px;
5670
+ height: 32px;
5671
5671
  color: var(--neutral-750);
5672
- border: 0 none;
5672
+ border:1px solid #D4D7DD;
5673
5673
  background: transparent;
5674
- border-radius: 50%;
5674
+ border-radius: 8px;
5675
5675
  transition:
5676
5676
  background-color 0.2s,
5677
5677
  color 0.2s,
@@ -5824,8 +5824,6 @@ cax-calendar.ng-dirty.ng-invalid > .cax-calendar > .cax-inputtext {
5824
5824
  }
5825
5825
  .cax-datepicker .cax-yearpicker {
5826
5826
  margin: 4px;
5827
- padding-right: 12px !important;
5828
- padding-left: 12px !important;
5829
5827
  }
5830
5828
  .cax-datepicker .cax-yearpicker .cax-yearpicker-year {
5831
5829
  padding: 0.25rem;
@@ -5877,7 +5875,22 @@ cax-calendar.ng-dirty.ng-invalid > .cax-calendar > .cax-inputtext {
5877
5875
  outline-offset: 2px;
5878
5876
  box-shadow: none;
5879
5877
  }
5880
-
5878
+ .cax-datepicker-icon{
5879
+ color: var(--black-100);
5880
+ }
5881
+ .cax-datepicker-inline-input{
5882
+ input{
5883
+ border: 1px solid var(--neutral-200);
5884
+ color: var(--neutral-750);
5885
+ }
5886
+ }
5887
+ .cax-datepicker-inline-actions{
5888
+ border-top: 1px solid var(--neutral-150);
5889
+ border-bottom: 1px solid var(--neutral-150);
5890
+ }
5891
+ .cax-downarrow{
5892
+ color: var(--black-100) !important;
5893
+ }
5881
5894
  cax-calendar.cax-calendar-clearable .cax-inputtext {
5882
5895
  padding-right: 2.5rem;
5883
5896
  }
@@ -1,198 +1,228 @@
1
1
  @layer cax {
2
- .cax-calendar {
3
- position: relative;
4
- display: flex;
5
- width: 216px !important;
6
- height : 40px;
7
- }
8
-
9
- .cax-calendar .cax-inputtext {
10
- flex: 1 1 auto;
11
- text-overflow: ellipsis;
12
- padding-left: 1.8rem !important;
13
- padding-right: 1.8rem !important;
14
- }
15
-
16
- .cax-calendar-w-btn .cax-inputtext {
17
- border-top-right-radius: 0;
18
- border-bottom-right-radius: 0;
19
- }
20
-
21
- .cax-calendar-w-btn .cax-datepicker-trigger {
22
- border-top-left-radius: 0;
23
- border-bottom-left-radius: 0;
24
- }
25
-
26
- .cax-datepicker-calendar-container {
27
- padding: 4px;
28
- }
29
-
30
- /* Fluid */
31
- .cax-fluid .cax-calendar {
32
- display: flex;
33
- }
34
-
35
- .cax-fluid .cax-calendar .cax-inputtext {
36
- width: 1%;
37
- }
38
-
39
- /* Datepicker */
40
- .cax-calendar .cax-datepicker {
41
- min-width: fit-content;
42
- }
43
-
44
- .cax-datepicker {
45
- width: 372px;
2
+ .cax-calendar {
3
+ position: relative;
4
+ display: inline-flex;
5
+ max-width: 100%;
6
+ }
7
+
8
+ .cax-calendar .cax-inputtext {
9
+ flex: 1 1 auto;
10
+ width: 1%;
11
+ text-overflow: ellipsis;
12
+ padding-left: 1.8rem !important;
13
+ padding-right: 1.8rem !important;
14
+ }
15
+
16
+ .cax-calendar-w-btn .cax-inputtext {
17
+ border-top-right-radius: 0;
18
+ border-bottom-right-radius: 0;
19
+ }
20
+
21
+ .cax-calendar-w-btn .cax-datepicker-trigger {
22
+ border-top-left-radius: 0;
23
+ border-bottom-left-radius: 0;
24
+ }
25
+
26
+ /* Fluid */
27
+ .cax-fluid .cax-calendar {
28
+ display: flex;
29
+ }
30
+
31
+ .cax-fluid .cax-calendar .cax-inputtext {
32
+ width: 1%;
33
+ }
34
+
35
+ /* Datepicker */
36
+ .cax-calendar .cax-datepicker {
37
+ min-width: 100%;
38
+ }
39
+
40
+ .cax-datepicker {
41
+ width: auto;
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ }
46
+
47
+ .cax-datepicker-inline {
48
+ display: inline-block;
49
+ position: static;
50
+ overflow-x: auto;
51
+ }
52
+
53
+ /* Header */
54
+ .cax-datepicker-header {
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: space-between;
58
+ }
59
+
60
+ .cax-datepicker-header .cax-datepicker-title {
61
+ margin: 0 auto;
62
+ }
63
+
64
+ .cax-datepicker-prev,
65
+ .cax-datepicker-next {
66
+ cursor: pointer;
67
+ display: inline-flex;
68
+ justify-content: center;
69
+ align-items: center;
70
+ overflow: hidden;
71
+ position: relative;
72
+
73
+ }
74
+
75
+ /* Multiple Month DatePicker */
76
+ .cax-datepicker-multiple-month .cax-datepicker-group-container {
77
+ display: flex;
78
+ }
79
+
80
+ .cax-datepicker-multiple-month .cax-datepicker-group-container .cax-datepicker-group {
81
+ flex: 1 1 auto;
82
+ }
83
+
84
+ /* Multiple Month DatePicker */
85
+ .cax-datepicker-multiple-month .cax-datepicker-group-container {
86
+ display: flex;
87
+ }
88
+
89
+ /* DatePicker Table */
90
+ .cax-datepicker table {
91
+ width: 100%;
92
+ border-collapse: collapse;
93
+ }
94
+
95
+ .cax-datepicker td > span {
96
+ display: flex;
97
+ justify-content: center;
98
+ align-items: center;
99
+ cursor: pointer;
100
+ margin: 0 auto;
101
+ overflow: hidden;
102
+ position: relative;
103
+ }
104
+
105
+ /* Month Picker */
106
+ .cax-monthpicker-month {
107
+ width: 33.3%;
108
+ display: inline-flex;
109
+ align-items: center;
110
+ justify-content: center;
111
+ cursor: pointer;
112
+ overflow: hidden;
113
+ position: relative;
114
+ }
115
+
116
+ /* Button Bar */
117
+ .cax-datepicker-buttonbar {
118
+ display: flex;
119
+ justify-content: space-between;
120
+ align-items: center;
121
+ }
122
+
123
+ /* Time Picker */
124
+ .cax-timepicker {
125
+ display: flex;
126
+ justify-content: center;
127
+ align-items: center;
128
+ }
129
+
130
+ .cax-timepicker button {
131
+ display: flex;
132
+ align-items: center;
133
+ justify-content: center;
134
+ cursor: pointer;
135
+ overflow: hidden;
136
+ position: relative;
137
+ }
138
+
139
+ .cax-timepicker > div {
140
+ display: flex;
141
+ align-items: center;
142
+ flex-direction: column;
143
+ }
144
+
145
+ /* Touch UI */
146
+ .cax-datepicker-touch-ui,
147
+ .cax-calendar .cax-datepicker-touch-ui {
148
+ position: fixed;
149
+ top: 50%;
150
+ left: 50%;
151
+ min-width: 80vw;
152
+ transform: translate(-50%, -50%);
153
+ }
154
+
155
+ /* Year Picker */
156
+ .cax-yearpicker-year {
157
+ width: 50%;
158
+ display: inline-flex;
159
+ align-items: center;
160
+ justify-content: center;
161
+ cursor: pointer;
162
+ overflow: hidden;
163
+ position: relative;
164
+ }
165
+
166
+ .cax-calendar-clear-icon {
167
+ position: absolute;
168
+ top: 50%;
169
+ margin-top: -0.5rem;
170
+ cursor: pointer;
171
+ }
172
+
173
+ .cax-datepicker-icon {
174
+ pointer-events: none;
175
+ }
176
+
177
+ .cax-calendar-clearable {
178
+ position: relative;
179
+ }
180
+ .cax-datepicker-icon {
181
+ pointer-events: none;
182
+ left: 1.67px;
183
+ margin-top: 1px !important;
184
+ }
185
+ .cax-input-icon-left {
186
+ order: -1;
187
+ }
188
+
189
+ .cax-datepicker-inline-actions {
190
+ display: flex;
191
+ justify-content: space-between;
192
+ margin-top: 13px;
193
+ padding: 10px;
194
+
195
+
196
+ .cax-datepicker-inline-input {
197
+ margin-bottom: 10px;
198
+ position: relative;
199
+ display: inline-block;
200
+ input {
201
+ width: 130px;
202
+ height: 32px;
203
+ padding-left: 2rem;
204
+ border-radius: 8px;
205
+ font-size: 14px;
206
+ font-weight: 500;
207
+ }
208
+ }
209
+
210
+ .cax-datepicker-inline-input .cax-calendar-minimalistic {
46
211
  position: absolute;
47
- top: 0;
48
- left: 0;
49
- }
50
-
51
- .cax-datepicker-inline {
52
- display: inline-block;
53
- position: static;
54
- overflow-x: auto;
55
- }
56
-
57
- /* Header */
58
- .cax-datepicker-header {
59
- display: flex;
60
- align-items: center;
61
- justify-content: space-between;
62
- }
63
-
64
- .cax-datepicker-header .cax-datepicker-title {
65
- margin: 0 auto;
66
- }
67
-
68
- .cax-datepicker-prev,
69
- .cax-datepicker-next {
70
- cursor: pointer;
71
- display: inline-flex;
72
- justify-content: center;
73
- align-items: center;
74
- overflow: hidden;
75
- position: relative;
76
- }
77
-
78
- /* Multiple Month DatePicker */
79
- .cax-datepicker-multiple-month .cax-datepicker-group-container {
80
- display: flex;
81
- }
82
-
83
- .cax-datepicker-multiple-month .cax-datepicker-group-container .cax-datepicker-group {
84
- flex: 1 1 auto;
85
- }
86
-
87
- /* Multiple Month DatePicker */
88
- .cax-datepicker-multiple-month .cax-datepicker-group-container {
89
- display: flex;
90
- }
91
-
92
- /* DatePicker Table */
93
- .cax-datepicker table {
94
- width: 100%;
95
- border-collapse: collapse;
96
- }
97
-
98
- .cax-datepicker td > span {
99
- display: flex;
100
- justify-content: center;
101
- align-items: center;
102
- cursor: pointer;
103
- margin: 0 auto;
104
- overflow: hidden;
105
- position: relative;
106
- }
107
-
108
- /* Month Picker */
109
- .cax-monthpicker-month {
110
- width: 33.3%;
111
- height: 56px;
112
- display: inline-flex;
113
- align-items: center;
114
- justify-content: center;
115
- cursor: pointer;
116
- overflow: hidden;
117
- position: relative;
118
- }
119
-
120
- /* Button Bar */
121
- .cax-datepicker-buttonbar {
122
- display: flex;
123
- justify-content: center;
124
- align-items: center;
125
- }
126
-
127
- /* Time Picker */
128
- .cax-timepicker {
129
- display: flex;
130
- justify-content: center;
131
- align-items: center;
132
- }
133
-
134
- .cax-timepicker button {
135
- display: flex;
136
- align-items: center;
137
- justify-content: center;
138
- cursor: pointer;
139
- overflow: hidden;
140
- position: relative;
141
- }
142
-
143
- .cax-timepicker > div {
144
- display: flex;
145
- align-items: center;
146
- flex-direction: column;
147
- }
148
-
149
- /* Touch UI */
150
- .cax-datepicker-touch-ui,
151
- .cax-calendar .cax-datepicker-touch-ui {
152
- position: fixed;
212
+ left: 0.6rem;
153
213
  top: 50%;
154
- left: 50%;
155
- min-width: 80vw;
156
- transform: translate(-50%, -50%);
157
- }
214
+ transform: translateY(-50%);
215
+ font-size: 1rem;
216
+ pointer-events: none;
217
+ }
218
+ }
158
219
 
159
- /* Year Picker */
160
- .cax-yearpicker-year {
161
- width: 33.3%;
162
- height: 56px;
163
- display: inline-flex;
164
- align-items: center;
165
- justify-content: center;
166
- cursor: pointer;
167
- overflow: hidden;
168
- position: relative;
169
- }
220
+ .left-side{
221
+ display: flex;
222
+ justify-content: space-between;
223
+ gap: 15px;
224
+ }
170
225
 
171
- .cax-calendar-clear-icon {
172
- position: absolute;
173
- top: 50%;
174
- margin-top: -0.5rem;
175
- cursor: pointer;
176
- }
177
226
 
178
- .cax-datepicker-icon {
179
- pointer-events: none;
180
- left: 1.67px;
181
- color: black !important;
182
- margin-top: 1px !important;
183
- }
184
- .cax-input-icon-left {
185
- order: -1;
186
- }
187
-
188
227
 
189
- .cax-calendar-clearable {
190
- position: relative;
191
- }
192
-
193
- .downarrow{
194
- top: 1.5rem !important;
195
- color: black !important;
196
-
197
- }
198
228
  }
@@ -27,6 +27,14 @@
27
27
  flex-shrink: 0;
28
28
  }
29
29
 
30
+ .cax-dropdown-trigger-icon {
31
+ transition: transform 0.3s ease;
32
+ }
33
+
34
+ .cax-dropdown-open .cax-dropdown-trigger-icon {
35
+ transform: rotate(180deg);
36
+ }
37
+
30
38
  .cax-dropdown-label {
31
39
  display: block;
32
40
  white-space: nowrap;
@@ -2,17 +2,20 @@
2
2
  .cax-nav {
3
3
  width: 88px;
4
4
  height: 100vh;
5
- transition: width 0.3s ease-in-out;
5
+ transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6
6
  overflow: hidden;
7
7
  padding: 16px 8px;
8
8
  position: absolute;
9
9
  left: 0;
10
10
  top: 0;
11
11
  z-index: 1200;
12
+ will-change: width;
12
13
  .cax-nav-header {
13
14
  .cax-image img {
14
15
  max-width: 26px;
15
16
  object-fit: cover;
17
+ transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
18
+ will-change: max-width;
16
19
  }
17
20
  }
18
21
  }
@@ -20,11 +23,13 @@
20
23
  width: 264px;
21
24
  .cax-nav-bottom-container {
22
25
  width: 248px;
26
+ transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
23
27
  }
24
28
  .cax-nav-header {
25
29
  .cax-image img {
26
30
  max-width: 100px;
27
31
  object-fit: cover;
32
+ transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
28
33
  }
29
34
  }
30
35
  }
@@ -67,6 +72,16 @@
67
72
  cursor: pointer;
68
73
  height: 56px;
69
74
  line-height: 24px;
75
+
76
+ .cax-image {
77
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
78
+ will-change: transform;
79
+ }
80
+ .cax-image img {
81
+ transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
82
+ will-change: opacity;
83
+ backface-visibility: hidden;
84
+ }
70
85
  }
71
86
  }
72
87
  }
@@ -88,13 +103,23 @@
88
103
  border-radius: 12px;
89
104
  padding: 12px;
90
105
  cursor: pointer;
91
- transition: width 0.3s ease-in-out;
106
+ transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
92
107
  display: flex;
93
108
  align-items: flex-start;
109
+ will-change: width;
94
110
  .cax-nav-account-icon {
95
111
  display: grid;
96
112
  margin-left: auto;
97
113
  }
114
+ .cax-avatar {
115
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
116
+ will-change: transform;
117
+ }
118
+ .cax-avatar img {
119
+ transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
120
+ will-change: opacity;
121
+ backface-visibility: hidden;
122
+ }
98
123
  }
99
124
 
100
125
  .cax-nav.cax-nav-expand .cax-nav-account-details {