@stokelp/ui 1.41.4 → 2.0.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,10 +1,10 @@
1
- import { Checkbox as ArkCheckbox, SwitchRootProps, PolymorphicProps } from '@ark-ui/react';
1
+ import { Checkbox as ArkCheckbox, CheckboxRootProps, PolymorphicProps } from '@ark-ui/react';
2
2
  import { CheckboxCardVariantProps } from '@stokelp/styled-system/recipes';
3
3
  import { Assign, JsxStyleProps, StyledComponent } from '@stokelp/styled-system/types';
4
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 '..';
5
+ import { CheckboxProps } from '../checkbox';
6
6
 
7
- export interface CheckboxCardProps extends Assign<JsxStyleProps, SwitchRootProps>, CheckboxCardVariantProps {
7
+ export interface CheckboxCardProps extends Assign<JsxStyleProps, CheckboxRootProps>, CheckboxCardVariantProps {
8
8
  }
9
9
  export declare const CheckboxCardTitle: StyledComponent<ForwardRefExoticComponent<ArkCheckbox.LabelProps & RefAttributes<HTMLSpanElement>>, {}>;
10
10
  export declare const CheckboxCardContent: StyledComponent<"div", {}>;
@@ -8,7 +8,7 @@ export type SelectItem = {
8
8
  label: string;
9
9
  disabled?: boolean;
10
10
  };
11
- export type SelectProps = Omit<SelectRootProps<string | object>, 'items'> & {
11
+ export type SelectProps = Omit<SelectRootProps<SelectItem>, 'collection'> & {
12
12
  items: SelectItem[];
13
13
  emptyLabel?: string;
14
14
  placeholder?: string;
@@ -10,7 +10,7 @@ export type StatusTagSelectItem = {
10
10
  disabled?: boolean;
11
11
  severity?: Severity;
12
12
  };
13
- export type StatusTagSelectProps = Omit<SelectRootProps<string | object>, 'items' | 'multiple' | 'asChild'> & {
13
+ export type StatusTagSelectProps = Omit<SelectRootProps<StatusTagSelectItem>, 'collection' | 'multiple' | 'asChild'> & {
14
14
  items: StatusTagSelectItem[];
15
15
  usePortal?: boolean;
16
16
  } & HTMLStyledProps<'button'> & StatusTagSelectVariantProps;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ import { createListCollection, createToaster, parseColor, parseDate, ListCollection, DateValue } from '@ark-ui/react';
1
2
 
3
+ export { createListCollection, createToaster, parseColor, parseDate };
4
+ export type { ListCollection, DateValue };
2
5
  export * from './components';
3
6
  export { preset } from './preset';