nexaas-ui-components 1.0.9 → 1.0.11
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.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -210,7 +210,7 @@ declare const FilterOptions: ({ icon, label, isMulti, options, onApply, onClear,
|
|
|
210
210
|
type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
211
211
|
label?: string;
|
|
212
212
|
type?: HTMLInputTypeAttribute;
|
|
213
|
-
control: any
|
|
213
|
+
control: Control<any>;
|
|
214
214
|
onClick?: any;
|
|
215
215
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
216
216
|
onBlur?: (value: any) => void;
|
|
@@ -227,7 +227,7 @@ declare const InputMoney: React__default.ForwardRefExoticComponent<Omit<InputMon
|
|
|
227
227
|
type InputNumberProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
228
228
|
label?: string;
|
|
229
229
|
type?: HTMLInputTypeAttribute;
|
|
230
|
-
control: any
|
|
230
|
+
control: Control<any>;
|
|
231
231
|
onClick?: any;
|
|
232
232
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
233
233
|
onBlur?: any;
|
|
@@ -248,7 +248,7 @@ declare namespace InputNumber {
|
|
|
248
248
|
|
|
249
249
|
type InputPercentageProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
250
250
|
label?: string;
|
|
251
|
-
control: any
|
|
251
|
+
control: Control<any>;
|
|
252
252
|
onClick?: any;
|
|
253
253
|
error?: FieldError;
|
|
254
254
|
onBlur?: any;
|
|
@@ -272,7 +272,7 @@ type MaskedInputProps = {
|
|
|
272
272
|
type?: HTMLInputTypeAttribute;
|
|
273
273
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
274
274
|
mask?: string;
|
|
275
|
-
control: any
|
|
275
|
+
control: Control<any>;
|
|
276
276
|
name: string;
|
|
277
277
|
required?: boolean;
|
|
278
278
|
onKeyUp?: KeyboardEventHandler<HTMLInputElement>;
|
package/dist/index.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ declare const FilterOptions: ({ icon, label, isMulti, options, onApply, onClear,
|
|
|
210
210
|
type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
211
211
|
label?: string;
|
|
212
212
|
type?: HTMLInputTypeAttribute;
|
|
213
|
-
control: any
|
|
213
|
+
control: Control<any>;
|
|
214
214
|
onClick?: any;
|
|
215
215
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
216
216
|
onBlur?: (value: any) => void;
|
|
@@ -227,7 +227,7 @@ declare const InputMoney: React__default.ForwardRefExoticComponent<Omit<InputMon
|
|
|
227
227
|
type InputNumberProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
228
228
|
label?: string;
|
|
229
229
|
type?: HTMLInputTypeAttribute;
|
|
230
|
-
control: any
|
|
230
|
+
control: Control<any>;
|
|
231
231
|
onClick?: any;
|
|
232
232
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
233
233
|
onBlur?: any;
|
|
@@ -248,7 +248,7 @@ declare namespace InputNumber {
|
|
|
248
248
|
|
|
249
249
|
type InputPercentageProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
250
250
|
label?: string;
|
|
251
|
-
control: any
|
|
251
|
+
control: Control<any>;
|
|
252
252
|
onClick?: any;
|
|
253
253
|
error?: FieldError;
|
|
254
254
|
onBlur?: any;
|
|
@@ -272,7 +272,7 @@ type MaskedInputProps = {
|
|
|
272
272
|
type?: HTMLInputTypeAttribute;
|
|
273
273
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
274
274
|
mask?: string;
|
|
275
|
-
control: any
|
|
275
|
+
control: Control<any>;
|
|
276
276
|
name: string;
|
|
277
277
|
required?: boolean;
|
|
278
278
|
onKeyUp?: KeyboardEventHandler<HTMLInputElement>;
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { create } from 'zustand';
|
|
|
8
8
|
import { parse, format, set, startOfWeek, endOfWeek, startOfMonth, endOfMonth, sub, subYears } from 'date-fns';
|
|
9
9
|
import { Switch, Popover, PopoverButton, PopoverPanel, Listbox, ListboxOptions, Combobox, ListboxOption } from '@headlessui/react';
|
|
10
10
|
import { Float } from '@headlessui-float/react';
|
|
11
|
-
import
|
|
11
|
+
import IntlCurrencyInput from 'react-intl-currency-input';
|
|
12
12
|
import _debounce from 'lodash/debounce';
|
|
13
13
|
import InputMask from 'react-input-mask';
|
|
14
14
|
import * as ReactModalNamespace from 'react-modal';
|
|
@@ -1703,7 +1703,6 @@ var FilterOptions = ({
|
|
|
1703
1703
|
}
|
|
1704
1704
|
);
|
|
1705
1705
|
};
|
|
1706
|
-
var IntlCurrencyInput = (IntlCurrencyInputModule == null ? void 0 : IntlCurrencyInputModule.default) || IntlCurrencyInputModule;
|
|
1707
1706
|
var InputMoney = forwardRef(
|
|
1708
1707
|
({
|
|
1709
1708
|
label,
|
|
@@ -2047,7 +2046,6 @@ function InputNumber({
|
|
|
2047
2046
|
);
|
|
2048
2047
|
}
|
|
2049
2048
|
InputNumber.displayName = "InputNumber";
|
|
2050
|
-
var IntlCurrencyInput2 = (IntlCurrencyInputModule == null ? void 0 : IntlCurrencyInputModule.default) || IntlCurrencyInputModule;
|
|
2051
2049
|
function InputPercentage({
|
|
2052
2050
|
label,
|
|
2053
2051
|
onClick,
|
|
@@ -2118,7 +2116,7 @@ function InputPercentage({
|
|
|
2118
2116
|
),
|
|
2119
2117
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2120
2118
|
/* @__PURE__ */ jsx(
|
|
2121
|
-
|
|
2119
|
+
IntlCurrencyInput,
|
|
2122
2120
|
{
|
|
2123
2121
|
...inputProps,
|
|
2124
2122
|
...field,
|