@stokelp/ui 2.6.0 → 2.8.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.
@@ -1,2 +1,3 @@
1
1
  export * from './price-tag';
2
2
  export * from './product-card-catalog';
3
+ export * from './navigation';
@@ -0,0 +1,2 @@
1
+ export * as AppNavigation from './styled';
2
+ export type { AppNavigationProps, AppNavigationHeaderProps, AppNavigationBodyProps, AppNavigationItemProps, AppNavigationItemSubItemsProps, AppNavigationItemContentProps, AppNavigationItemLabelProps, AppNavigationItemIconProps, AppNavigationFooterProps, } from './styled';
@@ -0,0 +1,32 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { ComponentVariants } from '../../../utils/slots';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
+ import { AppNavigationRecipe } from '@stokelp/styled-system/recipes';
5
+ import { IconProps } from '../../icon/Icon';
6
+
7
+ export declare const Root: ComponentVariants<StyledComponent<"nav", {}>, AppNavigationRecipe>;
8
+ export declare const Header: StyledComponent<"header", {}>;
9
+ export declare const Body: StyledComponent<"main", {}>;
10
+ export declare const Item: StyledComponent<"div", {}>;
11
+ export declare const ItemSubItems: StyledComponent<"div", {}>;
12
+ export declare const ItemContent: StyledComponent<"div", {}>;
13
+ export declare const ItemLabel: StyledComponent<"p", {}>;
14
+ export declare const ItemIcon: FC<IconProps>;
15
+ export declare const Footer: StyledComponent<"footer", {}>;
16
+ export interface AppNavigationProps extends ComponentProps<typeof Root> {
17
+ }
18
+ export interface AppNavigationHeaderProps extends ComponentProps<typeof Header> {
19
+ }
20
+ export interface AppNavigationBodyProps extends ComponentProps<typeof Body> {
21
+ }
22
+ export interface AppNavigationItemProps extends ComponentProps<typeof Item> {
23
+ }
24
+ export interface AppNavigationItemSubItemsProps extends ComponentProps<typeof ItemSubItems> {
25
+ }
26
+ export interface AppNavigationItemContentProps extends ComponentProps<typeof ItemContent> {
27
+ }
28
+ export type AppNavigationItemLabelProps = ComponentProps<typeof ItemLabel>;
29
+ export interface AppNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {
30
+ }
31
+ export interface AppNavigationFooterProps extends ComponentProps<typeof Footer> {
32
+ }
@@ -0,0 +1,2 @@
1
+ export * as Collapsible from './styled';
2
+ export type { CollapsibleProps, CollapsibleContentProps, CollapsibleTriggerProps } from './styled';
@@ -0,0 +1,15 @@
1
+ import { Collapsible as ArkCollapsible } 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 { CollapsibleRecipe } from '@stokelp/styled-system/recipes';
6
+
7
+ export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkCollapsible.RootProps & RefAttributes<HTMLDivElement>>, {}>, CollapsibleRecipe>;
8
+ export declare const Content: StyledComponent<ForwardRefExoticComponent<ArkCollapsible.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
9
+ export declare const Trigger: StyledComponent<ForwardRefExoticComponent<ArkCollapsible.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
10
+ export interface CollapsibleProps extends ComponentProps<typeof Root> {
11
+ }
12
+ export interface CollapsibleContentProps extends ComponentProps<typeof Content> {
13
+ }
14
+ export interface CollapsibleTriggerProps extends ComponentProps<typeof Trigger> {
15
+ }
@@ -1,8 +1,8 @@
1
- import { ReactElement, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
1
+ import { FC, ReactElement, ReactNode } from 'react';
2
2
  import { HTMLStyledProps } from '@stokelp/styled-system/jsx';
3
3
  import { IconVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  export interface IconProps extends IconVariantProps, HTMLStyledProps<'svg'> {
6
6
  children: ReactElement | ReactNode;
7
7
  }
8
- export declare const Icon: ForwardRefExoticComponent<Omit<IconProps, "ref"> & RefAttributes<SVGSVGElement>>;
8
+ export declare const Icon: FC<IconProps>;
@@ -32,4 +32,5 @@ export * from './radio-card-group';
32
32
  export * from './checkbox-card';
33
33
  export * from './combobox';
34
34
  export * from './icon';
35
+ export * from './collapsible';
35
36
  export * from './app';