@react-ui-org/react-ui 0.44.1 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/dist/lib.development.js +138 -258
  2. package/dist/lib.js +1 -1
  3. package/package.json +7 -10
  4. package/src/lib/components/Alert/Alert.jsx +4 -3
  5. package/src/lib/components/Alert/Alert.scss +48 -48
  6. package/src/lib/components/Alert/_settings.scss +4 -4
  7. package/src/lib/components/Alert/_theme.scss +50 -50
  8. package/src/lib/components/Alert/_tools.scss +6 -6
  9. package/src/lib/components/Badge/Badge.jsx +5 -4
  10. package/src/lib/components/Badge/Badge.scss +57 -57
  11. package/src/lib/components/Button/Button.jsx +10 -9
  12. package/src/lib/components/Button/Button.scss +2 -2
  13. package/src/lib/components/Button/README.mdx +6 -1
  14. package/src/lib/components/Button/_base.scss +65 -65
  15. package/src/lib/components/Button/_priorities.scss +49 -49
  16. package/src/lib/components/Button/_settings.scss +10 -10
  17. package/src/lib/components/Button/_theme.scss +18 -15
  18. package/src/lib/components/Button/_tools.scss +98 -100
  19. package/src/lib/components/ButtonGroup/ButtonGroup.jsx +4 -3
  20. package/src/lib/components/ButtonGroup/ButtonGroup.scss +3 -3
  21. package/src/lib/components/Card/Card.jsx +7 -6
  22. package/src/lib/components/Card/Card.scss +28 -28
  23. package/src/lib/components/Card/_theme.scss +50 -50
  24. package/src/lib/components/Card/_tools.scss +6 -6
  25. package/src/lib/components/CheckboxField/CheckboxField.jsx +12 -11
  26. package/src/lib/components/CheckboxField/CheckboxField.scss +20 -20
  27. package/src/lib/components/FileInputField/FileInputField.jsx +13 -12
  28. package/src/lib/components/FileInputField/FileInputField.scss +19 -19
  29. package/src/lib/components/FormLayout/FormLayout.jsx +5 -4
  30. package/src/lib/components/FormLayout/FormLayout.scss +17 -17
  31. package/src/lib/components/FormLayout/FormLayoutCustomField.jsx +9 -8
  32. package/src/lib/components/FormLayout/FormLayoutCustomField.scss +18 -18
  33. package/src/lib/components/FormLayout/README.mdx +16 -36
  34. package/src/lib/components/Grid/Grid.jsx +1 -1
  35. package/src/lib/components/Grid/Grid.scss +28 -30
  36. package/src/lib/components/Grid/GridSpan.jsx +1 -1
  37. package/src/lib/components/Grid/{helpers → _helpers}/generateResponsiveCustomProperties.js +0 -2
  38. package/src/lib/components/Grid/_theme.scss +9 -9
  39. package/src/lib/components/Grid/_tools.scss +20 -20
  40. package/src/lib/components/Link/Link.jsx +1 -1
  41. package/src/lib/components/Link/Link.scss +7 -7
  42. package/src/lib/components/List/List.jsx +11 -10
  43. package/src/lib/components/List/List.scss +21 -21
  44. package/src/lib/components/Media/Media.scss +6 -6
  45. package/src/lib/components/Modal/Modal.jsx +6 -5
  46. package/src/lib/components/Modal/Modal.scss +73 -73
  47. package/src/lib/components/Modal/_settings.scss +5 -5
  48. package/src/lib/components/Modal/_theme.scss +17 -17
  49. package/src/lib/components/Paper/Paper.jsx +5 -4
  50. package/src/lib/components/Paper/Paper.scss +8 -8
  51. package/src/lib/components/Radio/Radio.jsx +12 -11
  52. package/src/lib/components/Radio/Radio.scss +26 -26
  53. package/src/lib/components/ScrollView/ScrollView.jsx +9 -8
  54. package/src/lib/components/ScrollView/ScrollView.scss +113 -113
  55. package/src/lib/{services/elementPositionService.js → components/ScrollView/_helpers/getElementsPositionDifference.js} +0 -2
  56. package/src/lib/{hooks → components/ScrollView/_hooks}/useLoadResizeHook.js +1 -1
  57. package/src/lib/{hooks → components/ScrollView/_hooks}/useScrollPositionHook.js +1 -1
  58. package/src/lib/components/SelectField/SelectField.jsx +14 -13
  59. package/src/lib/components/SelectField/SelectField.scss +30 -30
  60. package/src/lib/components/Table/Table.scss +28 -35
  61. package/src/lib/components/Table/_settings.scss +5 -5
  62. package/src/lib/components/Tabs/Tabs.scss +21 -21
  63. package/src/lib/components/Tabs/TabsItem.jsx +4 -3
  64. package/src/lib/components/Tabs/TabsItem.scss +78 -78
  65. package/src/lib/components/Text/Text.jsx +5 -4
  66. package/src/lib/components/Text/Text.scss +12 -12
  67. package/src/lib/components/Text/{helpers → _helpers}/getRootHyphensClassName.js +1 -1
  68. package/src/lib/components/Text/{helpers → _helpers}/getRootWordWrappingClassName.js +1 -1
  69. package/src/lib/components/TextArea/TextArea.jsx +14 -13
  70. package/src/lib/components/TextArea/TextArea.scss +27 -27
  71. package/src/lib/components/TextField/TextField.jsx +16 -15
  72. package/src/lib/components/TextField/TextField.scss +28 -28
  73. package/src/lib/components/Toggle/Toggle.jsx +12 -11
  74. package/src/lib/components/Toggle/Toggle.scss +20 -20
  75. package/src/lib/components/Toolbar/Toolbar.jsx +5 -4
  76. package/src/lib/components/Toolbar/Toolbar.scss +25 -25
  77. package/src/lib/components/Toolbar/ToolbarGroup.jsx +5 -4
  78. package/src/lib/{helpers → components/_helpers}/getRootColorClassName.js +1 -1
  79. package/src/lib/{helpers → components/_helpers}/getRootSizeClassName.js +1 -1
  80. package/src/lib/{helpers → components/_helpers}/getRootValidationStateClassName.js +1 -1
  81. package/src/lib/{helpers → components/_helpers}/resolveContextOrProp.js +0 -0
  82. package/src/lib/{utils → components/_helpers}/transferProps.js +1 -1
  83. package/src/lib/foundation.scss +11 -11
  84. package/src/lib/helpers.scss +2 -2
  85. package/src/lib/index.js +3 -7
  86. package/src/lib/styles/_utilities.scss +13 -13
  87. package/src/lib/styles/elements/_code.scss +7 -7
  88. package/src/lib/styles/elements/_links.scss +8 -8
  89. package/src/lib/styles/elements/_lists.scss +3 -3
  90. package/src/lib/styles/elements/_page.scss +14 -14
  91. package/src/lib/styles/elements/_rulers.scss +6 -6
  92. package/src/lib/styles/elements/_small.scss +2 -2
  93. package/src/lib/styles/generic/_box-sizing.scss +3 -2
  94. package/src/lib/styles/generic/_forms.scss +3 -3
  95. package/src/lib/styles/generic/_reset.scss +6 -6
  96. package/src/lib/styles/generic/_shared.scss +3 -3
  97. package/src/lib/styles/helpers/_animation.scss +8 -8
  98. package/src/lib/styles/settings/_breakpoints.scss +7 -7
  99. package/src/lib/styles/settings/_escaped-characters.scss +5 -5
  100. package/src/lib/styles/settings/_form-fields.scss +24 -24
  101. package/src/lib/styles/settings/_utilities.scss +112 -100
  102. package/src/lib/styles/theme/_colors.scss +50 -50
  103. package/src/lib/styles/theme/_form-fields.scss +32 -32
  104. package/src/lib/styles/theme/_spacing.scss +11 -11
  105. package/src/lib/styles/theme/_typography.scss +12 -11
  106. package/src/lib/styles/theme-constants/_breakpoints.scss +2 -2
  107. package/src/lib/styles/theme-constants/_colors.scss +2 -2
  108. package/src/lib/styles/theme-constants/_svg.scss +1 -2
  109. package/src/lib/styles/tools/_accessibility.scss +29 -29
  110. package/src/lib/styles/tools/_breakpoint.scss +11 -14
  111. package/src/lib/styles/tools/_caret.scss +8 -8
  112. package/src/lib/styles/tools/_colors.scss +3 -3
  113. package/src/lib/styles/tools/_reset.scss +21 -21
  114. package/src/lib/styles/tools/_scrollbar.scss +4 -4
  115. package/src/lib/styles/tools/_spacing.scss +17 -21
  116. package/src/lib/styles/tools/_string.scss +9 -9
  117. package/src/lib/styles/tools/_svg.scss +13 -16
  118. package/src/lib/styles/tools/_transition.scss +42 -44
  119. package/src/lib/styles/tools/_utilities.scss +19 -19
  120. package/src/lib/styles/tools/form-fields/_box-field-elements.scss +88 -88
  121. package/src/lib/styles/tools/form-fields/_box-field-layout.scss +144 -144
  122. package/src/lib/styles/tools/form-fields/_box-field-sizes.scss +13 -15
  123. package/src/lib/styles/tools/form-fields/_foundation.scss +12 -12
  124. package/src/lib/styles/tools/form-fields/_inline-field-elements.scss +71 -71
  125. package/src/lib/styles/tools/form-fields/_inline-field-layout.scss +44 -44
  126. package/src/lib/styles/tools/form-fields/_variants.scss +104 -106
  127. package/src/lib/theme.scss +958 -954
  128. package/src/lib/utils/classNames.js +8 -0
  129. package/src/lib/components/CTA/CTA.jsx +0 -60
  130. package/src/lib/components/CTA/CTA.scss +0 -71
  131. package/src/lib/components/CTA/CTACenter.jsx +0 -27
  132. package/src/lib/components/CTA/CTAEnd.jsx +0 -27
  133. package/src/lib/components/CTA/CTAStart.jsx +0 -27
  134. package/src/lib/components/CTA/README.mdx +0 -119
  135. package/src/lib/components/CTA/index.js +0 -4
  136. package/src/lib/components/Center/Center.jsx +0 -27
  137. package/src/lib/components/Center/Center.scss +0 -7
  138. package/src/lib/components/Center/README.mdx +0 -52
  139. package/src/lib/components/Center/index.js +0 -1
