@aws-amplify/ui-react-storage 2.1.0 → 2.1.2
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 +20 -9
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -677,13 +677,17 @@
|
|
|
677
677
|
--amplify-components-select-icon-wrapper-right: var(--amplify-space-medium);
|
|
678
678
|
--amplify-components-select-icon-wrapper-transform: translateY(-50%);
|
|
679
679
|
--amplify-components-select-icon-wrapper-pointer-events: none;
|
|
680
|
+
--amplify-components-select-icon-wrapper-small-right: var(--amplify-space-xs);
|
|
681
|
+
--amplify-components-select-icon-wrapper-large-right: var(--amplify-space-medium);
|
|
680
682
|
--amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
|
|
681
683
|
--amplify-components-select-option-color: var(--amplify-colors-font-primary);
|
|
682
684
|
--amplify-components-select-option-disabled-color: var(--amplify-colors-font-disabled);
|
|
683
685
|
--amplify-components-select-white-space: nowrap;
|
|
684
686
|
--amplify-components-select-min-width: 6.5rem;
|
|
685
687
|
--amplify-components-select-small-min-width: 5.5rem;
|
|
688
|
+
--amplify-components-select-small-padding-inline-end: var(--amplify-space-xl);
|
|
686
689
|
--amplify-components-select-large-min-width: 7.5rem;
|
|
690
|
+
--amplify-components-select-large-padding-inline-end: var(--amplify-space-xxl);
|
|
687
691
|
--amplify-components-selectfield-border-color: var(--amplify-components-fieldcontrol-border-color);
|
|
688
692
|
--amplify-components-selectfield-color: var(--amplify-components-fieldcontrol-color);
|
|
689
693
|
--amplify-components-selectfield-flex-direction: column;
|
|
@@ -807,7 +811,9 @@
|
|
|
807
811
|
--amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
|
|
808
812
|
--amplify-components-switchfield-label-padding: var(--amplify-space-xs);
|
|
809
813
|
--amplify-components-switchfield-thumb-background-color: var(--amplify-colors-background-primary);
|
|
810
|
-
--amplify-components-switchfield-thumb-border-color:
|
|
814
|
+
--amplify-components-switchfield-thumb-border-color: transparent;
|
|
815
|
+
--amplify-components-switchfield-thumb-border-width: var(--amplify-border-widths-small);
|
|
816
|
+
--amplify-components-switchfield-thumb-border-style: solid;
|
|
811
817
|
--amplify-components-switchfield-thumb-border-radius: var(--amplify-radii-xxxl);
|
|
812
818
|
--amplify-components-switchfield-thumb-checked-transform: var(--amplify-transforms-slide-x-medium);
|
|
813
819
|
--amplify-components-switchfield-thumb-transition-duration: var(--amplify-time-medium);
|
|
@@ -1222,14 +1228,6 @@ select {
|
|
|
1222
1228
|
display: block;
|
|
1223
1229
|
overflow: auto;
|
|
1224
1230
|
}
|
|
1225
|
-
.amplify-scrollview--horizontal {
|
|
1226
|
-
overflow-x: scroll;
|
|
1227
|
-
overflow-y: initial;
|
|
1228
|
-
}
|
|
1229
|
-
.amplify-scrollview--vertical {
|
|
1230
|
-
overflow-x: initial;
|
|
1231
|
-
overflow-y: scroll;
|
|
1232
|
-
}
|
|
1233
1231
|
|
|
1234
1232
|
.amplify-text {
|
|
1235
1233
|
display: block;
|
|
@@ -3695,6 +3693,12 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3695
3693
|
transform: var(--amplify-components-select-icon-wrapper-transform);
|
|
3696
3694
|
pointer-events: var(--amplify-components-select-icon-wrapper-pointer-events);
|
|
3697
3695
|
}
|
|
3696
|
+
.amplify-select__icon-wrapper--small {
|
|
3697
|
+
right: var(--amplify-components-select-icon-wrapper-small-right);
|
|
3698
|
+
}
|
|
3699
|
+
.amplify-select__icon-wrapper--large {
|
|
3700
|
+
right: var(--amplify-components-select-icon-wrapper-large-right);
|
|
3701
|
+
}
|
|
3698
3702
|
|
|
3699
3703
|
.amplify-select {
|
|
3700
3704
|
box-sizing: border-box;
|
|
@@ -3796,9 +3800,13 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3796
3800
|
}
|
|
3797
3801
|
.amplify-select--small {
|
|
3798
3802
|
min-width: var(--amplify-components-select-small-min-width);
|
|
3803
|
+
-webkit-padding-end: var(--amplify-components-select-small-padding-inline-end);
|
|
3804
|
+
padding-inline-end: var(--amplify-components-select-small-padding-inline-end);
|
|
3799
3805
|
}
|
|
3800
3806
|
.amplify-select--large {
|
|
3801
3807
|
min-width: var(--amplify-components-select-large-min-width);
|
|
3808
|
+
-webkit-padding-end: var(--amplify-components-select-large-padding-inline-end);
|
|
3809
|
+
padding-inline-end: var(--amplify-components-select-large-padding-inline-end);
|
|
3802
3810
|
}
|
|
3803
3811
|
|
|
3804
3812
|
.amplify-selectfield {
|
|
@@ -4049,6 +4057,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4049
4057
|
.amplify-switchfield {
|
|
4050
4058
|
display: inline-block;
|
|
4051
4059
|
font-size: var(--amplify-components-switchfield-font-size);
|
|
4060
|
+
cursor: pointer;
|
|
4052
4061
|
}
|
|
4053
4062
|
.amplify-switchfield--small {
|
|
4054
4063
|
font-size: var(--amplify-components-switchfield-small-font-size);
|
|
@@ -4105,6 +4114,8 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4105
4114
|
border-radius: var(--amplify-components-switchfield-thumb-border-radius);
|
|
4106
4115
|
width: var(--amplify-components-switchfield-thumb-width);
|
|
4107
4116
|
height: var(--amplify-components-switchfield-thumb-width);
|
|
4117
|
+
border-width: var(--amplify-components-switchfield-thumb-border-width);
|
|
4118
|
+
border-style: var(--amplify-components-switchfield-thumb-border-style);
|
|
4108
4119
|
border-color: var(--amplify-components-switchfield-thumb-border-color);
|
|
4109
4120
|
overflow-wrap: break-word;
|
|
4110
4121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-storage",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
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": "2.1.
|
|
43
|
+
"@aws-amplify/ui": "5.6.9",
|
|
44
|
+
"@aws-amplify/ui-react": "5.0.7",
|
|
45
|
+
"@aws-amplify/ui-react-core": "2.1.28",
|
|
46
46
|
"classnames": "2.3.1",
|
|
47
47
|
"lodash": "4.17.21",
|
|
48
48
|
"tslib": "2.4.1"
|