Skip to content

Commit

Permalink
Merge pull request #5555 from GeekyAnts/release/3.4.22
Browse files Browse the repository at this point in the history
release 3.4.22
  • Loading branch information
rayan1810 committed Nov 15, 2022
2 parents 5c52b85 + b1b16a8 commit f85d0a6
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prettier --write"
]
},
"version": "3.4.21",
"version": "3.4.22",
"license": "MIT",
"private": false,
"main": "lib/commonjs/index",
Expand Down
4 changes: 2 additions & 2 deletions src/components/composites/Modal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> {
* Props to be passed to the Overlay used inside of Modal.
*/
_overlay?: IOverlayProps;

/* If true, renders react-native native modal
/**
* If true, renders react-native native modal
* @default false
*/
useRNModal?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/components/primitives/Box/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface ILinearGradientProps {
colors: Array<string>;
start?: Array<number>;
end?: Array<number>;
location?: Array<number>;
locations?: Array<number>;
};
}

Expand Down
1 change: 1 addition & 0 deletions src/components/primitives/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const CheckboxComponent = React.memo(
'accessibilityRole',
'accessibilityState',
'accessibilityLabel',
'accessibilityHint',
]);

//TODO: refactor for responsive prop
Expand Down
4 changes: 2 additions & 2 deletions src/components/primitives/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Select = (
onOpen,
onClose,
optimized,
customDropdownIconProps,
_customDropdownIconProps,
_actionSheet,
_actionSheetContent,
_actionSheetBody,
Expand Down Expand Up @@ -133,7 +133,7 @@ const Select = (
) : dropdownIcon ? (
dropdownIcon
) : (
<ChevronDownIcon {...customDropdownIconProps} />
<ChevronDownIcon {..._customDropdownIconProps} />
);

const handleClose = () => {
Expand Down
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ import {
ICheckboxProps,
ICheckboxGroupProps,
Radio,
RadioContext,
IRadioProps,
IRadioValue,
IRadioGroupProps,
Expand Down Expand Up @@ -202,6 +203,7 @@ export {
Code,
Checkbox,
Radio,
RadioContext,
Column,
Row,
Center,
Expand Down
4 changes: 2 additions & 2 deletions src/theme/components/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Select = {
start: 0,
},

customDropdownIconProps: {
_customDropdownIconProps: {
color: 'muted.500',
mr: '3',
size: '6',
Expand All @@ -26,7 +26,7 @@ export const Select = {
},

_dark: {
customDropdownIconProps: { color: 'muted.400', mr: '3' },
_customDropdownIconProps: { color: 'muted.400', mr: '3' },
_hover: {
borderColor: 'primary.500',
},
Expand Down
3 changes: 2 additions & 1 deletion src/theme/styled-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@ export const getStyleAndFilteredProps = ({
let { styleFromProps, responsiveStyles }: any = getStyledFromProps(
styledSystemProps,
theme,
currentBreakpoint
currentBreakpoint,
propConfig
);

if (responsiveStyles) {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/getStyledFromProps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { propConfig } from '../theme/styled-system';
import { hasValidBreakpointFormat } from '../theme/tools';
import { getRNKeyAndStyleValue } from './getRNKeyAndStyleValue';
import type { ITheme } from '../theme';
Expand All @@ -13,7 +12,8 @@ import type { ITheme } from '../theme';
export const getStyledFromProps = (
styledSystemProps: any,
theme: any,
currentBreakpoint: any
currentBreakpoint: any,
propConfig: any
) => {
let styleFromProps: any = {};
let responsiveStyles: null | Record<
Expand Down
1 change: 0 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export {
composeEventHandlers,
};
export { wrapStringChild } from './wrapStringChild';
export { RadioContext } from '../components/primitives/Radio/RadioGroup';
export { combineContextAndProps } from './combineContextAndProps';
export type { IAccessibilityProps } from './accessibilityTypes';
export { ariaAttr } from './accessibilityUtils';
Expand Down

1 comment on commit f85d0a6

@vercel
Copy link

@vercel vercel bot commented on f85d0a6 Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.