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