diditui 1.0.2 → 1.0.3

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/diditui.d.ts CHANGED
@@ -5,7 +5,6 @@ import { default as default_2 } from 'react';
5
5
  import { FC } from 'react';
6
6
  import { JSX as JSX_2 } from 'react/jsx-runtime';
7
7
  import { Props as Props_2 } from 'react-modal';
8
- import { ReactNode } from 'react';
9
8
  import { VariantProps } from 'class-variance-authority';
10
9
 
11
10
  declare type AsProp<C extends default_2.ElementType> = {
@@ -82,7 +81,7 @@ declare const iconStyles: (props?: ({
82
81
  size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
83
82
  } & ClassProp) | undefined) => string;
84
83
 
85
- export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'scan2' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'diditNameLogo' | 'close' | 'diditLogo' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'closeCircleBold' | 'checkCircle' | 'checkCircleBold' | 'refresh' | 'chevronLeft' | 'eye' | 'eyeSlash' | 'email' | 'face' | 'location' | 'scan2' | 'shieldSearch' | 'search' | 'slack' | 'wifi' | 'external';
84
+ export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'scan2' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'diditNameLogo' | 'close' | 'diditLogo' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'closeCircleBold' | 'checkCircle' | 'checkCircleBold' | 'refresh' | 'chevronLeft' | 'eye' | 'eyeSlash' | 'email' | 'face' | 'location' | 'scan2' | 'shieldSearch' | 'search' | 'slack' | 'wifi' | 'external' | 'chevronDown';
86
85
 
87
86
  /**
88
87
  * Allows for inheriting the props from the specified element type so that
@@ -125,10 +124,9 @@ declare type PolymorphicComponentPropsWithRef<C extends default_2.ElementType, P
125
124
 
126
125
  declare type PolymorphicRef<C extends default_2.ElementType> = default_2.ComponentPropsWithRef<C>['ref'];
127
126
 
128
- declare interface Props extends Props_2 {
127
+ declare type Props = Props_2 & {
129
128
  withBorder?: boolean;
130
- children?: ReactNode;
131
- }
129
+ };
132
130
 
133
131
  declare type PropsOf<C extends keyof JSX.IntrinsicElements | default_2.JSXElementConstructor<unknown>> = JSX.LibraryManagedAttributes<C, default_2.ComponentPropsWithoutRef<C>>;
134
132