feat: atoms as npm package (#14160)
* fix: getEnv not returning fallback API_URL breaking examples app * refactor: use vite as the only way to build atoms * refactor: web use atoms from web.ts and rest from dist * refactor: update atoms version, description and set privacy to public * fix: lib and ui import from web atoms * refactor: rename @calcom/platform-atoms to @calcom/atoms * feat: atoms as npm works with example app outside monorepo * start atoms from v1.0.0 * refactor: monorepo atoms for internal use * document atoms publishing * refactor: remove unused import in v2 * fix: mistakes made during main merge * refactor: move back examples app while still having it in atoms-examples repo * refactor: monorepo examples readme * feat: atoms yarn publish command * refactor: atoms css file simplify * fix: mocking atoms in ui unit test * fix: mocking atoms in app-store unit test
This commit is contained in:
1 parent
61a8543e08
commit
74e5f4bf37
34 files changed
+234
-183
No files matched your search
@@ -3,8 +3,8 @@ import type { AppProps } from "next/app";
|
||||
import { Poppins } from "next/font/google";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import { CalProvider } from "@calcom/platform-atoms/components";
|
||||
import "@calcom/platform-atoms/dist/globals.min.css";
|
||||
import { CalProvider } from "@calcom/atoms";
|
||||
import "@calcom/atoms/globals.min.css";
|
||||
|
||||
const poppins = Poppins({ subsets: ["latin"], weight: ["400", "800"] });
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Navbar } from "@/components/Navbar";
|
||||
import { Inter } from "next/font/google";
|
||||
|
||||
import { AvailabilitySettings } from "@calcom/platform-atoms/components";
|
||||
import { AvailabilitySettings } from "@calcom/atoms";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
@@ -28,7 +28,6 @@ export default function Availability(props: { calUsername: string; calEmail: str
|
||||
onDeleteSuccess={() => {
|
||||
console.log("Deleted successfully");
|
||||
}}
|
||||
translations={{ timezone: "Select your timezone" }}
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Navbar } from "@/components/Navbar";
|
||||
import { Inter } from "next/font/google";
|
||||
import { useState } from "react";
|
||||
|
||||
import { Booker } from "@calcom/platform-atoms/components";
|
||||
import { Booker } from "@calcom/atoms";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Navbar } from "@/components/Navbar";
|
||||
import { Inter, Poppins } from "next/font/google";
|
||||
|
||||
import { GcalConnect } from "@calcom/platform-atoms/components";
|
||||
import { GcalConnect } from "@calcom/atoms";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
const poppins = Poppins({ subsets: ["latin"], weight: ["400", "800"] });
|
||||
|
||||
Reference in new issue
Block a user