@epam/uui 5.5.3 → 5.6.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.
Files changed (106) hide show
  1. package/assets/styles/buttonLayout.scss +67 -67
  2. package/assets/styles/clickable.scss +27 -0
  3. package/assets/styles/controlLayout.scss +28 -28
  4. package/assets/styles/dnd.scss +9 -9
  5. package/assets/styles/effects.scss +7 -7
  6. package/assets/styles/icons.scss +19 -19
  7. package/assets/styles/index.scss +9 -8
  8. package/assets/styles/inputs.scss +74 -74
  9. package/assets/styles/text-size.scss +42 -42
  10. package/assets/styles/typography.scss +174 -174
  11. package/components/buttons/Button.d.ts +12 -10
  12. package/components/buttons/Button.d.ts.map +1 -1
  13. package/components/buttons/IconButton.d.ts +6 -3
  14. package/components/buttons/IconButton.d.ts.map +1 -1
  15. package/components/buttons/LinkButton.d.ts +29 -8
  16. package/components/buttons/LinkButton.d.ts.map +1 -1
  17. package/components/buttons/TabButton.d.ts +35 -8
  18. package/components/buttons/TabButton.d.ts.map +1 -1
  19. package/components/buttons/VerticalTabButton.d.ts +10 -1
  20. package/components/buttons/VerticalTabButton.d.ts.map +1 -1
  21. package/components/datePickers/DatePicker.d.ts.map +1 -1
  22. package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
  23. package/components/fileUpload/DropSpot.d.ts +14 -6
  24. package/components/fileUpload/DropSpot.d.ts.map +1 -1
  25. package/components/fileUpload/FileCard.d.ts +12 -0
  26. package/components/fileUpload/FileCard.d.ts.map +1 -1
  27. package/components/filters/FilterPanelItemToggler.d.ts +3 -3
  28. package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
  29. package/components/filters/FiltersPanel.d.ts +4 -0
  30. package/components/filters/FiltersPanel.d.ts.map +1 -1
  31. package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -0
  32. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
  33. package/components/inputs/MultiSwitch.d.ts +2 -3
  34. package/components/inputs/MultiSwitch.d.ts.map +1 -1
  35. package/components/inputs/RadioInput.d.ts +1 -0
  36. package/components/inputs/RadioInput.d.ts.map +1 -1
  37. package/components/inputs/TextInput.d.ts +1 -1
  38. package/components/inputs/TextInput.d.ts.map +1 -1
  39. package/components/inputs/index.d.ts +1 -1
  40. package/components/inputs/timePicker/TimePicker.d.ts +41 -0
  41. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -0
  42. package/components/inputs/timePicker/TimePickerBody.d.ts +22 -0
  43. package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -0
  44. package/components/inputs/timePicker/index.d.ts +3 -0
  45. package/components/inputs/timePicker/index.d.ts.map +1 -0
  46. package/components/inputs/timePicker/parseTimeHelper.d.ts +7 -0
  47. package/components/inputs/timePicker/parseTimeHelper.d.ts.map +1 -0
  48. package/components/layout/FlexItems/FlexRow.d.ts +10 -0
  49. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
  50. package/components/layout/RadioGroup.d.ts +3 -1
  51. package/components/layout/RadioGroup.d.ts.map +1 -1
  52. package/components/navigation/Anchor.d.ts +1 -2
  53. package/components/navigation/Anchor.d.ts.map +1 -1
  54. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +6 -2
  55. package/components/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  56. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +3 -3
  57. package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
  58. package/components/navigation/MainMenu/MainMenuButton.d.ts +28 -3
  59. package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  60. package/components/navigation/MainMenu/MainMenuIcon.d.ts +4 -37
  61. package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  62. package/components/navigation/MainMenu/MainMenuSearch.d.ts +1 -1
  63. package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
  64. package/components/overlays/DropdownMenu.d.ts +3 -3
  65. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  66. package/components/overlays/Snackbar.d.ts +12 -0
  67. package/components/overlays/Snackbar.d.ts.map +1 -0
  68. package/components/overlays/index.d.ts +1 -0
  69. package/components/overlays/index.d.ts.map +1 -1
  70. package/components/pickers/PickerItem.d.ts +11 -0
  71. package/components/pickers/PickerItem.d.ts.map +1 -1
  72. package/components/pickers/PickerList.d.ts +2 -2
  73. package/components/pickers/PickerList.d.ts.map +1 -1
  74. package/components/pickers/PickerListItem.d.ts +3 -0
  75. package/components/pickers/PickerListItem.d.ts.map +1 -1
  76. package/components/pickers/highlight.d.ts +2 -1
  77. package/components/pickers/highlight.d.ts.map +1 -1
  78. package/components/tables/DataTableHeaderCell.d.ts +2 -2
  79. package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
  80. package/components/tables/types.d.ts +5 -0
  81. package/components/tables/types.d.ts.map +1 -1
  82. package/components/typography/Text.d.ts +1 -1
  83. package/components/typography/Text.d.ts.map +1 -1
  84. package/components/typography/TextPlaceholder.d.ts +2 -0
  85. package/components/typography/TextPlaceholder.d.ts.map +1 -1
  86. package/components/widgets/Badge.d.ts +23 -4
  87. package/components/widgets/Badge.d.ts.map +1 -1
  88. package/components/widgets/IndeterminateBar.d.ts +1 -0
  89. package/components/widgets/IndeterminateBar.d.ts.map +1 -1
  90. package/components/widgets/Tag.d.ts +41 -3
  91. package/components/widgets/Tag.d.ts.map +1 -1
  92. package/helpers/textLayout.d.ts +2 -0
  93. package/helpers/textLayout.d.ts.map +1 -1
  94. package/index.esm.js +2122 -1877
  95. package/index.esm.js.map +1 -1
  96. package/index.js +2211 -1962
  97. package/index.js.map +1 -1
  98. package/package.json +5 -5
  99. package/readme.md +4 -4
  100. package/stats.html +1 -1
  101. package/styles.css +4931 -4802
  102. package/styles.css.map +1 -1
  103. package/components/inputs/TimePicker.d.ts +0 -15
  104. package/components/inputs/TimePicker.d.ts.map +0 -1
  105. package/components/inputs/TimePickerBody.d.ts +0 -3
  106. package/components/inputs/TimePickerBody.d.ts.map +0 -1
