@veeqo/ui 5.5.2 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,8 @@
1
- import React, { ReactNode } from 'react';
2
- export interface AnchorProps {
1
+ import React, { ReactNode, AnchorHTMLAttributes } from 'react';
2
+ export type AnchorProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3
3
  children?: ReactNode;
4
4
  href: string;
5
- text?: string;
6
- className?: string;
7
- target?: string;
8
- }
9
- export declare const Anchor: ({ children, className, text, href, target }: AnchorProps) => React.JSX.Element;
5
+ rel?: string;
6
+ allowedHostnames?: string[];
7
+ };
8
+ export declare const Anchor: ({ children, href, rel, allowedHostnames, ...props }: AnchorProps) => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { CalendarDate } from '@internationalized/date';
3
+ import type { DateValue, RangeCalendarProps } from 'react-aria-components';
4
+ type CalendarProps = RangeCalendarProps<DateValue> & React.RefAttributes<HTMLDivElement> & {
5
+ 'aria-label': string;
6
+ isMultiMonth?: boolean;
7
+ disabledRanges?: CalendarDate[][];
8
+ disallowWeekends?: boolean;
9
+ };
10
+ export declare const RangeCalendar: ({ disabledRanges, disallowWeekends, isMultiMonth, ...props }: CalendarProps) => React.JSX.Element;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { CalendarGridProps } from 'react-aria-components';
3
+ export declare const CalendarGrid: (props: CalendarGridProps) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledRangeCalendar: import("styled-components").StyledComponent<(<T extends import("react-aria-components").DateValue>(props: import("react-aria-components").RangeCalendarProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>), any, {}, never>;
@@ -0,0 +1 @@
1
+ export declare const buttonStyles: import("styled-components").FlattenSimpleInterpolation;
@@ -0,0 +1 @@
1
+ export declare const calenderCellStyles: import("styled-components").FlattenSimpleInterpolation;
@@ -0,0 +1 @@
1
+ export declare const headerStyles: import("styled-components").FlattenSimpleInterpolation;
@@ -0,0 +1 @@
1
+ export { StyledRangeCalendar } from './StyledRangeCalendar';
@@ -0,0 +1,2 @@
1
+ import { text } from '../../../theme/modules/text';
2
+ export declare const getTextStyles: (textTheme: typeof text.headingMedium) => string;
@@ -0,0 +1 @@
1
+ export { RangeCalendar } from './RangeCalendar';
@@ -8,6 +8,7 @@ export { Banner } from './Banner';
8
8
  export { BaseContainer } from './BaseContainer';
9
9
  export { Breadcrumbs } from './Breadcrumbs';
10
10
  export { Button } from './Button';
11
+ export { RangeCalendar } from './RangeCalendar';
11
12
  export { Card } from './Card';
12
13
  export { CardHeader } from './CardHeader';
13
14
  export { Checkbox } from './Checkbox';