@proprioo/salatim 20.5.1 → 20.5.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.
@@ -21,24 +21,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.TextToggleBody = exports.TextToggleTitle = exports.TextToggleButton = exports.TextToggleLayout = void 0;
23
23
  const styled_components_1 = __importStar(require("styled-components"));
24
- const __1 = require("../../..");
25
- const TITLE_COLOR = __1.colors.dark.base80;
24
+ const utils_1 = require("../../../utils");
25
+ const TITLE_COLOR = utils_1.colors.dark.base80;
26
26
  exports.TextToggleLayout = styled_components_1.default.div `
27
27
  & + & {
28
- margin-top: ${(0, __1.convertPxToRem)(8)};
28
+ margin-top: ${(0, utils_1.convertPxToRem)(8)};
29
29
  }
30
30
  `;
31
31
  exports.TextToggleButton = styled_components_1.default.button `
32
- ${__1.resetCssButton};
33
- color: ${({ hasTitle }) => (hasTitle ? TITLE_COLOR : __1.colors.orange.base)};
32
+ ${utils_1.resetCssButton};
33
+ color: ${({ hasTitle }) => (hasTitle ? TITLE_COLOR : utils_1.colors.orange.base)};
34
34
 
35
35
  ${({ isComment }) => isComment &&
36
36
  (0, styled_components_1.css) `
37
37
  display: block;
38
- margin-top: ${(0, __1.convertPxToRem)(8)};
39
- font-size: ${__1.fonts.small};
38
+ margin-top: ${(0, utils_1.convertPxToRem)(8)};
39
+ font-size: ${utils_1.fonts.small};
40
40
  font-weight: bold;
41
- color: ${__1.colors.dark.base};
41
+ color: ${utils_1.colors.dark.base};
42
42
  `}
43
43
 
44
44
  :hover {
@@ -52,12 +52,12 @@ exports.TextToggleTitle = styled_components_1.default.span `
52
52
  exports.TextToggleBody = styled_components_1.default.span `
53
53
  & + ${exports.TextToggleButton} {
54
54
  display: inline-block;
55
- margin-left: ${(0, __1.convertPxToRem)(4)};
55
+ margin-left: ${(0, utils_1.convertPxToRem)(4)};
56
56
  }
57
57
 
58
58
  ${({ isComment }) => isComment &&
59
59
  (0, styled_components_1.css) `
60
- ${__1.paragraphs.body1};
60
+ ${utils_1.paragraphs.body1};
61
61
  font-weight: 500;
62
62
 
63
63
  & + ${exports.TextToggleButton} {
@@ -1 +1 @@
1
- {"version":3,"file":"TextToggle.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/textToggle/TextToggle.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAEhD,gCAMkB;AAElB,MAAM,WAAW,GAAG,UAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAE1B,QAAA,gBAAgB,GAAG,2BAAM,CAAC,GAAG,CAAA;;kBAExB,IAAA,kBAAc,EAAC,CAAC,CAAC;;CAElC,CAAC;AAEW,QAAA,gBAAgB,GAAG,2BAAM,CAAC,MAAM,CAG3C;IACE,kBAAc;WACP,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAM,CAAC,MAAM,CAAC,IAAI,CAAC;;IAEtE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,SAAS;IACT,IAAA,uBAAG,EAAA;;oBAEa,IAAA,kBAAc,EAAC,CAAC,CAAC;mBAClB,SAAK,CAAC,KAAK;;eAEf,UAAM,CAAC,IAAI,CAAC,IAAI;KAC1B;;;;;;CAMJ,CAAC;AAEW,QAAA,eAAe,GAAG,2BAAM,CAAC,IAAI,CAAA;WAC/B,WAAW;CACrB,CAAC;AAEW,QAAA,cAAc,GAAG,2BAAM,CAAC,IAAI,CAAwB;QACzD,wBAAgB;;mBAEL,IAAA,kBAAc,EAAC,CAAC,CAAC;;;IAGhC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,SAAS;IACT,IAAA,uBAAG,EAAA;QACC,cAAU,CAAC,KAAK;;;YAGZ,wBAAgB;;;;KAIvB;CACJ,CAAC"}
1
+ {"version":3,"file":"TextToggle.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/textToggle/TextToggle.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAEhD,0CAMwB;AAExB,MAAM,WAAW,GAAG,cAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAE1B,QAAA,gBAAgB,GAAG,2BAAM,CAAC,GAAG,CAAA;;kBAExB,IAAA,sBAAc,EAAC,CAAC,CAAC;;CAElC,CAAC;AAEW,QAAA,gBAAgB,GAAG,2BAAM,CAAC,MAAM,CAG3C;IACE,sBAAc;WACP,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAM,CAAC,MAAM,CAAC,IAAI,CAAC;;IAEtE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,SAAS;IACT,IAAA,uBAAG,EAAA;;oBAEa,IAAA,sBAAc,EAAC,CAAC,CAAC;mBAClB,aAAK,CAAC,KAAK;;eAEf,cAAM,CAAC,IAAI,CAAC,IAAI;KAC1B;;;;;;CAMJ,CAAC;AAEW,QAAA,eAAe,GAAG,2BAAM,CAAC,IAAI,CAAA;WAC/B,WAAW;CACrB,CAAC;AAEW,QAAA,cAAc,GAAG,2BAAM,CAAC,IAAI,CAAwB;QACzD,wBAAgB;;mBAEL,IAAA,sBAAc,EAAC,CAAC,CAAC;;;IAGhC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,SAAS;IACT,IAAA,uBAAG,EAAA;QACC,kBAAU,CAAC,KAAK;;;YAGZ,wBAAgB;;;;KAIvB;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proprioo/salatim",
3
- "version": "20.5.1",
3
+ "version": "20.5.2",
4
4
  "description": "Proprioo component library",
5
5
  "keywords": [
6
6
  "components",