@stokelp/ui 2.36.0 → 2.37.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 +1,2 @@
1
1
  export * as ProductCardCatalog from './styled';
2
+ export type { ProductCardCatalogProps, ProductCardCatalogImageProps, ProductCardCatalogTitleProps, ProductCardCatalogHighlightProps, ProductCardCatalogContentProps, ProductCardCatalogDescriptionProps, ProductCardCatalogTagProps, ProductCardCatalogBadgeListProps, ProductCardCatalogBadgeProps, ProductCardCatalogShortLivedTagProps, ProductCardCatalogImageContainerProps, } from './styled';
@@ -1,15 +1,61 @@
1
+ import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, ImgHTMLAttributes } from 'react';
1
2
  import { ComponentVariants } from '../../../utils/slots';
2
3
  import { StyledComponent } from '@stokelp/styled-system/types';
3
- import { ProductCardCatalogRecipe } from '@stokelp/styled-system/recipes';
4
- import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, ImgHTMLAttributes } from 'react';
5
4
  import { PolymorphicProps } from '@ark-ui/react';
6
- export declare const Root: ComponentVariants<StyledComponent<"div", {}>, ProductCardCatalogRecipe>;
5
+ import { ProductCardCatalogRecipe } from '@stokelp/styled-system/recipes';
6
+
7
+ export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
9
+ } & PolymorphicProps>, {}>, ProductCardCatalogRecipe>;
7
10
  export declare const Title: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
8
11
  ref?: ((instance: HTMLHeadingElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLHeadingElement> | null | undefined;
9
12
  } & PolymorphicProps>, {}>;
10
13
  export declare const Image: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
11
14
  ref?: ((instance: HTMLImageElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLImageElement> | null | undefined;
12
15
  } & PolymorphicProps>, {}>;
13
- export declare const Content: StyledComponent<"div", {}>;
14
- export declare const Description: StyledComponent<"p", {}>;
15
- export declare const Highlight: StyledComponent<"span", {}>;
16
+ export declare const ImageContainer: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
+ ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
18
+ } & PolymorphicProps>, {}>;
19
+ export declare const Content: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
+ ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
21
+ } & PolymorphicProps>, {}>;
22
+ export declare const Description: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
23
+ ref?: ((instance: HTMLParagraphElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLParagraphElement> | null | undefined;
24
+ } & PolymorphicProps>, {}>;
25
+ export declare const Highlight: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
26
+ ref?: ((instance: HTMLSpanElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLSpanElement> | null | undefined;
27
+ } & PolymorphicProps>, {}>;
28
+ export declare const Tag: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
29
+ ref?: ((instance: HTMLSpanElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLSpanElement> | null | undefined;
30
+ } & PolymorphicProps>, {}>;
31
+ export declare const BadgeList: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
32
+ ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
33
+ } & PolymorphicProps>, {}>;
34
+ export declare const Badge: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
35
+ ref?: ((instance: HTMLSpanElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLSpanElement> | null | undefined;
36
+ } & PolymorphicProps>, {}>;
37
+ export declare const ShortLivedTag: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
38
+ ref?: ((instance: HTMLSpanElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLSpanElement> | null | undefined;
39
+ } & PolymorphicProps>, {}>;
40
+ export interface ProductCardCatalogProps extends ComponentProps<typeof Root> {
41
+ }
42
+ export interface ProductCardCatalogTitleProps extends ComponentProps<typeof Title> {
43
+ }
44
+ export interface ProductCardCatalogImageProps extends ComponentProps<typeof Image> {
45
+ }
46
+ export interface ProductCardCatalogImageContainerProps extends ComponentProps<typeof ImageContainer> {
47
+ }
48
+ export interface ProductCardCatalogContentProps extends ComponentProps<typeof Content> {
49
+ }
50
+ export interface ProductCardCatalogDescriptionProps extends ComponentProps<typeof Description> {
51
+ }
52
+ export interface ProductCardCatalogHighlightProps extends ComponentProps<typeof Highlight> {
53
+ }
54
+ export interface ProductCardCatalogTagProps extends ComponentProps<typeof Tag> {
55
+ }
56
+ export interface ProductCardCatalogBadgeListProps extends ComponentProps<typeof BadgeList> {
57
+ }
58
+ export interface ProductCardCatalogBadgeProps extends ComponentProps<typeof Badge> {
59
+ }
60
+ export interface ProductCardCatalogShortLivedTagProps extends ComponentProps<typeof ShortLivedTag> {
61
+ }