@sellgar/kit 0.0.123 → 0.0.125

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sellgar/kit",
3
3
  "type": "module",
4
- "version": "0.0.123",
4
+ "version": "0.0.125",
5
5
  "description": "Sellgar kit",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -1,7 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { TIconName } from './icon.types.ts';
2
+ import { iconName, TIconName } from './icon.types.ts';
3
3
  interface IProps {
4
4
  icon: TIconName;
5
5
  }
6
- export declare const Icon: React.FC<IProps>;
6
+ export declare const IconComponent: React.FC<IProps>;
7
+ type TIcon = typeof IconComponent & typeof iconName;
8
+ export declare const Icon: TIcon;
7
9
  export {};
@@ -1,5 +1,12 @@
1
1
  import { default as React } from 'react';
2
+ import { format, unformat } from '@react-input/number-format';
2
3
  import { IProps as IInputProps } from '../input/input.tsx';
3
4
  export interface IProps extends IInputProps {
4
5
  }
5
- export declare const InputNumeral: React.FC<IProps>;
6
+ export declare const InputNumeralComponent: React.FC<IProps>;
7
+ type TInputNumeral = typeof InputNumeralComponent & {
8
+ format: typeof format;
9
+ unFormat: typeof unformat;
10
+ };
11
+ export declare const InputNumeral: TInputNumeral;
12
+ export {};