@proprioo/salatim 20.2.0 → 20.2.3

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.
@@ -36,18 +36,13 @@ exports.Layout = styled_components_1.default.label `
36
36
  align-items: center;
37
37
  cursor: pointer;
38
38
  background-color: white;
39
- padding: ${(0, spacing_1.convertPxToRem)(16)};
39
+ padding: ${(0, spacing_1.convertPxToRem)(8)};
40
40
  color: ${colors_1.default.dark.base80};
41
41
 
42
42
  & + & {
43
43
  margin-top: ${(0, spacing_1.convertPxToRem)(12)};
44
44
  }
45
45
 
46
- svg {
47
- height: ${(0, spacing_1.convertPxToRem)(28)};
48
- width: ${(0, spacing_1.convertPxToRem)(28)};
49
- }
50
-
51
46
  ${({ checked }) => checked &&
52
47
  (0, styled_components_1.css) `
53
48
  ${exports.IconLayout} {
@@ -58,6 +53,8 @@ exports.Layout = styled_components_1.default.label `
58
53
  `};
59
54
 
60
55
  @media (min-width: ${breakpoints_1.default.xsmall}px) {
56
+ padding: ${(0, spacing_1.convertPxToRem)(16)};
57
+
61
58
  & + & {
62
59
  margin: 0 0 0 ${(0, spacing_1.convertPxToRem)(16)};
63
60
  }
@@ -66,14 +63,17 @@ exports.Layout = styled_components_1.default.label `
66
63
  exports.IconLayout = styled_components_1.default.span `
67
64
  display: flex;
68
65
  align-items: center;
66
+ justify-content: center;
69
67
  border: ${(0, spacing_1.convertPxToRem)(1)} solid ${colors_1.default.grey.base80};
70
68
  border-radius: ${radius_1.default.rounded};
71
69
  margin-bottom: ${(0, spacing_1.convertPxToRem)(8)};
72
70
  transition: border 0.1s ease-in, background 0.2s ease-in;
71
+ height: ${(0, spacing_1.convertPxToRem)(44)};
72
+ width: ${(0, spacing_1.convertPxToRem)(44)};
73
73
 
74
- svg {
75
- height: ${(0, spacing_1.convertPxToRem)(44)};
76
- width: ${(0, spacing_1.convertPxToRem)(44)};
74
+ > svg {
75
+ height: ${(0, spacing_1.convertPxToRem)(24)};
76
+ width: ${(0, spacing_1.convertPxToRem)(24)};
77
77
  }
78
78
  `;
79
79
  //# sourceMappingURL=BlockCheckIcon.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockCheckIcon.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/blockCheckIcon/BlockCheckIcon.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAEhD,iFAAyD;AACzD,uEAA+C;AAC/C,+EAAuD;AACvD,uEAA+C;AAC/C,wDAA4D;AAE/C,QAAA,MAAM,GAAG,2BAAM,CAAC,KAAK,CAEhC;IACE,oBAAU,CAAC,UAAU;;;;;;aAMZ,IAAA,wBAAc,EAAC,EAAE,CAAC;WACpB,gBAAM,CAAC,IAAI,CAAC,MAAM;;;kBAGX,IAAA,wBAAc,EAAC,EAAE,CAAC;;;;cAItB,IAAA,wBAAc,EAAC,EAAE,CAAC;aACnB,IAAA,wBAAc,EAAC,EAAE,CAAC;;;IAG3B,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAChB,OAAO;IACP,IAAA,uBAAG,EAAA;QACC,kBAAU;iBACD,gBAAM,CAAC,MAAM,CAAC,IAAI;;4BAEP,gBAAM,CAAC,MAAM,CAAC,KAAK;;KAE1C;;uBAEkB,qBAAW,CAAC,MAAM;;sBAEnB,IAAA,wBAAc,EAAC,EAAE,CAAC;;;CAGvC,CAAC;AAEW,QAAA,UAAU,GAAG,2BAAM,CAAC,IAAI,CAAA;;;YAGzB,IAAA,wBAAc,EAAC,CAAC,CAAC,UAAU,gBAAM,CAAC,IAAI,CAAC,MAAM;mBACtC,gBAAM,CAAC,OAAO;mBACd,IAAA,wBAAc,EAAC,CAAC,CAAC;;;;cAItB,IAAA,wBAAc,EAAC,EAAE,CAAC;aACnB,IAAA,wBAAc,EAAC,EAAE,CAAC;;CAE9B,CAAC"}
1
+ {"version":3,"file":"BlockCheckIcon.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/blockCheckIcon/BlockCheckIcon.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAEhD,iFAAyD;AACzD,uEAA+C;AAC/C,+EAAuD;AACvD,uEAA+C;AAC/C,wDAA4D;AAE/C,QAAA,MAAM,GAAG,2BAAM,CAAC,KAAK,CAEhC;IACE,oBAAU,CAAC,UAAU;;;;;;aAMZ,IAAA,wBAAc,EAAC,CAAC,CAAC;WACnB,gBAAM,CAAC,IAAI,CAAC,MAAM;;;kBAGX,IAAA,wBAAc,EAAC,EAAE,CAAC;;;IAGhC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAChB,OAAO;IACP,IAAA,uBAAG,EAAA;QACC,kBAAU;iBACD,gBAAM,CAAC,MAAM,CAAC,IAAI;;4BAEP,gBAAM,CAAC,MAAM,CAAC,KAAK;;KAE1C;;uBAEkB,qBAAW,CAAC,MAAM;eAC1B,IAAA,wBAAc,EAAC,EAAE,CAAC;;;sBAGX,IAAA,wBAAc,EAAC,EAAE,CAAC;;;CAGvC,CAAC;AAEW,QAAA,UAAU,GAAG,2BAAM,CAAC,IAAI,CAAA;;;;YAIzB,IAAA,wBAAc,EAAC,CAAC,CAAC,UAAU,gBAAM,CAAC,IAAI,CAAC,MAAM;mBACtC,gBAAM,CAAC,OAAO;mBACd,IAAA,wBAAc,EAAC,CAAC,CAAC;;YAExB,IAAA,wBAAc,EAAC,EAAE,CAAC;WACnB,IAAA,wBAAc,EAAC,EAAE,CAAC;;;cAGf,IAAA,wBAAc,EAAC,EAAE,CAAC;aACnB,IAAA,wBAAc,EAAC,EAAE,CAAC;;CAE9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proprioo/salatim",
3
- "version": "20.2.0",
3
+ "version": "20.2.3",
4
4
  "description": "Proprioo component library",
5
5
  "keywords": [
6
6
  "components",
@@ -31,7 +31,8 @@
31
31
  "test": "NODE_ICU_DATA=node_modules/full-icu jest --env=jsdom --logHeapUsage --maxWorkers=2 --verbose",
32
32
  "test:watch": "yarn test --watch",
33
33
  "storybook": "start-storybook -p 6006 -s ./packages/assets/",
34
- "storybook:build": "build-storybook -s ./packages/assets/"
34
+ "storybook:build": "build-storybook -s ./packages/assets/",
35
+ "prepare": "husky install"
35
36
  },
36
37
  "jest": {
37
38
  "collectCoverageFrom": [