@@ -1,15 +1,15 @@
1
- @use 'sass:map';
2
- @use '../../styles/tools/breakpoint';
3
- @use 'settings';
4
- @use 'theme';
5
- @use 'tools';
1
+ @use "sass:map";
2
+ @use "../../styles/tools/breakpoint";
3
+ @use "settings";
4
+ @use "theme";
5
+ @use "tools";
6
6
 
7
7
  .root {
8
- @include tools.button();
8
+ @include tools.button();
9
9
  }
10
10
 
11
11
  .label {
12
- display: block;
12
+ display: block;
13
13
  }
14
14
 
15
15
  .beforeLabel,
@@ -17,88 +17,88 @@
17
17
  .startCorner,
18
18
  .endCorner,
19
19
  .feedbackIcon {
20
- display: flex;
21
- align-items: baseline;
22
- justify-content: center;
20
+ display: flex;
21
+ align-items: baseline;
22
+ justify-content: center;
23
23
  }
24
24
 
25
25
  .startCorner,
26
26
  .endCorner {
27
- position: absolute;
28
- top: -0.35rem;
29
- z-index: 2;
27
+ position: absolute;
28
+ top: -0.35rem;
29
+ z-index: 2;
30
30
  }
31
31
 
32
32
  .startCorner {
33
- left: 0;
34
- margin-left: -0.35rem;
33
+ left: 0;
34
+ margin-left: -0.35rem;
35
35
  }
