Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waypoint #1324

Merged
merged 9 commits into from Jan 9, 2020
Merged

Waypoint #1324

merged 9 commits into from Jan 9, 2020

Conversation

cpylua
Copy link
Collaborator

@cpylua cpylua commented Jan 7, 2020

  • Waypoint
  • Affix
    • rewrite with Waypoint
    • offsetTop has no default value
    • you can use offsetTop and offsetBottom at the same time
  • Infinite scroll
    • rewrtie with Waypoint
    • offset, useCapture and prefix are removed
    • initialLoad renamed to skipLoadOnMount
    • hasMore defaults to false
    • useWindow defaults to false

@cpylua cpylua merged commit f81f247 into master Jan 9, 2020
@cpylua cpylua deleted the waypoint branch January 9, 2020 02:37
cpylua added a commit that referenced this pull request Feb 5, 2020
…n traverseData (#1337)

* fix: IFormSelectFieldProps['name'] should be inferred correctly

* chore: sync to master

* [new feature] Cascader: onChange接收原始的option数组作为参数 (#1328)

* fix: IFormSelectFieldProps['name'] should be inferred correctly

* feat: Cascader pass raw option when onChange emitted

* test: add test suite for Cascader

* chore: sync to master

* chore: add default generic type for Cascader

* [bug fix] Form: 泛型参数使用字面量空对象作为约束 (#1307)

* fix: IFormSelectFieldProps['name'] should be inferred correctly

* fix: 修复Form组件的form属性类型

* fix: 修改IFormProps泛型

* fix: change OmitKeys default generic type

* fix: use IFormFieldPropsBase for intellisense

* chore: sync to master

* Waypoint (#1324)

* save

* new component Waypoint

* add license

* add reveal demo

* rewrite Affix using Waypoint

* remove affix test

* rewrite InfiniteLoading with Waypoint

* fire onLeave on mount in Waypoint

* [bug fix] Form: layout属性改为可选 (#1331)

* fix: IFormSelectFieldProps['name'] should be inferred correctly

* chore: sync to master

* fix: Form组件的layout属性改为可选属性

* fix pagination default color and font size (#1332)

* Dropdown (#1333)

* wrap text in span in Button

* save

* add Dropdown

* fix crash if no children is passed to button

* fix: 星星icon替换,避免icon边距影响相对百分比显示 (#1329)

* lint: ingore unused args starts with _

* fix lint errors

* support default preset in quick-date-range-picker (#1334)

* support default preset in quick-date-range-picker

* check type

* remove prefix and fix types

* fix tests

* add tests

* update packages (#1335)

* Update RELEASE

* v8.0.0

* update yarn.lock

* [Bugfix] Upload: 修复class冲突和翻页错误 (#1336)

* fix: upload 组件 classname 前缀修改

* fix: 修复删除上传项时 maxPage 计算错误的 bug

* Update RELEASE

* v8.0.1

* Add no-console lint rule

* [new feature]Grid: 添加表头吸顶表格、checkbox禁用时支持鼠标hover展示原因 (#1321)

* grid: 添加表头吸顶

* grid: 修复grid表头吸顶在垂直方向不滚动是异常

* grid: grid组件checkbox 禁用添加pop展示禁用原因

* grid: 补充文档

* grid: 优化grid表头吸顶

* grid: 更新表头吸顶示例

* grid: 优化ref绑定

* grid: 默认值修改为undefined

* grid: 表头吸顶交互优化

* remove console.log

Co-authored-by: Charles Lee <cpylua@users.noreply.github.com>

* fix lint

* fix(Select): rename traverseData to findSelected and return selected instead of invoking setState

* chore: resolve conflicts

* Update RELEASE

* update yarn.lock

* chore: resolve conflicts

* chore: resolve conflicts

* fix: use Object.assign

Co-authored-by: Charles Lee <cpylua@users.noreply.github.com>
Co-authored-by: AnneBai <baihaihua_bai@youzan.com>
Co-authored-by: KainStar <461345042@qq.com>
Co-authored-by: mt51 <liuziyang@youzan.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant