@aws-amplify/ui 5.5.10 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/theme/tokens/components/field.mjs +1 -1
- package/dist/esm/theme/tokens/components/index.mjs +1 -1
- package/dist/esm/theme/tokens/components/liveness.mjs +1 -0
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +403 -2
- package/dist/theme.css +2 -0
- package/dist/types/helpers/accountSettings/utils.d.ts +1 -1
- package/dist/types/helpers/authenticator/facade.d.ts +5 -5
- package/dist/types/helpers/authenticator/utils.d.ts +1 -1
- package/dist/types/helpers/utils.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/types.d.ts +2 -2
- package/dist/types/i18n/translations.d.ts +2 -2
- package/dist/types/machines/authenticator/actions.d.ts +27 -27
- package/dist/types/machines/authenticator/actors/resetPassword.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -1
- package/dist/types/machines/authenticator/index.d.ts +1 -1
- package/dist/types/machines/authenticator/signUp.d.ts +1 -1
- package/dist/types/theme/breakpoints.d.ts +1 -1
- package/dist/types/theme/tokens/borderWidths.d.ts +2 -2
- package/dist/types/theme/tokens/colors.d.ts +22 -22
- package/dist/types/theme/tokens/components/alert.d.ts +5 -5
- package/dist/types/theme/tokens/components/authenticator.d.ts +10 -10
- package/dist/types/theme/tokens/components/autocomplete.d.ts +1 -1
- package/dist/types/theme/tokens/components/badge.d.ts +6 -6
- package/dist/types/theme/tokens/components/button.d.ts +8 -8
- package/dist/types/theme/tokens/components/card.d.ts +3 -3
- package/dist/types/theme/tokens/components/checkbox.d.ts +6 -6
- package/dist/types/theme/tokens/components/checkboxField.d.ts +1 -1
- package/dist/types/theme/tokens/components/collection.d.ts +3 -3
- package/dist/types/theme/tokens/components/copy.d.ts +1 -1
- package/dist/types/theme/tokens/components/dialCodeSelect.d.ts +1 -1
- package/dist/types/theme/tokens/components/divider.d.ts +2 -2
- package/dist/types/theme/tokens/components/expander.d.ts +5 -5
- package/dist/types/theme/tokens/components/field.d.ts +2 -2
- package/dist/types/theme/tokens/components/fieldControl.d.ts +6 -6
- package/dist/types/theme/tokens/components/fieldGroup.d.ts +1 -1
- package/dist/types/theme/tokens/components/fieldMessages.d.ts +1 -1
- package/dist/types/theme/tokens/components/fileUploader.d.ts +2 -2
- package/dist/types/theme/tokens/components/flex.d.ts +1 -1
- package/dist/types/theme/tokens/components/heading.d.ts +3 -3
- package/dist/types/theme/tokens/components/highlightMatch.d.ts +1 -1
- package/dist/types/theme/tokens/components/icon.d.ts +1 -1
- package/dist/types/theme/tokens/components/image.d.ts +1 -1
- package/dist/types/theme/tokens/components/inAppMessaging.d.ts +5 -5
- package/dist/types/theme/tokens/components/index.d.ts +6 -4
- package/dist/types/theme/tokens/components/link.d.ts +2 -2
- package/dist/types/theme/tokens/components/liveness.d.ts +8 -0
- package/dist/types/theme/tokens/components/loader.d.ts +4 -4
- package/dist/types/theme/tokens/components/menu.d.ts +2 -2
- package/dist/types/theme/tokens/components/pagination.d.ts +1 -1
- package/dist/types/theme/tokens/components/passwordField.d.ts +3 -3
- package/dist/types/theme/tokens/components/phoneNumberField.d.ts +1 -1
- package/dist/types/theme/tokens/components/placeholder.d.ts +2 -2
- package/dist/types/theme/tokens/components/radio.d.ts +2 -2
- package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
- package/dist/types/theme/tokens/components/rating.d.ts +1 -1
- package/dist/types/theme/tokens/components/searchField.d.ts +3 -3
- package/dist/types/theme/tokens/components/select.d.ts +2 -2
- package/dist/types/theme/tokens/components/selectField.d.ts +1 -1
- package/dist/types/theme/tokens/components/sliderField.d.ts +3 -3
- package/dist/types/theme/tokens/components/stepperField.d.ts +2 -2
- package/dist/types/theme/tokens/components/switchField.d.ts +3 -3
- package/dist/types/theme/tokens/components/table.d.ts +5 -5
- package/dist/types/theme/tokens/components/tabs.d.ts +3 -3
- package/dist/types/theme/tokens/components/text.d.ts +4 -4
- package/dist/types/theme/tokens/components/textAreaField.d.ts +2 -2
- package/dist/types/theme/tokens/components/textField.d.ts +1 -1
- package/dist/types/theme/tokens/components/toggleButton.d.ts +2 -2
- package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +2 -2
- package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
- package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
- package/dist/types/theme/tokens/fonts.d.ts +3 -3
- package/dist/types/theme/tokens/index.d.ts +6 -6
- package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
- package/dist/types/theme/tokens/opacities.d.ts +2 -2
- package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
- package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
- package/dist/types/theme/tokens/radii.d.ts +2 -2
- package/dist/types/theme/tokens/shadows.d.ts +2 -2
- package/dist/types/theme/tokens/space.d.ts +4 -4
- package/dist/types/theme/tokens/time.d.ts +2 -2
- package/dist/types/theme/tokens/transforms.d.ts +3 -3
- package/dist/types/theme/tokens/types/designToken.d.ts +66 -66
- package/dist/types/theme/tokens/types/typography.d.ts +1 -1
- package/dist/types/theme/types.d.ts +2 -2
- package/dist/types/theme/utils.d.ts +3 -3
- package/dist/types/types/accountSettings/validator.d.ts +2 -2
- package/dist/types/types/authenticator/attributes.d.ts +7 -7
- package/dist/types/types/authenticator/form.d.ts +6 -6
- package/dist/types/types/authenticator/stateMachine/authMachine.d.ts +3 -3
- package/dist/types/types/authenticator/stateMachine/context.d.ts +2 -2
- package/dist/types/types/authenticator/stateMachine/event.d.ts +3 -3
- package/dist/types/types/authenticator/stateMachine/state.d.ts +6 -6
- package/dist/types/types/authenticator/user.d.ts +2 -2
- package/dist/types/types/authenticator/validator.d.ts +4 -4
- package/dist/types/types/primitives/componentClassName.d.ts +1 -0
- package/dist/types/types/primitives/index.d.ts +1 -1
- package/dist/types/types/util.d.ts +5 -5
- package/dist/types/utils/index.d.ts +18 -1
- package/package.json +1 -1
- package/dist/esm/utils/classname.mjs +0 -1
- package/dist/types/utils/classname.d.ts +0 -19
package/dist/styles.css
CHANGED
|
@@ -349,6 +349,7 @@
|
|
|
349
349
|
--amplify-components-expander-icon-transition-timing-function: cubic-bezier(0.87, 0, 0.13, 1);
|
|
350
350
|
--amplify-components-field-gap: var(--amplify-space-xs);
|
|
351
351
|
--amplify-components-field-font-size: var(--amplify-font-sizes-medium);
|
|
352
|
+
--amplify-components-field-flex-direction: column;
|
|
352
353
|
--amplify-components-field-small-gap: var(--amplify-space-xxxs);
|
|
353
354
|
--amplify-components-field-small-font-size: var(--amplify-font-sizes-small);
|
|
354
355
|
--amplify-components-field-large-gap: var(--amplify-space-small);
|
|
@@ -511,6 +512,7 @@
|
|
|
511
512
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
512
513
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
513
514
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
515
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-black);
|
|
514
516
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
515
517
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
516
518
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
|
@@ -1744,7 +1746,7 @@ strong.amplify-text {
|
|
|
1744
1746
|
-webkit-user-select: text;
|
|
1745
1747
|
-moz-user-select: text;
|
|
1746
1748
|
user-select: text;
|
|
1747
|
-
display: inline-
|
|
1749
|
+
display: inline-block;
|
|
1748
1750
|
}
|
|
1749
1751
|
.amplify-input:focus {
|
|
1750
1752
|
border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
@@ -2620,6 +2622,7 @@ strong.amplify-text {
|
|
|
2620
2622
|
.amplify-field {
|
|
2621
2623
|
font-size: var(--amplify-components-field-font-size);
|
|
2622
2624
|
gap: var(--amplify-components-field-gap);
|
|
2625
|
+
flex-direction: var(--amplify-components-field-flex-direction);
|
|
2623
2626
|
}
|
|
2624
2627
|
.amplify-field--small {
|
|
2625
2628
|
font-size: var(--amplify-components-field-small-font-size);
|
|
@@ -2768,6 +2771,405 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2768
2771
|
height: 100%;
|
|
2769
2772
|
}
|
|
2770
2773
|
|
|
2774
|
+
.amplify-liveness-cancel-container {
|
|
2775
|
+
z-index: 2;
|
|
2776
|
+
position: absolute;
|
|
2777
|
+
top: var(--amplify-space-medium);
|
|
2778
|
+
right: var(--amplify-space-medium);
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
.amplify-liveness-cancel-button {
|
|
2782
|
+
background-color: var(--amplify-colors-background-primary);
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
.amplify-liveness-fade-out {
|
|
2786
|
+
animation-name: amplify-liveness-animation-fadeout;
|
|
2787
|
+
animation-duration: 1s;
|
|
2788
|
+
animation-fill-mode: forwards;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
@keyframes amplify-liveness-animation-fadeout {
|
|
2792
|
+
from {
|
|
2793
|
+
opacity: 1;
|
|
2794
|
+
}
|
|
2795
|
+
to {
|
|
2796
|
+
opacity: 0;
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
.amplify-liveness-camera-module {
|
|
2800
|
+
flex-direction: column;
|
|
2801
|
+
align-items: center;
|
|
2802
|
+
justify-content: center;
|
|
2803
|
+
background-color: var(--amplify-components-liveness-camera-module-background-color);
|
|
2804
|
+
border: 1px solid var(--amplify-colors-neutral-40);
|
|
2805
|
+
position: relative;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
.amplify-liveness-camera-module--mobile {
|
|
2809
|
+
position: fixed;
|
|
2810
|
+
top: 0;
|
|
2811
|
+
left: 0;
|
|
2812
|
+
height: 100%;
|
|
2813
|
+
width: 100%;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
.amplify-liveness-video {
|
|
2817
|
+
position: absolute;
|
|
2818
|
+
top: 0;
|
|
2819
|
+
left: 0;
|
|
2820
|
+
width: 100%;
|
|
2821
|
+
height: 100%;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
.amplify-liveness-freshness-canvas {
|
|
2825
|
+
height: 100%;
|
|
2826
|
+
width: 100%;
|
|
2827
|
+
position: fixed;
|
|
2828
|
+
top: 0;
|
|
2829
|
+
left: 0;
|
|
2830
|
+
pointer-events: none;
|
|
2831
|
+
z-index: 1;
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
.amplify-liveness-loader {
|
|
2835
|
+
position: absolute;
|
|
2836
|
+
left: 50%;
|
|
2837
|
+
top: 50%;
|
|
2838
|
+
transform: translate(-50%, -50%);
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
.amplify-liveness-oval-canvas {
|
|
2842
|
+
flex-direction: column;
|
|
2843
|
+
position: absolute;
|
|
2844
|
+
top: 0;
|
|
2845
|
+
left: 0;
|
|
2846
|
+
width: 100%;
|
|
2847
|
+
height: 100%;
|
|
2848
|
+
align-items: center;
|
|
2849
|
+
justify-content: center;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
.amplify-liveness-oval-canvas--mobile {
|
|
2853
|
+
position: fixed;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
.amplify-liveness-video-anchor {
|
|
2857
|
+
position: relative;
|
|
2858
|
+
width: 100%;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
.amplify-liveness-recording-icon-container {
|
|
2862
|
+
z-index: 1;
|
|
2863
|
+
position: absolute;
|
|
2864
|
+
top: var(--amplify-space-medium);
|
|
2865
|
+
left: var(--amplify-space-medium);
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
.amplify-liveness-recording-icon {
|
|
2869
|
+
flex-direction: column;
|
|
2870
|
+
align-items: center;
|
|
2871
|
+
background-color: var(--amplify-colors-background-primary);
|
|
2872
|
+
padding: var(--amplify-space-xxs);
|
|
2873
|
+
gap: var(--amplify-space-xxs);
|
|
2874
|
+
border-radius: var(--amplify-radii-small);
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
.amplify-liveness-instruction-overlay {
|
|
2878
|
+
z-index: 1;
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
.amplify-liveness-countdown-container {
|
|
2882
|
+
background-color: var(--amplify-colors-background-primary);
|
|
2883
|
+
border-radius: 100%;
|
|
2884
|
+
padding: var(--amplify-space-xs);
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
.amplify-liveness-instruction-list {
|
|
2888
|
+
flex-direction: column;
|
|
2889
|
+
}
|
|
2890
|
+
.amplify-liveness-instruction-list li {
|
|
2891
|
+
display: flex;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
.amplify-liveness-toast {
|
|
2895
|
+
background-color: var(--amplify-colors-background-primary);
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
.amplify-liveness-toast__message {
|
|
2899
|
+
color: var(--amplify-colors-font-primary);
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
.amplify-liveness-toast--large {
|
|
2903
|
+
font-size: var(--amplify-font-sizes-xl);
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
.amplify-liveness-toast--primary {
|
|
2907
|
+
background-color: var(--amplify-colors-brand-primary-80);
|
|
2908
|
+
}
|
|
2909
|
+
.amplify-liveness-toast--primary .amplify-liveness-toast__message {
|
|
2910
|
+
color: var(--amplify-colors-font-inverse);
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
.amplify-liveness-toast--error {
|
|
2914
|
+
background-color: var(--amplify-colors-red-80);
|
|
2915
|
+
}
|
|
2916
|
+
.amplify-liveness-toast--error .amplify-liveness-toast__message {
|
|
2917
|
+
color: var(--amplify-colors-font-inverse);
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
.amplify-liveness-match-indicator {
|
|
2921
|
+
display: block;
|
|
2922
|
+
width: min(70%, 200px);
|
|
2923
|
+
position: relative;
|
|
2924
|
+
--amplify-liveness-match-indicator-transition: transform 0.2s linear;
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
.amplify-liveness-match-indicator__bar {
|
|
2928
|
+
--percentage: 0;
|
|
2929
|
+
display: block;
|
|
2930
|
+
width: 100%;
|
|
2931
|
+
height: var(--amplify-space-medium);
|
|
2932
|
+
border-radius: var(--amplify-radii-medium);
|
|
2933
|
+
background: var(--amplify-colors-white);
|
|
2934
|
+
position: relative;
|
|
2935
|
+
overflow: hidden;
|
|
2936
|
+
/*
|
|
2937
|
+
This translateZ transform fixes in issue in Safari where the bar::after
|
|
2938
|
+
element doesn't appear clipped from overflow: hidden here */
|
|
2939
|
+
transform: translateZ(0);
|
|
2940
|
+
border: 1px solid var(--amplify-colors-border-tertiary);
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
.amplify-liveness-match-indicator__pin {
|
|
2944
|
+
--percentage: 0;
|
|
2945
|
+
display: block;
|
|
2946
|
+
width: 100%;
|
|
2947
|
+
position: absolute;
|
|
2948
|
+
top: 50%;
|
|
2949
|
+
left: 0;
|
|
2950
|
+
transform: translate(var(--percentage), 0);
|
|
2951
|
+
transition: var(--amplify-liveness-match-indicator-transition);
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
.amplify-liveness-match-indicator__bar:after {
|
|
2955
|
+
position: absolute;
|
|
2956
|
+
content: "";
|
|
2957
|
+
width: 100%;
|
|
2958
|
+
height: 100%;
|
|
2959
|
+
background: var(--amplify-colors-brand-primary-40);
|
|
2960
|
+
left: -100%;
|
|
2961
|
+
transform: translate(var(--percentage), 0);
|
|
2962
|
+
transition: var(--amplify-liveness-match-indicator-transition);
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
.amplify-liveness-match-indicator__pin:after {
|
|
2966
|
+
--height: var(--amplify-space-xl);
|
|
2967
|
+
position: absolute;
|
|
2968
|
+
content: "";
|
|
2969
|
+
width: var(--amplify-space-small);
|
|
2970
|
+
height: var(--height);
|
|
2971
|
+
border-radius: var(--amplify-radii-medium);
|
|
2972
|
+
background: var(--amplify-colors-brand-primary-80);
|
|
2973
|
+
left: 0;
|
|
2974
|
+
top: 0;
|
|
2975
|
+
transform: translate(-50%, calc(var(--height) / 2 * -1));
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
.amplify-liveness-figures {
|
|
2979
|
+
flex-wrap: wrap;
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
.amplify-liveness-figure {
|
|
2983
|
+
flex-direction: column;
|
|
2984
|
+
gap: 0;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
.amplify-liveness-figure__caption {
|
|
2988
|
+
padding: var(--amplify-space-xxs);
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
.amplify-liveness-figure__caption--success {
|
|
2992
|
+
background-color: var(--amplify-colors-background-success);
|
|
2993
|
+
color: var(--amplify-colors-font-success);
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
.amplify-liveness-figure__caption--error {
|
|
2997
|
+
background-color: var(--amplify-colors-background-error);
|
|
2998
|
+
color: var(--amplify-colors-font-error);
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
.amplify-liveness-figure__image {
|
|
3002
|
+
background-color: #fff;
|
|
3003
|
+
border: 1px solid var(--amplify-colors-border-primary);
|
|
3004
|
+
position: relative;
|
|
3005
|
+
display: flex;
|
|
3006
|
+
justify-content: center;
|
|
3007
|
+
}
|
|
3008
|
+
.amplify-liveness-figure__image svg {
|
|
3009
|
+
display: block;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
.amplify-liveness-figure__image--success {
|
|
3013
|
+
border-color: var(--amplify-colors-green-90);
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
.amplify-liveness-figure__image--error {
|
|
3017
|
+
border-color: var(--amplify-colors-border-error);
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
.amplify-liveness-figure__icon {
|
|
3021
|
+
position: absolute;
|
|
3022
|
+
left: 0;
|
|
3023
|
+
top: 0;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
.amplify-fileuploader__dropzone {
|
|
3027
|
+
background-color: var(--amplify-components-fileuploader-dropzone-background-color);
|
|
3028
|
+
border-color: var(--amplify-components-fileuploader-dropzone-border-color);
|
|
3029
|
+
border-radius: var(--amplify-components-fileuploader-dropzone-border-radius);
|
|
3030
|
+
border-style: var(--amplify-components-fileuploader-dropzone-border-style);
|
|
3031
|
+
border-width: var(--amplify-components-fileuploader-dropzone-border-width);
|
|
3032
|
+
text-align: var(--amplify-components-fileuploader-dropzone-text-align);
|
|
3033
|
+
padding-block: var(--amplify-components-fileuploader-dropzone-padding-block);
|
|
3034
|
+
padding-inline: var(--amplify-components-fileuploader-dropzone-padding-inline);
|
|
3035
|
+
display: flex;
|
|
3036
|
+
flex-direction: column;
|
|
3037
|
+
align-items: center;
|
|
3038
|
+
gap: var(--amplify-components-fileuploader-dropzone-gap);
|
|
3039
|
+
}
|
|
3040
|
+
.amplify-fileuploader__dropzone--small {
|
|
3041
|
+
flex-direction: row;
|
|
3042
|
+
justify-content: center;
|
|
3043
|
+
}
|
|
3044
|
+
.amplify-fileuploader__dropzone--active {
|
|
3045
|
+
border-color: var(--amplify-components-fileuploader-dropzone-active-border-color);
|
|
3046
|
+
border-width: var(--amplify-components-fileuploader-dropzone-active-border-width);
|
|
3047
|
+
background-color: var(--amplify-components-fileuploader-dropzone-active-background-color);
|
|
3048
|
+
}
|
|
3049
|
+
.amplify-fileuploader__dropzone__icon {
|
|
3050
|
+
font-size: var(--amplify-components-fileuploader-dropzone-icon-font-size);
|
|
3051
|
+
color: var(--amplify-components-fileuploader-dropzone-icon-color);
|
|
3052
|
+
}
|
|
3053
|
+
.amplify-fileuploader__dropzone__text {
|
|
3054
|
+
color: var(--amplify-components-fileuploader-dropzone-text-color);
|
|
3055
|
+
font-size: var(--amplify-components-fileuploader-dropzone-text-font-size);
|
|
3056
|
+
font-weight: var(--amplify-components-fileuploader-dropzone-text-font-weight);
|
|
3057
|
+
}
|
|
3058
|
+
.amplify-fileuploader__file {
|
|
3059
|
+
position: relative;
|
|
3060
|
+
border-width: var(--amplify-components-fileuploader-file-border-width);
|
|
3061
|
+
border-style: var(--amplify-components-fileuploader-file-border-style);
|
|
3062
|
+
border-color: var(--amplify-components-fileuploader-file-border-color);
|
|
3063
|
+
border-radius: var(--amplify-components-fileuploader-file-border-radius);
|
|
3064
|
+
display: flex;
|
|
3065
|
+
flex-direction: column;
|
|
3066
|
+
padding-inline: var(--amplify-components-fileuploader-file-padding-inline);
|
|
3067
|
+
padding-block: var(--amplify-components-fileuploader-file-padding-block);
|
|
3068
|
+
align-items: var(--amplify-components-fileuploader-file-align-items);
|
|
3069
|
+
}
|
|
3070
|
+
.amplify-fileuploader__file__wrapper {
|
|
3071
|
+
width: 100%;
|
|
3072
|
+
display: flex;
|
|
3073
|
+
flex-direction: row;
|
|
3074
|
+
align-items: center;
|
|
3075
|
+
gap: var(--amplify-components-fileuploader-file-gap);
|
|
3076
|
+
}
|
|
3077
|
+
.amplify-fileuploader__file__name {
|
|
3078
|
+
text-overflow: ellipsis;
|
|
3079
|
+
overflow: hidden;
|
|
3080
|
+
font-weight: var(--amplify-components-fileuploader-file-name-font-weight);
|
|
3081
|
+
font-size: var(--amplify-components-fileuploader-file-name-font-size);
|
|
3082
|
+
color: var(--amplify-components-fileuploader-file-name-color);
|
|
3083
|
+
}
|
|
3084
|
+
.amplify-fileuploader__file__size {
|
|
3085
|
+
font-weight: var(--amplify-components-fileuploader-file-size-font-weight);
|
|
3086
|
+
font-size: var(--amplify-components-fileuploader-file-size-font-size);
|
|
3087
|
+
color: var(--amplify-components-fileuploader-file-size-color);
|
|
3088
|
+
}
|
|
3089
|
+
.amplify-fileuploader__file__main {
|
|
3090
|
+
flex: 1;
|
|
3091
|
+
white-space: nowrap;
|
|
3092
|
+
overflow: hidden;
|
|
3093
|
+
}
|
|
3094
|
+
.amplify-fileuploader__file__image {
|
|
3095
|
+
position: relative;
|
|
3096
|
+
display: flex;
|
|
3097
|
+
align-items: center;
|
|
3098
|
+
justify-content: center;
|
|
3099
|
+
width: var(--amplify-components-fileuploader-file-image-width);
|
|
3100
|
+
height: var(--amplify-components-fileuploader-file-image-height);
|
|
3101
|
+
background-color: var(--amplify-components-fileuploader-file-image-background-color);
|
|
3102
|
+
border-radius: var(--amplify-components-fileuploader-file-image-border-radius);
|
|
3103
|
+
color: var(--amplify-components-fileuploader-file-image-color);
|
|
3104
|
+
}
|
|
3105
|
+
.amplify-fileuploader__file__image img {
|
|
3106
|
+
max-height: 100%;
|
|
3107
|
+
}
|
|
3108
|
+
.amplify-fileuploader__file__status--error {
|
|
3109
|
+
color: var(--amplify-colors-font-error);
|
|
3110
|
+
font-size: var(--amplify-components-fileuploader-file-size-font-size);
|
|
3111
|
+
}
|
|
3112
|
+
.amplify-fileuploader__file__status--success {
|
|
3113
|
+
color: var(--amplify-colors-font-success);
|
|
3114
|
+
}
|
|
3115
|
+
.amplify-fileuploader__loader {
|
|
3116
|
+
stroke-linecap: var(--amplify-components-fileuploader-loader-stroke-linecap);
|
|
3117
|
+
stroke: var(--amplify-components-fileuploader-loader-stroke-empty);
|
|
3118
|
+
stroke-width: var(--amplify-components-fileuploader-loader-stroke-width);
|
|
3119
|
+
height: var(--amplify-components-fileuploader-loader-stroke-width);
|
|
3120
|
+
--amplify-components-loader-linear-stroke-filled: var(
|
|
3121
|
+
--amplify-components-fileuploader-loader-stroke-filled
|
|
3122
|
+
);
|
|
3123
|
+
overflow: hidden;
|
|
3124
|
+
position: absolute;
|
|
3125
|
+
bottom: 0;
|
|
3126
|
+
left: 0;
|
|
3127
|
+
width: 100%;
|
|
3128
|
+
}
|
|
3129
|
+
.amplify-fileuploader__previewer {
|
|
3130
|
+
display: block;
|
|
3131
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
3132
|
+
background-color: var(--amplify-components-fileuploader-previewer-background-color);
|
|
3133
|
+
border-width: var(--amplify-components-fileuploader-previewer-border-width);
|
|
3134
|
+
border-style: var(--amplify-components-fileuploader-previewer-border-style);
|
|
3135
|
+
border-color: var(--amplify-components-fileuploader-previewer-border-color);
|
|
3136
|
+
border-radius: var(--amplify-components-fileuploader-previewer-border-radius);
|
|
3137
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-padding-inline);
|
|
3138
|
+
padding-block: var(--amplify-components-fileuploader-previewer-padding-block);
|
|
3139
|
+
}
|
|
3140
|
+
.amplify-fileuploader__previewer__text {
|
|
3141
|
+
font-weight: var(--amplify-components-fileuploader-previewer-text-font-weight);
|
|
3142
|
+
font-size: var(--amplify-components-fileuploader-previewer-text-font-size);
|
|
3143
|
+
color: var(--amplify-components-fileuploader-previewer-text-color);
|
|
3144
|
+
}
|
|
3145
|
+
.amplify-fileuploader__previewer__body {
|
|
3146
|
+
display: flex;
|
|
3147
|
+
flex-direction: column;
|
|
3148
|
+
max-height: var(--amplify-components-fileuploader-previewer-max-height);
|
|
3149
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
3150
|
+
overflow: auto;
|
|
3151
|
+
gap: var(--amplify-components-fileuploader-previewer-body-gap);
|
|
3152
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-body-padding-inline);
|
|
3153
|
+
padding-block: var(--amplify-components-fileuploader-previewer-body-padding-block);
|
|
3154
|
+
}
|
|
3155
|
+
.amplify-fileuploader__previewer__footer {
|
|
3156
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
3157
|
+
border-top-width: var(--amplify-components-fileuploader-previewer-footer-border-width);
|
|
3158
|
+
border-top-style: var(--amplify-components-fileuploader-previewer-footer-border-style);
|
|
3159
|
+
border-top-color: var(--amplify-components-fileuploader-previewer-footer-border-color);
|
|
3160
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-footer-padding-inline);
|
|
3161
|
+
padding-block: var(--amplify-components-fileuploader-previewer-footer-padding-block);
|
|
3162
|
+
position: relative;
|
|
3163
|
+
display: flex;
|
|
3164
|
+
flex-direction: row;
|
|
3165
|
+
justify-content: var(--amplify-components-fileuploader-previewer-footer-justify-content);
|
|
3166
|
+
}
|
|
3167
|
+
.amplify-fileuploader__previewer__footer__actions {
|
|
3168
|
+
display: flex;
|
|
3169
|
+
flex-direction: row;
|
|
3170
|
+
gap: var(--amplify-space-small);
|
|
3171
|
+
}
|
|
3172
|
+
|
|
2771
3173
|
.amplify-menu-content-wrapper {
|
|
2772
3174
|
z-index: 999999;
|
|
2773
3175
|
}
|
|
@@ -3812,7 +4214,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3812
4214
|
}
|
|
3813
4215
|
|
|
3814
4216
|
.amplify-textfield {
|
|
3815
|
-
flex-direction: column;
|
|
3816
4217
|
--amplify-components-fieldcontrol-color: var(
|
|
3817
4218
|
--amplify-components-textfield-color
|
|
3818
4219
|
);
|
package/dist/theme.css
CHANGED
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
--amplify-components-expander-icon-transition-timing-function: cubic-bezier(0.87, 0, 0.13, 1);
|
|
347
347
|
--amplify-components-field-gap: var(--amplify-space-xs);
|
|
348
348
|
--amplify-components-field-font-size: var(--amplify-font-sizes-medium);
|
|
349
|
+
--amplify-components-field-flex-direction: column;
|
|
349
350
|
--amplify-components-field-small-gap: var(--amplify-space-xxxs);
|
|
350
351
|
--amplify-components-field-small-font-size: var(--amplify-font-sizes-small);
|
|
351
352
|
--amplify-components-field-large-gap: var(--amplify-space-small);
|
|
@@ -508,6 +509,7 @@
|
|
|
508
509
|
--amplify-components-link-focus-color: var(--amplify-colors-font-focus);
|
|
509
510
|
--amplify-components-link-hover-color: var(--amplify-colors-font-hover);
|
|
510
511
|
--amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
|
|
512
|
+
--amplify-components-liveness-camera-module-background-color: var(--amplify-colors-black);
|
|
511
513
|
--amplify-components-loader-width: var(--amplify-font-sizes-medium);
|
|
512
514
|
--amplify-components-loader-height: var(--amplify-font-sizes-medium);
|
|
513
515
|
--amplify-components-loader-font-size: var(--amplify-font-sizes-xs);
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { Sender } from 'xstate';
|
|
7
7
|
import { AuthEvent, AuthEventData, AuthMachineState, CodeDeliveryDetails, AmplifyUser, ValidationError, SocialProvider, UnverifiedContactMethods } from '../../types';
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
export type AuthenticatorRoute = 'authenticated' | 'confirmResetPassword' | 'confirmSignIn' | 'confirmSignUp' | 'confirmVerifyUser' | 'forceNewPassword' | 'idle' | 'resetPassword' | 'setup' | 'signOut' | 'setupTOTP' | 'signIn' | 'signUp' | 'transition' | 'verifyUser';
|
|
9
|
+
type AuthenticatorValidationErrors = ValidationError;
|
|
10
|
+
type AuthStatus = 'configuring' | 'authenticated' | 'unauthenticated';
|
|
11
11
|
interface AuthenticatorServiceContextFacade {
|
|
12
12
|
authStatus: AuthStatus;
|
|
13
13
|
codeDeliveryDetails: CodeDeliveryDetails;
|
|
@@ -21,8 +21,8 @@ interface AuthenticatorServiceContextFacade {
|
|
|
21
21
|
user: AmplifyUser;
|
|
22
22
|
validationErrors: AuthenticatorValidationErrors;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
type SendEventAlias = 'initializeMachine' | 'resendCode' | 'signOut' | 'submitForm' | 'updateForm' | 'updateBlur' | 'toFederatedSignIn' | 'toResetPassword' | 'toSignIn' | 'toSignUp' | 'skipVerification';
|
|
25
|
+
type AuthenticatorSendEventAliases = Record<SendEventAlias, (data?: AuthEventData) => void>;
|
|
26
26
|
export interface AuthenticatorServiceFacade extends AuthenticatorSendEventAliases, AuthenticatorServiceContextFacade {
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
type AuthenticatorText = 'Account recovery requires verified contact information' | 'Back to Sign In' | 'Change Password' | 'Changing' | 'Code' | 'Confirm Password' | 'Confirm Sign Up' | 'Confirm SMS Code' | 'Confirm TOTP Code' | 'Confirm' | 'Confirmation Code' | 'Confirming' | 'Create a new account' | 'Create Account' | 'Creating Account' | 'Dismiss alert' | 'Email' | 'Enter your code' | 'Enter your email' | 'Enter your phone number' | 'Enter your username' | 'Forgot your password?' | 'Hide password' | 'Loading' | 'New password' | 'Password' | 'Phone Number' | 'Resend Code' | 'Reset your password' | 'Reset your Password' | 'Send code' | 'Send Code' | 'Sending' | 'Setup TOTP' | 'Show password' | 'Sign in to your account' | 'Sign In with Amazon' | 'Sign In with Apple' | 'Sign In with Facebook' | 'Sign In with Google' | 'Sign in' | 'Sign In' | 'Signing in' | 'Skip' | 'Submit' | 'Submitting' | 'Username' | 'Verify Contact' | 'Verify';
|
|
2
|
+
export type AuthenticatorDictionary = Record<AuthenticatorText, string> & Record<string, string>;
|
|
3
3
|
export {};
|
|
@@ -91,7 +91,7 @@ export declare const DefaultTexts: {
|
|
|
91
91
|
readonly WE_TEXTED: string;
|
|
92
92
|
readonly WEBSITE: string;
|
|
93
93
|
};
|
|
94
|
-
export
|
|
94
|
+
export type Phrase = typeof DefaultTexts[keyof typeof DefaultTexts];
|
|
95
95
|
/**
|
|
96
96
|
* TODO: Translation keys for dictionaries can be inferred from DefaultTexts
|
|
97
97
|
* by typing it to Partial<Record<Phrase, string>>.
|
|
@@ -100,7 +100,7 @@ export declare type Phrase = typeof DefaultTexts[keyof typeof DefaultTexts];
|
|
|
100
100
|
* limiting factor for custom translation keys. Marking it as TODO until we see
|
|
101
101
|
* a reason to strongly type this.
|
|
102
102
|
*/
|
|
103
|
-
export
|
|
103
|
+
export type Dict = Record<string, string>;
|
|
104
104
|
/**
|
|
105
105
|
* This helper type checks that given phrase is one of the texts @aws-amplify/ui
|
|
106
106
|
* provides by default. This enables vscode autocompletion to help catch typos
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActorContextWithForms, AuthEvent, SignInContext, SignUpContext } from '../../types';
|
|
2
|
-
export declare const stopActor: (machineId: string) => import("xstate").StopAction<unknown, import("xstate").EventObject>;
|
|
2
|
+
export declare const stopActor: (machineId: string) => import("xstate").StopAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
3
3
|
/**
|
|
4
4
|
* https://github.com/statelyai/xstate/issues/866
|
|
5
5
|
*
|
|
@@ -24,34 +24,34 @@ export declare const stopActor: (machineId: string) => import("xstate").StopActi
|
|
|
24
24
|
/**
|
|
25
25
|
* "clear" actions
|
|
26
26
|
*/
|
|
27
|
-
export declare const clearAttributeToVerify: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
28
|
-
export declare const clearChallengeName: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
29
|
-
export declare const clearRequiredAttributes: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
30
|
-
export declare const clearError: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
31
|
-
export declare const clearFormValues: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
32
|
-
export declare const clearTouched: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
33
|
-
export declare const clearUnverifiedContactMethods: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
34
|
-
export declare const clearUsername: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
35
|
-
export declare const clearValidationError: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
27
|
+
export declare const clearAttributeToVerify: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
28
|
+
export declare const clearChallengeName: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
29
|
+
export declare const clearRequiredAttributes: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
30
|
+
export declare const clearError: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
31
|
+
export declare const clearFormValues: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
32
|
+
export declare const clearTouched: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
33
|
+
export declare const clearUnverifiedContactMethods: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
34
|
+
export declare const clearUsername: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
35
|
+
export declare const clearValidationError: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
36
36
|
/**
|
|
37
37
|
* "set" actions
|
|
38
38
|
*/
|
|
39
|
-
export declare const setTotpSecretCode: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
40
|
-
export declare const setChallengeName: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
41
|
-
export declare const setRequiredAttributes: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
42
|
-
export declare const setConfirmResetPasswordIntent: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
43
|
-
export declare const setConfirmSignUpIntent: import("xstate").AssignAction<unknown, import("xstate").EventObject>;
|
|
44
|
-
export declare const setCredentials: import("xstate").AssignAction<SignInContext | SignUpContext, import("xstate").EventObject>;
|
|
45
|
-
export declare const setFieldErrors: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
46
|
-
export declare const setRemoteError: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
47
|
-
export declare const setUnverifiedContactMethods: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
48
|
-
export declare const setUser: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
49
|
-
export declare const setUsername: import("xstate").AssignAction<ActorContextWithForms, import("xstate").EventObject>;
|
|
50
|
-
export declare const setCodeDeliveryDetails: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
51
|
-
export declare const setUsernameAuthAttributes: import("xstate").AssignAction<ActorContextWithForms, import("xstate").EventObject>;
|
|
52
|
-
export declare const handleInput: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
53
|
-
export declare const handleSubmit: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
54
|
-
export declare const handleBlur: import("xstate").AssignAction<unknown, AuthEvent>;
|
|
39
|
+
export declare const setTotpSecretCode: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
40
|
+
export declare const setChallengeName: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
41
|
+
export declare const setRequiredAttributes: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
42
|
+
export declare const setConfirmResetPasswordIntent: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
43
|
+
export declare const setConfirmSignUpIntent: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
44
|
+
export declare const setCredentials: import("xstate").AssignAction<SignInContext | SignUpContext, import("xstate").EventObject, import("xstate").EventObject>;
|
|
45
|
+
export declare const setFieldErrors: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
46
|
+
export declare const setRemoteError: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
47
|
+
export declare const setUnverifiedContactMethods: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
48
|
+
export declare const setUser: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
49
|
+
export declare const setUsername: import("xstate").AssignAction<ActorContextWithForms, import("xstate").EventObject, import("xstate").EventObject>;
|
|
50
|
+
export declare const setCodeDeliveryDetails: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
51
|
+
export declare const setUsernameAuthAttributes: import("xstate").AssignAction<ActorContextWithForms, import("xstate").EventObject, import("xstate").EventObject>;
|
|
52
|
+
export declare const handleInput: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
53
|
+
export declare const handleSubmit: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
54
|
+
export declare const handleBlur: import("xstate").AssignAction<unknown, AuthEvent, AuthEvent>;
|
|
55
55
|
export declare const resendCode: (context: any) => Promise<any>;
|
|
56
56
|
/**
|
|
57
57
|
* This action occurs on the entry to a state where a form submit action
|
|
@@ -59,4 +59,4 @@ export declare const resendCode: (context: any) => Promise<any>;
|
|
|
59
59
|
* the result, and updates the form values with the full phone number which is
|
|
60
60
|
* the required format by Cognito for form submission.
|
|
61
61
|
*/
|
|
62
|
-
export declare const parsePhoneNumber: import("xstate").AssignAction<SignInContext | SignUpContext, import("xstate").EventObject>;
|
|
62
|
+
export declare const parsePhoneNumber: import("xstate").AssignAction<SignInContext | SignUpContext, import("xstate").EventObject, import("xstate").EventObject>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthEvent, ResetPasswordContext } from '../../../types';
|
|
2
2
|
import { defaultServices } from '../defaultServices';
|
|
3
|
-
export
|
|
3
|
+
export type ResetPasswordMachineOptions = {
|
|
4
4
|
services?: Partial<typeof defaultServices>;
|
|
5
5
|
};
|
|
6
6
|
export declare function resetPasswordActor({ services }: ResetPasswordMachineOptions): import("xstate").StateMachine<ResetPasswordContext, any, AuthEvent, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthEvent, SignInContext } from '../../../types';
|
|
2
2
|
import { defaultServices } from '../defaultServices';
|
|
3
|
-
export
|
|
3
|
+
export type SignInMachineOptions = {
|
|
4
4
|
services?: Partial<typeof defaultServices>;
|
|
5
5
|
};
|
|
6
6
|
export declare function signInActor({ services }: SignInMachineOptions): import("xstate").StateMachine<SignInContext, any, AuthEvent, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AuthContext, AuthEvent } from '../../types';
|
|
2
|
-
export
|
|
2
|
+
export type AuthenticatorMachineOptions = AuthContext['config'] & {
|
|
3
3
|
services?: AuthContext['services'];
|
|
4
4
|
};
|
|
5
5
|
export declare function createAuthenticatorMachine(): import("xstate").StateMachine<AuthContext, any, AuthEvent, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthEvent, SignUpContext } from '../../types';
|
|
2
2
|
import { defaultServices } from './defaultServices';
|
|
3
|
-
export
|
|
3
|
+
export type SignUpMachineOptions = {
|
|
4
4
|
services?: Partial<typeof defaultServices>;
|
|
5
5
|
};
|
|
6
6
|
export declare function createSignUpMachine({ services }: SignUpMachineOptions): import("xstate").StateMachine<SignUpContext, any, AuthEvent, {
|