@hero-design/rn 7.10.2-rc.0 → 7.10.2
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/.turbo/turbo-build.log +8 -8
- package/es/index.js +21 -32
- package/lib/index.js +21 -32
- package/package.json +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +240 -214
- package/src/components/Select/MultiSelect/index.tsx +11 -16
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +240 -214
- package/src/components/Select/SingleSelect/index.tsx +11 -16
- package/src/components/TextInput/StyledTextInput.tsx +7 -4
- package/src/components/TextInput/__tests__/.log/tsserver.log +8601 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -1
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +294 -182
- package/src/components/TextInput/index.tsx +20 -18
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/src/theme/components/textInput.ts +1 -1
- package/types/components/TextInput/StyledTextInput.d.ts +7 -1
- package/types/theme/components/textInput.d.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
1
|
+
[33m@hero-design/rn:build[0m: cache hit, replaying output [2mf95bf09896acda51[0m
|
|
2
|
+
[33m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
|
+
[33m@hero-design/rn:build: [0m$ rollup -c
|
|
4
|
+
[33m@hero-design/rn:build: [0m[36m
|
|
5
|
+
[33m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
|
+
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
7
|
+
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m18.9s[22m[39m
|
|
8
|
+
[33m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly
|
package/es/index.js
CHANGED
|
@@ -3443,10 +3443,10 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
3443
3443
|
labelHorizontalPadding: theme.space.xsmall,
|
|
3444
3444
|
inputHorizontalMargin: theme.space.small,
|
|
3445
3445
|
containerMarginVertical: theme.space.small,
|
|
3446
|
-
errorContainerMarginLeft: theme.space.medium,
|
|
3447
3446
|
errorContainerMarginRight: theme.space.xsmall,
|
|
3448
3447
|
errorMarginLeft: theme.space.xsmall,
|
|
3449
|
-
maxLengthLabelMarginLeft: theme.space.xsmall
|
|
3448
|
+
maxLengthLabelMarginLeft: theme.space.xsmall,
|
|
3449
|
+
errorAndHelpTextContainerPaddingLeft: theme.space.medium
|
|
3450
3450
|
};
|
|
3451
3451
|
var fontSizes = {
|
|
3452
3452
|
text: theme.fontSizes.medium,
|
|
@@ -18372,7 +18372,6 @@ var StyledAsteriskLabelInsideTextInput = index$5(Typography.Text)(function (_ref
|
|
|
18372
18372
|
var StyledErrorContainer = index$5(View)(function (_ref7) {
|
|
18373
18373
|
var theme = _ref7.theme;
|
|
18374
18374
|
return {
|
|
18375
|
-
marginLeft: theme.__hd__.textInput.space.errorContainerMarginLeft,
|
|
18376
18375
|
marginRight: theme.__hd__.textInput.space.errorContainerMarginRight,
|
|
18377
18376
|
flexDirection: 'row',
|
|
18378
18377
|
alignItems: 'center',
|
|
@@ -18404,8 +18403,7 @@ var StyledMaxLengthMessage = index$5(Typography.Text)(function (_ref9) {
|
|
|
18404
18403
|
var StyledHelperText = index$5(Typography.Text)(function (_ref10) {
|
|
18405
18404
|
var theme = _ref10.theme;
|
|
18406
18405
|
return {
|
|
18407
|
-
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
18408
|
-
marginLeft: theme.__hd__.textInput.space.errorMarginLeft
|
|
18406
|
+
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
18409
18407
|
};
|
|
18410
18408
|
});
|
|
18411
18409
|
var StyledTextInput = index$5(TextInput$1)(function (_ref11) {
|
|
@@ -18445,9 +18443,14 @@ var StyledTextInputAndLabelContainer = index$5(View)(function () {
|
|
|
18445
18443
|
flexGrow: 2
|
|
18446
18444
|
};
|
|
18447
18445
|
});
|
|
18448
|
-
var StyledErrorAndHelpTextContainer = index$5(View)(function () {
|
|
18446
|
+
var StyledErrorAndHelpTextContainer = index$5(View)(function (_ref14) {
|
|
18447
|
+
var theme = _ref14.theme;
|
|
18448
|
+
return {
|
|
18449
|
+
paddingLeft: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingLeft
|
|
18450
|
+
};
|
|
18451
|
+
});
|
|
18452
|
+
var StyledErrorAndMaxLengthContainer = index$5(View)(function () {
|
|
18449
18453
|
return {
|
|
18450
|
-
flex: 1,
|
|
18451
18454
|
flexDirection: 'row',
|
|
18452
18455
|
justifyContent: 'space-between'
|
|
18453
18456
|
};
|
|
@@ -18485,6 +18488,8 @@ var getVariant = function getVariant(_ref) {
|
|
|
18485
18488
|
};
|
|
18486
18489
|
|
|
18487
18490
|
var TextInput = function TextInput(_ref2) {
|
|
18491
|
+
var _ref3;
|
|
18492
|
+
|
|
18488
18493
|
var label = _ref2.label,
|
|
18489
18494
|
prefix = _ref2.prefix,
|
|
18490
18495
|
suffix = _ref2.suffix,
|
|
@@ -18505,7 +18510,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18505
18510
|
nativeProps = _objectWithoutProperties$1(_ref2, _excluded$1);
|
|
18506
18511
|
|
|
18507
18512
|
var textInputReference = useRef(null);
|
|
18508
|
-
var displayText = value
|
|
18513
|
+
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
18509
18514
|
var isEmptyValue = displayText.length === 0;
|
|
18510
18515
|
|
|
18511
18516
|
var _React$useState = React.useState(false),
|
|
@@ -18593,7 +18598,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18593
18598
|
testID: "input-suffix",
|
|
18594
18599
|
icon: suffix,
|
|
18595
18600
|
size: "xsmall"
|
|
18596
|
-
}) : suffix), /*#__PURE__*/React.createElement(StyledErrorAndHelpTextContainer, null, error && /*#__PURE__*/React.createElement(StyledErrorContainer, null, /*#__PURE__*/React.createElement(Icon, {
|
|
18601
|
+
}) : suffix), /*#__PURE__*/React.createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React.createElement(StyledErrorAndMaxLengthContainer, null, error && /*#__PURE__*/React.createElement(StyledErrorContainer, null, /*#__PURE__*/React.createElement(Icon, {
|
|
18597
18602
|
testID: "input-error-icon",
|
|
18598
18603
|
icon: "circle-info",
|
|
18599
18604
|
size: "xsmall",
|
|
@@ -18603,7 +18608,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18603
18608
|
}, error)), shouldShowMaxLength && /*#__PURE__*/React.createElement(StyledMaxLengthMessage, {
|
|
18604
18609
|
themeVariant: variant,
|
|
18605
18610
|
fontSize: "small"
|
|
18606
|
-
}, displayText.length, "/", maxLength), helpText && /*#__PURE__*/React.createElement(StyledHelperText, null, helpText)));
|
|
18611
|
+
}, displayText.length, "/", maxLength)), helpText && /*#__PURE__*/React.createElement(StyledHelperText, null, helpText)));
|
|
18607
18612
|
};
|
|
18608
18613
|
|
|
18609
18614
|
function MultiSelect(_ref) {
|
|
@@ -18614,7 +18619,6 @@ function MultiSelect(_ref) {
|
|
|
18614
18619
|
label = _ref.label,
|
|
18615
18620
|
footerLabel = _ref.footerLabel,
|
|
18616
18621
|
onConfirm = _ref.onConfirm;
|
|
18617
|
-
var theme = useTheme$1();
|
|
18618
18622
|
|
|
18619
18623
|
var _useState = useState(false),
|
|
18620
18624
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18635,23 +18639,16 @@ function MultiSelect(_ref) {
|
|
|
18635
18639
|
onPress: function onPress() {
|
|
18636
18640
|
return setOpen(true);
|
|
18637
18641
|
}
|
|
18642
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
18643
|
+
pointerEvents: "none"
|
|
18638
18644
|
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
18639
18645
|
label: label,
|
|
18640
18646
|
value: displayedValue,
|
|
18641
|
-
onPressIn: function onPressIn() {
|
|
18642
|
-
return setOpen(true);
|
|
18643
|
-
},
|
|
18644
|
-
editable: false // when input is not editable on Android, the text color is gray
|
|
18645
|
-
// hence, adding this to make the text color the same as iOS
|
|
18646
|
-
,
|
|
18647
|
-
textStyle: {
|
|
18648
|
-
color: theme.colors.text
|
|
18649
|
-
},
|
|
18650
18647
|
suffix: "arrow-down",
|
|
18651
18648
|
multiline: true,
|
|
18652
18649
|
style: style,
|
|
18653
18650
|
testID: testID
|
|
18654
|
-
}), /*#__PURE__*/React.createElement(BottomSheet, {
|
|
18651
|
+
})), /*#__PURE__*/React.createElement(BottomSheet, {
|
|
18655
18652
|
open: open,
|
|
18656
18653
|
onRequestClose: function onRequestClose() {
|
|
18657
18654
|
return setOpen(false);
|
|
@@ -18721,7 +18718,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
18721
18718
|
style = _ref.style,
|
|
18722
18719
|
label = _ref.label,
|
|
18723
18720
|
onConfirm = _ref.onConfirm;
|
|
18724
|
-
var theme = useTheme$1();
|
|
18725
18721
|
|
|
18726
18722
|
var _useState = useState(false),
|
|
18727
18723
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18740,23 +18736,16 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
18740
18736
|
onPress: function onPress() {
|
|
18741
18737
|
return setOpen(true);
|
|
18742
18738
|
}
|
|
18739
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
18740
|
+
pointerEvents: "none"
|
|
18743
18741
|
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
18744
18742
|
label: label,
|
|
18745
18743
|
value: displayedValue,
|
|
18746
|
-
onPressIn: function onPressIn() {
|
|
18747
|
-
return setOpen(true);
|
|
18748
|
-
},
|
|
18749
|
-
editable: false // when input is not editable on Android, the text color is gray
|
|
18750
|
-
// hence, adding this to make the text color the same as iOS
|
|
18751
|
-
,
|
|
18752
|
-
textStyle: {
|
|
18753
|
-
color: theme.colors.text
|
|
18754
|
-
},
|
|
18755
18744
|
suffix: "arrow-down",
|
|
18756
18745
|
multiline: true,
|
|
18757
18746
|
style: style,
|
|
18758
18747
|
testID: testID
|
|
18759
|
-
}), /*#__PURE__*/React.createElement(BottomSheet, {
|
|
18748
|
+
})), /*#__PURE__*/React.createElement(BottomSheet, {
|
|
18760
18749
|
open: open,
|
|
18761
18750
|
onRequestClose: function onRequestClose() {
|
|
18762
18751
|
return setOpen(false);
|
package/lib/index.js
CHANGED
|
@@ -3470,10 +3470,10 @@ var getTextInputTheme = function getTextInputTheme(theme) {
|
|
|
3470
3470
|
labelHorizontalPadding: theme.space.xsmall,
|
|
3471
3471
|
inputHorizontalMargin: theme.space.small,
|
|
3472
3472
|
containerMarginVertical: theme.space.small,
|
|
3473
|
-
errorContainerMarginLeft: theme.space.medium,
|
|
3474
3473
|
errorContainerMarginRight: theme.space.xsmall,
|
|
3475
3474
|
errorMarginLeft: theme.space.xsmall,
|
|
3476
|
-
maxLengthLabelMarginLeft: theme.space.xsmall
|
|
3475
|
+
maxLengthLabelMarginLeft: theme.space.xsmall,
|
|
3476
|
+
errorAndHelpTextContainerPaddingLeft: theme.space.medium
|
|
3477
3477
|
};
|
|
3478
3478
|
var fontSizes = {
|
|
3479
3479
|
text: theme.fontSizes.medium,
|
|
@@ -18399,7 +18399,6 @@ var StyledAsteriskLabelInsideTextInput = index$5(Typography.Text)(function (_ref
|
|
|
18399
18399
|
var StyledErrorContainer = index$5(ReactNative.View)(function (_ref7) {
|
|
18400
18400
|
var theme = _ref7.theme;
|
|
18401
18401
|
return {
|
|
18402
|
-
marginLeft: theme.__hd__.textInput.space.errorContainerMarginLeft,
|
|
18403
18402
|
marginRight: theme.__hd__.textInput.space.errorContainerMarginRight,
|
|
18404
18403
|
flexDirection: 'row',
|
|
18405
18404
|
alignItems: 'center',
|
|
@@ -18431,8 +18430,7 @@ var StyledMaxLengthMessage = index$5(Typography.Text)(function (_ref9) {
|
|
|
18431
18430
|
var StyledHelperText = index$5(Typography.Text)(function (_ref10) {
|
|
18432
18431
|
var theme = _ref10.theme;
|
|
18433
18432
|
return {
|
|
18434
|
-
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
18435
|
-
marginLeft: theme.__hd__.textInput.space.errorMarginLeft
|
|
18433
|
+
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
18436
18434
|
};
|
|
18437
18435
|
});
|
|
18438
18436
|
var StyledTextInput = index$5(ReactNative.TextInput)(function (_ref11) {
|
|
@@ -18472,9 +18470,14 @@ var StyledTextInputAndLabelContainer = index$5(ReactNative.View)(function () {
|
|
|
18472
18470
|
flexGrow: 2
|
|
18473
18471
|
};
|
|
18474
18472
|
});
|
|
18475
|
-
var StyledErrorAndHelpTextContainer = index$5(ReactNative.View)(function () {
|
|
18473
|
+
var StyledErrorAndHelpTextContainer = index$5(ReactNative.View)(function (_ref14) {
|
|
18474
|
+
var theme = _ref14.theme;
|
|
18475
|
+
return {
|
|
18476
|
+
paddingLeft: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingLeft
|
|
18477
|
+
};
|
|
18478
|
+
});
|
|
18479
|
+
var StyledErrorAndMaxLengthContainer = index$5(ReactNative.View)(function () {
|
|
18476
18480
|
return {
|
|
18477
|
-
flex: 1,
|
|
18478
18481
|
flexDirection: 'row',
|
|
18479
18482
|
justifyContent: 'space-between'
|
|
18480
18483
|
};
|
|
@@ -18512,6 +18515,8 @@ var getVariant = function getVariant(_ref) {
|
|
|
18512
18515
|
};
|
|
18513
18516
|
|
|
18514
18517
|
var TextInput = function TextInput(_ref2) {
|
|
18518
|
+
var _ref3;
|
|
18519
|
+
|
|
18515
18520
|
var label = _ref2.label,
|
|
18516
18521
|
prefix = _ref2.prefix,
|
|
18517
18522
|
suffix = _ref2.suffix,
|
|
@@ -18532,7 +18537,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18532
18537
|
nativeProps = _objectWithoutProperties$1(_ref2, _excluded$1);
|
|
18533
18538
|
|
|
18534
18539
|
var textInputReference = React.useRef(null);
|
|
18535
|
-
var displayText = value
|
|
18540
|
+
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
18536
18541
|
var isEmptyValue = displayText.length === 0;
|
|
18537
18542
|
|
|
18538
18543
|
var _React$useState = React__default["default"].useState(false),
|
|
@@ -18620,7 +18625,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18620
18625
|
testID: "input-suffix",
|
|
18621
18626
|
icon: suffix,
|
|
18622
18627
|
size: "xsmall"
|
|
18623
|
-
}) : suffix), /*#__PURE__*/React__default["default"].createElement(StyledErrorAndHelpTextContainer, null, error && /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer, null, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
18628
|
+
}) : suffix), /*#__PURE__*/React__default["default"].createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledErrorAndMaxLengthContainer, null, error && /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer, null, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
18624
18629
|
testID: "input-error-icon",
|
|
18625
18630
|
icon: "circle-info",
|
|
18626
18631
|
size: "xsmall",
|
|
@@ -18630,7 +18635,7 @@ var TextInput = function TextInput(_ref2) {
|
|
|
18630
18635
|
}, error)), shouldShowMaxLength && /*#__PURE__*/React__default["default"].createElement(StyledMaxLengthMessage, {
|
|
18631
18636
|
themeVariant: variant,
|
|
18632
18637
|
fontSize: "small"
|
|
18633
|
-
}, displayText.length, "/", maxLength), helpText && /*#__PURE__*/React__default["default"].createElement(StyledHelperText, null, helpText)));
|
|
18638
|
+
}, displayText.length, "/", maxLength)), helpText && /*#__PURE__*/React__default["default"].createElement(StyledHelperText, null, helpText)));
|
|
18634
18639
|
};
|
|
18635
18640
|
|
|
18636
18641
|
function MultiSelect(_ref) {
|
|
@@ -18641,7 +18646,6 @@ function MultiSelect(_ref) {
|
|
|
18641
18646
|
label = _ref.label,
|
|
18642
18647
|
footerLabel = _ref.footerLabel,
|
|
18643
18648
|
onConfirm = _ref.onConfirm;
|
|
18644
|
-
var theme = useTheme$1();
|
|
18645
18649
|
|
|
18646
18650
|
var _useState = React.useState(false),
|
|
18647
18651
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18662,23 +18666,16 @@ function MultiSelect(_ref) {
|
|
|
18662
18666
|
onPress: function onPress() {
|
|
18663
18667
|
return setOpen(true);
|
|
18664
18668
|
}
|
|
18669
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactNative.View, {
|
|
18670
|
+
pointerEvents: "none"
|
|
18665
18671
|
}, /*#__PURE__*/React__default["default"].createElement(TextInput, {
|
|
18666
18672
|
label: label,
|
|
18667
18673
|
value: displayedValue,
|
|
18668
|
-
onPressIn: function onPressIn() {
|
|
18669
|
-
return setOpen(true);
|
|
18670
|
-
},
|
|
18671
|
-
editable: false // when input is not editable on Android, the text color is gray
|
|
18672
|
-
// hence, adding this to make the text color the same as iOS
|
|
18673
|
-
,
|
|
18674
|
-
textStyle: {
|
|
18675
|
-
color: theme.colors.text
|
|
18676
|
-
},
|
|
18677
18674
|
suffix: "arrow-down",
|
|
18678
18675
|
multiline: true,
|
|
18679
18676
|
style: style,
|
|
18680
18677
|
testID: testID
|
|
18681
|
-
}), /*#__PURE__*/React__default["default"].createElement(BottomSheet, {
|
|
18678
|
+
})), /*#__PURE__*/React__default["default"].createElement(BottomSheet, {
|
|
18682
18679
|
open: open,
|
|
18683
18680
|
onRequestClose: function onRequestClose() {
|
|
18684
18681
|
return setOpen(false);
|
|
@@ -18748,7 +18745,6 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
18748
18745
|
style = _ref.style,
|
|
18749
18746
|
label = _ref.label,
|
|
18750
18747
|
onConfirm = _ref.onConfirm;
|
|
18751
|
-
var theme = useTheme$1();
|
|
18752
18748
|
|
|
18753
18749
|
var _useState = React.useState(false),
|
|
18754
18750
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18767,23 +18763,16 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
18767
18763
|
onPress: function onPress() {
|
|
18768
18764
|
return setOpen(true);
|
|
18769
18765
|
}
|
|
18766
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactNative.View, {
|
|
18767
|
+
pointerEvents: "none"
|
|
18770
18768
|
}, /*#__PURE__*/React__default["default"].createElement(TextInput, {
|
|
18771
18769
|
label: label,
|
|
18772
18770
|
value: displayedValue,
|
|
18773
|
-
onPressIn: function onPressIn() {
|
|
18774
|
-
return setOpen(true);
|
|
18775
|
-
},
|
|
18776
|
-
editable: false // when input is not editable on Android, the text color is gray
|
|
18777
|
-
// hence, adding this to make the text color the same as iOS
|
|
18778
|
-
,
|
|
18779
|
-
textStyle: {
|
|
18780
|
-
color: theme.colors.text
|
|
18781
|
-
},
|
|
18782
18771
|
suffix: "arrow-down",
|
|
18783
18772
|
multiline: true,
|
|
18784
18773
|
style: style,
|
|
18785
18774
|
testID: testID
|
|
18786
|
-
}), /*#__PURE__*/React__default["default"].createElement(BottomSheet, {
|
|
18775
|
+
})), /*#__PURE__*/React__default["default"].createElement(BottomSheet, {
|
|
18787
18776
|
open: open,
|
|
18788
18777
|
onRequestClose: function onRequestClose() {
|
|
18789
18778
|
return setOpen(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "7.10.2
|
|
3
|
+
"version": "7.10.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@emotion/native": "^11.9.3",
|
|
23
23
|
"@emotion/react": "^11.9.3",
|
|
24
|
-
"@hero-design/colors": "7.10.2
|
|
24
|
+
"@hero-design/colors": "7.10.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "17.0.2",
|