@bigbinary/neeto-site-blocks 0.6.2 → 0.6.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-site-blocks",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "./types.d.ts",
@@ -12,6 +12,10 @@
12
12
  "build": "NODE_ENV=production rollup -c rollup.config.js",
13
13
  "prepare": "husky install"
14
14
  },
15
+ "files": [
16
+ "dist",
17
+ "types.d.ts"
18
+ ],
15
19
  "lint-staged": {
16
20
  "{src, example}/**/*.{html,md,js,jsx,json}": [
17
21
  "prettier --write",
@@ -51,7 +55,6 @@
51
55
  "babel-preset-typescript": "^7.0.0-alpha.19",
52
56
  "classnames": "2.3.1",
53
57
  "css-loader": "6.7.1",
54
- "dompurify": "^3.0.0",
55
58
  "eslint": "8.14.0",
56
59
  "eslint-config-prettier": "8.5.0",
57
60
  "eslint-plugin-cypress": "2.12.1",
@@ -69,6 +72,7 @@
69
72
  "html-webpack-plugin": "5.5.0",
70
73
  "husky": "7.0.4",
71
74
  "identity-obj-proxy": "3.0.0",
75
+ "interweave": "^13.0.0",
72
76
  "lint-staged": "12.4.1",
73
77
  "postcss": "^8.4.17",
74
78
  "postcss-import": "^15.0.0",
package/types.d.ts CHANGED
@@ -7,21 +7,22 @@ interface BlockProps {
7
7
  className?: string;
8
8
  }
9
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>;
10
+ export const CtaWithButtonOnBottom : React.FC<BlockProps>;
11
+ export const FaqWithHamburgerView : React.FC<BlockProps>;
12
+ export const FeatureWithRightImage : React.FC<BlockProps>;
13
+ export const FeatureWithGrid : React.FC<BlockProps>;
14
+ export const FeatureWithList : React.FC<BlockProps>;
15
+ export const FeatureWithLink : React.FC<BlockProps>;
16
+ export const FeatureWithHorizontalTab : React.FC<BlockProps>;
17
+ export const FooterWithLinkGroups : React.FC<BlockProps>;
18
+ export const GalleryWithSlidingImages : React.FC<BlockProps>;
19
+ export const GridWithImage : React.FC<BlockProps>;
20
20
  export const HeaderWithLeftLinks : React.FC<BlockProps>;
21
21
  export const HeaderWithMiddleLinks : React.FC<BlockProps>;
22
22
  export const HeaderWithRightLinks : React.FC<BlockProps>;
23
- export const HeroSection : React.FC<BlockProps>;
23
+ export const HeroWithRightImage : React.FC<BlockProps>;
24
24
  export const HorizontalTestimonial : React.FC<BlockProps>;
25
25
  export const LogoClouds : React.FC<BlockProps>;
26
- export const Pricing : React.FC<BlockProps>;
26
+ export const PricingInCardView : React.FC<BlockProps>;
27
27
  export const SlidingTestimonial : React.FC<BlockProps>;
28
+ export function getSiteConfigurations(Object): Object;
package/.browserslistrc DELETED
@@ -1 +0,0 @@
1
- defaults
package/babel.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require("@bigbinary/neeto-commons-frontend/configs/babel.js");
package/postcss.config.js DELETED
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- plugins: [
3
- require("postcss-import"),
4
- require("tailwindcss"),
5
- require("postcss-preset-env")({
6
- autoprefixer: {
7
- flexbox: "no-2009",
8
- },
9
- stage: 3,
10
- }),
11
- require("cssnano"),
12
- ],
13
- };
package/resolve.js DELETED
@@ -1,7 +0,0 @@
1
- const path = require("path");
2
-
3
- module.exports = {
4
- alias: {
5
- Common: path.resolve(__dirname, "./src/Common"),
6
- },
7
- };
@@ -1 +0,0 @@
1
- module.exports = require("@bigbinary/neeto-commons-frontend/configs/nanos/tailwind.js");
package/webpack.config.js DELETED
@@ -1,72 +0,0 @@
1
- const path = require("path");
2
-
3
- const HtmlWebPackPlugin = require("html-webpack-plugin");
4
- const webpack = require("webpack");
5
- const { mergeDeepLeft } = require("ramda");
6
-
7
- const commonResolve = require("@bigbinary/neeto-commons-frontend/configs/nanos/webpack/resolve.js");
8
- const projectResolve = require("./resolve.js");
9
-
10
- module.exports = {
11
- entry: "./example/src/index.jsx",
12
- devtool: "source-map",
13
- module: {
14
- rules: [
15
- {
16
- test: /\.(js|jsx)$/,
17
- exclude: /node_modules/,
18
- use: {
19
- loader: "babel-loader",
20
- },
21
- },
22
- {
23
- test: /\.html$/,
24
- use: [
25
- {
26
- loader: "html-loader",
27
- },
28
- ],
29
- },
30
- {
31
- test: /\.(png|jpe?g|gif|svg)$/i,
32
- use: [
33
- {
34
- loader: "file-loader",
35
- },
36
- ],
37
- },
38
- {
39
- test: /\.(sass|css|scss)$/,
40
- use: [
41
- // Creates `style` nodes from JS strings
42
- "style-loader",
43
- // Translates CSS into CommonJS
44
- "css-loader",
45
- "postcss-loader",
46
- // Compiles Sass to CSS
47
- "sass-loader",
48
- ],
49
- },
50
- ],
51
- },
52
- output: {
53
- path: `${__dirname}/build`,
54
- publicPath: "/",
55
- },
56
- devServer: {
57
- historyApiFallback: true,
58
- client: {
59
- overlay: false,
60
- },
61
- },
62
- plugins: [
63
- new HtmlWebPackPlugin({
64
- template: "./example/index.html",
65
- filename: "./index.html",
66
- }),
67
- new webpack.DefinePlugin({
68
- "process.env": JSON.stringify(process.env),
69
- }),
70
- ],
71
- resolve: mergeDeepLeft(projectResolve, commonResolve),
72
- };