@@ -1,67 +1,67 @@
1
- @use './text-size' as *;
2
-
3
- @mixin button-layout($size, $borderWidth) {
4
- @include button-horizontal-layout($size, $borderWidth);
5
- @include button-vertical-layout($size, $borderWidth);
6
- }
7
-
8
- @mixin link-button-layout($size) {
9
- @include link-button-horizontal-layout($size);
10
- @include button-vertical-layout($size, 0);
11
- }
12
-
13
- @mixin button-vertical-layout($size, $borderWidth) {
14
- &:global(.uui-button-box) {
15
- min-height: $size;
16
- border-width: $borderWidth;
17
- }
18
-
19
- :global(.uui-caption) {
20
- @include text-size($size, $borderWidth);
21
-
22
- @if ($size == 42px or $size == 48px) {
23
- font-size: 16px;
24
- }
25
- }
26
- }
27
-
28
- @mixin button-horizontal-layout($size, $borderWidth) {
29
- min-width: $size;
30
-
31
- @if ($size == 18px) {
32
- @include button-padding(3px, 3px, $borderWidth);
33
- } @else if ($size == 24px) {
34
- @include button-padding(6px, 6px, $borderWidth);
35
- } @else if ($size == 30px) {
36
- @include button-padding(6px, 6px, $borderWidth);
37
- } @else if ($size == 36px) {
38
- @include button-padding(6px, 6px, $borderWidth);
39
- } @else if ($size == 42px) {
40
- @include button-padding(12px, 6px, $borderWidth);
41
- } @else if ($size == 48px) {
42
- @include button-padding(12px, 6px, $borderWidth);
43
- } @else {
44
- @include button-padding(6px, 6px, $borderWidth); }
45
- }
46
-
47
- @mixin button-padding($controlPadding, $captionPadding, $borderWidth) {
48
- padding-left: $controlPadding - $borderWidth;
49
- padding-right: $controlPadding - $borderWidth;
50
-
51
- :global(.uui-caption) {
52
- padding-left: $captionPadding;
53
- padding-right: $captionPadding;
54
- }
55
- }
56
-
57
- @mixin link-button-horizontal-layout($size) {
58
- min-width: $size;
59
-
60
- &:global(.uui-has-left-icon) :global(.uui-caption) {
61
- padding-left: 6px;
62
- }
63
-
64
- &:global(.uui-has-right-icon) :global(.uui-caption) {
65
- padding-right: 6px;
66
- }
67
- }
1
+ @use './text-size' as *;
2
+
3
+ @mixin button-layout($size, $borderWidth) {
4
+ @include button-horizontal-layout($size, $borderWidth);
5
+ @include button-vertical-layout($size, $borderWidth);
6
+ }
7
+
8
+ @mixin link-button-layout($size) {
9
+ @include link-button-horizontal-layout($size);
10
+ @include button-vertical-layout($size, 0);
11
+ }
12
+
13
+ @mixin button-vertical-layout($size, $borderWidth) {
14
+ &:global(.uui-button-box) {
15
+ min-height: $size;
16
+ border-width: $borderWidth;
17
+ }
18
+
19
+ :global(.uui-caption) {
20
+ @include text-size($size, $borderWidth);
21
+
22
+ @if ($size == 42px or $size == 48px) {
23
+ font-size: 16px;
24
+ }
25
+ }
26
+ }
27
+
28
+ @mixin button-horizontal-layout($size, $borderWidth) {
29
+ min-width: $size;
30
+
31
+ @if ($size == 18px) {
32
+ @include button-padding(3px, 3px, $borderWidth);
33
+ } @else if ($size == 24px) {
34
+ @include button-padding(6px, 6px, $borderWidth);
35
+ } @else if ($size == 30px) {
36
+ @include button-padding(6px, 6px, $borderWidth);
37
+ } @else if ($size == 36px) {
38
+ @include button-padding(6px, 6px, $borderWidth);
39
+ } @else if ($size == 42px) {
40
+ @include button-padding(12px, 6px, $borderWidth);
41
+ } @else if ($size == 48px) {
42
+ @include button-padding(12px, 6px, $borderWidth);
43
+ } @else {
44
+ @include button-padding(6px, 6px, $borderWidth); }
45
+ }
46
+
47
+ @mixin button-padding($controlPadding, $captionPadding, $borderWidth) {
48
+ padding-left: $controlPadding - $borderWidth;
49
+ padding-right: $controlPadding - $borderWidth;
50
+
51
+ :global(.uui-caption) {
52
+ padding-left: $captionPadding;
53
+ padding-right: $captionPadding;
54
+ }
55
+ }
56
+
57
+ @mixin link-button-horizontal-layout($size) {
58
+ min-width: $size;
59
+
60
+ &:global(.uui-has-left-icon) :global(.uui-caption) {
61
+ padding-left: 6px;
62
+ }
63
+
64
+ &:global(.uui-has-right-icon) :global(.uui-caption) {
65
+ padding-right: 6px;
66
+ }
67
+ }
@@ -0,0 +1,27 @@
1
+ @mixin clickable-styles() {
2
+ text-decoration: none;
3
+ outline: none;
4
+ border: 0;
5
+ background: none;
6
+ box-sizing: border-box;
7
+ appearance: none;
8
+ align-items: unset;
9
+ padding: unset;
10
+ margin: unset;
11
+ justify-content: unset;
12
+ overflow: hidden;
13
+ display: flex;
14
+ position: relative;
15
+
16
+ &:hover {
17
+ text-decoration: none;
18
+ }
19
+
20
+ &:global(.-clickable) {
21
+ cursor: pointer;
22
+ }
23
+
24
+ &:global(.uui-disabled) {
25
+ cursor: default;
26
+ }
27
+ }
@@ -1,28 +1,28 @@
1
- @use 'text-size' as *;
2
-
3
- @mixin control-vertical-layout($size, $borderWidth) {
4
- :global(.uui-caption), :global(.uui-input) {
5
- @include text-size($size, $borderWidth);
6
- }
7
-
8
- &:global(.uui-button-box), &:global(.uui-input-box) {
9
- min-height: $size;
10
- border-width: $borderWidth;
11
- }
12
- }
13
-
14
- @mixin control-box-layout($size, $borderWidth) {
15
- min-width: $size;
16
- padding-left: 5px;
17
- padding-right: 5px;
18
-
19
- :global(.uui-caption), :global(.uui-input) {
20
- padding-left: 6px;
21
- padding-right: 6px;
22
- }
23
-
24
- &:global(.uui-button-box), &:global(.uui-input-box) {
25
- min-height: $size;
26
- border-width: $borderWidth;
27
- }
28
- }
1
+ @use 'text-size' as *;
2
+
3
+ @mixin control-vertical-layout($size, $borderWidth) {
4
+ :global(.uui-caption), :global(.uui-input) {
5
+ @include text-size($size, $borderWidth);
6
+ }
7
+
8
+ &:global(.uui-button-box), &:global(.uui-input-box) {
9
+ min-height: $size;
10
+ border-width: $borderWidth;
11
+ }
12
+ }
13
+
14
+ @mixin control-box-layout($size, $borderWidth) {
15
+ min-width: $size;
16
+ padding-left: 5px;
17
+ padding-right: 5px;
18
+
19
+ :global(.uui-caption), :global(.uui-input) {
20
+ padding-left: 6px;
21
+ padding-right: 6px;
22
+ }
23
+
24
+ &:global(.uui-button-box), &:global(.uui-input-box) {
25
+ min-height: $size;
26
+ border-width: $borderWidth;
27
+ }
28
+ }
@@ -1,9 +1,9 @@
1
- @mixin dnd-cursor-style {
2
- &:hover {
3
- cursor: grab;
4
- }
5
-
6
- &:active {
7
- cursor: grabbing;
8
- }
9
- }
1
+ @mixin dnd-cursor-style {
2
+ &:hover {
3
+ cursor: grab;
4
+ }
5
+
6
+ &:active {
7
+ cursor: grabbing;
8
+ }
9
+ }
@@ -1,7 +1,7 @@
1
- @mixin dnd-ghost-shadow() { box-shadow: 0 6px 18px 0 rgba(29, 30, 38, 0.05), 0 3px 12px 0 rgba(29, 30, 38, 0.05); }
2
-
3
- @mixin focus-visible-effect($offset: 2px, $radius: 2px) {
4
- outline: 2px solid var(--uui-outline-focus);
5
- outline-offset: $offset;
6
- border-radius: $radius;
7
- }
1
+ @mixin dnd-ghost-shadow() { box-shadow: 0 6px 18px 0 rgba(29, 30, 38, 0.05), 0 3px 12px 0 rgba(29, 30, 38, 0.05); }
2
+
3
+ @mixin focus-visible-effect($offset: 2px, $radius: 2px) {
4
+ outline: 2px solid var(--uui-outline-focus);
5
+ outline-offset: $offset;
6
+ border-radius: $radius;
7
+ }
@@ -1,19 +1,19 @@
1
- @use 'sass:math';
2
-
3
- @mixin icon-layout($size) {
4
- :global(.uui-icon) {
5
- svg {
6
- height: math.div($size, 36) * 24;
7
- max-width: math.div($size, 36) * 24;
8
- }
9
- }
10
- }
11
-
12
- @mixin icon-size($size) {
13
- :global(.uui-icon) {
14
- svg {
15
- height: $size;
16
- max-width: $size;
17
- }
18
- }
19
- }
1
+ @use 'sass:math';
2
+
3
+ @mixin icon-layout($size) {
4
+ :global(.uui-icon) {
5
+ svg {
6
+ height: math.div($size, 36) * 24;
7
+ max-width: math.div($size, 36) * 24;
8
+ }
9
+ }
10
+ }
11
+
12
+ @mixin icon-size($size) {
13
+ :global(.uui-icon) {
14
+ svg {
15
+ height: $size;
16
+ max-width: $size;
17
+ }
18
+ }
19
+ }
@@ -1,8 +1,9 @@
1
- @forward 'buttonLayout';
2
- @forward 'controlLayout';
3
- @forward 'effects';
4
- @forward 'icons';
5
- @forward 'inputs';
6
- @forward 'text-size';
7
- @forward 'typography';
8
- @forward 'dnd';
1
+ @forward 'buttonLayout';
2
+ @forward 'clickable';
3
+ @forward 'controlLayout';
4
+ @forward 'effects';
5
+ @forward 'icons';
6
+ @forward 'inputs';
7
+ @forward 'text-size';
8
+ @forward 'typography';
9
+ @forward 'dnd';
@@ -1,74 +1,74 @@
1
- @mixin disabled-input() {
2
- &.mode-form {
3
- @include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
4
- cursor: default;
5
- pointer-events: none;
6
-
7
- &:hover, &:active, &:focus {
8
- @include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
9
- box-shadow: none;
10
- }
11
- }
12
-
13
- &.mode-cell {
14
- @include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
15
- cursor: default;
16
- pointer-events: none;
17
-
18
- &:hover, &:active, &:focus {
19
- @include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
20
- box-shadow: none;
21
- }
22
- }
23
- }
24
-
25
- @mixin readonly-input() {
26
- &.mode-form {
27
- background-color: var(--uui-control-bg-disabled);
28
- border-color: var(--uui-control-border-disabled);
29
- pointer-events: none;
30
-
31
- &:hover {
32
- border-color: var(--uui-control-border-disabled);
33
- }
34
-
35
- :global(.uui-input) {
36
- &::placeholder {
37
- color: var(--uui-control-placeholder-disabled);
38
- }
39
- }
40
- }
41
-
42
- &.mode-cell {
43
- background-color: transparent;
44
- border-color: transparent;
45
- pointer-events: none;
46
-
47
- &:hover {
48
- background-color: transparent;
49
- border-color: transparent;
50
- }
51
-
52
- :global(.uui-input) {
53
- &::placeholder {
54
- color: var(--uui-control-placeholder-disabled);
55
- }
56
- }
57
- }
58
- }
59
-
60
- @mixin input-colors($bg, $color, $border, $placeholder) {
61
- background-color: $bg;
62
- color: $color;
63
- fill: $color;
64
- border-color: $border;
65
-
66
- // override more selective selector on input tag in browsers stylesheets
67
- :global(.uui-input) {
68
- color: $color;
69
-
70
- &::placeholder {
71
- color: $placeholder;
72
- }
73
- }
74
- }
1
+ @mixin disabled-input() {
2
+ &.mode-form {
3
+ @include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
4
+ cursor: default;
5
+ pointer-events: none;
6
+
7
+ &:hover, &:active, &:focus {
8
+ @include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
9
+ box-shadow: none;
10
+ }
11
+ }
12
+
13
+ &.mode-cell {
14
+ @include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
15
+ cursor: default;
16
+ pointer-events: none;
17
+
18
+ &:hover, &:active, &:focus {
19
+ @include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
20
+ box-shadow: none;
21
+ }
22
+ }
23
+ }
24
+
25
+ @mixin readonly-input() {
26
+ &.mode-form {
27
+ background-color: var(--uui-control-bg-disabled);
28
+ border-color: var(--uui-control-border-disabled);
29
+ pointer-events: none;
30
+
31
+ &:hover {
32
+ border-color: var(--uui-control-border-disabled);
33
+ }
34
+
35
+ :global(.uui-input) {
36
+ &::placeholder {
37
+ color: var(--uui-control-placeholder-disabled);
38
+ }
39
+ }
40
+ }
41
+
42
+ &.mode-cell {
43
+ background-color: transparent;
44
+ border-color: transparent;
45
+ pointer-events: none;
46
+
47
+ &:hover {
48
+ background-color: transparent;
49
+ border-color: transparent;
50
+ }
51
+
52
+ :global(.uui-input) {
53
+ &::placeholder {
54
+ color: var(--uui-control-placeholder-disabled);
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ @mixin input-colors($bg, $color, $border, $placeholder) {
61
+ background-color: $bg;
62
+ color: $color;
63
+ fill: $color;
64
+ border-color: $border;
65
+
66
+ // override more selective selector on input tag in browsers stylesheets
67
+ :global(.uui-input) {
68
+ color: $color;
69
+
70
+ &::placeholder {
71
+ color: $placeholder;
72
+ }
73
+ }
74
+ }
@@ -1,42 +1,42 @@
1
- @function vpadding($size, $border-width) {
2
- @if ($size == 18px or $size == 24px) {
3
- @return (3px - $border-width);
4
- } @else if ($size == 30px) {
5
- @return (6px - $border-width);
6
- } @else if ($size == 36px or $size == 42px) {
7
- @return (9px - $border-width);
8
- } @else if ($size == 48px) {
9
- @return (12px - $border-width);
10
- } @else if ($size == 60px) {
11
- @return (15px - $border-width);
12
- }
13
-
14
- @return (null);
15
- }
16
-
17
- @mixin text-size($size, $border-width: 0) {
18
- @if ($size == 18px) {
19
- line-height: 12px;
20
- font-size: 10px;
21
- } @else if ($size == 24px) {
22
- line-height: 18px;
23
- font-size: 12px;
24
- } @else if ($size == 30px) {
25
- line-height: 18px;
26
- font-size: 14px;
27
- } @else if ($size == 36px) {
28
- line-height: 18px;
29
- font-size: 14px;
30
- } @else if ($size == 42px) {
31
- line-height: 24px;
32
- font-size: 16px;
33
- } @else if ($size == 48px) {
34
- line-height: 24px;
35
- font-size: 16px;
36
- } @else if ($size == 60px) {
37
- line-height: 24px;
38
- font-size: 20px;
39
- }
40
- padding-top: vpadding($size, $border-width);
41
- padding-bottom: vpadding($size, $border-width);
42
- }
1
+ @function vpadding($size, $border-width) {
2
+ @if ($size == 18px or $size == 24px) {
3
+ @return (3px - $border-width);
4
+ } @else if ($size == 30px) {
5
+ @return (6px - $border-width);
6
+ } @else if ($size == 36px or $size == 42px) {
7
+ @return (9px - $border-width);
8
+ } @else if ($size == 48px) {
9
+ @return (12px - $border-width);
10
+ } @else if ($size == 60px) {
11
+ @return (15px - $border-width);
12
+ }
13
+
14
+ @return (null);
15
+ }
16
+
17
+ @mixin text-size($size, $border-width: 0) {
18
+ @if ($size == 18px) {
19
+ line-height: 12px;
20
+ font-size: 10px;
21
+ } @else if ($size == 24px) {
22
+ line-height: 18px;
23
+ font-size: 12px;
24
+ } @else if ($size == 30px) {
25
+ line-height: 18px;
26
+ font-size: 14px;
27
+ } @else if ($size == 36px) {
28
+ line-height: 18px;
29
+ font-size: 14px;
30
+ } @else if ($size == 42px) {
31
+ line-height: 24px;
32
+ font-size: 16px;
33
+ } @else if ($size == 48px) {
34
+ line-height: 24px;
35
+ font-size: 16px;
36
+ } @else if ($size == 60px) {
37
+ line-height: 24px;
38
+ font-size: 20px;
39
+ }
40
+ padding-top: vpadding($size, $border-width);
41
+ padding-bottom: vpadding($size, $border-width);
42
+ }