Files
nimbus/resources/js/components/base/AppPanelStateContainer.vue
Mazen Touati 35b96042f0 refactor: solidify the FE codebase and improve UI consistency (#45)
* chore: add storybook

* chore: unify FE codeabse

* chore: update eslint rules

* chore: harmonize the use of "subtle" color

* chore: remove an extra sidebar rail

* refactor: make panel items more consistent

* chore: cleanups after merging new code from base

* refactor: refine composables

* fix: add lost import

* chore: make icon style consistent

* fix: don't show empty "supported" methods

* refactor: solidify select items
2026-01-25 14:30:07 +01:00

33 lines
736 B
Vue

<script setup lang="ts">
/**
* @component AppPanelStateContainer
* @description A layout container for panel content with an integrated ripple background effect.
*/
import AppPanelRipple from '@/components/base/AppPanelRipple.vue';
import { cn } from '@/utils/ui';
import type { HTMLAttributes } from 'vue';
/*
* Types & Interfaces.
*/
export interface AppPanelStateContainerProps {
class?: HTMLAttributes['class'];
}
/*
* Component Setup.
*/
const props = defineProps<AppPanelStateContainerProps>();
</script>
<template>
<div :class="cn('relative h-full flex-1 overflow-hidden p-2', props.class)">
<div class="max-w-md">
<slot />
</div>
<AppPanelRipple />
</div>
</template>