@fox-dls/carousels 1.0.4 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
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> & {
5
- component?: import("react").ElementType<any>;
3
+ export declare const CarouselPill: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps & Pick<any, string | number | symbol> & {
4
+ component?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any>;
6
5
  }, string | number | symbol> & import("react").RefAttributes<any>>, any, {}, never>;
7
6
  export declare const CarouselPillSvg: import("styled-components").StyledComponent<"svg", any, {}, never>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const CarouselSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("swiper/react").SwiperProps>, any, {}, never>;
4
3
  export declare const CarouselPillContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- 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> & {
6
- component?: import("react").ElementType<any>;
4
+ export declare const CarouselPill: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps & Pick<any, string | number | symbol> & {
5
+ component?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any>;
7
6
  }, string | number | symbol> & import("react").RefAttributes<any>>, any, any, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const CarouselContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const CarouselNavbar: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const NavbarTitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -8,8 +7,8 @@ export declare const NavbarControlsQuick: import("styled-components").StyledComp
8
7
  export declare const NavbarControlsSpace: import("styled-components").StyledComponent<"span", any, {}, never>;
9
8
  export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
10
9
  export declare const ArrowsFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const ArrowsButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps> & {
12
- component?: import("react").ElementType<any>;
10
+ export declare const ArrowsButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/core/ButtonUnstyled").ButtonUnstyledOwnProps & Pick<any, string | number | symbol> & {
11
+ component?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any>;
13
12
  }, string | number | symbol> & import("react").RefAttributes<any>>, any, any, never>;
14
13
  export declare const ArrowsDivider: import("styled-components").StyledComponent<"span", any, {}, never>;
15
14
  export declare const ArrowsIconClip: import("styled-components").StyledComponent<"span", any, {}, never>;
package/package.json CHANGED
@@ -1,103 +1,16 @@
1
1
  {
2
2
  "name": "@fox-dls/carousels",
3
- "version": "1.0.4",
3
+ "version": "1.0.8",
4
4
  "license": "MIT",
5
- "source": "src/index.ts",
6
5
  "main": "dist/index.js",
7
- "module": "dist/index.esm.js",
8
- "types": "dist/index.d.ts",
6
+ "module": "dist/core.esm.js",
7
+ "typings": "dist/index.d.ts",
9
8
  "scripts": {
10
- "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
- "build:react17jsx": "microbundle --tsconfig ./tsconfig.build.json --jsx jsx --jsxImportSource react --globals react/jsx-runtime=jsx --compress",
12
- "dev": "microbundle watch",
13
- "clean": "rimraf --no-glob ./dist ./coverage ./tsconfig.tsbuildinfo ./.eslintcache && jest --clear-cache",
14
- "lint": "eslint . --ext .ts,.tsx,.js,.jsx",
15
- "typecheck": "tsc --project ./tsconfig.json --noEmit",
16
- "test": "run-s 'test:*'",
17
- "test:unit": "jest --config jest.config.js --maxWorkers=50% --color $@",
18
- "ci-test:unit": "jest --config jest.config.js --runInBand --color $@",
19
- "fix:staged-files": "lint-staged --allow-empty",
20
- "fix:all-files": "eslint . --ext .ts,.tsx,.js,.jsx --fix"
21
- },
22
- "devDependencies": {
23
- "@babel/core": "^7.16.0",
24
- "@babel/preset-react": "^7.16.0",
25
- "@changesets/changelog-github": "0.4.2",
26
- "@changesets/cli": "2.18.1",
27
- "@next/bundle-analyzer": "12.0.6",
28
- "@size-limit/file": "7.0.3",
29
- "@storybook/react": "^6.4.7",
30
- "@svgr/webpack": "6.1.0",
31
- "@testing-library/jest-dom": "5.16.0",
32
- "@testing-library/react": "12.1.2",
33
- "@testing-library/react-hooks": "7.0.2",
34
- "@types/cors": "2.8.12",
35
- "@types/eslint": "8.2.1",
36
- "@types/jest": "27.0.3",
37
- "@types/node": "16.11.11",
38
- "@types/react": "17.0.37",
39
- "@types/react-dom": "17.0.11",
40
- "@types/react-is": "17.0.3",
41
- "@types/react-redux": "^7.1.20",
42
- "@types/shell-quote": "1.7.1",
43
- "@types/styled-components": "^5.1.16",
44
- "@types/swiper": "^5.4.3",
45
- "@typescript-eslint/eslint-plugin": "5.5.0",
46
- "@typescript-eslint/parser": "5.5.0",
47
- "autoprefixer": "10.4.0",
48
- "babel-jest": "27.4.2",
49
- "babel-loader": "^8.2.3",
50
- "babel-plugin-module-resolver": "^4.1.0",
51
- "babel-plugin-styled-components": "^2.0.2",
52
- "cross-env": "7.0.3",
53
- "cypress": "^9.1.1",
54
- "dotenv": "^10.0.0",
55
- "dotenv-flow": "3.2.0",
56
- "dotenv-flow-cli": "1.0.0",
57
- "duplicate-package-checker-webpack-plugin": "^3.0.0",
58
- "eslint": "8.4.0",
59
- "eslint-config-airbnb": "^19.0.2",
60
- "eslint-config-airbnb-base": "^15.0.0",
61
- "eslint-config-airbnb-typescript": "^16.1.0",
62
- "eslint-config-next": "12.0.6",
63
- "eslint-config-prettier": "8.3.0",
64
- "eslint-import-resolver-babel-module": "^5.3.1",
65
- "eslint-import-resolver-typescript": "2.5.0",
66
- "eslint-plugin-cypress": "^2.12.1",
67
- "eslint-plugin-import": "2.25.3",
68
- "eslint-plugin-jest": "25.3.0",
69
- "eslint-plugin-jest-formatting": "3.1.0",
70
- "eslint-plugin-jsx-a11y": "6.5.1",
71
- "eslint-plugin-prettier": "4.0.0",
72
- "eslint-plugin-react": "7.27.1",
73
- "eslint-plugin-react-hooks": "4.3.0",
74
- "eslint-plugin-regexp": "1.5.1",
75
- "eslint-plugin-sonarjs": "0.11.0",
76
- "eslint-plugin-testing-library": "5.0.1",
77
- "eslint-plugin-unused-imports": "^2.0.0",
78
- "husky": "^7.0.4",
79
- "is-ci": "3.0.1",
80
- "jest": "27.4.3",
81
- "lint-staged": "^12.1.2",
82
- "microbundle": "0.14.2",
83
- "ngx-deploy-npm": "^3.0.6",
84
- "nock": "^13.2.1",
85
- "npm-run-all": "4.1.5",
86
- "prettier": "2.5.1",
87
- "react": "^17.0.2",
88
- "react-dom": "17.0.2",
89
- "react-test-renderer": "17.0.2",
90
- "rimraf": "3.0.2",
91
- "sass": "1.44.0",
92
- "shell-quote": "1.7.3",
93
- "size-limit": "7.0.3",
94
- "styled-components": "^5.3.3",
95
- "symlink-dir": "5.0.1",
96
- "sync-directory": "4.0.7",
97
- "ts-jest": "27.0.7",
98
- "ts-node": "10.4.0",
99
- "typescript": "4.5.2",
100
- "typescript-plugin-styled-components": "^2.0.0"
9
+ "start": "tsdx watch --tsconfig tsconfig.build.json --verbose --noClean",
10
+ "build": "tsdx build --tsconfig tsconfig.build.json",
11
+ "test": "tsdx test",
12
+ "lint": "tsdx lint",
13
+ "prepublish": "npm run build"
101
14
  },
102
15
  "dependencies": {
103
16
  "@fox-dls/layout": "1.0.0",
@@ -106,7 +19,17 @@
106
19
  "@mui/lab": "^5.0.0-alpha.58",
107
20
  "@mui/material": "^5.2.2",
108
21
  "@types/uuid": "^8.3.3",
109
- "swiper": "^7.3.1"
22
+ "swiper": "^7.3.1",
23
+ "tslib": "^2.0.0",
24
+ "@babel/core": "^7.16.0",
25
+ "@babel/runtime": "^7.16.3",
26
+ "@types/eslint": "8.2.1",
27
+ "@types/react": "17.0.37",
28
+ "@types/react-dom": "17.0.11",
29
+ "@types/react-is": "17.0.3",
30
+ "@types/styled-components": "^5.1.16",
31
+ "babel-plugin-styled-components": "^2.0.2",
32
+ "styled-components": "^5.3.3"
110
33
  },
111
34
  "resolutions": {
112
35
  "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
@@ -1,22 +1,4 @@
1
1
  {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "rootDir": "./src",
5
- "target": "es2015",
6
- "module": "esnext",
7
- "lib": ["es2017", "dom"],
8
- "jsx": "react-jsx",
9
- "jsxFactory": "",
10
- "jsxFragmentFactory": "",
11
- "composite": false
12
- },
13
- "exclude": [
14
- "**/*.spec.ts",
15
- "**/*.spec.tsx",
16
- "dist",
17
- "./plugins/**/*",
18
- "./dist/**/*",
19
- "dist/**/*"
20
- ],
21
- "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
2
+ "extends": "../../tsconfig.build.json",
3
+ "include": ["src", "types", "../../types"]
22
4
  }