@stokelp/ui 2.7.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.
- package/dist/components/app/index.d.ts +1 -0
- package/dist/components/app/navigation/index.d.ts +2 -0
- package/dist/components/app/navigation/styled.d.ts +32 -0
- package/dist/components/icon/Icon.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/theme/recipes/app/navigation.d.ts +2 -0
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/ui.cjs +10 -10
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +2386 -2261
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactElement, ReactNode
|
|
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:
|
|
8
|
+
export declare const Icon: FC<IconProps>;
|