feat: add coss-ui core package (#25984)
* Install/add components in base coss-ui package * fix components imports * add yarn script to pull * Update packagejson * remove skeleton duplicates * feat: allow importing components with the cli * fix: update exports in package.json to reference styles.css instead of globals.css * add lucide dep * refactor: re-pull components * refactor: remove unused registries section from components.json * refactor: implement changes suggested by Volnei * refactor(wip): implemet coss ui components on the profile page * fix src/src problem * update command to overwrite existing components * pulled from registry * restore globals.css * feat: add pull script * feat: enhance pull script with validation and error handling * remove duplicate components * refactor: reimport coss component and fix ts errors * fix: components pulling * chore: regenerate yarn.lock * chore: remove tailwindcss/forms * trying different moduleResolution * TypeScript requires module to also be "NodeNext". * remove unnecessary changes * type fixes plus resolve @coss/ui * use bundler tsconfig * add missing deps to features and ui * Add bundler to other packages * fix module enext resolution with bundler * remove reduant files * remove package json from features * revert unrelated change to the PR --------- Co-authored-by: pasqualevitiello <[email protected]> Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
69 files changed
+5948
-341
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "https://ui.shadcn.com/schema.json",
|
||||
"style": "new-york",
|
||||
"rsc": true,
|
||||
"tsx": true,
|
||||
"tailwind": {
|
||||
"config": "",
|
||||
"css": "../../packages/coss-ui/src/styles/globals.css",
|
||||
"baseColor": "zinc",
|
||||
"cssVariables": true
|
||||
},
|
||||
"iconLibrary": "lucide",
|
||||
"aliases": {
|
||||
"components": "@/components",
|
||||
"hooks": "@coss/ui/hooks",
|
||||
"utils": "@coss/ui/lib/utils",
|
||||
"ui": "@coss/ui/components"
|
||||
}
|
||||
}
|
||||
@@ -219,6 +219,7 @@ const nextConfig = (phase) => {
|
||||
"@calcom/lib",
|
||||
"@calcom/prisma",
|
||||
"@calcom/trpc",
|
||||
"@coss/ui",
|
||||
],
|
||||
modularizeImports: {
|
||||
"@calcom/features/insights/components": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@import "tailwindcss";
|
||||
@import "../../../packages/coss-ui/styles.css";
|
||||
@import "../../../packages/config/theme/shared-sources.css";
|
||||
@import "../../../packages/config/theme/tokens.css";
|
||||
@import "../../../packages/coss-ui/src/styles/globals.css";
|
||||
@import "./raqb.css";
|
||||
|
||||
::-moz-selection {
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"@lib/*": ["lib/*"],
|
||||
"@server/*": ["server/*"],
|
||||
"@prisma/client/*": ["@calcom/prisma/client/*"],
|
||||
"@calcom/repository/*": ["@calcom/lib/server/repository/*"]
|
||||
"@calcom/repository/*": ["@calcom/lib/server/repository/*"],
|
||||
"@coss/ui/*": ["../../packages/coss-ui/src/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user