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

[feat]: add gio-grid component #338

Merged
merged 38 commits into from
Oct 26, 2020
Merged

[feat]: add gio-grid component #338

merged 38 commits into from
Oct 26, 2020

Conversation

iahu
Copy link
Contributor

@iahu iahu commented Oct 22, 2020

add gio-grid component

iahu added 2 commits October 21, 2020 17:03
affects: @gio-design/components, website
@iahu iahu requested review from jack0pan, phyzess and zzt1224 October 22, 2020 04:13
@azure-pipelines
Copy link

Deploy preview for gio-design failed.

@codecov
Copy link

codecov bot commented Oct 22, 2020

Codecov Report

Merging #338 into master will increase coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #338      +/-   ##
==========================================
+ Coverage   57.62%   57.82%   +0.20%     
==========================================
  Files         105      106       +1     
  Lines        3325     3341      +16     
  Branches      805      806       +1     
==========================================
+ Hits         1916     1932      +16     
  Misses       1405     1405              
  Partials        4        4              
Impacted Files Coverage Δ
packages/components/src/components/grid/help.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43ac6e3...227b893. Read the comment docs.

@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-338--gio-design.surge.sh

@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-338--gio-design.surge.sh


## API

### Input
Copy link
Contributor

Choose a reason for hiding this comment

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

这里应该是 Grid 吧?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

复制的 Input 的文件,这里忘了改了

@azure-pipelines
Copy link

Deploy preview for gio-design failed.

@iahu iahu requested a review from phyzess October 25, 2020 05:21
gh2049 and others added 13 commits October 25, 2020 13:35
* update: style

* chore: time-picker

* fix: clear log

Co-authored-by: chen_gh <chenguanghao@growingio.com>
affects: @gio-design/components
affects: @gio-design/components, website

add rangePicker adds a new parameter for the renderExtraFooter method to return a React.ReactNode to
add a custion footer.fix rangePicker change the date or the date displayed in the year does not
change. fix rangePicker onSelect method is invalid
* docs: @gio-design/components 20.10.0 change log

* docs: @gio-design/components 20.10.0 change log
affects: @gio-design/components, @gio-design/icons, @gio-design/tokens, website

fix changelog and version numbers;
affects: @gio-design/components, @gio-design/icons, website
Co-authored-by: chen_gh <chenguanghao@growingio.com>
affects: @gio-design/components, website

daa dateRangePicker disabledDate methods and fix props.value change is not change Input value

ISSUES CLOSED: #304
* fix: allow use value control selections;

affects: @gio-design/components, website

* fix: fix type bug

affects: @gio-design/components

* fix: modify defaultSelection as default value of defaultValue

affects: @gio-design/components
affects: @gio-design/components

根据stylelint的提示,修改了form组件中index.less中部分属性的顺序
* fix: fix overflow text elips

affects: @gio-design/components

* fix: add iconns

affects: @gio-design/icons
zhaoting zhou and others added 18 commits October 25, 2020 13:36
affects: @gio-design/components, @gio-design/icons, website
affects: @gio-design/components, @gio-design/icons, website

replace 20.10.3 empty package
affects: @gio-design/components, website
affects: @gio-design/components, website

Upload组件增加一个可选参数isBorder,控制图片上传成功后边框是否显示,默认为false
…333)

affects: @gio-design/components, website

修复Dropdown组件中placement方向的问题,由12个方向改为只有上下6个方向可选,默认方向为下
affects: @gio-design/components

定义了select组件中input选择框内的文字尺寸
affects: @gio-design/components

Unit test of alert component is added
* fix(components): change folder name from camel case to kebab case

affects: @gio-design/components

* fix(components): fix tab-nav folder name

affects: @gio-design/components, website
@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-338--gio-design.surge.sh

return Math.max(min, Math.min(max, value));
};

export const isNumber = <T = unknown>(n: T): boolean => typeof n === 'number';
Copy link
Collaborator

Choose a reason for hiding this comment

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

有个isFinite可以判断非Nan和infinity的数字

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.

8 participants