/* * 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 { CheckboxGroupProps as CheckboxGroupProps$1 } from "react-aria-components/CheckboxGroup"; import { CheckboxProps as CheckboxProps$1 } from "react-aria-components/Checkbox"; import { Orientation } from "@react-types/shared"; //#region src/components/checkbox/types.d.ts /** * Props for the CheckboxGroup component. * * Extends React Aria CheckboxGroup with label, orientation, and custom class names. */ type CheckboxGroupProps = Omit & RefAttributes & { /** Custom class names for checkbox group sub-elements. */ classNames?: { /** Class name for the group container. */ group?: CheckboxGroupProps$1['className']; /** Class name for the group label. */ label?: LabelProps['className']; }; /** Label text displayed above the checkbox group. */ label?: string; /** Position of labels for all child Checkboxes. Individual Checkbox `labelPosition` overrides this. */ labelPosition?: 'start' | 'end'; /** Layout orientation for the checkboxes. */ orientation?: Orientation; }; /** * Props for the Checkbox component. * * Extends React Aria Checkbox with custom class names for sub-elements. */ type CheckboxProps = Omit & RefAttributes & { /** Custom class names for checkbox sub-elements. */ classNames?: { /** Class name for the checkbox wrapper. */ checkbox?: CheckboxProps$1['className']; /** Class name for the checkbox control indicator. */ control?: string; /** Class name for the label text. */ label?: string; }; /** Position of the label relative to the checkbox control. */ labelPosition?: 'start' | 'end'; }; //#endregion export { CheckboxGroupProps, CheckboxProps }; //# sourceMappingURL=types.d.ts.map