@stokelp/ui 1.40.1 → 1.41.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,19 @@
1
+ import { Checkbox as ArkCheckbox, SwitchRootProps, PolymorphicProps } from '@ark-ui/react';
2
+ import { CheckboxCardVariantProps } from '@stokelp/styled-system/recipes';
3
+ import { Assign, JsxStyleProps, StyledComponent } from '@stokelp/styled-system/types';
4
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, DetailedHTMLProps, ImgHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
5
+ import { CheckboxProps } from '..';
6
+
7
+ export interface CheckboxCardProps extends Assign<JsxStyleProps, SwitchRootProps>, CheckboxCardVariantProps {
8
+ }
9
+ export declare const CheckboxCardTitle: StyledComponent<ForwardRefExoticComponent<ArkCheckbox.LabelProps & RefAttributes<HTMLSpanElement>>, {}>;
10
+ export declare const CheckboxCardContent: StyledComponent<"div", {}>;
11
+ export declare const CheckboxCardDescription: StyledComponent<"p", {}>;
12
+ export declare const CheckboxCardImage: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
13
+ 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;
14
+ } & PolymorphicProps>, {}>;
15
+ export type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>;
16
+ export type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>;
17
+ export type CheckboxCardDescriptionProps = ComponentProps<typeof CheckboxCardDescription>;
18
+ export type CheckboxCardImageProps = ComponentProps<typeof CheckboxCardImage>;
19
+ export declare const CheckboxCard: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,2 @@
1
+ export type { CheckboxCardProps, CheckboxCardTitleProps, CheckboxCardDescriptionProps, CheckboxCardImageProps, CheckboxCardContentProps, } from './CheckboxCard';
2
+ export * as CheckboxCard from './namespace';
@@ -0,0 +1,2 @@
1
+ export { CheckboxCard as Root, CheckboxCardContent as Content, CheckboxCardTitle as Title, CheckboxCardDescription as Description, CheckboxCardImage as Image, } from './CheckboxCard';
2
+ export type { CheckboxCardProps as RootProps, CheckboxCardContentProps as ContentProps, CheckboxCardTitleProps as TitleProps, CheckboxCardDescriptionProps as DescriptionProps, CheckboxCardImageProps as ImageProps, } from './CheckboxCard';
@@ -27,4 +27,7 @@ export * from './pagination';
27
27
  export * from './illustration';
28
28
  export * from './button-filter';
29
29
  export * from './status-tag-select';
30
+ export * from './switch-card';
31
+ export * from './radio-card-group';
32
+ export * from './checkbox-card';
30
33
  export * from './app';
