Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/next' into chore/mini-program
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Jan 28, 2021
2 parents c3e1a5f + 1b1af45 commit e61b204
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 50 deletions.
12 changes: 6 additions & 6 deletions packages/taro-components/__tests__/unimplemented.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import ReactDOM from 'react-dom'
import {
CoverImage,
CoverView,
MoveableArea,
MoveableView,
MovableArea,
MovableView,
PickerView,
PickerViewColumn,
OpenData,
Expand Down Expand Up @@ -89,12 +89,12 @@ describe('unimplemented', () => {
await testComponent(CoverImage)
})

it('MoveableArea', async () => {
await testComponent(MoveableArea)
it('MovableArea', async () => {
await testComponent(MovableArea)
})

it('MoveableView', async () => {
await testComponent(MoveableView)
it('MovableView', async () => {
await testComponent(MovableView)
})

it('PickerViewColumn', async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-components/h5/react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const Switch = reactifyWc('taro-switch-core')
export const CoverImage = reactifyWc('taro-cover-image-core')
export const Textarea = reactifyWc('taro-textarea-core')
export const CoverView = reactifyWc('taro-cover-view-core')
export const MoveableArea = reactifyWc('taro-moveable-area-core')
export const MoveableView = reactifyWc('taro-moveable-view-core')
export const MovableArea = reactifyWc('taro-movable-area-core')
export const MovableView = reactifyWc('taro-movable-view-core')
export const ScrollView = reactifyWc('taro-scroll-view-core')
export const Swiper = reactifyWc('taro-swiper-core')
export const SwiperItem = reactifyWc('taro-swiper-item-core')
Expand Down
36 changes: 18 additions & 18 deletions packages/taro-components/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export namespace Components {
interface TaroLabelCore {
'for': string;
}
interface TaroMoveableAreaCore {}
interface TaroMoveableViewCore {}
interface TaroMovableAreaCore {}
interface TaroMovableViewCore {}
interface TaroNavigatorCore {
'delta': number;
'hoverClass': string;
Expand Down Expand Up @@ -485,16 +485,16 @@ declare global {
new (): HTMLTaroLabelCoreElement;
};

interface HTMLTaroMoveableAreaCoreElement extends Components.TaroMoveableAreaCore, HTMLStencilElement {}
var HTMLTaroMoveableAreaCoreElement: {
prototype: HTMLTaroMoveableAreaCoreElement;
new (): HTMLTaroMoveableAreaCoreElement;
interface HTMLTaroMovableAreaCoreElement extends Components.TaroMovableAreaCore, HTMLStencilElement {}
var HTMLTaroMovableAreaCoreElement: {
prototype: HTMLTaroMovableAreaCoreElement;
new (): HTMLTaroMovableAreaCoreElement;
};

interface HTMLTaroMoveableViewCoreElement extends Components.TaroMoveableViewCore, HTMLStencilElement {}
var HTMLTaroMoveableViewCoreElement: {
prototype: HTMLTaroMoveableViewCoreElement;
new (): HTMLTaroMoveableViewCoreElement;
interface HTMLTaroMovableViewCoreElement extends Components.TaroMovableViewCore, HTMLStencilElement {}
var HTMLTaroMovableViewCoreElement: {
prototype: HTMLTaroMovableViewCoreElement;
new (): HTMLTaroMovableViewCoreElement;
};

interface HTMLTaroNavigatorCoreElement extends Components.TaroNavigatorCore, HTMLStencilElement {}
Expand Down Expand Up @@ -656,8 +656,8 @@ declare global {
'taro-image-core': HTMLTaroImageCoreElement;
'taro-input-core': HTMLTaroInputCoreElement;
'taro-label-core': HTMLTaroLabelCoreElement;
'taro-moveable-area-core': HTMLTaroMoveableAreaCoreElement;
'taro-moveable-view-core': HTMLTaroMoveableViewCoreElement;
'taro-movable-area-core': HTMLTaroMovableAreaCoreElement;
'taro-movable-view-core': HTMLTaroMovableViewCoreElement;
'taro-navigator-core': HTMLTaroNavigatorCoreElement;
'taro-open-data-core': HTMLTaroOpenDataCoreElement;
'taro-picker-core': HTMLTaroPickerCoreElement;
Expand Down Expand Up @@ -767,8 +767,8 @@ declare namespace LocalJSX {
interface TaroLabelCore {
'for'?: string;
}
interface TaroMoveableAreaCore {}
interface TaroMoveableViewCore {}
interface TaroMovableAreaCore {}
interface TaroMovableViewCore {}
interface TaroNavigatorCore {
'delta'?: number;
'hoverClass'?: string;
Expand Down Expand Up @@ -1088,8 +1088,8 @@ declare namespace LocalJSX {
'taro-image-core': TaroImageCore;
'taro-input-core': TaroInputCore;
'taro-label-core': TaroLabelCore;
'taro-moveable-area-core': TaroMoveableAreaCore;
'taro-moveable-view-core': TaroMoveableViewCore;
'taro-movable-area-core': TaroMovableAreaCore;
'taro-movable-view-core': TaroMovableViewCore;
'taro-navigator-core': TaroNavigatorCore;
'taro-open-data-core': TaroOpenDataCore;
'taro-picker-core': TaroPickerCore;
Expand Down Expand Up @@ -1138,8 +1138,8 @@ declare module "@stencil/core" {
'taro-image-core': LocalJSX.TaroImageCore & JSXBase.HTMLAttributes<HTMLTaroImageCoreElement>;
'taro-input-core': LocalJSX.TaroInputCore & JSXBase.HTMLAttributes<HTMLTaroInputCoreElement>;
'taro-label-core': LocalJSX.TaroLabelCore & JSXBase.HTMLAttributes<HTMLTaroLabelCoreElement>;
'taro-moveable-area-core': LocalJSX.TaroMoveableAreaCore & JSXBase.HTMLAttributes<HTMLTaroMoveableAreaCoreElement>;
'taro-moveable-view-core': LocalJSX.TaroMoveableViewCore & JSXBase.HTMLAttributes<HTMLTaroMoveableViewCoreElement>;
'taro-movable-area-core': LocalJSX.TaroMovableAreaCore & JSXBase.HTMLAttributes<HTMLTaroMovableAreaCoreElement>;
'taro-movable-view-core': LocalJSX.TaroMovableViewCore & JSXBase.HTMLAttributes<HTMLTaroMovableViewCoreElement>;
'taro-navigator-core': LocalJSX.TaroNavigatorCore & JSXBase.HTMLAttributes<HTMLTaroNavigatorCoreElement>;
'taro-open-data-core': LocalJSX.TaroOpenDataCore & JSXBase.HTMLAttributes<HTMLTaroOpenDataCoreElement>;
'taro-picker-core': LocalJSX.TaroPickerCore & JSXBase.HTMLAttributes<HTMLTaroPickerCoreElement>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import { Component, h, Host } from '@stencil/core'

@Component({
tag: 'taro-moveable-area-core'
tag: 'taro-movable-area-core'
})
export class MoveableArea {
export class MovableArea {
componentDidLoad () {
console.error('H5 暂不支持 MoveableArea 组件!')
console.error('H5 暂不支持 MovableArea 组件!')
}

render () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import { Component, h, Host } from '@stencil/core'

@Component({
tag: 'taro-moveable-view-core'
tag: 'taro-movable-view-core'
})
export class MoveableView {
export class MovableView {
componentDidLoad () {
console.error('H5 暂不支持 MoveableView 组件!')
console.error('H5 暂不支持 MovableView 组件!')
}

render () {
Expand Down
36 changes: 18 additions & 18 deletions packages/taro-components/types/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export namespace Components {
interface TaroLabelCore {
'for': string;
}
interface TaroMoveableAreaCore {}
interface TaroMoveableViewCore {}
interface TaroMovableAreaCore {}
interface TaroMovableViewCore {}
interface TaroNavigatorCore {
'delta': number;
'hoverClass': string;
Expand Down Expand Up @@ -485,16 +485,16 @@ declare global {
new (): HTMLTaroLabelCoreElement;
};

interface HTMLTaroMoveableAreaCoreElement extends Components.TaroMoveableAreaCore, HTMLStencilElement {}
var HTMLTaroMoveableAreaCoreElement: {
prototype: HTMLTaroMoveableAreaCoreElement;
new (): HTMLTaroMoveableAreaCoreElement;
interface HTMLTaroMovableAreaCoreElement extends Components.TaroMovableAreaCore, HTMLStencilElement {}
var HTMLTaroMovableAreaCoreElement: {
prototype: HTMLTaroMovableAreaCoreElement;
new (): HTMLTaroMovableAreaCoreElement;
};

interface HTMLTaroMoveableViewCoreElement extends Components.TaroMoveableViewCore, HTMLStencilElement {}
var HTMLTaroMoveableViewCoreElement: {
prototype: HTMLTaroMoveableViewCoreElement;
new (): HTMLTaroMoveableViewCoreElement;
interface HTMLTaroMovableViewCoreElement extends Components.TaroMovableViewCore, HTMLStencilElement {}
var HTMLTaroMovableViewCoreElement: {
prototype: HTMLTaroMovableViewCoreElement;
new (): HTMLTaroMovableViewCoreElement;
};

interface HTMLTaroNavigatorCoreElement extends Components.TaroNavigatorCore, HTMLStencilElement {}
Expand Down Expand Up @@ -656,8 +656,8 @@ declare global {
'taro-image-core': HTMLTaroImageCoreElement;
'taro-input-core': HTMLTaroInputCoreElement;
'taro-label-core': HTMLTaroLabelCoreElement;
'taro-moveable-area-core': HTMLTaroMoveableAreaCoreElement;
'taro-moveable-view-core': HTMLTaroMoveableViewCoreElement;
'taro-movable-area-core': HTMLTaroMovableAreaCoreElement;
'taro-movable-view-core': HTMLTaroMovableViewCoreElement;
'taro-navigator-core': HTMLTaroNavigatorCoreElement;
'taro-open-data-core': HTMLTaroOpenDataCoreElement;
'taro-picker-core': HTMLTaroPickerCoreElement;
Expand Down Expand Up @@ -767,8 +767,8 @@ declare namespace LocalJSX {
interface TaroLabelCore {
'for'?: string;
}
interface TaroMoveableAreaCore {}
interface TaroMoveableViewCore {}
interface TaroMovableAreaCore {}
interface TaroMovableViewCore {}
interface TaroNavigatorCore {
'delta'?: number;
'hoverClass'?: string;
Expand Down Expand Up @@ -1088,8 +1088,8 @@ declare namespace LocalJSX {
'taro-image-core': TaroImageCore;
'taro-input-core': TaroInputCore;
'taro-label-core': TaroLabelCore;
'taro-moveable-area-core': TaroMoveableAreaCore;
'taro-moveable-view-core': TaroMoveableViewCore;
'taro-movable-area-core': TaroMovableAreaCore;
'taro-movable-view-core': TaroMovableViewCore;
'taro-navigator-core': TaroNavigatorCore;
'taro-open-data-core': TaroOpenDataCore;
'taro-picker-core': TaroPickerCore;
Expand Down Expand Up @@ -1138,8 +1138,8 @@ declare module "@stencil/core" {
'taro-image-core': LocalJSX.TaroImageCore & JSXBase.HTMLAttributes<HTMLTaroImageCoreElement>;
'taro-input-core': LocalJSX.TaroInputCore & JSXBase.HTMLAttributes<HTMLTaroInputCoreElement>;
'taro-label-core': LocalJSX.TaroLabelCore & JSXBase.HTMLAttributes<HTMLTaroLabelCoreElement>;
'taro-moveable-area-core': LocalJSX.TaroMoveableAreaCore & JSXBase.HTMLAttributes<HTMLTaroMoveableAreaCoreElement>;
'taro-moveable-view-core': LocalJSX.TaroMoveableViewCore & JSXBase.HTMLAttributes<HTMLTaroMoveableViewCoreElement>;
'taro-movable-area-core': LocalJSX.TaroMovableAreaCore & JSXBase.HTMLAttributes<HTMLTaroMovableAreaCoreElement>;
'taro-movable-view-core': LocalJSX.TaroMovableViewCore & JSXBase.HTMLAttributes<HTMLTaroMovableViewCoreElement>;
'taro-navigator-core': LocalJSX.TaroNavigatorCore & JSXBase.HTMLAttributes<HTMLTaroNavigatorCoreElement>;
'taro-open-data-core': LocalJSX.TaroOpenDataCore & JSXBase.HTMLAttributes<HTMLTaroOpenDataCoreElement>;
'taro-picker-core': LocalJSX.TaroPickerCore & JSXBase.HTMLAttributes<HTMLTaroPickerCoreElement>;
Expand Down

0 comments on commit e61b204

Please sign in to comment.