@itcase/forms-web 0.0.0-stage → 1.1.117
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/FinalForm_CDnQeCDK.js +1 -0
- package/dist/constants/index.js +1 -0
- package/dist/constants/messages.constant.js +1 -0
- package/dist/css/styles/bundles.css +786 -0
- package/dist/form/Field/Before/FormFieldBefore.constants.js +1 -0
- package/dist/form/Field/Before/FormFieldBefore.js +1 -0
- package/dist/form/Field/Before/index.js +1 -0
- package/dist/form/Field/Checkbox/FormFieldCheckbox.js +1 -0
- package/dist/form/Field/Checkbox/appearance/default.js +1 -0
- package/dist/form/Field/Checkbox/index.js +1 -0
- package/dist/form/Field/Chips/FormFieldChips.js +1 -0
- package/dist/form/Field/Chips/appearance/default.js +1 -0
- package/dist/form/Field/Chips/index.js +1 -0
- package/dist/form/Field/Choice/FormFieldChoice.js +1 -0
- package/dist/form/Field/Choice/appearance/default.js +1 -0
- package/dist/form/Field/Choice/index.js +1 -0
- package/dist/form/Field/Code/FormFieldCode.js +1 -0
- package/dist/form/Field/Code/appearance/default.js +1 -0
- package/dist/form/Field/Code/index.js +1 -0
- package/dist/form/Field/ColorInput/FormFieldColorInput.js +1 -0
- package/dist/form/Field/ColorInput/appearance/default.js +1 -0
- package/dist/form/Field/ColorInput/index.js +1 -0
- package/dist/form/Field/Custom/FormFieldCustom.js +1 -0
- package/dist/form/Field/Custom/index.js +1 -0
- package/dist/form/Field/Dadata/FormFieldDadataInput.js +1 -0
- package/dist/form/Field/Dadata/appearance/default.js +1 -0
- package/dist/form/Field/Dadata/index.js +1 -0
- package/dist/form/Field/DatePicker/FormFieldDatePicker.js +1 -0
- package/dist/form/Field/DatePicker/appearance/default.js +1 -0
- package/dist/form/Field/DatePicker/index.js +1 -0
- package/dist/form/Field/FileInput/FormFieldFileInput.js +1 -0
- package/dist/form/Field/FileInput/appearance/default.js +1 -0
- package/dist/form/Field/FileInput/index.js +1 -0
- package/dist/form/Field/Group/FormGroup.js +1 -0
- package/dist/form/Field/Group/appearance/default.js +1 -0
- package/dist/form/Field/Group/index.js +1 -0
- package/dist/form/Field/Input/FormFieldInput.js +1 -0
- package/dist/form/Field/Input/appearance/default.js +1 -0
- package/dist/form/Field/Input/index.js +1 -0
- package/dist/form/Field/InputNumber/FormFieldInputNumber.js +1 -0
- package/dist/form/Field/InputNumber/appearance/default.js +1 -0
- package/dist/form/Field/InputNumber/index.js +1 -0
- package/dist/form/Field/MaskedInput/FormFieldMaskedInput.js +1 -0
- package/dist/form/Field/MaskedInput/appearance/default.js +1 -0
- package/dist/form/Field/MaskedInput/index.js +1 -0
- package/dist/form/Field/Password/FormFieldPassword.js +1 -0
- package/dist/form/Field/Password/appearance/default.js +1 -0
- package/dist/form/Field/Password/index.js +1 -0
- package/dist/form/Field/RadioGroup/FormFieldRadioGroup.js +1 -0
- package/dist/form/Field/RadioGroup/FormFieldRadioGroupList.js +1 -0
- package/dist/form/Field/RadioGroup/appearance/default.js +1 -0
- package/dist/form/Field/RadioGroup/index.js +1 -0
- package/dist/form/Field/Segmented/FormFieldSegmented.js +1 -0
- package/dist/form/Field/Segmented/appearance/default.js +1 -0
- package/dist/form/Field/Segmented/index.js +1 -0
- package/dist/form/Field/Select/FormFieldSelect.js +1 -0
- package/dist/form/Field/Select/appearance/default.js +1 -0
- package/dist/form/Field/Select/index.js +1 -0
- package/dist/form/Field/Switch/FormFieldSwitch.js +1 -0
- package/dist/form/Field/Switch/appearance/default.js +1 -0
- package/dist/form/Field/Switch/index.js +1 -0
- package/dist/form/Field/Textarea/FormFieldTextarea.js +1 -0
- package/dist/form/Field/Textarea/appearance/default.js +1 -0
- package/dist/form/Field/Textarea/index.js +1 -0
- package/dist/form/Field/index.js +1 -0
- package/dist/form/FieldWrapper/FieldWrapper.js +1 -0
- package/dist/form/FieldWrapper/appearance/default.js +1 -0
- package/dist/form/FieldWrapper/index.js +1 -0
- package/dist/form/Form/FinalForm.js +1 -0
- package/dist/form/generator/generateField.constants.js +1 -0
- package/dist/form/generator/generateField.js +1 -0
- package/dist/form/generator/generateFormButtons.js +1 -0
- package/dist/form/generator/index.js +1 -0
- package/dist/form/index.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/constants/index.d.ts +4 -0
- package/dist/types/constants/messages.constant.d.ts +75 -0
- package/dist/types/constants/messages.interface.d.ts +8 -0
- package/dist/types/form/Field/Before/FormFieldBefore.constants.d.ts +16 -0
- package/dist/types/form/Field/Before/FormFieldBefore.d.ts +3 -0
- package/dist/types/form/Field/Before/FormFieldBefore.interface.d.ts +25 -0
- package/dist/types/form/Field/Before/index.d.ts +4 -0
- package/dist/types/form/Field/Checkbox/FormFieldCheckbox.d.ts +4 -0
- package/dist/types/form/Field/Checkbox/FormFieldCheckbox.interface.d.ts +22 -0
- package/dist/types/form/Field/Checkbox/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/Checkbox/index.d.ts +4 -0
- package/dist/types/form/Field/Chips/FormFieldChips.d.ts +3 -0
- package/dist/types/form/Field/Chips/FormFieldChips.interface.d.ts +28 -0
- package/dist/types/form/Field/Chips/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Chips/index.d.ts +4 -0
- package/dist/types/form/Field/Choice/FormFieldChoice.d.ts +4 -0
- package/dist/types/form/Field/Choice/FormFieldChoice.interface.d.ts +24 -0
- package/dist/types/form/Field/Choice/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Choice/index.d.ts +4 -0
- package/dist/types/form/Field/Code/FormFieldCode.d.ts +4 -0
- package/dist/types/form/Field/Code/FormFieldCode.interface.d.ts +20 -0
- package/dist/types/form/Field/Code/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Code/index.d.ts +4 -0
- package/dist/types/form/Field/ColorInput/FormFieldColorInput.d.ts +4 -0
- package/dist/types/form/Field/ColorInput/FormFieldColorInput.interface.d.ts +20 -0
- package/dist/types/form/Field/ColorInput/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/ColorInput/index.d.ts +4 -0
- package/dist/types/form/Field/Custom/FormFieldCustom.d.ts +4 -0
- package/dist/types/form/Field/Custom/FormFieldCustom.interface.d.ts +19 -0
- package/dist/types/form/Field/Custom/index.d.ts +4 -0
- package/dist/types/form/Field/Dadata/FormFieldDadataInput.d.ts +4 -0
- package/dist/types/form/Field/Dadata/FormFieldDadataInput.interface.d.ts +21 -0
- package/dist/types/form/Field/Dadata/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/Dadata/index.d.ts +4 -0
- package/dist/types/form/Field/DatePicker/FormFieldDatePicker.d.ts +3 -0
- package/dist/types/form/Field/DatePicker/FormFieldDatePicker.interface.d.ts +20 -0
- package/dist/types/form/Field/DatePicker/appearance/default.d.ts +15 -0
- package/dist/types/form/Field/DatePicker/index.d.ts +4 -0
- package/dist/types/form/Field/FileInput/FormFieldFileInput.d.ts +4 -0
- package/dist/types/form/Field/FileInput/FormFieldFileInput.interface.d.ts +20 -0
- package/dist/types/form/Field/FileInput/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/FileInput/index.d.ts +4 -0
- package/dist/types/form/Field/Group/FormGroup.d.ts +4 -0
- package/dist/types/form/Field/Group/FormGroup.interface.d.ts +53 -0
- package/dist/types/form/Field/Group/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/Group/index.d.ts +5 -0
- package/dist/types/form/Field/Input/FormFieldInput.d.ts +4 -0
- package/dist/types/form/Field/Input/FormFieldInput.interface.d.ts +28 -0
- package/dist/types/form/Field/Input/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Input/index.d.ts +4 -0
- package/dist/types/form/Field/InputNumber/FormFieldInputNumber.d.ts +4 -0
- package/dist/types/form/Field/InputNumber/FormFieldInputNumber.interface.d.ts +22 -0
- package/dist/types/form/Field/InputNumber/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/InputNumber/index.d.ts +4 -0
- package/dist/types/form/Field/MaskedInput/FormFieldMaskedInput.d.ts +4 -0
- package/dist/types/form/Field/MaskedInput/FormFieldMaskedInput.interface.d.ts +30 -0
- package/dist/types/form/Field/MaskedInput/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/MaskedInput/index.d.ts +4 -0
- package/dist/types/form/Field/Password/FormFieldPassword.d.ts +4 -0
- package/dist/types/form/Field/Password/FormFieldPassword.interface.d.ts +20 -0
- package/dist/types/form/Field/Password/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Password/index.d.ts +4 -0
- package/dist/types/form/Field/RadioGroup/FormFieldRadioGroup.d.ts +4 -0
- package/dist/types/form/Field/RadioGroup/FormFieldRadioGroup.interface.d.ts +31 -0
- package/dist/types/form/Field/RadioGroup/FormFieldRadioGroupList.d.ts +4 -0
- package/dist/types/form/Field/RadioGroup/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/RadioGroup/index.d.ts +4 -0
- package/dist/types/form/Field/Segmented/FormFieldSegmented.d.ts +3 -0
- package/dist/types/form/Field/Segmented/FormFieldSegmented.interface.d.ts +20 -0
- package/dist/types/form/Field/Segmented/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Segmented/index.d.ts +4 -0
- package/dist/types/form/Field/Select/FormFieldSelect.d.ts +4 -0
- package/dist/types/form/Field/Select/FormFieldSelect.interface.d.ts +38 -0
- package/dist/types/form/Field/Select/appearance/default.d.ts +4 -0
- package/dist/types/form/Field/Select/index.d.ts +4 -0
- package/dist/types/form/Field/Switch/FormFieldSwitch.d.ts +5 -0
- package/dist/types/form/Field/Switch/FormFieldSwitch.interface.d.ts +20 -0
- package/dist/types/form/Field/Switch/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/Switch/index.d.ts +4 -0
- package/dist/types/form/Field/Textarea/FormFieldTextarea.d.ts +4 -0
- package/dist/types/form/Field/Textarea/FormFieldTextarea.interface.d.ts +18 -0
- package/dist/types/form/Field/Textarea/appearance/default.d.ts +3 -0
- package/dist/types/form/Field/Textarea/index.d.ts +4 -0
- package/dist/types/form/Field/index.d.ts +42 -0
- package/dist/types/form/FieldWrapper/FieldWrapper.d.ts +4 -0
- package/dist/types/form/FieldWrapper/FieldWrapper.interface.d.ts +90 -0
- package/dist/types/form/FieldWrapper/appearance/default.d.ts +7 -0
- package/dist/types/form/FieldWrapper/index.d.ts +5 -0
- package/dist/types/form/Form/FinalForm.d.ts +5 -0
- package/dist/types/form/Form/FinalForm.interface.d.ts +112 -0
- package/dist/types/form/generator/generateField.constants.d.ts +23 -0
- package/dist/types/form/generator/generateField.d.ts +3 -0
- package/dist/types/form/generator/generateField.interface.d.ts +45 -0
- package/dist/types/form/generator/generateFormButtons.d.ts +3 -0
- package/dist/types/form/generator/index.d.ts +3 -0
- package/dist/types/form/index.d.ts +4 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +79 -4
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/forms-web",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.1.117",
|
|
4
|
+
"description": "Forms fields, inputs, etc.",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"private": false,
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./dist/css/styles/*": "./dist/css/styles/*"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "npm run build-js && npm run build-css && npm run build-verify",
|
|
19
|
+
"build-js": "rm -rf dist && NODE_ENV=production rollup -c",
|
|
20
|
+
"build-css": "rm -rf dist/css && postcss 'src/styles/bundles.css' --base src --dir dist/css/ --env production && npm run build-css-lint",
|
|
21
|
+
"build-css-lint": "stylelint --fix dist/css/styles/bundles.css",
|
|
22
|
+
"build-verify": "node --input-type=module -e \"import fs from 'node:fs'; for (const file of ['dist/index.js','dist/types/index.d.ts']) { fs.accessSync(file); }\"",
|
|
23
|
+
"dev": "concurrently 'npm:dev-js' 'npm:dev-css'",
|
|
24
|
+
"dev-js": "rollup -c -w",
|
|
25
|
+
"smart-commit": "smart-commit",
|
|
26
|
+
"dev-css": "postcss 'src/styles/bundles.css' --base src --dir dist/css/ --env production -w --verbose",
|
|
27
|
+
"typecheck": "tsc --noEmit --pretty -p tsconfig.build.json",
|
|
28
|
+
"lint": "eslint src",
|
|
29
|
+
"prepack": "npm run build",
|
|
30
|
+
"semantic-release": "semantic-release",
|
|
31
|
+
"storybook": "rm -rf node_modules/.cache/ && STORYBOOK=true storybook dev -p 6006 --disable-telemetry",
|
|
32
|
+
"build-storybook": "STORYBOOK=true storybook build",
|
|
33
|
+
"test-storybook": "vitest --run --project storybook"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/ITCase/itcase-forms"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public",
|
|
45
|
+
"registry": "https://registry.npmjs.org/"
|
|
46
|
+
},
|
|
47
|
+
"msw": {
|
|
48
|
+
"workerDirectory": [
|
|
49
|
+
"public"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@itcase/forms-core": "^1.1.117",
|
|
54
|
+
"@itcase/tokens-am": "^1.1.63",
|
|
55
|
+
"@itcase/tokens-baikal": "^1.1.62",
|
|
56
|
+
"@itcase/tokens-palette": "^1.1.63",
|
|
57
|
+
"@itcase/types-core": "^1.1.106",
|
|
58
|
+
"@itcase/types-ui": "^1.1.106",
|
|
59
|
+
"@itcase/ui-core": "^1.10.107",
|
|
60
|
+
"@itcase/ui-web": "^1.10.107",
|
|
61
|
+
"axios": "^1.20.0",
|
|
62
|
+
"clsx": "^2.1.1",
|
|
63
|
+
"final-form": "4.20.10",
|
|
64
|
+
"final-form-focus": "1.1.2",
|
|
65
|
+
"libphonenumber-js": "^1.13.15",
|
|
66
|
+
"lodash": "^4.18.1",
|
|
67
|
+
"react": "^18.3.1",
|
|
68
|
+
"react-dom": "^18.3.1",
|
|
69
|
+
"react-final-form": "7.0.1",
|
|
70
|
+
"react-imask": "^7.6.1",
|
|
71
|
+
"react-select": "^5.10.2",
|
|
72
|
+
"yup": "^1.7.1"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@itcase/storybook-config": "^1.3.16",
|
|
76
|
+
"@types/final-form-focus": "^1.1.7",
|
|
77
|
+
"@types/lodash": "^4.17.25",
|
|
78
|
+
"concurrently": "^10.0.6"
|
|
79
|
+
},
|
|
80
|
+
"gitHead": "e7f543f3a7ebab28c76953ec0150cbb623603b36"
|
|
81
|
+
}
|
package/README.md
DELETED