@thx/controls 15.1.0 → 15.1.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.
- package/dist/inputs/Scriptel/withScriptel.d.ts +1 -0
- package/dist/inputs/TableInput/DropdownCell.d.ts +1 -0
- package/dist/inputs/TableInput/HoverCell.d.ts +1 -0
- package/dist/inputs/TableInput/MoneyCell.d.ts +1 -0
- package/dist/inputs/TableInput/MoneyEditCell.d.ts +1 -0
- package/dist/inputs/TableInput/MoneySumFooter.d.ts +1 -0
- package/dist/inputs/TableInput/StringEditCell.d.ts +1 -0
- package/package.json +5 -5
- package/dist/date/DatePicker/datepicker.stories.d.ts +0 -7
- package/dist/date/LocalDatePicker/localdatepicker.stories.d.ts +0 -8
- package/dist/date/LocalDatePicker/maskeddateinput.stories.d.ts +0 -5
- package/dist/date/LocalMonthSelect/localmonthselect.stories.d.ts +0 -6
- package/dist/date/LocalTimePicker/localtimepicker.stories.d.ts +0 -7
- package/dist/date/LocalTimePicker/maskedtimeinput.stories.d.ts +0 -7
- package/dist/date/MonthDayPicker/monthdaypicker.stories.d.ts +0 -7
- package/dist/date/MonthYearPicker/monthyearpicker.stories.d.ts +0 -8
- package/dist/date/YearSelect/yearselect.stories.d.ts +0 -7
- package/dist/form/TForm/addeditforms.stories.d.ts +0 -30
- package/dist/form/TForm/tform.stories.d.ts +0 -7
- package/dist/inputs/CreditCardInput/creditcardinput.stories.d.ts +0 -5
- package/dist/inputs/MaskedInput/maskedinput.stories.d.ts +0 -6
- package/dist/inputs/PhoneInput/phoneinput.stories.d.ts +0 -5
- package/dist/inputs/RadioGroup/radiogroup.stories.d.ts +0 -6
- package/dist/inputs/ScriptelInput/scriptelnput.stories.d.ts +0 -5
- package/dist/inputs/SinInput/sininput.stories.d.ts +0 -5
- package/dist/inputs/TableInput/main.story.d.ts +0 -7
- package/dist/inputs/TableInput/tableinput.stories.d.ts +0 -6
- package/dist/inputs/TableInput/withHover.story.d.ts +0 -7
- package/dist/money/MoneyCurrencyInput/moneycurrencyinput.stories.d.ts +0 -5
- package/dist/money/MoneyInput/moneyinput.stories.d.ts +0 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { DropdownProps } from 'semantic-ui-react';
|
|
2
3
|
import type { TableCellProps } from './TableInput';
|
|
3
4
|
export declare function DropdownCell<D extends Record<string, unknown>>(dropdownProps: DropdownProps): (props: TableCellProps<D>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.1",
|
|
4
4
|
"description": "A collection of components designed with SemanticUI.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/thr-addons/issues"
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@js-joda/core": "^4.0.0",
|
|
40
|
-
"@thx/date": "^15.
|
|
41
|
-
"@thx/money": "^15.
|
|
42
|
-
"@thx/yup-types": "^15.1.
|
|
40
|
+
"@thx/date": "^15.1.1",
|
|
41
|
+
"@thx/money": "^15.1.1",
|
|
42
|
+
"@thx/yup-types": "^15.1.1",
|
|
43
43
|
"@types/inputmask": "^5.0.1",
|
|
44
44
|
"@types/react-datepicker": "^4.1.7",
|
|
45
45
|
"credit-card-type": "^9.1.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "71c2dabf3b35fc12e48244dfc8a84bfa5a5bf3f7"
|
|
77
77
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import { DatePicker } from './index';
|
|
4
|
-
import './styles.css';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Primary: ComponentStory<typeof DatePicker>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { LocalDatePicker } from './LocalDatePicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof LocalDatePicker>;
|
|
8
|
-
export declare const WithMinMaxDates: ComponentStory<typeof LocalDatePicker>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MaskedDateInput } from './MaskedDateInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MaskedDateInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import '../DatePicker/styles.css';
|
|
3
|
-
import { LocalMonthSelect } from './LocalMonthSelect';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Main: ComponentStory<typeof LocalMonthSelect>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { LocalTimePicker } from './LocalTimePicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof LocalTimePicker>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
4
|
-
import '../DatePicker/styles.css';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<React.ForwardRefExoticComponent<Pick<import("./MaskedTimeInput").MaskedTimeInputProps & Omit<import("../..").MaskedInputProps, "onChange">, string | number> & React.RefAttributes<unknown>>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { MonthDayPicker } from './MonthDayPicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof MonthDayPicker>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { MonthYearPicker } from './MonthYearPicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof MonthYearPicker>;
|
|
8
|
-
export declare const WithMinMaxDates: ComponentStory<typeof MonthYearPicker>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { YearSelect } from './YearSelect';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof YearSelect>;
|
|
6
|
-
export declare const WithError: ComponentStory<typeof YearSelect>;
|
|
7
|
-
export declare const WithMinMaxYears: ComponentStory<typeof YearSelect>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import type { TFormConfig } from './types';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
interface LockedEditForm {
|
|
7
|
-
id: string;
|
|
8
|
-
version: number;
|
|
9
|
-
}
|
|
10
|
-
interface AddressFormType {
|
|
11
|
-
line1: string;
|
|
12
|
-
line2?: string;
|
|
13
|
-
}
|
|
14
|
-
declare type AddressEditFormType = AddressFormType & LockedEditForm;
|
|
15
|
-
export declare const AddressCreateForm: {
|
|
16
|
-
(args: {
|
|
17
|
-
onSubmit: (value: any) => any;
|
|
18
|
-
}): JSX.Element;
|
|
19
|
-
args: {
|
|
20
|
-
enableReinitialize: boolean;
|
|
21
|
-
loading: boolean;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const AddressEditForm: {
|
|
25
|
-
(args: TFormConfig<AddressEditFormType>): JSX.Element;
|
|
26
|
-
args: {
|
|
27
|
-
enableReinitialize: boolean;
|
|
28
|
-
loading: boolean;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Main: ComponentStory<any>;
|
|
5
|
-
export declare const WithError: ComponentStory<any>;
|
|
6
|
-
export declare const UsingHooks: ComponentStory<any>;
|
|
7
|
-
export declare const OutsideSubmit: ComponentStory<any>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { CreditCardInput } from './CreditCardInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof CreditCardInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MaskedInput } from './MaskedInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MaskedInput>;
|
|
6
|
-
export declare const AutoUnmask: ComponentStory<typeof MaskedInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { RadioGroup } from './RadioGroup';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof RadioGroup>;
|
|
6
|
-
export declare const WithoutRadioGroup: ComponentStory<typeof RadioGroup>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MoneyCurrencyInput } from './MoneyCurrencyInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MoneyCurrencyInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MoneyInput } from './MoneyInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MoneyInput>;
|
|
6
|
-
export declare const MoreDecimals: ComponentStory<typeof MoneyInput>;
|