@cerberus-design/react 1.2.0 → 1.3.0-rc.1
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/components/accordion/primitives.d.cts +8 -23
- package/dist/components/accordion/primitives.d.ts +8 -23
- package/dist/components/admonition/match-avatar.cjs +1 -1
- package/dist/components/admonition/match-avatar.js +1 -1
- package/dist/components/admonition/primitives.cjs +5 -5
- package/dist/components/admonition/primitives.d.cts +13 -2871
- package/dist/components/admonition/primitives.d.ts +13 -2871
- package/dist/components/admonition/primitives.js +6 -6
- package/dist/components/avatar/primitives.d.cts +4 -13
- package/dist/components/avatar/primitives.d.ts +4 -13
- package/dist/components/button/button.cjs +19 -7
- package/dist/components/button/button.d.cts +8 -5
- package/dist/components/button/button.d.ts +8 -5
- package/dist/components/button/button.js +19 -7
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/primitives.cjs +2 -7
- package/dist/components/button/primitives.d.cts +4 -8
- package/dist/components/button/primitives.d.ts +4 -8
- package/dist/components/button/primitives.js +3 -7
- package/dist/components/carousel/primitives.d.cts +9 -33
- package/dist/components/carousel/primitives.d.ts +9 -33
- package/dist/components/checkbox/primitives.d.cts +7 -25
- package/dist/components/checkbox/primitives.d.ts +7 -25
- package/dist/components/circular-progress/primitives.d.cts +8 -29
- package/dist/components/circular-progress/primitives.d.ts +8 -29
- package/dist/components/clipboard/primitives.d.cts +7 -25
- package/dist/components/clipboard/primitives.d.ts +7 -25
- package/dist/components/collapsible/primitives.d.cts +6 -21
- package/dist/components/collapsible/primitives.d.ts +6 -21
- package/dist/components/combobox/primitives.d.cts +16 -61
- package/dist/components/combobox/primitives.d.ts +16 -61
- package/dist/components/combobox/use-stateful-collection.cjs +1 -1
- package/dist/components/combobox/use-stateful-collection.js +1 -1
- package/dist/components/cta-dialog/provider.cjs +2 -2
- package/dist/components/cta-dialog/provider.js +2 -2
- package/dist/components/date-picker/primitives.d.cts +24 -93
- package/dist/components/date-picker/primitives.d.ts +24 -93
- package/dist/components/dialog/close-icon-trigger.cjs +1 -1
- package/dist/components/dialog/close-icon-trigger.js +1 -1
- package/dist/components/dialog/dialog.cjs +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/dialog/index.cjs +2 -1
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dialog/primitives.cjs +2 -0
- package/dist/components/dialog/primitives.d.cts +14 -38
- package/dist/components/dialog/primitives.d.ts +14 -38
- package/dist/components/dialog/primitives.js +2 -1
- package/dist/components/field/primitives.d.cts +21 -48
- package/dist/components/field/primitives.d.ts +21 -48
- package/dist/components/fieldset/primitives.d.cts +5 -17
- package/dist/components/fieldset/primitives.d.ts +5 -17
- package/dist/components/file-upload/file-status.cjs +1 -1
- package/dist/components/file-upload/file-status.js +1 -1
- package/dist/components/file-upload/primitives.d.cts +19 -73
- package/dist/components/file-upload/primitives.d.ts +19 -73
- package/dist/components/group/primitives.d.cts +2 -5
- package/dist/components/group/primitives.d.ts +2 -5
- package/dist/components/icon-button/button.cjs +1 -3
- package/dist/components/icon-button/button.js +1 -3
- package/dist/components/icon-button/primitives.cjs +4 -2
- package/dist/components/icon-button/primitives.d.cts +5 -8
- package/dist/components/icon-button/primitives.d.ts +5 -8
- package/dist/components/icon-button/primitives.js +4 -2
- package/dist/components/menu/menu.d.cts +6 -21
- package/dist/components/menu/menu.d.ts +6 -21
- package/dist/components/menu/primitives.d.cts +11 -41
- package/dist/components/menu/primitives.d.ts +11 -41
- package/dist/components/notifications/center.cjs +7 -23
- package/dist/components/notifications/center.d.cts +2 -6
- package/dist/components/notifications/center.d.ts +2 -6
- package/dist/components/notifications/center.js +8 -23
- package/dist/components/notifications/index.cjs +0 -14
- package/dist/components/notifications/index.js +3 -3
- package/dist/components/notifications/match-icon.cjs +7 -1
- package/dist/components/notifications/match-icon.d.cts +1 -5
- package/dist/components/notifications/match-icon.d.ts +1 -5
- package/dist/components/notifications/match-icon.js +7 -1
- package/dist/components/notifications/primitives.d.cts +5 -20
- package/dist/components/notifications/primitives.d.ts +5 -20
- package/dist/components/notifications/toaster.d.cts +0 -1
- package/dist/components/notifications/toaster.d.ts +0 -1
- package/dist/components/notifications/toaster.js +2 -2
- package/dist/components/notifications/types.d.cts +4 -30
- package/dist/components/notifications/types.d.ts +4 -30
- package/dist/components/number-input/primitives.d.cts +8 -29
- package/dist/components/number-input/primitives.d.ts +8 -29
- package/dist/components/pagination/primitives.d.cts +8 -29
- package/dist/components/pagination/primitives.d.ts +8 -29
- package/dist/components/pagination/triggers.d.cts +2 -3
- package/dist/components/pagination/triggers.d.ts +2 -3
- package/dist/components/pin-input/primitives.d.cts +6 -21
- package/dist/components/pin-input/primitives.d.ts +6 -21
- package/dist/components/popover/primitives.d.cts +14 -53
- package/dist/components/popover/primitives.d.ts +14 -53
- package/dist/components/progress/primitives.cjs +2 -2
- package/dist/components/progress/primitives.d.cts +7 -1910
- package/dist/components/progress/primitives.d.ts +7 -1910
- package/dist/components/progress/primitives.js +3 -3
- package/dist/components/radio/primitives.d.cts +8 -29
- package/dist/components/radio/primitives.d.ts +8 -29
- package/dist/components/rating/primitives.d.cts +5 -17
- package/dist/components/rating/primitives.d.ts +5 -17
- package/dist/components/select/option-group.d.cts +3 -9
- package/dist/components/select/option-group.d.ts +3 -9
- package/dist/components/select/primitives.d.cts +16 -61
- package/dist/components/select/primitives.d.ts +16 -61
- package/dist/components/split-button/button.cjs +1 -1
- package/dist/components/split-button/button.js +1 -1
- package/dist/components/switch/primitives.d.cts +6 -21
- package/dist/components/switch/primitives.d.ts +6 -21
- package/dist/components/table/primitives.cjs +10 -10
- package/dist/components/table/primitives.d.cts +23 -9518
- package/dist/components/table/primitives.d.ts +23 -9518
- package/dist/components/table/primitives.js +11 -11
- package/dist/components/tabs/primitives.d.cts +6 -21
- package/dist/components/tabs/primitives.d.ts +6 -21
- package/dist/components/tag/primitives.d.cts +2 -5
- package/dist/components/tag/primitives.d.ts +2 -5
- package/dist/components/toggle/primitives.d.cts +3 -9
- package/dist/components/toggle/primitives.d.ts +3 -9
- package/dist/components/tooltip/primitives.d.cts +7 -25
- package/dist/components/tooltip/primitives.d.ts +7 -25
- package/dist/components/tooltip/renderer.cjs +11 -0
- package/dist/components/tooltip/renderer.d.cts +6 -0
- package/dist/components/tooltip/renderer.d.ts +6 -0
- package/dist/components/tooltip/renderer.js +11 -0
- package/dist/components/tooltip/tooltip.cjs +6 -2
- package/dist/components/tooltip/tooltip.d.cts +4 -0
- package/dist/components/tooltip/tooltip.d.ts +4 -0
- package/dist/components/tooltip/tooltip.js +6 -2
- package/dist/context/cerberus.cjs +1 -1
- package/dist/context/cerberus.js +1 -1
- package/dist/context/confirm-modal.cjs +1 -1
- package/dist/context/confirm-modal.js +1 -1
- package/dist/context/feature-flags.cjs +1 -1
- package/dist/context/feature-flags.js +1 -1
- package/dist/context/navMenu.cjs +1 -1
- package/dist/context/navMenu.js +1 -1
- package/dist/context/prompt-modal.cjs +2 -2
- package/dist/context/prompt-modal.js +2 -2
- package/dist/context/theme.cjs +1 -1
- package/dist/context/theme.js +1 -1
- package/dist/index.cjs +18 -19
- package/dist/index.client.d.cts +1 -1
- package/dist/index.client.d.ts +1 -1
- package/dist/index.client.js +2 -2
- package/dist/index.js +8 -8
- package/dist/panda.buildinfo.json +15 -3
- package/dist/system/primitive-factory.cjs +11 -9
- package/dist/system/primitive-factory.d.cts +4 -13
- package/dist/system/primitive-factory.d.ts +4 -13
- package/dist/system/primitive-factory.js +11 -9
- package/package.json +6 -6
|
@@ -1,39 +1,18 @@
|
|
|
1
1
|
import { NumberInput, NumberInputControlProps as ArkNumberInputControlProps, NumberInputDecrementTriggerProps as ArkNumberInputDecrementTriggerProps, NumberInputIncrementTriggerProps as ArkNumberInputIncrementTriggerProps, NumberInputInputProps as ArkNumberInputInputProps, NumberInputLabelProps as ArkNumberInputLabelProps, NumberInputRootProps as ArkNumberInputRootProps, NumberInputScrubberProps as ArkNumberInputScrubberProps } from '@ark-ui/react/number-input';
|
|
2
2
|
import { NumberInputVariantProps } from 'styled-system/recipes';
|
|
3
3
|
import { CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
5
|
export type NumberInputRootProps = CerberusPrimitiveProps<ArkNumberInputRootProps & NumberInputVariantProps>;
|
|
6
|
-
export declare const NumberInputRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const NumberInputRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type NumberInputLabelProps = CerberusPrimitiveProps<ArkNumberInputLabelProps>;
|
|
11
|
-
export declare const NumberInputLabel:
|
|
12
|
-
(props: CerberusPrimitiveProps<NumberInput.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const NumberInputLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type NumberInputInputProps = CerberusPrimitiveProps<ArkNumberInputInputProps>;
|
|
16
|
-
export declare const NumberInputInput:
|
|
17
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.InputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const NumberInputInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.InputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type NumberInputControlProps = CerberusPrimitiveProps<ArkNumberInputControlProps>;
|
|
21
|
-
export declare const NumberInputControl:
|
|
22
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const NumberInputControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type NumberInputDecrementTriggerProps = CerberusPrimitiveProps<ArkNumberInputDecrementTriggerProps>;
|
|
26
|
-
export declare const NumberInputDecrementTrigger:
|
|
27
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.DecrementTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const NumberInputDecrementTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.DecrementTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
30
15
|
export type NumberInputIncrementTriggerProps = CerberusPrimitiveProps<ArkNumberInputIncrementTriggerProps>;
|
|
31
|
-
export declare const NumberInputIncrementTrigger:
|
|
32
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.IncrementTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
16
|
+
export declare const NumberInputIncrementTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.IncrementTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
35
17
|
export type NumberInputScrubberProps = CerberusPrimitiveProps<ArkNumberInputScrubberProps>;
|
|
36
|
-
export declare const NumberInputScrubber:
|
|
37
|
-
(props: CerberusPrimitiveProps<NumberInput.ScrubberProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
18
|
+
export declare const NumberInputScrubber: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.ScrubberProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -1,39 +1,18 @@
|
|
|
1
1
|
import { NumberInput, NumberInputControlProps as ArkNumberInputControlProps, NumberInputDecrementTriggerProps as ArkNumberInputDecrementTriggerProps, NumberInputIncrementTriggerProps as ArkNumberInputIncrementTriggerProps, NumberInputInputProps as ArkNumberInputInputProps, NumberInputLabelProps as ArkNumberInputLabelProps, NumberInputRootProps as ArkNumberInputRootProps, NumberInputScrubberProps as ArkNumberInputScrubberProps } from '@ark-ui/react/number-input';
|
|
2
2
|
import { NumberInputVariantProps } from 'styled-system/recipes';
|
|
3
3
|
import { CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
5
|
export type NumberInputRootProps = CerberusPrimitiveProps<ArkNumberInputRootProps & NumberInputVariantProps>;
|
|
6
|
-
export declare const NumberInputRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const NumberInputRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type NumberInputLabelProps = CerberusPrimitiveProps<ArkNumberInputLabelProps>;
|
|
11
|
-
export declare const NumberInputLabel:
|
|
12
|
-
(props: CerberusPrimitiveProps<NumberInput.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const NumberInputLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type NumberInputInputProps = CerberusPrimitiveProps<ArkNumberInputInputProps>;
|
|
16
|
-
export declare const NumberInputInput:
|
|
17
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.InputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const NumberInputInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.InputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type NumberInputControlProps = CerberusPrimitiveProps<ArkNumberInputControlProps>;
|
|
21
|
-
export declare const NumberInputControl:
|
|
22
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const NumberInputControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type NumberInputDecrementTriggerProps = CerberusPrimitiveProps<ArkNumberInputDecrementTriggerProps>;
|
|
26
|
-
export declare const NumberInputDecrementTrigger:
|
|
27
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.DecrementTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const NumberInputDecrementTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.DecrementTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
30
15
|
export type NumberInputIncrementTriggerProps = CerberusPrimitiveProps<ArkNumberInputIncrementTriggerProps>;
|
|
31
|
-
export declare const NumberInputIncrementTrigger:
|
|
32
|
-
(internalProps: CerberusPrimitiveProps<NumberInput.IncrementTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
16
|
+
export declare const NumberInputIncrementTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.IncrementTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
35
17
|
export type NumberInputScrubberProps = CerberusPrimitiveProps<ArkNumberInputScrubberProps>;
|
|
36
|
-
export declare const NumberInputScrubber:
|
|
37
|
-
(props: CerberusPrimitiveProps<NumberInput.ScrubberProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
18
|
+
export declare const NumberInputScrubber: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<NumberInput.ScrubberProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -1,41 +1,20 @@
|
|
|
1
1
|
import { Pagination, PaginationContextProps as ArkPaginationContextProps, PaginationEllipsisProps as ArkPaginationEllipsisProps, PaginationItemProps as ArkPaginationItemProps, PaginationNextTriggerProps as ArkPaginationNextTriggerProps, PaginationPrevTriggerProps as ArkPaginationPrevTriggerProps, PaginationRootProps as ArkPaginationRootProps, PaginationRootProviderProps as ArkPaginationRootProviderProps, UsePaginationReturn as ArkUsePaginationReturn, PaginationPageUrlDetails, PaginationPageSizeChangeDetails } from '@ark-ui/react/pagination';
|
|
2
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
3
|
import { CerberusPrimitiveProps } from '../..';
|
|
3
|
-
import { RefAttributes } from 'react';
|
|
4
4
|
export type PaginationRootProps = ArkPaginationRootProps;
|
|
5
|
-
export declare const PaginationRoot:
|
|
6
|
-
(props: CerberusPrimitiveProps<Pagination.RootProps & RefAttributes<HTMLElement>>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
5
|
+
export declare const PaginationRoot: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.RootProps & RefAttributes<HTMLElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
9
6
|
export type PaginationPrevTriggerProps = ArkPaginationPrevTriggerProps;
|
|
10
|
-
export declare const PaginationPrevTrigger:
|
|
11
|
-
(props: CerberusPrimitiveProps<Pagination.PrevTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
7
|
+
export declare const PaginationPrevTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.PrevTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
14
8
|
export type PaginationNextTriggerProps = ArkPaginationNextTriggerProps;
|
|
15
|
-
export declare const PaginationNextTrigger:
|
|
16
|
-
(props: CerberusPrimitiveProps<Pagination.NextTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
9
|
+
export declare const PaginationNextTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.NextTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
19
10
|
export type PaginationContextProps = ArkPaginationContextProps;
|
|
20
|
-
export declare const PaginationContext:
|
|
21
|
-
(props: CerberusPrimitiveProps<Pagination.ContextProps>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
11
|
+
export declare const PaginationContext: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.ContextProps>, "ref"> & RefAttributes<HTMLElement>>;
|
|
24
12
|
export type PaginationItemProps = ArkPaginationItemProps;
|
|
25
|
-
export declare const PaginationItem:
|
|
26
|
-
(props: CerberusPrimitiveProps<Pagination.ItemProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
13
|
+
export declare const PaginationItem: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.ItemProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
29
14
|
export type PaginationEllipsisProps = ArkPaginationEllipsisProps;
|
|
30
|
-
export declare const PaginationEllipsis:
|
|
31
|
-
(props: CerberusPrimitiveProps<Pagination.EllipsisProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
15
|
+
export declare const PaginationEllipsis: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.EllipsisProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
34
16
|
export type PaginationRootProviderProps = ArkPaginationRootProviderProps;
|
|
35
|
-
export declare const PaginationRootProvider:
|
|
36
|
-
(props: CerberusPrimitiveProps<Pagination.RootProviderProps & RefAttributes<HTMLElement>>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
17
|
+
export declare const PaginationRootProvider: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.RootProviderProps & RefAttributes<HTMLElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
39
18
|
export type PaginationContextDetails = ArkUsePaginationReturn;
|
|
40
19
|
export type PageDetails = PaginationPageUrlDetails;
|
|
41
20
|
export type PageSizeChangeDetails = PaginationPageSizeChangeDetails;
|
|
@@ -1,41 +1,20 @@
|
|
|
1
1
|
import { Pagination, PaginationContextProps as ArkPaginationContextProps, PaginationEllipsisProps as ArkPaginationEllipsisProps, PaginationItemProps as ArkPaginationItemProps, PaginationNextTriggerProps as ArkPaginationNextTriggerProps, PaginationPrevTriggerProps as ArkPaginationPrevTriggerProps, PaginationRootProps as ArkPaginationRootProps, PaginationRootProviderProps as ArkPaginationRootProviderProps, UsePaginationReturn as ArkUsePaginationReturn, PaginationPageUrlDetails, PaginationPageSizeChangeDetails } from '@ark-ui/react/pagination';
|
|
2
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
3
|
import { CerberusPrimitiveProps } from '../..';
|
|
3
|
-
import { RefAttributes } from 'react';
|
|
4
4
|
export type PaginationRootProps = ArkPaginationRootProps;
|
|
5
|
-
export declare const PaginationRoot:
|
|
6
|
-
(props: CerberusPrimitiveProps<Pagination.RootProps & RefAttributes<HTMLElement>>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
5
|
+
export declare const PaginationRoot: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.RootProps & RefAttributes<HTMLElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
9
6
|
export type PaginationPrevTriggerProps = ArkPaginationPrevTriggerProps;
|
|
10
|
-
export declare const PaginationPrevTrigger:
|
|
11
|
-
(props: CerberusPrimitiveProps<Pagination.PrevTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
7
|
+
export declare const PaginationPrevTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.PrevTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
14
8
|
export type PaginationNextTriggerProps = ArkPaginationNextTriggerProps;
|
|
15
|
-
export declare const PaginationNextTrigger:
|
|
16
|
-
(props: CerberusPrimitiveProps<Pagination.NextTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
9
|
+
export declare const PaginationNextTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.NextTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
19
10
|
export type PaginationContextProps = ArkPaginationContextProps;
|
|
20
|
-
export declare const PaginationContext:
|
|
21
|
-
(props: CerberusPrimitiveProps<Pagination.ContextProps>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
11
|
+
export declare const PaginationContext: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.ContextProps>, "ref"> & RefAttributes<HTMLElement>>;
|
|
24
12
|
export type PaginationItemProps = ArkPaginationItemProps;
|
|
25
|
-
export declare const PaginationItem:
|
|
26
|
-
(props: CerberusPrimitiveProps<Pagination.ItemProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
13
|
+
export declare const PaginationItem: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.ItemProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
29
14
|
export type PaginationEllipsisProps = ArkPaginationEllipsisProps;
|
|
30
|
-
export declare const PaginationEllipsis:
|
|
31
|
-
(props: CerberusPrimitiveProps<Pagination.EllipsisProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
15
|
+
export declare const PaginationEllipsis: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.EllipsisProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
34
16
|
export type PaginationRootProviderProps = ArkPaginationRootProviderProps;
|
|
35
|
-
export declare const PaginationRootProvider:
|
|
36
|
-
(props: CerberusPrimitiveProps<Pagination.RootProviderProps & RefAttributes<HTMLElement>>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
17
|
+
export declare const PaginationRootProvider: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Pagination.RootProviderProps & RefAttributes<HTMLElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
39
18
|
export type PaginationContextDetails = ArkUsePaginationReturn;
|
|
40
19
|
export type PageDetails = PaginationPageUrlDetails;
|
|
41
20
|
export type PageSizeChangeDetails = PaginationPageSizeChangeDetails;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IconButtonProps } from '../icon-button/index';
|
|
2
1
|
import { GroupProps } from '../group';
|
|
2
|
+
import { IconButtonRootProps } from '../icon-button/index';
|
|
3
3
|
export declare function PrevTrigger(props: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare function NextTrigger(props: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export interface
|
|
5
|
+
export interface TriggerProps extends IconButtonRootProps {
|
|
6
6
|
layout?: GroupProps['layout'];
|
|
7
7
|
}
|
|
8
|
-
export type TriggerProps = TriggerBaseProps & Omit<IconButtonProps, 'clipboard'>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IconButtonProps } from '../icon-button/index';
|
|
2
1
|
import { GroupProps } from '../group';
|
|
2
|
+
import { IconButtonRootProps } from '../icon-button/index';
|
|
3
3
|
export declare function PrevTrigger(props: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare function NextTrigger(props: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export interface
|
|
5
|
+
export interface TriggerProps extends IconButtonRootProps {
|
|
6
6
|
layout?: GroupProps['layout'];
|
|
7
7
|
}
|
|
8
|
-
export type TriggerProps = TriggerBaseProps & Omit<IconButtonProps, 'clipboard'>;
|
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { PinInputVariantProps } from 'styled-system/recipes';
|
|
2
2
|
import { PinInput as ArkPinInput, PinInputRootProps as ArkPinInputRootProps, PinInputLabelProps as ArkPinInputLabelProps, PinInputInputProps as ArkPinInputInputProps, PinInputControlProps as ArkPinInputControlProps, PinInputHiddenInputProps as ArkPinInputHiddenInputProps } from '@ark-ui/react/pin-input';
|
|
3
3
|
import { CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
5
|
export type PinInputRootProps = CerberusPrimitiveProps<ArkPinInputRootProps & PinInputVariantProps>;
|
|
6
|
-
export declare const PinInputRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const PinInputRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type PinInputLabelProps = CerberusPrimitiveProps<ArkPinInputLabelProps>;
|
|
11
|
-
export declare const PinInputLabel:
|
|
12
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const PinInputLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type PinInputControlProps = CerberusPrimitiveProps<ArkPinInputControlProps>;
|
|
16
|
-
export declare const PinInputControl:
|
|
17
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const PinInputControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type PinInputInputProps = CerberusPrimitiveProps<ArkPinInputInputProps & PinInputVariantProps>;
|
|
21
|
-
export declare const PinInputInput:
|
|
22
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.InputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const PinInputInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.InputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type PinInputHiddenInputProps = CerberusPrimitiveProps<ArkPinInputHiddenInputProps>;
|
|
26
|
-
export declare const PinInputHiddenInput:
|
|
27
|
-
(props: CerberusPrimitiveProps<ArkPinInput.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const PinInputHiddenInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.HiddenInputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { PinInputVariantProps } from 'styled-system/recipes';
|
|
2
2
|
import { PinInput as ArkPinInput, PinInputRootProps as ArkPinInputRootProps, PinInputLabelProps as ArkPinInputLabelProps, PinInputInputProps as ArkPinInputInputProps, PinInputControlProps as ArkPinInputControlProps, PinInputHiddenInputProps as ArkPinInputHiddenInputProps } from '@ark-ui/react/pin-input';
|
|
3
3
|
import { CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
5
|
export type PinInputRootProps = CerberusPrimitiveProps<ArkPinInputRootProps & PinInputVariantProps>;
|
|
6
|
-
export declare const PinInputRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const PinInputRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type PinInputLabelProps = CerberusPrimitiveProps<ArkPinInputLabelProps>;
|
|
11
|
-
export declare const PinInputLabel:
|
|
12
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const PinInputLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type PinInputControlProps = CerberusPrimitiveProps<ArkPinInputControlProps>;
|
|
16
|
-
export declare const PinInputControl:
|
|
17
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const PinInputControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type PinInputInputProps = CerberusPrimitiveProps<ArkPinInputInputProps & PinInputVariantProps>;
|
|
21
|
-
export declare const PinInputInput:
|
|
22
|
-
(internalProps: CerberusPrimitiveProps<ArkPinInput.InputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const PinInputInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.InputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type PinInputHiddenInputProps = CerberusPrimitiveProps<ArkPinInputHiddenInputProps>;
|
|
26
|
-
export declare const PinInputHiddenInput:
|
|
27
|
-
(props: CerberusPrimitiveProps<ArkPinInput.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const PinInputHiddenInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPinInput.HiddenInputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -1,69 +1,30 @@
|
|
|
1
1
|
import { Popover as ArkPopover, PopoverAnchorProps as ArkPopoverAnchorProps, PopoverArrowProps as ArkPopoverArrowProps, PopoverArrowTipProps as ArkPopoverArrowTipProps, PopoverCloseTriggerProps as ArkPopoverCloseTriggerProps, PopoverContentProps as ArkPopoverContentProps, PopoverDescriptionProps as ArkPopoverDescriptionProps, PopoverPositionerProps as ArkPopoverPositionerProps, PopoverRootProps as ArkPopoverRootProps, PopoverTitleProps as ArkPopoverTitleProps, PopoverTriggerProps as ArkPopoverTriggerProps } from '@ark-ui/react/popover';
|
|
2
2
|
import { PopoverVariantProps } from 'styled-system/recipes';
|
|
3
3
|
import { CerberusProps, CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
5
5
|
export type PopoverRootProps = CerberusPrimitiveProps<ArkPopoverRootProps & PopoverVariantProps>;
|
|
6
|
-
export declare const PopoverRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.RootProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const PopoverRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.RootProps>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type PopoverTriggerProps = CerberusPrimitiveProps<ArkPopoverTriggerProps>;
|
|
11
|
-
export declare const PopoverTrigger:
|
|
12
|
-
(props: CerberusPrimitiveProps<ArkPopover.TriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const PopoverTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.TriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type PopoverAnchorProps = CerberusPrimitiveProps<ArkPopoverAnchorProps>;
|
|
16
|
-
export declare const PopoverAnchor:
|
|
17
|
-
(props: CerberusPrimitiveProps<ArkPopover.AnchorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const PopoverAnchor: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.AnchorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type PopoverPositionerProps = CerberusPrimitiveProps<ArkPopoverPositionerProps>;
|
|
21
|
-
export declare const PopoverPositioner:
|
|
22
|
-
(props: CerberusPrimitiveProps<ArkPopover.PositionerProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const PopoverPositioner: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.PositionerProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type PopoverArrowProps = CerberusPrimitiveProps<ArkPopoverArrowProps>;
|
|
26
|
-
export declare const PopoverArrow:
|
|
27
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ArrowProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const PopoverArrow: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ArrowProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
30
15
|
export type PopoverArrowTipProps = CerberusPrimitiveProps<ArkPopoverArrowTipProps>;
|
|
31
|
-
export declare const PopoverArrowTip:
|
|
32
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ArrowTipProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
16
|
+
export declare const PopoverArrowTip: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ArrowTipProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
35
17
|
export type PopoverContentProps = CerberusPrimitiveProps<ArkPopoverContentProps>;
|
|
36
|
-
export declare const PopoverContent:
|
|
37
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ContentProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
18
|
+
export declare const PopoverContent: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ContentProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
40
19
|
export type PopoverTitleProps = CerberusPrimitiveProps<ArkPopoverTitleProps>;
|
|
41
|
-
export declare const PopoverTitle:
|
|
42
|
-
(props: CerberusPrimitiveProps<ArkPopover.TitleProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
displayName: string;
|
|
44
|
-
};
|
|
20
|
+
export declare const PopoverTitle: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.TitleProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
45
21
|
export type PopoverDescriptionProps = CerberusPrimitiveProps<ArkPopoverDescriptionProps>;
|
|
46
|
-
export declare const PopoverDescription:
|
|
47
|
-
(props: CerberusPrimitiveProps<ArkPopover.DescriptionProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
displayName: string;
|
|
49
|
-
};
|
|
22
|
+
export declare const PopoverDescription: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.DescriptionProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
50
23
|
export type PopoverCloseTriggerProps = CerberusPrimitiveProps<ArkPopoverCloseTriggerProps>;
|
|
51
|
-
export declare const PopoverCloseTrigger:
|
|
52
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
displayName: string;
|
|
54
|
-
};
|
|
24
|
+
export declare const PopoverCloseTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
55
25
|
export type PopoverHeaderProps = CerberusProps<'div'>;
|
|
56
|
-
export declare const PopoverHeader:
|
|
57
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
26
|
+
export declare const PopoverHeader: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
60
27
|
export type PopoverBodyProps = CerberusProps<'div'>;
|
|
61
|
-
export declare const PopoverBody:
|
|
62
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
displayName: string;
|
|
64
|
-
};
|
|
28
|
+
export declare const PopoverBody: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
65
29
|
export type PopoverFooterProps = CerberusProps<'div'>;
|
|
66
|
-
export declare const PopoverFooter:
|
|
67
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
displayName: string;
|
|
69
|
-
};
|
|
30
|
+
export declare const PopoverFooter: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -1,69 +1,30 @@
|
|
|
1
1
|
import { Popover as ArkPopover, PopoverAnchorProps as ArkPopoverAnchorProps, PopoverArrowProps as ArkPopoverArrowProps, PopoverArrowTipProps as ArkPopoverArrowTipProps, PopoverCloseTriggerProps as ArkPopoverCloseTriggerProps, PopoverContentProps as ArkPopoverContentProps, PopoverDescriptionProps as ArkPopoverDescriptionProps, PopoverPositionerProps as ArkPopoverPositionerProps, PopoverRootProps as ArkPopoverRootProps, PopoverTitleProps as ArkPopoverTitleProps, PopoverTriggerProps as ArkPopoverTriggerProps } from '@ark-ui/react/popover';
|
|
2
2
|
import { PopoverVariantProps } from 'styled-system/recipes';
|
|
3
3
|
import { CerberusProps, CerberusPrimitiveProps } from '../../system/index';
|
|
4
|
-
import { RefAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
5
5
|
export type PopoverRootProps = CerberusPrimitiveProps<ArkPopoverRootProps & PopoverVariantProps>;
|
|
6
|
-
export declare const PopoverRoot:
|
|
7
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.RootProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
export declare const PopoverRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.RootProps>, "ref"> & RefAttributes<HTMLElement>>;
|
|
10
7
|
export type PopoverTriggerProps = CerberusPrimitiveProps<ArkPopoverTriggerProps>;
|
|
11
|
-
export declare const PopoverTrigger:
|
|
12
|
-
(props: CerberusPrimitiveProps<ArkPopover.TriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
8
|
+
export declare const PopoverTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.TriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
15
9
|
export type PopoverAnchorProps = CerberusPrimitiveProps<ArkPopoverAnchorProps>;
|
|
16
|
-
export declare const PopoverAnchor:
|
|
17
|
-
(props: CerberusPrimitiveProps<ArkPopover.AnchorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
10
|
+
export declare const PopoverAnchor: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.AnchorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
20
11
|
export type PopoverPositionerProps = CerberusPrimitiveProps<ArkPopoverPositionerProps>;
|
|
21
|
-
export declare const PopoverPositioner:
|
|
22
|
-
(props: CerberusPrimitiveProps<ArkPopover.PositionerProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const PopoverPositioner: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.PositionerProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
25
13
|
export type PopoverArrowProps = CerberusPrimitiveProps<ArkPopoverArrowProps>;
|
|
26
|
-
export declare const PopoverArrow:
|
|
27
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ArrowProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
14
|
+
export declare const PopoverArrow: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ArrowProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
30
15
|
export type PopoverArrowTipProps = CerberusPrimitiveProps<ArkPopoverArrowTipProps>;
|
|
31
|
-
export declare const PopoverArrowTip:
|
|
32
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ArrowTipProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
16
|
+
export declare const PopoverArrowTip: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ArrowTipProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
35
17
|
export type PopoverContentProps = CerberusPrimitiveProps<ArkPopoverContentProps>;
|
|
36
|
-
export declare const PopoverContent:
|
|
37
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.ContentProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
18
|
+
export declare const PopoverContent: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.ContentProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
40
19
|
export type PopoverTitleProps = CerberusPrimitiveProps<ArkPopoverTitleProps>;
|
|
41
|
-
export declare const PopoverTitle:
|
|
42
|
-
(props: CerberusPrimitiveProps<ArkPopover.TitleProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
displayName: string;
|
|
44
|
-
};
|
|
20
|
+
export declare const PopoverTitle: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.TitleProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
45
21
|
export type PopoverDescriptionProps = CerberusPrimitiveProps<ArkPopoverDescriptionProps>;
|
|
46
|
-
export declare const PopoverDescription:
|
|
47
|
-
(props: CerberusPrimitiveProps<ArkPopover.DescriptionProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
displayName: string;
|
|
49
|
-
};
|
|
22
|
+
export declare const PopoverDescription: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.DescriptionProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
50
23
|
export type PopoverCloseTriggerProps = CerberusPrimitiveProps<ArkPopoverCloseTriggerProps>;
|
|
51
|
-
export declare const PopoverCloseTrigger:
|
|
52
|
-
(internalProps: CerberusPrimitiveProps<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
displayName: string;
|
|
54
|
-
};
|
|
24
|
+
export declare const PopoverCloseTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
55
25
|
export type PopoverHeaderProps = CerberusProps<'div'>;
|
|
56
|
-
export declare const PopoverHeader:
|
|
57
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
26
|
+
export declare const PopoverHeader: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
60
27
|
export type PopoverBodyProps = CerberusProps<'div'>;
|
|
61
|
-
export declare const PopoverBody:
|
|
62
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
displayName: string;
|
|
64
|
-
};
|
|
28
|
+
export declare const PopoverBody: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
65
29
|
export type PopoverFooterProps = CerberusProps<'div'>;
|
|
66
|
-
export declare const PopoverFooter:
|
|
67
|
-
(internalProps: CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
displayName: string;
|
|
69
|
-
};
|
|
30
|
+
export declare const PopoverFooter: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
|
|
@@ -6,12 +6,12 @@ let styled_system_recipes = require("styled-system/recipes");
|
|
|
6
6
|
* @module @cerberus-design/react/components/progress-bar/primitives
|
|
7
7
|
*/
|
|
8
8
|
var { withSlotRecipe } = require_index.createCerberusPrimitive(styled_system_recipes.progressBar);
|
|
9
|
-
var ProgressBarRoot = withSlotRecipe(
|
|
9
|
+
var ProgressBarRoot = withSlotRecipe("div", "root", { defaultProps: {
|
|
10
10
|
"aria-valuemin": "0",
|
|
11
11
|
"aria-valuemax": "100",
|
|
12
12
|
role: "progressbar"
|
|
13
13
|
} });
|
|
14
|
-
var ProgressBarBar = withSlotRecipe(
|
|
14
|
+
var ProgressBarBar = withSlotRecipe("div", "bar");
|
|
15
15
|
//#endregion
|
|
16
16
|
exports.ProgressBarBar = ProgressBarBar;
|
|
17
17
|
exports.ProgressBarRoot = ProgressBarRoot;
|