widenarrow-ui 1.0.16 → 1.0.17

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.
@@ -2,7 +2,7 @@ import React, { CSSProperties } from 'react';
2
2
  import { FlexStylingInterface, MarginInterface, PaddingInterface } from '../../types/styling.types';
3
3
  import { ColorTypes } from '../../constants';
4
4
  export interface BoxProps extends MarginInterface, PaddingInterface, FlexStylingInterface {
5
- children: React.ReactNode;
5
+ children?: React.ReactNode;
6
6
  className?: string;
7
7
  position?: string;
8
8
  borderColor?: Partial<ColorTypes>;
@@ -4,4 +4,3 @@ declare const meta: Meta<typeof DropDownItem>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof DropDownItem>;
6
6
  export declare const Primary: Story;
7
- export declare const Secondary: Story;
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from 'react';
1
+ import { MouseEvent, ReactNode } from 'react';
2
2
  import { ColorTypes, HierarchyTypes, IconTypes, SizeTypes } from '../../constants';
3
3
  export interface DropDownItemProps {
4
4
  text: string;
@@ -12,8 +12,11 @@ export interface DropDownItemProps {
12
12
  type?: HierarchyTypes.PRIMARY | HierarchyTypes.SECONDARY;
13
13
  leftIcon?: Partial<IconTypes>;
14
14
  rightIcon?: Partial<IconTypes>;
15
+ rightComponent?: ReactNode;
15
16
  iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
16
17
  iconColor?: Partial<ColorTypes>;
17
18
  textColor?: Partial<ColorTypes>;
19
+ fontSize?: string;
20
+ fontWeight?: string;
18
21
  iconClassName?: string;
19
22
  }
@@ -6,10 +6,12 @@ export interface ListSkeletonProps {
6
6
  itemClassName?: string;
7
7
  withBorderRadius?: boolean;
8
8
  withContent?: boolean;
9
+ withImage?: boolean;
9
10
  backgroundColor?: Partial<ColorTypes>;
10
11
  marginBottom?: string;
11
12
  padding?: string;
12
13
  borderColor?: Partial<ColorTypes>;
14
+ imageColor?: Partial<ColorTypes>;
13
15
  border?: '1' | '2' | '3';
14
16
  borderTop?: '1' | '2' | '3';
15
17
  borderBottom?: '1' | '2' | '3';