{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "shine-border",
  "type": "registry:item",
  "title": "Shine Border",
  "description": "A frame with a beam of light travelling around its border, in the theme's chart colours, for the plan or feature you want noticed. Decorative, and still under reduced motion.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "motion"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/shine-border.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/shine-border.js",
      "content": "// Generated by zubra from shine-border.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\n\nexport const tag = \"shine-border\";\n\nexport default $define(tag, {\n  props: {\n    \"duration\": { attribute: \"duration\", default: 6, required: false },\n    \"width\": { attribute: \"width\", default: \"1.5px\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [\"default\"],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (shine-border) to ([data-zb-slotted=\\\"shine-border\\\"]) {\\n  :scope { display: block; }\\n  .shine { position: relative; isolation: isolate; overflow: hidden; padding: var(--shine-width); border-radius: var(--radius, 0.625rem); background: var(--border, #e4e4e7); }\\n  .shine-beam { position: absolute; inset: -100%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 62%, var(--chart-1, oklch(0.65 0.2 40)) 75%, var(--chart-2, oklch(0.6 0.12 185)) 82%, transparent 92%); animation: shine-spin calc(var(--shine-duration) * 1s) linear infinite; pointer-events: none; }\\n  .shine-body { position: relative; border-radius: calc(var(--radius, 0.625rem) - var(--shine-width)); background: var(--card, #fff); color: var(--card-foreground, #18181b); }\\n  @keyframes shine-spin { to { rotate: 1turn; } }\\n  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; } .shine-beam { animation: none; } }\\n}\\n}\\n\",\n  template: \"\\n  <div class=\\\"shine\\\">\\n    <div class=\\\"shine-beam\\\" aria-hidden=\\\"true\\\"></div>\\n    <div class=\\\"shine-body\\\"><!--[--><!--]--></div>\\n  </div>\\n\",\n  setup($p, $emit) {\n    return [\n      { path: [0], style: \"--shine-duration\", value: () => (Math.max(1, $p.duration)) },\n      { path: [0], style: \"--shine-width\", value: () => $p.width },\n      { path: [0, 1, 0], slot: \"default\", fallback: null },\n    ];\n  },\n});\n"
    }
  ]
}
