oolib 2.13.1 → 2.13.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.
@@ -8,21 +8,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  };
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.StyledFill = exports.StyledMask = exports.StyledCircle = exports.StyledWrapper = void 0;
11
- var macro_1 = __importDefault(require("styled-components/macro"));
11
+ var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var utilsOolib_1 = require("../../utilsOolib");
13
- exports.StyledWrapper = macro_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 50%;\n ", "\n background-color: ", ";\n"], ["\n border-radius: 50%;\n ", "\n background-color: ", ";\n"])), function (_a) {
13
+ exports.StyledWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 50%;\n ", "\n background-color: ", ";\n"], ["\n border-radius: 50%;\n ", "\n background-color: ", ";\n"])), function (_a) {
14
14
  var size = _a.size;
15
15
  return "\n width: ".concat(size, ";\n height: ").concat(size, "; \n ");
16
16
  }, function (_a) {
17
17
  var theme = _a.theme;
18
18
  return (0, utilsOolib_1.getPrimaryColor40)(theme.colors);
19
19
  });
20
- exports.StyledCircle = macro_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
21
- exports.StyledMask = macro_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n position: absolute;\n border-radius: 50%;\n \n"], ["\n ", "\n position: absolute;\n border-radius: 50%;\n \n"])), function (_a) {
20
+ exports.StyledCircle = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
21
+ exports.StyledMask = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n position: absolute;\n border-radius: 50%;\n \n"], ["\n ", "\n position: absolute;\n border-radius: 50%;\n \n"])), function (_a) {
22
22
  var size = _a.size, transform = _a.transform;
23
23
  return "\n ".concat(transform ? "transform: ".concat(transform) : '', ";\n width: ").concat(size, ";\n height: ").concat(size, "; \n clip: rect(0px, ").concat(size, ", ").concat(size, ", ").concat((parseFloat(size.replace('rem', '').trim()) / 2) + 'rem', ");\n ");
24
24
  });
25
- exports.StyledFill = macro_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n border-radius: 50%;\n position: absolute;\n background-color: ", ";\n"], ["\n ", "\n border-radius: 50%;\n position: absolute;\n background-color: ", ";\n"])), function (_a) {
25
+ exports.StyledFill = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n border-radius: 50%;\n position: absolute;\n background-color: ", ";\n"], ["\n ", "\n border-radius: 50%;\n position: absolute;\n background-color: ", ";\n"])), function (_a) {
26
26
  var size = _a.size, transform = _a.transform;
27
27
  return "\n transform: ".concat(transform, ";\n width: ").concat(size, ";\n height: ").concat(size, "; \n clip: rect(0px, ").concat((parseFloat(size.replace('rem', '').trim()) / 2) + 'rem', ", ").concat(size, ", 0px);\n ");
28
28
  }, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.13.1",
3
+ "version": "2.13.2",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",