@economic/taco 2.67.2 → 2.68.0-radix-ui-package.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.
- package/dist/taco.cjs +13930 -12529
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.d.ts +14 -16
- package/dist/taco.js +13876 -12475
- package/dist/taco.js.map +1 -1
- package/package.json +3 -13
package/dist/taco.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { BuiltInAggregationFn } from '@tanstack/react-table';
|
2
2
|
import { BuiltInSortingFn } from '@tanstack/react-table';
|
3
3
|
import { ButtonProps as ButtonProps_2 } from 'react-aria-components';
|
4
|
-
import
|
5
|
-
import { CollapsibleProps } from '@radix-ui/react-collapsible';
|
4
|
+
import { Collapsible } from 'radix-ui';
|
6
5
|
import { ColumnFilter } from '@tanstack/react-table';
|
7
6
|
import { ColumnFiltersState } from '@tanstack/react-table';
|
8
7
|
import { ColumnOrderState } from '@tanstack/react-table';
|
@@ -10,16 +9,16 @@ import { ColumnPinningState } from '@tanstack/react-table';
|
|
10
9
|
import { ColumnSizingState } from '@tanstack/react-table';
|
11
10
|
import { ColumnSort } from '@tanstack/react-table';
|
12
11
|
import { default as default_2 } from 'react';
|
13
|
-
import
|
12
|
+
import { Dialog as Dialog_2 } from 'radix-ui';
|
14
13
|
import { DisclosureGroupProps } from 'react-aria-components';
|
15
14
|
import { DisclosurePanelProps } from 'react-aria-components';
|
16
15
|
import { DisclosureProps } from 'react-aria-components';
|
17
|
-
import
|
16
|
+
import { DropdownMenu } from 'radix-ui';
|
18
17
|
import { IdType } from 'react-table';
|
19
18
|
import { Matcher } from 'react-day-picker';
|
20
19
|
import { Payload } from 'recharts/types/component/DefaultLegendContent';
|
21
20
|
import { Placement as Placement_2 } from 'react-joyride';
|
22
|
-
import
|
21
|
+
import { Popover as Popover_2 } from 'radix-ui';
|
23
22
|
import { RadioGroupProps as RadioGroupProps_2 } from 'react-aria-components';
|
24
23
|
import { RadioProps } from 'react-aria-components';
|
25
24
|
import * as React_2 from 'react';
|
@@ -1058,8 +1057,8 @@ export declare type DialogContentProps = Omit<React_2.HTMLAttributes<HTMLDivElem
|
|
1058
1057
|
/** An accessible label to be announced when the dialog is opened */
|
1059
1058
|
'aria-label': string;
|
1060
1059
|
children: Omit<React_2.ReactNode, 'Function'> | ((props: DialogContentRenderProps) => JSX.Element);
|
1061
|
-
onOpenAutoFocus?:
|
1062
|
-
onCloseAutoFocus?:
|
1060
|
+
onOpenAutoFocus?: Dialog_2.DialogContentProps['onOpenAutoFocus'];
|
1061
|
+
onCloseAutoFocus?: Dialog_2.DialogContentProps['onCloseAutoFocus'];
|
1063
1062
|
};
|
1064
1063
|
|
1065
1064
|
export declare type DialogContentRenderProps = {
|
@@ -1400,7 +1399,7 @@ export declare type ForwardedPopoverWithStatics = React_2.ForwardRefExoticCompon
|
|
1400
1399
|
Trigger: React_2.ForwardRefExoticComponent<PopoverTriggerProps>;
|
1401
1400
|
Content: React_2.ForwardRefExoticComponent<PopoverContentProps>;
|
1402
1401
|
Close: React_2.ForwardRefExoticComponent<PopoverCloseProps>;
|
1403
|
-
Portal: React_2.FunctionComponent<
|
1402
|
+
Portal: React_2.FunctionComponent<Popover_2.PortalProps>;
|
1404
1403
|
};
|
1405
1404
|
|
1406
1405
|
export declare type ForwardedRadioGroupWithStatics = React_2.ForwardRefExoticComponent<RadioGroupProps & React_2.RefAttributes<HTMLDivElement>> & {
|
@@ -1486,6 +1485,7 @@ export declare type HangerContentProps = React_2.HTMLAttributes<HTMLDivElement>
|
|
1486
1485
|
/** Set the position of the Hanger relative to its achor. Default value is `bottom` */
|
1487
1486
|
placement?: Placement;
|
1488
1487
|
hideWhenDetached?: boolean;
|
1488
|
+
container?: HTMLElement | null;
|
1489
1489
|
};
|
1490
1490
|
|
1491
1491
|
export declare type HangerProps = React_2.PropsWithChildren<{
|
@@ -1990,10 +1990,7 @@ export declare namespace List {
|
|
1990
1990
|
var Link: default_2.ForwardRefExoticComponent<ComposableListItemProps<"a"> & {
|
1991
1991
|
href: string;
|
1992
1992
|
} & default_2.RefAttributes<HTMLAnchorElement>>;
|
1993
|
-
var Collapsible
|
1994
|
-
children: JSX.Element | JSX.Element[];
|
1995
|
-
defaultOpen?: boolean;
|
1996
|
-
} & default_2.RefAttributes<HTMLDivElement>>;
|
1993
|
+
var Collapsible;
|
1997
1994
|
var Switch: default_2.ForwardRefExoticComponent<ComposableListItemProps<"div"> & Omit<ControlledSwitchProps, "title"> & default_2.RefAttributes<HTMLDivElement>>;
|
1998
1995
|
var Checkbox: default_2.ForwardRefExoticComponent<ComposableListItemProps<"div"> & Omit<ControlledSwitchProps, "title"> & default_2.RefAttributes<HTMLDivElement>>;
|
1999
1996
|
var Group: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLDivElement>, "children"> & {
|
@@ -2128,7 +2125,7 @@ export declare type ListButtonProps = Omit<ComposableListItemProps<'button'>, 'o
|
|
2128
2125
|
|
2129
2126
|
export declare type ListCheckboxProps = ComposableListItemProps<'div'> & ControlledCheckboxProps;
|
2130
2127
|
|
2131
|
-
export declare type ListCollapsibleProps = Omit<ComposableListItemProps<typeof
|
2128
|
+
export declare type ListCollapsibleProps = Omit<ComposableListItemProps<typeof Collapsible.Root>, 'children'> & {
|
2132
2129
|
children: JSX.Element | JSX.Element[];
|
2133
2130
|
defaultOpen?: boolean;
|
2134
2131
|
};
|
@@ -2242,7 +2239,7 @@ export declare type MenuCheckboxItemProps = Omit<React_2.HTMLAttributes<HTMLDivE
|
|
2242
2239
|
onChange: (checked: boolean | 'indeterminate') => void;
|
2243
2240
|
};
|
2244
2241
|
|
2245
|
-
export declare type MenuContentProps = Omit<
|
2242
|
+
export declare type MenuContentProps = Omit<DropdownMenu.DropdownMenuContentProps, 'children' | 'side'> & {
|
2246
2243
|
align?: Align;
|
2247
2244
|
children: React_2.ReactNode;
|
2248
2245
|
/** Set the position of the Menu relative to its trigger. Default value is `bottom` */
|
@@ -2298,7 +2295,7 @@ declare type MenuRadioGroupProps = React_2.HTMLAttributes<HTMLDivElement> & {
|
|
2298
2295
|
|
2299
2296
|
export declare type MenuSeparatorProps = React_2.HTMLAttributes<HTMLDivElement>;
|
2300
2297
|
|
2301
|
-
export declare type MenuSubMenuProps = Omit<
|
2298
|
+
export declare type MenuSubMenuProps = Omit<DropdownMenu.DropdownMenuSubContentProps, 'children' | 'side'> & {
|
2302
2299
|
children: React_2.ReactNode;
|
2303
2300
|
};
|
2304
2301
|
|
@@ -2591,10 +2588,11 @@ export declare type PopoverAnchorProps = React_2.HTMLAttributes<HTMLElement>;
|
|
2591
2588
|
|
2592
2589
|
export declare type PopoverCloseProps = React_2.HTMLAttributes<HTMLButtonElement>;
|
2593
2590
|
|
2594
|
-
export declare type PopoverContentProps = Omit<
|
2591
|
+
export declare type PopoverContentProps = Omit<Popover_2.PopoverContentProps, 'side' | 'children'> & {
|
2595
2592
|
children: React_2.ReactNode | ((props: PopoverContentRenderProps) => React_2.ReactNode);
|
2596
2593
|
/** Set the position of the Popover relative to its trigger. Default value is `bottom` */
|
2597
2594
|
placement?: Placement;
|
2595
|
+
container?: HTMLElement | null;
|
2598
2596
|
};
|
2599
2597
|
|
2600
2598
|
export declare type PopoverContentRenderProps = {
|