diff --git a/examples/example_pro/src/FirestoreApp/App.tsx b/examples/example_pro/src/FirestoreApp/App.tsx index 6ea3f974e..c4afd9cc3 100644 --- a/examples/example_pro/src/FirestoreApp/App.tsx +++ b/examples/example_pro/src/FirestoreApp/App.tsx @@ -67,6 +67,7 @@ import { DemoImportAction } from "./DemoImportAction"; import { algoliaSearchControllerBuilder } from "./text_search"; import { carsCollection } from "./collections/cars_collection"; import ClientUIComponentsShowcase from "./views/ClientUIComponentsShowcase"; +import { TypographyDemo } from "./views/TypographyDemo"; const signInOptions: FirebaseSignInProvider[] = ["google.com", "password"]; @@ -247,6 +248,13 @@ export function App() { view: }, // { + // path: "typography", + // name: "Typography demo", + // group: "Custom views", + // description: "This is an example of an additional view that is defined by the user", + // view: + // }, + // { // path: "board_test", // name: "Board test", // group: "Content", diff --git a/examples/example_pro/src/FirestoreApp/views/TypographyDemo.tsx b/examples/example_pro/src/FirestoreApp/views/TypographyDemo.tsx new file mode 100644 index 000000000..1a6cecf7e --- /dev/null +++ b/examples/example_pro/src/FirestoreApp/views/TypographyDemo.tsx @@ -0,0 +1,20 @@ +import { CenteredView, Typography } from "@firecms/ui"; + +export function TypographyDemo() { + + return + H1. Heading + H2. Heading + H3. Heading + H4. Heading + H5. Heading + H6. Heading + Subtitle 1 + Subtitle 2 + Body 1 + Body 2 + Caption + Label + Button + +} diff --git a/packages/firecms_cloud/src/components/subscriptions/ProjectSubscriptionPlans.tsx b/packages/firecms_cloud/src/components/subscriptions/ProjectSubscriptionPlans.tsx index ab2eae245..55c1ae925 100644 --- a/packages/firecms_cloud/src/components/subscriptions/ProjectSubscriptionPlans.tsx +++ b/packages/firecms_cloud/src/components/subscriptions/ProjectSubscriptionPlans.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from "react"; import { useBrowserTitleAndIcon } from "@firecms/core"; -import { Card, Chip, CircularProgress, cls, StarIcon, Typography, } from "@firecms/ui"; +import { Card, Chip, CircularProgress, cls, AutoAwesomeIcon, Typography, } from "@firecms/ui"; import { useSubscriptionsForUserController } from "../../hooks/useSubscriptionsForUserController"; import { ProductUpgradeSmallView } from "./ProductUpgradeSmallView"; import { getPriceString, getSubscriptionStatusText } from "../settings/common"; @@ -80,28 +80,28 @@ export function ProjectSubscriptionPlans({ uid }: { following features:}