diff --git a/Configuration.json b/Configuration.json index 7ea6157..e4edc97 100644 --- a/Configuration.json +++ b/Configuration.json @@ -5,5 +5,6 @@ "RDoRUL39LEe9R81BSEJqwj52n0v1", "oMiJQcb4xqTI7XJlGZItEH2eKtm2" ], + "WORKFLOW_CONFIG_PROFILE_IDS": ["eePyy59w5KXLy0wkvqsv1iPmLUh1"], "DEEPLINK_PROTOCOL_NAME": "grid-editor" } diff --git a/package-lock.json b/package-lock.json index ea6402e..5e08185 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "dependencies": { "@intechstudio/grid-protocol": "1.20250305.1735", - "@intechstudio/grid-uikit": "1.20250929.2015", + "@intechstudio/grid-uikit": "1.20251020.1904", "@melt-ui/svelte": "^0.86.6", "@toast-ui/editor": "^3.2.2", "audit": "^0.0.6", @@ -35,7 +35,6 @@ "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-svelte": "^2.39.0", - "postcss": "^8.4.21", "postcss-import": "^16.1.0", "prettier": "^3.5.3", "prettier-plugin-svelte": "^3.3.3", @@ -856,9 +855,9 @@ "integrity": "sha512-pAnLVlkiAk8zz+yBc99TdeUiH2wXPuNwWb0ZBgqcqtcIT8bUh7zMY2s7ll0KQsI9HsVP/3IwB2htNHCyNIWCsg==" }, "node_modules/@intechstudio/grid-uikit": { - "version": "1.20250929.2015", - "resolved": "https://registry.npmjs.org/@intechstudio/grid-uikit/-/grid-uikit-1.20250929.2015.tgz", - "integrity": "sha512-50OwamF5AKDTNJvkhrTvRSiQBpu0Nq9QehzmMznBcDcSQzFpyxnOfnG6k4O4NHLhAPSsAxHXwx4UpVomd+7A3Q==", + "version": "1.20251020.1904", + "resolved": "https://registry.npmjs.org/@intechstudio/grid-uikit/-/grid-uikit-1.20251020.1904.tgz", + "integrity": "sha512-5dFv1i3pWSnKFgbyVf/0pWHJ7vBCWdfYe+I+c+N84+a6g5uhc60EJnlr3Y1vh3TwQLjnlvsxJhLp+h4mTvoSyA==", "dependencies": { "@melt-ui/svelte": "^0.86.6", "color-convert": "^2.0.1", diff --git a/package.json b/package.json index 224e26d..e9c0116 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-svelte": "^2.39.0", - "postcss": "^8.4.21", "postcss-import": "^16.1.0", "prettier": "^3.5.3", "prettier-plugin-svelte": "^3.3.3", @@ -42,7 +41,7 @@ "type": "module", "dependencies": { "@intechstudio/grid-protocol": "1.20250305.1735", - "@intechstudio/grid-uikit": "1.20250929.2015", + "@intechstudio/grid-uikit": "1.20251020.1904", "@melt-ui/svelte": "^0.86.6", "@toast-ui/editor": "^3.2.2", "audit": "^0.0.6", diff --git a/postcss.config.cjs b/postcss.config.cjs deleted file mode 100644 index a5a6ff8..0000000 --- a/postcss.config.cjs +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - plugins: { - "postcss-import": {}, - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/src/WebComponent.svelte b/src/WebComponent.svelte index eaa7118..ab23aa6 100644 --- a/src/WebComponent.svelte +++ b/src/WebComponent.svelte @@ -1,4 +1,4 @@ - + - + {#if isEditorVersionCompatible} {:else} @@ -40,86 +38,7 @@ {/if} - diff --git a/src/app.css b/src/app.css index b5c61c9..870bf72 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,46 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +*, +*, +::before, +::after { + box-sizing: border-box; /* 1 */ + border-width: 0; /* 2 */ + border-style: solid; /* 2 */ + border-color: #e5e5e5; /* 2 */ +} + +/* + 1. Use a consistent sensible line-height in all browsers. + 2. Prevent adjustments of font size after orientation changes in iOS. + 3. Use a more readable tab size. + 4. Use the user's configured `sans` font-family by default. + 5. Use the user's configured `sans` font-feature-settings by default. + 6. Use the user's configured `sans` font-variation-settings by default. + 7. Disable tap highlights on iOS + */ + +html, +:host { + line-height: 1.5; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + -moz-tab-size: 4; /* 3 */ + -o-tab-size: 4; + tab-size: 4; /* 3 */ + font-family: + ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", + "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ + font-feature-settings: normal; /* 5 */ + font-variation-settings: normal; /* 6 */ + -webkit-tap-highlight-color: transparent; /* 7 */ +} + +/* + 1. Remove the margin in all browsers. + 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. + */ + +body { + margin: 0; /* 1 */ + line-height: inherit; /* 2 */ + color: var(--foreground); + background-color: var(--background); +} diff --git a/src/lib/components/DataInput.svelte b/src/lib/components/DataInput.svelte index f81ce61..4907ea9 100644 --- a/src/lib/components/DataInput.svelte +++ b/src/lib/components/DataInput.svelte @@ -7,37 +7,66 @@ export let bold = false; const dispatch = createEventDispatcher(); - let edited = false; let element: HTMLInputElement; - $: displayedText = edited ? value : value || placeholder; + $: displayedText = value.trim(); function handleBlur() { window?.getSelection()?.removeAllRanges(); - edited = false; - if (value !== displayedText) { - value = displayedText; + if (value !== displayedText.trim()) { + value = displayedText.trim(); dispatch("change", { value }); } } - function handleDblClick() { - edited = true; + function handleClick() { + if (disabled) { + return; + } element?.setSelectionRange(0, element.value.length); } e.key == "Enter" && !e.shiftKey && element?.blur()} on:blur={handleBlur} - on:dblclick|stopPropagation|preventDefault={handleDblClick} + on:click|stopPropagation|preventDefault={handleClick} bind:value={displayedText} + {placeholder} /> + + diff --git a/src/lib/components/UserAccount.svelte b/src/lib/components/UserAccount.svelte deleted file mode 100644 index f503c1d..0000000 --- a/src/lib/components/UserAccount.svelte +++ /dev/null @@ -1,96 +0,0 @@ - - -
- {#if !$userAccountService.account} -
-
-

login to profile cloud

-
- - - - -
- -
- -
-
-
- social authentication -
-
-
- -
- -
- {:else} -
-
-
- -
-

- Welcome {$userAccountService.account.displayName}! -

-
-
- -
-
- {/if} -
diff --git a/src/lib/components/atomic/AtomicButton.svelte b/src/lib/components/atomic/AtomicButton.svelte deleted file mode 100644 index 6eab66e..0000000 --- a/src/lib/components/atomic/AtomicButton.svelte +++ /dev/null @@ -1,70 +0,0 @@ - - - - - diff --git a/src/lib/components/atomic/AtomicInput.svelte b/src/lib/components/atomic/AtomicInput.svelte deleted file mode 100644 index d622bf8..0000000 --- a/src/lib/components/atomic/AtomicInput.svelte +++ /dev/null @@ -1,37 +0,0 @@ - - -
- - {#if type === "password"} - - {:else if type === "text"} - - {/if} -
diff --git a/src/lib/components/atomic/ToggleSwitch.svelte b/src/lib/components/atomic/ToggleSwitch.svelte deleted file mode 100644 index 321733c..0000000 --- a/src/lib/components/atomic/ToggleSwitch.svelte +++ /dev/null @@ -1,49 +0,0 @@ - - - -