@aws-amplify/ui 5.5.9 → 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/helpers/storage/fileUploader/utils/uploader.mjs +1 -1
- 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/theme/tokens/components/storagemanager.mjs +1 -0
- package/dist/esm/types/primitives/componentClassName.mjs +1 -1
- package/dist/esm/utils/classname.mjs +1 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +597 -1
- package/dist/theme.css +68 -0
- package/dist/types/helpers/storage/fileUploader/utils/uploader.d.ts +6 -7
- package/dist/types/theme/tokens/components/field.d.ts +1 -1
- package/dist/types/theme/tokens/components/index.d.ts +4 -0
- package/dist/types/theme/tokens/components/liveness.d.ts +8 -0
- package/dist/types/theme/tokens/components/storagemanager.d.ts +6 -0
- package/dist/types/types/primitives/componentClassName.d.ts +17 -0
- package/dist/types/utils/classname.d.ts +19 -0
- package/dist/types/utils/index.d.ts +1 -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);
|
|
@@ -731,6 +733,72 @@
|
|
|
731
733
|
--amplify-components-stepperfield-button-disabled-background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
|
|
732
734
|
--amplify-components-stepperfield-button-hover-color: var(--amplify-components-button-hover-color);
|
|
733
735
|
--amplify-components-stepperfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
|
|
736
|
+
--amplify-components-storagemanager-dropzone-background-color: var(--amplify-colors-background-primary);
|
|
737
|
+
--amplify-components-storagemanager-dropzone-border-radius: var(--amplify-radii-small);
|
|
738
|
+
--amplify-components-storagemanager-dropzone-border-color: var(--amplify-colors-border-primary);
|
|
739
|
+
--amplify-components-storagemanager-dropzone-border-style: dashed;
|
|
740
|
+
--amplify-components-storagemanager-dropzone-border-width: var(--amplify-border-widths-small);
|
|
741
|
+
--amplify-components-storagemanager-dropzone-gap: var(--amplify-space-small);
|
|
742
|
+
--amplify-components-storagemanager-dropzone-padding-block: var(--amplify-space-xl);
|
|
743
|
+
--amplify-components-storagemanager-dropzone-padding-inline: var(--amplify-space-large);
|
|
744
|
+
--amplify-components-storagemanager-dropzone-text-align: center;
|
|
745
|
+
--amplify-components-storagemanager-dropzone-active-background-color: var(--amplify-colors-brand-primary-10);
|
|
746
|
+
--amplify-components-storagemanager-dropzone-active-border-radius: var(--amplify-components-fileuploader-dropzone-border-radius);
|
|
747
|
+
--amplify-components-storagemanager-dropzone-active-border-color: var(--amplify-colors-border-pressed);
|
|
748
|
+
--amplify-components-storagemanager-dropzone-active-border-style: var(--amplify-components-fileuploader-dropzone-border-style);
|
|
749
|
+
--amplify-components-storagemanager-dropzone-active-border-width: var(--amplify-border-widths-medium);
|
|
750
|
+
--amplify-components-storagemanager-dropzone-icon-color: var(--amplify-colors-border-primary);
|
|
751
|
+
--amplify-components-storagemanager-dropzone-icon-font-size: var(--amplify-font-sizes-xxl);
|
|
752
|
+
--amplify-components-storagemanager-dropzone-text-color: var(--amplify-colors-font-tertiary);
|
|
753
|
+
--amplify-components-storagemanager-dropzone-text-font-size: var(--amplify-font-sizes-medium);
|
|
754
|
+
--amplify-components-storagemanager-dropzone-text-font-weight: var(--amplify-font-weights-bold);
|
|
755
|
+
--amplify-components-storagemanager-file-background-color: var(--amplify-colors-background-primary);
|
|
756
|
+
--amplify-components-storagemanager-file-border-radius: var(--amplify-radii-small);
|
|
757
|
+
--amplify-components-storagemanager-file-border-color: var(--amplify-colors-border-primary);
|
|
758
|
+
--amplify-components-storagemanager-file-border-style: solid;
|
|
759
|
+
--amplify-components-storagemanager-file-border-width: var(--amplify-border-widths-small);
|
|
760
|
+
--amplify-components-storagemanager-file-padding-block: var(--amplify-space-xs);
|
|
761
|
+
--amplify-components-storagemanager-file-padding-inline: var(--amplify-space-small);
|
|
762
|
+
--amplify-components-storagemanager-file-gap: var(--amplify-space-small);
|
|
763
|
+
--amplify-components-storagemanager-file-align-items: baseline;
|
|
764
|
+
--amplify-components-storagemanager-file-name-font-size: var(--amplify-font-sizes-medium);
|
|
765
|
+
--amplify-components-storagemanager-file-name-font-weight: var(--amplify-font-weights-bold);
|
|
766
|
+
--amplify-components-storagemanager-file-name-color: var(--amplify-colors-font-primary);
|
|
767
|
+
--amplify-components-storagemanager-file-size-font-size: var(--amplify-font-sizes-small);
|
|
768
|
+
--amplify-components-storagemanager-file-size-font-weight: var(--amplify-font-weights-normal);
|
|
769
|
+
--amplify-components-storagemanager-file-size-color: var(--amplify-colors-font-tertiary);
|
|
770
|
+
--amplify-components-storagemanager-file-image-width: var(--amplify-space-xxl);
|
|
771
|
+
--amplify-components-storagemanager-file-image-height: var(--amplify-space-xxl);
|
|
772
|
+
--amplify-components-storagemanager-file-image-background-color: var(--amplify-colors-background-secondary);
|
|
773
|
+
--amplify-components-storagemanager-file-image-color: var(--amplify-colors-font-tertiary);
|
|
774
|
+
--amplify-components-storagemanager-file-image-border-radius: var(--amplify-radii-small);
|
|
775
|
+
--amplify-components-storagemanager-loader-stroke-linecap: round;
|
|
776
|
+
--amplify-components-storagemanager-loader-stroke-empty: var(--amplify-colors-border-secondary);
|
|
777
|
+
--amplify-components-storagemanager-loader-stroke-filled: var(--amplify-components-loader-stroke-filled);
|
|
778
|
+
--amplify-components-storagemanager-loader-stroke-width: var(--amplify-border-widths-large);
|
|
779
|
+
--amplify-components-storagemanager-previewer-background-color: var(--amplify-colors-background-primary);
|
|
780
|
+
--amplify-components-storagemanager-previewer-border-color: var(--amplify-colors-border-primary);
|
|
781
|
+
--amplify-components-storagemanager-previewer-border-style: solid;
|
|
782
|
+
--amplify-components-storagemanager-previewer-border-width: var(--amplify-border-widths-small);
|
|
783
|
+
--amplify-components-storagemanager-previewer-border-radius: var(--amplify-radii-small);
|
|
784
|
+
--amplify-components-storagemanager-previewer-padding-block: var(--amplify-space-zero);
|
|
785
|
+
--amplify-components-storagemanager-previewer-padding-inline: var(--amplify-space-zero);
|
|
786
|
+
--amplify-components-storagemanager-previewer-max-height: 40rem;
|
|
787
|
+
--amplify-components-storagemanager-previewer-max-width: auto;
|
|
788
|
+
--amplify-components-storagemanager-previewer-text-font-size: var(--amplify-font-sizes-medium);
|
|
789
|
+
--amplify-components-storagemanager-previewer-text-font-weight: var(--amplify-font-weights-bold);
|
|
790
|
+
--amplify-components-storagemanager-previewer-text-color: var(--amplify-colors-font-primary);
|
|
791
|
+
--amplify-components-storagemanager-previewer-body-padding-block: var(--amplify-space-medium);
|
|
792
|
+
--amplify-components-storagemanager-previewer-body-padding-inline: var(--amplify-space-medium);
|
|
793
|
+
--amplify-components-storagemanager-previewer-body-gap: var(--amplify-space-small);
|
|
794
|
+
--amplify-components-storagemanager-previewer-footer-border-color: var(--amplify-colors-border-secondary);
|
|
795
|
+
--amplify-components-storagemanager-previewer-footer-border-style: solid;
|
|
796
|
+
--amplify-components-storagemanager-previewer-footer-border-width: var(--amplify-border-widths-small);
|
|
797
|
+
--amplify-components-storagemanager-previewer-footer-padding-block: var(--amplify-space-medium);
|
|
798
|
+
--amplify-components-storagemanager-previewer-footer-padding-inline: var(--amplify-space-medium);
|
|
799
|
+
--amplify-components-storagemanager-previewer-footer-justify-content: space-between;
|
|
800
|
+
--amplify-components-storagemanager-filelist-flex-direction: column;
|
|
801
|
+
--amplify-components-storagemanager-filelist-gap: var(--amplify-space-small);
|
|
734
802
|
--amplify-components-switchfield-disabled-opacity: var(--amplify-opacities-60);
|
|
735
803
|
--amplify-components-switchfield-focused-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
|
|
736
804
|
--amplify-components-switchfield-font-size: var(--amplify-font-sizes-medium);
|
|
@@ -2554,6 +2622,7 @@ strong.amplify-text {
|
|
|
2554
2622
|
.amplify-field {
|
|
2555
2623
|
font-size: var(--amplify-components-field-font-size);
|
|
2556
2624
|
gap: var(--amplify-components-field-gap);
|
|
2625
|
+
flex-direction: var(--amplify-components-field-flex-direction);
|
|
2557
2626
|
}
|
|
2558
2627
|
.amplify-field--small {
|
|
2559
2628
|
font-size: var(--amplify-components-field-small-font-size);
|
|
@@ -2702,6 +2771,258 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2702
2771
|
height: 100%;
|
|
2703
2772
|
}
|
|
2704
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
|
+
|
|
2705
3026
|
.amplify-fileuploader__dropzone {
|
|
2706
3027
|
background-color: var(--amplify-components-fileuploader-dropzone-background-color);
|
|
2707
3028
|
border-color: var(--amplify-components-fileuploader-dropzone-border-color);
|
|
@@ -3893,7 +4214,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3893
4214
|
}
|
|
3894
4215
|
|
|
3895
4216
|
.amplify-textfield {
|
|
3896
|
-
flex-direction: column;
|
|
3897
4217
|
--amplify-components-fieldcontrol-color: var(
|
|
3898
4218
|
--amplify-components-textfield-color
|
|
3899
4219
|
);
|
|
@@ -4402,6 +4722,282 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4402
4722
|
margin: var(--amplify-space-small);
|
|
4403
4723
|
}
|
|
4404
4724
|
|
|
4725
|
+
.amplify-fileuploader__dropzone {
|
|
4726
|
+
background-color: var(--amplify-components-fileuploader-dropzone-background-color);
|
|
4727
|
+
border-color: var(--amplify-components-fileuploader-dropzone-border-color);
|
|
4728
|
+
border-radius: var(--amplify-components-fileuploader-dropzone-border-radius);
|
|
4729
|
+
border-style: var(--amplify-components-fileuploader-dropzone-border-style);
|
|
4730
|
+
border-width: var(--amplify-components-fileuploader-dropzone-border-width);
|
|
4731
|
+
text-align: var(--amplify-components-fileuploader-dropzone-text-align);
|
|
4732
|
+
padding-block: var(--amplify-components-fileuploader-dropzone-padding-block);
|
|
4733
|
+
padding-inline: var(--amplify-components-fileuploader-dropzone-padding-inline);
|
|
4734
|
+
display: flex;
|
|
4735
|
+
flex-direction: column;
|
|
4736
|
+
align-items: center;
|
|
4737
|
+
gap: var(--amplify-components-fileuploader-dropzone-gap);
|
|
4738
|
+
}
|
|
4739
|
+
.amplify-fileuploader__dropzone--small {
|
|
4740
|
+
flex-direction: row;
|
|
4741
|
+
justify-content: center;
|
|
4742
|
+
}
|
|
4743
|
+
.amplify-fileuploader__dropzone--active {
|
|
4744
|
+
border-color: var(--amplify-components-fileuploader-dropzone-active-border-color);
|
|
4745
|
+
border-width: var(--amplify-components-fileuploader-dropzone-active-border-width);
|
|
4746
|
+
background-color: var(--amplify-components-fileuploader-dropzone-active-background-color);
|
|
4747
|
+
}
|
|
4748
|
+
.amplify-fileuploader__dropzone__icon {
|
|
4749
|
+
font-size: var(--amplify-components-fileuploader-dropzone-icon-font-size);
|
|
4750
|
+
color: var(--amplify-components-fileuploader-dropzone-icon-color);
|
|
4751
|
+
}
|
|
4752
|
+
.amplify-fileuploader__dropzone__text {
|
|
4753
|
+
color: var(--amplify-components-fileuploader-dropzone-text-color);
|
|
4754
|
+
font-size: var(--amplify-components-fileuploader-dropzone-text-font-size);
|
|
4755
|
+
font-weight: var(--amplify-components-fileuploader-dropzone-text-font-weight);
|
|
4756
|
+
}
|
|
4757
|
+
.amplify-fileuploader__file {
|
|
4758
|
+
position: relative;
|
|
4759
|
+
border-width: var(--amplify-components-fileuploader-file-border-width);
|
|
4760
|
+
border-style: var(--amplify-components-fileuploader-file-border-style);
|
|
4761
|
+
border-color: var(--amplify-components-fileuploader-file-border-color);
|
|
4762
|
+
border-radius: var(--amplify-components-fileuploader-file-border-radius);
|
|
4763
|
+
display: flex;
|
|
4764
|
+
flex-direction: column;
|
|
4765
|
+
padding-inline: var(--amplify-components-fileuploader-file-padding-inline);
|
|
4766
|
+
padding-block: var(--amplify-components-fileuploader-file-padding-block);
|
|
4767
|
+
align-items: var(--amplify-components-fileuploader-file-align-items);
|
|
4768
|
+
}
|
|
4769
|
+
.amplify-fileuploader__file__wrapper {
|
|
4770
|
+
width: 100%;
|
|
4771
|
+
display: flex;
|
|
4772
|
+
flex-direction: row;
|
|
4773
|
+
align-items: center;
|
|
4774
|
+
gap: var(--amplify-components-fileuploader-file-gap);
|
|
4775
|
+
}
|
|
4776
|
+
.amplify-fileuploader__file__name {
|
|
4777
|
+
text-overflow: ellipsis;
|
|
4778
|
+
overflow: hidden;
|
|
4779
|
+
font-weight: var(--amplify-components-fileuploader-file-name-font-weight);
|
|
4780
|
+
font-size: var(--amplify-components-fileuploader-file-name-font-size);
|
|
4781
|
+
color: var(--amplify-components-fileuploader-file-name-color);
|
|
4782
|
+
}
|
|
4783
|
+
.amplify-fileuploader__file__size {
|
|
4784
|
+
font-weight: var(--amplify-components-fileuploader-file-size-font-weight);
|
|
4785
|
+
font-size: var(--amplify-components-fileuploader-file-size-font-size);
|
|
4786
|
+
color: var(--amplify-components-fileuploader-file-size-color);
|
|
4787
|
+
}
|
|
4788
|
+
.amplify-fileuploader__file__main {
|
|
4789
|
+
flex: 1;
|
|
4790
|
+
white-space: nowrap;
|
|
4791
|
+
overflow: hidden;
|
|
4792
|
+
}
|
|
4793
|
+
.amplify-fileuploader__file__image {
|
|
4794
|
+
position: relative;
|
|
4795
|
+
display: flex;
|
|
4796
|
+
align-items: center;
|
|
4797
|
+
justify-content: center;
|
|
4798
|
+
width: var(--amplify-components-fileuploader-file-image-width);
|
|
4799
|
+
height: var(--amplify-components-fileuploader-file-image-height);
|
|
4800
|
+
background-color: var(--amplify-components-fileuploader-file-image-background-color);
|
|
4801
|
+
border-radius: var(--amplify-components-fileuploader-file-image-border-radius);
|
|
4802
|
+
color: var(--amplify-components-fileuploader-file-image-color);
|
|
4803
|
+
}
|
|
4804
|
+
.amplify-fileuploader__file__image img {
|
|
4805
|
+
max-height: 100%;
|
|
4806
|
+
}
|
|
4807
|
+
.amplify-fileuploader__file__status--error {
|
|
4808
|
+
color: var(--amplify-colors-font-error);
|
|
4809
|
+
font-size: var(--amplify-components-fileuploader-file-size-font-size);
|
|
4810
|
+
}
|
|
4811
|
+
.amplify-fileuploader__file__status--success {
|
|
4812
|
+
color: var(--amplify-colors-font-success);
|
|
4813
|
+
}
|
|
4814
|
+
.amplify-fileuploader__loader {
|
|
4815
|
+
stroke-linecap: var(--amplify-components-fileuploader-loader-stroke-linecap);
|
|
4816
|
+
stroke: var(--amplify-components-fileuploader-loader-stroke-empty);
|
|
4817
|
+
stroke-width: var(--amplify-components-fileuploader-loader-stroke-width);
|
|
4818
|
+
height: var(--amplify-components-fileuploader-loader-stroke-width);
|
|
4819
|
+
--amplify-components-loader-linear-stroke-filled: var(
|
|
4820
|
+
--amplify-components-fileuploader-loader-stroke-filled
|
|
4821
|
+
);
|
|
4822
|
+
overflow: hidden;
|
|
4823
|
+
position: absolute;
|
|
4824
|
+
bottom: 0;
|
|
4825
|
+
left: 0;
|
|
4826
|
+
width: 100%;
|
|
4827
|
+
}
|
|
4828
|
+
.amplify-fileuploader__previewer {
|
|
4829
|
+
display: block;
|
|
4830
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
4831
|
+
background-color: var(--amplify-components-fileuploader-previewer-background-color);
|
|
4832
|
+
border-width: var(--amplify-components-fileuploader-previewer-border-width);
|
|
4833
|
+
border-style: var(--amplify-components-fileuploader-previewer-border-style);
|
|
4834
|
+
border-color: var(--amplify-components-fileuploader-previewer-border-color);
|
|
4835
|
+
border-radius: var(--amplify-components-fileuploader-previewer-border-radius);
|
|
4836
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-padding-inline);
|
|
4837
|
+
padding-block: var(--amplify-components-fileuploader-previewer-padding-block);
|
|
4838
|
+
}
|
|
4839
|
+
.amplify-fileuploader__previewer__text {
|
|
4840
|
+
font-weight: var(--amplify-components-fileuploader-previewer-text-font-weight);
|
|
4841
|
+
font-size: var(--amplify-components-fileuploader-previewer-text-font-size);
|
|
4842
|
+
color: var(--amplify-components-fileuploader-previewer-text-color);
|
|
4843
|
+
}
|
|
4844
|
+
.amplify-fileuploader__previewer__body {
|
|
4845
|
+
display: flex;
|
|
4846
|
+
flex-direction: column;
|
|
4847
|
+
max-height: var(--amplify-components-fileuploader-previewer-max-height);
|
|
4848
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
4849
|
+
overflow: auto;
|
|
4850
|
+
gap: var(--amplify-components-fileuploader-previewer-body-gap);
|
|
4851
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-body-padding-inline);
|
|
4852
|
+
padding-block: var(--amplify-components-fileuploader-previewer-body-padding-block);
|
|
4853
|
+
}
|
|
4854
|
+
.amplify-fileuploader__previewer__footer {
|
|
4855
|
+
max-width: var(--amplify-components-fileuploader-previewer-max-width);
|
|
4856
|
+
border-top-width: var(--amplify-components-fileuploader-previewer-footer-border-width);
|
|
4857
|
+
border-top-style: var(--amplify-components-fileuploader-previewer-footer-border-style);
|
|
4858
|
+
border-top-color: var(--amplify-components-fileuploader-previewer-footer-border-color);
|
|
4859
|
+
padding-inline: var(--amplify-components-fileuploader-previewer-footer-padding-inline);
|
|
4860
|
+
padding-block: var(--amplify-components-fileuploader-previewer-footer-padding-block);
|
|
4861
|
+
position: relative;
|
|
4862
|
+
display: flex;
|
|
4863
|
+
flex-direction: row;
|
|
4864
|
+
justify-content: var(--amplify-components-fileuploader-previewer-footer-justify-content);
|
|
4865
|
+
}
|
|
4866
|
+
.amplify-fileuploader__previewer__footer__actions {
|
|
4867
|
+
display: flex;
|
|
4868
|
+
flex-direction: row;
|
|
4869
|
+
gap: var(--amplify-space-small);
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
.amplify-storagemanager__dropzone {
|
|
4873
|
+
background-color: var(--amplify-components-storagemanager-dropzone-background-color);
|
|
4874
|
+
border-color: var(--amplify-components-storagemanager-dropzone-border-color);
|
|
4875
|
+
border-radius: var(--amplify-components-storagemanager-dropzone-border-radius);
|
|
4876
|
+
border-style: var(--amplify-components-storagemanager-dropzone-border-style);
|
|
4877
|
+
border-width: var(--amplify-components-storagemanager-dropzone-border-width);
|
|
4878
|
+
text-align: var(--amplify-components-storagemanager-dropzone-text-align);
|
|
4879
|
+
padding-block: var(--amplify-components-storagemanager-dropzone-padding-block);
|
|
4880
|
+
padding-inline: var(--amplify-components-storagemanager-dropzone-padding-inline);
|
|
4881
|
+
display: flex;
|
|
4882
|
+
flex-direction: column;
|
|
4883
|
+
align-items: center;
|
|
4884
|
+
gap: var(--amplify-components-storagemanager-dropzone-gap);
|
|
4885
|
+
}
|
|
4886
|
+
.amplify-storagemanager__dropzone--small {
|
|
4887
|
+
flex-direction: row;
|
|
4888
|
+
justify-content: center;
|
|
4889
|
+
}
|
|
4890
|
+
.amplify-storagemanager__dropzone--active {
|
|
4891
|
+
border-color: var(--amplify-components-storagemanager-dropzone-active-border-color);
|
|
4892
|
+
border-width: var(--amplify-components-storagemanager-dropzone-active-border-width);
|
|
4893
|
+
background-color: var(--amplify-components-storagemanager-dropzone-active-background-color);
|
|
4894
|
+
}
|
|
4895
|
+
.amplify-storagemanager__dropzone__icon {
|
|
4896
|
+
font-size: var(--amplify-components-storagemanager-dropzone-icon-font-size);
|
|
4897
|
+
color: var(--amplify-components-storagemanager-dropzone-icon-color);
|
|
4898
|
+
}
|
|
4899
|
+
.amplify-storagemanager__dropzone__text {
|
|
4900
|
+
color: var(--amplify-components-storagemanager-dropzone-text-color);
|
|
4901
|
+
font-size: var(--amplify-components-storagemanager-dropzone-text-font-size);
|
|
4902
|
+
font-weight: var(--amplify-components-storagemanager-dropzone-text-font-weight);
|
|
4903
|
+
}
|
|
4904
|
+
.amplify-storagemanager__file__list {
|
|
4905
|
+
display: flex;
|
|
4906
|
+
flex-direction: var(--amplify-components-storagemanager-filelist-flex-direction);
|
|
4907
|
+
gap: var(--amplify-components-storagemanager-filelist-gap);
|
|
4908
|
+
}
|
|
4909
|
+
.amplify-storagemanager__file {
|
|
4910
|
+
position: relative;
|
|
4911
|
+
border-width: var(--amplify-components-storagemanager-file-border-width);
|
|
4912
|
+
border-style: var(--amplify-components-storagemanager-file-border-style);
|
|
4913
|
+
border-color: var(--amplify-components-storagemanager-file-border-color);
|
|
4914
|
+
border-radius: var(--amplify-components-storagemanager-file-border-radius);
|
|
4915
|
+
display: flex;
|
|
4916
|
+
flex-direction: column;
|
|
4917
|
+
padding-inline: var(--amplify-components-storagemanager-file-padding-inline);
|
|
4918
|
+
padding-block: var(--amplify-components-storagemanager-file-padding-block);
|
|
4919
|
+
align-items: var(--amplify-components-storagemanager-file-align-items);
|
|
4920
|
+
}
|
|
4921
|
+
.amplify-storagemanager__file__wrapper {
|
|
4922
|
+
width: 100%;
|
|
4923
|
+
display: flex;
|
|
4924
|
+
flex-direction: row;
|
|
4925
|
+
align-items: center;
|
|
4926
|
+
gap: var(--amplify-components-storagemanager-file-gap);
|
|
4927
|
+
}
|
|
4928
|
+
.amplify-storagemanager__file__name {
|
|
4929
|
+
text-overflow: ellipsis;
|
|
4930
|
+
overflow: hidden;
|
|
4931
|
+
font-weight: var(--amplify-components-storagemanager-file-name-font-weight);
|
|
4932
|
+
font-size: var(--amplify-components-storagemanager-file-name-font-size);
|
|
4933
|
+
color: var(--amplify-components-storagemanager-file-name-color);
|
|
4934
|
+
}
|
|
4935
|
+
.amplify-storagemanager__file__size {
|
|
4936
|
+
font-weight: var(--amplify-components-storagemanager-file-size-font-weight);
|
|
4937
|
+
font-size: var(--amplify-components-storagemanager-file-size-font-size);
|
|
4938
|
+
color: var(--amplify-components-storagemanager-file-size-color);
|
|
4939
|
+
}
|
|
4940
|
+
.amplify-storagemanager__file__main {
|
|
4941
|
+
flex: 1;
|
|
4942
|
+
white-space: nowrap;
|
|
4943
|
+
overflow: hidden;
|
|
4944
|
+
}
|
|
4945
|
+
.amplify-storagemanager__file__image {
|
|
4946
|
+
position: relative;
|
|
4947
|
+
display: flex;
|
|
4948
|
+
align-items: center;
|
|
4949
|
+
justify-content: center;
|
|
4950
|
+
width: var(--amplify-components-storagemanager-file-image-width);
|
|
4951
|
+
height: var(--amplify-components-storagemanager-file-image-height);
|
|
4952
|
+
background-color: var(--amplify-components-storagemanager-file-image-background-color);
|
|
4953
|
+
border-radius: var(--amplify-components-storagemanager-file-image-border-radius);
|
|
4954
|
+
color: var(--amplify-components-storagemanager-file-image-color);
|
|
4955
|
+
}
|
|
4956
|
+
.amplify-storagemanager__file__image img {
|
|
4957
|
+
max-height: 100%;
|
|
4958
|
+
}
|
|
4959
|
+
.amplify-storagemanager__file__status--error {
|
|
4960
|
+
color: var(--amplify-colors-font-error);
|
|
4961
|
+
font-size: var(--amplify-components-storagemanager-file-size-font-size);
|
|
4962
|
+
}
|
|
4963
|
+
.amplify-storagemanager__file__status--success {
|
|
4964
|
+
color: var(--amplify-colors-font-success);
|
|
4965
|
+
}
|
|
4966
|
+
.amplify-storagemanager__loader {
|
|
4967
|
+
stroke-linecap: var(--amplify-components-storagemanager-loader-stroke-linecap);
|
|
4968
|
+
stroke: var(--amplify-components-storagemanager-loader-stroke-empty);
|
|
4969
|
+
stroke-width: var(--amplify-components-storagemanager-loader-stroke-width);
|
|
4970
|
+
height: var(--amplify-components-storagemanager-loader-stroke-width);
|
|
4971
|
+
--amplify-components-loader-linear-stroke-filled: var(
|
|
4972
|
+
--amplify-components-storagemanager-loader-stroke-filled
|
|
4973
|
+
);
|
|
4974
|
+
overflow: hidden;
|
|
4975
|
+
position: absolute;
|
|
4976
|
+
bottom: 0;
|
|
4977
|
+
left: 0;
|
|
4978
|
+
width: 100%;
|
|
4979
|
+
}
|
|
4980
|
+
.amplify-storagemanager__previewer {
|
|
4981
|
+
display: flex;
|
|
4982
|
+
flex-direction: column;
|
|
4983
|
+
max-width: var(--amplify-components-storagemanager-previewer-max-width);
|
|
4984
|
+
max-height: var(--amplify-components-storagemanager-previewer-max-height);
|
|
4985
|
+
overflow: auto;
|
|
4986
|
+
gap: var(--amplify-components-storagemanager-previewer-body-gap);
|
|
4987
|
+
padding-inline: var(--amplify-components-storagemanager-previewer-body-padding-inline);
|
|
4988
|
+
padding-block: var(--amplify-components-storagemanager-previewer-body-padding-block);
|
|
4989
|
+
background-color: var(--amplify-components-storagemanager-previewer-background-color);
|
|
4990
|
+
border-width: var(--amplify-components-storagemanager-previewer-border-width);
|
|
4991
|
+
border-style: var(--amplify-components-storagemanager-previewer-border-style);
|
|
4992
|
+
border-color: var(--amplify-components-storagemanager-previewer-border-color);
|
|
4993
|
+
border-radius: var(--amplify-components-storagemanager-previewer-border-radius);
|
|
4994
|
+
}
|
|
4995
|
+
.amplify-storagemanager__previewer__text {
|
|
4996
|
+
font-weight: var(--amplify-components-storagemanager-previewer-text-font-weight);
|
|
4997
|
+
font-size: var(--amplify-components-storagemanager-previewer-text-font-size);
|
|
4998
|
+
color: var(--amplify-components-storagemanager-previewer-text-color);
|
|
4999
|
+
}
|
|
5000
|
+
|
|
4405
5001
|
[data-label-position=start] {
|
|
4406
5002
|
flex-direction: row;
|
|
4407
5003
|
}
|