remove font awesome and fix the setting gears

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4595
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 8c735dad289e619c4b79141043c76c14ebfd24be
This commit is contained in:
Nicolas Beaussart 2022-06-02 11:21:50 +02:00 committed by hasura-bot
parent 55ab5c1d48
commit 5abd0a8b81
12 changed files with 42 additions and 869 deletions

View File

@ -7,11 +7,3 @@
};
</script>
<link
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-
awesome.min.css"
rel="stylesheet"
integrity="sha384-
wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous"
/>

View File

@ -48,8 +48,6 @@ server-build:
if [ ! -d "$(DIST_PATH)/common" ]; then \
mkdir -p $(DIST_PATH); \
gsutil -m cp -r gs://$(BUCKET_NAME)/console/assets/common "$(DIST_PATH)"; \
mv "$(DIST_PATH)/common/css/font-awesome.min.css.gz" "$(DIST_PATH)/common/css/font-awesome.min.css"; \
gzip "$(DIST_PATH)/common/css/font-awesome.min.css"; \
fi
rm -rf "$(DIST_PATH)/versioned"
npm run build

View File

@ -23698,55 +23698,6 @@
}
}
},
"autoprefixer-core": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/autoprefixer-core/-/autoprefixer-core-5.2.1.tgz",
"integrity": "sha1-5kDEFK5Bmq4hwa1DyOoPPbgqVm0=",
"dev": true,
"requires": {
"browserslist": "~0.4.0",
"caniuse-db": "^1.0.30000214",
"num2fraction": "^1.1.0",
"postcss": "~4.1.12"
},
"dependencies": {
"browserslist": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-0.4.0.tgz",
"integrity": "sha1-O9SrkZncG5FQ1NbbpNnTqrvIbdQ=",
"dev": true,
"requires": {
"caniuse-db": "^1.0.30000153"
}
},
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
"postcss": {
"version": "4.1.16",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",
"integrity": "sha1-TESbTIr53zyvbTf44eV10DYXWNw=",
"dev": true,
"requires": {
"es6-promise": "~2.3.0",
"js-base64": "~2.1.8",
"source-map": "~0.4.2"
}
},
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
}
}
},
"aws-sign2": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
@ -25325,12 +25276,6 @@
"lodash.uniq": "^4.5.0"
}
},
"caniuse-db": {
"version": "1.0.30001023",
"resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30001023.tgz",
"integrity": "sha512-EnlshvE6oAum+wWwKmJNVaoqJMjIc0bLUy4Dj77VVnz1o6bzSPr1Ze9iPy6g5ycg1xD6jGU6vBmo7pLEz2MbCQ==",
"dev": true
},
"caniuse-lite": {
"version": "1.0.30001243",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001243.tgz",
@ -25759,25 +25704,6 @@
"object-visit": "^1.0.0"
}
},
"color": {
"version": "0.11.4",
"resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz",
"integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=",
"dev": true,
"requires": {
"clone": "^1.0.2",
"color-convert": "^1.3.0",
"color-string": "^0.3.0"
},
"dependencies": {
"clone": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
"integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
"dev": true
}
}
},
"color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
@ -25791,15 +25717,6 @@
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"color-string": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz",
"integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=",
"dev": true,
"requires": {
"color-name": "^1.0.0"
}
},
"color-support": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
@ -25811,17 +25728,6 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz",
"integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w=="
},
"colormin": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz",
"integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=",
"dev": true,
"requires": {
"color": "^0.11.0",
"css-color-names": "0.0.4",
"has": "^1.0.1"
}
},
"colors": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
@ -26580,12 +26486,6 @@
}
}
},
"css-list": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/css-list/-/css-list-0.1.3.tgz",
"integrity": "sha1-p7M7RBn4PUEjIN3pEzoNEASUjXA=",
"dev": true
},
"css-loader": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.5.3.tgz",
@ -26758,12 +26658,6 @@
"integrity": "sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s=",
"dev": true
},
"cssesc": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz",
"integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=",
"dev": true
},
"cssnano": {
"version": "4.1.10",
"resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz",
@ -28076,12 +27970,6 @@
"integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
"dev": true
},
"es6-promise": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz",
"integrity": "sha1-lu258v2wGZWCKyY92KratnSBgbw=",
"dev": true
},
"es6-shim": {
"version": "0.35.6",
"resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz",
@ -29196,12 +29084,6 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
"fastparse": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz",
"integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==",
"dev": true
},
"fastq": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
@ -29524,421 +29406,6 @@
}
}
},
"font-awesome": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=",
"dev": true
},
"font-awesome-webpack": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/font-awesome-webpack/-/font-awesome-webpack-0.0.4.tgz",
"integrity": "sha1-bXWEdGzGu8grRjTUkTnEe1bmEao=",
"dev": true,
"requires": {
"css-loader": "~0.17.0",
"less-loader": "~2.2.0",
"style-loader": "~0.12.3"
},
"dependencies": {
"balanced-match": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.2.1.tgz",
"integrity": "sha1-e8ZYtL7WHu5CStdPdfXD4sTfPMc=",
"dev": true
},
"big.js": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
"integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==",
"dev": true
},
"color": {
"version": "0.10.1",
"resolved": "https://registry.npmjs.org/color/-/color-0.10.1.tgz",
"integrity": "sha1-wEGI34KiCd3rzOzazT7DIPGTc58=",
"dev": true,
"requires": {
"color-convert": "^0.5.3",
"color-string": "^0.3.0"
}
},
"color-convert": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-0.5.3.tgz",
"integrity": "sha1-vbbGnOZg+t/+CwAHzER+G59ygr0=",
"dev": true
},
"css-loader": {
"version": "0.17.0",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.17.0.tgz",
"integrity": "sha1-od3y34a6CPvSJ4G7Mzefw7CNpus=",
"dev": true,
"requires": {
"css-selector-tokenizer": "^0.5.1",
"cssnano": "^2.6.1",
"loader-utils": "~0.2.2",
"postcss": "^4.1.11",
"postcss-modules-extract-imports": "0.0.5",
"postcss-modules-local-by-default": "0.0.12",
"postcss-modules-scope": "0.0.8",
"source-list-map": "^0.1.4"
}
},
"css-selector-tokenizer": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.5.4.tgz",
"integrity": "sha1-E5uv00o1/QwUKEhwSeBpnm9qLCE=",
"dev": true,
"requires": {
"cssesc": "^0.1.0",
"fastparse": "^1.1.1"
}
},
"cssnano": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/cssnano/-/cssnano-2.6.1.tgz",
"integrity": "sha1-f7NyEsz/RNPpNuAmxvZ14xR9gCQ=",
"dev": true,
"requires": {
"autoprefixer-core": "^5.2.1",
"balanced-match": "^0.2.0",
"css-list": "^0.1.2",
"decamelize": "^1.0.0",
"defined": "^1.0.0",
"indexes-of": "^1.0.1",
"minimist": "^1.1.3",
"postcss": "^4.1.16",
"postcss-calc": "^4.1.0",
"postcss-colormin": "^1.2.5",
"postcss-convert-values": "^1.2.4",
"postcss-discard-comments": "^1.2.1",
"postcss-discard-duplicates": "^1.1.5",
"postcss-discard-empty": "^1.1.2",
"postcss-discard-unused": "^1.0.3",
"postcss-filter-plugins": "^1.0.0",
"postcss-font-family": "^1.2.1",
"postcss-merge-idents": "^1.0.1",
"postcss-merge-longhand": "^1.0.1",
"postcss-merge-rules": "^1.3.5",
"postcss-minify-font-weight": "^1.0.1",
"postcss-minify-selectors": "^1.5.0",
"postcss-normalize-url": "^2.1.1",
"postcss-ordered-values": "^1.0.1",
"postcss-reduce-idents": "^1.0.2",
"postcss-single-charset": "^0.3.0",
"postcss-unique-selectors": "^1.0.0",
"postcss-zindex": "^1.1.3",
"read-file-stdin": "^0.2.0",
"write-file-stdout": "0.0.2"
}
},
"flatten": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/flatten/-/flatten-0.0.1.tgz",
"integrity": "sha1-VURAdm2goNYDmZ9DNFP2wvxqdcE=",
"dev": true
},
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
"json5": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
"integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
"dev": true
},
"less-loader": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/less-loader/-/less-loader-2.2.3.tgz",
"integrity": "sha1-ttj4E5yEk98J2ZKpOgBzSwj4RSg=",
"dev": true,
"requires": {
"loader-utils": "^0.2.5"
}
},
"loader-utils": {
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",
"integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
"dev": true,
"requires": {
"big.js": "^3.1.3",
"emojis-list": "^2.0.0",
"json5": "^0.5.0",
"object-assign": "^4.0.1"
}
},
"postcss": {
"version": "4.1.16",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",
"integrity": "sha1-TESbTIr53zyvbTf44eV10DYXWNw=",
"dev": true,
"requires": {
"es6-promise": "~2.3.0",
"js-base64": "~2.1.8",
"source-map": "~0.4.2"
}
},
"postcss-calc": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-4.1.0.tgz",
"integrity": "sha1-vuf/ySjHmGmZ7vF7LdiXDIk31HI=",
"dev": true,
"requires": {
"postcss": "^4.1.11",
"postcss-message-helpers": "^2.0.0",
"reduce-css-calc": "^1.2.0"
}
},
"postcss-colormin": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-1.2.7.tgz",
"integrity": "sha1-63Pb6DgE6pGYNWsTL2+Z9GAP1lQ=",
"dev": true,
"requires": {
"color": "^0.10.1",
"colormin": "^1.0.3",
"postcss": "^4.1.16",
"reduce-function-call": "^1.0.1"
}
},
"postcss-convert-values": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-1.3.1.tgz",
"integrity": "sha1-I/GHxhP6d7Y3p4BblIteCJlpDkY=",
"dev": true,
"requires": {
"postcss": "^4.1.16",
"postcss-value-parser": "^1.1.0"
}
},
"postcss-discard-comments": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-1.2.1.tgz",
"integrity": "sha1-hR3Ka5NUwPtjFssaEEj29eOWCtA=",
"dev": true,
"requires": {
"node-balanced": "0.0.14",
"postcss": "^4.1.16"
}
},
"postcss-discard-duplicates": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-1.2.1.tgz",
"integrity": "sha1-SbsztNNHcQWwDQSDlfc6KQK8miU=",
"dev": true,
"requires": {
"postcss": "^4.1.16"
}
},
"postcss-discard-empty": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-1.1.2.tgz",
"integrity": "sha1-KsVayPy4HCMEPmMQaTT9Y0cNXA0=",
"dev": true,
"requires": {
"postcss": "^4.1.13"
}
},
"postcss-discard-unused": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-1.0.3.tgz",
"integrity": "sha1-Xsy5v6xGXqa+VjQpepx3gczQmIY=",
"dev": true,
"requires": {
"flatten": "0.0.1",
"postcss": "^4.1.16",
"uniqs": "^2.0.0"
}
},
"postcss-filter-plugins": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-1.0.1.tgz",
"integrity": "sha1-J/gnnV76t6o8FwmIE5hrS50dUOI=",
"dev": true,
"requires": {
"postcss": "^4.1.11",
"uniqid": "^1.0.0"
}
},
"postcss-merge-idents": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-1.0.2.tgz",
"integrity": "sha1-qToNrXj2UugjfZrew0LkHSwd01s=",
"dev": true,
"requires": {
"css-list": "^0.1.0",
"postcss": "^4.1.9"
}
},
"postcss-merge-longhand": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-1.0.2.tgz",
"integrity": "sha1-QxcgZfz4We4RztMUH1ZkFMZzBX4=",
"dev": true,
"requires": {
"postcss": "^4.1.16"
}
},
"postcss-merge-rules": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-1.3.6.tgz",
"integrity": "sha1-sUrRf31AEqMYut032r1ZuT8TUy8=",
"dev": true,
"requires": {
"postcss": "^4.1.16"
}
},
"postcss-minify-selectors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-1.5.0.tgz",
"integrity": "sha1-5ZxWxtSVXaFXz30iv4Bptur1Jic=",
"dev": true,
"requires": {
"javascript-natural-sort": "^0.7.1",
"normalize-selector": "^0.2.0",
"postcss": "^4.1.16",
"postcss-selector-parser": "^1.1.2",
"uniqs": "^2.0.0"
}
},
"postcss-modules-extract-imports": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-0.0.5.tgz",
"integrity": "sha1-zMy0Cz3SmFmZOEodumDGLJYKbaA=",
"dev": true,
"requires": {
"postcss": "^4.1.11"
}
},
"postcss-modules-local-by-default": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-0.0.12.tgz",
"integrity": "sha1-qTQxpLHQt6QCHiOPwn1ejkSSgsI=",
"dev": true,
"requires": {
"css-selector-tokenizer": "^0.5.1",
"postcss": "^4.1.5"
}
},
"postcss-modules-scope": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-0.0.8.tgz",
"integrity": "sha1-gck1+/KJJyOIyLoulqEcohugmgQ=",
"dev": true,
"requires": {
"css-selector-tokenizer": "^0.5.0",
"postcss": "^4.1.11"
}
},
"postcss-normalize-url": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-2.1.3.tgz",
"integrity": "sha1-8StfShFDyV6gJfx/jgBQkFmPNgI=",
"dev": true,
"requires": {
"is-absolute-url": "^2.0.0",
"normalize-url": "^1.3.0",
"object-assign": "^4.0.1",
"postcss": "^4.1.16",
"postcss-value-parser": "^1.4.2"
}
},
"postcss-ordered-values": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-1.1.1.tgz",
"integrity": "sha1-nu1PrS55Kr/D0EAs93O6+G/ne4E=",
"dev": true,
"requires": {
"postcss": "^4.1.16",
"postcss-value-parser": "^1.1.0"
}
},
"postcss-reduce-idents": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-1.0.3.tgz",
"integrity": "sha1-p58bJIXiPZs8x6gfXsY6XCvewg0=",
"dev": true,
"requires": {
"postcss": "^4.1.2",
"reduce-function-call": "^1.0.1"
}
},
"postcss-selector-parser": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-1.3.3.tgz",
"integrity": "sha1-0u4Z33pk+O8hwacchvfUg1yIwoE=",
"dev": true,
"requires": {
"flatten": "^1.0.2",
"indexes-of": "^1.0.1",
"uniq": "^1.0.1"
},
"dependencies": {
"flatten": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz",
"integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==",
"dev": true
}
}
},
"postcss-unique-selectors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-1.0.1.tgz",
"integrity": "sha1-SBfnTHtPmZzgTI5mRRoZaRT12zw=",
"dev": true,
"requires": {
"javascript-natural-sort": "^0.7.1",
"postcss": "^4.1.10",
"uniqs": "^2.0.0"
}
},
"postcss-value-parser": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-1.4.2.tgz",
"integrity": "sha1-GGVjPhNwH4pyHng02tGFyxRKrQw=",
"dev": true
},
"postcss-zindex": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-1.1.3.tgz",
"integrity": "sha1-SVZKtJ092hcGf42sHIM11/LQDOE=",
"dev": true,
"requires": {
"postcss": "^4.1.2"
}
},
"source-list-map": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz",
"integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=",
"dev": true
},
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
},
"style-loader": {
"version": "0.12.4",
"resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.12.4.tgz",
"integrity": "sha1-rn0GZdxNxlPaov6Xu5CRS8HSLZs=",
"dev": true,
"requires": {
"loader-utils": "^0.2.7"
}
}
}
},
"for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
@ -30775,12 +30242,6 @@
"integrity": "sha512-hT9yh/tiinkmirKrlv4KWOjztdoZo1mx9Qh4KvWqC7isoXwdUY3PNWUxceF4/qO9R6riA2C29jdTOeQOIROjgw==",
"dev": true
},
"gather-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/gather-stream/-/gather-stream-1.0.0.tgz",
"integrity": "sha1-szmUr0V6gRVwDUEPMXczy+egkEs=",
"dev": true
},
"gauge": {
"version": "2.7.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
@ -32579,12 +32040,6 @@
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
"dev": true
},
"is-plain-obj": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
"integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",
"dev": true
},
"is-plain-object": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
@ -33024,12 +32479,6 @@
"iterate-iterator": "^1.0.1"
}
},
"javascript-natural-sort": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz",
"integrity": "sha1-+eIwPUUH9tdDVac2ZNFED7Wg71k=",
"dev": true
},
"jest": {
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz",
@ -36143,12 +35592,6 @@
"remove-accents": "0.4.2"
}
},
"math-expression-evaluator": {
"version": "1.2.22",
"resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.22.tgz",
"integrity": "sha512-L0j0tFVZBQQLeEjmWOvDLoRciIY8gQGWahvkztXUal8jH8R5Rlqo9GCvgqvXcy9LQhEWdQCVvzqAbxgYNt4blQ==",
"dev": true
},
"math-random": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz",
@ -37009,12 +36452,6 @@
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
"ncp": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/ncp/-/ncp-1.0.1.tgz",
"integrity": "sha1-0VNn5cuHQyuhF9K/gP30Wuz7QkY=",
"dev": true
},
"negotiator": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
@ -37048,12 +36485,6 @@
"tslib": "^1.10.0"
}
},
"node-balanced": {
"version": "0.0.14",
"resolved": "https://registry.npmjs.org/node-balanced/-/node-balanced-0.0.14.tgz",
"integrity": "sha1-ozxyeFfTBE8eiL5y3X2anQtPwh8=",
"dev": true
},
"node-dir": {
"version": "0.1.17",
"resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz",
@ -37410,36 +36841,6 @@
"resolved": "https://registry.npmjs.org/normalize-scroll-left/-/normalize-scroll-left-0.1.2.tgz",
"integrity": "sha512-F9YMRls0zCF6BFIE2YnXDRpHPpfd91nOIaNdDgrx5YMoPLo8Wqj+6jNXHQsYBavJeXP4ww8HCt0xQAKc5qk2Fg=="
},
"normalize-selector": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz",
"integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=",
"dev": true
},
"normalize-url": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz",
"integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=",
"dev": true,
"requires": {
"object-assign": "^4.0.1",
"prepend-http": "^1.0.0",
"query-string": "^4.1.0",
"sort-keys": "^1.0.0"
},
"dependencies": {
"query-string": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz",
"integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=",
"dev": true,
"requires": {
"object-assign": "^4.1.0",
"strict-uri-encode": "^1.0.0"
}
}
}
},
"npm-run-path": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
@ -38739,51 +38140,6 @@
}
}
},
"postcss-font-family": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.2.1.tgz",
"integrity": "sha1-dQJSSzmDox5q9k5LqhA07W7YQYw=",
"dev": true,
"requires": {
"object-assign": "^3.0.0",
"postcss": "^4.1.16",
"uniqs": "^2.0.0"
},
"dependencies": {
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
"object-assign": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz",
"integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=",
"dev": true
},
"postcss": {
"version": "4.1.16",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",
"integrity": "sha1-TESbTIr53zyvbTf44eV10DYXWNw=",
"dev": true,
"requires": {
"es6-promise": "~2.3.0",
"js-base64": "~2.1.8",
"source-map": "~0.4.2"
}
},
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
}
}
},
"postcss-js": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-3.0.3.tgz",
@ -39004,12 +38360,6 @@
}
}
},
"postcss-message-helpers": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz",
"integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=",
"dev": true
},
"postcss-minify-font-values": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",
@ -39048,43 +38398,6 @@
}
}
},
"postcss-minify-font-weight": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/postcss-minify-font-weight/-/postcss-minify-font-weight-1.0.1.tgz",
"integrity": "sha1-aI5CzfI27Osb1WOojPHSTQOgWIg=",
"dev": true,
"requires": {
"postcss": "^4.1.11"
},
"dependencies": {
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
"postcss": {
"version": "4.1.16",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",
"integrity": "sha1-TESbTIr53zyvbTf44eV10DYXWNw=",
"dev": true,
"requires": {
"es6-promise": "~2.3.0",
"js-base64": "~2.1.8",
"source-map": "~0.4.2"
}
},
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
}
}
},
"postcss-minify-gradients": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",
@ -39834,64 +39147,6 @@
}
}
},
"postcss-single-charset": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/postcss-single-charset/-/postcss-single-charset-0.3.0.tgz",
"integrity": "sha1-2n/Q3szPYy8bdMei7j41vilFZXM=",
"dev": true,
"requires": {
"fs-extra": "^0.14.0",
"postcss": "^4.1.0"
},
"dependencies": {
"fs-extra": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.14.0.tgz",
"integrity": "sha1-RmCWxroticIAA4DaskULeFn/Z0M=",
"dev": true,
"requires": {
"jsonfile": "^2.0.0",
"ncp": "^1.0.1",
"rimraf": "^2.2.8"
}
},
"js-base64": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",
"integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",
"dev": true
},
"jsonfile": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
"integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.6"
}
},
"postcss": {
"version": "4.1.16",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",
"integrity": "sha1-TESbTIr53zyvbTf44eV10DYXWNw=",
"dev": true,
"requires": {
"es6-promise": "~2.3.0",
"js-base64": "~2.1.8",
"source-map": "~0.4.2"
}
},
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
}
}
},
"postcss-svgo": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz",
@ -39976,12 +39231,6 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true
},
"prepend-http": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
"dev": true
},
"preserve": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
@ -41727,15 +40976,6 @@
}
}
},
"read-file-stdin": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz",
"integrity": "sha1-JezP86FTtoCa+ssj7hU4fbng7mE=",
"dev": true,
"requires": {
"gather-stream": "^1.0.0"
}
},
"read-pkg": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",
@ -41855,34 +41095,6 @@
}
}
},
"reduce-css-calc": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz",
"integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=",
"dev": true,
"requires": {
"balanced-match": "^0.4.2",
"math-expression-evaluator": "^1.2.14",
"reduce-function-call": "^1.0.1"
},
"dependencies": {
"balanced-match": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
"integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
"dev": true
}
}
},
"reduce-function-call": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.3.tgz",
"integrity": "sha512-Hl/tuV2VDgWgCSEeWMLwxLZqX7OK59eU1guxXsRKTAyeYimivsKdtcV4fu3r710tpG5GmDKDhQ0HSZLExnNmyQ==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0"
}
},
"redux": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/redux/-/redux-4.1.0.tgz",
@ -43508,15 +42720,6 @@
"kind-of": "^3.2.0"
}
},
"sort-keys": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
"integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=",
"dev": true,
"requires": {
"is-plain-obj": "^1.0.0"
}
},
"source-list-map": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
@ -46027,12 +45230,6 @@
"integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=",
"dev": true
},
"uniqid": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/uniqid/-/uniqid-1.0.0.tgz",
"integrity": "sha1-JYJSTgdASESkLelPviv1SeG3RVU=",
"dev": true
},
"uniqs": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",
@ -47236,12 +46433,6 @@
"typedarray-to-buffer": "^3.1.5"
}
},
"write-file-stdout": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/write-file-stdout/-/write-file-stdout-0.0.2.tgz",
"integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=",
"dev": true
},
"ws": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",

