@stokelp/ui 1.20.0 → 1.21.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/drawer/Drawer.d.ts +4 -1
- package/dist/components/form/FormLabel.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +342 -314
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dialog as ArkDrawer, PolymorphicProps } from '@ark-ui/react';
|
|
2
|
-
import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, RefAttributes } from 'react';
|
|
2
|
+
import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, RefAttributes, ReactNode } from 'react';
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { DrawerRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
@@ -22,6 +22,7 @@ export declare const DrawerTrigger: StyledComponent<ForwardRefExoticComponent<Ar
|
|
|
22
22
|
declare const DrawerPositioner: StyledComponent<ForwardRefExoticComponent<ArkDrawer.PositionerProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
23
23
|
declare const DrawerBackdrop: StyledComponent<ForwardRefExoticComponent<ArkDrawer.BackdropProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
24
24
|
export declare const DrawerContent: StyledComponent<ForwardRefExoticComponent<Omit<ArkDrawer.ContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
|
|
25
|
+
export declare const DrawerContext: (props: ArkDrawer.ContextProps) => ReactNode;
|
|
25
26
|
export interface DrawerProps extends ComponentProps<typeof Drawer> {
|
|
26
27
|
}
|
|
27
28
|
export interface DrawerBackdropProps extends ComponentProps<typeof DrawerBackdrop> {
|
|
@@ -42,4 +43,6 @@ export interface DrawerTitleProps extends ComponentProps<typeof DrawerTitle> {
|
|
|
42
43
|
}
|
|
43
44
|
export interface DrawerTriggerProps extends ComponentProps<typeof DrawerTrigger> {
|
|
44
45
|
}
|
|
46
|
+
export interface DrawerContextProps extends ComponentProps<typeof DrawerContext> {
|
|
47
|
+
}
|
|
45
48
|
export {};
|
|
@@ -5,6 +5,7 @@ import { FormLabelVariantProps } from '@stokelp/styled-system/recipes';
|
|
|
5
5
|
declare const StyledFormLabel: StyledComponent<"label", FormLabelVariantProps>;
|
|
6
6
|
export interface FormLabelProps extends ComponentProps<typeof StyledFormLabel> {
|
|
7
7
|
addon?: ReactNode;
|
|
8
|
+
tooltipInformation?: ReactNode;
|
|
8
9
|
}
|
|
9
10
|
export declare const FormLabel: FC<FormLabelProps>;
|
|
10
11
|
export {};
|