@smart-react-components/ui 2.0.0-alpha-80 → 2.0.0-alpha-81

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.
@@ -7,7 +7,9 @@ const Div_1 = __importDefault(require("@smart-react-components/core/Element/Div"
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const css_1 = require("../../util/css");
10
- const Slider = styled_components_1.default.div(({ theme }) => `
10
+ const Slider = styled_components_1.default.div.attrs({
11
+ className: 'switch-slider',
12
+ })(({ theme }) => `
11
13
  background: ${theme.$.color.dynamic.background};
12
14
  border-radius: 100%;
13
15
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
@@ -25,7 +27,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ child
25
27
  height: ${t.$.size.switch[v].height};
26
28
  width: ${t.$.size.switch[v].width};
27
29
 
28
- ${Slider} {
30
+ .switch-slider {
29
31
  height: ${t.$.size.switch[v].slider};
30
32
  width: ${t.$.size.switch[v].slider};
31
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.0.0-alpha-80",
3
+ "version": "2.0.0-alpha-81",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",