74 Commits

Author SHA1 Message Date
Hristo Nedelkov
fdcc2d50b7 Merge branch 'hn.standard-gauge-component' of https://github.com/status-im/nimbus-gui into hn.standard-gauge-component 2023-08-08 10:39:11 +03:00
Hristo Nedelkov
0f3fe54086 Spelling fixes 2023-08-08 10:38:50 +03:00
Hristo Nedelkov
b2bb254d02
Update src/App.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:46 +03:00
Hristo Nedelkov
147d3b6993
Update src/App.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:40 +03:00
Hristo Nedelkov
b8fae018c7
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:33 +03:00
Hristo Nedelkov
41fcb7ceea
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:28 +03:00
Hristo Nedelkov
2a5bdc1131
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:18 +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
Hristo Nedelkov
77e4089503 Fix names 2023-08-07 14:32:32 +03:00
Hristo Nedelkov
e48b9d1fae Style chart with only needed attributes 2023-08-07 12:15:07 +03:00
Hristo Nedelkov
c33ffbf27d Run demo of nivo/pie 2023-08-07 11:24:37 +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
6e03a12c4d feat: add @status-im/components library 2023-08-04 12:18:37 +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
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
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
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
RadoslavDimchev
90da64e5bf Add additional data about statistic boxes 2023-07-22 13:49:56 +03:00
RadoslavDimchev
d11062c6f2 Add size changes 2023-07-22 13:29:03 +03:00
RadoslavDimchev
eb684a1645 Fix Titles name collisions 2023-07-22 13:25:10 +03:00
RadoslavDimchev
a9d9eb7d22 Use icon button into titles 2023-07-22 13:14:27 +03:00
RadoslavDimchev
f4c3bfbe65 Create Icon Button component 2023-07-22 13:13:55 +03:00
RadoslavDimchev
b18d6e4e9c Create and use new formatted text component 2023-07-22 10:18:31 +03:00
RadoslavDimchev
a7b51d46b0 Use new separated components 2023-07-21 23:41:49 +03:00
RadoslavDimchev
5c745dbd8f Separate statistic boxes 2023-07-21 23:33:34 +03:00
RadoslavDimchev
120857cf60 Create statistic texts component 2023-07-21 23:25:32 +03:00
RadoslavDimchev
18443f3139 Create page wrapper 2023-07-21 23:13:28 +03:00
RadoslavDimchev
143bef3a65 Change page structure and add data for statistics 2023-07-21 23:04:20 +03:00
RadoslavDimchev
898c8f7140 Create and use Icon component 2023-07-21 21:10:16 +03:00
RadoslavDimchev
7673585986 Create and use basic statistic box component 2023-07-21 20:47:04 +03:00
RadoslavDimchev
46710ca35d Fix background structure and use image 2023-07-21 20:26:35 +03:00
RadoslavDimchev
b239a14e62 Create reusable shadow box component 2023-07-21 20:19:55 +03:00
RadoslavDimchev
a3a0a015be Create background image component 2023-07-21 20:19:16 +03:00
RadoslavDimchev
e41d0e4e3e Add linear gradient to background 2023-07-21 19:24:31 +03:00
RadoslavDimchev
1ac9fd3e56 Create and use icon with text component 2023-07-21 17:54:59 +03:00