@equisoft/design-elements-react 9.2.2-snapshot.20250228153757 → 9.2.2-snapshot.20250301202316

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.
@@ -0,0 +1 @@
1
+ export { NumericInput, type NumericInputProps } from './numeric-input';
@@ -2,7 +2,7 @@ import { HTMLProps, ReactNode, VoidFunctionComponent } from 'react';
2
2
  import { TooltipProps } from '../tooltip/tooltip';
3
3
  import { UseNumericInputParams } from './use-numeric-input';
4
4
  type NativeInputProps = Pick<HTMLProps<HTMLInputElement>, 'disabled' | 'onFocus' | 'placeholder'>;
5
- interface NumericInputProps extends NativeInputProps {
5
+ export interface NumericInputProps extends NativeInputProps {
6
6
  adornment?: ReactNode;
7
7
  adornmentPosition?: 'start' | 'end';
8
8
  className?: string;
@@ -1,9 +1,10 @@
1
+ import { type ClipboardEvent } from 'react';
1
2
  /**
2
3
  * We allow to input incomplete number that is obvious. It's similar to the behavior of Number(value).
3
4
  * The difference is we can keep all digits (zero ending decimals).
4
5
  */
5
6
  export declare function cleanIncompleteNumber(inputValue: string): string;
6
- export declare function cleanPastedContent(content: string): string;
7
+ export declare function replacePastedValue(event: ClipboardEvent<HTMLInputElement>): string;
7
8
  /**
8
9
  * Validate that value can be put in the input (including partially incomplete number)
9
10
  */
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export { Combobox, ComboboxOption } from './components/combobox/combobox';
16
16
  export { Datepicker, DatepickerHandles } from './components/date-picker/date-picker';
17
17
  export { DropdownList, DropdownListOption } from './components/dropdown-list/dropdown-list';
18
18
  export * from './components/money-input';
19
- export { NumericInput } from './components/numeric-input/numeric-input';
19
+ export * from './components/numeric-input';
20
20
  export { PasswordCreationInput } from './components/password-creation-input/password-creation-input';
21
21
  export { PasswordInput } from './components/password-input/password-input';
22
22
  export { PhoneInput } from './components/phone-input/phone-input';
@@ -1,2 +1,3 @@
1
1
  export declare function allSameLetter(text: string): boolean;
2
2
  export declare function stripDiacritics(input: string): string;
3
+ export declare function replaceRange(value: string, start: number, end: number, replacement: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "9.2.2-snapshot.20250228153757",
3
+ "version": "9.2.2-snapshot.20250301202316",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",