@producteca/producteca-ui-kit 1.2.4 → 1.3.1

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.
@@ -3,3 +3,5 @@ export { CloseIcon } from './closeIcon/closeIcon';
3
3
  export { SearchIcon } from './searchIcon/searchIcon';
4
4
  export { MailIcon } from './mailIcon/mailIcon';
5
5
  export { FileIcon } from './fileIcon/fileIcon';
6
+ export { PriceDownIcon } from './priceDownIcon/priceDownIcon';
7
+ export { PriceCloseIcon } from './priceCloseIcon/priceCloseIcon';
@@ -0,0 +1,5 @@
1
+ import { IconInterface } from '../parameters';
2
+
3
+ export declare const PriceCloseIcon: ({ size, color }: IconInterface) => import("react/jsx-runtime").JSX.Element;
4
+ export type { IconInterface };
5
+ export default PriceCloseIcon;
@@ -0,0 +1,5 @@
1
+ import { IconInterface } from '../parameters';
2
+
3
+ export declare const PriceDownIcon: ({ size, color }: IconInterface) => import("react/jsx-runtime").JSX.Element;
4
+ export type { IconInterface };
5
+ export default PriceDownIcon;
@@ -1,18 +1,18 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  export interface ToggleItem {
4
- id?: string;
4
+ id: string;
5
5
  label: string;
6
6
  isChecked?: boolean;
7
7
  isDisabled?: boolean;
8
8
  }
9
9
  export interface ToggleInputProps {
10
- title?: string;
11
10
  name: string;
12
- type: 'checkbox' | 'radio';
13
11
  items: ToggleItem[];
14
12
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
15
- size: 'sm' | 'md' | 'lg';
13
+ title?: string;
14
+ type?: 'checkbox' | 'radio';
15
+ size?: 'sm' | 'md' | 'lg';
16
16
  }
17
- export declare const ToggleInputList: React.FC<ToggleInputProps>;
18
- export default ToggleInputList;
17
+ export declare const ToggleInput: React.FC<ToggleInputProps>;
18
+ export default ToggleInput;
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './components';
2
+ export * from './styles/colors';