refactor to shadcn components, dynamically load extension frontend

add jetstream permissions, add dynamic inertia module loading, add shadcn components, change modals and dropdowns to shadcn dismissable layer,
This commit is contained in:
Gregor Vostrak
2025-04-13 23:06:58 +02:00
parent ae00fdb0e9
commit e78a551098
204 changed files with 5458 additions and 1275 deletions

View File

@@ -50,7 +50,7 @@ const page = usePage<{
<div class="text-text-primary">
{{ page.props.auth.user.name }}
</div>
<div class="text-sm text-muted">
<div class="text-sm text-text-secondary">
{{ page.props.auth.user.email }}
</div>
</div>

View File

@@ -33,7 +33,7 @@ const deleteTeam = () => {
</template>
<template #content>
<div class="max-w-xl text-sm text-muted">
<div class="max-w-xl text-sm text-text-secondary">
Once a organization is deleted, all of its resources and data
will be permanently deleted. Before deleting this organization,
please download any data or information regarding this

View File

@@ -208,7 +208,7 @@ const showResultModal = ref(false);
<div
v-if="currentImporterDescription"
class="py-3 text-text-primary">
<div class="font-semibold text-muted py-1">
<div class="font-semibold text-text-secondary py-1">
Instructions:
</div>
<div
@@ -221,10 +221,10 @@ const showResultModal = ref(false);
class="mt-2 flex justify-center rounded-lg border border-dashed border-border-primary px-6 py-10">
<div class="text-center">
<DocumentIcon
class="mx-auto h-8 w-8 text-muted"
class="mx-auto h-8 w-8 text-text-secondary"
aria-hidden="true" />
<div class="mt-4 flex text-sm leading-6 text-muted">
<div class="mt-4 flex text-sm leading-6 text-text-secondary">
<label
for="file-upload"
class="relative cursor-pointer rounded-md font-semibold text-text-primary focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-600 focus-within:ring-offset-2 focus-within:ring-offset-gray-900 hover:text-indigo-500">
@@ -241,7 +241,7 @@ const showResultModal = ref(false);
@change="updateFiles" />
</label>
</div>
<p class="text-xs leading-5 text-muted">
<p class="text-xs leading-5 text-text-secondary">
CSV and ZIP are supported
</p>
</div>

View File

@@ -54,7 +54,7 @@ const updateTeamName = () => {
<div class="text-text-primary">
{{ team.owner.name }}
</div>
<div class="text-muted text-sm">
<div class="text-text-secondary text-sm">
{{ team.owner.email }}
</div>
</div>