{
  "$schema": "https://ui.shadcn.com/schema/registry.json",
  "name": "mano8-ui",
  "homepage": "https://github.com/mano8/astro-ui-m8",
  "items": [
    {
      "name": "data-table",
      "type": "registry:component",
      "title": "Data Table",
      "description": "Canonical controlled shadcn data table for the M8 Astro plugin fleet: search, faceted filters, sorting, pagination, row selection, and column visibility on @tanstack/react-table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": [
        "badge",
        "button",
        "command",
        "dropdown-menu",
        "input",
        "checkbox",
        "popover",
        "select",
        "separator",
        "table"
      ],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-column-header.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-column-header.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-pagination.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-pagination.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-server-faceted-filter.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-faceted-filter.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-server-toolbar.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-toolbar.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-view-options.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-view-options.tsx"
        }
      ]
    },
    {
      "name": "data-table-column-header",
      "type": "registry:component",
      "title": "Data Table Column Header",
      "description": "Sortable, hideable column header used by the canonical M8 data table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": ["button", "dropdown-menu"],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table-column-header.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-column-header.tsx"
        }
      ]
    },
    {
      "name": "data-table-pagination",
      "type": "registry:component",
      "title": "Data Table Pagination",
      "description": "Pagination controls used by the canonical M8 data table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": ["button", "select"],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table-pagination.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-pagination.tsx"
        }
      ]
    },
    {
      "name": "data-table-view-options",
      "type": "registry:component",
      "title": "Data Table View Options",
      "description": "Column visibility menu used by the canonical M8 data table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": ["button", "dropdown-menu"],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table-view-options.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-view-options.tsx"
        }
      ]
    },
    {
      "name": "data-table-server-toolbar",
      "type": "registry:component",
      "title": "Data Table Server Toolbar",
      "description": "Search, reset, faceted-filter, view-options, and action toolbar for the canonical M8 data table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": [
        "badge",
        "button",
        "command",
        "dropdown-menu",
        "input",
        "popover",
        "separator"
      ],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table-server-toolbar.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-toolbar.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-server-faceted-filter.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-faceted-filter.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-view-options.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-view-options.tsx"
        }
      ]
    },
    {
      "name": "data-table-server-faceted-filter",
      "type": "registry:component",
      "title": "Data Table Server Faceted Filter",
      "description": "Single or multi-select faceted filter used by the canonical M8 data table.",
      "dependencies": ["lucide-react"],
      "registryDependencies": [
        "badge",
        "button",
        "command",
        "popover",
        "separator"
      ],
      "files": [
        {
          "path": "registry/blocks/data-table/data-table-server-faceted-filter.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-faceted-filter.tsx"
        }
      ]
    },
    {
      "name": "toast-notification",
      "type": "registry:component",
      "title": "Toast Notification",
      "description": "Canonical shadcn Sonner toast host and success, error, and info helpers for M8 plugin surfaces.",
      "dependencies": ["sonner"],
      "registryDependencies": ["sonner"],
      "files": [
        {
          "path": "registry/blocks/feedback/toast-notification.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/toast-notification.tsx"
        }
      ]
    },
    {
      "name": "error-boundary",
      "type": "registry:component",
      "title": "Error Boundary",
      "description": "Canonical React error boundary for M8 island roots: catches a render throw, reports it through onError, and renders the shared state-error block with a reset action.",
      "registryDependencies": ["alert", "button"],
      "files": [
        {
          "path": "registry/blocks/feedback/error-boundary.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/error-boundary.tsx"
        },
        {
          "path": "registry/blocks/state/state-error.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-error.tsx"
        }
      ]
    },
    {
      "name": "command-palette",
      "type": "registry:component",
      "title": "Command Palette",
      "description": "Canonical shared ⌘K/Ctrl+K command-palette overlay: a Dialog-wrapped, grouped Command list plus the fleet-wide keyboard-shortcut hook.",
      "registryDependencies": ["command", "dialog"],
      "files": [
        {
          "path": "registry/blocks/command/command-palette.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/command-palette.tsx"
        }
      ]
    },
    {
      "name": "state-loading",
      "type": "registry:component",
      "title": "State Loading",
      "description": "Canonical loading state for M8 table and page surfaces.",
      "registryDependencies": ["skeleton"],
      "files": [
        {
          "path": "registry/blocks/state/state-loading.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-loading.tsx"
        }
      ]
    },
    {
      "name": "state-empty",
      "type": "registry:component",
      "title": "State Empty",
      "description": "Canonical empty state for M8 table and page surfaces.",
      "dependencies": ["lucide-react"],
      "files": [
        {
          "path": "registry/blocks/state/state-empty.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-empty.tsx"
        }
      ]
    },
    {
      "name": "state-error",
      "type": "registry:component",
      "title": "State Error",
      "description": "Canonical error state with optional retry action.",
      "dependencies": ["lucide-react"],
      "registryDependencies": ["alert", "button"],
      "files": [
        {
          "path": "registry/blocks/state/state-error.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-error.tsx"
        }
      ]
    },
    {
      "name": "state-unauthorized",
      "type": "registry:component",
      "title": "State Unauthorized",
      "description": "Canonical unauthorized state for auth-gated plugin pages.",
      "dependencies": ["lucide-react"],
      "registryDependencies": ["alert"],
      "files": [
        {
          "path": "registry/blocks/state/state-unauthorized.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-unauthorized.tsx"
        }
      ]
    },
    {
      "name": "tree-view",
      "type": "registry:component",
      "title": "Tree View",
      "description": "Generic, accessible, keyboard-navigable controlled tree for nested M8 plugin data (e.g. category trees). No data fetching, no business types.",
      "dependencies": ["lucide-react"],
      "files": [
        {
          "path": "registry/blocks/tree/tree-view.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/tree-view.tsx"
        }
      ]
    },
    {
      "name": "dialog-form",
      "type": "registry:component",
      "title": "Dialog Form Recipe",
      "description": "Shared Dialog create/edit form and AlertDialog destructive-confirm recipe using react-hook-form and zodResolver.",
      "dependencies": [
        "@hookform/resolvers",
        "react-hook-form",
        "zod"
      ],
      "registryDependencies": ["alert-dialog", "button", "dialog"],
      "files": [
        {
          "path": "registry/recipes/dialog-form/dialog-form.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/dialog-form.tsx"
        }
      ]
    },
    {
      "name": "table-page",
      "type": "registry:component",
      "title": "Table Page Recipe",
      "description": "Shared table page shell that wires title, actions, canonical states, and the controlled data table.",
      "dependencies": ["@tanstack/react-table", "lucide-react"],
      "registryDependencies": [
        "alert",
        "badge",
        "button",
        "checkbox",
        "command",
        "dropdown-menu",
        "input",
        "popover",
        "select",
        "separator",
        "skeleton",
        "table"
      ],
      "files": [
        {
          "path": "registry/recipes/table-page/table-page.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/table-page.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-column-header.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-column-header.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-pagination.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-pagination.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-server-faceted-filter.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-faceted-filter.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-server-toolbar.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-server-toolbar.tsx"
        },
        {
          "path": "registry/blocks/data-table/data-table-view-options.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/data-table-view-options.tsx"
        },
        {
          "path": "registry/blocks/state/state-empty.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-empty.tsx"
        },
        {
          "path": "registry/blocks/state/state-error.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-error.tsx"
        },
        {
          "path": "registry/blocks/state/state-loading.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-loading.tsx"
        },
        {
          "path": "registry/blocks/state/state-unauthorized.tsx",
          "type": "registry:component",
          "target": "components/m8-ui/state-unauthorized.tsx"
        }
      ]
    }
  ]
}
