@aws-amplify/ui 5.5.10 → 5.6.0
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/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/index.js +1 -1
- package/dist/styles.css +402 -1
- package/dist/theme.css +2 -0
- package/dist/types/theme/tokens/components/field.d.ts +1 -1
- package/dist/types/theme/tokens/components/index.d.ts +2 -0
- package/dist/types/theme/tokens/components/liveness.d.ts +8 -0
- package/package.json +1 -1
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);
|
|
@@ -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);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
declare type FieldSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'gap', Output>;
|
|
3
|
-
export declare type FieldTokens<Output extends OutputVariantKey> = FieldSizeTokens<Output> & {
|
|
3
|
+
export declare type FieldTokens<Output extends OutputVariantKey> = FieldSizeTokens<Output> & DesignTokenProperties<'flexDirection', Output> & {
|
|
4
4
|
small?: FieldSizeTokens<Output>;
|
|
5
5
|
large?: FieldSizeTokens<Output>;
|
|
6
6
|
label?: DesignTokenProperties<'color', Output>;
|
|
@@ -23,6 +23,7 @@ import { IconTokens } from './icon';
|
|
|
23
23
|
import { ImageTokens } from './image';
|
|
24
24
|
import { InAppMessagingTokens } from './inAppMessaging';
|
|
25
25
|
import { LinkTokens } from './link';
|
|
26
|
+
import { LivenessTokens } from './liveness';
|
|
26
27
|
import { LoaderTokens } from './loader';
|
|
27
28
|
import { MenuTokens } from './menu';
|
|
28
29
|
import { PaginationTokens } from './pagination';
|
|
@@ -73,6 +74,7 @@ declare type BaseComponentTokens<Output extends OutputVariantKey> = {
|
|
|
73
74
|
image?: ImageTokens<Output>;
|
|
74
75
|
inappmessaging?: InAppMessagingTokens<Output>;
|
|
75
76
|
link?: LinkTokens<Output>;
|
|
77
|
+
liveness?: LivenessTokens<Output>;
|
|
76
78
|
loader?: LoaderTokens<Output>;
|
|
77
79
|
menu?: MenuTokens<Output>;
|
|
78
80
|
pagination?: PaginationTokens<Output>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
|
+
declare type ModalTokenKey = 'backgroundColor';
|
|
3
|
+
declare type LivenessModalTokens<OutputType> = DesignTokenProperties<ModalTokenKey, OutputType>;
|
|
4
|
+
export declare type LivenessTokens<OutputType extends OutputVariantKey> = {
|
|
5
|
+
cameraModule?: LivenessModalTokens<OutputType>;
|
|
6
|
+
};
|
|
7
|
+
export declare const liveness: Required<LivenessTokens<'default'>>;
|
|
8
|
+
export {};
|