Skip to content

Commit e4066b2

Browse files
committed
docs
1 parent 765f97a commit e4066b2

File tree

422 files changed

+1511
-1062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

422 files changed

+1511
-1062
lines changed

docs/.astro/icon.d.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
// Automatically generated by astro-icon
2-
// 2424fd766e341178d4e0d7967eab696fc462617ce664b6843da89bacc1d18e59
2+
// da39a9defe414d98643d669242b8232e136e711bb6ce66a3bfeb2583d71b2ae0
33

44
declare module 'virtual:astro-icon' {
5-
export type Icon =
6-
| 'chevron-right'
7-
| 'close-icon'
8-
| 'computer-desktop'
9-
| 'github'
10-
| 'menu-icon'
11-
| 'moon'
12-
| 'sun'
13-
}
5+
export type Icon =
6+
| "chevron-right"
7+
| "close-icon"
8+
| "computer-desktop"
9+
| "danger"
10+
| "github"
11+
| "info"
12+
| "menu-icon"
13+
| "moon"
14+
| "sun"
15+
| "tip"
16+
| "warning";
17+
}

docs/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default defineConfig({
1515
theme: 'material-theme-palenight',
1616
},
1717
rehypePlugins: [
18-
// Automatically add links to headings (@see https://github.com/rehypejs/rehype-autolink-headings)
18+
// Automatically add links to headings (@ref https://github.com/rehypejs/rehype-autolink-headings)
1919
[
2020
rehypeAutolinkHeadings,
2121
{

docs/dist/1.x/admin/dashboard/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html><html lang="en" class="hidden" data-astro-cid-37fxchfa> <head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="icon" type="image/x-icon" href="/docs/favicon.ico"><title>Dashboard - Filament</title><meta name="description" content=""><link rel="canonical" href="https://filamentphp.com/docs/1.x/admin/dashboard/"><!-- hack for flash of theme --><!-- Styles --><!-- Styles --><link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png?v=w1dBNxT7Wg"><link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png?v=w1dBNxT7Wg"><link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png?v=w1dBNxT7Wg"><link rel="manifest" href="/favicon/site.webmanifest?v=w1dBNxT7Wg"><link rel="mask-icon" href="/favicon/safari-pinned-tab.svg?v=w1dBNxT7Wg" color="#fdae4b"><link rel="shortcut icon" href="/favicon/favicon.ico?v=w1dBNxT7Wg"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/favicon/browserconfig.xml?v=w1dBNxT7Wg"><meta name="theme-color" content="#ffffff"><link rel="stylesheet" href="/docs/_astro/hoisted.B4LAPTP2.css">
2-
<link rel="stylesheet" href="/docs/_astro/dashboard.CfYnoc_O.css"><script type="module" src="/docs/_astro/hoisted.BmZybsCV.js"></script></head> <body x-data="codeBlockClipboard" class="bg-cream dark:bg-[#171527]" data-astro-cid-37fxchfa> <div class="bg-burnt-butter hidden lg:block" data-astro-cid-37fxchfa> <div x-data="{
2+
<link rel="stylesheet" href="/docs/_astro/dashboard.D8rY_SuK.css"><script type="module" src="/docs/_astro/hoisted.2vcidijn.js"></script></head> <body x-data="codeBlockClipboard" class="bg-cream dark:bg-[#171527]" data-astro-cid-37fxchfa> <div class="bg-burnt-butter hidden lg:block" data-astro-cid-37fxchfa> <div x-data="{
33
banner: null,
44
}" x-init="banner = Math.floor(Math.random() * 3)" class="max-w-8xl mx-auto px-4 py-1.5 sm:px-6 lg:px-8 text-sm text-center text-white min-h-9" data-astro-cid-37fxchfa> <span x-show="banner === 0" data-astro-cid-37fxchfa>
55
Looking for dedicated help with your Filament project? Work with <a href="https://kirschbaumdevelopment.com?ref=filamentphp.com" target="_blank" class="underline" data-astro-cid-37fxchfa>Kirschbaum</a>, the official Filament-partnered development agency.
@@ -135,7 +135,7 @@
135135
rect.right <= (window.innerWidth || html.clientWidth)
136136
);
137137
}
138-
}" class="text-base lg:text-sm w-60 pr-5"> <ul x-data="{ openSection: null }" role="list" class="space-y-3"> <li> <a href="/docs/1.x/admin/getting-started" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Getting Started </h2> </a> </li><li> <a href="/docs/1.x/admin/resources" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Resources </h2> </a> </li><li> <a href="/docs/1.x/admin/forms" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Forms </h2> </a> </li><li> <a href="/docs/1.x/admin/tables" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Tables </h2> </a> </li><li> <a href="/docs/1.x/admin/pages" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Pages </h2> </a> </li><li x-init="openSection = 'dashboard'"> <a href="/docs/1.x/admin/dashboard" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-butter before:bg-butter"> <h2> Dashboard </h2> </a> </li><li> <a href="/docs/1.x/admin/navigation" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Navigation </h2> </a> </li><li> <a href="/docs/1.x/admin/theming" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Theming </h2> </a> </li><li> <a href="/docs/1.x/admin/plugin-development" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Plugin Development </h2> </a> </li> </ul> </nav> </div> </div> <div class="min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:pl-16 xl:pr-10" data-astro-cid-37fxchfa> <article data-astro-cid-37fxchfa> <header class="mb-9 space-y-1" data-astro-cid-37fxchfa> <p class="font-display font-bold text-butter" data-astro-cid-37fxchfa> <span id="current-package" data-astro-cid-37fxchfa> </span> </p> <h1 class="font-display text-3xl font-extrabold tracking-tight text-stone-900 dark:text-white" data-astro-cid-37fxchfa> Dashboard </h1> </header> <div class="prose prose-slate max-w-none dark:prose-invert dark:text-gray-300 prose-headings:scroll-mt-16 prose-headings:font-display prose-headings:font-bold prose-lead:text-gray-500 prose-lead:dark:text-gray-300 prose-a:dark:text-butter prose-a:no-underline prose-a:shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#fff),inset_0_calc(-1*(var(--tw-prose-underline-size,4px)+2px))_0_0_var(--tw-prose-underline,theme(colors.peach-orange))] prose-a:transition prose-a:hover:[--tw-prose-underline-size:6px] dark:[--tw-prose-background:theme(colors.slate.900)] prose-a:dark:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.hurricane))] prose-a:dark:hover:[--tw-prose-underline-size:6px] prose-pre:rounded-xl prose-pre:bg-gray-900 prose-pre:shadow-lg prose-pre:dark:bg-gray-800/60 prose-pre:dark:shadow-none prose-pre:dark:ring-1 prose-pre:dark:ring-gray-300/10 prose-code:font-normal prose-code:before:hidden prose-code:after:hidden prose-blockquote:not-italic [&#38;_p]:before:hidden [&#38;_p]:after:hidden prose-hr:dark:border-gray-800"> <p>Filament allows you to build dynamic custom dashboard widgets very easily. To get started building a <code>Stats</code> widget:</p>
138+
}" class="text-base lg:text-sm w-60 pr-5"> <ul x-data="{ openSection: null }" role="list" class="space-y-3"> <li> <a href="/docs/1.x/admin/getting-started" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Getting Started </h2> </a> </li><li> <a href="/docs/1.x/admin/resources" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Resources </h2> </a> </li><li> <a href="/docs/1.x/admin/forms" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Forms </h2> </a> </li><li> <a href="/docs/1.x/admin/tables" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Tables </h2> </a> </li><li> <a href="/docs/1.x/admin/pages" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Pages </h2> </a> </li><li x-init="openSection = 'dashboard'"> <a href="/docs/1.x/admin/dashboard" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-butter before:bg-butter"> <h2> Dashboard </h2> </a> </li><li> <a href="/docs/1.x/admin/navigation" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Navigation </h2> </a> </li><li> <a href="/docs/1.x/admin/theming" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Theming </h2> </a> </li><li> <a href="/docs/1.x/admin/plugin-development" class="block font-display cursor-pointer font-semibold transition duration-300 ease-out text-gray-500 before:hidden before:bg-gray-300 hover:text-gray-600 hover:before:block dark:text-gray-300 dark:before:bg-gray-700 dark:hover:text-white hover:translate-x-1"> <h2> Plugin Development </h2> </a> </li> </ul> </nav> </div> </div> <div class="min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:pl-16 xl:pr-10" data-astro-cid-37fxchfa> <article data-astro-cid-37fxchfa> <header class="mb-9 space-y-1" data-astro-cid-37fxchfa> <p class="font-display font-bold text-butter" data-astro-cid-37fxchfa> <span id="current-package" data-astro-cid-37fxchfa> </span> </p> <h1 class="font-display text-3xl font-extrabold tracking-tight text-stone-900 dark:text-white" data-astro-cid-37fxchfa> Dashboard </h1> </header> <div class="prose prose-slate max-w-none dark:prose-invert dark:text-slate-300 prose-headings:scroll-mt-16 prose-headings:font-display prose-headings:font-bold prose-lead:text-slate-500 prose-lead:dark:text-slate-300 prose-a:dark:text-butter prose-a:no-underline prose-a:shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#fff),inset_0_calc(-1*(var(--tw-prose-underline-size,4px)+2px))_0_0_var(--tw-prose-underline,theme(colors.peach-orange))] prose-a:transition prose-a:hover:[--tw-prose-underline-size:6px] dark:[--tw-prose-background:theme(colors.slate.900)] prose-a:dark:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.hurricane))] prose-a:dark:hover:[--tw-prose-underline-size:6px] prose-pre:rounded-xl prose-pre:bg-slate-900 prose-pre:shadow-lg prose-pre:dark:bg-slate-800/60 prose-pre:dark:shadow-none prose-pre:dark:ring-1 prose-pre:dark:ring-slate-300/10 prose-code:font-normal prose-code:before:hidden prose-code:after:hidden prose-blockquote:not-italic [&#38;_p]:before:hidden [&#38;_p]:after:hidden prose-hr:dark:border-slate-800"> <p>Filament allows you to build dynamic custom dashboard widgets very easily. To get started building a <code>Stats</code> widget:</p>
139139
<pre class="astro-code material-theme-palenight" style="background-color:#292D3E;color:#babed8;overflow-x:auto" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#FFCB6B">php</span><span style="color:#C3E88D"> artisan</span><span style="color:#C3E88D"> make:filament-widget</span><span style="color:#C3E88D"> Stats</span></span>
140140
<span class="line"></span></code></pre>
141141
<p>This command will create two files - a widget class in the <code>/Widgets</code> directory of the Filament directory, and a view in the <code>/widgets</code> directory of the Filament views directory.</p>

0 commit comments

Comments
 (0)