@aws-amplify/ui-react-storage 3.0.9 → 3.0.11
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/version.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +70 -11
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ function _interopNamespace(e) {
|
|
|
32
32
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
33
33
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
34
34
|
|
|
35
|
-
const VERSION = '3.0.
|
|
35
|
+
const VERSION = '3.0.11';
|
|
36
36
|
|
|
37
37
|
const StorageImage = ({ accessLevel, className, fallbackSrc, identityId, imgKey, onStorageGetError, validateObjectExistence, ...rest }) => {
|
|
38
38
|
const resolvedValidateObjectExistence = ui.isUndefined(validateObjectExistence)
|
package/dist/styles.css
CHANGED
|
@@ -197,10 +197,10 @@
|
|
|
197
197
|
--amplify-components-button-outlined-success-active-border-color: var(--amplify-colors-green-100);
|
|
198
198
|
--amplify-components-button-outlined-success-active-background-color: var(--amplify-colors-green-20);
|
|
199
199
|
--amplify-components-button-outlined-success-active-color: var(--amplify-colors-green-100);
|
|
200
|
-
--amplify-components-button-outlined-error-border-color: var(--amplify-colors-red-
|
|
200
|
+
--amplify-components-button-outlined-error-border-color: var(--amplify-colors-red-80);
|
|
201
201
|
--amplify-components-button-outlined-error-background-color: transparent;
|
|
202
202
|
--amplify-components-button-outlined-error-color: var(--amplify-colors-red-100);
|
|
203
|
-
--amplify-components-button-outlined-error-hover-border-color: var(--amplify-colors-red-
|
|
203
|
+
--amplify-components-button-outlined-error-hover-border-color: var(--amplify-colors-red-80);
|
|
204
204
|
--amplify-components-button-outlined-error-hover-background-color: var(--amplify-colors-red-10);
|
|
205
205
|
--amplify-components-button-outlined-error-hover-color: var(--amplify-colors-red-100);
|
|
206
206
|
--amplify-components-button-outlined-error-focus-border-color: var(--amplify-colors-red-100);
|
|
@@ -851,6 +851,19 @@
|
|
|
851
851
|
--amplify-components-passwordfield-button-disabled-background-color: var(--amplify-components-button-disabled-background-color);
|
|
852
852
|
--amplify-components-passwordfield-button-disabled-border-color: var(--amplify-components-button-disabled-border-color);
|
|
853
853
|
--amplify-components-passwordfield-button-disabled-color: var(--amplify-components-button-disabled-color);
|
|
854
|
+
--amplify-components-passwordfield-button-error-color: var(--amplify-components-button-outlined-error-color);
|
|
855
|
+
--amplify-components-passwordfield-button-error-background-color: var(--amplify-components-button-outlined-error-background-color);
|
|
856
|
+
--amplify-components-passwordfield-button-error-border-color: var(--amplify-components-button-outlined-error-border-color);
|
|
857
|
+
--amplify-components-passwordfield-button-error-active-border-color: var(--amplify-components-button-outlined-error-active-border-color);
|
|
858
|
+
--amplify-components-passwordfield-button-error-active-background-color: var(--amplify-components-button-outlined-error-active-background-color);
|
|
859
|
+
--amplify-components-passwordfield-button-error-active-color: var(--amplify-components-button-outlined-error-active-color);
|
|
860
|
+
--amplify-components-passwordfield-button-error-focus-border-color: var(--amplify-components-button-outlined-error-focus-border-color);
|
|
861
|
+
--amplify-components-passwordfield-button-error-focus-background-color: var(--amplify-components-button-outlined-error-focus-background-color);
|
|
862
|
+
--amplify-components-passwordfield-button-error-focus-color: var(--amplify-components-button-outlined-error-focus-color);
|
|
863
|
+
--amplify-components-passwordfield-button-error-focus-box-shadow: var(--amplify-components-button-outlined-error-focus-box-shadow);
|
|
864
|
+
--amplify-components-passwordfield-button-error-hover-border-color: var(--amplify-components-button-outlined-error-hover-border-color);
|
|
865
|
+
--amplify-components-passwordfield-button-error-hover-background-color: var(--amplify-components-button-outlined-error-hover-background-color);
|
|
866
|
+
--amplify-components-passwordfield-button-error-hover-color: var(--amplify-components-button-outlined-error-hover-color);
|
|
854
867
|
--amplify-components-passwordfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
|
|
855
868
|
--amplify-components-passwordfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
|
|
856
869
|
--amplify-components-passwordfield-button-focus-color: var(--amplify-components-button-focus-color);
|
|
@@ -3911,6 +3924,12 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3911
3924
|
right: var(--amplify-space-medium);
|
|
3912
3925
|
}
|
|
3913
3926
|
|
|
3927
|
+
.liveness-detector .amplify-button--primary:focus {
|
|
3928
|
+
box-shadow: unset;
|
|
3929
|
+
outline: var(--amplify-components-button-focus-color) solid 2px;
|
|
3930
|
+
outline-offset: 2px;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3914
3933
|
.amplify-liveness-cancel-button {
|
|
3915
3934
|
background-color: #fff;
|
|
3916
3935
|
color: hsl(190, 95%, 30%);
|
|
@@ -3945,6 +3964,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3945
3964
|
left: 0;
|
|
3946
3965
|
height: 100%;
|
|
3947
3966
|
width: 100%;
|
|
3967
|
+
z-index: 2;
|
|
3948
3968
|
}
|
|
3949
3969
|
|
|
3950
3970
|
.amplify-liveness-video {
|
|
@@ -4014,7 +4034,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4014
4034
|
}
|
|
4015
4035
|
|
|
4016
4036
|
.amplify-liveness-instruction-overlay {
|
|
4017
|
-
z-index:
|
|
4037
|
+
z-index: 2;
|
|
4018
4038
|
}
|
|
4019
4039
|
|
|
4020
4040
|
.amplify-liveness-countdown-container {
|
|
@@ -4248,6 +4268,10 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4248
4268
|
font-weight: var(--amplify-font-weights-bold);
|
|
4249
4269
|
}
|
|
4250
4270
|
|
|
4271
|
+
.amplify-liveness-hint--mobile {
|
|
4272
|
+
margin-top: var(--amplify-space-xxxl);
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4251
4275
|
.amplify-liveness-hint__text {
|
|
4252
4276
|
align-items: center;
|
|
4253
4277
|
gap: var(--amplify-space-xs);
|
|
@@ -4325,6 +4349,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4325
4349
|
flex-direction: column;
|
|
4326
4350
|
align-items: center;
|
|
4327
4351
|
justify-content: center;
|
|
4352
|
+
text-align: center;
|
|
4328
4353
|
height: 480px;
|
|
4329
4354
|
}
|
|
4330
4355
|
|
|
@@ -4580,11 +4605,45 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4580
4605
|
--amplify-components-button-hover-color: var(
|
|
4581
4606
|
--amplify-components-passwordfield-button-hover-color
|
|
4582
4607
|
);
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4608
|
+
--amplify-components-button-outlined-error-color: var(
|
|
4609
|
+
--amplify-components-passwordfield-button-error-color
|
|
4610
|
+
);
|
|
4611
|
+
--amplify-components-button-outlined-error-border-color: var(
|
|
4612
|
+
--amplify-components-passwordfield-button-error-border-color
|
|
4613
|
+
);
|
|
4614
|
+
--amplify-components-button-outlined-error-background-color: var(
|
|
4615
|
+
--amplify-components-passwordfield-button-error-background-color
|
|
4616
|
+
);
|
|
4617
|
+
--amplify-components-button-outlined-error-active-color: var(
|
|
4618
|
+
--amplify-components-passwordfield-button-error-active-color
|
|
4619
|
+
);
|
|
4620
|
+
--amplify-components-button-outlined-error-active-border-color: var(
|
|
4621
|
+
--amplify-components-passwordfield-button-error-active-border-color
|
|
4622
|
+
);
|
|
4623
|
+
--amplify-components-button-outlined-error-active-background-color: var(
|
|
4624
|
+
--amplify-components-passwordfield-button-error-active-background-color
|
|
4625
|
+
);
|
|
4626
|
+
--amplify-components-button-outlined-error-hover-color: var(
|
|
4627
|
+
--amplify-components-passwordfield-button-error-hover-color
|
|
4628
|
+
);
|
|
4629
|
+
--amplify-components-button-outlined-error-hover-border-color: var(
|
|
4630
|
+
--amplify-components-passwordfield-button-error-hover-border-color
|
|
4631
|
+
);
|
|
4632
|
+
--amplify-components-button-outlined-error-hover-background-color: var(
|
|
4633
|
+
--amplify-components-passwordfield-button-error-hover-background-color
|
|
4634
|
+
);
|
|
4635
|
+
--amplify-components-button-outlined-error-focus-color: var(
|
|
4636
|
+
--amplify-components-passwordfield-button-error-focus-color
|
|
4637
|
+
);
|
|
4638
|
+
--amplify-components-button-outlined-error-focus-box-shadow: var(
|
|
4639
|
+
--amplify-components-passwordfield-button-error-focus-box-shadow
|
|
4640
|
+
);
|
|
4641
|
+
--amplify-components-button-outlined-error-focus-border-color: var(
|
|
4642
|
+
--amplify-components-passwordfield-button-error-focus-border-color
|
|
4643
|
+
);
|
|
4644
|
+
--amplify-components-button-outlined-error-focus-background-color: var(
|
|
4645
|
+
--amplify-components-passwordfield-button-error-focus-background-color
|
|
4646
|
+
);
|
|
4588
4647
|
}
|
|
4589
4648
|
|
|
4590
4649
|
.amplify-phonenumberfield select:not(:focus) {
|
|
@@ -5327,6 +5386,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
5327
5386
|
var(--amplify-components-table-header-border-width)
|
|
5328
5387
|
var(--amplify-components-table-header-border-width);
|
|
5329
5388
|
}
|
|
5389
|
+
.amplify-table--striped .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
|
|
5390
|
+
background-color: var(--amplify-components-table-row-striped-background-color);
|
|
5391
|
+
}
|
|
5330
5392
|
.amplify-table__caption {
|
|
5331
5393
|
caption-side: var(--amplify-components-table-caption-caption-side);
|
|
5332
5394
|
color: var(--amplify-components-table-caption-color);
|
|
@@ -5385,9 +5447,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
5385
5447
|
.amplify-table__td:last-child {
|
|
5386
5448
|
border-right-width: var(--amplify-components-table-data-border-width);
|
|
5387
5449
|
}
|
|
5388
|
-
.amplify-table[data-variation=striped] .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
|
|
5389
|
-
background-color: var(--amplify-components-table-row-striped-background-color);
|
|
5390
|
-
}
|
|
5391
5450
|
.amplify-table[data-highlightonhover=true] .amplify-table__row:not(.amplify-table__head *):hover {
|
|
5392
5451
|
background-color: var(--amplify-components-table-row-hover-background-color);
|
|
5393
5452
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.0.
|
|
1
|
+
export declare const VERSION = "3.0.11";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-storage",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@aws-amplify/ui": "6.0.
|
|
43
|
-
"@aws-amplify/ui-react": "6.1.
|
|
44
|
-
"@aws-amplify/ui-react-core": "3.0.
|
|
42
|
+
"@aws-amplify/ui": "6.0.8",
|
|
43
|
+
"@aws-amplify/ui-react": "6.1.2",
|
|
44
|
+
"@aws-amplify/ui-react-core": "3.0.8",
|
|
45
45
|
"lodash": "4.17.21",
|
|
46
46
|
"tslib": "^2.5.2"
|
|
47
47
|
},
|