travelcircus-styleguide 2.1.2 → 2.1.4

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.
@@ -18,16 +18,16 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
18
18
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
19
 
20
20
  var commonStyle = {
21
- fontFamily: "inherit",
22
- fontWeight: "400",
23
- appearance: "none",
24
- textAlign: "left",
25
- borderWidth: "1px",
26
- borderStyle: "solid",
21
+ fontFamily: 'inherit',
22
+ fontWeight: '300',
23
+ appearance: 'none',
24
+ textAlign: 'left',
25
+ borderWidth: '1px',
26
+ borderStyle: 'solid',
27
27
  borderRadius: 0,
28
- boxShadow: "none !important",
29
- transition: "border-color 0.1s ease, background-color 0.1s ease",
30
- "&:disabled": {
28
+ boxShadow: 'none !important',
29
+ transition: 'border-color 0.1s ease, background-color 0.1s ease',
30
+ '&:disabled': {
31
31
  color: "".concat(_colors.default.hotelDarkGrey, " !important"),
32
32
  backgroundColor: "".concat(_colors.default.hotelSilver, " !important"),
33
33
  borderColor: "".concat(_colors.default.hotelSilver, " !important")
@@ -40,7 +40,7 @@ var commonVariants = {
40
40
  backgroundColor: "".concat(_colors.default.white, " !important"),
41
41
  borderColor: "".concat(_colors.default.hotelSilver, " !important"),
42
42
  color: "".concat(_colors.default.hotelDarkGrey, " !important"),
43
- ":focus": {
43
+ ':focus': {
44
44
  borderColor: "".concat(_colors.default.tealish, " !important")
45
45
  }
46
46
  },
@@ -52,27 +52,27 @@ var commonVariants = {
52
52
  },
53
53
  size: {
54
54
  small: {
55
- paddingTop: "12px !important",
56
- paddingRight: "14px !important",
57
- paddingBottom: "12px !important",
58
- paddingLeft: "14px !important",
59
- fontSize: "12px !important",
60
- lineHeight: "1.2 !important",
61
- height: "43px !important"
55
+ paddingTop: '12px !important',
56
+ paddingRight: '14px !important',
57
+ paddingBottom: '12px !important',
58
+ paddingLeft: '14px !important',
59
+ fontSize: '12px !important',
60
+ lineHeight: '1.2 !important',
61
+ height: '43px !important'
62
62
  },
63
63
  medium: {
64
- paddingTop: "15px !important",
65
- paddingRight: "14px !important",
66
- paddingBottom: "15px !important",
67
- paddingLeft: "14px !important",
68
- fontSize: "14px !important",
69
- lineHeight: "1.24 !important",
70
- height: "47px !important"
64
+ paddingTop: '15px !important',
65
+ paddingRight: '14px !important',
66
+ paddingBottom: '15px !important',
67
+ paddingLeft: '14px !important',
68
+ fontSize: '14px !important',
69
+ lineHeight: '1.24 !important',
70
+ height: '47px !important'
71
71
  }
72
72
  },
73
73
  length: {
74
74
  long: {
75
- width: "100% !important"
75
+ width: '100% !important'
76
76
  }
77
77
  }
78
78
  };
@@ -19,7 +19,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
19
19
 
20
20
  var commonStyle = {
21
21
  fontFamily: 'inherit',
22
- fontWeight: '400',
22
+ fontWeight: '300',
23
23
  appearance: 'none',
24
24
  textAlign: 'left',
25
25
  borderWidth: '1px',
@@ -18,22 +18,22 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
18
18
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
19
 
20
20
  var commonStyle = {
21
- fontFamily: "inherit",
22
- fontWeight: "400",
23
- appearance: "none",
24
- textAlign: "left",
25
- borderWidth: "1px",
26
- borderStyle: "solid",
27
- borderRadius: "5px",
28
- boxShadow: "none",
29
- transition: "border-color 0.1s ease",
30
- resize: "none",
21
+ fontFamily: 'inherit',
22
+ fontWeight: '300',
23
+ appearance: 'none',
24
+ textAlign: 'left',
25
+ borderWidth: '1px',
26
+ borderStyle: 'solid',
27
+ borderRadius: '5px',
28
+ boxShadow: 'none',
29
+ transition: 'border-color 0.1s ease',
30
+ resize: 'none',
31
31
  width: '100%',
32
- "&:disabled": {
32
+ '&:disabled': {
33
33
  color: _colors.default.hotelSmoke,
34
34
  borderColor: _colors.default.hotelSmoke
35
35
  },
36
- "&::placeholder": {
36
+ '&::placeholder': {
37
37
  color: "".concat(_colors.default.lightGrey)
38
38
  }
39
39
  };
@@ -44,31 +44,31 @@ var commonVariants = {
44
44
  backgroundColor: _colors.default.white,
45
45
  borderColor: _colors.default.hotelSmoke,
46
46
  color: _colors.default.hotelDarkGrey,
47
- ":hover": {
47
+ ':hover': {
48
48
  borderColor: _colors.default.hotelDarkGrey
49
49
  },
50
- ":focus": {
51
- outline: "none",
50
+ ':focus': {
51
+ outline: 'none',
52
52
  borderColor: _colors.default.hotelDarkGrey
53
53
  }
54
54
  }
55
55
  },
56
56
  size: {
57
57
  small: {
58
- paddingTop: "12px",
59
- paddingRight: "14px",
60
- paddingBottom: "12px",
61
- paddingLeft: "14px",
62
- fontSize: "14px",
63
- lineHeight: "21px"
58
+ paddingTop: '12px',
59
+ paddingRight: '14px',
60
+ paddingBottom: '12px',
61
+ paddingLeft: '14px',
62
+ fontSize: '14px',
63
+ lineHeight: '21px'
64
64
  },
65
65
  medium: {
66
- paddingTop: "15px",
67
- paddingRight: "17px",
68
- paddingBottom: "15px",
69
- paddingLeft: "17px",
70
- fontSize: "15px",
71
- lineHeight: "15px"
66
+ paddingTop: '15px',
67
+ paddingRight: '17px',
68
+ paddingBottom: '15px',
69
+ paddingLeft: '17px',
70
+ fontSize: '15px',
71
+ lineHeight: '15px'
72
72
  }
73
73
  }
74
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "travelcircus-styleguide",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "Components Styleguide for a TravelCircus web services",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {