Commit Graph

1600 Commits

Author SHA1 Message Date
RadoslavDimchev 0bb728eacf refactor: buttons convert to ts 2023-08-08 09:28:35 +03:00
RadoslavDimchev ce712c621b refactor: convert Icon jsx component to tsx 2023-08-08 09:06:24 +03:00
Hristo Nedelkov df45d98cfb Remove react fragments 2023-08-07 15:27:39 +03:00
Hristo Nedelkov 558e2dd8e5 Extract into separate file 2023-08-07 15:23:21 +03:00
RadoslavDimchev 2c632552b3 refactor: change exports to default
Convert named exports to default exports in component folder
2023-08-07 15:17:31 +03:00
Hristo Nedelkov 0878656979 Update yarn.lock 2023-08-07 14:41:20 +03:00
RadoslavDimchev fbcd120bfc perf: remove folders and indexes from components 2023-08-07 14:38:53 +03:00
Hristo Nedelkov 7b07ebfde0 Merge branch 'main' into hn.standard-gauge-component 2023-08-07 14:37:07 +03:00
Hristo Nedelkov 77e4089503 Fix names 2023-08-07 14:32:32 +03:00
RadoslavDimchev 4cae5c67a1 refactor: add types and clean FormattedText 2023-08-07 14:20:54 +03:00
Rickard Andersson dd740d28cb
Merge pull request #15 from status-im/ra.add-ci-build
ci: add build step
2023-08-07 13:41:13 +03:00
RadoslavDimchev 3d1cf65a86 Convert BackgroudImage to ts file 2023-08-07 13:32:18 +03:00
Hristo Nedelkov e48b9d1fae Style chart with only needed attributes 2023-08-07 12:15:07 +03:00
Rickard Andersson 3878f0aa6b ci: make build work
This involved adding more react native stuff instead of removing, which
I'm not super happy about.
2023-08-07 11:36:15 +03:00
Hristo Nedelkov c33ffbf27d Run demo of nivo/pie 2023-08-07 11:24:37 +03:00
Rickard Andersson 18397f902f ci: add build step 2023-08-07 10:35:38 +03:00
Hristo Nedelkov c9dce39b81 Implement new PieChart library
Using notion document mentioned library https://nivo.rocks/
2023-08-07 10:03:12 +03:00
Hristo Nedelkov b9e9a1a7b6 Merge branch 'main' into hn.standard-gauge-component 2023-08-07 09:11:24 +03:00
Rickard Andersson d59a382e4c
Merge pull request #14 from status-im/ra.add-status-im-components
feat: add `@status-im/components` library
2023-08-04 16:06:39 +03:00
Rickard Andersson 6e03a12c4d feat: add `@status-im/components` library 2023-08-04 12:18:37 +03:00
Rickard Andersson 9503b649b1
Merge pull request #11 from status-im/rd.integrate-tamagui
feat: integrate Tamagui
2023-08-04 11:49:43 +03:00
Rickard Andersson ee25c431ed fix: removed `TAMAGUI_TARGET` in scripts
This seems set in our vite config so going through vite should allow us
to skip it explicitly being set.
2023-08-04 10:45:47 +03:00
Rickard Andersson fc5f5f5fe4 feat: add Tamagui integration
Author: @RadoslavDimchev
2023-08-04 09:43:07 +03:00
Hristo Nedelkov a079089c1b Implement ApexChart donut chart for gage
using https://apexcharts.com/react-chart-demos/pie-charts/
2023-08-03 22:26:40 +03:00
RadoslavDimchev 130a253024 Update vite config for tamagui 2023-08-03 16:24:19 +03:00
RadoslavDimchev 5cddc47a65 Create config file for tamagui 2023-08-03 16:23:49 +03:00
RadoslavDimchev 3e5586dec0 Install tamagui dependencies 2023-08-03 16:23:33 +03:00
Rickard Andersson 0f67aea1bc
Merge pull request #4 from status-im/ra.add-storybook-ci-test
ci: add Storybook CI test action
2023-08-03 14:21:00 +03:00
Rickard Andersson 1fc337d04f ci: fix `wait-on` call in CI for storybook test
This is required in Node 18 and is never signalled at all. It causes the
script to hang indefinitely otherwise.
2023-08-03 13:53:16 +03:00
Rickard Andersson 8fa1a3f719 ci: add caching step for deps 2023-08-03 13:34:21 +03:00
Rickard Andersson d9f4380dc8 ci: add Storybook CI test action 2023-08-03 13:11:18 +03:00
Rickard Andersson d5b2515e5f Merge branch 'main' of github.com:status-im/nimbus-gui 2023-08-03 12:54:33 +03:00
Rickard Andersson d0283492b5 dev: switch to `yarn` v3
Also added `.tool-versions` file for setting Node version
2023-08-03 12:53:39 +03:00
Zahary Karadjov 549560b89e
build: add a .nvmrc file 2023-08-03 12:51:10 +03:00
Rickard Andersson bc65e70e64 docs: add note about `Distinct` == `newtype` 2023-08-03 11:48:42 +03:00
Rickard Andersson 15ce507220 fix(app): fix render step for older version of `react-dom` 2023-08-03 11:31:15 +03:00
Rickard Andersson b55c88fec5 feat(dev): add `Distinct` type
Useful for creating types that are stored as other types (usually
primitives) but are represented as distinct in the type system.
Canonical example exists in documentation.
2023-08-03 11:01:01 +03:00
Rickard Andersson 41e24a1e4f feat(dev): add `assertUnreachable`
Asserts that a case is unreachable in `switch` statements (and really
any flow control construct)
2023-08-03 10:53:58 +03:00
Rickard Andersson f36bf56a6a project reinit 2023-08-03 09:20:54 +03:00
Zahary Karadjov 686d6298e7
Basic README and license files 2023-08-01 10:11:08 +03:00
Hristo Nedelkov d60131cf57 Fix height 2023-07-25 21:15:47 +03:00
Hristo Nedelkov f144a2d433 Style 2023-07-25 21:09:00 +03:00
Hristo Nedelkov 2513bcc61a Update border-radius on TopBar 2023-07-25 20:48:12 +03:00
Hristo Nedelkov d98361583f Update Tab 2023-07-25 20:45:27 +03:00
Hristo Nedelkov bab04e91d8 Create TopBar 2023-07-25 20:45:15 +03:00
Hristo Nedelkov 403c825d57 Upload TopBar icons 2023-07-25 20:43:46 +03:00
RadoslavDimchev 9e9d77c6d2 Remove warning for getting background image 2023-07-22 15:46:35 +03:00
RadoslavDimchev 3ada7923b5 Set background lines at statistic boxes 2023-07-22 15:03:26 +03:00
RadoslavDimchev 04aace9b50 Create util to format SVGs 2023-07-22 14:40:21 +03:00
RadoslavDimchev 83c32f46d7 Style statistic boxes 2023-07-22 14:28:06 +03:00