@itcase/forms 1.0.73 → 1.0.75
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/itcase-forms.cjs.js +29 -32
- package/dist/itcase-forms.esm.js +29 -30
- package/package.json +20 -20
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -25,8 +25,6 @@ var Loader = require('@itcase/ui/components/Loader');
|
|
|
25
25
|
var Title = require('@itcase/ui/components/Title');
|
|
26
26
|
var Icon = require('@itcase/ui/components/Icon');
|
|
27
27
|
var Input = require('@itcase/ui/components/Input');
|
|
28
|
-
var iconSizeProps = require('@itcase/ui/constants/componentProps/iconSize');
|
|
29
|
-
var shapeProps = require('@itcase/ui/constants/componentProps/shape');
|
|
30
28
|
var Radio = require('@itcase/ui/components/Radio');
|
|
31
29
|
var Segmented = require('@itcase/ui/components/Segmented');
|
|
32
30
|
var Select = require('@itcase/ui/components/Select');
|
|
@@ -48,8 +46,6 @@ var camelCase__default = /*#__PURE__*/_interopDefault(camelCase);
|
|
|
48
46
|
var snakeCase__default = /*#__PURE__*/_interopDefault(snakeCase);
|
|
49
47
|
var axios__default = /*#__PURE__*/_interopDefault(axios);
|
|
50
48
|
var castArray__default = /*#__PURE__*/_interopDefault(castArray);
|
|
51
|
-
var iconSizeProps__default = /*#__PURE__*/_interopDefault(iconSizeProps);
|
|
52
|
-
var shapeProps__default = /*#__PURE__*/_interopDefault(shapeProps);
|
|
53
49
|
var createDecorator__default = /*#__PURE__*/_interopDefault(createDecorator);
|
|
54
50
|
|
|
55
51
|
const phoneValidation = (value, context) => {
|
|
@@ -834,10 +830,11 @@ function DatePickerField(props) {
|
|
|
834
830
|
* custom React Hook function.
|
|
835
831
|
*/
|
|
836
832
|
|
|
837
|
-
const onChangeField = React.useCallback(
|
|
838
|
-
input.onChange(
|
|
833
|
+
const onChangeField = React.useCallback((firstDate, secondDate) => {
|
|
834
|
+
input.onChange(firstDate);
|
|
839
835
|
if (onChange) {
|
|
840
|
-
|
|
836
|
+
// TODO: check all DatePickerField's pn all project to change variable places
|
|
837
|
+
onChange(firstDate, input.name, secondDate);
|
|
841
838
|
}
|
|
842
839
|
}, [onChange, input.onChange]);
|
|
843
840
|
const {
|
|
@@ -1554,6 +1551,10 @@ Group.propTypes = {
|
|
|
1554
1551
|
|
|
1555
1552
|
const InputField = /*#__PURE__*/React__default.default.memo(function InputField(props) {
|
|
1556
1553
|
const {
|
|
1554
|
+
isDisabled,
|
|
1555
|
+
isPassword,
|
|
1556
|
+
isRequired,
|
|
1557
|
+
isRevealable,
|
|
1557
1558
|
classNameGroupItem,
|
|
1558
1559
|
fieldProps,
|
|
1559
1560
|
iconFill,
|
|
@@ -1564,10 +1565,6 @@ const InputField = /*#__PURE__*/React__default.default.memo(function InputField(
|
|
|
1564
1565
|
iconSize,
|
|
1565
1566
|
initialValue,
|
|
1566
1567
|
inputProps,
|
|
1567
|
-
isDisabled,
|
|
1568
|
-
isPassword,
|
|
1569
|
-
isRequired,
|
|
1570
|
-
isRevealable,
|
|
1571
1568
|
name,
|
|
1572
1569
|
parse,
|
|
1573
1570
|
showMessage,
|
|
@@ -1589,8 +1586,8 @@ const InputField = /*#__PURE__*/React__default.default.memo(function InputField(
|
|
|
1589
1586
|
setIsRevealed(prev => !prev);
|
|
1590
1587
|
}, []);
|
|
1591
1588
|
return /*#__PURE__*/React__default.default.createElement(reactFinalForm.Field, {
|
|
1592
|
-
initialValue: initialValue,
|
|
1593
1589
|
name: name,
|
|
1590
|
+
initialValue: initialValue,
|
|
1594
1591
|
parse: parse
|
|
1595
1592
|
}, function Render({
|
|
1596
1593
|
input,
|
|
@@ -1620,8 +1617,8 @@ const InputField = /*#__PURE__*/React__default.default.memo(function InputField(
|
|
|
1620
1617
|
meta: meta
|
|
1621
1618
|
});
|
|
1622
1619
|
const updatedInputProps = useValidationAppearanceInputProps({
|
|
1623
|
-
|
|
1624
|
-
|
|
1620
|
+
inputProps: inputProps,
|
|
1621
|
+
validationStateKey: isErrorState ? errorKey : 'success'
|
|
1625
1622
|
});
|
|
1626
1623
|
return /*#__PURE__*/React__default.default.createElement(FieldWrapper, Object.assign({
|
|
1627
1624
|
className: clsx__default.default('form-field_type_input', 'form__item_type_input', classNameGroupItem),
|
|
@@ -1630,21 +1627,21 @@ const InputField = /*#__PURE__*/React__default.default.memo(function InputField(
|
|
|
1630
1627
|
fieldClassName: isRevealable ? 'form-password' : 'form-input',
|
|
1631
1628
|
inputName: input.name,
|
|
1632
1629
|
inputValue: input.value || '',
|
|
1630
|
+
metaActive: meta.active,
|
|
1631
|
+
metaError: meta.error,
|
|
1632
|
+
showMessage: showMessage,
|
|
1633
1633
|
isDisabled: isDisabled,
|
|
1634
1634
|
isErrorState: isErrorState,
|
|
1635
1635
|
isRequired: isRequired,
|
|
1636
|
-
isValidState: isValidState
|
|
1637
|
-
metaActive: meta.active,
|
|
1638
|
-
metaError: meta.error,
|
|
1639
|
-
showMessage: showMessage
|
|
1636
|
+
isValidState: isValidState
|
|
1640
1637
|
}, fieldProps), /*#__PURE__*/React__default.default.createElement(Input.Input, Object.assign({
|
|
1641
|
-
autoComplete: "nope",
|
|
1642
1638
|
className: clsx__default.default(meta.active && 'input_state_focus', meta.error && meta.touched && `input_state_${errorKey}`),
|
|
1643
|
-
dataTestId: `${input.name}FieldInput`,
|
|
1644
|
-
isDisabled: isDisabled,
|
|
1645
1639
|
name: input.name,
|
|
1640
|
+
autoComplete: "nope",
|
|
1641
|
+
dataTestId: `${input.name}FieldInput`,
|
|
1646
1642
|
type: inputType,
|
|
1647
1643
|
value: input.value || '',
|
|
1644
|
+
isDisabled: isDisabled,
|
|
1648
1645
|
onBlur: input.onBlur,
|
|
1649
1646
|
onChange: onChangeField,
|
|
1650
1647
|
onFocus: input.onFocus
|
|
@@ -1661,11 +1658,14 @@ const InputField = /*#__PURE__*/React__default.default.memo(function InputField(
|
|
|
1661
1658
|
});
|
|
1662
1659
|
});
|
|
1663
1660
|
InputField.defaultProps = {
|
|
1664
|
-
|
|
1665
|
-
|
|
1661
|
+
fieldProps: {},
|
|
1662
|
+
inputProps: {}
|
|
1666
1663
|
};
|
|
1667
1664
|
InputField.propTypes = {
|
|
1668
|
-
|
|
1665
|
+
isDisabled: PropTypes__default.default.bool,
|
|
1666
|
+
isPassword: PropTypes__default.default.bool,
|
|
1667
|
+
isRequired: PropTypes__default.default.bool,
|
|
1668
|
+
isRevealable: PropTypes__default.default.bool,
|
|
1669
1669
|
classNameGroupItem: PropTypes__default.default.string,
|
|
1670
1670
|
dataTestId: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.number]),
|
|
1671
1671
|
fieldProps: PropTypes__default.default.object,
|
|
@@ -1675,14 +1675,11 @@ InputField.propTypes = {
|
|
|
1675
1675
|
iconFillHover: PropTypes__default.default.string,
|
|
1676
1676
|
iconRevealableHide: PropTypes__default.default.oneOfType([PropTypes__default.default.elementType, PropTypes__default.default.func, PropTypes__default.default.object]),
|
|
1677
1677
|
iconRevealableShow: PropTypes__default.default.oneOfType([PropTypes__default.default.elementType, PropTypes__default.default.func, PropTypes__default.default.object]),
|
|
1678
|
-
iconShape: PropTypes__default.default.
|
|
1679
|
-
iconSize: PropTypes__default.default.
|
|
1678
|
+
iconShape: PropTypes__default.default.string,
|
|
1679
|
+
iconSize: PropTypes__default.default.string,
|
|
1680
1680
|
initialValue: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.number]),
|
|
1681
1681
|
inputProps: PropTypes__default.default.object,
|
|
1682
|
-
|
|
1683
|
-
isPassword: PropTypes__default.default.bool,
|
|
1684
|
-
isRequired: PropTypes__default.default.bool,
|
|
1685
|
-
isRevealable: PropTypes__default.default.bool,
|
|
1682
|
+
name: PropTypes__default.default.string.isRequired,
|
|
1686
1683
|
parse: PropTypes__default.default.func,
|
|
1687
1684
|
showMessage: PropTypes__default.default.bool,
|
|
1688
1685
|
onChange: PropTypes__default.default.func
|
|
@@ -2470,13 +2467,13 @@ function ChipsField(props) {
|
|
|
2470
2467
|
});
|
|
2471
2468
|
}
|
|
2472
2469
|
ChipsField.propTypes = {
|
|
2470
|
+
isDisabled: PropTypes__default.default.bool,
|
|
2471
|
+
isRequired: PropTypes__default.default.bool,
|
|
2473
2472
|
classNameGroupItem: PropTypes__default.default.string,
|
|
2474
2473
|
fieldProps: PropTypes__default.default.object,
|
|
2475
2474
|
initialValue: PropTypes__default.default.array,
|
|
2476
2475
|
input: PropTypes__default.default.object,
|
|
2477
2476
|
inputProps: PropTypes__default.default.object,
|
|
2478
|
-
isDisabled: PropTypes__default.default.bool,
|
|
2479
|
-
isRequired: PropTypes__default.default.bool,
|
|
2480
2477
|
name: PropTypes__default.default.string,
|
|
2481
2478
|
options: PropTypes__default.default.arrayOf(PropTypes__default.default.shape({
|
|
2482
2479
|
value: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.number, PropTypes__default.default.bool]),
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -24,8 +24,6 @@ import { Loader } from '@itcase/ui/components/Loader';
|
|
|
24
24
|
import { Title } from '@itcase/ui/components/Title';
|
|
25
25
|
import { Icon } from '@itcase/ui/components/Icon';
|
|
26
26
|
import { Input } from '@itcase/ui/components/Input';
|
|
27
|
-
import iconSizeProps from '@itcase/ui/constants/componentProps/iconSize';
|
|
28
|
-
import shapeProps from '@itcase/ui/constants/componentProps/shape';
|
|
29
27
|
import { Radio } from '@itcase/ui/components/Radio';
|
|
30
28
|
import { Segmented } from '@itcase/ui/components/Segmented';
|
|
31
29
|
import { Select } from '@itcase/ui/components/Select';
|
|
@@ -820,10 +818,11 @@ function DatePickerField(props) {
|
|
|
820
818
|
* custom React Hook function.
|
|
821
819
|
*/
|
|
822
820
|
|
|
823
|
-
const onChangeField = useCallback(
|
|
824
|
-
input.onChange(
|
|
821
|
+
const onChangeField = useCallback((firstDate, secondDate) => {
|
|
822
|
+
input.onChange(firstDate);
|
|
825
823
|
if (onChange) {
|
|
826
|
-
|
|
824
|
+
// TODO: check all DatePickerField's pn all project to change variable places
|
|
825
|
+
onChange(firstDate, input.name, secondDate);
|
|
827
826
|
}
|
|
828
827
|
}, [onChange, input.onChange]);
|
|
829
828
|
const {
|
|
@@ -1540,6 +1539,10 @@ Group.propTypes = {
|
|
|
1540
1539
|
|
|
1541
1540
|
const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
1542
1541
|
const {
|
|
1542
|
+
isDisabled,
|
|
1543
|
+
isPassword,
|
|
1544
|
+
isRequired,
|
|
1545
|
+
isRevealable,
|
|
1543
1546
|
classNameGroupItem,
|
|
1544
1547
|
fieldProps,
|
|
1545
1548
|
iconFill,
|
|
@@ -1550,10 +1553,6 @@ const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
|
1550
1553
|
iconSize,
|
|
1551
1554
|
initialValue,
|
|
1552
1555
|
inputProps,
|
|
1553
|
-
isDisabled,
|
|
1554
|
-
isPassword,
|
|
1555
|
-
isRequired,
|
|
1556
|
-
isRevealable,
|
|
1557
1556
|
name,
|
|
1558
1557
|
parse,
|
|
1559
1558
|
showMessage,
|
|
@@ -1575,8 +1574,8 @@ const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
|
1575
1574
|
setIsRevealed(prev => !prev);
|
|
1576
1575
|
}, []);
|
|
1577
1576
|
return /*#__PURE__*/React.createElement(Field, {
|
|
1578
|
-
initialValue: initialValue,
|
|
1579
1577
|
name: name,
|
|
1578
|
+
initialValue: initialValue,
|
|
1580
1579
|
parse: parse
|
|
1581
1580
|
}, function Render({
|
|
1582
1581
|
input,
|
|
@@ -1606,8 +1605,8 @@ const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
|
1606
1605
|
meta: meta
|
|
1607
1606
|
});
|
|
1608
1607
|
const updatedInputProps = useValidationAppearanceInputProps({
|
|
1609
|
-
|
|
1610
|
-
|
|
1608
|
+
inputProps: inputProps,
|
|
1609
|
+
validationStateKey: isErrorState ? errorKey : 'success'
|
|
1611
1610
|
});
|
|
1612
1611
|
return /*#__PURE__*/React.createElement(FieldWrapper, Object.assign({
|
|
1613
1612
|
className: clsx('form-field_type_input', 'form__item_type_input', classNameGroupItem),
|
|
@@ -1616,21 +1615,21 @@ const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
|
1616
1615
|
fieldClassName: isRevealable ? 'form-password' : 'form-input',
|
|
1617
1616
|
inputName: input.name,
|
|
1618
1617
|
inputValue: input.value || '',
|
|
1618
|
+
metaActive: meta.active,
|
|
1619
|
+
metaError: meta.error,
|
|
1620
|
+
showMessage: showMessage,
|
|
1619
1621
|
isDisabled: isDisabled,
|
|
1620
1622
|
isErrorState: isErrorState,
|
|
1621
1623
|
isRequired: isRequired,
|
|
1622
|
-
isValidState: isValidState
|
|
1623
|
-
metaActive: meta.active,
|
|
1624
|
-
metaError: meta.error,
|
|
1625
|
-
showMessage: showMessage
|
|
1624
|
+
isValidState: isValidState
|
|
1626
1625
|
}, fieldProps), /*#__PURE__*/React.createElement(Input, Object.assign({
|
|
1627
|
-
autoComplete: "nope",
|
|
1628
1626
|
className: clsx(meta.active && 'input_state_focus', meta.error && meta.touched && `input_state_${errorKey}`),
|
|
1629
|
-
dataTestId: `${input.name}FieldInput`,
|
|
1630
|
-
isDisabled: isDisabled,
|
|
1631
1627
|
name: input.name,
|
|
1628
|
+
autoComplete: "nope",
|
|
1629
|
+
dataTestId: `${input.name}FieldInput`,
|
|
1632
1630
|
type: inputType,
|
|
1633
1631
|
value: input.value || '',
|
|
1632
|
+
isDisabled: isDisabled,
|
|
1634
1633
|
onBlur: input.onBlur,
|
|
1635
1634
|
onChange: onChangeField,
|
|
1636
1635
|
onFocus: input.onFocus
|
|
@@ -1647,11 +1646,14 @@ const InputField = /*#__PURE__*/React.memo(function InputField(props) {
|
|
|
1647
1646
|
});
|
|
1648
1647
|
});
|
|
1649
1648
|
InputField.defaultProps = {
|
|
1650
|
-
|
|
1651
|
-
|
|
1649
|
+
fieldProps: {},
|
|
1650
|
+
inputProps: {}
|
|
1652
1651
|
};
|
|
1653
1652
|
InputField.propTypes = {
|
|
1654
|
-
|
|
1653
|
+
isDisabled: PropTypes.bool,
|
|
1654
|
+
isPassword: PropTypes.bool,
|
|
1655
|
+
isRequired: PropTypes.bool,
|
|
1656
|
+
isRevealable: PropTypes.bool,
|
|
1655
1657
|
classNameGroupItem: PropTypes.string,
|
|
1656
1658
|
dataTestId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1657
1659
|
fieldProps: PropTypes.object,
|
|
@@ -1661,14 +1663,11 @@ InputField.propTypes = {
|
|
|
1661
1663
|
iconFillHover: PropTypes.string,
|
|
1662
1664
|
iconRevealableHide: PropTypes.oneOfType([PropTypes.elementType, PropTypes.func, PropTypes.object]),
|
|
1663
1665
|
iconRevealableShow: PropTypes.oneOfType([PropTypes.elementType, PropTypes.func, PropTypes.object]),
|
|
1664
|
-
iconShape: PropTypes.
|
|
1665
|
-
iconSize: PropTypes.
|
|
1666
|
+
iconShape: PropTypes.string,
|
|
1667
|
+
iconSize: PropTypes.string,
|
|
1666
1668
|
initialValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1667
1669
|
inputProps: PropTypes.object,
|
|
1668
|
-
|
|
1669
|
-
isPassword: PropTypes.bool,
|
|
1670
|
-
isRequired: PropTypes.bool,
|
|
1671
|
-
isRevealable: PropTypes.bool,
|
|
1670
|
+
name: PropTypes.string.isRequired,
|
|
1672
1671
|
parse: PropTypes.func,
|
|
1673
1672
|
showMessage: PropTypes.bool,
|
|
1674
1673
|
onChange: PropTypes.func
|
|
@@ -2456,13 +2455,13 @@ function ChipsField(props) {
|
|
|
2456
2455
|
});
|
|
2457
2456
|
}
|
|
2458
2457
|
ChipsField.propTypes = {
|
|
2458
|
+
isDisabled: PropTypes.bool,
|
|
2459
|
+
isRequired: PropTypes.bool,
|
|
2459
2460
|
classNameGroupItem: PropTypes.string,
|
|
2460
2461
|
fieldProps: PropTypes.object,
|
|
2461
2462
|
initialValue: PropTypes.array,
|
|
2462
2463
|
input: PropTypes.object,
|
|
2463
2464
|
inputProps: PropTypes.object,
|
|
2464
|
-
isDisabled: PropTypes.bool,
|
|
2465
|
-
isRequired: PropTypes.bool,
|
|
2466
2465
|
name: PropTypes.string,
|
|
2467
2466
|
options: PropTypes.arrayOf(PropTypes.shape({
|
|
2468
2467
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
4
4
|
"description": "Forms fields, inputs, etc.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@itcase/common": "^1.2.17",
|
|
34
|
-
"@itcase/ui": "^1.
|
|
34
|
+
"@itcase/ui": "^1.3.12",
|
|
35
35
|
"axios": "^1.7.9",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
37
37
|
"final-form": "^4.20.10",
|
|
38
38
|
"final-form-focus": "^1.1.2",
|
|
39
|
-
"libphonenumber-js": "^1.11.
|
|
39
|
+
"libphonenumber-js": "^1.11.17",
|
|
40
40
|
"lodash": "^4.17.21",
|
|
41
41
|
"luxon": "^3.5.0",
|
|
42
42
|
"postcss": "^8.4.49",
|
|
@@ -48,47 +48,47 @@
|
|
|
48
48
|
"react-dropzone": "^14.3.5",
|
|
49
49
|
"react-final-form": "^6.5.9",
|
|
50
50
|
"react-imask": "^7.6.1",
|
|
51
|
-
"react-select": "^5.
|
|
51
|
+
"react-select": "^5.9.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@itcase/lint": "^1.0.
|
|
54
|
+
"@itcase/lint": "^1.0.35",
|
|
55
55
|
"@babel/core": "^7.26.0",
|
|
56
56
|
"@babel/eslint-parser": "^7.25.9",
|
|
57
57
|
"@babel/preset-env": "^7.26.0",
|
|
58
|
-
"@babel/preset-react": "^7.
|
|
59
|
-
"@commitlint/cli": "^19.6.
|
|
58
|
+
"@babel/preset-react": "^7.26.3",
|
|
59
|
+
"@commitlint/cli": "^19.6.1",
|
|
60
60
|
"@commitlint/config-conventional": "^19.6.0",
|
|
61
|
-
"@eslint/compat": "^1.2.
|
|
61
|
+
"@eslint/compat": "^1.2.4",
|
|
62
62
|
"@eslint/eslintrc": "^3.2.0",
|
|
63
63
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
|
|
64
64
|
"@rollup/plugin-babel": "^6.0.4",
|
|
65
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
65
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
66
66
|
"@rollup/plugin-json": "^6.1.0",
|
|
67
|
-
"@rollup/plugin-node-resolve": "^
|
|
67
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
68
68
|
"@rollup/plugin-terser": "^0.4.4",
|
|
69
69
|
"@semantic-release/changelog": "^6.0.3",
|
|
70
70
|
"@semantic-release/git": "^10.0.1",
|
|
71
|
-
"@semantic-release/release-notes-generator": "14.0.
|
|
71
|
+
"@semantic-release/release-notes-generator": "14.0.2",
|
|
72
72
|
"@types/react": "^18",
|
|
73
73
|
"@types/react-dom": "^18.3.1",
|
|
74
74
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
75
75
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
76
76
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
77
|
-
"eslint": "9.
|
|
77
|
+
"eslint": "9.17.0",
|
|
78
78
|
"eslint-config-prettier": "9.1.0",
|
|
79
79
|
"eslint-config-standard": "17.1.0",
|
|
80
80
|
"eslint-plugin-babel": "5.3.1",
|
|
81
81
|
"eslint-plugin-import": "2.31.0",
|
|
82
|
-
"eslint-plugin-n": "17.
|
|
82
|
+
"eslint-plugin-n": "17.15.1",
|
|
83
83
|
"eslint-plugin-node": "11.1.0",
|
|
84
84
|
"eslint-plugin-prettier": "5.2.1",
|
|
85
85
|
"eslint-plugin-promise": "7.2.1",
|
|
86
|
-
"eslint-plugin-react": "7.37.
|
|
87
|
-
"eslint-plugin-react-hooks": "5.
|
|
86
|
+
"eslint-plugin-react": "7.37.3",
|
|
87
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
88
88
|
"eslint-plugin-standard": "5.0.0",
|
|
89
89
|
"husky": "^9.1.7",
|
|
90
|
-
"lint-staged": "^15.
|
|
91
|
-
"npm": "^
|
|
90
|
+
"lint-staged": "^15.3.0",
|
|
91
|
+
"npm": "^11.0.0",
|
|
92
92
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
93
93
|
"postcss-cli": "^11.0.0",
|
|
94
94
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
@@ -106,15 +106,15 @@
|
|
|
106
106
|
"postcss-nested-ancestors": "^3.0.0",
|
|
107
107
|
"postcss-normalize": "^13.0.1",
|
|
108
108
|
"postcss-prepend-imports": "^1.0.1",
|
|
109
|
-
"postcss-preset-env": "^10.1.
|
|
109
|
+
"postcss-preset-env": "^10.1.3",
|
|
110
110
|
"postcss-pxtorem": "^6.1.0",
|
|
111
111
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
112
112
|
"postcss-sort-media-queries": "^5.2.0",
|
|
113
113
|
"prettier": "3.4.2",
|
|
114
|
-
"rollup": "^4.
|
|
114
|
+
"rollup": "^4.29.1",
|
|
115
115
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
116
116
|
"semantic-release": "^24.2.0",
|
|
117
|
-
"stylelint": "^16.
|
|
117
|
+
"stylelint": "^16.12.0",
|
|
118
118
|
"stylelint-config-standard": "^36.0.1",
|
|
119
119
|
"stylelint-no-unsupported-browser-features": "^8.0.2",
|
|
120
120
|
"stylelint-order": "^6.0.4",
|