Skip to content

Commit

Permalink
remove @rgossiaux/svelte-headlessui (#5794)
Browse files Browse the repository at this point in the history
* remove @rgossiaux/svelte-headlessui

* temp dialog conversion

* finalize dialog conversion

* text fix

* fix errors
  • Loading branch information
briangregoryholmes committed Sep 27, 2024
1 parent 3760a75 commit d2b311c
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 643 deletions.
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
"clean": "rm -rf dev-project",
"test": "npm run test -w web-common & npm run test -w web-auth & PLAYWRIGHT_TEST=true make cli && npm run test -w web-local"
},
"overrides": {
"@rgossiaux/svelte-headlessui": {
"svelte": "^4.0.0"
}
},
"devDependencies": {
"@types/eslint": "^8.56.9",
"eslint": "^8.57.0",
Expand Down
1 change: 0 additions & 1 deletion web-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"devDependencies": {
"@fontsource/fira-mono": "^4.5.0",
"@playwright/test": "^1.25.0",
"@rgossiaux/svelte-headlessui": "^2.0.0",
"@rilldata/svelte-query": "^4.29.20-0.0.3",
"@sveltejs/adapter-static": "^1.0.0",
"@sveltejs/kit": "1.30.0",
Expand Down
1 change: 0 additions & 1 deletion web-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0",
"@replit/codemirror-indentation-markers": "^6.5.1",
"@rgossiaux/svelte-headlessui": "^2.0.0",
"@rilldata/svelte-query": "^4.29.20-0.0.3",
"@storybook/addon-actions": "7.6.13",
"@storybook/addon-essentials": "^7.6.13",
Expand Down
37 changes: 0 additions & 37 deletions web-common/src/components/dialog/Dialog.svelte

This file was deleted.

21 changes: 12 additions & 9 deletions web-common/src/components/forms/SubmissionError.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
export let message: string;
</script>

<div class="max-w-2xl">
<div
class="mb-2 p-2 flex bg-red-100 border-red-300 border-2 rounded text-red-800"
>
<AlertTriangle size="16px" />
<p class="ml-2">
{@html message}
</p>
</div>
<div>
<AlertTriangle size="16px" />
<p class="ml-2">
{message}
</p>
</div>

<style lang="postcss">
div {
@apply text-red-800 bg-red-100 border-red-300;
@apply p-2 flex border-2 rounded-md;
}
</style>
90 changes: 0 additions & 90 deletions web-common/src/components/modal/ModalContainer.svelte

This file was deleted.

18 changes: 0 additions & 18 deletions web-common/src/components/modal/Overlay.svelte

This file was deleted.

126 changes: 0 additions & 126 deletions web-common/src/components/modal/dialog/Dialog.svelte

This file was deleted.

34 changes: 0 additions & 34 deletions web-common/src/components/modal/dialog/DialogCTA.svelte

This file was deleted.

3 changes: 0 additions & 3 deletions web-common/src/components/modal/dialog/DialogFooter.svelte

This file was deleted.

Loading

1 comment on commit d2b311c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.