Skip to content

Commit d5e9ac2

Browse files
add usePopperTooltip hook (#107)
Co-authored-by: Denis Borovikov <metaller.ru@gmail.com>
1 parent 0ad520e commit d5e9ac2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+5915
-9420
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module.exports = {
22
parser: '@typescript-eslint/parser',
33
extends: [
4+
'plugin:react/recommended',
5+
'plugin:react-hooks/recommended',
46
'plugin:@typescript-eslint/recommended',
57
'prettier/@typescript-eslint',
68
'plugin:prettier/recommended',
7-
'plugin:react/recommended',
89
],
910
parserOptions: {
1011
ecmaVersion: 2020,
@@ -13,7 +14,6 @@ module.exports = {
1314
jsx: true,
1415
},
1516
},
16-
plugins: ['@typescript-eslint', 'react'],
1717
settings: {
1818
react: {
1919
version: 'detect',

.size-snapshot.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"react-popper-tooltip.js": {
3-
"bundled": 15314,
4-
"minified": 8563,
5-
"gzipped": 2414,
3+
"bundled": 10503,
4+
"minified": 5012,
5+
"gzipped": 1723,
66
"treeshaked": {
77
"rollup": {
8-
"code": 209,
9-
"import_statements": 209
8+
"code": 142,
9+
"import_statements": 142
1010
},
1111
"webpack": {
12-
"code": 9247
12+
"code": 1355
1313
}
1414
}
1515
}

.storybook/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
"stories": [
3+
"../stories/**/*.stories.mdx",
4+
"../stories/**/*.stories.@(js|jsx|ts|tsx)"
5+
],
6+
"addons": [
7+
"@storybook/addon-links",
8+
"@storybook/addon-essentials"
9+
]
10+
}

.storybook/preview.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const parameters = {
2+
layout: 'centered',
3+
};

0 commit comments

Comments
 (0)