@bloom-housing/ui-components 7.3.1 → 8.0.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.
- package/README.md +40 -39
- package/dist/src/actions/Button.stories.js +1 -5
- package/dist/src/actions/Button.stories.js.map +1 -1
- package/dist/src/actions/ExpandableText.d.ts +2 -2
- package/dist/src/actions/ExpandableText.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.js +1 -1
- package/dist/src/headers/SiteHeader.js.map +1 -1
- package/dist/src/headers/SiteHeader.stories.js +2 -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 +11 -9
- package/dist/src/page_components/listing/AdditionalFees.js.map +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/dist/src/text/Description.d.ts +2 -2
- package/dist/src/text/Description.js.map +1 -1
- package/package.json +18 -4
- 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/actions/ExpandableText.tsx +2 -2
- 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 +7 -7
- package/src/headers/SiteHeader.stories.tsx +2 -2
- package/src/headers/SiteHeader.tsx +1 -1
- 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 +16 -14
- 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/Description.tsx +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":"FormTerms.js","sourceRoot":"","sources":["../../../../src/page_components/sign-in/FormTerms.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"FormTerms.js","sourceRoot":"","sources":["../../../../src/page_components/sign-in/FormTerms.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EACL,mBAAmB,EACnB,MAAM,EACN,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,CAAC,GACF,MAAM,UAAU,CAAA;AACjB,OAAO,QAAQ,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAWzC,IAAM,SAAS,GAAG,UAAC,KAAqB;IACtC,6DAA6D;IACvD,IAAA,KAAqC,OAAO,EAAqB,EAA/D,YAAY,kBAAA,EAAE,QAAQ,cAAA,EAAE,MAAM,YAAiC,CAAA;IAEvE,OAAO,CACL,oBAAC,IAAI,IAAC,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC;QACvE,oBAAC,QAAQ;YACP,6BAAK,SAAS,EAAC,6BAA6B;gBAC1C,oBAAC,IAAI,IAAC,IAAI,EAAC,KAAK,EAAC,MAAM,EAAC,UAAU,GAAG;gBACrC,4BAAI,SAAS,EAAC,kBAAkB,IAAE,CAAC,CAAC,gCAAgC,CAAC,CAAM;gBAC3E,2BAAG,SAAS,EAAC,6BAA6B,IACvC,CAAC,CAAC,uCAAuC,CAAC,CACzC;gBAEJ,6BAAK,SAAS,EAAC,8CAA8C,IAC1D,KAAK,CAAC,KAAK,IAAI,CACd,oBAAC,eAAe,IAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI;oBAC9C,oBAAC,QAAQ,IAAC,OAAO,EAAE,EAAE,qBAAqB,EAAE,KAAK,EAAE,IAAG,KAAK,CAAC,KAAK,CAAY,CAC7D,CACnB,CACG,CACF;YAEN,6BAAK,SAAS,EAAC,uBAAuB;gBACpC,oBAAC,KAAK,IACJ,EAAE,EAAC,OAAO,EACV,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,UAAU,EACf,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAE,CAAC,CAAC,gCAAgC,CAAC,EAC1C,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EACrB,YAAY,EAAE,CAAC,CAAC,mBAAmB,CAAC,EACpC,UAAU,EAAC,OAAO,GAClB,CACE;YAEN,6BAAK,SAAS,EAAC,UAAU,GAAG;YAE5B,6BAAK,SAAS,EAAC,kBAAkB;gBAC/B,6BAAK,SAAS,EAAC,8BAA8B;oBAC3C,oBAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,kBAAe,aAAa,IACvE,CAAC,CAAC,UAAU,CAAC,CACP,CACL,CACF,CACG,CACN,CACR,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResendConfirmationModal.js","sourceRoot":"","sources":["../../../../src/page_components/sign-in/ResendConfirmationModal.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,mBAAmB,EACnB,MAAM,EACN,KAAK,EACL,CAAC,EACD,IAAI,EACJ,KAAK,EACL,UAAU,EACV,kBAAkB,GACnB,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"ResendConfirmationModal.js","sourceRoot":"","sources":["../../../../src/page_components/sign-in/ResendConfirmationModal.tsx"],"names":[],"mappings":"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"}
|
|
@@ -15,7 +15,7 @@ export var SummaryCardHeading = function () { return (React.createElement("div",
|
|
|
15
15
|
React.createElement("header", { className: "summary-card__header bg-gray-100 border-b mb-2" },
|
|
16
16
|
React.createElement("h2", { className: "summary-card__title" },
|
|
17
17
|
React.createElement("a", { href: "#" }, "My Property")),
|
|
18
|
-
React.createElement("p", { className: "text-
|
|
18
|
+
React.createElement("p", { className: "text-xs mt-3" },
|
|
19
19
|
React.createElement("span", null, "1 Polk St, San Francisco, CA 94102"),
|
|
20
20
|
React.createElement("span", { className: "ml-4 pl-4 border-l border-gray-600" }, "Waitlist: 353"))),
|
|
21
21
|
React.createElement(MinimalTable, { headers: mockHeaders, data: mockData }))); };
|
|
@@ -3,7 +3,7 @@ import { Heading } from "../text/Heading";
|
|
|
3
3
|
import "./InfoCardGrid.scss";
|
|
4
4
|
var InfoCardGrid = function (props) { return (React.createElement("section", { className: "info-cards" },
|
|
5
5
|
React.createElement("header", { className: "info-cards__header" },
|
|
6
|
-
React.createElement(Heading, { styleType: "underlineWeighted", priority: 2, className: "text-
|
|
6
|
+
React.createElement(Heading, { styleType: "underlineWeighted", priority: 2, className: "text-sm" }, props.title),
|
|
7
7
|
props.subtitle && React.createElement("p", { className: "info-cards__subtitle" }, props.subtitle)),
|
|
8
8
|
React.createElement("div", { className: "info-cards__grid" }, props.children))); };
|
|
9
9
|
export { InfoCardGrid as default, InfoCardGrid };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoCardGrid.js","sourceRoot":"","sources":["../../../src/sections/InfoCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,qBAAqB,CAAA;AAQ5B,IAAM,YAAY,GAAG,UAAC,KAAwB,IAAK,OAAA,CACjD,iCAAS,SAAS,EAAC,YAAY;IAC7B,gCAAQ,SAAS,EAAC,oBAAoB;QACpC,oBAAC,OAAO,IAAC,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"InfoCardGrid.js","sourceRoot":"","sources":["../../../src/sections/InfoCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,qBAAqB,CAAA;AAQ5B,IAAM,YAAY,GAAG,UAAC,KAAwB,IAAK,OAAA,CACjD,iCAAS,SAAS,EAAC,YAAY;IAC7B,gCAAQ,SAAS,EAAC,oBAAoB;QACpC,oBAAC,OAAO,IAAC,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,SAAS,IACvE,KAAK,CAAC,KAAK,CACJ;QACT,KAAK,CAAC,QAAQ,IAAI,2BAAG,SAAS,EAAC,sBAAsB,IAAE,KAAK,CAAC,QAAQ,CAAK,CACpE;IACT,6BAAK,SAAS,EAAC,kBAAkB,IAAE,KAAK,CAAC,QAAQ,CAAO,CAChD,CACX,EAVkD,CAUlD,CAAA;AAED,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -21,7 +21,7 @@ var AgPagination = function (_a) {
|
|
|
21
21
|
React.createElement("div", { className: "data-pager__control-group ml-0 md:ml-auto w-full md:w-auto md:flex md:items-center" },
|
|
22
22
|
React.createElement("div", { className: "data-pager__control" },
|
|
23
23
|
React.createElement("span", { className: "field-label", id: "lbTotalPages" }, totalItems),
|
|
24
|
-
quantityLabel &&
|
|
24
|
+
quantityLabel && React.createElement("span", { className: "field-label" }, quantityLabel)),
|
|
25
25
|
React.createElement("div", { className: "flex mt-5 md:mt-0 md:items-center" },
|
|
26
26
|
React.createElement("div", { className: "field data-pager__control md:mb-0" },
|
|
27
27
|
React.createElement("label", { className: "field-label font-sans", htmlFor: "page-size" }, t("t.show")),
|
|
@@ -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.js","sourceRoot":"","sources":["../../../src/tables/AgPagination.tsx"],"names":[],"mappings":"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"}
|
|
@@ -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
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./Description.scss";
|
|
2
|
-
import {
|
|
2
|
+
import { MarkdownToJSX } from "markdown-to-jsx";
|
|
3
3
|
export interface DescriptionProps {
|
|
4
4
|
term: string;
|
|
5
5
|
description: any;
|
|
6
6
|
dtClassName?: string;
|
|
7
7
|
markdown?: boolean;
|
|
8
|
-
markdownProps?:
|
|
8
|
+
markdownProps?: MarkdownToJSX.Options;
|
|
9
9
|
}
|
|
10
10
|
export declare const Description: (props: DescriptionProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/text/Description.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/text/Description.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,QAA2B,MAAM,iBAAiB,CAAA;AAUzD,MAAM,CAAC,IAAM,WAAW,GAAG,UAAC,KAAuB;IACjD,IAAM,SAAS,GAAG,CAAC,mBAAmB,CAAC,CAAA;IACvC,IAAI,KAAK,CAAC,WAAW;QAAE,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAExD,OAAO,CACL;QACE,4BAAI,SAAS,EAAC,oBAAoB,IAAE,KAAK,CAAC,IAAI,CAAM;QACnD,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAChB,4BAAI,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC;YAChC,oBAAC,QAAQ,IACP,OAAO,aAAI,qBAAqB,EAAE,IAAI,IAAK,KAAK,CAAC,aAAa,GAC9D,QAAQ,EAAE,KAAK,CAAC,WAAW,GAC3B,CACC,CACN,CAAC,CAAC,CAAC,CACF,4BAAI,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,IAAG,KAAK,CAAC,WAAW,CAAM,CAC7D,CACA,CACJ,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
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",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/core": "^7.15.5",
|
|
42
42
|
"@babel/preset-env": "^7.15.4",
|
|
43
|
+
"@commitlint/cli": "^13.1.0",
|
|
44
|
+
"@commitlint/config-conventional": "^13.1.0",
|
|
43
45
|
"@emotion/core": "^10.0.35",
|
|
44
46
|
"@emotion/styled": "^10.0.27",
|
|
45
47
|
"@geometricpanda/storybook-addon-badges": "^0.2.1",
|
|
@@ -73,6 +75,8 @@
|
|
|
73
75
|
"@types/react-text-mask": "^5.4.6",
|
|
74
76
|
"@types/react-transition-group": "^4.4.0",
|
|
75
77
|
"@types/webpack": "^4.41.22",
|
|
78
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
76
80
|
"autoprefixer": "^10.3.4",
|
|
77
81
|
"babel-loader": "^8.2.2",
|
|
78
82
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
@@ -84,9 +88,11 @@
|
|
|
84
88
|
"eslint-plugin-prettier": "^3.1.4",
|
|
85
89
|
"eslint-plugin-react": "^7.21.4",
|
|
86
90
|
"eslint-plugin-react-hooks": "^4.1.2",
|
|
91
|
+
"husky": "^4.3.0",
|
|
87
92
|
"identity-obj-proxy": "^3.0.0",
|
|
88
93
|
"jest": "^26.5.3",
|
|
89
94
|
"jest-environment-jsdom": "^26.5.3",
|
|
95
|
+
"lint-staged": "^10.4.0",
|
|
90
96
|
"mockdate": "^3.0.2",
|
|
91
97
|
"postcss": "^8.3.6",
|
|
92
98
|
"postcss-loader": "^4.3",
|
|
@@ -98,6 +104,7 @@
|
|
|
98
104
|
"react-is": "^17.0.2",
|
|
99
105
|
"react-test-renderer": "^17.0.2",
|
|
100
106
|
"regenerator-runtime": "^0.13.7",
|
|
107
|
+
"require-from-string": "2.0.2",
|
|
101
108
|
"sass": "1.52.1",
|
|
102
109
|
"sass-loader": "^10.0.3",
|
|
103
110
|
"semantic-release": "19.0.5",
|
|
@@ -114,7 +121,6 @@
|
|
|
114
121
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
|
115
122
|
"@mapbox/mapbox-sdk": "^0.13.0",
|
|
116
123
|
"@types/jwt-decode": "^2.2.1",
|
|
117
|
-
"@types/markdown-to-jsx": "^6.11.2",
|
|
118
124
|
"@types/mdx": "^2.0.1",
|
|
119
125
|
"@types/node": "^12.12.67",
|
|
120
126
|
"@types/node-polyglot": "^2.4.1",
|
|
@@ -128,7 +134,7 @@
|
|
|
128
134
|
"axios": "0.21.2",
|
|
129
135
|
"dayjs": "^1.10.7",
|
|
130
136
|
"jwt-decode": "^2.2.0",
|
|
131
|
-
"markdown-to-jsx": "
|
|
137
|
+
"markdown-to-jsx": "7.1.8",
|
|
132
138
|
"nanoid": "^3.1.12",
|
|
133
139
|
"node-polyglot": "^2.4.0",
|
|
134
140
|
"react": "^17.0.2",
|
|
@@ -152,5 +158,13 @@
|
|
|
152
158
|
"singleQuote": false,
|
|
153
159
|
"printWidth": 100,
|
|
154
160
|
"semi": false
|
|
161
|
+
},
|
|
162
|
+
"husky": {
|
|
163
|
+
"hooks": {
|
|
164
|
+
"commit-msg": "echo '\n(1) Verifying conventional commit format... \n (If this fails, install commitizen and commit with 'git cz' to automate the formatting!)\n----------' && commitlint -E HUSKY_GIT_PARAMS && echo '\n(2) Linting...\n----------' && lint-staged"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"lint-staged": {
|
|
168
|
+
"*.{js,ts,tsx}": "eslint --max-warnings 0"
|
|
155
169
|
}
|
|
156
170
|
}
|
|
@@ -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(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react"
|
|
2
|
-
import Markdown, {
|
|
2
|
+
import Markdown, { MarkdownToJSX } from "markdown-to-jsx"
|
|
3
3
|
import "./ExpandableText.scss"
|
|
4
4
|
|
|
5
5
|
export interface ExpandableTextProps {
|
|
@@ -11,7 +11,7 @@ export interface ExpandableTextProps {
|
|
|
11
11
|
readMore: string
|
|
12
12
|
readLess: string
|
|
13
13
|
}
|
|
14
|
-
markdownProps?:
|
|
14
|
+
markdownProps?: MarkdownToJSX.Options
|
|
15
15
|
buttonClassName?: string
|
|
16
16
|
}
|
|
17
17
|
|
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
|
|