From e7ed1008e59c75214490a44e19a378e17a308e81 Mon Sep 17 00:00:00 2001 From: Po-Chun Chiu <57251712+EiffelFly@users.noreply.github.com> Date: Thu, 12 Oct 2023 22:32:01 +0800 Subject: [PATCH] fix(pipeline-builder): fix a bug when create fields on the end operator will wrongly use the key from the previous edited field (#593) Because - when create fields on the end operator will wrongly use the key from the previous edited field This commit - Fix a bug when create fields on the end operator will wrongly use the key from the previous edited field --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- public/icons/Google/bigquery.svg | 12 ++++++++++++ public/icons/Google/gcs.svg | 11 +++++++++++ public/icons/{Open AI => OpenAI}/openai.svg | 0 public/icons/Pinecone/pinecone.svg | 21 +++++++++++++++++++++ src/styles/global.css | 8 ++++++++ 7 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 public/icons/Google/bigquery.svg create mode 100644 public/icons/Google/gcs.svg rename public/icons/{Open AI => OpenAI}/openai.svg (100%) create mode 100644 public/icons/Pinecone/pinecone.svg diff --git a/package.json b/package.json index cb2257a94..a787ca1ff 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@hookform/resolvers": "^3.1.1", "@instill-ai/design-system": "^0.55.6", "@instill-ai/design-tokens": "^0.3.2", - "@instill-ai/toolkit": "^0.68.3-rc.35", + "@instill-ai/toolkit": "0.68.3-rc.60", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.2", "@radix-ui/react-dialog": "^1.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b1c9c129a..a104a1bcd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ dependencies: specifier: ^0.3.2 version: 0.3.2(tailwindcss@3.3.1) '@instill-ai/toolkit': - specifier: ^0.68.3-rc.35 - version: 0.68.3-rc.35(@instill-ai/design-system@0.55.6)(@instill-ai/design-tokens@0.3.2)(@types/react-dom@18.2.0)(@types/react@18.2.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0) + specifier: 0.68.3-rc.60 + version: 0.68.3-rc.60(@instill-ai/design-system@0.55.6)(@instill-ai/design-tokens@0.3.2)(@types/react-dom@18.2.0)(@types/react@18.2.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-checkbox': specifier: ^1.0.3 version: 1.0.3(react-dom@18.2.0)(react@18.2.0) @@ -2375,8 +2375,8 @@ packages: tailwindcss: 3.3.1(postcss@8.4.14) dev: false - /@instill-ai/toolkit@0.68.3-rc.35(@instill-ai/design-system@0.55.6)(@instill-ai/design-tokens@0.3.2)(@types/react-dom@18.2.0)(@types/react@18.2.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Lxcj9jfHrUiMstBrHDH5QV8iZazPZczH/5/lfJQYToO+XgteW2bV7CZTzoyMlS1bEWaPGQBlf65xNQ8Wv3JDcQ==} + /@instill-ai/toolkit@0.68.3-rc.60(@instill-ai/design-system@0.55.6)(@instill-ai/design-tokens@0.3.2)(@types/react-dom@18.2.0)(@types/react@18.2.0)(next@13.4.2)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-E0PZYQnToBh7SQYprBSHiOxhCPbRoSk8FfU2SEpDHMIyeT4vS3QCD3uCxLZZZNkhMhfVEseEioaRWWT0cGeoYg==} peerDependencies: '@instill-ai/design-system': 0.55.6 '@instill-ai/design-tokens': 0.3.2 diff --git a/public/icons/Google/bigquery.svg b/public/icons/Google/bigquery.svg new file mode 100644 index 000000000..2d99c78e5 --- /dev/null +++ b/public/icons/Google/bigquery.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/icons/Google/gcs.svg b/public/icons/Google/gcs.svg new file mode 100644 index 000000000..0cfba3f9b --- /dev/null +++ b/public/icons/Google/gcs.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/icons/Open AI/openai.svg b/public/icons/OpenAI/openai.svg similarity index 100% rename from public/icons/Open AI/openai.svg rename to public/icons/OpenAI/openai.svg diff --git a/public/icons/Pinecone/pinecone.svg b/public/icons/Pinecone/pinecone.svg new file mode 100644 index 000000000..8917cb774 --- /dev/null +++ b/public/icons/Pinecone/pinecone.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/styles/global.css b/src/styles/global.css index 65b2d62a2..5591400de 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -4,6 +4,14 @@ @tailwind utilities; +@layer base { + input[type="number"]::-webkit-inner-spin-button, + input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; + } +} + @font-face { font-family: "instill"; font-style: normal;