@stokelp/ui 1.6.0 → 1.6.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/Accordion.d.ts +6 -6
- package/dist/components/drawer/Drawer.d.ts +8 -8
- package/dist/components/tabs/Tabs.d.ts +6 -6
- package/dist/ui.cjs +56 -56
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +14890 -16253
- package/dist/ui.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AccordionRecipe } from '@stokelp/styled-system/recipes';
|
|
2
|
-
import { AccordionRootProps, AccordionItemProps, AccordionItemContentProps, AccordionItemIndicatorProps, AccordionItemTriggerProps } from '@ark-ui/react/accordion';
|
|
3
2
|
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
4
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
|
+
import { Accordion as ArkAccordion } from '@ark-ui/react/accordion';
|
|
5
5
|
import { ForwardRefExoticComponent, RefAttributes, ComponentProps } from 'react';
|
|
6
|
-
export declare const Accordion: ComponentVariants<StyledComponent<ForwardRefExoticComponent<
|
|
7
|
-
export declare const AccordionItem: StyledComponent<ForwardRefExoticComponent<
|
|
8
|
-
export declare const AccordionItemContent: StyledComponent<ForwardRefExoticComponent<
|
|
9
|
-
export declare const AccordionItemIndicator: StyledComponent<ForwardRefExoticComponent<
|
|
10
|
-
export declare const AccordionItemTrigger: StyledComponent<ForwardRefExoticComponent<
|
|
6
|
+
export declare const Accordion: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkAccordion.RootProps & RefAttributes<HTMLDivElement>>, {}>, AccordionRecipe>;
|
|
7
|
+
export declare const AccordionItem: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
8
|
+
export declare const AccordionItemContent: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemContentProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
|
+
export declare const AccordionItemIndicator: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemIndicatorProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
10
|
+
export declare const AccordionItemTrigger: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
11
11
|
export interface AccordionProps extends ComponentProps<typeof Accordion> {
|
|
12
12
|
}
|
|
13
13
|
export interface AccordionItemProps extends ComponentProps<typeof AccordionItem> {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
2
2
|
import { DrawerRecipe } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
|
-
import { DialogRootProps, DialogCloseTriggerProps, DialogTitleProps, DialogTriggerProps, DialogPositionerProps, DialogBackdropProps, DialogContentProps } from '@ark-ui/react';
|
|
5
4
|
import { ComponentVariants } from '../../utils/slots';
|
|
5
|
+
import { Dialog as ArkDrawer } from '@ark-ui/react/dialog';
|
|
6
6
|
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, ComponentProps } from 'react';
|
|
7
|
-
export declare const Drawer: ComponentVariants<(props:
|
|
7
|
+
export declare const Drawer: ComponentVariants<(props: ArkDrawer.RootProps) => JSX.Element, DrawerRecipe>;
|
|
8
8
|
export declare const DrawerBody: StyledComponent<ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLElement | null) => void) | RefObject<HTMLElement> | null | undefined;
|
|
10
10
|
} & {
|
|
11
11
|
asChild?: boolean | undefined;
|
|
12
12
|
}>, {}>;
|
|
13
|
-
export declare const DrawerCloseTrigger: StyledComponent<ForwardRefExoticComponent<
|
|
13
|
+
export declare const DrawerCloseTrigger: StyledComponent<ForwardRefExoticComponent<ArkDrawer.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
14
14
|
export declare const DrawerFooter: StyledComponent<ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
15
15
|
ref?: ((instance: HTMLElement | null) => void) | RefObject<HTMLElement> | null | undefined;
|
|
16
16
|
} & {
|
|
@@ -23,11 +23,11 @@ export declare const DrawerHeader: ForwardRefExoticComponent<Omit<Omit<DetailedH
|
|
|
23
23
|
}, "ref"> & {
|
|
24
24
|
showCloseTrigger?: boolean | undefined;
|
|
25
25
|
} & RefAttributes<HTMLElement>>;
|
|
26
|
-
export declare const DrawerTitle: StyledComponent<ForwardRefExoticComponent<
|
|
27
|
-
export declare const DrawerTrigger: StyledComponent<ForwardRefExoticComponent<
|
|
28
|
-
declare const DrawerPositioner: StyledComponent<ForwardRefExoticComponent<
|
|
29
|
-
declare const DrawerBackdrop: StyledComponent<ForwardRefExoticComponent<
|
|
30
|
-
export declare const DrawerContent: StyledComponent<ForwardRefExoticComponent<Omit<
|
|
26
|
+
export declare const DrawerTitle: StyledComponent<ForwardRefExoticComponent<ArkDrawer.TitleProps & RefAttributes<HTMLHeadingElement>>, {}>;
|
|
27
|
+
export declare const DrawerTrigger: StyledComponent<ForwardRefExoticComponent<ArkDrawer.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
28
|
+
declare const DrawerPositioner: StyledComponent<ForwardRefExoticComponent<ArkDrawer.PositionerProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
29
|
+
declare const DrawerBackdrop: StyledComponent<ForwardRefExoticComponent<ArkDrawer.BackdropProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
30
|
+
export declare const DrawerContent: StyledComponent<ForwardRefExoticComponent<Omit<ArkDrawer.ContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
|
|
31
31
|
export interface DrawerProps extends ComponentProps<typeof Drawer> {
|
|
32
32
|
}
|
|
33
33
|
export interface DrawerBackdropProps extends ComponentProps<typeof DrawerBackdrop> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { TabsRecipe } from '@stokelp/styled-system/recipes';
|
|
2
|
-
import { TabsRootProps, TabContentProps, TabTriggerProps, TabIndicatorProps, TabListProps } from '@ark-ui/react/tabs';
|
|
3
2
|
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
4
3
|
import { ComponentVariants } from '../../utils/slots.tsx';
|
|
4
|
+
import { Tabs as ArkTab } from '@ark-ui/react/tabs';
|
|
5
5
|
import { ForwardRefExoticComponent, RefAttributes, ComponentProps } from 'react';
|
|
6
|
-
export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<
|
|
7
|
-
export declare const TabsContent: StyledComponent<ForwardRefExoticComponent<
|
|
8
|
-
export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<
|
|
9
|
-
declare const TabsIndicator: StyledComponent<ForwardRefExoticComponent<
|
|
10
|
-
export declare const TabsList: StyledComponent<ForwardRefExoticComponent<Omit<
|
|
6
|
+
export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkTab.RootProps & RefAttributes<HTMLDivElement>>, {}>, TabsRecipe>;
|
|
7
|
+
export declare const TabsContent: StyledComponent<ForwardRefExoticComponent<ArkTab.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
8
|
+
export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<ArkTab.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
9
|
+
declare const TabsIndicator: StyledComponent<ForwardRefExoticComponent<ArkTab.IndicatorProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
10
|
+
export declare const TabsList: StyledComponent<ForwardRefExoticComponent<Omit<ArkTab.ListProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
|
|
11
11
|
export interface TabsProps extends ComponentProps<typeof Tabs> {
|
|
12
12
|
}
|
|
13
13
|
export interface TabsContentProps extends ComponentProps<typeof TabsContent> {
|