146 Commits

Author SHA1 Message Date
huhuanming
2a6f24b528 feat: component's updates from Discover page (#3869)
* feat: component's updates from Discover page

* docs: update component stories

* chore: add react-native-view-shot
2023-11-28 14:33:31 +08:00
huhuanming
86def58b02 refactor: refact Splash component & Support dark mode (#3867)
* refactor: replace by Splash Component

* fix: fix events

* fix: fix mock time

* feat: support ios dark mode

* feat: support dark mode

* Update AppLoading.tsx

* Update index.tsx

* fix: fix iOS theme

* refactor: remove useHtmlPreloadSplashLogoRemove hook

* Update index.tsx

* Update index.html.ejs

* fix: fix crash on Web
2023-11-28 14:27:16 +08:00
huhuanming
c5feef6cbc fix: fix circular reference (#3871) 2023-11-28 10:48:53 +08:00
Franco
e64bc53928 remove injectedNative.text-jCs (#3872) 2023-11-28 09:39:04 +08:00
hublot
3aab572bbc feat: add flashlist default style (#3866) 2023-11-27 13:58:56 +08:00
huhuanming
ba3cbad784 feat: replace desktop icons (#3863) 2023-11-26 21:42:06 +08:00
morizon
96d1ac9d4f feat: x app errors auto toast & cross i18n (#3850)
* fix: clean errors type

* fix: error toast

* fix: test

* Revert "fix: test"

This reverts commit 95bc6af2f333a5853693c38069af2b4ef0375328.

* fix: error crash on hermes

* fix: ext intl

* fix: lint

* fix: lint
2023-11-24 11:15:17 +00:00
huhuanming
2e31c36d9a feat: add animation for SplashView and replace icons (#3849)
* feat: add animation for SplashView

* refactor: change icon

* chore: replace android icon

* chore: replace svg

* Update AppLoading.tsx

* chore: replace app icon images

* chore: reduce image size

* refactor: change icon names

* fix: fix image names

* fix: fix spell mistake

* feat: replace Android Splash Images

* fix: remove all assets folder

* fix: revert names
2023-11-24 16:51:57 +08:00
morizon
48a226bc8b fix: crypto polyfill (#3862) 2023-11-24 11:21:26 +08:00
hublot
954f9cf308 fix: replace the web flashlist to flatlist and add sectionlist padding SectionSeparatorComponent of each section (#3858)
* fix: replace the web flashlist to flatlist and add sectionlist padding SectionSeparatorComponent  of each section
2023-11-24 11:04:37 +08:00
hublot
d94dc0aa6e fix: disabled the drag drop box of modalstack on the desktop (#3860) 2023-11-24 10:50:36 +08:00
JellyWang
6b406b16e4 fix: password Demo into gallery (#3853)
* fix: password Demo into gallery

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: lint

Signed-off-by: 王山栋 <jelly@onekey.so>

---------

Signed-off-by: 王山栋 <jelly@onekey.so>
Co-authored-by: loatheb <zhangzhao@onekey.so>
2023-11-23 17:10:32 +08:00
hublot
236d6f1dc6 fix: resolve home tab flicker and listview contentContaienrStyle warning and back button after popToRoot (#3856) 2023-11-23 12:15:03 +08:00
huhuanming
c63b2dfd70 feat: support search attributes in Page.Header (#3855)
* feat: support search attributes in Page.Header

* fix: fix option type

* fix: fix lint

* fix: fix type

* Update lintCheck.js

* fix: remove unused overview types
2023-11-23 02:58:09 +00:00
huhuanming
5f8d222f0a refactor: refact type names & hooks in Components (#3854)
* fix: fix name & imports

* fix: fix missing FlatList
2023-11-23 10:27:46 +08:00
Franco
8d6e4ffe93 traffic light position & fix header backbutton style & hide header shadow (#3852) 2023-11-22 16:27:03 +08:00
huhuanming
39bb7ad825 feat: enhance ActionList (#3845)
* fix: fix demo

* feat: support IconButton

* fix: remove $bg

* fix: fix the crash on Android where the view node cannot be found.
2023-11-22 04:19:18 +00:00
huhuanming
ff035da418 feat: support tabbar style (#3846)
* fix: remove $bg

* feat: support tabbar style
2023-11-22 04:16:37 +00:00
huhuanming
064fca17f0 fix: fix desktop/web/extension github ci (#3844)
* feat: add COMMIT_HASH

* chore: add firebase.web.json

* fix: fix scrips

* fix: fix build

* fix: fix missing webpack

* chore: disable Notify

* chore: upgrade electron-builder

* fix: fix folder
2023-11-22 11:59:04 +08:00
huhuanming
dfaa53995b feat: add readOnly attribute for Input (#3847) 2023-11-22 03:18:38 +00:00
huhuanming
7b58b9eb70 chore: fix lint warnings (#3848)
* chore: remove tsCheck file

* fix: fix lint warnings

* chore: reduce the number of warnings
2023-11-22 10:52:53 +08:00
hublot
af9fe186f6 fix: remove the duplicate rnwebview to fix the expo eas yarn install error (#3843) 2023-11-21 17:10:35 +08:00
JellyWang
6da50b9bf3 Feat/app lock (#3805)
* fix: add applock component

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add unlock atom

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add password set unlock logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: jotai init local storage logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: recover jotai init logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add lock

Signed-off-by: 王山栋 <jelly@onekey.so>

---------

Signed-off-by: 王山栋 <jelly@onekey.so>
Co-authored-by: morizon <sidmorizon@outlook.com>
2023-11-21 12:01:15 +08:00
huhuanming
f815b5596f fix: fix basic bg color (#3833)
* fix: fix bg

* fix: fix types

* fix: remove theme

* Update lintCheck.js

* Update GlobalScreenOptions.ts

* Update GlobalScreenOptions.ts

* fix: fix web
2023-11-21 11:46:25 +08:00
morizon
5754345d88 feat: x eventbus (#3831)
* feat: event bus

* fix: lint

* fix: lint
2023-11-21 10:30:24 +08:00
hublot
54322765dc feat: re impl the sectionlist by the listview (#3835) 2023-11-21 05:59:54 +08:00
morizon
bfc1e9e5eb fix: jotai storage (#3834) 2023-11-20 20:45:02 +08:00
morizon
f8ab439c75 feat: local db & evm base vault (#3795) 2023-11-20 17:41:15 +08:00
hublot
741dd95624 fix: iOS and android expo build error (#3832) 2023-11-20 16:49:46 +08:00
kwoktung
0824b39b63 theme settings (#3812)
* feat: add setting list page

* feat: add ListItemSelect component

* update theme

* feat: add locale setting

* update locale setting

* feat: split list

* feat: add UrlExternalListItem

* feat: add ServiceSetting

* rename useColorScheme to useSystemColorScheme

* feat: add PreferenceSection
2023-11-20 08:19:42 +00:00
huhuanming
99e4a643a0 fix: fix web Toaster's visibility (#3819)
* refactor: remove declarative dialog api

* fix: dialog overlay on the toast

* refactor: remove Toaster in native

* fix: fix web Toaster's visibility

* fix: fix lint

* fix: remove ControlledDialogByButton

* refactor: change MAX_WARNINGS_COUNT
2023-11-20 16:02:08 +08:00
huhuanming
91933626f7 refactor: refact Page Header/Footer/Body API (#3822)
* refactor: rename screen to page

* refactor: remove modal container

* fix: fix lint

* fix: fix types

* fix: fix footer

* feat: add custom footer

* Update TestSimpleModal.tsx

* Update TestSimpleModal.tsx

* fix: fix props

* refactor: remove ModalContainer

* fix: support fallback navigation options

* Update BasicPage.native.tsx
2023-11-20 14:34:36 +08:00
hublot
32a755e0e1 fix: improve the home tab user experience and replace to flashlist (#3824) 2023-11-20 04:06:29 +00:00
huhuanming
f3f274663b feat: enhance popover (#3829)
* feat: support promise onPress

* refactor: remove unused props

* refactor: remove unused props

* fix: fix native open status

* fix: fix FocusOutsideEvent

* fix: fix env

* docs: update demo

* fix: fix lint
2023-11-20 11:58:24 +08:00
Franco
b275e8a842 listitem corner icon & image (#3828) 2023-11-20 10:41:55 +08:00
huhuanming
4ca57ead3d feat: add useListenTabFocusState hook (#3778)
* feat: add useListenTabFocusState hook

* docs: add docs

* fix: move hook from components to kit folder

* fix: fix types

* style: fix lint

* style: fix style

* fix: fix lint

* fix: remove service

* fix: fix types
2023-11-18 16:53:11 +00:00
Franco
14eaafc141 avatar fallback image prop & story (#3821) 2023-11-17 11:17:35 +08:00
huhuanming
3527691a7e chore: lower the error and warning limit (#3823)
* Update tsCheck.js

* Update lintCheck.js
2023-11-17 09:22:49 +08:00
huhuanming
0350698bfc feat: support border-radius on BlurView (#3820)
* feat: support border-radius

* docs: add intensity doc

---------

Co-authored-by: loatheb <zhangzhao@onekey.so>
2023-11-16 19:39:54 +08:00
morizon
ebcf816e74 feat: x jotai context (#3817)
* feat: jotai context

* fix: lint

* fix: lint

* fix: lint
2023-11-16 19:39:06 +08:00
huhuanming
7172514d6c chmod: add electron build command (#3806) 2023-11-16 18:28:22 +08:00
Franco
b841c6759a fix duplicated icon name (#3816) 2023-11-16 03:33:22 +00:00
huhuanming
753d127bff feat: add RefreshControl & BlurView & FlashList (#3807) 2023-11-16 02:50:29 +00:00
hublot
c407ee01fe style: fix the back button being clipped when navigating back on iOS (#3810) 2023-11-16 02:32:34 +00:00
huhuanming
f649c22d80 fix: fix missing custom tabbar (#3809) 2023-11-16 10:27:19 +08:00
hublot
9a4123c4ce style: ios search bar icon and placeholder color (#3802) 2023-11-16 02:01:22 +00:00
huhuanming
df3da5e4e4 fix: fix collapse icon's position on Desktop header bar (#3815)
* fix: fix paddingLeft

* fix: fix spell mistake
2023-11-16 09:29:28 +08:00
Franco
5158b96c6a shortcut component & stories (#3814) 2023-11-16 08:19:29 +08:00
Franco
c78eda7fd1 sheet grabber (#3813) 2023-11-15 12:15:58 +00:00
hublot
ee9078237f fix: input and addOns click event and isRootScreen (#3811) 2023-11-15 18:55:42 +08:00