Skip to content

Commit f85d0a6

Browse files
authored
Merge pull request #5555 from GeekyAnts/release/3.4.22
release 3.4.22
2 parents 5c52b85 + b1b16a8 commit f85d0a6

File tree

10 files changed

+15
-12
lines changed

10 files changed

+15
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"prettier --write"
3737
]
3838
},
39-
"version": "3.4.21",
39+
"version": "3.4.22",
4040
"license": "MIT",
4141
"private": false,
4242
"main": "lib/commonjs/index",

src/components/composites/Modal/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> {
8181
* Props to be passed to the Overlay used inside of Modal.
8282
*/
8383
_overlay?: IOverlayProps;
84-
85-
/* If true, renders react-native native modal
84+
/**
85+
* If true, renders react-native native modal
8686
* @default false
8787
*/
8888
useRNModal?: boolean;

src/components/primitives/Box/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface ILinearGradientProps {
1414
colors: Array<string>;
1515
start?: Array<number>;
1616
end?: Array<number>;
17-
location?: Array<number>;
17+
locations?: Array<number>;
1818
};
1919
}
2020

src/components/primitives/Checkbox/Checkbox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ const CheckboxComponent = React.memo(
158158
'accessibilityRole',
159159
'accessibilityState',
160160
'accessibilityLabel',
161+
'accessibilityHint',
161162
]);
162163

163164
//TODO: refactor for responsive prop

src/components/primitives/Select/Select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Select = (
6767
onOpen,
6868
onClose,
6969
optimized,
70-
customDropdownIconProps,
70+
_customDropdownIconProps,
7171
_actionSheet,
7272
_actionSheetContent,
7373
_actionSheetBody,
@@ -133,7 +133,7 @@ const Select = (
133133
) : dropdownIcon ? (
134134
dropdownIcon
135135
) : (
136-
<ChevronDownIcon {...customDropdownIconProps} />
136+
<ChevronDownIcon {..._customDropdownIconProps} />
137137
);
138138

139139
const handleClose = () => {

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ import {
123123
ICheckboxProps,
124124
ICheckboxGroupProps,
125125
Radio,
126+
RadioContext,
126127
IRadioProps,
127128
IRadioValue,
128129
IRadioGroupProps,
@@ -202,6 +203,7 @@ export {
202203
Code,
203204
Checkbox,
204205
Radio,
206+
RadioContext,
205207
Column,
206208
Row,
207209
Center,

src/theme/components/select.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const Select = {
55
start: 0,
66
},
77

8-
customDropdownIconProps: {
8+
_customDropdownIconProps: {
99
color: 'muted.500',
1010
mr: '3',
1111
size: '6',
@@ -26,7 +26,7 @@ export const Select = {
2626
},
2727

2828
_dark: {
29-
customDropdownIconProps: { color: 'muted.400', mr: '3' },
29+
_customDropdownIconProps: { color: 'muted.400', mr: '3' },
3030
_hover: {
3131
borderColor: 'primary.500',
3232
},

src/theme/styled-system.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,8 @@ export const getStyleAndFilteredProps = ({
610610
let { styleFromProps, responsiveStyles }: any = getStyledFromProps(
611611
styledSystemProps,
612612
theme,
613-
currentBreakpoint
613+
currentBreakpoint,
614+
propConfig
614615
);
615616

616617
if (responsiveStyles) {

src/utils/getStyledFromProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { propConfig } from '../theme/styled-system';
21
import { hasValidBreakpointFormat } from '../theme/tools';
32
import { getRNKeyAndStyleValue } from './getRNKeyAndStyleValue';
43
import type { ITheme } from '../theme';
@@ -13,7 +12,8 @@ import type { ITheme } from '../theme';
1312
export const getStyledFromProps = (
1413
styledSystemProps: any,
1514
theme: any,
16-
currentBreakpoint: any
15+
currentBreakpoint: any,
16+
propConfig: any
1717
) => {
1818
let styleFromProps: any = {};
1919
let responsiveStyles: null | Record<

src/utils/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export {
1414
composeEventHandlers,
1515
};
1616
export { wrapStringChild } from './wrapStringChild';
17-
export { RadioContext } from '../components/primitives/Radio/RadioGroup';
1817
export { combineContextAndProps } from './combineContextAndProps';
1918
export type { IAccessibilityProps } from './accessibilityTypes';
2019
export { ariaAttr } from './accessibilityUtils';

0 commit comments

Comments
 (0)