@team-monolith/cds 1.16.1 → 1.17.1

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.
@@ -139,7 +139,8 @@ const COLOR_TO_BUTTON_STYLE = (theme, color, disabled) => ({
139
139
  })[color];
140
140
  const SIZE_TO_BUTTON_STYLE = {
141
141
  large: css `
142
- padding: 16px 20px;
142
+ height: 56px;
143
+ padding: 0 20px;
143
144
  gap: 10px;
144
145
 
145
146
  svg {
@@ -148,7 +149,8 @@ const SIZE_TO_BUTTON_STYLE = {
148
149
  }
149
150
  `,
150
151
  medium: css `
151
- padding: 14px 16px;
152
+ height: 48px;
153
+ padding: 0 16px;
152
154
  gap: 8px;
153
155
 
154
156
  svg {
@@ -157,7 +159,8 @@ const SIZE_TO_BUTTON_STYLE = {
157
159
  }
158
160
  `,
159
161
  small: css `
160
- padding: 10px 12px;
162
+ height: 36px;
163
+ padding: 0 12px;
161
164
  gap: 8px;
162
165
 
163
166
  svg {
@@ -166,7 +169,8 @@ const SIZE_TO_BUTTON_STYLE = {
166
169
  }
167
170
  `,
168
171
  xsmall: css `
169
- padding: 6px 8px;
172
+ height: 28px;
173
+ padding: 0 8px;
170
174
  gap: 4px;
171
175
 
172
176
  svg {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.16.1",
3
+ "version": "1.17.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,