vega-frontend-monorepo/libs/ui-toolkit
Sam Keen f0e4aded3a
Feat / 94 toggle button (#223)
* Toggle button built ui-toolkit

* Rewrote controlled toggle button story without args

* Fixed ts args issue using ComponentStory element

* Wrapped controlled version of buttons in a form for Storybook to stop light and dark theme scope collisions

* More toggle tests

* Update libs/ui-toolkit/src/components/toggle/toggle.stories.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* Displays checked state as text for controlled toggles in storybook

* Used classnames helper

* Added toggle to deal ticket

* Simplified the toggles array type to allow any number of toggles, removing the need for a cast

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-04-20 12:58:50 +01:00
..
.storybook [#168] Use static resources from static.vega.xyz (#205) 2022-04-06 11:36:36 +01:00
src Feat / 94 toggle button (#223) 2022-04-20 12:58:50 +01:00
.babelrc Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
.eslintrc.json Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
jest.config.js Feat/103 deposits (#143) 2022-04-06 10:34:51 -07:00
package.json Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
postcss.config.js Setup tailwind.css 2022-02-23 16:29:07 -08:00
project.json properly set up storage lib 2022-03-10 20:51:05 -08:00
README.md Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
tailwind.config.js tidy styles and tailwind config 2022-03-10 20:51:05 -08:00
tsconfig.json Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
tsconfig.lib.json Add button component 2022-03-07 13:57:06 -08:00
tsconfig.spec.json Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00

ui-toolkit

This library was generated with Nx.

Running unit tests

Run nx test ui-toolkit to execute the unit tests via Jest.