twenty/packages/twenty-front
Abdullah 8c0680b918
Setup the foundation for Twenty UI library. (#4423)
* feat: create a separate package for twenty-ui, extract the pill component with hard-coded theme values into it, and use the component inside twenty-front to complete the setup

* feat: extract the light and the dark theme into twenty-ui and update the AppThemeProvider component inside twenty-front to consume themes from twenty-ui

* fix: create a decorator inside preview.tsx to provide a default theme to storybook development server

* fix: remove redundant type declarations and revert back the naming convention for theme declarations

* fix: introduce a default value for pill label within the story for development server

* fix: introduce the nx script into package.json for twenty-ui and resolve imports for theme type within the package

* fix: remove the pill component from the twenty-front package along with the story for it

* fix: revert the package versions to those before running the nx cli command for storybook init

* feat: update readme to include details for building the ui library and starting the storybook development server

* fix: include details about twenty-ui inside jest.config for twenty-front to complete front-jest job

* - Added preview head for font
- Added theme addon for light/dark switch
- Added ComponentDecorator

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-03-13 14:21:18 +01:00
..
__mocks__ Increase test coverage for /modules/ui (#3314) 2024-01-11 08:51:36 +01:00
.storybook TWNTY-3825 - ESLint rule: const naming (#4171) 2024-02-25 13:52:48 +01:00
public Integrations: design fixes and remove feature flag (#4003) 2024-02-16 13:35:45 +01:00
scripts [Wip] Update CI CD (#2945) 2023-12-12 22:38:40 +01:00
src Setup the foundation for Twenty UI library. (#4423) 2024-03-13 14:21:18 +01:00
.env.example Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.eslintrc-ci.cjs fix: fix Relation field optimistic effect on Record update (#3352) 2024-01-13 12:35:30 +01:00
.eslintrc.cjs [ESLint rule] prevent useRecoilCallback without a dependency array (#4411) 2024-03-12 15:12:17 +01:00
.gitignore Fix Docker postgres dev setup 2023-12-11 11:13:03 +01:00
.swcrc Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
codegen-metadata.cjs Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
codegen.cjs Load views on user load and read in cache (#3552) 2024-01-22 16:00:16 +01:00
index.html Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
jest.config.ts Setup the foundation for Twenty UI library. (#4423) 2024-03-13 14:21:18 +01:00
nyc.config.cjs feat: find duplicate objects init (#4038) 2024-02-24 19:12:21 +01:00
package.json Introduce ComponentState (#4386) 2024-03-09 11:31:00 +01:00
README.md Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
tsconfig.app.json Improve performance on findMany queries (#4334) 2024-03-06 13:59:42 +01:00
tsconfig.json Setup the foundation for Twenty UI library. (#4423) 2024-03-13 14:21:18 +01:00
tsconfig.spec.json refactor: apply relation optimistic effects on record update (#3556) 2024-01-29 08:00:00 -03:00
tsup.config.ts Fix Tsup setup to fuel docs with twenty-ui components (#2978) 2023-12-13 16:40:31 +01:00
tsup.ui.index.tsx Setup the foundation for Twenty UI library. (#4423) 2024-03-13 14:21:18 +01:00
vite.config.ts Deactivated vite-plugin-checker overlay (#3574) 2024-01-22 14:19:22 +01:00

Run yarn dev while server running on port 3000