36
36
 
37
37
  .endCorner {
38
- right: 0;
39
- margin-right: -0.35rem;
38
+ right: 0;
39
+ margin-right: -0.35rem;
40
40
  }
41
41
 
42
42
  .feedbackIcon {
43
- position: absolute;
44
- top: 0;
45
- right: 0;
46
- bottom: 0;
47
- left: 0;
48
- z-index: 1;
49
- align-items: center;
43
+ position: absolute;
44
+ top: 0;
45
+ right: 0;
46
+ bottom: 0;
47
+ left: 0;
48
+ z-index: 1;
49
+ align-items: center;
50
50
  }
51
51
 
52
52
  .rootSizeSmall {
53
- @include tools.button-size(small);
53
+ @include tools.button-size(small);
54
54
  }
55
55
 
56
56
  .rootSizeMedium {
57
- @include tools.button-size(medium);
57
+ @include tools.button-size(medium);
58
58
  }
59
59
 
60
60
  .rootSizeLarge {
61
- @include tools.button-size(large);
61
+ @include tools.button-size(large);
62
62
  }
63
63
 
64
64
  .rootBlock {
65
- width: 100%;
65
+ width: 100%;
66
66
  }
67
67
 
68
68
  .hasRootFeedback:disabled {
69
- opacity: theme.$feedback-opacity;
70
- cursor: theme.$feedback-cursor;
69
+ opacity: theme.$feedback-opacity;
70
+ cursor: theme.$feedback-cursor;
71
71
  }
