@stokelp/ui 2.26.0 → 2.28.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.
@@ -0,0 +1,2 @@
1
+ export * as Avatar from './styled';
2
+ export type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from './styled';
@@ -0,0 +1,15 @@
1
+ import { Avatar } from '@ark-ui/react';
2
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import { ComponentVariants } from '../../utils/slots';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
+ import { AvatarRecipe } from '@stokelp/styled-system/recipes';
6
+
7
+ export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<Avatar.RootProps & RefAttributes<HTMLDivElement>>, {}>, AvatarRecipe>;
8
+ export declare const Image: StyledComponent<ForwardRefExoticComponent<Avatar.ImageProps & RefAttributes<HTMLImageElement>>, {}>;
9
+ export declare const Fallback: StyledComponent<ForwardRefExoticComponent<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>, {}>;
10
+ export interface AvatarProps extends ComponentProps<typeof Root> {
11
+ }
12
+ export interface AvatarImageProps extends ComponentProps<typeof Image> {
13
+ }
14
+ export interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {
15
+ }
@@ -35,4 +35,6 @@ export * from './combobox';
35
35
  export * from './icon';
36
36
  export * from './collapsible';
37
37
  export * from './dialog';
38
+ export * from './avatar';
39
+ export * from './menu';
38
40
  export * from './app';
@@ -0,0 +1,30 @@
1
+ import { Menu as ArkMenu } from '@ark-ui/react';
2
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import { ComponentVariants } from '../../utils/slots';
4
+ import { MenuRecipe } from '@stokelp/styled-system/recipes';
5
+ import { StyledComponent } from '@stokelp/styled-system/types';
6
+
7
+ export declare const Root: ComponentVariants<(props: ArkMenu.RootProps) => import("react/jsx-runtime").JSX.Element, MenuRecipe>;
8
+ export declare const Content: StyledComponent<ForwardRefExoticComponent<Omit<ArkMenu.ContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
9
+ export declare const Item: StyledComponent<ForwardRefExoticComponent<ArkMenu.ItemProps & RefAttributes<HTMLDivElement>>, {}>;
10
+ export declare const ItemGroup: StyledComponent<ForwardRefExoticComponent<ArkMenu.ItemGroupProps & RefAttributes<HTMLDivElement>>, {}>;
11
+ export declare const ItemGroupLabel: StyledComponent<ForwardRefExoticComponent<ArkMenu.ItemGroupLabelProps & RefAttributes<HTMLDivElement>>, {}>;
12
+ export declare const Separator: StyledComponent<ForwardRefExoticComponent<ArkMenu.SeparatorProps & RefAttributes<HTMLHRElement>>, {}>;
13
+ export declare const Trigger: StyledComponent<ForwardRefExoticComponent<ArkMenu.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
14
+ export declare const TriggerItem: StyledComponent<ForwardRefExoticComponent<ArkMenu.TriggerItemProps & RefAttributes<HTMLDivElement>>, {}>;
15
+ export interface MenuProps extends ComponentProps<typeof Root> {
16
+ }
17
+ export interface MenuContentProps extends ComponentProps<typeof Content> {
18
+ }
19
+ export interface MenuItemProps extends ComponentProps<typeof Item> {
20
+ }
21
+ export interface MenuItemGroupProps extends ComponentProps<typeof ItemGroup> {
22
+ }
23
+ export interface MenuItemGroupLabelProps extends ComponentProps<typeof ItemGroupLabel> {
24
+ }
25
+ export interface MenuSeparatorProps extends ComponentProps<typeof Separator> {
26
+ }
27
+ export interface MenuTriggerProps extends ComponentProps<typeof Trigger> {
28
+ }
29
+ export interface MenuTriggerItemProps extends ComponentProps<typeof TriggerItem> {
30
+ }
@@ -0,0 +1,2 @@
1
+ export * as Menu from './Menu';
2
+ export type { MenuProps, MenuContentProps, MenuItemProps, MenuItemGroupProps, MenuItemGroupLabelProps, MenuSeparatorProps, MenuTriggerProps, MenuTriggerItemProps, } from './Menu';