Skip to content

chore(ui-react-native): Add utility hook for pressable styles #2921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 318 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
f800edd
Merge pull request #2341 from cshfang/in-app-messaging/add-backdrop
cshfang Jul 27, 2022
226dd41
Merge pull request #2342 from cshfang/in-app-messaging/add-close-button
cshfang Jul 27, 2022
7622484
feat(react): add in-app messaging shared layout
Jul 27, 2022
de8cf6b
Merge branch 'main' into in-app-messaging/main
calebpollman Jul 28, 2022
0d9a02d
fix(in-app-messaging): turn off linting for useAuthenticator._state (…
calebpollman Jul 29, 2022
65fed87
Update header element to be more semantically accurate
Jul 29, 2022
9e6a689
Update constants to upper snake case
Jul 30, 2022
a0aab47
Merge pull request #2364 from cshfang/in-app-messaging/add-message-la…
cshfang Aug 1, 2022
6164b11
fix(in-app-messaging): point vue example at in-app amplify tagged ver…
calebpollman Aug 1, 2022
e52a3e9
fix(react): fix button modifiers
Aug 1, 2022
24d3991
Merge pull request #2382 from cshfang/in-app-messaging/fix-button-mod…
cshfang Aug 1, 2022
f2f6091
feat(in-app-messaging): banner component (#2222)
katieklein Aug 2, 2022
13d207a
feat(react): add FullScreen Message for In-App Messaging
Aug 3, 2022
af8d330
Enable lint on docs (#2384)
wlee221 Aug 2, 2022
cb21cdb
chore(ui): update snapshot with new css variables (#2402)
wlee221 Aug 3, 2022
afe27cf
fix(in-app-messaging): Strictly type BannerMessage (#2405)
wlee221 Aug 3, 2022
f9d701c
Remove backdrop from fullscreen modifier. Optimize css
Aug 4, 2022
78b998b
Add higher z-indexing since backdrop is removed at fullscreen breakpoint
Aug 4, 2022
7e6baee
Merge pull request #2396 from cshfang/in-app-messaging/add-fullscreen…
cshfang Aug 4, 2022
30aea4a
feat(react): add Modal Message for In-App Messaging
Aug 5, 2022
48431de
Merge branch 'main' into in-app-messaging/main
calebpollman Aug 7, 2022
e2f8fae
fix(in-app-messaging): rename fullscreenMessage.scss -> fullScreenMes…
calebpollman Aug 7, 2022
76a2d53
Revert "fix(in-app-messaging): rename fullscreenMessage.scss -> fullS…
calebpollman Aug 7, 2022
a794c5c
fix(in-app-messaging): rename fullscreenMessage.scss -> fullScreenMes…
calebpollman Aug 8, 2022
63936ca
chore(in-app-messaging): update React Native example podfile.lock (#2…
calebpollman Aug 8, 2022
62e0ef9
chore(in-app-messaging): update React web BannerMessage typing (#2430)
calebpollman Aug 8, 2022
0253311
feat(in-app-messaging): add NextJS demo app (#2427)
calebpollman Aug 8, 2022
11e0803
Fix copy/paste artifact
Aug 9, 2022
98007c9
Merge pull request #2421 from cshfang/in-app-messaging/add-modal-message
cshfang Aug 9, 2022
bf10c3f
revert unnecessary yarn.lock updates (#2439)
calebpollman Aug 9, 2022
dfa162a
ci: add react-native and react-core to test matrix (#2361)
wlee221 Aug 9, 2022
c6d6056
ci(in-app-messaging): run tests on merges to in-app-messaging/main
wlee221 Aug 9, 2022
be6e8f1
Use absolute path to get workflow (#2441)
wlee221 Aug 9, 2022
b6b2f63
feat(in-app-messaging): add React web withInAppMessaging HOC (#2444)
calebpollman Aug 11, 2022
59c9fda
chore(react): integrate message layout with banner message
Aug 9, 2022
c9734a2
Merge branch 'main' into in-app-messaging/merge-main
wlee221 Aug 11, 2022
9091cd1
eslint yarn.lock update
wlee221 Aug 11, 2022
4436d47
Merge pull request #2454 from aws-amplify/in-app-messaging/merge-main
wlee221 Aug 11, 2022
f84c0eb
Remove useless conditional
Aug 11, 2022
79525ed
Update packages/ui/src/theme/__tests__/defaultTheme.test.ts
cshfang Aug 12, 2022
ff00f93
Update packages/ui/src/theme/__tests__/overrides.test.ts
cshfang Aug 12, 2022
6408f87
Merge pull request #2457 from aws-amplify/in-app-messaging/merge-main
wlee221 Aug 12, 2022
601f621
feat(in-app-messaging): add withInAppMessaging to RN example app (#2460)
calebpollman Aug 12, 2022
9beeb2c
Fixed styling issues faced when buttons or long text content is prese…
Aug 12, 2022
9799ec5
fix(in-app-messaging): resolve issues blocking CI (#2467)
calebpollman Aug 16, 2022
f62081f
chore(ui-react-native): Add storybook (#2464)
ioanabrooks Aug 16, 2022
5dce172
Update header styling to not require calc
Aug 16, 2022
7076a82
Fix alphabetizing
Aug 16, 2022
f9d54ec
Revert "Fix alphabetizing"
Aug 16, 2022
59c1e41
Fix alphabetizing
Aug 16, 2022
5baad17
Updated snapshots after confirming changes were intentional
Aug 16, 2022
19d945e
fix(react): image prefetching should not happen without src
Aug 16, 2022
01e153c
Remove unused async keyword
Aug 17, 2022
709a417
Merge pull request #2453 from cshfang/in-app-messaging/integrate-banner
cshfang Aug 17, 2022
77adec6
Merge branch 'in-app-messaging/main' into in-app-messaging/fix-image-…
calebpollman Aug 17, 2022
f8d1d96
Merge pull request #2471 from cshfang/in-app-messaging/fix-image-hook
cshfang Aug 17, 2022
7da7c8f
first draft of RN Heading primitive
Aug 17, 2022
f44c16e
added preliminary types and styles for Heading primitive
Aug 17, 2022
71558a3
added some basic Heading stories
Aug 17, 2022
2073b4f
experimenting with adding Screen component to center stories
Aug 17, 2022
6b13290
refactor how Heading level styling gets applied
Aug 17, 2022
72a0ad9
fix(rn-example): update storybook behavior (#2472)
calebpollman Aug 17, 2022
11c0c57
add Screen component to stories
Aug 17, 2022
58a779c
refactor Heading stories to add decorator
Aug 17, 2022
63c22d2
chore(in-app-messaging): prepare ui-react-native and ui-react-core fo…
calebpollman Aug 18, 2022
64894d4
chore(in-app-messaging): merge latest release commit in to in-app-mes…
calebpollman Aug 18, 2022
6cf074e
add truncated prop, update stories
Aug 18, 2022
8c7a543
Revert "chore(in-app-messaging): merge latest release commit in to in…
calebpollman Aug 18, 2022
fdcba54
writing unit tests
Aug 18, 2022
e68a622
chore(react): update default styling for In-App Messaging components …
cshfang Aug 19, 2022
d304c0a
add story and test for passing style props
Aug 22, 2022
3d61ce7
Merge branch 'in-app-messaging/main' into rn-heading-primitive
joebuono Aug 22, 2022
c754006
feat(in-app-messaging): remove styles prop from InAppMessageDisplay (…
calebpollman Aug 23, 2022
a5f0a74
feat(in-app-messaging): center React Native InApp Modal (#2493)
calebpollman Aug 23, 2022
80195a5
responded to PR feedback
Aug 23, 2022
e0c0158
add accessibilityRole='header'
Aug 23, 2022
9579b9f
restrict type of children to string
Aug 23, 2022
cffdf7f
chore(in-app-messaging): merge main in to in-app-messaging/main from …
calebpollman Aug 25, 2022
3915bf8
Revert "chore(in-app-messaging): merge main in to in-app-messaging/ma…
calebpollman Aug 25, 2022
6436b1a
chore: Update yarn.lock (#2440)
joebuono Aug 12, 2022
1716e82
Fix location search bug (#2450)
thaddmt Aug 12, 2022
5ce7bcd
fix(react): hide svg icon images in a11y tree in Rating component (#2…
hbuchel Aug 16, 2022
f8bbad4
Version Packages (#2461)
github-actions[bot] Aug 16, 2022
e8ec2d1
fix(docs): type error on fragment (#2477)
0618 Aug 18, 2022
698cb1f
chore(ui): Set `predictableActionArguments` to true (#2468)
wlee221 Aug 19, 2022
7bcb6dc
Delete the auth-with-username environment (#2489)
slaymance Aug 19, 2022
b4b67bd
Revert "chore(ui): Set `predictableActionArguments` to true (#2468)" …
wlee221 Aug 19, 2022
b699553
fix(ci): Change e2e environments to auth-with-username-no-attributes …
slaymance Aug 22, 2022
f72cd0a
chore: remove stale chmod line in package.json (#2497)
wlee221 Aug 22, 2022
a95c9f4
chore(hosting): Skip cypress binary installation (#2508)
wlee221 Aug 24, 2022
36fd34e
chore(environments): move environments to their own folder (#2501)
wlee221 Aug 24, 2022
8bbe2d7
Dial code (#2459)
jacoblogan Aug 24, 2022
d840b22
Add troubleshooting steps for CRA and geo components (#2511)
slaymance Aug 24, 2022
f22d2bb
fix(environments): fix environments pull on CI (#2512)
wlee221 Aug 24, 2022
9262ae3
update changeset (#2515)
jacoblogan Aug 25, 2022
248f34e
chore: add indeterminate icon svg (#2514)
zchenwei Aug 25, 2022
c17bf7e
add @types/react to resolutions field
calebpollman Aug 18, 2022
de02962
Merge pull request #2522 from calebpollman/in-app-messaging/merge-fro…
calebpollman Aug 25, 2022
7cdabc5
chore(in-app-messaging): Enable publish (#2523)
calebpollman Aug 25, 2022
f7ebf09
Merge branch 'main' into in-app-messaging/restore-missing-commits
calebpollman Aug 25, 2022
0d05fdc
Merge pull request #2526 from aws-amplify/in-app-messaging/restore-mi…
calebpollman Aug 26, 2022
356885f
feat(in-app-messaging): add React Native demo app
calebpollman Aug 25, 2022
c88b5f0
Merge branch 'in-app-messaging/main' into in-app-messaging/add-rn-exa…
calebpollman Aug 26, 2022
b7d50c7
fix(in-app-messaging): fix RN entry point issue and remove source map…
calebpollman Aug 26, 2022
f35b10f
Merge pull request #2529 from calebpollman/in-app-messaging/cherry-pi…
calebpollman Aug 26, 2022
33a6bb8
fix(ui-react-core): update jest coverage handling
calebpollman Aug 28, 2022
e2ce7c4
chore(in-app-messaging): update RN message components header font weight
calebpollman Aug 29, 2022
1a5a64c
Merge pull request #2536 from calebpollman/in-app-messaging/set-heade…
calebpollman Aug 29, 2022
d601ae2
Merge pull request #2537 from calebpollman/in-app-messaging/fix-react…
calebpollman Aug 29, 2022
5f2ca12
Merge branch 'in-app-messaging/main' into in-app-messaging/add-rn-exa…
calebpollman Aug 29, 2022
89fe72c
Merge pull request #2527 from calebpollman/in-app-messaging/add-rn-ex…
calebpollman Aug 31, 2022
35578ce
move over Caleb's work on the Label primitive
Sep 6, 2022
ac63e0c
Merge branch 'in-app-messaging/main' into rn-heading-primitive
Sep 6, 2022
e70b20f
respond to PR feedback
Sep 6, 2022
a756932
update tests
Sep 7, 2022
6508972
applied changes from feedback (thanks Caleb)
Sep 7, 2022
09f50e7
label tests
Sep 7, 2022
7aa1808
refactor type casting
Sep 7, 2022
37e9c9e
super nit
Sep 7, 2022
693c958
Merge branch 'main' into in-app-messaging/main
calebpollman Sep 8, 2022
26c48c1
chore(in-app-messaging): update yarn.lock
calebpollman Sep 8, 2022
150dfed
fix(in-app-messaging): restrict typing of TS generic used in withInAp…
calebpollman Sep 8, 2022
ccdad17
fix(in-app-messaging): add React import to web withInAppMessaging.spe…
calebpollman Sep 8, 2022
61ef3ef
Merge pull request #2559 from calebpollman/in-app-messaging/update-ya…
calebpollman Sep 8, 2022
bcb230f
Merge branch 'in-app-messaging/main' into in-app-messaging/rn-label-p…
Sep 8, 2022
b239cb2
update tests and snapshots
Sep 8, 2022
d9f47e0
update stories
Sep 8, 2022
3a56edd
clean up Label code for InApp demo
Sep 8, 2022
146a9c5
remove export type
Sep 8, 2022
e2408c4
change initStorybook to true
Sep 8, 2022
478fcac
remove old Label code from InApp demo
Sep 9, 2022
2818f89
omit accessibilityRole from LabelProps
Sep 9, 2022
c7a2b44
Merge branch 'in-app-messaging/main' into in-app-messaging/rn-heading…
calebpollman Sep 9, 2022
4ed33ce
nit add space
Sep 9, 2022
e91d467
Merge pull request #2555 from aws-amplify/in-app-messaging/rn-heading…
joebuono Sep 15, 2022
17d12f0
resolve merge conflicts
Sep 15, 2022
14a6f4d
merge fix
Sep 15, 2022
ce8dd26
Update Podfile.lock
joebuono Sep 15, 2022
52c7274
chore(ui-react-native): Migrate Checkbox primitive (#2621)
ioanabrooks Sep 23, 2022
32c31c9
feat(ui-react-native): Add icon primitive (#2651)
ioanabrooks Sep 28, 2022
9a30b50
Merge branch 'main' into in-app-messaging/clean-up-commits
calebpollman Sep 30, 2022
6e9987e
fix(in-app-messaging): fix in-app-messaging/main branch post merge fr…
calebpollman Sep 30, 2022
b188c8b
feat(ui-react-native): Add Radio primitive (#2672)
joebuono Sep 30, 2022
5fe0d99
Merge branch 'main' into in-app-messaging/main
calebpollman Oct 1, 2022
890f5c1
chore(rna): cleanse in-app references from rna/main (#2675)
calebpollman Oct 3, 2022
72960a9
feat(ui-react-native): Add TextField component (#2686)
ioanabrooks Oct 6, 2022
abb85c3
Merge branch 'main' into rna/main
calebpollman Oct 7, 2022
fbd925a
feat(react-native): ErrorMessage primitive (#2696)
joebuono Oct 11, 2022
4d5a49e
chore(react-native): Migrate RadioGroup primitive (#2687)
joebuono Oct 11, 2022
54af74b
Merge branch 'main' into rna/main
calebpollman Oct 17, 2022
1718df1
fix(ci): add missing secrets
calebpollman Oct 17, 2022
a547f40
chore(ui-react-native): Add env support to example app (#2437) (#2749)
calebpollman Oct 17, 2022
a352b3c
feat(rna): add useAuthenticatorRoute utility hook (#2745)
calebpollman Oct 18, 2022
8a81451
chore(ui-react-native): bump ui-react-core dep (#2752)
calebpollman Oct 18, 2022
80f50ed
chore(ui-react-core): Migrate useInitMachine to ui-react-core (#2754)
joebuono Oct 18, 2022
e6922ac
Merge branch 'main' into rna/main
calebpollman Oct 19, 2022
c49df14
chore(rna): mark sub component error related, challengeName and hideS…
calebpollman Oct 19, 2022
643b9a9
feat(ui-react-native): Add PasswordField primitive (#2722)
ioanabrooks Oct 19, 2022
5b5d56f
feat(rna): add Authenticator component (#2759)
calebpollman Oct 19, 2022
eba8ddd
feat(react-native): Tabs (#2738)
joebuono Oct 19, 2022
dc94669
chore(rna): Subcomponent templates (#2769)
joebuono Oct 20, 2022
8d38697
chore(rna): update component types to allow FormFieldsComponent to ha…
calebpollman Oct 20, 2022
3523b23
fix linting error (#2774)
joebuono Oct 20, 2022
2cc47bb
feat(rna): FederatedProviderButton (#2765)
joebuono Oct 21, 2022
e19cf46
feat(rna): add initial demo app (#2773)
calebpollman Oct 22, 2022
764c204
Merge branch 'main' into rna/main
calebpollman Oct 23, 2022
a1b33b1
feat(ui-react-native): Add PhoneNumberField primitive (#2779)
ioanabrooks Oct 24, 2022
db755ca
feat(ui-react-native): Add default header component (#2787)
ioanabrooks Oct 24, 2022
c283d17
chore(ui-react-native): Add default footer (#2791)
ioanabrooks Oct 24, 2022
a57f676
chore(rna): type updates for field handling (#2793)
calebpollman Oct 25, 2022
55ddb69
chore(ui-react-native): add pressed state style to Button (#2807)
calebpollman Oct 25, 2022
31eb540
chore(ui-react-core): add util react hooks in react-core (#2800)
calebpollman Oct 25, 2022
2fca351
chore(rna): return unverifiedContactMethods as fields from useAuthent…
calebpollman Oct 25, 2022
998c356
feat(rna): add FederatedProviderButtons (#2805)
calebpollman Oct 25, 2022
239c0d6
fix(authenticator): Align Authenticator translations between framewor…
wlee221 Oct 24, 2022
5a10d31
Merge branch 'main' into rna/main
calebpollman Oct 25, 2022
198eedc
chore(rna): Default Container (#2811)
joebuono Oct 25, 2022
d6d2e27
feat(rna): Add SignIn subcomponent (#2812)
calebpollman Oct 25, 2022
0331c5d
Merge branch 'main' into rna/main
calebpollman Oct 26, 2022
c399110
chore(rna): bump ui-react-native internal deps
calebpollman Oct 26, 2022
d75fedb
feat(ui-react-native): add RadioGroup uncontrolled support (#2816)
calebpollman Oct 26, 2022
3af7e01
feat(ui-react-native): Add SignUp subcomponent (#2813)
ioanabrooks Oct 26, 2022
1b4d96e
feat(rna): ConfirmResetPassword subcomponent (#2819)
joebuono Oct 26, 2022
646e894
feat(rna): ForceNewPassword subcomponent (#2823)
joebuono Oct 26, 2022
cb8d8e0
feat(rna): ConfirmSignIn subcomponent (#2834)
joebuono Oct 26, 2022
1b2618a
feat(rna): ResetPassword subcomponent (#2780)
joebuono Oct 26, 2022
bec505e
feat(ui-react-native): Add Confirm Signup subcomponent (#2821)
ioanabrooks Oct 27, 2022
4a538e6
feat(rna): add useRouteTypedFields util hook (#2840)
calebpollman Oct 27, 2022
0276dae
feat(ui-react-native): Add Verify user subcomponents (#2835)
ioanabrooks Oct 27, 2022
0d51d0f
feat(rna): SetupTOTP subcomponent (#2849)
joebuono Oct 28, 2022
c99ffeb
chore(rna): add useFieldValues (#2852)
calebpollman Oct 28, 2022
5566f1b
chore(rna): add aws-exports to .gitignore
calebpollman Oct 28, 2022
2592584
Merge branch 'main' into rna/main
calebpollman Oct 29, 2022
160d091
feat(rna): setup linking in demo app (#2858)
calebpollman Oct 29, 2022
3510e94
feat(rna): add copy functionality for SetupTOTP (#2855)
calebpollman Oct 29, 2022
c85bdc2
chore(rna): remove federated sign in feature support (#2859)
calebpollman Oct 30, 2022
3aacd4f
feat(rna): Scrub contact information in verify user subcomponent (#2867)
ioanabrooks Nov 1, 2022
029946e
feat(ui-react-native): Add ThemeProvider and useTheme (#2837)
ioanabrooks Nov 2, 2022
eab9e39
feat(ui-react-native): Add component agnostic tokens (#2888)
ioanabrooks Nov 3, 2022
60768f5
chore(ui-react-native): Improve unit test covergae and ConfirmVerifyU…
ioanabrooks Nov 4, 2022
5307b34
chore(ci): set up tagged release against `rna/release` branch (#2897)
wlee221 Nov 4, 2022
fd6cb96
chore(rna): Improve Authenticator stories (#2887)
joebuono Nov 4, 2022
ec9a377
chore(ui-react-native): bump test jest branch coverage threshold (#2899)
calebpollman Nov 4, 2022
9e924f1
Merge branch 'next-release/main' into rna/merge-next-release-to-rna-main
calebpollman Nov 4, 2022
c9f6001
feat(rna): withAuthenticator (#2898)
joebuono Nov 4, 2022
9cb15cc
Merge branch 'rna/main' into rna/merge-next-release-to-rna-main
calebpollman Nov 4, 2022
9aaf966
chore(rna): merge next-release/main to rna/main (#2901)
calebpollman Nov 5, 2022
4e5c792
Revert "chore(rna): merge next-release/main to rna/main (#2901)" (#2903)
calebpollman Nov 5, 2022
6e7582c
Merge pull request #2904 from calebpollman/rna/merge-next-release-to-…
calebpollman Nov 5, 2022
775ee5d
feat(ui-react-native): Add theming for Label primitive (#2895)
ioanabrooks Nov 8, 2022
c1144ef
chore(ui-react-native): Fix console warns about browser client during…
ioanabrooks Nov 8, 2022
261dc39
chore(ui-react-native): Add usePressableStyles hook
ioanabrooks Nov 9, 2022
f8f0c79
chore(ui-react-native): Add icon assets (#2911)
ioanabrooks Nov 9, 2022
1673f06
feat(ui-react-native): Add theming for Radio primitive (#2913)
joebuono Nov 9, 2022
9f2a25a
feat(ui-react-native): Add theming for Heading primitive (#2918)
joebuono Nov 9, 2022
b50253d
feat(ui-react-native): Add theming to RadioGroup primitive (#2915)
joebuono Nov 10, 2022
fab7485
Merge branch 'next-release/main' into rna/main
calebpollman Nov 11, 2022
de01b7e
chore(rna): update ui dep in ui-react-native
calebpollman Nov 12, 2022
1786657
feat(ui-react-native): Add theming for Icon primitive (#2916)
ioanabrooks Nov 12, 2022
6854e30
feat(ui-react-native): Add theming to Tabs primitive (#2949)
joebuono Nov 14, 2022
e147338
add theming for Divider (#2943)
joebuono Nov 14, 2022
f639b17
feat(ui-react-native): Add theming for Checkbox primitive (#2961)
ioanabrooks Nov 14, 2022
ad71ccb
feat(ui-react-native): Add theming for ErrorMessage component (#2937)
joebuono Nov 14, 2022
b635953
Merge branch 'main' into rna/main
calebpollman Nov 14, 2022
7e9d690
feat(ui-react-native): Add theming for Button primitive (#2930)
joebuono Nov 15, 2022
d4803b5
feat(ui-react-native): Add theming for TextField primitive (#2938)
joebuono Nov 15, 2022
d7bcd13
fix(rna): add missing skipVerification value to VerifyUser props (#2993)
calebpollman Nov 16, 2022
e97ed20
feat(ui-react-native): Button variants (#2989)
joebuono Nov 16, 2022
c2eebc6
fix(rna): update radio button to submit name instead of value (#3004)
wlee221 Nov 17, 2022
474494f
fix(rna): change useRouteTypedFields to a util function
wlee221 Nov 17, 2022
6908c8b
chore(rna): remove web only keys from SetupTOTPProps (#3007)
calebpollman Nov 17, 2022
7765a6f
chore(ui-react-native): Restrict verify user fields to unverified con…
ioanabrooks Nov 17, 2022
4a2c9e4
Merge branch 'main' into rna/main
calebpollman Nov 17, 2022
f3b38a9
chore(theming): update token syntax for web and React Native (#3005)
dbanksdesign Nov 17, 2022
b2a6e02
feat(rna): add DefaultContent and override styles (#3009)
calebpollman Nov 18, 2022
694f882
chore(rna): omit formFields prop (#3011)
calebpollman Nov 18, 2022
bb4ecdf
fix(rna): Fix memoization issue in `useAuthenticatorRoute` (#3010)
wlee221 Nov 18, 2022
b14f45a
feat(ui-react-native): Add theming for PhoneNumberField primitive (#2…
joebuono Nov 18, 2022
4f67aaa
feat(ui-react-native): Add theming for IconButton primitive (#2950)
joebuono Nov 18, 2022
f5528f9
feat(ui-react-native): Add theming for PasswordField primitive (#2952)
joebuono Nov 18, 2022
774f587
chore: updating RN default styling and aligning Button and Tabs primi…
dbanksdesign Nov 19, 2022
2d1f457
Merge branch 'main' into rna/main
calebpollman Nov 19, 2022
1546c77
Merge branch 'main' into rna/main
calebpollman Nov 20, 2022
b75e2e2
chore(ui-react-native): Handle dial codes (#3020)
ioanabrooks Nov 20, 2022
4047072
Merge branch 'rna/main' into rna/usePressableStyles
ioanabrooks Dec 5, 2022
7a649b9
Merge branch 'main' into rna/usePressableStyles
ioanabrooks Dec 5, 2022
e94b2f2
Fix merge conflicts
ioanabrooks Dec 5, 2022
765392b
Refactor
ioanabrooks Dec 6, 2022
329f18e
Add changeset
ioanabrooks Dec 6, 2022
29662a9
Address feedback
ioanabrooks Dec 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tough-berries-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/ui-react-native': patch
---

chore(ui-react-native): Add utility hook for pressable styles
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ Array [
style={
Array [
Object {},
null,
null,
undefined,
undefined,
]
}
Expand Down Expand Up @@ -356,8 +355,7 @@ Array [
style={
Array [
Object {},
null,
null,
undefined,
undefined,
]
}
Expand Down Expand Up @@ -461,17 +459,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Comment on lines 460 to +468
Copy link
Contributor Author

@ioanabrooks ioanabrooks Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing got removed, container and disabled styles are just merged in one single object. Goes for other snapshots as well.

Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -514,17 +508,14 @@ Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"borderColor": "hsl(210, 10%, 58%)",
"borderRadius": 4,
"borderWidth": 1,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"borderColor": "hsl(210, 10%, 58%)",
"borderWidth": 1,
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
},
Expand Down Expand Up @@ -767,8 +758,7 @@ Array [
style={
Array [
Object {},
null,
null,
undefined,
undefined,
]
}
Expand Down Expand Up @@ -906,8 +896,7 @@ Array [
style={
Array [
Object {},
null,
null,
undefined,
undefined,
]
}
Expand Down Expand Up @@ -958,17 +947,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -1011,17 +996,14 @@ Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"borderColor": "hsl(210, 10%, 58%)",
"borderRadius": 4,
"borderWidth": 1,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"borderColor": "hsl(210, 10%, 58%)",
"borderWidth": 1,
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -250,9 +246,7 @@ Array [
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {},
null,
null,
undefined,
Object {
"marginVertical": 8,
"minWidth": "50%",
Expand Down Expand Up @@ -410,17 +404,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -477,9 +467,7 @@ Array [
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {},
null,
null,
undefined,
Object {
"marginVertical": 8,
"minWidth": "50%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -122,17 +118,14 @@ Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"borderColor": "hsl(210, 10%, 58%)",
"borderRadius": 4,
"borderWidth": 1,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"borderColor": "hsl(210, 10%, 58%)",
"borderWidth": 1,
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
},
Expand Down Expand Up @@ -227,17 +220,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -280,17 +269,14 @@ Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"borderColor": "hsl(210, 10%, 58%)",
"borderRadius": 4,
"borderWidth": 1,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"borderColor": "hsl(210, 10%, 58%)",
"borderWidth": 1,
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
},
Expand Down Expand Up @@ -438,17 +424,13 @@ Array [
Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"backgroundColor": "hsl(190, 95%, 30%)",
"borderRadius": 4,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"backgroundColor": "hsl(190, 95%, 30%)",
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
"marginVertical": 12,
Expand Down Expand Up @@ -491,17 +473,14 @@ Array [
Object {
"alignItems": "center",
"backgroundColor": "transparent",
"borderColor": "hsl(210, 10%, 58%)",
"borderRadius": 4,
"borderWidth": 1,
"justifyContent": "center",
"paddingHorizontal": 16,
"paddingVertical": 12,
},
Object {
"borderColor": "hsl(210, 10%, 58%)",
"borderWidth": 1,
},
null,
null,
undefined,
Object {
"marginHorizontal": 16,
},
Expand Down
Loading