@thx/controls 15.3.0 → 15.3.1-alpha.10
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/LICENSE +1 -1
- package/dist/esm/date/DatePicker/styles.css.js +7 -0
- package/dist/esm/date/DatePicker/styles.css.js.map +1 -0
- package/dist/esm/date/LocalDatePicker/LocalDatePicker.js +71 -0
- package/dist/esm/date/LocalDatePicker/LocalDatePicker.js.map +1 -0
- package/dist/esm/date/LocalDatePicker/MaskedDateInput.js +22 -0
- package/dist/esm/date/LocalDatePicker/MaskedDateInput.js.map +1 -0
- package/dist/esm/date/LocalMonthSelect/LocalMonthSelect.js +43 -0
- package/dist/esm/date/LocalMonthSelect/LocalMonthSelect.js.map +1 -0
- package/dist/esm/date/LocalTimePicker/LocalTimePicker.js +76 -0
- package/dist/esm/date/LocalTimePicker/LocalTimePicker.js.map +1 -0
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js +21 -0
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js.map +1 -0
- package/dist/esm/date/MonthDayPicker/MonthDayPicker.js +86 -0
- package/dist/esm/date/MonthDayPicker/MonthDayPicker.js.map +1 -0
- package/dist/esm/date/MonthYearPicker/MonthYearPicker.js +73 -0
- package/dist/esm/date/MonthYearPicker/MonthYearPicker.js.map +1 -0
- package/dist/esm/date/YearSelect/YearSelect.js +62 -0
- package/dist/esm/date/YearSelect/YearSelect.js.map +1 -0
- package/dist/esm/external/style-inject/dist/style-inject.es.js +29 -0
- package/dist/esm/external/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/esm/form/TForm/TForm.js +29 -0
- package/dist/esm/form/TForm/TForm.js.map +1 -0
- package/dist/esm/form/TForm/useTForm.js +90 -0
- package/dist/esm/form/TForm/useTForm.js.map +1 -0
- package/dist/esm/index.js +33 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/inputs/CreditCardInput/CreditCardInput.js +71 -0
- package/dist/esm/inputs/CreditCardInput/CreditCardInput.js.map +1 -0
- package/dist/esm/inputs/CreditCardInput/CreditCardNumberInput.js +76 -0
- package/dist/esm/inputs/CreditCardInput/CreditCardNumberInput.js.map +1 -0
- package/dist/esm/inputs/CreditCardInput/styles.css.js +7 -0
- package/dist/esm/inputs/CreditCardInput/styles.css.js.map +1 -0
- package/dist/esm/inputs/MaskedInput/MaskedInput.js +21 -0
- package/dist/esm/inputs/MaskedInput/MaskedInput.js.map +1 -0
- package/dist/esm/inputs/MaskedInput/useMaskedInput.js +58 -0
- package/dist/esm/inputs/MaskedInput/useMaskedInput.js.map +1 -0
- package/dist/esm/inputs/PhoneInput/PhoneInput.js +21 -0
- package/dist/esm/inputs/PhoneInput/PhoneInput.js.map +1 -0
- package/dist/esm/inputs/RadioGroup/RadioGroup.js +25 -0
- package/dist/esm/inputs/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/esm/inputs/Scriptel/Scriptel.js +52 -0
- package/dist/esm/inputs/Scriptel/Scriptel.js.map +1 -0
- package/dist/esm/inputs/Scriptel/ScriptelContext.js +6 -0
- package/dist/esm/inputs/Scriptel/ScriptelContext.js.map +1 -0
- package/dist/esm/inputs/Scriptel/scriptel/enums.js +21 -0
- package/dist/esm/inputs/Scriptel/scriptel/enums.js.map +1 -0
- package/dist/esm/inputs/Scriptel/scriptel/index.js +93 -0
- package/dist/esm/inputs/Scriptel/scriptel/index.js.map +1 -0
- package/dist/esm/inputs/Scriptel/withScriptel.js +15 -0
- package/dist/esm/inputs/Scriptel/withScriptel.js.map +1 -0
- package/dist/esm/inputs/ScriptelInput/ScriptelInput.js +67 -0
- package/dist/esm/inputs/ScriptelInput/ScriptelInput.js.map +1 -0
- package/dist/esm/inputs/SinInput/SinInput.js +54 -0
- package/dist/esm/inputs/SinInput/SinInput.js.map +1 -0
- package/dist/esm/inputs/TableInput/DropdownCell.js +26 -0
- package/dist/esm/inputs/TableInput/DropdownCell.js.map +1 -0
- package/dist/esm/inputs/TableInput/HoverCell.js +20 -0
- package/dist/esm/inputs/TableInput/HoverCell.js.map +1 -0
- package/dist/esm/inputs/TableInput/MoneyCell.js +13 -0
- package/dist/esm/inputs/TableInput/MoneyCell.js.map +1 -0
- package/dist/esm/inputs/TableInput/MoneyEditCell.js +30 -0
- package/dist/esm/inputs/TableInput/MoneyEditCell.js.map +1 -0
- package/dist/esm/inputs/TableInput/MoneySumFooter.js +15 -0
- package/dist/esm/inputs/TableInput/MoneySumFooter.js.map +1 -0
- package/dist/esm/inputs/TableInput/StringEditCell.js +34 -0
- package/dist/esm/inputs/TableInput/StringEditCell.js.map +1 -0
- package/dist/esm/inputs/TableInput/TableInput.js +75 -0
- package/dist/esm/inputs/TableInput/TableInput.js.map +1 -0
- package/dist/esm/inputs/TableInput/addRowOnTab.js +13 -0
- package/dist/esm/inputs/TableInput/addRowOnTab.js.map +1 -0
- package/dist/esm/money/MoneyCurrencyInput/MoneyCurrencyInput.js +51 -0
- package/dist/esm/money/MoneyCurrencyInput/MoneyCurrencyInput.js.map +1 -0
- package/dist/esm/money/MoneyInput/MoneyInput.js +31 -0
- package/dist/esm/money/MoneyInput/MoneyInput.js.map +1 -0
- package/dist/esm/money/useMoneyInput.js +74 -0
- package/dist/esm/money/useMoneyInput.js.map +1 -0
- package/dist/esm/step/FormStep.js +17 -0
- package/dist/esm/step/FormStep.js.map +1 -0
- package/dist/esm/step/Step.js +10 -0
- package/dist/esm/step/Step.js.map +1 -0
- package/dist/esm/step/StepProvider.js +95 -0
- package/dist/esm/step/StepProvider.js.map +1 -0
- package/dist/esm/step/stepContext.js +10 -0
- package/dist/esm/step/stepContext.js.map +1 -0
- package/dist/esm/step/useStep.js +10 -0
- package/dist/esm/step/useStep.js.map +1 -0
- package/dist/stats.html +2689 -0
- package/dist/{date → types/date}/DatePicker/index.d.ts +0 -0
- package/dist/{date → types/date}/LocalDatePicker/LocalDatePicker.d.ts +1 -0
- package/dist/{date → types/date}/LocalDatePicker/MaskedDateInput.d.ts +0 -0
- package/dist/{date → types/date}/LocalDatePicker/index.d.ts +0 -0
- package/dist/{date → types/date}/LocalMonthSelect/LocalMonthSelect.d.ts +0 -0
- package/dist/{date → types/date}/LocalMonthSelect/index.d.ts +0 -0
- package/dist/{date → types/date}/LocalTimePicker/LocalTimePicker.d.ts +0 -0
- package/dist/{date → types/date}/LocalTimePicker/MaskedTimeInput.d.ts +0 -0
- package/dist/{date → types/date}/LocalTimePicker/index.d.ts +0 -0
- package/dist/{date → types/date}/MonthDayPicker/MonthDayPicker.d.ts +0 -0
- package/dist/{date → types/date}/MonthDayPicker/index.d.ts +0 -0
- package/dist/{date → types/date}/MonthYearPicker/MonthYearPicker.d.ts +0 -0
- package/dist/{date → types/date}/MonthYearPicker/index.d.ts +0 -0
- package/dist/{date → types/date}/YearSelect/YearSelect.d.ts +0 -0
- package/dist/{date → types/date}/YearSelect/index.d.ts +0 -0
- package/dist/{form → types/form}/TForm/TForm.d.ts +0 -0
- package/dist/{form → types/form}/TForm/index.d.ts +0 -0
- package/dist/{form → types/form}/TForm/types.d.ts +0 -0
- package/dist/{form → types/form}/TForm/useTForm.d.ts +0 -0
- package/dist/{index.d.ts → types/index.d.ts} +2 -1
- package/dist/{inputs → types/inputs}/CreditCardInput/CreditCardInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/CreditCardInput/CreditCardNumberInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/CreditCardInput/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/MaskedInput/MaskedInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/MaskedInput/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/MaskedInput/useMaskedInput.d.ts +1 -1
- package/dist/{inputs → types/inputs}/PhoneInput/PhoneInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/PhoneInput/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/{inputs → types/inputs}/RadioGroup/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/Scriptel.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/ScriptelContext.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/scriptel/classes.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/scriptel/enums.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/scriptel/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/scriptel/messages.d.ts +0 -0
- package/dist/{inputs → types/inputs}/Scriptel/withScriptel.d.ts +0 -0
- package/dist/{inputs → types/inputs}/ScriptelInput/ScriptelInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/ScriptelInput/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/SinInput/SinInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/SinInput/index.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/DropdownCell.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/HoverCell.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/MoneyCell.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/MoneyEditCell.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/MoneySumFooter.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/StringEditCell.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/TableInput.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/addRowOnTab.d.ts +0 -0
- package/dist/{inputs → types/inputs}/TableInput/index.d.ts +0 -0
- package/dist/{money → types/money}/MoneyCurrencyInput/MoneyCurrencyInput.d.ts +0 -0
- package/dist/{money → types/money}/MoneyCurrencyInput/index.d.ts +0 -0
- package/dist/{money → types/money}/MoneyInput/MoneyInput.d.ts +0 -0
- package/dist/{money → types/money}/MoneyInput/index.d.ts +0 -0
- package/dist/{money → types/money}/useMoneyInput.d.ts +0 -0
- package/dist/{step → types/step}/FormStep.d.ts +0 -0
- package/dist/{step → types/step}/Step.d.ts +0 -0
- package/dist/{step → types/step}/StepProvider.d.ts +0 -0
- package/dist/{step → types/step}/index.d.ts +0 -0
- package/dist/{step → types/step}/stepContext.d.ts +0 -0
- package/dist/{step → types/step}/useStep.d.ts +0 -0
- package/package.json +16 -25
- package/dist/index.js +0 -5460
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/index.js +0 -7
|
File without changes
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { LocalDate } from '@js-joda/core';
|
|
3
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
4
4
|
import type { InputProps } from 'semantic-ui-react';
|
|
5
|
+
import '../DatePicker/styles.css';
|
|
5
6
|
interface ILocalDatePicker {
|
|
6
7
|
value?: LocalDate | number | null;
|
|
7
8
|
onChange?: (value: LocalDate | null) => void;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -27,8 +27,9 @@ export { CreditCardInput } from './inputs/CreditCardInput';
|
|
|
27
27
|
export type { CreditCardInputProps } from './inputs/CreditCardInput';
|
|
28
28
|
export { SinInput } from './inputs/SinInput';
|
|
29
29
|
export type { SinInputProps } from './inputs/SinInput';
|
|
30
|
-
export {
|
|
30
|
+
export { TableInput, MoneyCell, MoneyEditCell, MoneySumFooter, StringEditCell, DropdownCell, HoverCell, addRowOnTab } from './inputs/TableInput';
|
|
31
31
|
export type { AddRowOnTabIf } from './inputs/TableInput';
|
|
32
|
+
export { useMoneyInput } from './money/useMoneyInput';
|
|
32
33
|
export { MoneyInput } from './money/MoneyInput';
|
|
33
34
|
export type { MoneyInputProps } from './money/MoneyInput';
|
|
34
35
|
export { MoneyCurrencyInput } from './money/MoneyCurrencyInput';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "15.3.
|
|
3
|
+
"version": "15.3.1-alpha.10+b572c62",
|
|
4
4
|
"description": "A collection of components designed with SemanticUI.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/thr-addons/issues"
|
|
@@ -11,35 +11,29 @@
|
|
|
11
11
|
},
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "Mike Kornelson <darkadept@durbn.net>",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"sideEffects": true,
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/esm/index.js",
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
16
18
|
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
"index.js"
|
|
19
|
+
"dist"
|
|
19
20
|
],
|
|
20
21
|
"scripts": {
|
|
21
|
-
"build": "thx build",
|
|
22
|
+
"build": "thx build.roll",
|
|
22
23
|
"build-storybook": "build-storybook",
|
|
23
|
-
"build:dev": "thx build:dev",
|
|
24
|
-
"build:prod": "thx build:prod",
|
|
25
24
|
"clean": "thx clean",
|
|
26
|
-
"deps": "thx -p *.stories.tsx,*.story.tsx
|
|
25
|
+
"deps": "thx -p *.stories.tsx,*.story.tsx,*.cjs deps",
|
|
27
26
|
"lint": "thx lint",
|
|
28
|
-
"lint
|
|
27
|
+
"lint.fix": "thx lint.fix",
|
|
29
28
|
"sort": "thx sort",
|
|
30
29
|
"storybook": "start-storybook -p 8000 --ci",
|
|
31
30
|
"ts": "thx ts"
|
|
32
31
|
},
|
|
33
|
-
"eslintConfig": {
|
|
34
|
-
"parserOptions": {
|
|
35
|
-
"project": "./tsconfig-eslint.json"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
32
|
"dependencies": {
|
|
39
33
|
"@js-joda/core": "^5.1.0",
|
|
40
|
-
"@thx/date": "^15.3.
|
|
41
|
-
"@thx/money": "^15.1.
|
|
42
|
-
"@thx/yup-types": "^15.3.
|
|
34
|
+
"@thx/date": "^15.3.1-alpha.10+b572c62",
|
|
35
|
+
"@thx/money": "^15.3.1-alpha.10+b572c62",
|
|
36
|
+
"@thx/yup-types": "^15.3.1-alpha.10+b572c62",
|
|
43
37
|
"@types/inputmask": "^5.0.1",
|
|
44
38
|
"@types/react-datepicker": "^4.1.7",
|
|
45
39
|
"credit-card-type": "^9.1.0",
|
|
@@ -49,7 +43,7 @@
|
|
|
49
43
|
"formik": "^2.2.9",
|
|
50
44
|
"inputmask": "^5.0.6",
|
|
51
45
|
"js-money": "^0.6.3",
|
|
52
|
-
"lodash": "^4.17.15",
|
|
46
|
+
"lodash-es": "^4.17.15",
|
|
53
47
|
"luhn": "^2.4.1",
|
|
54
48
|
"react-credit-cards": "^0.8.3",
|
|
55
49
|
"react-datepicker": "^4.2.1",
|
|
@@ -57,21 +51,18 @@
|
|
|
57
51
|
"social-insurance-number": "^0.2.2",
|
|
58
52
|
"use-deep-compare-effect": "1.4.0"
|
|
59
53
|
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"css-loader": "^6.3.0",
|
|
62
|
-
"style-loader": "^3.3.0"
|
|
63
|
-
},
|
|
64
54
|
"peerDependencies": {
|
|
65
55
|
"react": "17.x",
|
|
66
56
|
"react-dom": "17.x",
|
|
57
|
+
"react-router": "5.x",
|
|
67
58
|
"react-router-dom": "5.x",
|
|
68
59
|
"semantic-ui-react": "2.x"
|
|
69
60
|
},
|
|
70
61
|
"engines": {
|
|
71
|
-
"node": ">=
|
|
62
|
+
"node": ">=16"
|
|
72
63
|
},
|
|
73
64
|
"publishConfig": {
|
|
74
65
|
"access": "public"
|
|
75
66
|
},
|
|
76
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "b572c62a6c9228c7b76195c926b28cfc3bfef41d"
|
|
77
68
|
}
|