- : Type
- : never;
-
-// @public (undocumented)
-export type GetPropDefTypes = {
- [K in keyof P]?: GetPropDefType
;
-};
-
-// @public (undocumented)
-export const Grid: {
- Root: ForwardRefExoticComponent>;
- Item: ForwardRefExoticComponent<
- GridItemProps & RefAttributes
- >;
-};
-
-// @public (undocumented)
-export type GridItemOwnProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const gridItemPropDefs: {
- colSpan: {
- type: 'enum | string';
- className: string;
- customProperties: '--col-span'[];
- values: readonly [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '10',
- '11',
- '12',
- 'auto',
- ];
- responsive: true;
- };
- colEnd: {
- type: 'enum | string';
- className: string;
- customProperties: '--col-end'[];
- values: readonly [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '10',
- '11',
- '12',
- 'auto',
- ];
- responsive: true;
- };
- colStart: {
- type: 'enum | string';
- className: string;
- customProperties: '--col-start'[];
- values: readonly [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '10',
- '11',
- '12',
- 'auto',
- ];
- responsive: true;
- };
- rowSpan: {
- type: 'enum | string';
- className: string;
- customProperties: '--row-span'[];
- values: readonly [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '10',
- '11',
- '12',
- 'auto',
- ];
- responsive: true;
- };
-};
-
-// @public (undocumented)
-export interface GridItemProps {
- // (undocumented)
- children?: React.ReactNode;
- // (undocumented)
- className?: string;
- // (undocumented)
- colEnd?: GridItemOwnProps['colEnd'];
- // (undocumented)
- colSpan?: GridItemOwnProps['colSpan'];
- // (undocumented)
- colStart?: GridItemOwnProps['colStart'];
- // (undocumented)
- rowSpan?: GridItemOwnProps['rowSpan'];
- // (undocumented)
- style?: React.CSSProperties;
-}
-
-// @public (undocumented)
-export type GridOwnProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const gridPropDefs: {
- columns: {
- type: 'enum | string';
- className: string;
- customProperties: '--columns'[];
- values: readonly [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '10',
- '11',
- '12',
- 'auto',
- ];
- responsive: true;
- default: string;
- };
-};
-
-// @public (undocumented)
-export interface GridProps extends SpaceProps {
- // (undocumented)
- children?: React.ReactNode;
- // (undocumented)
- className?: string;
- // (undocumented)
- columns?: GridOwnProps['columns'];
- // (undocumented)
- gap?: GapProps['gap'];
- // (undocumented)
- style?: React.CSSProperties;
-}
-
-// @public (undocumented)
-export const Heading: (
- props: HeadingProps & {
- ref?: React.Ref;
- },
-) => React.ReactElement | null;
-
-// @public (undocumented)
-export type HeadingOwnProps = {
- as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
- variant?:
- | 'display'
- | 'title1'
- | 'title2'
- | 'title3'
- | 'title4'
- | 'title5'
- | Partial<
- Record<
- Breakpoint,
- 'display' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5'
- >
- >;
- color?:
- | 'primary'
- | 'secondary'
- | Partial>;
- truncate?: boolean;
- className?: string;
- style?: React.CSSProperties;
-};
-
-// @public (undocumented)
-export type HeadingProps = HeadingOwnProps &
- Omit, keyof HeadingOwnProps>;
-
-// @public (undocumented)
-export const heightPropDefs: {
- height: {
- type: 'string';
- className: string;
- customProperties: '--height'[];
- responsive: true;
- };
- minHeight: {
- type: 'string';
- className: string;
- customProperties: '--min-height'[];
- responsive: true;
- };
- maxHeight: {
- type: 'string';
- className: string;
- customProperties: '--max-height'[];
- responsive: true;
- };
-};
-
-// @public (undocumented)
-export type HeightProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const Icon: (props: IconProps) => JSX_2.Element | null;
-
-// @public (undocumented)
-export const IconButton: ForwardRefExoticComponent<
- IconButtonProps & RefAttributes
->;
-
-// @public (undocumented)
-export type IconButtonOwnProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const iconButtonPropDefs: {
- variant: {
- type: 'enum';
- values: ('primary' | 'secondary')[];
- className: string;
- default: 'primary';
- responsive: true;
- };
- size: {
- type: 'enum';
- values: ('small' | 'medium')[];
- className: string;
- default: 'medium';
- responsive: true;
- };
-};
-
-// @public
-export interface IconButtonProps
- extends Omit, 'children'> {
- icon: ReactElement;
- size?: IconButtonOwnProps['size'];
- variant?: IconButtonOwnProps['variant'];
-}
-
-// @public (undocumented)
-export const IconContext: Context;
-
-// @public (undocumented)
-export interface IconContextProps {
- // (undocumented)
- icons: IconMap;
-}
-
-// @public (undocumented)
-export type IconMap = Partial>;
-
-// @public (undocumented)
-export type IconNames =
- | 'account-circle'
- | 'alert'
- | 'arrow-down'
- | 'arrow-down-circle'
- | 'caret-down'
- | 'caret-left'
- | 'caret-right'
- | 'caret-up'
- | 'arrow-left'
- | 'arrow-left-circle'
- | 'arrow-left-down'
- | 'arrow-left-up'
- | 'arrow-right'
- | 'arrow-right-circle'
- | 'arrow-right-down'
- | 'arrow-right-up'
- | 'arrow-up'
- | 'arrow-up-circle'
- | 'braces'
- | 'brackets'
- | 'bug'
- | 'check'
- | 'check-double'
- | 'chevron-down'
- | 'chevron-left'
- | 'chevron-right'
- | 'chevron-up'
- | 'close'
- | 'cloud'
- | 'code'
- | 'discord'
- | 'download'
- | 'external-link'
- | 'eye'
- | 'eye-off'
- | 'filter'
- | 'flower'
- | 'github'
- | 'git-repository'
- | 'group'
- | 'heart'
- | 'moon'
- | 'plus'
- | 'search'
- | 'sidebar-fold'
- | 'sidebar-unfold'
- | 'sparkling'
- | 'star'
- | 'sun'
- | 'terminal'
- | 'trash'
- | 'upload'
- | 'user'
- | 'youtube'
- | 'zoom-in'
- | 'zoom-out';
-
-// @public (undocumented)
-export type IconProps = {
- name: IconNames;
- size?: number;
- className?: string;
- style?: React.CSSProperties;
-};
-
-// @public (undocumented)
-export const IconProvider: (props: IconProviderProps) => JSX_2.Element;
-
-// @public (undocumented)
-export interface IconProviderProps {
- // (undocumented)
- children?: ReactNode;
- // (undocumented)
- overrides?: Partial>;
-}
-
-// @public (undocumented)
-export const icons: IconMap;
-
-// @public (undocumented)
-export type JustifyContent =
- | 'stretch'
- | 'start'
- | 'center'
- | 'end'
- | 'around'
- | 'between';
-
-// @public (undocumented)
-export const Link: ForwardRefExoticComponent<
- Omit & RefAttributes
->;
-
-// @public (undocumented)
-export interface LinkProps extends useRender.ComponentProps<'a'> {
- // (undocumented)
- children: ReactNode;
- // (undocumented)
- className?: string;
- // (undocumented)
- style?: CSSProperties;
- // (undocumented)
- to?: string;
- // (undocumented)
- variant?:
- | 'subtitle'
- | 'body'
- | 'caption'
- | 'label'
- | Partial>;
- // (undocumented)
- weight?: 'regular' | 'bold' | Partial>;
-}
-
-// @public (undocumented)
-export const marginPropDefs: (spacingValues: string[]) => {
- m: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--m'[];
- responsive: true;
- };
- mx: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--mx'[];
- responsive: true;
- };
- my: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--my'[];
- responsive: true;
- };
- mt: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--mt'[];
- responsive: true;
- };
- mr: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--mr'[];
- responsive: true;
- };
- mb: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--mb'[];
- responsive: true;
- };
- ml: {
- type: 'enum | string';
- values: string[];
- className: string;
- customProperties: '--ml'[];
- responsive: true;
- };
-};
-
-// @public (undocumented)
-export type MarginProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const Menu: MenuComponent;
-
-// @public (undocumented)
-export type MenuComboboxOption = {
- label: string;
- value: string;
- disabled?: boolean;
-};
-
-// @public (undocumented)
-export interface MenuComboboxProps extends ComponentProps<'div'> {
- // (undocumented)
- closeParentOnEsc?: boolean;
- // (undocumented)
- multiselect?: boolean;
- // (undocumented)
- onValueChange?: (value: string[]) => void;
- // (undocumented)
- options: MenuComboboxOption[];
- // (undocumented)
- value?: string[];
-}
-
-// @public (undocumented)
-export type MenuComponent = {
- Root: typeof Menu_2.Root;
- Trigger: typeof Menu_2.Trigger;
- Portal: typeof Menu_2.Portal;
- Backdrop: typeof Menu_2.Backdrop;
- Positioner: typeof Menu_2.Positioner;
- Popup: typeof Menu_2.Popup;
- Arrow: typeof Menu_2.Arrow;
- Item: typeof Menu_2.Item;
- Group: typeof Menu_2.Group;
- GroupLabel: typeof Menu_2.GroupLabel;
- RadioGroup: typeof Menu_2.RadioGroup;
- RadioItem: typeof Menu_2.RadioItem;
- RadioItemIndicator: typeof Menu_2.RadioItemIndicator;
- CheckboxItem: typeof Menu_2.CheckboxItem;
- CheckboxItemIndicator: typeof Menu_2.CheckboxItemIndicator;
- SubmenuTrigger: typeof Menu_2.SubmenuTrigger;
- Separator: typeof Menu_2.Separator;
- Combobox: ForwardRefExoticComponent<
- MenuComboboxProps & RefAttributes
- >;
-};
-
-// @public (undocumented)
-export type NonStylingPropDef = {
- className?: never;
- customProperties?: never;
- parseValue?: never;
-};
-
-// @public (undocumented)
-export const paddingPropDefs: (spacingValues: string[]) => {
- p: {
- type: 'enum | string';
- className: string;
- customProperties: '--p'[];
- values: string[];
- responsive: true;
- };
- px: {
- type: 'enum | string';
- className: string;
- customProperties: '--px'[];
- values: string[];
- responsive: true;
- };
- py: {
- type: 'enum | string';
- className: string;
- customProperties: '--py'[];
- values: string[];
- responsive: true;
- };
- pt: {
- type: 'enum | string';
- className: string;
- customProperties: '--pt'[];
- values: string[];
- responsive: true;
- };
- pr: {
- type: 'enum | string';
- className: string;
- customProperties: '--pr'[];
- values: string[];
- responsive: true;
- };
- pb: {
- type: 'enum | string';
- className: string;
- customProperties: '--pb'[];
- values: string[];
- responsive: true;
- };
- pl: {
- type: 'enum | string';
- className: string;
- customProperties: '--pl'[];
- values: string[];
- responsive: true;
- };
-};
-
-// @public (undocumented)
-export type PaddingProps = GetPropDefTypes;
-
-// @public (undocumented)
-export const positionPropDefs: {
- position: {
- type: 'enum';
- className: string;
- values: readonly ['static', 'relative', 'absolute', 'fixed', 'sticky'];
- responsive: true;
- };
-};
-
-// @public (undocumented)
-export type PositionProps = GetPropDefTypes;
-
-// @public (undocumented)
-export type PropDef = RegularPropDef | ResponsivePropDef;
-
-// @public (undocumented)
-export type ReactNodePropDef = {
- type: 'ReactNode';
- default?: ReactNode;
- required?: boolean;
-};
-
-// @public (undocumented)
-export type RegularPropDef =
- | ReactNodePropDef
- | BooleanPropDef
- | (StringPropDef & ArbitraryStylingPropDef)
- | (StringPropDef & NonStylingPropDef)
- | (EnumPropDef & StylingPropDef)
- | (EnumPropDef & NonStylingPropDef)
- | (EnumOrStringPropDef & ArbitraryStylingPropDef)
- | (EnumOrStringPropDef & NonStylingPropDef);
-
-// @public (undocumented)
-export type Responsive = T | Partial>;
-
-// @public (undocumented)
-export type ResponsivePropDef = RegularPropDef & {
- responsive: true;
-};
-
-// @public (undocumented)
-export const ScrollArea: {
- Root: ForwardRefExoticComponent<
- Omit, 'ref'> &
- RefAttributes
- >;
- Viewport: ForwardRefExoticComponent<
- Omit, 'ref'> &
- RefAttributes
- >;
- Scrollbar: ForwardRefExoticComponent<
- Omit, 'ref'> &
- RefAttributes
- >;
- Thumb: ForwardRefExoticComponent<
- Omit, 'ref'> &
- RefAttributes
- >;
-};
-
-// @public (undocumented)
-export const Select: ForwardRefExoticComponent<
- SelectProps & RefAttributes
->;
-
-// @public (undocumented)
-export interface SelectProps {
- className?: string;
- defaultValue?: string;
- description?: string;
- disabled?: boolean;
- error?: string;
- label?: string;
- name: string;
- onBlur?: (event: FocusEvent_2) => void;
- onChange?: (event: ChangeEvent) => void;
- onOpenChange?: (open: boolean) => void;
- onValueChange?: (value: string) => void;
- options?: Array<{
- value: string;
- label: string;
- disabled?: boolean;
- }>;
- placeholder?: string;
- required?: boolean;
- size?: 'small' | 'medium' | Partial>;
- style?: React.CSSProperties;
- value?: string;
-}
-
-// @public (undocumented)
-export type Space =
- | '0.5'
- | '1'
- | '1.5'
- | '2'
- | '3'
- | '4'
- | '5'
- | '6'
- | '7'
- | '8'
- | '9'
- | '10'
- | '11'
- | '12'
- | '13'
- | '14'
- | string;
-
-// @public (undocumented)
-export interface SpaceProps {
- // (undocumented)
- m?: Responsive