From fb60cdac911b38f3a9c1059270c72fd203adcfd2 Mon Sep 17 00:00:00 2001 From: Moshe Immerman Date: Sun, 10 Apr 2022 16:48:34 +0300 Subject: [PATCH] chore: bump flanksource-ui --- ui/package-lock.json | 14 +++++++------- ui/package.json | 4 ++-- ui/tailwind.config.js | 12 ++++++++++-- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index e4566c54a..80a258e9c 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/plugin-syntax-jsx": "^7.14.5", "@craco/craco": "^6.2.0", - "@flanksource/flanksource-ui": "^1.0.34", + "@flanksource/flanksource-ui": "^1.0.37", "@headlessui/react": "^1.4.0", "@heroicons/react": "^1.0.3", "@tailwindcss/forms": "^0.3.3", @@ -2018,9 +2018,9 @@ } }, "node_modules/@flanksource/flanksource-ui": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/@flanksource/flanksource-ui/-/flanksource-ui-1.0.34.tgz", - "integrity": "sha512-otiCunXd8eUmyrGt9yYH1m8vgxPFHZrlwKgKUOY9oxebM33inogyWZgURGIi54EouhmYWTgOZLwGacCTLK/rkA==", + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/@flanksource/flanksource-ui/-/flanksource-ui-1.0.37.tgz", + "integrity": "sha512-f+wnQyRAdnA0BcU7lsxz3XJ0h6fKZrJBPGSq6IIdVlV8rgZ47sy4SerKG3sl0D2AsqypTBPIGSOvVzkzfvppeA==", "dependencies": { "@babel/plugin-syntax-jsx": "^7.14.5", "@craco/craco": "^6.2.0", @@ -26052,9 +26052,9 @@ } }, "@flanksource/flanksource-ui": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/@flanksource/flanksource-ui/-/flanksource-ui-1.0.34.tgz", - "integrity": "sha512-otiCunXd8eUmyrGt9yYH1m8vgxPFHZrlwKgKUOY9oxebM33inogyWZgURGIi54EouhmYWTgOZLwGacCTLK/rkA==", + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/@flanksource/flanksource-ui/-/flanksource-ui-1.0.37.tgz", + "integrity": "sha512-f+wnQyRAdnA0BcU7lsxz3XJ0h6fKZrJBPGSq6IIdVlV8rgZ47sy4SerKG3sl0D2AsqypTBPIGSOvVzkzfvppeA==", "requires": { "@babel/plugin-syntax-jsx": "^7.14.5", "@craco/craco": "^6.2.0", diff --git a/ui/package.json b/ui/package.json index 82ee5104e..ac5407012 100644 --- a/ui/package.json +++ b/ui/package.json @@ -4,7 +4,7 @@ "dependencies": { "@babel/plugin-syntax-jsx": "^7.14.5", "@craco/craco": "^6.2.0", - "@flanksource/flanksource-ui": "^1.0.34", + "@flanksource/flanksource-ui": "^1.0.37", "@headlessui/react": "^1.4.0", "@heroicons/react": "^1.0.3", "@tailwindcss/forms": "^0.3.3", @@ -24,7 +24,7 @@ "timeago.js": "^4.0.2", "web-vitals": "^1.0.1" }, - "proxy": "https://canaries.canary.lab.flanksource.com/", + "proxy": "https://incident-commander.canary.lab.flanksource.com/", "scripts": { "start": "DISABLE_ESLINT_PLUGIN=true craco start", "build": "DISABLE_ESLINT_PLUGIN=true craco build", diff --git a/ui/tailwind.config.js b/ui/tailwind.config.js index 5efe8f32b..2cc9a2540 100644 --- a/ui/tailwind.config.js +++ b/ui/tailwind.config.js @@ -16,8 +16,16 @@ module.exports = { }, }, variants: { - extend: {}, - }, + extend: { + backgroundColor: ["disabled", "checked"], + textColor: ["disabled"], + margin: ["first", "last"], + padding: ["first", "last"], + borderWidth: ["first", "hover", "last"], + borderRadius: ["first", "last"], + borderColor: ["hover", "checked"], + }, + }, // eslint-disable-next-line global-require // eslint-disable-next-line global-require plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], };