/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { LabelProps } from "../label/types.js"; import { RefAttributes } from "react"; import { RadioGroupProps as RadioGroupProps$1, RadioProps as RadioProps$1 } from "react-aria-components/RadioGroup"; //#region src/components/radio/types.d.ts /** * Props for RadioGroup component. * * Extends AriaRadioGroupProps with custom classNames and label support. * - `classNames.group` - CSS class for the radio group container. * - `classNames.label` - CSS class for the group label. * - `label` - Optional text label for the group. */ type RadioGroupProps = Omit & RefAttributes & { classNames?: { group?: RadioGroupProps$1['className']; label?: LabelProps['className']; }; label?: string; /** Position of the label relative to the radio control for all child Radios. Individual Radio `labelPosition` overrides this. */ labelPosition?: 'start' | 'end'; }; /** * Props for Radio component. * * Extends AriaRadioProps with custom classNames support. * - `classNames.radio` - CSS class for the radio label wrapper. * - `classNames.control` - CSS class for the radio button control. * - `classNames.label` - CSS class for the radio label text. */ type RadioProps = Omit & RefAttributes & { classNames?: { radio?: RadioProps$1['className']; control?: string; label?: string; }; /** Position of the label relative to the radio control. */ labelPosition?: 'start' | 'end'; }; //#endregion export { RadioGroupProps, RadioProps }; //# sourceMappingURL=types.d.ts.map