@trafilea/afrodita-components 5.0.0-beta.136 → 5.0.0-beta.138

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.
@@ -1,5 +1,4 @@
1
1
  import { CSSProperties } from 'react';
2
- import { ComponentSize } from 'src/types/enums';
3
2
 
4
3
  declare type Theme = {
5
4
  name: string;
@@ -240,7 +239,8 @@ declare type ThemeComponent = {
240
239
  radio: {
241
240
  borderColor: string;
242
241
  background: string;
243
- textSize: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
242
+ textSize: string;
243
+ lineHeight: string;
244
244
  size: {
245
245
  small: {
246
246
  borderWidth: string;
@@ -26,32 +26,6 @@ var __assign = function() {
26
26
  return __assign.apply(this, arguments);
27
27
  };
28
28
 
29
- var CardSectionType;
30
- (function (CardSectionType) {
31
- CardSectionType[CardSectionType["Header"] = 0] = "Header";
32
- CardSectionType[CardSectionType["Footer"] = 1] = "Footer";
33
- })(CardSectionType || (CardSectionType = {}));
34
- var ComponentSize;
35
- (function (ComponentSize) {
36
- ComponentSize["Large"] = "large";
37
- ComponentSize["Medium"] = "medium";
38
- ComponentSize["Small"] = "small";
39
- ComponentSize["XSmall"] = "xsmall";
40
- })(ComponentSize || (ComponentSize = {}));
41
- var ComponentPosition;
42
- (function (ComponentPosition) {
43
- ComponentPosition[ComponentPosition["Top"] = 0] = "Top";
44
- ComponentPosition[ComponentPosition["Bottom"] = 1] = "Bottom";
45
- ComponentPosition[ComponentPosition["Left"] = 2] = "Left";
46
- ComponentPosition[ComponentPosition["Right"] = 3] = "Right";
47
- })(ComponentPosition || (ComponentPosition = {}));
48
- var InputValidationType;
49
- (function (InputValidationType) {
50
- InputValidationType[InputValidationType["Error"] = 0] = "Error";
51
- InputValidationType[InputValidationType["Valid"] = 1] = "Valid";
52
- InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
- })(InputValidationType || (InputValidationType = {}));
54
-
55
29
  var revel = {
56
30
  name: 'Revel',
57
31
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
@@ -369,7 +343,8 @@ var revel = {
369
343
  radio: {
370
344
  borderColor: '--colors-shades-700-color',
371
345
  background: '--colors-shades-white-color',
372
- textSize: ComponentSize.Small,
346
+ textSize: '14px',
347
+ lineHeight: '22px',
373
348
  size: {
374
349
  large: {
375
350
  borderWidth: '0.094rem',
@@ -1,5 +1,4 @@
1
1
  import { CSSProperties } from 'react';
2
- import { ComponentSize } from 'src/types/enums';
3
2
 
4
3
  declare type Theme = {
5
4
  name: string;
@@ -240,7 +239,8 @@ declare type ThemeComponent = {
240
239
  radio: {
241
240
  borderColor: string;
242
241
  background: string;
243
- textSize: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
242
+ textSize: string;
243
+ lineHeight: string;
244
244
  size: {
245
245
  small: {
246
246
  borderWidth: string;
@@ -26,32 +26,6 @@ var __assign = function() {
26
26
  return __assign.apply(this, arguments);
27
27
  };
28
28
 
29
- var CardSectionType;
30
- (function (CardSectionType) {
31
- CardSectionType[CardSectionType["Header"] = 0] = "Header";
32
- CardSectionType[CardSectionType["Footer"] = 1] = "Footer";
33
- })(CardSectionType || (CardSectionType = {}));
34
- var ComponentSize;
35
- (function (ComponentSize) {
36
- ComponentSize["Large"] = "large";
37
- ComponentSize["Medium"] = "medium";
38
- ComponentSize["Small"] = "small";
39
- ComponentSize["XSmall"] = "xsmall";
40
- })(ComponentSize || (ComponentSize = {}));
41
- var ComponentPosition;
42
- (function (ComponentPosition) {
43
- ComponentPosition[ComponentPosition["Top"] = 0] = "Top";
44
- ComponentPosition[ComponentPosition["Bottom"] = 1] = "Bottom";
45
- ComponentPosition[ComponentPosition["Left"] = 2] = "Left";
46
- ComponentPosition[ComponentPosition["Right"] = 3] = "Right";
47
- })(ComponentPosition || (ComponentPosition = {}));
48
- var InputValidationType;
49
- (function (InputValidationType) {
50
- InputValidationType[InputValidationType["Error"] = 0] = "Error";
51
- InputValidationType[InputValidationType["Valid"] = 1] = "Valid";
52
- InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
- })(InputValidationType || (InputValidationType = {}));
54
-
55
29
  var shapermint = {
56
30
  name: 'Shapermint',
57
31
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
@@ -369,7 +343,8 @@ var shapermint = {
369
343
  radio: {
370
344
  borderColor: '--colors-shades-700-color',
371
345
  background: '--colors-shades-white-color',
372
- textSize: ComponentSize.Medium,
346
+ textSize: '16px',
347
+ lineHeight: 'normal',
373
348
  size: {
374
349
  large: {
375
350
  borderWidth: '0.094rem',
@@ -1,5 +1,4 @@
1
1
  import { CSSProperties } from 'react';
2
- import { ComponentSize } from 'src/types/enums';
3
2
 
4
3
  declare type Theme = {
5
4
  name: string;
@@ -240,7 +239,8 @@ declare type ThemeComponent = {
240
239
  radio: {
241
240
  borderColor: string;
242
241
  background: string;
243
- textSize: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
242
+ textSize: string;
243
+ lineHeight: string;
244
244
  size: {
245
245
  small: {
246
246
  borderWidth: string;
@@ -26,32 +26,6 @@ var __assign = function() {
26
26
  return __assign.apply(this, arguments);
27
27
  };
28
28
 
29
- var CardSectionType;
30
- (function (CardSectionType) {
31
- CardSectionType[CardSectionType["Header"] = 0] = "Header";
32
- CardSectionType[CardSectionType["Footer"] = 1] = "Footer";
33
- })(CardSectionType || (CardSectionType = {}));
34
- var ComponentSize;
35
- (function (ComponentSize) {
36
- ComponentSize["Large"] = "large";
37
- ComponentSize["Medium"] = "medium";
38
- ComponentSize["Small"] = "small";
39
- ComponentSize["XSmall"] = "xsmall";
40
- })(ComponentSize || (ComponentSize = {}));
41
- var ComponentPosition;
42
- (function (ComponentPosition) {
43
- ComponentPosition[ComponentPosition["Top"] = 0] = "Top";
44
- ComponentPosition[ComponentPosition["Bottom"] = 1] = "Bottom";
45
- ComponentPosition[ComponentPosition["Left"] = 2] = "Left";
46
- ComponentPosition[ComponentPosition["Right"] = 3] = "Right";
47
- })(ComponentPosition || (ComponentPosition = {}));
48
- var InputValidationType;
49
- (function (InputValidationType) {
50
- InputValidationType[InputValidationType["Error"] = 0] = "Error";
51
- InputValidationType[InputValidationType["Valid"] = 1] = "Valid";
52
- InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
- })(InputValidationType || (InputValidationType = {}));
54
-
55
29
  var truekind = {
56
30
  name: 'Truekind',
57
31
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
@@ -442,7 +416,8 @@ var truekind = {
442
416
  radio: {
443
417
  borderColor: '#686872',
444
418
  background: '#FFFFFF',
445
- textSize: ComponentSize.Medium,
419
+ textSize: '16px',
420
+ lineHeight: 'normal',
446
421
  size: {
447
422
  large: {
448
423
  borderWidth: '0.094rem',
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": "5.0.0-beta.136",
6
+ "version": "5.0.0-beta.138",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",