Skip to content

Commit 76ca3fc

Browse files
committed
chore(spacing): update spacing values
2 parents 9bd7a9c + 770ae07 commit 76ca3fc

File tree

8 files changed

+449
-213
lines changed

8 files changed

+449
-213
lines changed

__mocks__/styleMock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {};

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ module.exports = {
33
testEnvironment: 'jsdom',
44
setupTestFrameworkScriptFile: './setupTests.ts',
55
snapshotSerializers: ['enzyme-to-json/serializer'],
6+
moduleNameMapper: {
7+
'\\.(css)$': '<rootDir>/__mocks__/styleMock.js',
8+
},
69
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test.watch": "yarn test --watch"
3636
},
3737
"peerDependencies": {
38-
"@stoplight/ui-kit": ">=1.46",
38+
"@stoplight/ui-kit": ">=1.48",
3939
"react": ">=16.7.0-alpha.1",
4040
"react-dom": ">=16.7.0-alpha.1"
4141
},
@@ -48,7 +48,7 @@
4848
"@stoplight/scripts": "4.1.0",
4949
"@stoplight/storybook-config": "1.x.x",
5050
"@stoplight/types": "3.1.x",
51-
"@stoplight/ui-kit": "1.27.x",
51+
"@stoplight/ui-kit": "1.48.x",
5252
"@types/enzyme": "3.1.x",
5353
"@types/react": "16.x.x",
5454
"@types/react-dom": "16.x.x",

src/common/ErrorMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const ErrorMessage: FunctionComponent<IErrorMessage> = props => {
1010
const css = errorMessageStyles();
1111

1212
return (
13-
<Box as="p" p={3} css={css} {...rest}>
13+
<Box as="p" p={11} css={css} {...rest}>
1414
{children}
1515
</Box>
1616
);

0 commit comments

Comments
 (0)