@aws-amplify/ui-react-storage 2.1.0 → 2.1.1

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.
Files changed (2) hide show
  1. package/dist/styles.css +6 -9
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -807,7 +807,9 @@
807
807
  --amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
808
808
  --amplify-components-switchfield-label-padding: var(--amplify-space-xs);
809
809
  --amplify-components-switchfield-thumb-background-color: var(--amplify-colors-background-primary);
810
- --amplify-components-switchfield-thumb-border-color: var(--amplify-colors-border-tertiary);
810
+ --amplify-components-switchfield-thumb-border-color: transparent;
811
+ --amplify-components-switchfield-thumb-border-width: var(--amplify-border-widths-small);
812
+ --amplify-components-switchfield-thumb-border-style: solid;
811
813
  --amplify-components-switchfield-thumb-border-radius: var(--amplify-radii-xxxl);
812
814
  --amplify-components-switchfield-thumb-checked-transform: var(--amplify-transforms-slide-x-medium);
813
815
  --amplify-components-switchfield-thumb-transition-duration: var(--amplify-time-medium);
@@ -1222,14 +1224,6 @@ select {
1222
1224
  display: block;
1223
1225
  overflow: auto;
1224
1226
  }
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
1227
 
1234
1228
  .amplify-text {
1235
1229
  display: block;
@@ -4049,6 +4043,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
4049
4043
  .amplify-switchfield {
4050
4044
  display: inline-block;
4051
4045
  font-size: var(--amplify-components-switchfield-font-size);
4046
+ cursor: pointer;
4052
4047
  }
4053
4048
  .amplify-switchfield--small {
4054
4049
  font-size: var(--amplify-components-switchfield-small-font-size);
@@ -4105,6 +4100,8 @@ html[dir=rtl] .amplify-field-group__inner-start {
4105
4100
  border-radius: var(--amplify-components-switchfield-thumb-border-radius);
4106
4101
  width: var(--amplify-components-switchfield-thumb-width);
4107
4102
  height: var(--amplify-components-switchfield-thumb-width);
4103
+ border-width: var(--amplify-components-switchfield-thumb-border-width);
4104
+ border-style: var(--amplify-components-switchfield-thumb-border-style);
4108
4105
  border-color: var(--amplify-components-switchfield-thumb-border-color);
4109
4106
  overflow-wrap: break-word;
4110
4107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-storage",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
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.7",
44
- "@aws-amplify/ui-react": "5.0.5",
45
- "@aws-amplify/ui-react-core": "2.1.26",
43
+ "@aws-amplify/ui": "5.6.8",
44
+ "@aws-amplify/ui-react": "5.0.6",
45
+ "@aws-amplify/ui-react-core": "2.1.27",
46
46
  "classnames": "2.3.1",
47
47
  "lodash": "4.17.21",
48
48
  "tslib": "2.4.1"