@adiraku/react-native-ui 1.2.10-canary-7 → 1.2.10-canary-8
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/lib/commonjs/components/ActionList/ActionList.component.js +7 -5
- package/lib/commonjs/components/ActionList/ActionList.component.js.map +1 -1
- package/lib/module/components/ActionList/ActionList.component.js +7 -5
- package/lib/module/components/ActionList/ActionList.component.js.map +1 -1
- package/lib/typescript/components/ActionList/ActionList.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionList/ActionList.component.tsx +6 -4
|
@@ -32,7 +32,9 @@ const ActionList = props => {
|
|
|
32
32
|
onPress: onPress,
|
|
33
33
|
disabled: disabled
|
|
34
34
|
}, rest, {
|
|
35
|
-
underlayColor: _themes.Palettes.grey[50]
|
|
35
|
+
underlayColor: _themes.Palettes.grey[50],
|
|
36
|
+
testID: testID,
|
|
37
|
+
accessibilityLabel: testID
|
|
36
38
|
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
37
39
|
style: [computedStyle.container, containerStyle]
|
|
38
40
|
}, leadingComponent && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -45,16 +47,16 @@ const ActionList = props => {
|
|
|
45
47
|
...computedStyle.title,
|
|
46
48
|
...textStyles
|
|
47
49
|
},
|
|
48
|
-
testID:
|
|
49
|
-
accessibilityLabel:
|
|
50
|
+
testID: testID + 'Title',
|
|
51
|
+
accessibilityLabel: testID + 'Title'
|
|
50
52
|
}, title), !!description && /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
51
53
|
variant: 'body2',
|
|
52
54
|
textStyles: {
|
|
53
55
|
...computedStyle.description,
|
|
54
56
|
...textStyles
|
|
55
57
|
},
|
|
56
|
-
testID:
|
|
57
|
-
accessibilityLabel:
|
|
58
|
+
testID: testID + 'Desc',
|
|
59
|
+
accessibilityLabel: testID + 'Desc'
|
|
58
60
|
}, description)), trailingComponent && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
59
61
|
style: computedStyle.trailingWrapper
|
|
60
62
|
}, trailingComponent)), !isLast && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_typography","_ActionList","_themes","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ActionList","props","onPress","title","description","textStyles","disabled","leadingComponent","trailingComponent","containerStyle","isLast","testID","rest","computedStyle","getStyle","createElement","TouchableHighlight","underlayColor","Palettes","grey","View","style","container","leadingWrapper","textContainer","Typography","variant","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_typography","_ActionList","_themes","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ActionList","props","onPress","title","description","textStyles","disabled","leadingComponent","trailingComponent","containerStyle","isLast","testID","rest","computedStyle","getStyle","createElement","TouchableHighlight","underlayColor","Palettes","grey","accessibilityLabel","View","style","container","leadingWrapper","textContainer","Typography","variant","trailingWrapper","borderBottom","exports"],"sourceRoot":"../../../../src","sources":["components/ActionList/ActionList.component.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,OAAA,GAAAJ,OAAA;AAAwC,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SA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7B,MAAA,CAAAS,OAAA,CAAA4B,aAAA,CAAClC,YAAA,CAAAwC,IAAI;IAACC,KAAK,EAAET,aAAa,CAACY;EAAc,GACtC,CAAC,CAACtB,KAAK,iBACNzB,MAAA,CAAAS,OAAA,CAAA4B,aAAA,CAACjC,WAAA,CAAA4C,UAAU;IACTC,OAAO,EAAE,WAAY;IACrBtB,UAAU,EAAE;MAAE,GAAGQ,aAAa,CAACV,KAAK;MAAE,GAAGE;IAAW,CAAE;IACtDM,MAAM,EAAEA,MAAM,GAAG,OAAQ;IACzBS,kBAAkB,EAAET,MAAM,GAAG;EAAQ,GAEpCR,KACS,CACb,EACA,CAAC,CAACC,WAAW,iBACZ1B,MAAA,CAAAS,OAAA,CAAA4B,aAAA,CAACjC,WAAA,CAAA4C,UAAU;IACTC,OAAO,EAAE,OAAQ;IACjBtB,UAAU,EAAE;MAAE,GAAGQ,aAAa,CAACT,WAAW;MAAE,GAAGC;IAAW,CAAE;IAC5DM,MAAM,EAAEA,MAAM,GAAG,MAAO;IACxBS,kBAAkB,EAAET,MAAM,GAAG;EAAO,GAEnCP,WACS,CAEV,CAAC,EACNI,iBAAiB,iBAChB9B,MAAA,CAAAS,OAAA,CAAA4B,aAAA,CAAClC,YAAA,CAAAwC,IAAI;IAACC,KAAK,EAAET,aAAa,CAACe;EAAgB,GACxCpB,iBACG,CAEJ,CAAC,EACN,CAACE,MAAM,iBAAIhC,MAAA,CAAAS,OAAA,CAAA4B,aAAA,CAAClC,YAAA,CAAAwC,IAAI;IAACC,KAAK,EAAET,aAAa,CAACgB;EAAa,CAAE,CAClD,CACY,CAAC;AAEzB,CAAC;AAACC,OAAA,CAAA9B,UAAA,GAAAA,UAAA","ignoreList":[]}
|
|
@@ -25,7 +25,9 @@ const ActionList = props => {
|
|
|
25
25
|
onPress: onPress,
|
|
26
26
|
disabled: disabled
|
|
27
27
|
}, rest, {
|
|
28
|
-
underlayColor: Palettes.grey[50]
|
|
28
|
+
underlayColor: Palettes.grey[50],
|
|
29
|
+
testID: testID,
|
|
30
|
+
accessibilityLabel: testID
|
|
29
31
|
}), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
30
32
|
style: [computedStyle.container, containerStyle]
|
|
31
33
|
}, leadingComponent && /*#__PURE__*/React.createElement(View, {
|
|
@@ -38,16 +40,16 @@ const ActionList = props => {
|
|
|
38
40
|
...computedStyle.title,
|
|
39
41
|
...textStyles
|
|
40
42
|
},
|
|
41
|
-
testID:
|
|
42
|
-
accessibilityLabel:
|
|
43
|
+
testID: testID + 'Title',
|
|
44
|
+
accessibilityLabel: testID + 'Title'
|
|
43
45
|
}, title), !!description && /*#__PURE__*/React.createElement(Typography, {
|
|
44
46
|
variant: 'body2',
|
|
45
47
|
textStyles: {
|
|
46
48
|
...computedStyle.description,
|
|
47
49
|
...textStyles
|
|
48
50
|
},
|
|
49
|
-
testID:
|
|
50
|
-
accessibilityLabel:
|
|
51
|
+
testID: testID + 'Desc',
|
|
52
|
+
accessibilityLabel: testID + 'Desc'
|
|
51
53
|
}, description)), trailingComponent && /*#__PURE__*/React.createElement(View, {
|
|
52
54
|
style: computedStyle.trailingWrapper
|
|
53
55
|
}, trailingComponent)), !isLast && /*#__PURE__*/React.createElement(View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","TouchableHighlight","Typography","getStyle","Palettes","ActionList","props","onPress","title","description","textStyles","disabled","leadingComponent","trailingComponent","containerStyle","isLast","testID","rest","computedStyle","createElement","_extends","underlayColor","grey","style","container","leadingWrapper","textContainer","variant","
|
|
1
|
+
{"version":3,"names":["React","View","TouchableHighlight","Typography","getStyle","Palettes","ActionList","props","onPress","title","description","textStyles","disabled","leadingComponent","trailingComponent","containerStyle","isLast","testID","rest","computedStyle","createElement","_extends","underlayColor","grey","accessibilityLabel","style","container","leadingWrapper","textContainer","variant","trailingWrapper","borderBottom"],"sourceRoot":"../../../../src","sources":["components/ActionList/ActionList.component.tsx"],"mappings":";AAAA,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GQ,aAAa,CAACV,KAAK;MAAE,GAAGE;IAAW,CAAE;IACtDM,MAAM,EAAEA,MAAM,GAAG,OAAQ;IACzBO,kBAAkB,EAAEP,MAAM,GAAG;EAAQ,GAEpCR,KACS,CACb,EACA,CAAC,CAACC,WAAW,iBACZV,KAAA,CAAAoB,aAAA,CAACjB,UAAU;IACT0B,OAAO,EAAE,OAAQ;IACjBlB,UAAU,EAAE;MAAE,GAAGQ,aAAa,CAACT,WAAW;MAAE,GAAGC;IAAW,CAAE;IAC5DM,MAAM,EAAEA,MAAM,GAAG,MAAO;IACxBO,kBAAkB,EAAEP,MAAM,GAAG;EAAO,GAEnCP,WACS,CAEV,CAAC,EACNI,iBAAiB,iBAChBd,KAAA,CAAAoB,aAAA,CAACnB,IAAI;IAACwB,KAAK,EAAEN,aAAa,CAACW;EAAgB,GACxChB,iBACG,CAEJ,CAAC,EACN,CAACE,MAAM,iBAAIhB,KAAA,CAAAoB,aAAA,CAACnB,IAAI;IAACwB,KAAK,EAAEN,aAAa,CAACY;EAAa,CAAE,CAClD,CACY,CAAC;AAEzB,CAAC;AAED,SAASzB,UAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionList.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"ActionList.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionList/ActionList.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiEzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -32,6 +32,8 @@ const ActionList: React.FC<ActionListProps> = (props) => {
|
|
|
32
32
|
disabled={disabled}
|
|
33
33
|
{...rest}
|
|
34
34
|
underlayColor={Palettes.grey[50]}
|
|
35
|
+
testID={testID}
|
|
36
|
+
accessibilityLabel={testID}
|
|
35
37
|
>
|
|
36
38
|
<View>
|
|
37
39
|
<View style={[computedStyle.container, containerStyle]}>
|
|
@@ -43,8 +45,8 @@ const ActionList: React.FC<ActionListProps> = (props) => {
|
|
|
43
45
|
<Typography
|
|
44
46
|
variant={'subtitle2'}
|
|
45
47
|
textStyles={{ ...computedStyle.title, ...textStyles }}
|
|
46
|
-
testID={
|
|
47
|
-
accessibilityLabel={
|
|
48
|
+
testID={testID + 'Title'}
|
|
49
|
+
accessibilityLabel={testID + 'Title'}
|
|
48
50
|
>
|
|
49
51
|
{title}
|
|
50
52
|
</Typography>
|
|
@@ -53,8 +55,8 @@ const ActionList: React.FC<ActionListProps> = (props) => {
|
|
|
53
55
|
<Typography
|
|
54
56
|
variant={'body2'}
|
|
55
57
|
textStyles={{ ...computedStyle.description, ...textStyles }}
|
|
56
|
-
testID={
|
|
57
|
-
accessibilityLabel={
|
|
58
|
+
testID={testID + 'Desc'}
|
|
59
|
+
accessibilityLabel={testID + 'Desc'}
|
|
58
60
|
>
|
|
59
61
|
{description}
|
|
60
62
|
</Typography>
|