@stokelp/ui 1.7.0 → 1.9.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,10 @@
1
+ import { DatepickerRecipe } from '@stokelp/styled-system/recipes';
2
+ import { ComponentVariants } from '../../utils/slots';
3
+ import { DatePicker as ArkDatePicker } from '@ark-ui/react';
4
+ import { ForwardRefExoticComponent, RefAttributes, ComponentProps, FC } from 'react';
5
+ declare const DatePickerRoot: ComponentVariants<ForwardRefExoticComponent<ArkDatePicker.RootProps & RefAttributes<HTMLDivElement>>, DatepickerRecipe>;
6
+ interface DatePickerRootProps extends ComponentProps<typeof DatePickerRoot> {
7
+ placeholder?: string;
8
+ }
9
+ export declare const DatePicker: FC<DatePickerRootProps>;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DatePicker';
@@ -11,3 +11,5 @@ export * from './tabs';
11
11
  export * from './select';
12
12
  export * from './input';
13
13
  export * from './box';
14
+ export * from './date-picker';
15
+ export * from './tag';
@@ -1,6 +1,10 @@
1
1
  import { InputAddonVariantProps } from '@stokelp/styled-system/recipes';
2
2
  import { StyledComponent } from '@stokelp/styled-system/jsx';
3
- import type { ComponentProps } from 'react';
4
- export declare const InputAddon: StyledComponent<"div", InputAddonVariantProps>;
3
+ import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, ComponentProps } from 'react';
4
+ export declare const InputAddon: StyledComponent<ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
6
+ } & {
7
+ asChild?: boolean | undefined;
8
+ }>, InputAddonVariantProps>;
5
9
  export interface InputAddonProps extends ComponentProps<typeof InputAddon> {
6
10
  }
@@ -0,0 +1,8 @@
1
+ import { type HTMLArkProps } from '@ark-ui/react';
2
+ import { type TagVariantProps } from '@stokelp/styled-system/recipes';
3
+ import { Assign, JsxStyleProps } from '@stokelp/styled-system/types';
4
+ import { ForwardRefExoticComponent, RefAttributes, type ReactNode } from 'react';
5
+ export interface TagProps extends Assign<JsxStyleProps, HTMLArkProps<'div'>>, TagVariantProps {
6
+ children: ReactNode;
7
+ }
8
+ export declare const Tag: ForwardRefExoticComponent<TagProps & RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from './Tag';