@odigos/ui-kit 0.0.99 → 0.0.101
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.
- package/CHANGELOG.md +14 -0
- package/lib/chunks/ui-components-365e1848.js +1604 -0
- package/lib/chunks/vendor-1dea551d.js +1 -0
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers.js +111 -111
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/add-button/index.d.ts +2 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +6 -0
- package/lib/types.js +1 -1
- package/package.json +1 -1
- package/bundle-analysis.html +0 -4949
- package/eslint.config.mjs +0 -34
- package/lib/chunks/ui-components-675457f7.js +0 -1604
- package/lib/chunks/vendor-56978108.js +0 -1
package/eslint.config.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
|
|
2
|
-
import storybook from 'eslint-plugin-storybook';
|
|
3
|
-
|
|
4
|
-
import { dirname } from 'path';
|
|
5
|
-
import { fileURLToPath } from 'url';
|
|
6
|
-
import { FlatCompat } from '@eslint/eslintrc';
|
|
7
|
-
|
|
8
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
-
const __dirname = dirname(__filename);
|
|
10
|
-
|
|
11
|
-
const compat = new FlatCompat({
|
|
12
|
-
baseDirectory: __dirname,
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
const extensions = compat.extends('next/core-web-vitals', 'next/typescript');
|
|
16
|
-
const config = compat.config({});
|
|
17
|
-
|
|
18
|
-
// Custom rule to allow unused variables that start with underscore
|
|
19
|
-
const customRules = {
|
|
20
|
-
rules: {
|
|
21
|
-
'@typescript-eslint/no-unused-vars': [
|
|
22
|
-
'error',
|
|
23
|
-
{
|
|
24
|
-
argsIgnorePattern: '^_',
|
|
25
|
-
varsIgnorePattern: '^_',
|
|
26
|
-
caughtErrorsIgnorePattern: '^_',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const eslintConfig = [...extensions, ...config, ...storybook.configs['flat/recommended'], customRules];
|
|
33
|
-
|
|
34
|
-
export default eslintConfig;
|