Skip to content

Commit

Permalink
refactor: align InfoCard
Browse files Browse the repository at this point in the history
  • Loading branch information
KrissDrawing committed Oct 12, 2023
1 parent 9fc3ab6 commit 34babe6
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 299 deletions.
45 changes: 0 additions & 45 deletions doorway-ui-components/__tests__/blocks/InfoCard.test.tsx

This file was deleted.

1 change: 0 additions & 1 deletion doorway-ui-components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export * from "./src/blocks/DashBlocks"
export * from "./src/blocks/FormCard"
export * from "./src/blocks/HousingCounselor"
export * from "./src/blocks/ImageCard"
export * from "./src/blocks/InfoCard"
export * from "./src/blocks/StatusBar"
export * from "./src/blocks/ViewItem"
export * from "./src/blocks/StandardCard"
Expand Down
34 changes: 0 additions & 34 deletions doorway-ui-components/src/blocks/InfoCard.docs.mdx

This file was deleted.

102 changes: 0 additions & 102 deletions doorway-ui-components/src/blocks/InfoCard.scss

This file was deleted.

68 changes: 0 additions & 68 deletions doorway-ui-components/src/blocks/InfoCard.stories.tsx

This file was deleted.

44 changes: 0 additions & 44 deletions doorway-ui-components/src/blocks/InfoCard.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react"
import { GridSection, GridCell } from "../../sections/GridSection"
import { InfoCard } from "../../blocks/InfoCard"
import { InfoCard } from "@bloom-housing/ui-components"

export interface AdditionalFeesProps {
/** The application fee for the property, rendered in the first block */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"

import { InfoCard } from "../blocks/InfoCard"
import { InfoCard } from "@bloom-housing/ui-components"
import { InfoCardGrid } from "./InfoCardGrid"
import { ExpandableText } from "../actions/ExpandableText"

Expand Down
4 changes: 2 additions & 2 deletions sites/public/src/components/listings/ListingsList.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from "react"
import { getListings } from "../../lib/helpers"
import { Listing, Jurisdiction } from "@bloom-housing/backend-core"
import { InfoCard, LinkButton, ZeroListingsItem } from "@bloom-housing/doorway-ui-components"
import { LinkButton, ZeroListingsItem } from "@bloom-housing/doorway-ui-components"
import { Pagination } from "./Pagination"
import { LoadingOverlay, t } from "@bloom-housing/ui-components"
import { LoadingOverlay, t, InfoCard } from "@bloom-housing/ui-components"

type ListingsListProps = {
jurisdiction: Jurisdiction
Expand Down
3 changes: 2 additions & 1 deletion sites/public/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import {
t,
SiteAlert,
AppearanceSizeType,
InfoCard,
} from "@bloom-housing/ui-components"
import { ActionBlock, DoorwayHero, InfoCard } from "@bloom-housing/doorway-ui-components"
import { ActionBlock, DoorwayHero } from "@bloom-housing/doorway-ui-components"
import { PageView, pushGtmEvent, AuthContext } from "@bloom-housing/shared-helpers"
import { UserStatus } from "../lib/constants"
import Layout from "../layouts/application"
Expand Down
Loading

0 comments on commit 34babe6

Please sign in to comment.