diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4b70c1a7ee..228d305325b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: hooks: - id: prettier additional_dependencies: - - prettier@3.3.3 + - prettier@3.5.3 args: ["--ignore-path=./superset-frontend/.prettierignore"] files: "superset-frontend" - repo: local diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 95f10d09ea1..793ca61edfd 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -273,7 +273,7 @@ "mini-css-extract-plugin": "^2.9.0", "open-cli": "^8.0.0", "po2json": "^0.4.5", - "prettier": "3.3.3", + "prettier": "3.5.3", "prettier-plugin-packagejson": "^2.5.3", "process": "^0.11.10", "react-resizable": "^3.0.5", @@ -17359,9 +17359,9 @@ "license": "CC-BY-4.0" }, "node_modules/canvg": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz", - "integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==", + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz", + "integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==", "license": "MIT", "optional": true, "dependencies": { @@ -37472,9 +37472,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", "devOptional": true, "license": "MIT", "bin": { diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 7f207f1972b..3654d486298 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -340,7 +340,7 @@ "mini-css-extract-plugin": "^2.9.0", "open-cli": "^8.0.0", "po2json": "^0.4.5", - "prettier": "3.3.3", + "prettier": "3.5.3", "prettier-plugin-packagejson": "^2.5.3", "process": "^0.11.10", "react-resizable": "^3.0.5", diff --git a/superset-frontend/src/SqlLab/components/SqlEditorTabHeader/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditorTabHeader/index.tsx index e06279ebc56..adc09ea63a2 100644 --- a/superset-frontend/src/SqlLab/components/SqlEditorTabHeader/index.tsx +++ b/superset-frontend/src/SqlLab/components/SqlEditorTabHeader/index.tsx @@ -156,7 +156,8 @@ const SqlEditorTabHeader: FC = ({ queryEditor }) => { } /> - {qe.name} {' '} + {qe.name}{' '} + {' '} ); }; diff --git a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx index eb44ee81c0d..3919181ea68 100644 --- a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx +++ b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx @@ -57,12 +57,13 @@ const BackgroundStyleOption = styled.div` /* Create the transparent rect icon */ &.background--transparent:before { - background-image: linear-gradient( - 45deg, + background-image: + linear-gradient(45deg, ${theme.colors.text.label} 25%, transparent 25%), + linear-gradient( + -45deg, ${theme.colors.text.label} 25%, transparent 25% ), - linear-gradient(-45deg, ${theme.colors.text.label} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${theme.colors.text.label} 75%), linear-gradient(-45deg, transparent 75%, ${theme.colors.text.label} 75%); background-size: ${theme.gridUnit * 2}px ${theme.gridUnit * 2}px;