Skip to content

Commit

Permalink
build: Merge branch 'yym-3.x-swipe-action' of yymzy.github.com:yymzy/…
Browse files Browse the repository at this point in the history
…taro-ui into next
  • Loading branch information
yangyongming committed Aug 15, 2024
2 parents 6228449 + fcdc039 commit 6e78309
Show file tree
Hide file tree
Showing 9 changed files with 43,209 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "taro-ui",
"name": "taro-ui3",
"description": "UI KIT for Taro",
"author": "O2Team <aotu.io>",
"homepage": "https://taro-ui.taro.zone",
Expand Down
17,348 changes: 17,348 additions & 0 deletions packages/taro-ui-demo-rn/yarn.lock

Large diffs are not rendered by default.

12,907 changes: 12,907 additions & 0 deletions packages/taro-ui-demo/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/taro-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "taro-ui",
"name": "taro-ui3",
"version": "3.3.0",
"description": "UI KIT for Taro",
"module": "dist/index.esm.js",
Expand Down
14 changes: 11 additions & 3 deletions packages/taro-ui/src/components/input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ export default class AtInput extends React.Component<AtInputProps> {
autoFocus = false,
focus = false,
value,
required
required,
// @yym-mix
alwaysEmbed
} = this.props
const { type, maxLength, disabled, password } = getInputProps(this.props)

Expand Down Expand Up @@ -189,6 +191,8 @@ export default class AtInput extends React.Component<AtInputProps> {
onBlur={this.handleBlur}
onConfirm={this.handleConfirm}
onKeyboardHeightChange={this.handleKeyboardHeightChange}
// @yym-mix
alwaysEmbed={alwaysEmbed}
/>
{clear && value && (
<View className='at-input__icon' onTouchEnd={this.handleClearValue}>
Expand Down Expand Up @@ -237,7 +241,9 @@ AtInput.defaultProps = {
focus: false,
required: false,
// eslint-disable-next-line @typescript-eslint/no-empty-function
onChange: (): void => {}
onChange: (): void => {},
// @yym-mix
alwaysEmbed: false
}

AtInput.propTypes = {
Expand Down Expand Up @@ -271,5 +277,7 @@ AtInput.propTypes = {
onConfirm: PropTypes.func,
onErrorClick: PropTypes.func,
onClick: PropTypes.func,
required: PropTypes.bool
required: PropTypes.bool,
// @yym-mix
alwaysEmbed: PropTypes.bool,
}
1 change: 1 addition & 0 deletions packages/taro-ui/src/components/swipe-action/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export default class AtSwipeAction extends React.Component<
style={item.style}
onClick={(e): void => this.handleClick(item, key, e)}
className={classNames(
// @ts-ignore
'at-swipe-action__option',
item.className
)}
Expand Down
4 changes: 4 additions & 0 deletions packages/taro-ui/src/components/tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ export default class AtTabs extends React.Component<AtTabsProps, AtTabsState> {
scrollLeft={_scrollLeft}
scrollTop={_scrollTop}
scrollIntoView={_scrollIntoView}
// @yym-mix
enableFlex
enhanced
showScrollbar={false}
>
{tabItems}
</ScrollView>
Expand Down
4,938 changes: 4,938 additions & 0 deletions packages/taro-ui/yarn.lock

Large diffs are not rendered by default.

Loading

0 comments on commit 6e78309

Please sign in to comment.