@app-studio/web 0.9.89 → 0.9.91

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/index.d.ts CHANGED
@@ -10,8 +10,8 @@ import { Country } from './CountryPicker.type';
10
10
  import { CountryPickerStyles } from './CountryPicker.type';
11
11
  import { DatePickerStyles } from './DatePicker.type';
12
12
  import { default as default_2 } from 'react';
13
+ import { default as default_3 } from 'lucide-react/dynamicIconImports';
13
14
  import { Dispatch } from 'react';
14
- import { DynamicIconComponentProps } from 'lucide-react/dynamic';
15
15
  import { Elevation } from '../../../utils/elevation';
16
16
  import { Elevation as Elevation_2 } from '../../../../utils/elevation';
17
17
  import { IconPosition } from './Button.type';
@@ -3342,6 +3342,8 @@ export declare interface HoverCardType extends default_2.FC<HoverCardProps> {
3342
3342
 
3343
3343
  export declare const Icon: default_2.FC<IconProps>;
3344
3344
 
3345
+ export declare type IconName = keyof typeof default_3;
3346
+
3345
3347
  export declare const IconPicker: default_2.FC<IconPickerProps>;
3346
3348
 
3347
3349
  export declare interface IconPickerProps extends Omit<ViewProps, 'onChange'> {
@@ -3350,9 +3352,9 @@ export declare interface IconPickerProps extends Omit<ViewProps, 'onChange'> {
3350
3352
  label?: string;
3351
3353
  placeholder?: string;
3352
3354
  helperText?: string;
3353
- value?: string;
3354
- defaultValue?: string;
3355
- onChange?: (iconName: string) => void;
3355
+ value?: IconName;
3356
+ defaultValue?: IconName;
3357
+ onChange?: (iconName: IconName) => void;
3356
3358
  views?: IconPickerStyles;
3357
3359
  size?: Size_21;
3358
3360
  shape?: Shape_18;
@@ -3380,11 +3382,11 @@ declare type IconPickerStyles = {
3380
3382
 
3381
3383
  export declare interface IconPickerViewProps extends IconPickerProps {
3382
3384
  isOpen: boolean;
3383
- selectedIcon: string;
3385
+ selectedIcon?: IconName;
3384
3386
  searchQuery: string;
3385
- filteredIcons: string[];
3387
+ filteredIcons: IconName[];
3386
3388
  handleToggle: () => void;
3387
- handleIconSelect: (iconName: string) => void;
3389
+ handleIconSelect: (iconName: IconName) => void;
3388
3390
  handleSearchChange: (query: string) => void;
3389
3391
  handleClose: () => void;
3390
3392
  triggerRef: React.RefObject<HTMLDivElement>;
@@ -3395,9 +3397,10 @@ export declare interface IconProps extends Omit<ViewProps, 'orientation'> {
3395
3397
  color?: string;
3396
3398
  filled?: boolean;
3397
3399
  orientation?: 'left' | 'right' | 'up' | 'down';
3398
- name?: DynamicIconComponentProps['name'];
3400
+ name?: IconName;
3399
3401
  strokeWidth?: number | string;
3400
3402
  size?: number | string;
3403
+ fallback?: default_2.ReactNode;
3401
3404
  }
3402
3405
 
3403
3406
  export declare const ImageIcon: {