{
  "$schema": "https://uipkge.dev/schema/registry-item.json",
  "name": "security-trust-center-grid",
  "title": "Security — Trust Centre Grid",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-angular/blocks/security-trust-center-grid/security-trust-center-grid.component.ts",
      "content": "// Trust centre surface pairing compliance programmes with their audit date,\n// scope, and report link, over operational controls stated as verifiable facts.\n// Port of the React block 1:1.\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core'\nimport {\n  ArrowUpRight,\n  FileText,\n  KeyRound,\n  Lock,\n  LucideAngularModule,\n  ScrollText,\n  ServerCog,\n  Users,\n} from 'lucide-angular'\nimport { cn } from '@/lib/utils'\nimport { UiBadgeComponent } from '@/ui/badge/badge.component'\nimport { UiButtonComponent } from '@/ui/button/button.component'\nimport { UiCardComponent, UiCardContentComponent } from '@/ui/card/card.component'\nimport { UiSeparatorComponent } from '@/ui/separator/separator.component'\n\ninterface TrustProgramme {\n  name: string\n  scope: string\n  audited: string\n  body: string\n}\n\nconst programmes: TrustProgramme[] = [\n  {\n    name: 'SOC 2 Type II',\n    scope: 'Security, availability, confidentiality',\n    audited: 'Mar 2026',\n    body: 'Prescient Assurance',\n  },\n  { name: 'ISO 27001', scope: 'Information security management', audited: 'Jan 2026', body: 'BSI Group' },\n  { name: 'HIPAA', scope: 'PHI handling, BAA available', audited: 'Nov 2025', body: 'Third-party assessed' },\n  { name: 'GDPR', scope: 'EU data protection, DPA available', audited: 'Ongoing', body: 'Self-attested' },\n]\n\ninterface TrustControl {\n  icon: typeof Lock\n  label: string\n  detail: string\n}\n\n// Stated as mechanisms, not reassurance: each line is something a reviewer can\n// verify rather than a claim about intent.\nconst controls: TrustControl[] = [\n  { icon: Lock, label: 'Read-only warehouse access', detail: 'No write grant is ever requested.' },\n  { icon: KeyRound, label: 'Customer-managed keys', detail: 'Rotation handled through your KMS.' },\n  { icon: Users, label: 'SCIM deprovisioning', detail: 'Access ends with the directory record.' },\n  { icon: ScrollText, label: 'Immutable audit log', detail: 'Append-only, exportable, 7-year retention.' },\n  { icon: ServerCog, label: 'Regional isolation', detail: 'EU, US, and AU estates do not share planes.' },\n  { icon: FileText, label: 'Published subprocessors', detail: 'Change notice 30 days before it takes effect.' },\n]\n\n@Component({\n  changeDetection: ChangeDetectionStrategy.Eager,\n  selector: 'ui-security-trust-center-grid, [ui-security-trust-center-grid]',\n  standalone: true,\n  // React renders the root <section> itself: the host stays out of layout and `class` goes to the root.\n  host: { '[attr.class]': '\"contents\"' },\n  imports: [\n    LucideAngularModule,\n    UiBadgeComponent,\n    UiButtonComponent,\n    UiCardComponent,\n    UiCardContentComponent,\n    UiSeparatorComponent,\n  ],\n  template: `\n    <section data-slot=\"security-trust-center-grid\" [class]=\"rootClass\">\n      <div class=\"mx-auto max-w-6xl px-6 py-20 lg:py-28\">\n        <div class=\"flex flex-wrap items-end justify-between gap-6\">\n          <div class=\"max-w-2xl\">\n            <span ui-badge variant=\"secondary\">Trust</span>\n            <h2 class=\"mt-4 text-3xl font-semibold tracking-tight sm:text-4xl\">What we can show you, with dates</h2>\n            <p class=\"text-muted-foreground mt-3 text-lg\">\n              Reports are available under NDA. Everything below names who audited it and when.\n            </p>\n          </div>\n          <button ui-button variant=\"outline\">Open the trust centre</button>\n        </div>\n\n        <div class=\"mt-10 grid gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n          @for (programme of programmes; track programme.name) {\n            <div ui-card class=\"group\">\n              <div ui-card-content class=\"flex h-full flex-col p-5\">\n                <p class=\"text-sm font-semibold\">{{ programme.name }}</p>\n                <p class=\"text-muted-foreground mt-2 text-xs leading-relaxed\">{{ programme.scope }}</p>\n                <ui-separator class=\"my-4\" />\n                <dl class=\"space-y-1.5 text-xs\">\n                  <div class=\"flex items-center justify-between gap-3\">\n                    <dt class=\"text-muted-foreground\">Audited</dt>\n                    <dd class=\"font-medium\">{{ programme.audited }}</dd>\n                  </div>\n                  <div class=\"flex items-center justify-between gap-3\">\n                    <dt class=\"text-muted-foreground\">By</dt>\n                    <dd class=\"truncate font-medium\">{{ programme.body }}</dd>\n                  </div>\n                </dl>\n                <button ui-button variant=\"ghost\" size=\"sm\" class=\"mt-auto justify-start px-0 pt-4 text-xs\">\n                  Request report\n                  <lucide-icon\n                    [img]=\"ArrowUpRight\"\n                    class=\"ml-1 size-3 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5\"\n                    aria-hidden=\"true\"\n                  />\n                </button>\n              </div>\n            </div>\n          }\n        </div>\n\n        <ui-separator class=\"my-10\" />\n\n        <ul class=\"grid gap-x-10 gap-y-6 sm:grid-cols-2 lg:grid-cols-3\">\n          @for (control of controls; track control.label) {\n            <li class=\"flex gap-3\">\n              <lucide-icon\n                [img]=\"control.icon\"\n                class=\"text-muted-foreground mt-0.5 size-4 shrink-0\"\n                aria-hidden=\"true\"\n              />\n              <div class=\"min-w-0\">\n                <p class=\"text-sm font-medium\">{{ control.label }}</p>\n                <p class=\"text-muted-foreground mt-0.5 text-xs leading-relaxed\">{{ control.detail }}</p>\n              </div>\n            </li>\n          }\n        </ul>\n      </div>\n    </section>\n  `,\n})\nexport class UiSecurityTrustCenterGridComponent {\n  protected readonly ArrowUpRight = ArrowUpRight\n  protected readonly programmes = programmes\n  protected readonly controls = controls\n\n  @Input('class') className?: string\n\n  get rootClass(): string {\n    return cn('bg-background', this.className)\n  }\n}\n",
      "type": "registry:block",
      "target": "~/src/app/components/blocks/security-trust-center-grid/security-trust-center-grid.component.ts"
    },
    {
      "path": "packages/registry-angular/blocks/security-trust-center-grid/index.ts",
      "content": "export { UiSecurityTrustCenterGridComponent } from './security-trust-center-grid.component'\n",
      "type": "registry:block",
      "target": "~/src/app/components/blocks/security-trust-center-grid/index.ts"
    }
  ],
  "dependencies": [
    "lucide-angular"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/angular/badge.json",
    "https://uipkge.dev/r/angular/button.json",
    "https://uipkge.dev/r/angular/card.json",
    "https://uipkge.dev/r/angular/separator.json"
  ],
  "description": "Trust centre surface pairing compliance programmes with their audit date, scope, and report link, over a row of operational controls stated as facts rather than claims.",
  "categories": [
    "marketing"
  ]
}