72
72
 
73
73
  .hasRootFeedback .label,
74
74
  .hasRootFeedback .beforeLabel,
75
75
  .hasRootFeedback .afterLabel {
76
- color: transparent;
76
+ color: transparent;
77
77
  }
78
78
 
79
79
  .rootGrouped {
80
- z-index: map.get(settings.$group-z-indexes, button);
80
+ z-index: map.get(settings.$group-z-indexes, button);
81
81
 
82
- &:not(:first-child) {
83
- margin-left: var(--local-gap);
84
- border-top-left-radius: 0;
85
- border-bottom-left-radius: 0;
86
- }
82
+ &:not(:first-child) {
83
+ margin-left: var(--rui-local-gap);
84
+ border-top-left-radius: 0;
85
+ border-bottom-left-radius: 0;
86
+ }
87
87
 
88
- &:not(:last-child) {
89
- border-top-right-radius: 0;
90
- border-bottom-right-radius: 0;
91
- }
88
+ &:not(:last-child) {
89
+ border-top-right-radius: 0;
90
+ border-bottom-right-radius: 0;
91
+ }
92
92
 
93
- &:focus,
94
- &:not(:disabled):hover {
95
- z-index: map.get(settings.$group-z-indexes, button-hover);
96
- }
93
+ &:focus,
94
+ &:not(:disabled):hover {
95
+ z-index: map.get(settings.$group-z-indexes, button-hover);
96
+ }
97
97
  }
98
98
 
99
99
  .rootGrouped .startCorner,
100
100
  .rootGrouped .endCorner {
101
- z-index: map.get(settings.$group-z-indexes, button-overflowing-elements);
101
+ z-index: map.get(settings.$group-z-indexes, button-overflowing-elements);
102
102
  }
103
103
 
104
104
  .withLabelHidden,
@@ -108,41 +108,41 @@
108
108
  .withLabelVisibleXl,
109
109
  .withLabelVisibleXxl,
110
110
  .withLabelVisibleXxxl {
111
- @include tools.hide-label();
111
+ @include tools.hide-label();
112
112
  }
113
113
 
114
114
  .withLabelVisibleSm {
115
- @include breakpoint.up(sm) {
116
- @include tools.show-label();
117
- }
115
+ @include breakpoint.up(sm) {
116
+ @include tools.show-label();
117
+ }
118
118
  }
119
119
 
120
120
  .withLabelVisibleMd {
121
- @include breakpoint.up(md) {
122
- @include tools.show-label();
123
- }
121
+ @include breakpoint.up(md) {
122
+ @include tools.show-label();
123
+ }
124
124
  }
125
125
 
126
126
  .withLabelVisibleLg {
127
- @include breakpoint.up(lg) {
128
- @include tools.show-label();
129
- }
127
+ @include breakpoint.up(lg) {
128
+ @include tools.show-label();
129
+ }
130
130
  }
131
131
 