@@ -0,0 +1,28 @@
1
+ import { RadioGroup as ArkRadioGroup, PolymorphicProps } from '@ark-ui/react';
2
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, DetailedHTMLProps, ImgHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
+ import { ComponentVariants } from '../../utils/slots';
5
+ import { RadioCardGroupRecipe } from '@stokelp/styled-system/recipes';
6
+
7
+ export declare const RadioCardGroupItemTitle: StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>, {}>;
8
+ export declare const RadioCardGroupItemContent: StyledComponent<"div", {}>;
9
+ export declare const RadioCardGroupItemDescription: StyledComponent<"p", {}>;
10
+ export declare const RadioCardGroupItemImage: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
11
+ 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
+ } & PolymorphicProps>, {}>;
13
+ export declare const RadioCardGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioCardGroupRecipe>;
14
+ export declare const RadioCardGroupItem: StyledComponent<ForwardRefExoticComponent<Omit<Omit<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>, "ref">, "value"> & {
15
+ value: string | number | boolean;
16
+ } & RefAttributes<HTMLLabelElement>>, {}>;
17
+ export interface RadioCardGroupProps extends ComponentProps<typeof RadioCardGroup> {
18
+ }
19
+ export interface RadioCardGroupItemProps extends ComponentProps<typeof RadioCardGroupItem> {
20
+ }
21
+ export interface RadioCardGroupItemTitleProps extends ComponentProps<typeof RadioCardGroupItemTitle> {
22
+ }
23
+ export interface RadioCardGroupItemContentProps extends ComponentProps<typeof RadioCardGroupItemContent> {
24
+ }
25
+ export interface RadioCardGroupItemDescriptionProps extends ComponentProps<typeof RadioCardGroupItemDescription> {
26
+ }
27
+ export interface RadioCardGroupItemImageProps extends ComponentProps<typeof RadioCardGroupItemImage> {
28
+ }
@@ -0,0 +1,2 @@
1
+ export type { RadioCardGroupProps, RadioCardGroupItemProps, RadioCardGroupItemTitleProps, RadioCardGroupItemContentProps, RadioCardGroupItemDescriptionProps, RadioCardGroupItemImageProps, } from './RadioCardGroup';
2
+ export * as RadioCardGroup from './namespace';
@@ -0,0 +1,2 @@
1
+ export { RadioCardGroup as Root, RadioCardGroupItem as Item, RadioCardGroupItemTitle as ItemTitle, RadioCardGroupItemContent as ItemContent, RadioCardGroupItemDescription as ItemDescription, RadioCardGroupItemImage as ItemImage, } from './RadioCardGroup';
2
+ export type { RadioCardGroupProps as RootProps, RadioCardGroupItemProps as ItemProps, RadioCardGroupItemTitleProps as ItemTitleProps, RadioCardGroupItemContentProps as ItemContentProps, RadioCardGroupItemDescriptionProps as ItemDescriptionProps, RadioCardGroupItemImageProps as ItemImageProps, } from './RadioCardGroup';
@@ -0,0 +1,18 @@
1
+ import { Switch as ArkSwitch, SwitchRootProps, PolymorphicProps } from '@ark-ui/react';
2
+ import { SwitchCardVariantProps } from '@stokelp/styled-system/recipes';
3
+ import { Assign, JsxStyleProps, StyledComponent } from '@stokelp/styled-system/types';
4
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, DetailedHTMLProps, ImgHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
5
+
6
+ export interface SwitchCardProps extends Assign<JsxStyleProps, SwitchRootProps>, SwitchCardVariantProps {
7
+ }
8
+ export declare const SwitchCardTitle: StyledComponent<ForwardRefExoticComponent<ArkSwitch.LabelProps & RefAttributes<HTMLSpanElement>>, {}>;
9
+ export declare const SwitchCardContent: StyledComponent<"div", {}>;
10
+ export declare const SwitchCardDescription: StyledComponent<"p", {}>;
11
+ export declare const SwitchCardImage: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
12
+ 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;
13
+ } & PolymorphicProps>, {}>;
14
+ export type SwitchCardTitleProps = ComponentProps<typeof SwitchCardTitle>;
15
+ export type SwitchCardContentProps = ComponentProps<typeof SwitchCardContent>;
16
+ export type SwitchCardDescriptionProps = ComponentProps<typeof SwitchCardDescription>;
17
+ export type SwitchCardImageProps = ComponentProps<typeof SwitchCardImage>;
18
+ export declare const SwitchCard: ForwardRefExoticComponent<SwitchCardProps & RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,2 @@
1
+ export type { SwitchCardProps, SwitchCardTitleProps, SwitchCardDescriptionProps, SwitchCardImageProps, SwitchCardContentProps, } from './SwitchCard';
2
+ export * as SwitchCard from './namespace';
@@ -0,0 +1,2 @@
1
+ export { SwitchCard as Root, SwitchCardContent as Content, SwitchCardTitle as Title, SwitchCardDescription as Description, SwitchCardImage as Image, } from './SwitchCard';
2
+ export type { SwitchCardProps as RootProps, SwitchCardContentProps as ContentProps, SwitchCardTitleProps as TitleProps, SwitchCardDescriptionProps as DescriptionProps, SwitchCardImageProps as ImageProps, } from './SwitchCard';
@@ -0,0 +1,2 @@
1
+ export declare const CheckIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MinusIcon: () => import("react/jsx-runtime").JSX.Element;