@aws-amplify/ui-react-notifications 1.0.5 → 1.0.6
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/styles.css +129 -0
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -397,6 +397,7 @@
|
|
|
397
397
|
--amplify-components-fieldcontrol-disabled-border-color: var(--amplify-colors-transparent);
|
|
398
398
|
--amplify-components-fieldcontrol-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
399
399
|
--amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
|
|
400
|
+
--amplify-components-fieldcontrol-error-color: var(--amplify-colors-font-error);
|
|
400
401
|
--amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
|
|
401
402
|
--amplify-components-fieldgroup-gap: var(--amplify-space-zero);
|
|
402
403
|
--amplify-components-fieldgroup-vertical-align-items: center;
|
|
@@ -2893,10 +2894,14 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2893
2894
|
|
|
2894
2895
|
.amplify-liveness-toast {
|
|
2895
2896
|
background-color: var(--amplify-colors-background-primary);
|
|
2897
|
+
padding: var(--amplify-space-small);
|
|
2898
|
+
border-radius: var(--amplify-radii-medium);
|
|
2896
2899
|
}
|
|
2897
2900
|
|
|
2898
2901
|
.amplify-liveness-toast__message {
|
|
2899
2902
|
color: var(--amplify-colors-font-primary);
|
|
2903
|
+
text-align: center;
|
|
2904
|
+
flex-direction: column;
|
|
2900
2905
|
}
|
|
2901
2906
|
|
|
2902
2907
|
.amplify-liveness-toast--large {
|
|
@@ -2908,6 +2913,14 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2908
2913
|
}
|
|
2909
2914
|
.amplify-liveness-toast--primary .amplify-liveness-toast__message {
|
|
2910
2915
|
color: var(--amplify-colors-font-inverse);
|
|
2916
|
+
text-align: center;
|
|
2917
|
+
flex-direction: column;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
.amplify-liveness-toast__container {
|
|
2921
|
+
gap: var(--amplify-space-xs);
|
|
2922
|
+
flex-direction: column;
|
|
2923
|
+
align-items: center;
|
|
2911
2924
|
}
|
|
2912
2925
|
|
|
2913
2926
|
.amplify-liveness-toast--error {
|
|
@@ -3023,6 +3036,117 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3023
3036
|
top: 0;
|
|
3024
3037
|
}
|
|
3025
3038
|
|
|
3039
|
+
.amplify-liveness-landscape-error-modal {
|
|
3040
|
+
background-color: var(--amplify-colors-background-primary);
|
|
3041
|
+
direction: column;
|
|
3042
|
+
text-align: center;
|
|
3043
|
+
align-items: center;
|
|
3044
|
+
justify-content: center;
|
|
3045
|
+
width: 100%;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
.amplify-liveness-landscape-error-modal__header {
|
|
3049
|
+
font-size: large;
|
|
3050
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
.amplify-liveness-landscape-error-modal__button {
|
|
3054
|
+
justify-content: center;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
.amplify-liveness-start-screen-header {
|
|
3058
|
+
display: flex;
|
|
3059
|
+
flex-direction: column;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
.amplify-liveness-start-screen-header__heading {
|
|
3063
|
+
color: var(--amplify-colors-font-primary);
|
|
3064
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
.amplify-liveness-start-screen-header__body {
|
|
3068
|
+
color: var(--amplify-colors-font-primary);
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
.amplify-liveness-start-screen-warning {
|
|
3072
|
+
color: var(--amplify-colors-orange-80);
|
|
3073
|
+
background-color: var(--amplify-colors-orange-20);
|
|
3074
|
+
align-items: center;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
.amplify-liveness-start-screen-instructions__heading {
|
|
3078
|
+
color: var(--amplify-colors-font-primary);
|
|
3079
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
.amplify-liveness-overlay-opaque {
|
|
3083
|
+
background-color: var(--amplify-colors-overlay-40);
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
.amplify-liveness-overlay {
|
|
3087
|
+
flex-direction: column;
|
|
3088
|
+
position: absolute;
|
|
3089
|
+
left: 0;
|
|
3090
|
+
top: 0;
|
|
3091
|
+
width: 100%;
|
|
3092
|
+
height: 100%;
|
|
3093
|
+
padding: var(--amplify-space-xl);
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
.amplify-liveness-error-modal {
|
|
3097
|
+
gap: var(--amplify-space-xs);
|
|
3098
|
+
align-items: center;
|
|
3099
|
+
justify-content: center;
|
|
3100
|
+
color: var(--amplify-colors-font-error);
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
.amplify-liveness-error-modal__heading {
|
|
3104
|
+
font-weight: var(--amplify-font-weights-bold);
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
.amplify-liveness-hint__text {
|
|
3108
|
+
align-items: center;
|
|
3109
|
+
gap: var(--amplify-space-xs);
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
.amplify-liveness-popover {
|
|
3113
|
+
position: relative;
|
|
3114
|
+
cursor: pointer;
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
.amplify-liveness-popover__anchor {
|
|
3118
|
+
position: absolute;
|
|
3119
|
+
top: 26px;
|
|
3120
|
+
left: 3px;
|
|
3121
|
+
z-index: 3;
|
|
3122
|
+
border-style: solid;
|
|
3123
|
+
border-width: 0 9px 9px 9px;
|
|
3124
|
+
border-color: transparent transparent var(--amplify-colors-background-primary) transparent;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
.amplify-liveness-popover__anchor-secondary {
|
|
3128
|
+
position: absolute;
|
|
3129
|
+
top: 24px;
|
|
3130
|
+
left: 2px;
|
|
3131
|
+
z-index: 2;
|
|
3132
|
+
border-style: solid;
|
|
3133
|
+
border-width: 0 10px 10px 10px;
|
|
3134
|
+
border-color: transparent transparent var(--amplify-colors-border-secondary) transparent;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
.amplify-liveness-popover__container {
|
|
3138
|
+
position: absolute;
|
|
3139
|
+
background-color: var(--amplify-colors-background-primary);
|
|
3140
|
+
color: var(--amplify-colors-font-primary);
|
|
3141
|
+
flex-direction: row;
|
|
3142
|
+
font-size: var(--amplify-font-sizes-xs);
|
|
3143
|
+
padding: var(--amplify-space-small);
|
|
3144
|
+
top: 33px;
|
|
3145
|
+
width: 240px;
|
|
3146
|
+
border: 1px solid var(--amplify-colors-border-secondary);
|
|
3147
|
+
border-radius: 2px;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3026
3150
|
.amplify-fileuploader__dropzone {
|
|
3027
3151
|
background-color: var(--amplify-components-fileuploader-dropzone-background-color);
|
|
3028
3152
|
border-color: var(--amplify-components-fileuploader-dropzone-border-color);
|
|
@@ -3323,6 +3447,11 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3323
3447
|
);
|
|
3324
3448
|
}
|
|
3325
3449
|
|
|
3450
|
+
.amplify-field__show-password--error {
|
|
3451
|
+
color: var(--amplify-components-fieldcontrol-error-color);
|
|
3452
|
+
border-color: var(--amplify-components-fieldcontrol-error-border-color);
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3326
3455
|
.amplify-phonenumberfield select:not(:focus) {
|
|
3327
3456
|
border-right: none;
|
|
3328
3457
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-notifications",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@aws-amplify/ui": "5.6.
|
|
44
|
-
"@aws-amplify/ui-react": "5.0.
|
|
45
|
-
"@aws-amplify/ui-react-core-notifications": "1.0.
|
|
43
|
+
"@aws-amplify/ui": "5.6.7",
|
|
44
|
+
"@aws-amplify/ui-react": "5.0.5",
|
|
45
|
+
"@aws-amplify/ui-react-core-notifications": "1.0.3",
|
|
46
46
|
"classnames": "2.3.1",
|
|
47
47
|
"tinycolor2": "1.4.2"
|
|
48
48
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@aws-amplify/eslint-config-amplify-ui": "0.0.0",
|
|
56
56
|
"@rollup/plugin-typescript": "^8.3.1",
|
|
57
|
-
"@size-limit/preset-big-lib": "^
|
|
57
|
+
"@size-limit/preset-big-lib": "^8.2.6",
|
|
58
58
|
"@testing-library/jest-dom": "^5.14.1",
|
|
59
59
|
"@testing-library/react": "^12.0.0",
|
|
60
60
|
"@testing-library/react-hooks": "^7.0.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"rollup-plugin-node-externals": "^4.1.1",
|
|
73
73
|
"rollup-plugin-styles": "^4.0.0",
|
|
74
74
|
"rollup-plugin-terser": "^7.0.2",
|
|
75
|
-
"size-limit": "^
|
|
75
|
+
"size-limit": "^8.2.6",
|
|
76
76
|
"ts-jest": "^27.0.3"
|
|
77
77
|
},
|
|
78
78
|
"sideEffects": [
|