132
132
  .withLabelVisibleXl {
133
- @include breakpoint.up(xl) {
134
- @include tools.show-label();
135
- }
133
+ @include breakpoint.up(xl) {
134
+ @include tools.show-label();
135
+ }
136
136
  }
137
137
 
138
138
  .withLabelVisibleXxl {
139
- @include breakpoint.up(xxl) {
140
- @include tools.show-label();
141
- }
139
+ @include breakpoint.up(xxl) {
140
+ @include tools.show-label();
141
+ }
142
142
  }
143
143
 
144
144
  .withLabelVisibleXxxl {
145
- @include breakpoint.up(xxxl) {
146
- @include tools.show-label();
147
- }
145
+ @include breakpoint.up(xxxl) {
146
+ @include tools.show-label();
147
+ }
148
148
  }
@@ -1,152 +1,152 @@
1
- @use 'sass:map';
2
- @use 'settings';
3
- @use 'theme';
4
- @use 'tools';
1
+ @use "sass:map";
2
+ @use "settings";
3
+ @use "theme";
4
+ @use "tools";
5
5
 
6
6
  .rootPriorityFilled.rootColorPrimary {
7
- @include tools.button-color(filled, primary);
7
+ @include tools.button-color(filled, primary);
8
8
  }
9
9
 
10
10
  .rootPriorityFilled.rootColorSecondary {
11
- @include tools.button-color(filled, secondary);
11
+ @include tools.button-color(filled, secondary);
12
12
  }
13
13
 
14
14
  .rootPriorityFilled.rootColorSuccess {
15
- @include tools.button-color(filled, success);
15
+ @include tools.button-color(filled, success);
16
16
  }
17
17
 
18
18
  .rootPriorityFilled.rootColorWarning {
19
- @include tools.button-color(filled, warning);
19
+ @include tools.button-color(filled, warning);
20
20
  }
21
21
 
22
22
  .rootPriorityFilled.rootColorDanger {
23
- @include tools.button-color(filled, danger);
23
+ @include tools.button-color(filled, danger);
24
24
  }
25
25
 
26
26
  .rootPriorityFilled.rootColorHelp {
27
- @include tools.button-color(filled, help);
27
+ @include tools.button-color(filled, help);
28
28
  }
29
29
 
30
30
  .rootPriorityFilled.rootColorInfo {
31
- @include tools.button-color(filled, info);
31
+ @include tools.button-color(filled, info);
32
32
  }
33
33
 
34
34
  .rootPriorityFilled.rootColorNote {
35
- @include tools.button-color(filled, note);
35
+ @include tools.button-color(filled, note);
36
36
  }
37
37
 
38
38
  .rootPriorityFilled.rootColorLight {
39
- @include tools.button-color(filled, light);
39
+ @include tools.button-color(filled, light);
40
40
  }
41
41
 
42
42
  .rootPriorityFilled.rootColorDark {
43
- @include tools.button-color(filled, dark);
43
+ @include tools.button-color(filled, dark);
44
44
  }
45
45
 
46
46
  .rootPriorityOutline.rootColorPrimary {
47
- @include tools.button-color(outline, primary);
47
+ @include tools.button-color(outline, primary);
48
48
  }
49
49
 
50
50
  .rootPriorityOutline.rootColorSecondary {
51
- @include tools.button-color(outline, secondary);
51
+ @include tools.button-color(outline, secondary);
52
52
  }
53
53
 
54
54
  .rootPriorityOutline.rootColorSuccess {
55
- @include tools.button-color(outline, success);
55
+ @include tools.button-color(outline, success);
56
56
  }
57
57
 
58
58
  .rootPriorityOutline.rootColorWarning {
59
- @include tools.button-color(outline, warning);
59
+ @include tools.button-color(outline, warning);
60
60
  }
61
61
 
62
62
  .rootPriorityOutline.rootColorDanger {
63
- @include tools.button-color(outline, danger);
63
+ @include tools.button-color(outline, danger);
64
64
  }
65
65
 
66
66
  .rootPriorityOutline.rootColorHelp {
67
- @include tools.button-color(outline, help);
67
+ @include tools.button-color(outline, help);
68
68
  }
