From 1580650d927bde012735d89cce9e59f201a3e446 Mon Sep 17 00:00:00 2001 From: HeCorr <75134774+HeCorr@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:03:33 -0300 Subject: [PATCH 1/2] Disable noDefault on UUID type so it is possible to set a default value on UUID columns --- src/data/datatypes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/datatypes.js b/src/data/datatypes.js index eabf26a..9fda287 100644 --- a/src/data/datatypes.js +++ b/src/data/datatypes.js @@ -237,7 +237,7 @@ const defaultTypesBase = { isSized: false, hasCheck: false, hasPrecision: false, - noDefault: true, + noDefault: false, }, ENUM: { type: "ENUM", @@ -1208,7 +1208,7 @@ const postgresTypesBase = { isSized: false, hasPrecision: false, hasQuotes: true, - noDefault: true, + noDefault: false, }, XML: { type: "XML", From 910d4732c7e56d4dd6a94ac9f705c10ead5e70e3 Mon Sep 17 00:00:00 2001 From: HeCorr <75134774+HeCorr@users.noreply.github.com> Date: Sun, 2 Feb 2025 00:04:59 -0300 Subject: [PATCH 2/2] Fix wrong cursor style on disabled inputs *something* is setting the global cursor style for :disabled elements to "default" and I don't know what, but it conflicts with the intended cursor style of SemiDesign, so let it be determined by semi classes instead. --- src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.css b/src/index.css index 62a845d..b26793e 100644 --- a/src/index.css +++ b/src/index.css @@ -62,6 +62,11 @@ color: inherit; } +:disabled { + /* inherit Semi's cursor style for disabled elements */ + cursor: inherit; +} + ::-webkit-scrollbar { width: 8px; height: 8px;