View File

@ -238,8 +238,6 @@
"extract-hoc": "0.0.5",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.11",
"font-awesome": "4.7.0",
"font-awesome-webpack": "0.0.4",
"fork-ts-checker-webpack-plugin": "4.1.3",
"husky": "^4.2.3",
"identity-obj-proxy": "^3.0.0",

View File

@ -213,14 +213,6 @@
padding-left: 10px !important;
}
}
.title::before {
font-family: FontAwesome;
font-size: 10px;
content: '\f078';
display: inline-block;
margin-right: 6px;
}
.titleClosed::before {
transform: rotate(-90deg);
}

View File

@ -294,11 +294,11 @@ class Main extends React.Component {
const getMetadataStatusIcon = () => {
if (metadata.inconsistentObjects.length === 0) {
return <FaCog className={styles.question} />;
return <FaCog className={'w-sm h-sm' + styles.question} />;
}
return (
<div className={styles.question}>
<FaCog />
<FaCog className="w-sm h-sm" />
<div className={styles.overlappingExclamation}>
<div className={styles.iconWhiteBackground} />
<div>
@ -466,7 +466,9 @@ class Main extends React.Component {
{!this.state.loveConsentState.isDismissed ? (
<div
id="dropdown_wrapper"
className={`${this.state.isLoveSectionOpen ? 'open' : ''}`}
className={`self-stretch ${
this.state.isLoveSectionOpen ? 'open' : ''
}`}
>
<LoveSection
closeLoveSection={this.closeLoveSection}

View File

@ -156,6 +156,7 @@
display: flex;
justify-content: flex-end;
position: relative;
align-items: center;
.clusterBtn {
background-color: transparent;

View File

@ -1,6 +1,8 @@
import React, { useState, useEffect } from 'react';
import React, { useState, useEffect, ReactNode } from 'react';
import { Link } from 'react-router';
import {
FaChevronDown,
FaChevronRight,
FaDatabase,
FaFolder,
FaFolderOpen,
@ -23,6 +25,15 @@ type SourceItemsTypes =
| 'function'
| 'table';
const sourceItemsTypesToIcons: Record<SourceItemsTypes, ReactNode> = {
enum: <FaListUl />,
database: <FaDatabase />,
function: <FaDatabase />,
schema: <></>,
table: <FaTable />,
view: <></>,
};
type SourceItem = {
name: string;
type: SourceItemsTypes;
@ -138,7 +149,7 @@ const LeafItemsView: React.FC<LeafItemsViewProps> = ({
style={isActive ? activeStyle : {}}
>
{item.type === 'enum' ? (
<FaListUl />
<FaListUl className="mr-1" />
) : (
<FaTable className="mr-1" />
)}
@ -214,6 +225,17 @@ const SchemaItemsView: React.FC<SchemaItemsViewProps> = ({
`${styles.title} ${isOpen ? '' : styles.titleClosed}`
}
>
{isOpen ? (
<FaChevronDown
className="text-xs mr-1"
style={{ strokeWidth: 50 }}
/>
) : (
<FaChevronRight
className="text-xs mr-1"
style={{ strokeWidth: 50 }}
/>
)}
{isOpen ? <FaFolderOpen /> : <FaFolder />} {item.name}
</span>
</div>
@ -319,7 +341,18 @@ const DatabaseItemsView: React.FC<DatabaseItemsViewProps> = ({
}
style={showActiveStyle ? activeStyle : {}}
>
{item.name}
{isOpen ? (
<FaChevronDown
className="text-xs mr-1"
style={{ strokeWidth: 50 }}
/>
) : (
<FaChevronRight
className="text-xs mr-1"
style={{ strokeWidth: 50 }}
/>
)}
{sourceItemsTypesToIcons[item.type]} {item.name}
</span>
</div>
{isOpen && item.children

View File

@ -1,18 +0,0 @@
/**
* Configuration file for font-awesome-webpack
*
* In order to keep the bundle size low in production,
* disable components you don't use.
*
*/
module.exports = {
styles: {
mixins: true,
core: true,
icons: true,
larger: true,
path: true,
animated: true,
},
};

View File

@ -1,7 +0,0 @@
/**
* Configuration file for font-awesome-webpack
*
*/
// Example:
// @fa-border-color: #ddd;

View File

@ -1,8 +0,0 @@
const fontAwesomeConfig = require('./font-awesome.config.js');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
fontAwesomeConfig.styleLoader = ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader!less-loader',
});
module.exports = fontAwesomeConfig;

View File

@ -30,7 +30,6 @@ module.exports = {
entry: {
main: [
`webpack-hot-middleware/client?path=http://${host}:${port}/__webpack_hmr`,
'font-awesome-webpack!./src/theme/font-awesome.config.js',
'./src/client.js',
],
},