@fox-dls/carousels 1.0.1 → 1.0.2
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/.eslintrc.json +27 -66
- package/.ultra.cache.json +1 -0
- package/dist/index.js +119 -129
- package/dist/index.js.map +1 -1
- package/dist/lib/card/styles/index.d.ts +1 -0
- package/dist/lib/free/styles/index.d.ts +1 -0
- package/dist/lib/pagination/styles/index.d.ts +1 -0
- package/dist/lib/pills/styles/index.d.ts +1 -0
- package/dist/lib/styles/index.d.ts +1 -0
- package/package.json +45 -23
- package/tsconfig.json +17 -19
- package/dist/index.esm.js +0 -516
- package/dist/index.esm.js.map +0 -1
package/.eslintrc.json
CHANGED
@@ -1,74 +1,35 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"root": true,
|
3
|
+
"ignorePatterns": ["dist", "build"],
|
4
|
+
"extends": [
|
5
|
+
"../../.eslintrc.base.js",
|
6
|
+
"plugin:react/recommended",
|
7
|
+
"plugin:react-hooks/recommended",
|
8
|
+
"plugin:jsx-a11y/recommended"
|
9
|
+
],
|
10
|
+
// By loading testing-library as a plugin, we can only enable it
|
11
|
+
// on test files via overrides.
|
12
|
+
"plugins": ["testing-library", "storybook"],
|
13
|
+
"env": {
|
14
|
+
"browser": true,
|
15
|
+
"es6": true,
|
16
|
+
"node": true
|
17
|
+
},
|
3
18
|
"rules": {
|
4
|
-
"
|
5
|
-
|
6
|
-
|
7
|
-
"singleQuote": true
|
8
|
-
}
|
9
|
-
]
|
19
|
+
"react/prop-types": "off",
|
20
|
+
"react/react-in-jsx-scope": "off",
|
21
|
+
"jsx-a11y/anchor-is-valid": "off"
|
10
22
|
},
|
11
23
|
"overrides": [
|
12
24
|
{
|
13
|
-
|
14
|
-
"
|
15
|
-
"extends": [
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
],
|
20
|
-
"
|
21
|
-
"ecmaFeatures": {
|
22
|
-
"jsx": true,
|
23
|
-
"globalReturn": false
|
24
|
-
},
|
25
|
-
"ecmaVersion": 2020,
|
26
|
-
"project": ["tsconfig.json"]
|
27
|
-
},
|
28
|
-
"rules": {
|
29
|
-
"prettier/prettier": [
|
30
|
-
"error",
|
31
|
-
{
|
32
|
-
"singleQuote": true
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"react/destructuring-assignment": "off",
|
36
|
-
"jsx-a11y/anchor-is-valid": "off",
|
37
|
-
"react/require-default-props": "off",
|
38
|
-
"react/jsx-props-no-spreading": "off",
|
39
|
-
"@next/next/no-img-element": "off",
|
40
|
-
"import/order": [
|
41
|
-
"error",
|
42
|
-
{
|
43
|
-
"groups": ["builtin", "external", "internal"],
|
44
|
-
"pathGroups": [
|
45
|
-
{
|
46
|
-
"pattern": "react",
|
47
|
-
"group": "external",
|
48
|
-
"position": "before"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"pathGroupsExcludedImportTypes": ["react"],
|
52
|
-
"newlines-between": "always",
|
53
|
-
"alphabetize": {
|
54
|
-
"order": "asc",
|
55
|
-
"caseInsensitive": true
|
56
|
-
}
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"import/prefer-default-export": "off",
|
60
|
-
"class-methods-use-this": "off",
|
61
|
-
"@typescript-eslint/no-unused-vars": "off",
|
62
|
-
"unused-imports/no-unused-imports": "error",
|
63
|
-
"unused-imports/no-unused-vars": [
|
64
|
-
"error",
|
65
|
-
{ "argsIgnorePattern": "^_" }
|
66
|
-
],
|
67
|
-
"import/no-extraneous-dependencies": [
|
68
|
-
"error",
|
69
|
-
{ "devDependencies": true }
|
70
|
-
]
|
71
|
-
}
|
25
|
+
// For performance run jest/recommended on test files, not regular code
|
26
|
+
"files": ["**/__tests__/**/*.{ts,tsx}"],
|
27
|
+
"extends": ["plugin:testing-library/react"]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
// For performance run storybook/recommended on test files, not regular code
|
31
|
+
"files": ["**/*.stories.{ts,tsx,mdx}"],
|
32
|
+
"extends": ["plugin:storybook/recommended"]
|
72
33
|
}
|
73
34
|
]
|
74
35
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"files":{"dist":"1638859230768.421","node_modules":"1638857524606.9878",".babelrc":"f03d0ca709d39fade7fd0a5ff24f9384b515b5b6",".eslintrc.json":"6a0edde9387ee5887d1e599f7a99f09362754acd","CHANGELOG.md":"938ca134a8f27f19d16eafbc8064d38ea166b934","README.md":"87a167329bff7478ccaa650e3d382475d8115cb1","package.json":"8512485560e1085b1d0365303d0dfa2ffc86681a.1638859124481.5261","src/index.ts":"1666f11be8aaf18be8a632f73ad0e73d407aae26","src/lib/card/index.tsx":"52c971cf55cfeb66bdb2f5be883f9a3a2fb62a37","src/lib/card/styles/index.tsx":"0e2c3284b69f0e5c3eabfcbaac81864ff10e5969","src/lib/free/index.tsx":"31d5d59052261c935edb986a1817ee7f273bbbd4","src/lib/free/styles/index.tsx":"5265cb7c9d6bf16b5b09c82bbac9d6aa8d32d798","src/lib/pagination/index.tsx":"561112dbc7d2eeb6e18037ca090a81a6dbe7ac07","src/lib/pagination/styles/index.tsx":"457b030d259318e0431b4d585406078e7ee4faab","src/lib/pills/index.tsx":"c472c9de1791a116bd7e5c1dbe650c3256f6128a","src/lib/pills/styles/index.tsx":"5b249d5b210dd9e81edff8a3412d4b7b9e2ad9a2","src/lib/styles/index.tsx":"276419cd5a78d7b7e027c6f2dc459ea3e81bb85d","tsconfig.build.json":"269572b997c81ac83266026b6b5a2c8699709823","tsconfig.json":"af31a7a31827eeec44ed853b8c3000c67f639047.1638859187936.8682"},"deps":{"@fox-dls/layout":1638859220928.524}}
|