ca-components 2.0.89 → 2.0.90

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.
@@ -1,4 +1,4 @@
1
- // THIN
1
+ // // THIN
2
2
  .ca-font-thin {
3
3
  font-weight: 100 !important;
4
4
  }
@@ -1,29 +1,243 @@
1
- $padding-sizes: 1, 2, 3, 4, 6, 8, 9, 10, 12, 14, 15, 18, 30;
2
- $padding-x-sizes: 2, 3, 4, 5, 6, 8, 10, 12;
1
+ $z-index-values:
2
+ -2,
3
+ -1,
4
+ 0,
5
+ 1;
6
+
7
+ $padding-sizes:
8
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22,
9
+ 24, 26, 28, 29, 30, 32, 34, 38, 40, 58, 100;
10
+
3
11
  $margin-sizes:
12
+ -47,
13
+ -15,
14
+ -8,
15
+ -6,
4
16
  -4,
5
17
  -2,
18
+ -1,
6
19
  1,
7
20
  2,
21
+ 3,
8
22
  4,
9
23
  5,
10
24
  6,
11
25
  7,
12
26
  8,
13
27
  10,
28
+ 11,
29
+ 12,
30
+ 14,
14
31
  15,
32
+ 16,
33
+ 18,
34
+ 20,
15
35
  22,
16
- 24;
17
- $gap-sizes: xs, 4, 6, 8, 20;
18
- $grid-gap-sizes: 8;
36
+ 23,
37
+ 24,
38
+ 26,
39
+ 28,
40
+ 30,
41
+ 32,
42
+ 34,
43
+ 38,
44
+ 40,
45
+ 44,
46
+ 48,
47
+ 52,
48
+ 64;
49
+
50
+ .mb-12 {
51
+ margin-bottom: 12px !important;
52
+ }
53
+ .mr-12 {
54
+ margin-right: 12px !important;
55
+ }
56
+
57
+ .w-full {
58
+ width: 100%;
59
+ }
60
+
61
+ .w-fit-content {
62
+ width: fit-content;
63
+ }
64
+
65
+ .m-w-fit-content {
66
+ max-width: fit-content;
67
+ }
68
+
69
+ @for $i from -40 through 100 {
70
+ .top {
71
+ &-#{$i} {
72
+ top: #{$i}px;
73
+ }
74
+ }
75
+
76
+ .right {
77
+ &-#{$i} {
78
+ right: #{$i}px;
79
+ }
80
+ }
81
+
82
+ .left {
83
+ &-#{$i} {
84
+ left: #{$i}px;
85
+ }
86
+ }
19
87
 
20
- $sizes: 1, 2, 4, 10, 14, 15, 18, 22, 26, 31, 32, 36, 116, 120;
21
- $z-index-values: -1, 0, 1;
88
+ .bottom {
89
+ &-#{$i} {
90
+ bottom: #{$i}px;
91
+ }
92
+ }
93
+ }
22
94
 
23
- .padding {
95
+ .gutter {
96
+ &-x {
97
+ &-0 {
98
+ --bs-gutter-x: 0px !important;
99
+ }
100
+ &-12 {
101
+ --bs-gutter-x: 12px !important;
102
+ }
103
+ }
104
+
105
+ &-y {
106
+ &-4 {
107
+ --bs-gutter-y: 4px !important;
108
+ }
109
+ &-8 {
110
+ --bs-gutter-y: 8px !important;
111
+ }
112
+ &-12 {
113
+ --bs-gutter-y: 12px !important;
114
+ }
115
+ }
116
+ }
117
+
118
+ .gap {
119
+ &-4 {
120
+ gap: 4px;
121
+ }
122
+ &-6 {
123
+ gap: 6px;
124
+ }
125
+ &-8 {
126
+ gap: 8px;
127
+ }
128
+ &-10 {
129
+ gap: 10px;
130
+ }
131
+ &-12 {
132
+ gap: 12px;
133
+ }
134
+ &-14 {
135
+ gap: 14px;
136
+ }
137
+ &-16 {
138
+ gap: 16px;
139
+ }
140
+ &-20 {
141
+ gap: 20px;
142
+ }
143
+ &-26 {
144
+ gap: 26px;
145
+ }
146
+ &-34 {
147
+ gap: 34px;
148
+ }
149
+
150
+ &-responsive {
151
+ &-48-32 {
152
+ gap: 48px;
153
+
154
+ @media (max-width: 1440px) {
155
+ gap: 32px;
156
+ }
157
+ }
158
+ }
159
+
160
+ // class to not override bootstrap gap
161
+ &-px-2 {
162
+ gap: 2px;
163
+ }
164
+ &-px-4 {
165
+ gap: 4px;
166
+ }
167
+ &-px-6 {
168
+ gap: 6px;
169
+ }
170
+ &-px-8 {
171
+ gap: 8px;
172
+ }
173
+ &-px-32 {
174
+ gap: 32px;
175
+ }
176
+ }
177
+
178
+ .grid-gap {
179
+ &-8 {
180
+ gap: 8px;
181
+ }
182
+ }
183
+
184
+ .top {
185
+ &--1 {
186
+ top: -1px;
187
+ }
188
+ &--5 {
189
+ top: -5px;
190
+ }
191
+ &-1 {
192
+ top: 1px;
193
+ }
194
+ &-2 {
195
+ top: 2px;
196
+ }
197
+ &--14 {
198
+ top: -14px;
199
+ }
200
+ }
201
+
202
+ .right {
203
+ &--15 {
204
+ right: -15px;
205
+ }
206
+ &--28 {
207
+ right: -28px;
208
+ }
209
+ &-1-5 {
210
+ right: 1.5px;
211
+ }
212
+ &-100 {
213
+ right: 100%;
214
+ }
215
+ }
216
+
217
+ .left {
218
+ &-100 {
219
+ left: 100%;
220
+ }
221
+ }
222
+
223
+ .z-index {
224
+ @each $value in $z-index-values {
225
+ &-#{$value} {
226
+ z-index: #{$value};
227
+ }
228
+ }
229
+ }
230
+
231
+ .outline {
232
+ &-none {
233
+ outline: none;
234
+ }
235
+ }
236
+
237
+ .p {
24
238
  @each $size in $padding-sizes {
25
239
  &-#{$size} {
26
- padding: #{$size}px;
240
+ padding: #{$size}px !important;
27
241
  }
28
242
 
29
243
  &-l-#{$size} {
@@ -52,7 +266,7 @@ $z-index-values: -1, 0, 1;
52
266
  }
53
267
 
54
268
  &-x {
55
- @each $size in $padding-x-sizes {
269
+ @each $size in $padding-sizes {
56
270
  &-#{$size} {
57
271
  padding-left: #{$size}px;
58
272
  padding-right: #{$size}px;
@@ -61,7 +275,7 @@ $z-index-values: -1, 0, 1;
61
275
  }
62
276
  }
63
277
 
64
- .margin {
278
+ .m {
65
279
  @each $size in $margin-sizes {
66
280
  &-#{$size} {
67
281
  margin: #{$size}px;
@@ -88,69 +302,3 @@ $z-index-values: -1, 0, 1;
88
302
  }
89
303
  }
90
304
  }
91
-
92
- .gap {
93
- @each $size in $gap-sizes {
94
- &-#{$size} {
95
- gap: #{$size}px;
96
- }
97
- }
98
- &-px-4 {
99
- gap: 4px;
100
- }
101
- }
102
-
103
- .grid-gap {
104
- @each $size in $grid-gap-sizes {
105
- &-#{$size} {
106
- grid-gap: #{$size}px;
107
- }
108
- }
109
- }
110
-
111
- @each $size in $sizes {
112
- .w-#{$size} {
113
- width: #{$size}px;
114
- }
115
-
116
- .h-#{$size} {
117
- height: #{$size}px;
118
- }
119
- }
120
-
121
- .w-fit-content {
122
- width: fit-content !important;
123
- }
124
-
125
- .right {
126
- &-100 {
127
- right: 100%;
128
- }
129
- }
130
-
131
- .left {
132
- &-100 {
133
- left: 100%;
134
- }
135
- }
136
-
137
- .top {
138
- &--1 {
139
- top: -1px;
140
- }
141
- &-2 {
142
- top: 2px;
143
- }
144
-
145
- &--14 {
146
- top: -14px;
147
- }
148
- }
149
-
150
- .z-index {
151
- @each $value in $z-index-values {
152
- &-#{$value} {
153
- z-index: #{$value};
154
- }
155
- }
156
- }
@@ -1,29 +1,29 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
1
+ @import 'scss/mixins.scss';
2
2
  @import '../theme/variables.scss';
3
3
 
4
- @import './font-family.scss';
5
- @import './font-weight.scss';
6
4
  @import './popover.scss';
7
5
  @import './tooltip.scss';
8
6
  @import './special-svgs.scss';
9
- @import './text-selection.scss';
10
- @import './text-size.scss';
11
- @import './icons.scss';
12
- @import './background.scss';
13
- @import './border-radius.scss';
14
- @import './spacing.scss';
15
7
  @import './filters.scss';
16
- @import './sizing.scss';
17
8
  @import './shadow.scss';
18
9
  @import './opacity.scss';
19
10
  @import './transitions.scss';
20
11
 
12
+ // FOR LOCAL DEVELOPMENT UNCOMMENT BELOW IMPORTS
13
+ // @import './text-selection.scss';
14
+ // @import './text-size.scss';
15
+ // @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
16
+ // @import './spacing.scss';
17
+ // @import './border-radius.scss';
18
+ // @import './sizing.scss';
19
+ // @import './background.scss';
20
+ // @import './font-weight.scss';
21
+ // @import './font-family.scss';
22
+ // @import './icons.scss';
23
+
24
+
21
25
  /* You can add global styles to this file, and also import other style files */
22
26
 
23
- * {
24
- margin: 0;
25
- font-family: Montserrat, sans-serif;
26
- }
27
27
 
28
28
  html {
29
29
  scroll-behavior: auto !important;
@@ -66,10 +66,6 @@ html {
66
66
  }
67
67
  }
68
68
 
69
- .c-pointer {
70
- cursor: pointer;
71
- }
72
-
73
69
  .pointer-events-none {
74
70
  pointer-events: none;
75
71
  }
@@ -3,10 +3,6 @@
3
3
  font-family: $main-font, $fallback-font;
4
4
  }
5
5
 
6
- p {
7
- margin: 0;
8
- padding: 0;
9
- }
10
6
 
11
7
  .form-control:focus {
12
8
  box-shadow: none !important;