@cfpb/cfpb-design-system 3.4.10 → 3.4.12
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/CHANGELOG.md +31 -1
- package/dist/base/index.css +1 -1
- package/dist/base/index.css.map +2 -2
- package/dist/base/index.js +1 -1
- package/dist/base/index.js.map +1 -1
- package/dist/components/cfpb-expandables/index.css +1 -1
- package/dist/components/cfpb-expandables/index.css.map +2 -2
- package/dist/components/cfpb-expandables/index.js.map +1 -1
- package/dist/components/cfpb-forms/index.css +1 -1
- package/dist/components/cfpb-forms/index.css.map +2 -2
- package/dist/components/cfpb-forms/index.js.map +1 -1
- package/dist/components/cfpb-notifications/index.css +1 -1
- package/dist/components/cfpb-notifications/index.css.map +2 -2
- package/dist/components/cfpb-notifications/index.js.map +1 -1
- package/dist/components/cfpb-typography/index.css +1 -1
- package/dist/components/cfpb-typography/index.css.map +2 -2
- package/dist/components/cfpb-typography/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js.map +1 -1
- package/dist/utilities/index.css +1 -1
- package/dist/utilities/index.css.map +2 -2
- package/dist/utilities/index.js.map +1 -1
- package/package.json +1 -1
- package/src/base/base.scss +15 -0
- package/src/components/cfpb-forms/form-field.scss +0 -1
- package/src/components/cfpb-forms/text-input.scss +1 -0
- package/src/components/cfpb-typography/link.scss +3 -0
- package/src/utilities/utilities.scss +9 -5
package/package.json
CHANGED
package/src/base/base.scss
CHANGED
|
@@ -27,6 +27,21 @@ textarea {
|
|
|
27
27
|
font-family: var(--font-stack);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/*
|
|
31
|
+
* On iOS Safari the input is collapsed till it's clicked.
|
|
32
|
+
* This sets the default min width and height to what it would be if the
|
|
33
|
+
* appearance was a textfield.
|
|
34
|
+
*/
|
|
35
|
+
input[type='date'] {
|
|
36
|
+
display: revert;
|
|
37
|
+
min-width: 98px;
|
|
38
|
+
min-height: 29px;
|
|
39
|
+
|
|
40
|
+
&.a-text-input--full {
|
|
41
|
+
min-width: 100%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
30
45
|
strong,
|
|
31
46
|
b {
|
|
32
47
|
font-weight: 600;
|
|
@@ -351,12 +351,8 @@ $ba: Link underline active color.
|
|
|
351
351
|
// Width utilities
|
|
352
352
|
//
|
|
353
353
|
|
|
354
|
-
@mixin u-w100pct() {
|
|
355
|
-
width: 100%;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
354
|
.u-w100pct {
|
|
359
|
-
|
|
355
|
+
width: 100%;
|
|
360
356
|
}
|
|
361
357
|
|
|
362
358
|
.u-w90pct {
|
|
@@ -399,10 +395,18 @@ $ba: Link underline active color.
|
|
|
399
395
|
width: 75%;
|
|
400
396
|
}
|
|
401
397
|
|
|
398
|
+
.u-w65pct {
|
|
399
|
+
width: 65%;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
402
|
.u-w25pct {
|
|
403
403
|
width: 25%;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
+
.u-w15pct {
|
|
407
|
+
width: 15%;
|
|
408
|
+
}
|
|
409
|
+
|
|
406
410
|
.u-w66pct {
|
|
407
411
|
width: math.div(2, 3) * 100%;
|
|
408
412
|
}
|