"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceRadioGroup",a="Radio Group",o="1.0.0",i="stable",n="editors",s="selection",r="A set of mutually exclusive radio options for single selection from a list.",l="1.0.0",c=["web","mobile","desktop"],d=["radio","group","selection","exclusive"],p=[{name:"options",type:"NiceOption[]",required:!0,description:"Available options."},{name:"value",type:"string",required:!1,description:"Currently selected value."},{name:"direction",type:"'horizontal' | 'vertical'",required:!1,default:"'horizontal'",description:"Option arrangement."},{name:"label",type:"string",required:!1,description:"Group label."},{name:"disabled",type:"boolean",required:!1,description:"Disable all options."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Size of radio buttons."}],u=[{name:"onChange",parameters:[{name:"value",type:"string"}],description:"Called when selection changes."}],m=[],y={aria:['role="radiogroup"',"aria-checked"],keyboard:[{key:"ArrowUp/Down/Left/Right",action:"Navigate options"}]},b=[{title:"Payment Method",code:`<NiceRadioGroup
  label="Payment Method"
  options={[
    { value: 'card', label: 'Credit Card' },
    { value: 'paypal', label: 'PayPal' },
    { value: 'bank', label: 'Bank Transfer' }
  ]}
  value={method}
  onChange={setMethod}
  direction="vertical"
/>`,language:"tsx"}],g=[{name:"NiceSelect",relationship:"alternative"},{name:"NiceSegmentedControl",relationship:"similar"}],v={$schema:e,name:t,displayName:a,version:o,status:i,category:n,subcategory:s,package:"@nicetoDev/ui",description:r,since:l,platforms:c,keywords:d,props:p,events:u,cssVariables:m,accessibility:y,examples:b,related:g};exports.$schema=e;exports.accessibility=y;exports.category=n;exports.cssVariables=m;exports.default=v;exports.description=r;exports.displayName=a;exports.events=u;exports.examples=b;exports.keywords=d;exports.name=t;exports.platforms=c;exports.props=p;exports.related=g;exports.since=l;exports.status=i;exports.subcategory=s;exports.version=o;