69
69
 
70
70
  .rootPriorityOutline.rootColorInfo {
71
- @include tools.button-color(outline, info);
71
+ @include tools.button-color(outline, info);
72
72
  }
73
73
 
74
74
  .rootPriorityOutline.rootColorNote {
75
- @include tools.button-color(outline, note);
75
+ @include tools.button-color(outline, note);
76
76
  }
77
77
 
78
78
  .rootPriorityOutline.rootColorLight {
79
- @include tools.button-color(outline, light);
79
+ @include tools.button-color(outline, light);
80
80
  }
81
81
 
82
82
  .rootPriorityOutline.rootColorDark {
83
- @include tools.button-color(outline, dark);
83
+ @include tools.button-color(outline, dark);
84
84
  }
85
85
 
86
86
  .rootPriorityFlat.rootColorPrimary {
87
- @include tools.button-color(flat, primary);
87
+ @include tools.button-color(flat, primary);
88
88
  }
89
89
 
90
90
  .rootPriorityFlat.rootColorSecondary {
91
- @include tools.button-color(flat, secondary);
91
+ @include tools.button-color(flat, secondary);
92
92
  }
93
93
 
94
94
  .rootPriorityFlat.rootColorSuccess {
95
- @include tools.button-color(flat, success);
95
+ @include tools.button-color(flat, success);
96
96
  }
97
97
 
98
98
  .rootPriorityFlat.rootColorWarning {
99
- @include tools.button-color(flat, warning);
99
+ @include tools.button-color(flat, warning);
100
100
  }
101
101
 
102
102
  .rootPriorityFlat.rootColorDanger {
103
- @include tools.button-color(flat, danger);
103
+ @include tools.button-color(flat, danger);
104
104
  }
105
105
 
106
106
  .rootPriorityFlat.rootColorHelp {
107
- @include tools.button-color(flat, help);
107
+ @include tools.button-color(flat, help);
108
108
  }
109
109
 
110
110
  .rootPriorityFlat.rootColorInfo {
111
- @include tools.button-color(flat, info);
111
+ @include tools.button-color(flat, info);
112
112
  }
113
113
 
114
114
  .rootPriorityFlat.rootColorNote {
115
- @include tools.button-color(flat, note);
115
+ @include tools.button-color(flat, note);
116
116
  }
117
117
 
118
118
  .rootPriorityFlat.rootColorLight {
119
- @include tools.button-color(flat, light);
119
+ @include tools.button-color(flat, light);
120
120
  }
121
121
 
122
122
  .rootPriorityFlat.rootColorDark {
123
- @include tools.button-color(flat, dark);
123
+ @include tools.button-color(flat, dark);
124
124
  }
125
125
 
126
126
  .rootPriorityFilled.rootGrouped:not(:first-child)::before,
