@trafilea/afrodita-components 6.2.0 → 6.4.0

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.
@@ -29,7 +29,7 @@ declare type Theme = {
29
29
  };
30
30
  declare type ThemeBreakpoints = {
31
31
  mobile: number;
32
- tablet?: number;
32
+ tablet: number;
33
33
  desktop: number;
34
34
  };
35
35
  declare type ThemeBasicPallete = {
@@ -52,15 +52,19 @@ var InputValidationType;
52
52
  InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
53
  })(InputValidationType || (InputValidationType = {}));
54
54
 
55
+ //ANNOTATION: Those values are up to.
56
+ var DEFAULT_BREAKPOINTS = {
57
+ mobile: 640,
58
+ tablet: 1024,
59
+ desktop: 1280,
60
+ };
61
+
55
62
  var revel = {
56
63
  name: 'Revel',
57
64
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
58
65
  fontWeights: [400, 600, 500, 700, 800],
59
66
  lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
60
- mediaQueries: {
61
- mobile: 0,
62
- desktop: 1200,
63
- },
67
+ mediaQueries: DEFAULT_BREAKPOINTS,
64
68
  radius: {
65
69
  regular: '8px',
66
70
  },
@@ -29,7 +29,7 @@ declare type Theme = {
29
29
  };
30
30
  declare type ThemeBreakpoints = {
31
31
  mobile: number;
32
- tablet?: number;
32
+ tablet: number;
33
33
  desktop: number;
34
34
  };
35
35
  declare type ThemeBasicPallete = {
@@ -52,15 +52,19 @@ var InputValidationType;
52
52
  InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
53
  })(InputValidationType || (InputValidationType = {}));
54
54
 
55
+ //ANNOTATION: Those values are up to.
56
+ var DEFAULT_BREAKPOINTS = {
57
+ mobile: 640,
58
+ tablet: 1024,
59
+ desktop: 1280,
60
+ };
61
+
55
62
  var shapermint = {
56
63
  name: 'Shapermint',
57
64
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
58
65
  fontWeights: [400, 600, 500, 700, 800],
59
66
  lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
60
- mediaQueries: {
61
- mobile: 0,
62
- desktop: 1200,
63
- },
67
+ mediaQueries: DEFAULT_BREAKPOINTS,
64
68
  radius: {
65
69
  regular: '8px',
66
70
  },
@@ -29,7 +29,7 @@ declare type Theme = {
29
29
  };
30
30
  declare type ThemeBreakpoints = {
31
31
  mobile: number;
32
- tablet?: number;
32
+ tablet: number;
33
33
  desktop: number;
34
34
  };
35
35
  declare type ThemeBasicPallete = {
@@ -26,16 +26,19 @@ var InputValidationType;
26
26
  InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
27
27
  })(InputValidationType || (InputValidationType = {}));
28
28
 
29
+ //ANNOTATION: Those values are up to.
30
+ var DEFAULT_BREAKPOINTS = {
31
+ mobile: 640,
32
+ tablet: 1024,
33
+ desktop: 1280,
34
+ };
35
+
29
36
  var tsd = {
30
37
  name: 'TheSpaDr',
31
38
  fontSizes: [8, 10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
32
39
  fontWeights: [300, 500, 700, 800],
33
40
  lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
34
- mediaQueries: {
35
- mobile: 768,
36
- tablet: 900,
37
- desktop: 1200,
38
- },
41
+ mediaQueries: DEFAULT_BREAKPOINTS,
39
42
  radius: {
40
43
  regular: '8px',
41
44
  },
@@ -29,7 +29,7 @@ declare type Theme = {
29
29
  };
30
30
  declare type ThemeBreakpoints = {
31
31
  mobile: number;
32
- tablet?: number;
32
+ tablet: number;
33
33
  desktop: number;
34
34
  };
35
35
  declare type ThemeBasicPallete = {
@@ -52,15 +52,19 @@ var InputValidationType;
52
52
  InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
53
  })(InputValidationType || (InputValidationType = {}));
54
54
 
55
+ //ANNOTATION: Those values are up to.
56
+ var DEFAULT_BREAKPOINTS = {
57
+ mobile: 640,
58
+ tablet: 1024,
59
+ desktop: 1280,
60
+ };
61
+
55
62
  var truekind = {
56
63
  name: 'Truekind',
57
64
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
58
65
  fontWeights: [400, 600, 500, 700, 800],
59
66
  lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
60
- mediaQueries: {
61
- mobile: 0,
62
- desktop: 1200,
63
- },
67
+ mediaQueries: DEFAULT_BREAKPOINTS,
64
68
  radius: {
65
69
  regular: '8px',
66
70
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "6.2.0",
6
+ "version": "6.4.0",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",