draft-components 0.71.0 → 0.72.0

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.
@@ -44,12 +44,12 @@
44
44
  }
45
45
 
46
46
  .dc-vertical-nav-item:hover {
47
- background: rgba(dc.$black, dc.$opacity-5);
47
+ background: rgba(black, dc.$opacity-5);
48
48
  }
49
49
 
50
50
  .dc-vertical-nav-item_selected {
51
51
  color: var(--dc-primary-text-color);
52
- background: rgba(dc.$black, dc.$opacity-5);
52
+ background: rgba(black, dc.$opacity-5);
53
53
  }
54
54
 
55
55
  .dc-vertical-nav-item__icon {
@@ -19,7 +19,7 @@
19
19
  --dc-primary-border-color: #{dc.$gray-300};
20
20
  --dc-secondary-border-color: #{dc.$gray-200};
21
21
 
22
- --dc-primary-bg-color: #{dc.$white};
22
+ --dc-primary-bg-color: white;
23
23
  --dc-secondary-bg-color: #{dc.$gray-50};
24
24
  --dc-tertiary-bg-color: #{dc.$gray-100};
25
25
 
@@ -28,15 +28,10 @@
28
28
 
29
29
  --dc-focus-border-color: #{dc.$blue-500};
30
30
  --dc-focus-ring-color: #{rgba(dc.$blue-500, dc.$opacity-45)};
31
- --dc-focus-ring-secondary-color: #{dc.$white};
31
+ --dc-focus-ring-secondary-color: white;
32
32
  --dc-focus-danger-border-color: #{dc.$red-500};
33
33
  --dc-focus-danger-ring-color: #{rgba(dc.$red-500, dc.$opacity-40)};
34
34
 
35
- --dc-zindex-base: #{dc.$zindex-base};
36
- --dc-zindex-sticky: #{dc.$zindex-sticky};
37
- --dc-zindex-fixed: #{dc.$zindex-fixed};
38
- --dc-zindex-overlay: #{dc.$zindex-overlay};
39
-
40
35
  --dc-disabled-state-opacity: #{dc.$opacity-50};
41
36
 
42
37
  --dc-control-xs-h: #{dc.px-to-rem(22px)};
@@ -57,7 +52,7 @@
57
52
  \*------------------------------------*/
58
53
  --dc-btn-height: var(--dc-control-md-h);
59
54
  --dc-btn-text-color: #{dc.$gray-700};
60
- --dc-btn-bg: #{dc.$white};
55
+ --dc-btn-bg: white;
61
56
  --dc-btn-bg-hover: #{dc.$gray-100};
62
57
  --dc-btn-bg-active: #{dc.$gray-200};
63
58
  --dc-btn-border-color: #{dc.$gray-200};
@@ -80,7 +75,7 @@
80
75
  --dc-btn-minimal-border-color-focus: #{rgba(dc.$gray-500, dc.$opacity-0)};
81
76
  --dc-btn-minimal-focus-ring-color: var(--dc-focus-ring-color);
82
77
 
83
- --dc-btn-primary-text-color: #{dc.$white};
78
+ --dc-btn-primary-text-color: white;
84
79
  --dc-btn-primary-bg: #{dc.$blue-500};
85
80
  --dc-btn-primary-bg-hover: #{dc.$blue-600};
86
81
  --dc-btn-primary-bg-active: #{dc.$blue-700};
@@ -88,7 +83,7 @@
88
83
  --dc-btn-primary-border-color-focus: #{dc.$blue-600};
89
84
  --dc-btn-primary-focus-ring-color: var(--dc-focus-ring-color);
90
85
 
91
- --dc-btn-danger-text-color: #{dc.$white};
86
+ --dc-btn-danger-text-color: white;
92
87
  --dc-btn-danger-bg: #{dc.$red-600};
93
88
  --dc-btn-danger-bg-hover: #{dc.$red-700};
94
89
  --dc-btn-danger-bg-active: #{dc.$red-800};
@@ -96,7 +91,7 @@
96
91
  --dc-btn-danger-border-color-focus: #{dc.$red-800};
97
92
  --dc-btn-danger-focus-ring-color: #{rgba(dc.$red-600, dc.$opacity-50)};
98
93
 
99
- --dc-btn-success-text-color: #{dc.$white};
94
+ --dc-btn-success-text-color: white;
100
95
  --dc-btn-success-bg: #{dc.$green-500};
101
96
  --dc-btn-success-bg-hover: #{dc.$green-600};
102
97
  --dc-btn-success-bg-active: #{dc.$green-700};
@@ -111,7 +106,7 @@
111
106
  --dc-input-add-on-color: #{dc.$gray-600};
112
107
  --dc-input-border-color: #{dc.$gray-300};
113
108
  --dc-input-border: 1px solid var(--dc-input-border-color);
114
- --dc-input-bg: #{dc.$white};
109
+ --dc-input-bg: white;
115
110
 
116
111
  --dc-input-disabled-text-color: #{dc.$gray-400};
117
112
  --dc-input-disabled-add-on-color: #{dc.$gray-400};
@@ -120,7 +115,7 @@
120
115
 
121
116
  --dc-input-error-color: #{dc.$red-600};
122
117
  --dc-input-accent-color: #{dc.$blue-500};
123
- --dc-input-accent-secondary-color: #{dc.$white};
118
+ --dc-input-accent-secondary-color: white;
124
119
 
125
120
  --dc-input-width: #{dc.px-to-rem(288px)};
126
121
  --dc-input-height: var(--dc-control-md-h);
@@ -130,6 +125,16 @@
130
125
 
131
126
  --dc-textarea-leading: #{dc.$leading-normal};
132
127
 
128
+ /*------------------------------------*\
129
+ #FILE INPUT
130
+ \*------------------------------------*/
131
+ --dc-file-input-text-color: #{dc.$gray-800};
132
+ --dc-file-input-icon-color: #{dc.$gray-400};
133
+ --dc-file-input-label-color: #{dc.$blue-500};
134
+ --dc-file-input-help-text-color: #{dc.$gray-500};
135
+ --dc-file-input-border-color: #{dc.$gray-400};
136
+ --dc-file-input-drag-border-color: #{dc.$gray-400};
137
+
133
138
  /*------------------------------------*\
134
139
  #SELECTION CONTROLS
135
140
  \*------------------------------------*/
@@ -146,7 +151,7 @@
146
151
  #RADIO GROUP
147
152
  \*------------------------------------*/
148
153
  --dc-radio-group-selection-color: #{dc.$blue-500};
149
- --dc-radio-group-border-color: #{rgba(dc.$black, dc.$opacity-10)};
154
+ --dc-radio-group-border-color: #{rgba(black, dc.$opacity-10)};
150
155
 
151
156
  /*------------------------------------*\
152
157
  #SLIDER
@@ -154,7 +159,7 @@
154
159
  --dc-slider-thumb-width: 20px;
155
160
  --dc-slider-thumb-height: 20px;
156
161
  --dc-slider-track-height: 4px;
157
- --dc-slider-thumb-bg: #{dc.$white};
162
+ --dc-slider-thumb-bg: white;
158
163
  --dc-slider-track-bg: #{dc.$gray-200};
159
164
  --dc-slider-fill-track-bg: #{dc.$blue-500};
160
165
  --dc-slider-tick-mark-color: #{dc.$gray-700};
@@ -168,7 +173,7 @@
168
173
  --dc-calendar-border-secondary-color: #{dc.$gray-200};
169
174
  --dc-calendar-arrow-color: #{dc.$blue-600};
170
175
  --dc-calendar-current-day-text-color: #{dc.$orange-600};
171
- --dc-calendar-selected-day-text-color: #{dc.$white};
176
+ --dc-calendar-selected-day-text-color: white;
172
177
  --dc-calendar-selected-day-bg-color: #{dc.$blue-500};
173
178
 
174
179
  /*------------------------------------*\
@@ -187,7 +192,7 @@
187
192
  #ACTIONS GROUP
188
193
  \*------------------------------------*/
189
194
  --dc-actions-group-border: #{dc.$gray-300};
190
- --dc-actions-group-bg: #{dc.$white};
195
+ --dc-actions-group-bg: white;
191
196
 
192
197
  /*------------------------------------*\
193
198
  #NON IDEAL STATE VIEW
@@ -200,10 +205,10 @@
200
205
  #TOAST
201
206
  \*------------------------------------*/
202
207
  --dc-toast-bg: #{dc.$gray-700};
203
- --dc-toast-text-color: #{dc.$white};
208
+ --dc-toast-text-color: white;
204
209
  --dc-toast-secondary-text-color: #{dc.$gray-300};
205
- --dc-toast-btn-bg: #{rgba(dc.$white, dc.$opacity-10)};
206
- --dc-toast-btn-text-color: #{dc.$white};
210
+ --dc-toast-btn-bg: #{rgba(white, dc.$opacity-10)};
211
+ --dc-toast-btn-text-color: white;
207
212
 
208
213
  /*------------------------------------*\
209
214
  #BREADCRUMBS
@@ -217,7 +222,7 @@
217
222
  #SEGMENTED CONTROL
218
223
  \*------------------------------------*/
219
224
  --dc-segmented-control-text-color: #{dc.$gray-700};
220
- --dc-segmented-control-text-color-active: #{dc.$white};
225
+ --dc-segmented-control-text-color-active: white;
221
226
  --dc-segmented-control-border-color: #{rgba(dc.$gray-900, dc.$opacity-15)};
222
227
  --dc-segmented-control-border-focus: #{dc.$blue-500};
223
228
  --dc-segmented-control-separator-color: #{rgba(dc.$gray-900, dc.$opacity-20)};
@@ -229,9 +234,9 @@
229
234
  \*------------------------------------*/
230
235
  --dc-tab-text-color: #{dc.$gray-500};
231
236
  --dc-tab-selected-text-color: #{dc.$blue-500};
232
- --dc-tab-badge-text-color: #{dc.$white};
237
+ --dc-tab-badge-text-color: white;
233
238
  --dc-tab-badge-bg-color: #{dc.$gray-300};
234
- --dc-tab-badge-selected-text-color: #{dc.$white};
239
+ --dc-tab-badge-selected-text-color: white;
235
240
  --dc-tab-selected-badge-bg-color: #{dc.$blue-500};
236
241
  --dc-tab-pointer-color: #{dc.$blue-500};
237
242
  --dc-tabs-border-color: #{dc.$gray-200};
@@ -263,10 +268,10 @@
263
268
  /*------------------------------------*\
264
269
  #AVATAR
265
270
  \*------------------------------------*/
266
- --dc-avatar-color: #{dc.$white};
271
+ --dc-avatar-color: white;
267
272
  --dc-avatar-bg1-color: #{dc.$gray-400};
268
273
  --dc-avatar-bg2-color: #{dc.$gray-500};
269
- --dc-avatar-icon-color: #{dc.$white};
274
+ --dc-avatar-icon-color: white;
270
275
  --dc-avatar-icon-bg: linear-gradient(#{dc.$gray-400}, #{dc.$gray-500});
271
276
 
272
277
  /*------------------------------------*\
@@ -39,6 +39,285 @@
39
39
  color: var(--dc-success-text-color) !important;
40
40
  }
41
41
 
42
+ .text-gray-50 {
43
+ color: dc.$gray-50 !important;
44
+ }
45
+ .text-gray-100 {
46
+ color: dc.$gray-100 !important;
47
+ }
48
+ .text-gray-200 {
49
+ color: dc.$gray-200 !important;
50
+ }
51
+ .text-gray-300 {
52
+ color: dc.$gray-300 !important;
53
+ }
54
+ .text-gray-400 {
55
+ color: dc.$gray-400 !important;
56
+ }
57
+ .text-gray-500 {
58
+ color: dc.$gray-500 !important;
59
+ }
60
+ .text-gray-600 {
61
+ color: dc.$gray-600 !important;
62
+ }
63
+ .text-gray-700 {
64
+ color: dc.$gray-700 !important;
65
+ }
66
+ .text-gray-800 {
67
+ color: dc.$gray-800 !important;
68
+ }
69
+ .text-gray-900 {
70
+ color: dc.$gray-900 !important;
71
+ }
72
+
73
+ .text-blue-50 {
74
+ color: dc.$blue-50 !important;
75
+ }
76
+ .text-blue-100 {
77
+ color: dc.$blue-100 !important;
78
+ }
79
+ .text-blue-200 {
80
+ color: dc.$blue-200 !important;
81
+ }
82
+ .text-blue-300 {
83
+ color: dc.$blue-300 !important;
84
+ }
85
+ .text-blue-400 {
86
+ color: dc.$blue-400 !important;
87
+ }
88
+ .text-blue-500 {
89
+ color: dc.$blue-500 !important;
90
+ }
91
+ .text-blue-600 {
92
+ color: dc.$blue-600 !important;
93
+ }
94
+ .text-blue-700 {
95
+ color: dc.$blue-700 !important;
96
+ }
97
+ .text-blue-800 {
98
+ color: dc.$blue-800 !important;
99
+ }
100
+ .text-blue-900 {
101
+ color: dc.$blue-900 !important;
102
+ }
103
+
104
+ .text-cyan-50 {
105
+ color: dc.$cyan-50 !important;
106
+ }
107
+ .text-cyan-100 {
108
+ color: dc.$cyan-100 !important;
109
+ }
110
+ .text-cyan-200 {
111
+ color: dc.$cyan-200 !important;
112
+ }
113
+ .text-cyan-300 {
114
+ color: dc.$cyan-300 !important;
115
+ }
116
+ .text-cyan-400 {
117
+ color: dc.$cyan-400 !important;
118
+ }
119
+ .text-cyan-500 {
120
+ color: dc.$cyan-500 !important;
121
+ }
122
+ .text-cyan-600 {
123
+ color: dc.$cyan-600 !important;
124
+ }
125
+ .text-cyan-700 {
126
+ color: dc.$cyan-700 !important;
127
+ }
128
+ .text-cyan-800 {
129
+ color: dc.$cyan-800 !important;
130
+ }
131
+ .text-cyan-900 {
132
+ color: dc.$cyan-900 !important;
133
+ }
134
+
135
+ .text-red-50 {
136
+ color: dc.$red-50 !important;
137
+ }
138
+ .text-red-100 {
139
+ color: dc.$red-100 !important;
140
+ }
141
+ .text-red-200 {
142
+ color: dc.$red-200 !important;
143
+ }
144
+ .text-red-300 {
145
+ color: dc.$red-300 !important;
146
+ }
147
+ .text-red-400 {
148
+ color: dc.$red-400 !important;
149
+ }
150
+ .text-red-500 {
151
+ color: dc.$red-500 !important;
152
+ }
153
+ .text-red-600 {
154
+ color: dc.$red-600 !important;
155
+ }
156
+ .text-red-700 {
157
+ color: dc.$red-700 !important;
158
+ }
159
+ .text-red-800 {
160
+ color: dc.$red-800 !important;
161
+ }
162
+ .text-red-900 {
163
+ color: dc.$red-900 !important;
164
+ }
165
+
166
+ .text-green-50 {
167
+ color: dc.$green-50 !important;
168
+ }
169
+ .text-green-100 {
170
+ color: dc.$green-100 !important;
171
+ }
172
+ .text-green-200 {
173
+ color: dc.$green-200 !important;
174
+ }
175
+ .text-green-300 {
176
+ color: dc.$green-300 !important;
177
+ }
178
+ .text-green-400 {
179
+ color: dc.$green-400 !important;
180
+ }
181
+ .text-green-500 {
182
+ color: dc.$green-500 !important;
183
+ }
184
+ .text-green-600 {
185
+ color: dc.$green-600 !important;
186
+ }
187
+ .text-green-700 {
188
+ color: dc.$green-700 !important;
189
+ }
190
+ .text-green-800 {
191
+ color: dc.$green-800 !important;
192
+ }
193
+ .text-green-900 {
194
+ color: dc.$green-900 !important;
195
+ }
196
+
197
+ .text-lime-50 {
198
+ color: dc.$lime-50 !important;
199
+ }
200
+ .text-lime-100 {
201
+ color: dc.$lime-100 !important;
202
+ }
203
+ .text-lime-200 {
204
+ color: dc.$lime-200 !important;
205
+ }
206
+ .text-lime-300 {
207
+ color: dc.$lime-300 !important;
208
+ }
209
+ .text-lime-400 {
210
+ color: dc.$lime-400 !important;
211
+ }
212
+ .text-lime-500 {
213
+ color: dc.$lime-500 !important;
214
+ }
215
+ .text-lime-600 {
216
+ color: dc.$lime-600 !important;
217
+ }
218
+ .text-lime-700 {
219
+ color: dc.$lime-700 !important;
220
+ }
221
+ .text-lime-800 {
222
+ color: dc.$lime-800 !important;
223
+ }
224
+ .text-lime-900 {
225
+ color: dc.$lime-900 !important;
226
+ }
227
+
228
+ .text-indigo-50 {
229
+ color: dc.$indigo-50 !important;
230
+ }
231
+ .text-indigo-100 {
232
+ color: dc.$indigo-100 !important;
233
+ }
234
+ .text-indigo-200 {
235
+ color: dc.$indigo-200 !important;
236
+ }
237
+ .text-indigo-300 {
238
+ color: dc.$indigo-300 !important;
239
+ }
240
+ .text-indigo-400 {
241
+ color: dc.$indigo-400 !important;
242
+ }
243
+ .text-indigo-500 {
244
+ color: dc.$indigo-500 !important;
245
+ }
246
+ .text-indigo-600 {
247
+ color: dc.$indigo-600 !important;
248
+ }
249
+ .text-indigo-700 {
250
+ color: dc.$indigo-700 !important;
251
+ }
252
+ .text-indigo-800 {
253
+ color: dc.$indigo-800 !important;
254
+ }
255
+ .text-indigo-900 {
256
+ color: dc.$indigo-900 !important;
257
+ }
258
+
259
+ .text-yellow-50 {
260
+ color: dc.$yellow-50 !important;
261
+ }
262
+ .text-yellow-100 {
263
+ color: dc.$yellow-100 !important;
264
+ }
265
+ .text-yellow-200 {
266
+ color: dc.$yellow-200 !important;
267
+ }
268
+ .text-yellow-300 {
269
+ color: dc.$yellow-300 !important;
270
+ }
271
+ .text-yellow-400 {
272
+ color: dc.$yellow-400 !important;
273
+ }
274
+ .text-yellow-500 {
275
+ color: dc.$yellow-500 !important;
276
+ }
277
+ .text-yellow-600 {
278
+ color: dc.$yellow-600 !important;
279
+ }
280
+ .text-yellow-700 {
281
+ color: dc.$yellow-700 !important;
282
+ }
283
+ .text-yellow-800 {
284
+ color: dc.$yellow-800 !important;
285
+ }
286
+ .text-yellow-900 {
287
+ color: dc.$yellow-900 !important;
288
+ }
289
+
290
+ .text-orange-50 {
291
+ color: dc.$orange-50 !important;
292
+ }
293
+ .text-orange-100 {
294
+ color: dc.$orange-100 !important;
295
+ }
296
+ .text-orange-200 {
297
+ color: dc.$orange-200 !important;
298
+ }
299
+ .text-orange-300 {
300
+ color: dc.$orange-300 !important;
301
+ }
302
+ .text-orange-400 {
303
+ color: dc.$orange-400 !important;
304
+ }
305
+ .text-orange-500 {
306
+ color: dc.$orange-500 !important;
307
+ }
308
+ .text-orange-600 {
309
+ color: dc.$orange-600 !important;
310
+ }
311
+ .text-orange-700 {
312
+ color: dc.$orange-700 !important;
313
+ }
314
+ .text-orange-800 {
315
+ color: dc.$orange-800 !important;
316
+ }
317
+ .text-orange-900 {
318
+ color: dc.$orange-900 !important;
319
+ }
320
+
42
321
  /*------------------------------------*\
43
322
  #TEXT WEIGHT
44
323
  \*------------------------------------*/
@@ -54,7 +333,7 @@
54
333
  font-weight: 500 !important;
55
334
  }
56
335
 
57
- .text-semibold {
336
+ .text-semi-bold {
58
337
  font-weight: 600 !important;
59
338
  }
60
339
 
@@ -62,7 +341,7 @@
62
341
  font-weight: 700 !important;
63
342
  }
64
343
 
65
- .text-extrabold {
344
+ .text-extra-bold {
66
345
  font-weight: 800 !important;
67
346
  }
68
347
 
@@ -89,6 +368,10 @@
89
368
  white-space: nowrap !important;
90
369
  }
91
370
 
371
+ .text-wrap {
372
+ white-space: initial !important;
373
+ }
374
+
92
375
  /*------------------------------------*\
93
376
  #TEXT ALIGNMENT
94
377
  \*------------------------------------*/