@sellgar/kit 0.0.161 → 0.0.163
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.js +3906 -3877
- package/package.json +5 -5
- package/types/components/symbols/index.d.ts +1 -0
- package/types/components/symbols/input-amount/index.d.ts +1 -0
- package/types/components/symbols/input-amount/input-amount.d.ts +15 -0
- package/types/components/symbols/input-numeral/input-numeral.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellgar/kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.163",
|
|
5
5
|
"description": "Sellgar kit",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"classnames": "2.5.1",
|
|
51
51
|
"date-fns": "4.1.0",
|
|
52
52
|
"moment": "2.30.1",
|
|
53
|
-
"overlayscrollbars": "2.
|
|
53
|
+
"overlayscrollbars": "2.13.0",
|
|
54
54
|
"overlayscrollbars-react": "0.5.6",
|
|
55
55
|
"react-baron": "3.0.0",
|
|
56
56
|
"react-slider": "2.0.6"
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@storybook/react-vite": "10.
|
|
71
|
+
"@storybook/react-vite": "10.1.11",
|
|
72
72
|
"@types/react-slider": "1.3.6",
|
|
73
|
-
"@vitejs/plugin-react": "5.1.
|
|
73
|
+
"@vitejs/plugin-react": "5.1.2",
|
|
74
74
|
"typescript": "5.9.3",
|
|
75
|
-
"vite": "7.
|
|
75
|
+
"vite": "7.3.1",
|
|
76
76
|
"vite-plugin-dts": "4.5.4",
|
|
77
77
|
"vite-plugin-lib-inject-css": "2.2.2",
|
|
78
78
|
"vite-plugin-webfont-dl": "3.11.1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputAmount } from './input-amount.tsx';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { format, unformat } from '@react-input/number-format';
|
|
3
|
+
import { IProps as IInputProps } from '../input/input.tsx';
|
|
4
|
+
export interface IProps extends Omit<IInputProps, 'onChange' | 'value' | 'defaultValue'> {
|
|
5
|
+
value?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
onChange: (value: string | undefined) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const InputAmountComponent: React.FC<IProps>;
|
|
10
|
+
type TInputAmount = typeof InputAmountComponent & {
|
|
11
|
+
format: typeof format;
|
|
12
|
+
unFormat: typeof unformat;
|
|
13
|
+
};
|
|
14
|
+
export declare const InputAmount: TInputAmount;
|
|
15
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { format, unformat } from '@react-input/number-format';
|
|
3
3
|
import { IProps as IInputProps } from '../input/input.tsx';
|
|
4
|
-
export interface IProps extends IInputProps {
|
|
4
|
+
export interface IProps extends Omit<IInputProps, 'onChange'> {
|
|
5
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, unformatValue: string) => void;
|
|
5
6
|
}
|
|
6
7
|
export declare const InputNumeralComponent: React.FC<IProps>;
|
|
7
8
|
type TInputNumeral = typeof InputNumeralComponent & {
|