The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: move form submit button into a form. native browser validation catches issue with date input incomplete state
Jonathan Summers-Muir88e28376aea6
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsxindex 1169bc79744..1a06ef1e23a 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx@@ -8,6 +8,8 @@ interface ActionBarProps {disableApply?: booleanapplyFunction?: (resolve: any) => voidclosePanel: () => void+ loading?: boolean+ noApplyFunction?: boolean}const ActionBar: FC<ActionBarProps> = ({applyButtonLabel = 'Apply',@@ -16,6 +18,8 @@ const ActionBar: FC<ActionBarProps> = ({disableApply = false,applyFunction = null,closePanel,+ loading = undefined,+ noApplyFunction = false,}) => {const [isRunning, setIsRunning] = useState(false)@@ -29,12 +33,20 @@ const ActionBar: FC<ActionBarProps> = ({}return (- <div className="space-x-3 w-full flex justify-between px-3 py-4 border-t border-scale-500">+ <div className="border-scale-500 flex w-full justify-between space-x-3 border-t px-3 py-4"><Button size="small" onClick={closePanel} type="default">{backButtonLabel}</Button>+{children}+{applyFunction && (+ /**+ * old solution+ * this is necessary when loading is handled by this component+ *+ * author @mildtomato+ */<Buttonsize="small"onClick={onSelectApply}@@ -44,6 +56,20 @@ const ActionBar: FC<ActionBarProps> = ({{applyButtonLabel}</Button>)}++ {noApplyFunction && (+ /**+ * new solution to avoid using applyFunction+ * this is necessary for handling loading by form itself+ *+ * this does not require he applyCallback() above+ *+ * author @mildtomato+ */+ <Button size="small" disabled={disableApply} loading={loading}>+ {applyButtonLabel}+ </Button>+ )}</div>)}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsxindex 0afecf47a1e..3105b83253c 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx@@ -46,6 +46,8 @@ const RowEditor: FC<Props> = ({const isNewRecord = isUndefined(row)const isEditingJson = !isUndefined(selectedValueForJsonEdit)+ const [loading, setLoading] = useState(false)+const [requiredFields, optionalFields] = partition(rowFields,(rowField: any) => !rowField.isNullable@@ -111,9 +113,16 @@ const RowEditor: FC<Props> = ({}}- const onSaveChanges = (resolve: any) => {+ function resolve() {+ setLoading(false)+ }++ const onSaveChanges = (e: React.FormEvent<HTMLFormElement>) => {+ e.preventDefault()+const errors = validateFields(rowFields)setErrors(errors)+ setLoading(true)if (isEmpty(errors)) {updateEditorDirty()@@ -146,78 +155,86 @@ const RowEditor: FC<Props> = ({isEditingJson || isViewingReferenceRow ? ' mr-32' : ''}`}onCancel={closePanel}- customFooter={- <ActionBar- backButtonLabel="Cancel"- applyButtonLabel="Save"- closePanel={closePanel}- applyFunction={(resolve: any) => onSaveChanges(resolve)}- />- }+ hideFooter>- <SidePanel.Content>- <div className="space-y-10 py-6">- {requiredFields.map((field: RowField) => {- return (- <InputField- key={field.id}- field={field}- errors={errors}- onUpdateField={onUpdateField}- onEditJson={setSelectedValueForJsonEdit}- onViewForeignKey={() => onViewForeignKey(field)}- />- )- })}- </div>- </SidePanel.Content>- {optionalFields.length > 0 && (- <>- <SidePanel.Seperator />- <SidePanel.Content>- <div className="space-y-10 py-6">- <div>- <h3 className="text-scale-1200 text-base">Optional Fields</h3>- <p className="text-scale-900 text-sm">- These are columns that do not need any value- </p>+ <form onSubmit={(e) => onSaveChanges(e)} className="h-full">+ <div className="flex h-full flex-col">+ <div className="flex flex-grow flex-col">+ <SidePanel.Content>+ <div className="space-y-10 py-6">+ {requiredFields.map((field: RowField) => {+ return (+ <InputField+ key={field.id}+ field={field}+ errors={errors}+ onUpdateField={onUpdateField}+ onEditJson={setSelectedValueForJsonEdit}+ onViewForeignKey={() => onViewForeignKey(field)}+ />+ )+ })}</div>- {optionalFields.map((field: RowField) => {- return (- <InputField- key={field.id}- field={field}- errors={errors}- onUpdateField={onUpdateField}- onEditJson={setSelectedValueForJsonEdit}- onViewForeignKey={() => onViewForeignKey(field)}- />- )- })}- </div>- </SidePanel.Content>- </>- )}-- <JsonEdit- visible={isEditingJson}- column={selectedValueForJsonEdit?.column ?? ''}- jsonString={selectedValueForJsonEdit?.jsonString ?? ''}- closePanel={() => setSelectedValueForJsonEdit(undefined)}- onSaveJSON={(value: string) => {- onUpdateField({ [selectedValueForJsonEdit?.column ?? '']: value })- setSelectedValueForJsonEdit(undefined)- }}- />-- <ReferenceRowViewer- visible={isViewingReferenceRow}- referenceRow={referenceRow}- closePanel={() => {- setIsViewingReferenceRow(false)- setReferenceRow(undefined)- }}- />+ </SidePanel.Content>+ {optionalFields.length > 0 && (+ <>+ <SidePanel.Seperator />+ <SidePanel.Content>+ <div className="space-y-10 py-6">+ <div>+ <h3 className="text-scale-1200 text-base">Optional Fields</h3>+ <p className="text-scale-900 text-sm">+ These are columns that do not need any value+ </p>+ </div>+ {optionalFields.map((field: RowField) => {+ return (+ <InputField+ key={field.id}+ field={field}+ errors={errors}+ onUpdateField={onUpdateField}+ onEditJson={setSelectedValueForJsonEdit}+ onViewForeignKey={() => onViewForeignKey(field)}+ />+ )+ })}+ </div>+ </SidePanel.Content>+ </>+ )}++ <JsonEdit+ visible={isEditingJson}+ column={selectedValueForJsonEdit?.column ?? ''}+ jsonString={selectedValueForJsonEdit?.jsonString ?? ''}+ closePanel={() => setSelectedValueForJsonEdit(undefined)}+ onSaveJSON={(value: string) => {+ onUpdateField({ [selectedValueForJsonEdit?.column ?? '']: value })+ setSelectedValueForJsonEdit(undefined)+ }}+ />++ <ReferenceRowViewer+ visible={isViewingReferenceRow}+ referenceRow={referenceRow}+ closePanel={() => {+ setIsViewingReferenceRow(false)+ setReferenceRow(undefined)+ }}+ />+ </div>+ <div className="flex-shrink">+ <ActionBar+ loading={loading}+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ noApplyFunction+ />+ </div>+ </div>+ </form></SidePanel>)}diff --git a/studio/package-lock.json b/studio/package-lock.jsonindex 0b66ec07b57..ffd21f44931 100644--- a/studio/package-lock.json+++ b/studio/package-lock.json@@ -22,7 +22,7 @@"@supabase/react-data-grid": "^7.1.0-beta.7","@supabase/shared-types": "^0.1.18","@supabase/supabase-js": "^1.29.1",- "@supabase/ui": "0.37.0-alpha.51",+ "@supabase/ui": "0.37.0-alpha.53","ajv": "^8.6.3","analytics-node": "^3.5.0","clipboard": "^2.0.8",@@ -8369,9 +8369,9 @@}},"node_modules/@supabase/ui": {- "version": "0.37.0-alpha.51",- "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.37.0-alpha.51.tgz",- "integrity": "sha512-9N5k6m3iEwR8HYyH7Ekz6EPI2VW2CZZh0TOZuvaKIXSfccgp2w5kcNcRoyGv/t4c7j+8VAyS+H9cRHHSLiwLzQ==",+ "version": "0.37.0-alpha.53",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.37.0-alpha.53.tgz",+ "integrity": "sha512-4ANsI6KECa5FYUZ+ZUQlCiuBRm79UEuNLKeEEl3rOBd4l8s6Oy0kHAIV65LpXDB/5DZAApFeu7bPhnmDODJXzw==","dependencies": {"@headlessui/react": "^1.0.0","@mertasan/tailwindcss-variables": "^2.0.1",@@ -9888,7 +9888,6 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz","integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",- "dev": true,"optional": true},"node_modules/asynckit": {@@ -10572,7 +10571,6 @@"version": "1.5.0","resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz","integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",- "dev": true,"optional": true,"dependencies": {"file-uri-to-path": "1.0.0"@@ -14323,7 +14321,6 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz","integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",- "dev": true,"optional": true},"node_modules/fill-range": {@@ -20404,7 +20401,6 @@"version": "2.15.0","resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz","integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==",- "dev": true,"optional": true},"node_modules/nanoid": {@@ -21612,7 +21608,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz","integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",- "dev": true+ "devOptional": true},"node_modules/path-exists": {"version": "4.0.0",@@ -24018,7 +24014,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz","integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",- "dev": true+ "devOptional": true},"node_modules/remove-trailing-slash": {"version": "0.1.1",@@ -27087,7 +27083,6 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz","integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",- "dev": true,"optional": true,"engines": {"node": ">=4",@@ -27587,7 +27582,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz","integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==",- "dev": true,"optional": true,"dependencies": {"chokidar": "^2.1.8"@@ -27597,7 +27591,6 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz","integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",- "dev": true,"optional": true,"dependencies": {"micromatch": "^3.1.4",@@ -27608,7 +27601,6 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz","integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",- "dev": true,"optional": true,"dependencies": {"remove-trailing-separator": "^1.0.1"@@ -27621,7 +27613,6 @@"version": "1.13.1","resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz","integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true,"optional": true,"engines": {"node": ">=0.10.0"@@ -27631,7 +27622,6 @@"version": "2.3.2","resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz","integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",- "dev": true,"optional": true,"dependencies": {"arr-flatten": "^1.1.0",@@ -27653,7 +27643,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,"optional": true,"dependencies": {"is-extendable": "^0.1.0"@@ -27667,7 +27656,6 @@"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz","integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==","deprecated": "Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies",- "dev": true,"optional": true,"dependencies": {"anymatch": "^2.0.0",@@ -27690,7 +27678,6 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz","integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",- "dev": true,"optional": true,"dependencies": {"extend-shallow": "^2.0.1",@@ -27706,7 +27693,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,"optional": true,"dependencies": {"is-extendable": "^0.1.0"@@ -27720,7 +27706,6 @@"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz","integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==","deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.",- "dev": true,"hasInstallScript": true,"optional": true,"os": [@@ -27738,7 +27723,6 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz","integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",- "dev": true,"optional": true,"dependencies": {"is-glob": "^3.1.0",@@ -27749,7 +27733,6 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz","integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",- "dev": true,"optional": true,"dependencies": {"is-extglob": "^2.1.0"@@ -27762,7 +27745,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz","integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",- "dev": true,"optional": true,"dependencies": {"binary-extensions": "^1.0.0"@@ -27775,7 +27757,6 @@"version": "0.1.1","resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz","integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",- "dev": true,"optional": true,"engines": {"node": ">=0.10.0"@@ -27785,7 +27766,6 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz","integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,"optional": true,"dependencies": {"kind-of": "^3.0.2"@@ -27798,7 +27778,6 @@"version": "3.2.2","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,"optional": true,"dependencies": {"is-buffer": "^1.1.5"@@ -27811,7 +27790,6 @@"version": "3.1.10","resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz","integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",- "dev": true,"optional": true,"dependencies": {"arr-diff": "^4.0.0",@@ -27836,7 +27814,6 @@"version": "2.3.7","resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz","integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",- "dev": true,"optional": true,"dependencies": {"core-util-is": "~1.0.0",@@ -27852,7 +27829,6 @@"version": "2.2.1","resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz","integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",- "dev": true,"optional": true,"dependencies": {"graceful-fs": "^4.1.11",@@ -27867,14 +27843,12 @@"version": "5.1.2","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz","integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "dev": true,"optional": true},"node_modules/watchpack-chokidar2/node_modules/string_decoder": {"version": "1.1.1","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz","integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "dev": true,"optional": true,"dependencies": {"safe-buffer": "~5.1.0"@@ -27884,7 +27858,6 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz","integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,"optional": true,"dependencies": {"is-number": "^3.0.0",@@ -35135,9 +35108,9 @@}},"@supabase/ui": {- "version": "0.37.0-alpha.51",- "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.37.0-alpha.51.tgz",- "integrity": "sha512-9N5k6m3iEwR8HYyH7Ekz6EPI2VW2CZZh0TOZuvaKIXSfccgp2w5kcNcRoyGv/t4c7j+8VAyS+H9cRHHSLiwLzQ==",+ "version": "0.37.0-alpha.53",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.37.0-alpha.53.tgz",+ "integrity": "sha512-4ANsI6KECa5FYUZ+ZUQlCiuBRm79UEuNLKeEEl3rOBd4l8s6Oy0kHAIV65LpXDB/5DZAApFeu7bPhnmDODJXzw==","requires": {"@headlessui/react": "^1.0.0","@mertasan/tailwindcss-variables": "^2.0.1",@@ -36469,7 +36442,6 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz","integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",- "dev": true,"optional": true},"asynckit": {@@ -36994,7 +36966,6 @@"version": "1.5.0","resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz","integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",- "dev": true,"optional": true,"requires": {"file-uri-to-path": "1.0.0"@@ -40047,7 +40018,6 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz","integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",- "dev": true,"optional": true},"fill-range": {@@ -44631,7 +44601,6 @@"version": "2.15.0","resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz","integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==",- "dev": true,"optional": true},"nanoid": {@@ -45590,7 +45559,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz","integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",- "dev": true+ "devOptional": true},"path-exists": {"version": "4.0.0",@@ -47381,7 +47350,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz","integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",- "dev": true+ "devOptional": true},"remove-trailing-slash": {"version": "0.1.1",@@ -49723,7 +49692,6 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz","integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",- "dev": true,"optional": true},"uri-js": {@@ -50079,7 +50047,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz","integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==",- "dev": true,"optional": true,"requires": {"chokidar": "^2.1.8"@@ -50089,7 +50056,6 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz","integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",- "dev": true,"optional": true,"requires": {"micromatch": "^3.1.4",@@ -50100,7 +50066,6 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz","integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",- "dev": true,"optional": true,"requires": {"remove-trailing-separator": "^1.0.1"@@ -50112,14 +50077,12 @@"version": "1.13.1","resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz","integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true,"optional": true},"braces": {"version": "2.3.2","resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz","integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",- "dev": true,"optional": true,"requires": {"arr-flatten": "^1.1.0",@@ -50138,7 +50101,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,"optional": true,"requires": {"is-extendable": "^0.1.0"@@ -50150,7 +50112,6 @@"version": "2.1.8","resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz","integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",- "dev": true,"optional": true,"requires": {"anymatch": "^2.0.0",@@ -50171,7 +50132,6 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz","integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",- "dev": true,"optional": true,"requires": {"extend-shallow": "^2.0.1",@@ -50184,7 +50144,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,"optional": true,"requires": {"is-extendable": "^0.1.0"@@ -50196,7 +50155,6 @@"version": "1.2.13","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz","integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",- "dev": true,"optional": true,"requires": {"bindings": "^1.5.0",@@ -50207,7 +50165,6 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz","integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",- "dev": true,"optional": true,"requires": {"is-glob": "^3.1.0",@@ -50218,7 +50175,6 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz","integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",- "dev": true,"optional": true,"requires": {"is-extglob": "^2.1.0"@@ -50230,7 +50186,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz","integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",- "dev": true,"optional": true,"requires": {"binary-extensions": "^1.0.0"@@ -50240,14 +50195,12 @@"version": "0.1.1","resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz","integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",- "dev": true,"optional": true},"is-number": {"version": "3.0.0","resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz","integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "dev": true,"optional": true,"requires": {"kind-of": "^3.0.2"@@ -50257,7 +50210,6 @@"version": "3.2.2","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,"optional": true,"requires": {"is-buffer": "^1.1.5"@@ -50269,7 +50221,6 @@"version": "3.1.10","resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz","integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",- "dev": true,"optional": true,"requires": {"arr-diff": "^4.0.0",@@ -50291,7 +50242,6 @@"version": "2.3.7","resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz","integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",- "dev": true,"optional": true,"requires": {"core-util-is": "~1.0.0",@@ -50307,7 +50257,6 @@"version": "2.2.1","resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz","integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",- "dev": true,"optional": true,"requires": {"graceful-fs": "^4.1.11",@@ -50319,14 +50268,12 @@"version": "5.1.2","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz","integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "dev": true,"optional": true},"string_decoder": {"version": "1.1.1","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz","integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "dev": true,"optional": true,"requires": {"safe-buffer": "~5.1.0"@@ -50336,7 +50283,6 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz","integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,"optional": true,"requires": {"is-number": "^3.0.0",diff --git a/studio/package.json b/studio/package.jsonindex 179cd063912..ef2d4d19d0f 100644--- a/studio/package.json+++ b/studio/package.json@@ -26,7 +26,7 @@"@supabase/react-data-grid": "^7.1.0-beta.7","@supabase/shared-types": "^0.1.18","@supabase/supabase-js": "^1.29.1",- "@supabase/ui": "0.37.0-alpha.51",+ "@supabase/ui": "0.37.0-alpha.53","ajv": "^8.6.3","analytics-node": "^3.5.0","clipboard": "^2.0.8",