@bloom-housing/ui-components 7.3.2 → 8.0.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.
- package/README.md +1 -1
- package/dist/src/actions/Button.stories.js +1 -5
- package/dist/src/actions/Button.stories.js.map +1 -1
- package/dist/src/blocks/HousingCounselor.js +2 -2
- package/dist/src/blocks/InfoCard.js +1 -1
- package/dist/src/blocks/StandardCard.stories.js +1 -1
- package/dist/src/blocks/ViewItem.js +1 -1
- package/dist/src/blocks/ViewItem.js.map +1 -1
- package/dist/src/footers/ExygyFooter.js +1 -1
- package/dist/src/headers/SiteHeader.d.ts +2 -0
- package/dist/src/headers/SiteHeader.js +17 -15
- package/dist/src/headers/SiteHeader.js.map +1 -1
- package/dist/src/headers/SiteHeader.stories.d.ts +1 -0
- package/dist/src/headers/SiteHeader.stories.js +7 -2
- package/dist/src/headers/SiteHeader.stories.js.map +1 -1
- package/dist/src/helpers/preferences.js +1 -1
- package/dist/src/helpers/preferences.js.map +1 -1
- package/dist/src/notifications/ApplicationStatus.js +2 -2
- package/dist/src/notifications/ApplicationStatus.js.map +1 -1
- package/dist/src/notifications/ApplicationStatus.stories.js +8 -24
- package/dist/src/notifications/ApplicationStatus.stories.js.map +1 -1
- package/dist/src/page_components/NavigationHeader.d.ts +1 -1
- package/dist/src/page_components/NavigationHeader.js.map +1 -1
- package/dist/src/page_components/forgot-password/FormForgotPassword.js +1 -3
- package/dist/src/page_components/forgot-password/FormForgotPassword.js.map +1 -1
- package/dist/src/page_components/listing/AdditionalFees.js +1 -1
- package/dist/src/page_components/listing/ContentAccordion.stories.js +1 -1
- package/dist/src/page_components/listing/ListingCard.stories.js +5 -17
- package/dist/src/page_components/listing/ListingCard.stories.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/Contact.js +2 -2
- package/dist/src/page_components/listing/listing_sidebar/Contact.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.js +3 -3
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js +2 -2
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js +3 -3
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js +1 -1
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js.map +1 -1
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js +4 -4
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js.map +1 -1
- package/dist/src/page_components/sign-in/FormSignIn.js +1 -1
- package/dist/src/page_components/sign-in/FormSignIn.js.map +1 -1
- package/dist/src/page_components/sign-in/FormSignInAddPhone.js.map +1 -1
- package/dist/src/page_components/sign-in/FormSignInErrorBox.d.ts +1 -1
- package/dist/src/page_components/sign-in/FormSignInErrorBox.js +1 -3
- package/dist/src/page_components/sign-in/FormSignInErrorBox.js.map +1 -1
- package/dist/src/page_components/sign-in/FormSignInMFACode.js.map +1 -1
- package/dist/src/page_components/sign-in/FormSignInMFAType.js.map +1 -1
- package/dist/src/page_components/sign-in/FormTerms.js.map +1 -1
- package/dist/src/page_components/sign-in/ResendConfirmationModal.js.map +1 -1
- package/dist/src/prototypes/SummaryCard.stories.js +1 -1
- package/dist/src/sections/InfoCardGrid.js +1 -1
- package/dist/src/sections/InfoCardGrid.js.map +1 -1
- package/dist/src/tables/AgPagination.js +1 -1
- package/dist/src/tables/AgPagination.js.map +1 -1
- package/dist/src/tables/GroupedTable.js +1 -1
- package/dist/src/tables/StandardTable.js +1 -1
- package/package.json +2 -2
- package/src/actions/Button.docs.mdx +3 -3
- package/src/actions/Button.scss +6 -6
- package/src/actions/Button.stories.tsx +1 -5
- package/src/blocks/Card.docs.mdx +3 -3
- package/src/blocks/DashBlocks.scss +1 -1
- package/src/blocks/FormCard.scss +3 -3
- package/src/blocks/HousingCounselor.tsx +2 -2
- package/src/blocks/ImageCard.scss +1 -1
- package/src/blocks/InfoCard.scss +1 -1
- package/src/blocks/InfoCard.tsx +1 -1
- package/src/blocks/MediaCard.docs.mdx +1 -1
- package/src/blocks/MediaCard.scss +1 -1
- package/src/blocks/StandardCard.docs.mdx +10 -11
- package/src/blocks/StandardCard.scss +1 -1
- package/src/blocks/StandardCard.stories.tsx +3 -3
- package/src/blocks/StatusItem.scss +3 -3
- package/src/blocks/ViewItem.scss +2 -2
- package/src/blocks/ViewItem.tsx +1 -1
- package/src/documentation/Utilities.scss +1 -1
- package/src/footers/ExygyFooter.tsx +1 -1
- package/src/forms/Dropzone.scss +1 -1
- package/src/forms/MultiSelectField.scss +4 -4
- package/src/forms/Textarea.scss +3 -3
- package/src/global/app-css.scss +1 -1
- package/src/global/blocks.scss +1 -1
- package/src/global/custom_counter.scss +2 -2
- package/src/global/forms.scss +11 -11
- package/src/global/headers.scss +6 -6
- package/src/global/homepage.scss +1 -1
- package/src/global/markdown.scss +2 -2
- package/src/global/mixins.scss +1 -1
- package/src/global/tables.scss +6 -6
- package/src/global/text.scss +17 -25
- package/src/global/tokens/colors.scss +49 -24
- package/src/global/tokens/fonts.scss +11 -13
- package/src/headers/Hero.scss +3 -3
- package/src/headers/PageHeader.docs.mdx +1 -1
- package/src/headers/PageHeader.scss +1 -1
- package/src/headers/SiteHeader.scss +21 -7
- package/src/headers/SiteHeader.stories.tsx +18 -2
- package/src/headers/SiteHeader.tsx +15 -10
- package/src/headers/StepHeader.docs.mdx +11 -11
- package/src/headers/StepHeader.scss +1 -1
- package/src/helpers/preferences.tsx +13 -13
- package/src/lists/PreferencesList.scss +5 -5
- package/src/navigation/Breadcrumbs.scss +2 -2
- package/src/navigation/FooterNav.scss +1 -1
- package/src/navigation/ProgressNav.docs.mdx +1 -1
- package/src/navigation/ProgressNav.scss +2 -2
- package/src/navigation/SideNav.docs.mdx +2 -2
- package/src/navigation/SideNav.scss +1 -1
- package/src/navigation/TabNav.scss +4 -4
- package/src/navigation/Tabs.scss +1 -1
- package/src/notifications/AlertBox.docs.mdx +2 -2
- package/src/notifications/AlertBox.scss +4 -4
- package/src/notifications/AlertNotice.scss +4 -4
- package/src/notifications/ApplicationStatus.stories.tsx +50 -76
- package/src/notifications/ApplicationStatus.tsx +2 -2
- package/src/notifications/StatusAside.scss +1 -1
- package/src/notifications/StatusMessage.scss +2 -2
- package/src/overlays/Modal.docs.mdx +3 -3
- package/src/overlays/Modal.scss +3 -3
- package/src/overlays/Overlay.scss +1 -1
- package/src/page_components/ApplicationTimeline.scss +1 -1
- package/src/page_components/NavigationHeader.tsx +31 -31
- package/src/page_components/forgot-password/FormForgotPassword.tsx +29 -42
- package/src/page_components/listing/AdditionalFees.tsx +1 -1
- package/src/page_components/listing/ContentAccordion.scss +2 -2
- package/src/page_components/listing/ContentAccordion.stories.tsx +1 -1
- package/src/page_components/listing/ListingCard.stories.tsx +5 -17
- package/src/page_components/listing/listing_sidebar/Contact.tsx +2 -2
- package/src/page_components/listing/listing_sidebar/ExpandableSection.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/GetApplication.tsx +3 -3
- package/src/page_components/listing/listing_sidebar/ListingUpdated.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/NumberedHeader.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/QuantityRowSection.tsx +2 -2
- package/src/page_components/listing/listing_sidebar/ReferralApplication.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/SidebarBlock.stories.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/SidebarBlock.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/SubmitApplication.tsx +3 -3
- package/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.tsx +1 -1
- package/src/page_components/listing/listing_sidebar/events/EventSection.tsx +4 -6
- package/src/page_components/sign-in/FormSignIn.tsx +40 -51
- package/src/page_components/sign-in/FormSignInAddPhone.tsx +24 -32
- package/src/page_components/sign-in/FormSignInErrorBox.tsx +18 -32
- package/src/page_components/sign-in/FormSignInMFACode.tsx +23 -32
- package/src/page_components/sign-in/FormSignInMFAType.tsx +21 -25
- package/src/page_components/sign-in/FormTerms.tsx +16 -23
- package/src/page_components/sign-in/ResendConfirmationModal.tsx +28 -30
- package/src/prototypes/AppCard.scss +2 -2
- package/src/prototypes/FieldSection.scss +1 -1
- package/src/prototypes/SummaryCard.scss +1 -1
- package/src/prototypes/SummaryCard.stories.tsx +1 -1
- package/src/sections/GridSection.scss +1 -1
- package/src/sections/InfoCardGrid.scss +2 -2
- package/src/sections/InfoCardGrid.tsx +1 -1
- package/src/tables/AgPagination.tsx +28 -30
- package/src/tables/GroupedTable.tsx +1 -1
- package/src/tables/StandardTable.tsx +1 -1
- package/src/text/Description.scss +2 -2
- package/src/text/Message.scss +1 -1
- package/src/text/Tag.docs.mdx +3 -3
- package/src/text/Tag.scss +8 -8
- package/tailwind.config.js +28 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgPagination.js","sourceRoot":"","sources":["../../../src/tables/AgPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"AgPagination.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CAAC,CAAC,CACG,CACL,CACF,CACF;QAEN,6BAAK,SAAS,EAAC,qDAAqD;YAClE,6BAAK,SAAS,EAAC,WAAW;gBACxB,oBAAC,MAAM,oBACQ,aAAa,EAC1B,SAAS,EAAC,0CAA0C,EACpD,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,WAAW,KAAK,CAAC,IAE1B,CAAC,CAAC,YAAY,CAAC,CACT,CACL;YAEN,oBAAC,MAAM,oBACQ,aAAa,EAC1B,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,UAAU,KAAK,WAAW,IAAI,UAAU,KAAK,CAAC,IAEvD,CAAC,CAAC,QAAQ,CAAC,CACL,CACL,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -33,7 +33,7 @@ export var GroupedTable = function (props) {
|
|
|
33
33
|
body.push(React.createElement("tr", { id: rowKey, key: rowKey, className: "group-".concat(groupClassName) }, cols));
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
|
-
var tableClasses = ["w-full", "text-
|
|
36
|
+
var tableClasses = ["w-full", "text-xs"];
|
|
37
37
|
if (props.responsiveCollapse) {
|
|
38
38
|
tableClasses.push("responsive-collapse");
|
|
39
39
|
}
|
|
@@ -86,7 +86,7 @@ export var StandardTable = function (props) {
|
|
|
86
86
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
87
87
|
ref: provided.innerRef, className: snapshot.isDragging ? "table__is-dragging" : "" }), cols)); })) : (React.createElement("tr", { id: rowKey, key: rowKey, className: rowClass ? rowClass : "" }, cols))));
|
|
88
88
|
});
|
|
89
|
-
var tableClasses = ["w-full", "text-
|
|
89
|
+
var tableClasses = ["w-full", "text-xs"];
|
|
90
90
|
if (props.responsiveCollapse) {
|
|
91
91
|
tableClasses.push("responsive-collapse");
|
|
92
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"author": "Sean Albert <sean.albert@exygy.com>",
|
|
5
5
|
"description": "Shared user interface components for Bloom affordable housing system",
|
|
6
6
|
"homepage": "https://github.com/bloom-housing/ui-components",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build-storybook": "build-storybook -c .storybook -s ./public",
|
|
33
|
-
"start": "start-storybook -s ./public",
|
|
33
|
+
"start": "start-storybook -s ./public -p 40791",
|
|
34
34
|
"build": "tsc",
|
|
35
35
|
"test": "jest -w 1",
|
|
36
36
|
"test:coverage": "jest -w 1 --coverage --watchAll=false",
|
|
@@ -67,10 +67,10 @@ You can apply CSS variables to the `.button` selector to customize the appearanc
|
|
|
67
67
|
| `--label-weight` | Font Weight | Typographic weight of the button label | `bold` |
|
|
68
68
|
| `--normal-rounded` | Size | Border radius of a normal-size button | `--bloom-rounded` |
|
|
69
69
|
| `--normal-padding` | Size | Padding of the normal-size button interior | `--bloom-s4` (top/bottom) `--bloom-s6` (left/right) |
|
|
70
|
-
| `--normal-font-size` | Size | Font size of the normal-size button | `--bloom-font-size-
|
|
70
|
+
| `--normal-font-size` | Size | Font size of the normal-size button | `--bloom-font-size-xs` |
|
|
71
71
|
| `--small-rounded` | Size | Border radius of a small-size button | `--bloom-rounded` |
|
|
72
72
|
| `--small-padding` | Size | Padding of the small-size button interior | `--bloom-s3` (top/bottom) `--bloom-s6` (left/right) |
|
|
73
|
-
| `--small-font-size` | Size | Font size of the small-size button | `--bloom-font-size-
|
|
73
|
+
| `--small-font-size` | Size | Font size of the small-size button | `--bloom-font-size-2xs` |
|
|
74
74
|
| `--big-rounded` | Size | Border radius of a large-size button | `--bloom-rounded` |
|
|
75
75
|
| `--big-padding` | Size | Padding of the large-size button interior | `--bloom-s6` |
|
|
76
|
-
| `--big-font-size` | Size | Font size of the large-size button | `--bloom-font-size-
|
|
76
|
+
| `--big-font-size` | Size | Font size of the large-size button | `--bloom-font-size-xs` |
|
package/src/actions/Button.scss
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
--label-transform: uppercase;
|
|
8
8
|
--label-font: var(--bloom-font-alt-sans);
|
|
9
9
|
--label-letter-spacing: var(--bloom-letter-spacing-widest);
|
|
10
|
-
--normal-font-size: var(--bloom-font-size-
|
|
10
|
+
--normal-font-size: var(--bloom-font-size-xs);
|
|
11
11
|
--label-weight: bold;
|
|
12
12
|
--small-rounded: var(--bloom-rounded);
|
|
13
13
|
--small-padding: var(--bloom-s3) var(--bloom-s6);
|
|
14
|
-
--small-font-size: var(--bloom-font-size-
|
|
14
|
+
--small-font-size: var(--bloom-font-size-2xs);
|
|
15
15
|
--big-rounded: var(--bloom-rounded);
|
|
16
16
|
--big-padding: var(--bloom-s6);
|
|
17
|
-
--big-font-size: var(--bloom-font-size-
|
|
17
|
+
--big-font-size: var(--bloom-font-size-xs);
|
|
18
18
|
|
|
19
19
|
/* Base Styles */
|
|
20
20
|
position: relative;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
font-weight: 400;
|
|
94
94
|
text-decoration: underline;
|
|
95
95
|
margin: var(--bloom-s4);
|
|
96
|
-
font-size: var(--bloom-font-size-
|
|
96
|
+
font-size: var(--bloom-font-size-sm);
|
|
97
97
|
|
|
98
98
|
&:hover {
|
|
99
99
|
color: var(--bloom-color-primary);
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
&.is-inline {
|
|
105
105
|
color: var(--bloom-color-primary);
|
|
106
106
|
font-weight: 600;
|
|
107
|
-
font-size: var(--bloom-font-size-
|
|
107
|
+
font-size: var(--bloom-font-size-sm);
|
|
108
108
|
margin: 0;
|
|
109
109
|
text-decoration: none;
|
|
110
110
|
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
text-decoration: underline;
|
|
141
141
|
margin: var(--bloom-s4);
|
|
142
142
|
text-transform: uppercase;
|
|
143
|
-
font-size: var(--bloom-font-size-
|
|
143
|
+
font-size: var(--bloom-font-size-sm);
|
|
144
144
|
display: block;
|
|
145
145
|
|
|
146
146
|
&:hover {
|
|
@@ -34,11 +34,7 @@ export const standard = () => {
|
|
|
34
34
|
const borderSelect = select("Appearance Border", BorderTypeStory, undefined)
|
|
35
35
|
const iconSelect = select(
|
|
36
36
|
"Icon",
|
|
37
|
-
{
|
|
38
|
-
arrowBack: "arrowBack",
|
|
39
|
-
arrowForward: "arrowForward",
|
|
40
|
-
default: undefined,
|
|
41
|
-
},
|
|
37
|
+
{ arrowBack: "arrowBack", arrowForward: "arrowForward", default: undefined },
|
|
42
38
|
undefined
|
|
43
39
|
)
|
|
44
40
|
const iconPlacementSelect = select(
|
package/src/blocks/Card.docs.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Canvas, Story, ArgsTable } from "@storybook/addon-docs"
|
|
2
|
-
import { Swatch } from "../prototypes/Swatch"
|
|
3
|
-
import { Card } from "./Card"
|
|
1
|
+
import { Canvas, Story, ArgsTable } from "@storybook/addon-docs"
|
|
2
|
+
import { Swatch } from "../prototypes/Swatch"
|
|
3
|
+
import { Card } from "./Card"
|
|
4
4
|
|
|
5
5
|
# Card
|
|
6
6
|
|
package/src/blocks/FormCard.scss
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@apply border-t-4;
|
|
33
33
|
@apply border-primary;
|
|
34
34
|
@apply leading-tight;
|
|
35
|
-
@apply text-
|
|
35
|
+
@apply text-2xl;
|
|
36
36
|
|
|
37
37
|
@screen md {
|
|
38
38
|
@apply mx-auto;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.form-card__header_title {
|
|
118
|
-
@apply text-
|
|
118
|
+
@apply text-xl;
|
|
119
119
|
@apply font-alt-sans;
|
|
120
120
|
@apply font-bold;
|
|
121
121
|
@apply uppercase;
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
@apply tracking-widest;
|
|
194
194
|
@apply font-semibold;
|
|
195
195
|
@apply font-sans;
|
|
196
|
-
@apply text-
|
|
196
|
+
@apply text-sm;
|
|
197
197
|
@apply mb-2;
|
|
198
198
|
@apply inline-block;
|
|
199
199
|
}
|
|
@@ -27,8 +27,8 @@ const LanguageLabel = (language: string) => {
|
|
|
27
27
|
const HousingCounselor = (props: HousingCounselorProps) => {
|
|
28
28
|
return (
|
|
29
29
|
<div className="resource-item text-base">
|
|
30
|
-
<h3 className="font-sans text-
|
|
31
|
-
<p className="text-
|
|
30
|
+
<h3 className="font-sans text-xl">{props.name}</h3>
|
|
31
|
+
<p className="text-xs text-gray-800 pb-2">
|
|
32
32
|
{props.strings?.languageServices ?? t("housingCounselors.languageServices")}
|
|
33
33
|
{props.languages.map((language) => LanguageLabel(language))}
|
|
34
34
|
</p>
|
package/src/blocks/InfoCard.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--background-color: var(--bloom-color-white);
|
|
6
6
|
--background-color-lighter: var(--bloom-color-primary-lighter);
|
|
7
7
|
--title-color: var(--bloom-color-gray-800);
|
|
8
|
-
--title-font-size: var(--bloom-font-size-
|
|
8
|
+
--title-font-size: var(--bloom-font-size-xs);
|
|
9
9
|
--title-font-size-lighter: var(--bloom-font-size-base);
|
|
10
10
|
--title-font-family: var(--bloom-font-sans);
|
|
11
11
|
--title-text-transform: uppercase;
|
package/src/blocks/InfoCard.tsx
CHANGED
|
@@ -28,7 +28,7 @@ const InfoCard = (props: InfoCardProps) => {
|
|
|
28
28
|
) : (
|
|
29
29
|
<h3 className="info-card__title">{props.title}</h3>
|
|
30
30
|
)}
|
|
31
|
-
{props.subtitle && <span className={"text-
|
|
31
|
+
{props.subtitle && <span className={"text-xs text-gray-700"}>{props.subtitle}</span>}
|
|
32
32
|
</div>
|
|
33
33
|
{typeof props.children == "string" ? (
|
|
34
34
|
<div className="markdown">
|
|
@@ -30,7 +30,7 @@ You can apply CSS variables to the `.media-card` selector to customize the appea
|
|
|
30
30
|
| `--title-font-size` | Size | The font size of media title | `--bloom-font-size-base` |
|
|
31
31
|
| `--title-font-family` | Size | The font family of the media title | `--bloom-font-sans` |
|
|
32
32
|
| `--title-font-spacing` | Size | The letter spacing of media title | `--bloom-letter-spacing-wide` |
|
|
33
|
-
| `--subtitle-font-size` | Size | The font size of the media subtitle | `--bloom-font-size-
|
|
33
|
+
| `--subtitle-font-size` | Size | The font size of the media subtitle | `--bloom-font-size-sm` |
|
|
34
34
|
| `--content-bg-color` | Color | The background color of card body | `--bloom-color-gray-200` |
|
|
35
35
|
| `--card-border` | Size | The card border settings (thickness, border type, color) | `--bloom-border-1 solid --bloom-color-gray-450` |
|
|
36
36
|
| `--card-border-rounded` | Size | The card corner radius | `--bloom-rounded` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--title-font-size: var(--bloom-font-size-base);
|
|
5
5
|
--title-font-family: var(--bloom-font-sans);
|
|
6
6
|
--title-font-spacing: var(--bloom-letter-spacing-wide);
|
|
7
|
-
--subtitle-font-size: var(--bloom-font-size-
|
|
7
|
+
--subtitle-font-size: var(--bloom-font-size-sm);
|
|
8
8
|
--content-bg-color: var(--bloom-color-gray-200);
|
|
9
9
|
--card-border: var(--bloom-border-1) solid var(--bloom-color-gray-450);
|
|
10
10
|
--card-border-rounded: var(--bloom-rounded);
|
|
@@ -9,7 +9,6 @@ The standard card component displays a title with a child element (e.g table) an
|
|
|
9
9
|
<Story id="blocks-standard-card" />
|
|
10
10
|
</Canvas>
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
## Component Properties
|
|
14
13
|
|
|
15
14
|
<ArgsTable of={StandardCard} />
|
|
@@ -22,13 +21,13 @@ The standard card component displays a title with a child element (e.g table) an
|
|
|
22
21
|
|
|
23
22
|
You can apply CSS variables to the `.standard-card` selector to customize the appearance of the component.
|
|
24
23
|
|
|
25
|
-
| Name
|
|
26
|
-
|
|
|
27
|
-
| `--font-family`
|
|
28
|
-
| `--border-radius`
|
|
29
|
-
| `--border-width`
|
|
30
|
-
| `--border-color`
|
|
31
|
-
| `--title-color`
|
|
32
|
-
| `--background-color`
|
|
33
|
-
| `--blank-color`
|
|
34
|
-
| `--blank-background`
|
|
24
|
+
| Name | Type | Description | Default |
|
|
25
|
+
| -------------------- | ----- | ---------------------------- | ------------------------ |
|
|
26
|
+
| `--font-family` | Font | Title font family | `--bloom-font-alt-sans` |
|
|
27
|
+
| `--border-radius` | Size | Card border radius | `--bloom-rounded-lg` |
|
|
28
|
+
| `--border-width` | Size | Card border width | `--bloom-border-1` |
|
|
29
|
+
| `--border-color` | Size | Card border color | `--bloom-color-gray-500` |
|
|
30
|
+
| `--title-color` | Color | Card title color | `--bloom-color-gray-950` |
|
|
31
|
+
| `--background-color` | Size | Card background color | `--bloom-color-white` |
|
|
32
|
+
| `--blank-color` | Color | Empty state text color | `--bloom-color-gray-750` |
|
|
33
|
+
| `--blank-background` | Color | Empty state background color | `--bloom-color-gray-200` |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--border-radius: var(--bloom-rounded-lg);
|
|
4
4
|
--border-width: var(--bloom-border-1);
|
|
5
5
|
--border-color: var(--bloom-color-gray-500);
|
|
6
|
-
--title-color: var(--bloom-color-gray-
|
|
6
|
+
--title-color: var(--bloom-color-gray-950);
|
|
7
7
|
--background-color: var(--bloom-color-white);
|
|
8
8
|
--blank-color: var(--bloom-text-color);
|
|
9
9
|
--blank-background: var(--bloom-color-gray-200);
|
|
@@ -47,9 +47,9 @@ export const styleOverrides = () => {
|
|
|
47
47
|
--font-family: var(--bloom-font-sans);
|
|
48
48
|
--border-radius: var(--bloom-rounded-md);
|
|
49
49
|
--border-width: var(--bloom-border-4);
|
|
50
|
-
--border-color: var(--bloom-color-blue-
|
|
51
|
-
--title-color: var(--bloom-color-blue-
|
|
52
|
-
--background-color: var(--bloom-color-blue-
|
|
50
|
+
--border-color: var(--bloom-color-blue-500);
|
|
51
|
+
--title-color: var(--bloom-color-blue-500);
|
|
52
|
+
--background-color: var(--bloom-color-blue-100);
|
|
53
53
|
--blank-color: var(--bloom-color-black);
|
|
54
54
|
--blank-background: var(--bloom-color-gray-400);
|
|
55
55
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.status-item__date {
|
|
120
|
-
@apply text-
|
|
120
|
+
@apply text-xs;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.status-item__address {
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.status-item__confirm-text {
|
|
128
|
-
@apply text-
|
|
128
|
+
@apply text-sm;
|
|
129
129
|
@apply mb-4;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.status-item__confirm-number {
|
|
133
|
-
@apply text-
|
|
133
|
+
@apply text-xl;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.status-item__address {
|
package/src/blocks/ViewItem.scss
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
.view-item__label {
|
|
29
29
|
@apply text-gray-800;
|
|
30
30
|
@apply font-sans;
|
|
31
|
-
@apply text-
|
|
31
|
+
@apply text-sm;
|
|
32
32
|
@apply block;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
.view-item__helper {
|
|
55
55
|
@apply text-gray-750;
|
|
56
56
|
@apply font-sans;
|
|
57
|
-
@apply text-
|
|
57
|
+
@apply text-sm;
|
|
58
58
|
@apply block;
|
|
59
59
|
}
|
package/src/blocks/ViewItem.tsx
CHANGED
|
@@ -25,7 +25,7 @@ const ViewItem = (props: ViewItemProps) => {
|
|
|
25
25
|
return (
|
|
26
26
|
<div id={props.id} className={viewItemClasses.join(" ")} data-test-id={props.dataTestId}>
|
|
27
27
|
{props.label && (
|
|
28
|
-
<span className={`view-item__label ${props.error ? "text-alert text-
|
|
28
|
+
<span className={`view-item__label ${props.error ? "text-alert text-sm" : ""}`}>
|
|
29
29
|
{props.label}
|
|
30
30
|
</span>
|
|
31
31
|
)}
|
package/src/forms/Dropzone.scss
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
background: var(--list-background-color);
|
|
74
74
|
border: 1px solid var(--bloom-color-gray-700);
|
|
75
75
|
border-radius: var(--bloom-rounded-sm);
|
|
76
|
-
font-size: var(--bloom-font-size-
|
|
76
|
+
font-size: var(--bloom-font-size-sm);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.multi-select-field__list--has-results[aria-label]:before {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
display: block;
|
|
82
82
|
width: 100%;
|
|
83
83
|
padding: var(--bloom-s1) var(--bloom-s2);
|
|
84
|
-
font-size: var(--bloom-font-size-
|
|
84
|
+
font-size: var(--bloom-font-size-xs);
|
|
85
85
|
color: var(--bloom-text-color);
|
|
86
86
|
text-align: right;
|
|
87
87
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.multi-select-field__option:hover {
|
|
111
|
-
background: var(--bloom-color-blue-
|
|
111
|
+
background: var(--bloom-color-blue-100);
|
|
112
112
|
color: var(--bloom-color-primary);
|
|
113
113
|
margin: 0;
|
|
114
114
|
cursor: pointer;
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
padding-block: var(--bloom-s3);
|
|
145
145
|
padding-inline: var(--bloom-s5) var(--bloom-s10);
|
|
146
146
|
margin: 2px 4px 2px 0;
|
|
147
|
-
font-size: var(--bloom-font-size-
|
|
147
|
+
font-size: var(--bloom-font-size-sm);
|
|
148
148
|
border-radius: var(--bloom-rounded-full);
|
|
149
149
|
word-break: break-word;
|
|
150
150
|
cursor: pointer;
|
package/src/forms/Textarea.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@apply border;
|
|
5
5
|
@apply border-gray-500;
|
|
6
6
|
@apply p-2;
|
|
7
|
-
@apply text-gray-
|
|
7
|
+
@apply text-gray-950;
|
|
8
8
|
@apply bg-gray-200;
|
|
9
9
|
@apply align-top;
|
|
10
10
|
font-size: 1rem;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.textarea-error-message {
|
|
27
|
-
@apply text-
|
|
27
|
+
@apply text-2xs;
|
|
28
28
|
@apply text-alert;
|
|
29
29
|
@apply block;
|
|
30
30
|
@apply leading-5;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
.textarea-label {
|
|
35
35
|
@apply block;
|
|
36
36
|
@apply pb-2;
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-sm;
|
|
38
38
|
@apply text-gray-800;
|
|
39
39
|
}
|
|
40
40
|
|
package/src/global/app-css.scss
CHANGED
package/src/global/blocks.scss
CHANGED
package/src/global/forms.scss
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
label,
|
|
15
15
|
.label {
|
|
16
16
|
@apply pb-2;
|
|
17
|
-
@apply text-
|
|
17
|
+
@apply text-sm;
|
|
18
18
|
@apply text-gray-800;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
@apply rounded;
|
|
74
74
|
@apply w-full;
|
|
75
75
|
@apply py-3;
|
|
76
|
-
@apply text-gray-
|
|
76
|
+
@apply text-gray-950;
|
|
77
77
|
font-family: inherit;
|
|
78
78
|
font-size: 1rem;
|
|
79
79
|
line-height: normal;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
@apply px-3;
|
|
94
94
|
@apply py-2;
|
|
95
95
|
@apply items-center;
|
|
96
|
-
@apply text-
|
|
96
|
+
@apply text-xl;
|
|
97
97
|
background: transparent;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -187,12 +187,12 @@
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
select {
|
|
190
|
-
@apply text-gray-
|
|
190
|
+
@apply text-gray-950;
|
|
191
191
|
@apply rounded;
|
|
192
192
|
@apply border;
|
|
193
193
|
@apply border-gray-500;
|
|
194
194
|
@apply bg-gray-200;
|
|
195
|
-
@apply text-gray-
|
|
195
|
+
@apply text-gray-950;
|
|
196
196
|
@apply leading-tight;
|
|
197
197
|
@apply py-2;
|
|
198
198
|
@apply px-3;
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
.input,
|
|
238
238
|
.prepend,
|
|
239
239
|
select {
|
|
240
|
-
@apply border-red-
|
|
240
|
+
@apply border-red-500;
|
|
241
241
|
@apply border-2;
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -293,7 +293,7 @@ input[type="number"] {
|
|
|
293
293
|
|
|
294
294
|
.field-label {
|
|
295
295
|
@apply pb-2;
|
|
296
|
-
@apply text-
|
|
296
|
+
@apply text-sm;
|
|
297
297
|
@apply text-gray-800;
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -341,14 +341,14 @@ input[type="number"] {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.field-note {
|
|
344
|
-
@apply text-
|
|
344
|
+
@apply text-sm;
|
|
345
345
|
@apply text-gray-700;
|
|
346
346
|
white-space: pre-line;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.error-message {
|
|
350
350
|
display: inline-block;
|
|
351
|
-
@apply text-
|
|
351
|
+
@apply text-xs;
|
|
352
352
|
@apply text-alert;
|
|
353
353
|
@apply tracking-wide;
|
|
354
354
|
@apply leading-5;
|
|
@@ -358,7 +358,7 @@ input[type="number"] {
|
|
|
358
358
|
.field-sub-note {
|
|
359
359
|
@apply mt-2;
|
|
360
360
|
@apply text-gray-750;
|
|
361
|
-
@apply text-
|
|
361
|
+
@apply text-xs;
|
|
362
362
|
@apply tracking-wide;
|
|
363
363
|
@apply font-sans;
|
|
364
364
|
font-weight: normal;
|
|
@@ -367,7 +367,7 @@ input[type="number"] {
|
|
|
367
367
|
.form-section__title {
|
|
368
368
|
@apply font-alt-sans;
|
|
369
369
|
@apply text-xl;
|
|
370
|
-
@apply text-gray-
|
|
370
|
+
@apply text-gray-950;
|
|
371
371
|
@apply font-medium;
|
|
372
372
|
@apply block;
|
|
373
373
|
@apply mb-1;
|
package/src/global/headers.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@screen md {
|
|
13
13
|
@apply pt-0;
|
|
14
14
|
@apply pb-8;
|
|
15
|
-
@apply text-
|
|
15
|
+
@apply text-xs;
|
|
16
16
|
@apply border-none;
|
|
17
17
|
@apply text-gray-800;
|
|
18
18
|
}
|
|
@@ -56,22 +56,22 @@
|
|
|
56
56
|
.detail-header__title {
|
|
57
57
|
@apply font-alt-sans;
|
|
58
58
|
@apply uppercase;
|
|
59
|
-
@apply text-
|
|
59
|
+
@apply text-sm;
|
|
60
60
|
@apply tracking-widest;
|
|
61
61
|
@apply text-primary-darker;
|
|
62
62
|
|
|
63
63
|
@screen md {
|
|
64
64
|
@apply text-black;
|
|
65
65
|
@apply font-serif;
|
|
66
|
-
@apply text-
|
|
66
|
+
@apply text-2xl;
|
|
67
67
|
@apply normal-case;
|
|
68
68
|
@apply tracking-normal;
|
|
69
|
-
@apply text-gray-
|
|
69
|
+
@apply text-gray-950;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.detail-header__subtitle {
|
|
74
|
-
@apply text-
|
|
74
|
+
@apply text-sm;
|
|
75
75
|
|
|
76
76
|
@screen md {
|
|
77
77
|
@apply text-gray-750;
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
}
|
|
89
89
|
.toggle-header-content {
|
|
90
90
|
@apply font-sans;
|
|
91
|
-
@apply text-
|
|
91
|
+
@apply text-sm;
|
|
92
92
|
@apply text-gray-800;
|
|
93
93
|
}
|
package/src/global/homepage.scss
CHANGED
package/src/global/markdown.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
h2 {
|
|
5
5
|
margin-block: var(--bloom-s8) var(--bloom-s5);
|
|
6
|
-
font-size: var(--bloom-font-size-
|
|
6
|
+
font-size: var(--bloom-font-size-2xl);
|
|
7
7
|
|
|
8
8
|
@media (min-width: $screen-md) {
|
|
9
9
|
font-size: var(--bloom-font-size-xl);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/* Certain text blocks in the application form flow use this extra styling: */
|
|
33
33
|
|
|
34
34
|
&.markdown-informational {
|
|
35
|
-
font-size: var(--bloom-font-size-
|
|
35
|
+
font-size: var(--bloom-font-size-sm);
|
|
36
36
|
color: var(--bloom-color-gray-750);
|
|
37
37
|
|
|
38
38
|
h3 {
|
package/src/global/mixins.scss
CHANGED