@fox-dls/carousels 1.0.1 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.json +27 -66
- package/.ultra.cache.json +1 -0
- 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 +27 -21
- package/tsconfig.build.json +2 -1
- package/tsconfig.json +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":"1638861132103.3904","node_modules":"1638861099195.805",".babelrc":"f03d0ca709d39fade7fd0a5ff24f9384b515b5b6",".eslintrc.json":"6a0edde9387ee5887d1e599f7a99f09362754acd","CHANGELOG.md":"938ca134a8f27f19d16eafbc8064d38ea166b934","README.md":"87a167329bff7478ccaa650e3d382475d8115cb1","package.json":"8512485560e1085b1d0365303d0dfa2ffc86681a.1638861080012.0479","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.1638861064396.2463","tsconfig.json":"af31a7a31827eeec44ed853b8c3000c67f639047.1638860898530.1763"},"deps":{"@fox-dls/layout":1638861120187.5403}}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
2
3
|
export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
|
3
4
|
export declare const CarouselPill: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps> & {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
2
3
|
export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
|
3
4
|
export declare const CarouselPillContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
2
3
|
export declare const CarouselNavbar: import("styled-components").StyledComponent<"div", any, {}, never>;
|
3
4
|
export declare const NavbarTitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/package.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fox-dls/carousels",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.5",
|
4
4
|
"license": "MIT",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"main": "dist/index.js",
|
7
7
|
"module": "dist/index.esm.js",
|
8
8
|
"types": "dist/index.d.ts",
|
9
|
+
"type": "module",
|
9
10
|
"scripts": {
|
10
11
|
"build": "rimraf --no-glob ./dist && cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.build.json --jsx React.createElement --jsxFragment React.Fragment -f cjs,es --no-compress",
|
11
12
|
"build:react17jsx": "microbundle --tsconfig ./tsconfig.build.json --jsx jsx --jsxImportSource react --globals react/jsx-runtime=jsx --compress",
|
@@ -31,6 +32,17 @@
|
|
31
32
|
"@testing-library/jest-dom": "5.16.0",
|
32
33
|
"@testing-library/react": "12.1.2",
|
33
34
|
"@testing-library/react-hooks": "7.0.2",
|
35
|
+
"@types/cors": "2.8.12",
|
36
|
+
"@types/eslint": "8.2.1",
|
37
|
+
"@types/jest": "27.0.3",
|
38
|
+
"@types/node": "16.11.11",
|
39
|
+
"@types/react": "17.0.37",
|
40
|
+
"@types/react-dom": "17.0.11",
|
41
|
+
"@types/react-is": "17.0.3",
|
42
|
+
"@types/react-redux": "^7.1.20",
|
43
|
+
"@types/shell-quote": "1.7.1",
|
44
|
+
"@types/styled-components": "^5.1.16",
|
45
|
+
"@types/swiper": "^5.4.3",
|
34
46
|
"@typescript-eslint/eslint-plugin": "5.5.0",
|
35
47
|
"@typescript-eslint/parser": "5.5.0",
|
36
48
|
"autoprefixer": "10.4.0",
|
@@ -73,41 +85,35 @@
|
|
73
85
|
"nock": "^13.2.1",
|
74
86
|
"npm-run-all": "4.1.5",
|
75
87
|
"prettier": "2.5.1",
|
88
|
+
"react": "^17.0.2",
|
76
89
|
"react-dom": "17.0.2",
|
77
90
|
"react-test-renderer": "17.0.2",
|
78
91
|
"rimraf": "3.0.2",
|
79
92
|
"sass": "1.44.0",
|
80
93
|
"shell-quote": "1.7.3",
|
81
94
|
"size-limit": "7.0.3",
|
95
|
+
"styled-components": "^5.3.3",
|
82
96
|
"symlink-dir": "5.0.1",
|
83
97
|
"sync-directory": "4.0.7",
|
84
98
|
"ts-jest": "27.0.7",
|
85
99
|
"ts-node": "10.4.0",
|
86
100
|
"typescript": "4.5.2",
|
87
|
-
"typescript-plugin-styled-components": "^2.0.0"
|
88
|
-
"@types/cors": "2.8.12",
|
89
|
-
"@types/eslint": "8.2.1",
|
90
|
-
"@types/jest": "27.0.3",
|
91
|
-
"@types/node": "16.11.11",
|
92
|
-
"@types/react": "17.0.37",
|
93
|
-
"@types/react-dom": "17.0.11",
|
94
|
-
"@types/react-is": "17.0.3",
|
95
|
-
"@types/react-redux": "^7.1.20",
|
96
|
-
"@types/shell-quote": "1.7.1",
|
97
|
-
"@types/styled-components": "^5.1.16",
|
98
|
-
"@types/swiper": "^5.4.3",
|
99
|
-
"react": "^17.0.2",
|
100
|
-
"styled-components": "^5.3.3"
|
101
|
+
"typescript-plugin-styled-components": "^2.0.0"
|
101
102
|
},
|
102
103
|
"dependencies": {
|
103
|
-
"@types/uuid": "^8.3.3",
|
104
|
-
"swiper": "^7.3.1",
|
105
104
|
"@fox-dls/layout": "1.0.0",
|
106
|
-
"@
|
105
|
+
"@material-ui/styled-engine": "npm:@material-ui/styled-engine-sc@next",
|
106
|
+
"@mui/core": "^5.0.0-alpha.54",
|
107
|
+
"@mui/lab": "^5.0.0-alpha.58",
|
108
|
+
"@mui/material": "^5.2.2",
|
109
|
+
"@types/uuid": "^8.3.3",
|
110
|
+
"swiper": "^7.3.1"
|
111
|
+
},
|
112
|
+
"resolutions": {
|
113
|
+
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
|
107
114
|
},
|
108
115
|
"peerDependencies": {
|
109
116
|
"react": "^17.0.2",
|
110
117
|
"styled-components": "^5.3.3"
|
111
|
-
}
|
112
|
-
|
113
|
-
}
|
118
|
+
}
|
119
|
+
}
|
package/tsconfig.build.json
CHANGED