@bigbinary/neeto-site-blocks 0.4.4 → 0.4.6

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/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-site-blocks",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "main": "./dist/index.js",
5
+ "types": "./types.d.ts",
5
6
  "author": "BigBinary",
6
7
  "license": "MIT",
7
8
  "description": "Common blocks for neeto-site",
@@ -11,8 +12,17 @@
11
12
  "prepare": "husky install"
12
13
  },
13
14
  "lint-staged": {
14
- "lib/**/*.{html,md,js,jsx,json}": [
15
- "eslint --fix"
15
+ "{lib, example}/**/*.{html,md,js,jsx,json}": [
16
+ "prettier --write",
17
+ "eslint --cache --fix"
18
+ ],
19
+ "{package.json,.eslintrc.js,.prettierrc.js}": [
20
+ "prettier --write",
21
+ "eslint --cache --fix"
22
+ ],
23
+ ".eslint-rules/**/*": [
24
+ "prettier --write",
25
+ "eslint --cache --fix"
16
26
  ]
17
27
  },
18
28
  "devDependencies": {
@@ -22,7 +32,7 @@
22
32
  "@babel/preset-env": "7.14.7",
23
33
  "@babel/preset-react": "7.14.5",
24
34
  "@babel/runtime": "7.17.9",
25
- "@bigbinary/eslint-plugin-neeto": "1.0.16",
35
+ "@bigbinary/eslint-plugin-neeto": "^1.0.19",
26
36
  "@bigbinary/neeto-icons": "^1.9.3",
27
37
  "@rollup/plugin-alias": "4.0.2",
28
38
  "@rollup/plugin-babel": "5.3.1",
@@ -37,7 +47,7 @@
37
47
  "babel-plugin-import": "1.13.5",
38
48
  "classnames": "2.2.6",
39
49
  "css-loader": "4.3.0",
40
- "eslint": "7.32.0",
50
+ "eslint": "^8.34.0",
41
51
  "eslint-config-prettier": "8.3.0",
42
52
  "eslint-plugin-import": "2.26.0",
43
53
  "eslint-plugin-jam3": "0.2.3",
package/types.d.ts ADDED
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+
3
+ interface BlockProps {
4
+ id: string;
5
+ baseUrl?: string;
6
+ configuration: Object;
7
+ className?: string;
8
+ }
9
+
10
+ export const CTA : React.FC<BlockProps>;
11
+ export const FAQ : React.FC<BlockProps>;
12
+ export const FeatureSection : React.FC<BlockProps>;
13
+ export const FeatureSectionWithGrid : React.FC<BlockProps>;
14
+ export const FeatureSectionWithList : React.FC<BlockProps>;
15
+ export const FeatureSectionWithLink : React.FC<BlockProps>;
16
+ export const FeatureSectionWithHorizontalTab : React.FC<BlockProps>;
17
+ export const Footer : React.FC<BlockProps>;
18
+ export const Gallery : React.FC<BlockProps>;
19
+ export const Grid : React.FC<BlockProps>;
20
+ export const HeaderWithLeftLinks : React.FC<BlockProps>;
21
+ export const HeaderWithMiddleLinks : React.FC<BlockProps>;
22
+ export const HeaderWithRightLinks : React.FC<BlockProps>;
23
+ export const HeroSection : React.FC<BlockProps>;
24
+ export const HorizontalTestimonial : React.FC<BlockProps>;
25
+ export const LogoClouds : React.FC<BlockProps>;
26
+ export const Pricing : React.FC<BlockProps>;
27
+ export const SlidingTestimonial : React.FC<BlockProps>;