@hero-design/rn-work-uikit 1.8.0 → 1.8.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/CHANGELOG.md +9 -0
- package/lib/index.js +27 -13
- package/package.json +8 -8
- package/stats/1.8.1/rn-work-uikit-stats.html +4844 -0
- package/stats/1.8.0/rn-work-uikit-stats.html +0 -4844
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @hero-design/rn-work-uikit
|
|
2
2
|
|
|
3
|
+
## 1.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#4262](https://github.com/Thinkei/hero-design/pull/4262) [`7fbdf8736b42b9a9cb1c7ee203c69192b6d12a1f`](https://github.com/Thinkei/hero-design/commit/7fbdf8736b42b9a9cb1c7ee203c69192b6d12a1f) Thanks [@ttkien](https://github.com/ttkien)! - Upgrade react-native 0.77.3
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`7fbdf8736b42b9a9cb1c7ee203c69192b6d12a1f`](https://github.com/Thinkei/hero-design/commit/7fbdf8736b42b9a9cb1c7ee203c69192b6d12a1f)]:
|
|
10
|
+
- @hero-design/rn@8.110.1
|
|
11
|
+
|
|
3
12
|
## 1.8.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/lib/index.js
CHANGED
|
@@ -15299,7 +15299,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
15299
15299
|
_ref$variant = _ref.variant,
|
|
15300
15300
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
15301
15301
|
style = _ref.style,
|
|
15302
|
-
testID = _ref.testID
|
|
15302
|
+
testID = _ref.testID,
|
|
15303
|
+
accessible = _ref.accessible;
|
|
15303
15304
|
var defaultValue = React.useMemo(function () {
|
|
15304
15305
|
return typeof activeItemKey === 'number' ? NaN : '';
|
|
15305
15306
|
}, [activeItemKey]);
|
|
@@ -15309,7 +15310,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
15309
15310
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
15310
15311
|
return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$c, {
|
|
15311
15312
|
style: style,
|
|
15312
|
-
testID: testID
|
|
15313
|
+
testID: testID,
|
|
15314
|
+
accessible: accessible
|
|
15313
15315
|
}, items.map(function (_ref2, index) {
|
|
15314
15316
|
var key = _ref2.key,
|
|
15315
15317
|
props = _objectWithoutProperties(_ref2, _excluded$y);
|
|
@@ -22134,7 +22136,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
|
|
|
22134
22136
|
};
|
|
22135
22137
|
});
|
|
22136
22138
|
|
|
22137
|
-
var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
22139
|
+
var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible"];
|
|
22138
22140
|
var getChipLabel = function getChipLabel(label) {
|
|
22139
22141
|
if (typeof label === 'string') {
|
|
22140
22142
|
return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
@@ -22167,6 +22169,7 @@ var Chip = function Chip(_ref) {
|
|
|
22167
22169
|
onPress = _ref.onPress,
|
|
22168
22170
|
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
22169
22171
|
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
22172
|
+
accessible = _ref.accessible,
|
|
22170
22173
|
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
22171
22174
|
useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
|
|
22172
22175
|
var renamedVariant = getChipVariant(variant);
|
|
@@ -22177,7 +22180,8 @@ var Chip = function Chip(_ref) {
|
|
|
22177
22180
|
return /*#__PURE__*/React__namespace.default.createElement(StyledChipWrapper, _extends$1({
|
|
22178
22181
|
onPress: onPress,
|
|
22179
22182
|
themeVariant: renamedVariant,
|
|
22180
|
-
themeSelected: selected
|
|
22183
|
+
themeSelected: selected,
|
|
22184
|
+
accessible: accessible
|
|
22181
22185
|
}, otherProps), icon && /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
22182
22186
|
marginRight: "small"
|
|
22183
22187
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledChipIcon, {
|
|
@@ -26028,7 +26032,8 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
26028
26032
|
style = _ref2.style,
|
|
26029
26033
|
testID = _ref2.testID,
|
|
26030
26034
|
textContentType = _ref2.textContentType,
|
|
26031
|
-
autoComplete = _ref2.autoComplete
|
|
26035
|
+
autoComplete = _ref2.autoComplete,
|
|
26036
|
+
accessible = _ref2.accessible;
|
|
26032
26037
|
var inputRef = React.useRef(null);
|
|
26033
26038
|
var _useState = React.useState(autoFocus),
|
|
26034
26039
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -26090,7 +26095,8 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
26090
26095
|
}, [trimmedValue]);
|
|
26091
26096
|
return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$5, {
|
|
26092
26097
|
style: style,
|
|
26093
|
-
testID: testID
|
|
26098
|
+
testID: testID,
|
|
26099
|
+
accessible: accessible
|
|
26094
26100
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper, {
|
|
26095
26101
|
onPress: focus,
|
|
26096
26102
|
disabled: disabled,
|
|
@@ -26786,11 +26792,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
26786
26792
|
keyExtractor = _ref.keyExtractor,
|
|
26787
26793
|
style = _ref.style,
|
|
26788
26794
|
testID = _ref.testID,
|
|
26795
|
+
accessible = _ref.accessible,
|
|
26789
26796
|
_ref$inactiveIntent = _ref.inactiveIntent,
|
|
26790
26797
|
inactiveIntent = _ref$inactiveIntent === void 0 ? 'light' : _ref$inactiveIntent;
|
|
26791
26798
|
return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
26792
26799
|
style: style,
|
|
26793
|
-
testID: testID
|
|
26800
|
+
testID: testID,
|
|
26801
|
+
accessible: accessible
|
|
26794
26802
|
}, options.map(function (option, index) {
|
|
26795
26803
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
26796
26804
|
key: getKey(option, index, keyExtractor)
|
|
@@ -28293,10 +28301,12 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
|
28293
28301
|
var _ref$align = _ref.align,
|
|
28294
28302
|
align = _ref$align === void 0 ? 'right' : _ref$align,
|
|
28295
28303
|
_ref$items = _ref.items,
|
|
28296
|
-
items = _ref$items === void 0 ? [] : _ref$items
|
|
28304
|
+
items = _ref$items === void 0 ? [] : _ref$items,
|
|
28305
|
+
accessible = _ref.accessible;
|
|
28297
28306
|
useDeprecation("Toolbar's align prop is deprecated for 'left' and 'center' alignment. Please use 'right' instead.", align !== 'right');
|
|
28298
28307
|
return /*#__PURE__*/React__namespace.default.createElement(ToolbarGroupWrapper, {
|
|
28299
|
-
align: align
|
|
28308
|
+
align: align,
|
|
28309
|
+
accessible: accessible
|
|
28300
28310
|
}, items.map(function (_ref2) {
|
|
28301
28311
|
var label = _ref2.label,
|
|
28302
28312
|
icon = _ref2.icon,
|
|
@@ -48277,10 +48287,12 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
48277
48287
|
content = props.content,
|
|
48278
48288
|
testID = props.testID,
|
|
48279
48289
|
_props$variant = props.variant,
|
|
48280
|
-
variant = _props$variant === void 0 ? 'basic' : _props$variant
|
|
48290
|
+
variant = _props$variant === void 0 ? 'basic' : _props$variant,
|
|
48291
|
+
accessible = props.accessible;
|
|
48281
48292
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$1, {
|
|
48282
48293
|
style: style,
|
|
48283
|
-
testID: testID
|
|
48294
|
+
testID: testID,
|
|
48295
|
+
accessible: accessible
|
|
48284
48296
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
48285
48297
|
themeVariant: variant
|
|
48286
48298
|
}, renderPrefix({
|
|
@@ -48292,7 +48304,7 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
48292
48304
|
})));
|
|
48293
48305
|
};
|
|
48294
48306
|
|
|
48295
|
-
var _excluded$5 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable"];
|
|
48307
|
+
var _excluded$5 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable", "accessible"];
|
|
48296
48308
|
var getState$1 = function getState(_ref) {
|
|
48297
48309
|
var disabled = _ref.disabled,
|
|
48298
48310
|
editable = _ref.editable,
|
|
@@ -48336,6 +48348,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
48336
48348
|
variant = _props$variant === void 0 ? 'basic' : _props$variant,
|
|
48337
48349
|
_props$clearable = props.clearable,
|
|
48338
48350
|
clearable = _props$clearable === void 0 ? false : _props$clearable,
|
|
48351
|
+
accessible = props.accessible,
|
|
48339
48352
|
nativeProps = _objectWithoutProperties(props, _excluded$5);
|
|
48340
48353
|
var _React$useState = React__namespace.default.useState(false),
|
|
48341
48354
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -48397,7 +48410,8 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
48397
48410
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$1, {
|
|
48398
48411
|
pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
|
|
48399
48412
|
testID: testID,
|
|
48400
|
-
style: style
|
|
48413
|
+
style: style,
|
|
48414
|
+
accessible: accessible
|
|
48401
48415
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
48402
48416
|
themeVariant: variant
|
|
48403
48417
|
}, renderPrefix({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn-work-uikit",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@emotion/native": "^11.9.3",
|
|
24
24
|
"@emotion/primitives-core": "11.0.0",
|
|
25
25
|
"@emotion/react": "^11.9.3",
|
|
26
|
-
"@hero-design/rn": "^8.110.
|
|
26
|
+
"@hero-design/rn": "^8.110.1",
|
|
27
27
|
"hero-editor": "^1.17.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@react-native-community/datetimepicker": "^3.5.2 || ^7.6.1",
|
|
33
33
|
"@react-native-community/slider": "^4.5.1",
|
|
34
34
|
"react": "18.3.1",
|
|
35
|
-
"react-native": "0.
|
|
35
|
+
"react-native": "0.77.3",
|
|
36
36
|
"react-native-gesture-handler": "~2.20.2",
|
|
37
37
|
"react-native-linear-gradient": "^2.8.3",
|
|
38
38
|
"react-native-pager-view": "^6.7.0",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
62
62
|
"@react-native-community/datetimepicker": "8.2.0",
|
|
63
63
|
"@react-native-community/slider": "^4.5.1",
|
|
64
|
-
"@react-native/babel-preset": "0.
|
|
65
|
-
"@react-native/eslint-config": "0.
|
|
66
|
-
"@react-native/metro-config": "0.
|
|
67
|
-
"@react-native/typescript-config": "0.
|
|
64
|
+
"@react-native/babel-preset": "0.77.3",
|
|
65
|
+
"@react-native/eslint-config": "0.77.3",
|
|
66
|
+
"@react-native/metro-config": "0.77.3",
|
|
67
|
+
"@react-native/typescript-config": "0.77.3",
|
|
68
68
|
"@rollup/plugin-alias": "^5.1.1",
|
|
69
69
|
"@rollup/plugin-babel": "^6.0.4",
|
|
70
70
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"prettier-config-hd": "8.42.4",
|
|
103
103
|
"react": "18.3.1",
|
|
104
104
|
"react-dom": "^18.2.0",
|
|
105
|
-
"react-native": "0.
|
|
105
|
+
"react-native": "0.77.3",
|
|
106
106
|
"react-native-gesture-handler": "~2.20.2",
|
|
107
107
|
"react-native-linear-gradient": "2.8.3",
|
|
108
108
|
"react-native-pager-view": "6.5.1",
|