127
127
  .rootPriorityFlat.rootGrouped:not(:first-child)::before {
128
- content: '';
129
- position: absolute;
130
- top: calc(-1 * #{theme.$border-width});
131
- bottom: calc(-1 * #{theme.$border-width});
132
- left: calc(-1 * #{theme.$border-width});
133
- z-index: map.get(settings.$group-z-indexes, separator);
134
- border-left: var(--local-separator-width) solid var(--local-separator-color);
135
- transform: translateX(calc(-0.5 * var(--local-gap) - 50%));
128
+ content: "";
129
+ position: absolute;
130
+ top: calc(-1 * #{theme.$border-width});
131
+ bottom: calc(-1 * #{theme.$border-width});
132
+ left: calc(-1 * #{theme.$border-width});
133
+ z-index: map.get(settings.$group-z-indexes, separator);
134
+ border-left: var(--rui-local-separator-width) solid var(--rui-local-separator-color);
135
+ transform: translateX(calc(-0.5 * var(--rui-local-gap) - 50%));
136
136
  }
137
137
 
138
138
  .rootPriorityFilled.rootGrouped:not(:first-child) {
139
- --local-gap: #{theme.$group-filled-gap};
140
- --local-separator-width: #{theme.$group-filled-separator-width};
141
- --local-separator-color: #{theme.$group-filled-separator-color};
139
+ --rui-local-gap: #{theme.$group-filled-gap};
140
+ --rui-local-separator-width: #{theme.$group-filled-separator-width};
141
+ --rui-local-separator-color: #{theme.$group-filled-separator-color};
142
142
  }
143
143
 
144
144
  .rootPriorityFlat.rootGrouped:not(:first-child) {
145
- --local-gap: #{theme.$group-flat-gap};
146
- --local-separator-width: #{theme.$group-flat-separator-width};
147
- --local-separator-color: #{theme.$group-flat-separator-color};
145
+ --rui-local-gap: #{theme.$group-flat-gap};
146
+ --rui-local-separator-width: #{theme.$group-flat-separator-width};
147
+ --rui-local-separator-color: #{theme.$group-flat-separator-color};
148
148
  }
149
149
 
150
150
  .rootPriorityOutline.rootGrouped:not(:first-child) {
151
- --local-gap: #{theme.$group-outline-gap};
151
+ --rui-local-gap: #{theme.$group-outline-gap};
152
152
  }
@@ -1,21 +1,21 @@
1
- @use '../../styles/theme/typography';
2
- @use '../../styles/tools/spacing';
1
+ @use "../../styles/theme/typography";
2
+ @use "../../styles/tools/spacing";
3
3
 
4
4
  $font-family: typography.$font-family-base;
5
- $line-height: typography.$line-height-base;
5
+ $line-height: typography.$line-height-small;
6
6
  $icon-spacing: spacing.of(2);
7
7
 
8
8
  $group-z-indexes: (
9
- button: auto,
10
- button-hover: 1,
11
- separator: 2,
12
- button-overflowing-elements: 3,
9
+ button: auto,
10
+ button-hover: 1,
11
+ separator: 2,
12
+ button-overflowing-elements: 3,
13
13
  );
14
14
 
15
15
  $themeable-variants: (primary, secondary, success, warning, danger, help, info, note, light, dark);
16
16
  $themeable-states: (default, hover, active, disabled);
17
17
  $themeable-priority-properties: (
18
- filled: (color, border-color, background, box-shadow),
19
- outline: (color, border-color, background),
20
- flat: (color, background),
18
+ filled: (color, border-color, background, box-shadow),
19
+ outline: (color, border-color, background),
20
+ flat: (color, background),
21
21
  );
@@ -23,19 +23,22 @@ $group-flat-separator-color: var(--rui-ButtonGroup--flat__separator__color);
23
23
  $group-outline-gap: var(--rui-ButtonGroup--outline__gap);
24
24
 
25
25
  $sizes: (
26
- small: (
27
- height: var(--rui-Button--small__height),
28
- padding-x: var(--rui-Button--small__padding-x),
29
- font-size: var(--rui-Button--small__font-size),
30
- ),
31
- medium: (
32
- height: var(--rui-Button--medium__height),
33
- padding-x: var(--rui-Button--medium__padding-x),
34
- font-size: var(--rui-Button--medium__font-size),
35
- ),
36
- large: (
37
- height: var(--rui-Button--large__height),
38
- padding-x: var(--rui-Button--large__padding-x),
39
- font-size: var(--rui-Button--large__font-size),
40
- ),
26
+ small: (
27
+ height: var(--rui-Button--small__height),
28
+ padding-y: var(--rui-Button--small__padding-y),
29
+ padding-x: var(--rui-Button--small__padding-x),
30
+ font-size: var(--rui-Button--small__font-size),
31
+ ),
32
+ medium: (
33
+ height: var(--rui-Button--medium__height),
34
+ padding-y: var(--rui-Button--medium__padding-y),
35
+ padding-x: var(--rui-Button--medium__padding-x),
36
+ font-size: var(--rui-Button--medium__font-size),
37
+ ),
38
+ large: (
39
+ height: var(--rui-Button--large__height),
40
+ padding-y: var(--rui-Button--large__padding-y),
41
+ padding-x: var(--rui-Button--large__padding-x),
42
+ font-size: var(--rui-Button--large__font-size),
43
+ ),
41
44
  );