ucloud-fe / react-components Goto Github PK
View Code? Open in Web Editor NEWA React UI Library from UCloud.
Home Page: https://ucloud-fe.github.io/react-components/
License: MIT License
A React UI Library from UCloud.
Home Page: https://ucloud-fe.github.io/react-components/
License: MIT License
Current behavior
DatePicker.Range be covered when placed in Modal
Expected behavior
Show DatePicker.Range panel
To Reproduce
Steps to reproduce the behavior:
Minimal demo
demo
Package version x.y.z
0.3.0
Screenshots
If applicable, add screenshots to help explain your problem.
Browser
All browsers where this could be reproduced (and Operating System if relevant), please complete the following information:
Additional context
None
Is your feature request related to a problem? Please describe.
Some locale in component is hard coding
Describe the solution you'd like
Extract hard coding locale to locale file, and add support of LocaleProvider
Describe alternatives you've considered
No
Additional context
No
Current behavior
Style of arrow is wrong without reset style
Expected behavior
Display the right style
To Reproduce
Steps to reproduce the behavior:
Minimal demo
demo
Package version
All
Browser
All
Additional context
None
Is your feature request related to a problem? Please describe.
Need to support multiple step and custom with of mark range
Describe the solution you'd like
Add ratio, step to marks
Describe alternatives you've considered
No
Additional context
No
Add some test cases, to increase test coverage.
我们在使用的过程中发现 你的Icon框架中有版权受限的字体 @ucloud/[email protected] 既然开源那么 建议您考虑移除此依赖.
Current behavior
Develop with windows, the demo of components will break with error.
Expected behavior
Don't break
To Reproduce
Steps to reproduce the behavior:
npm run styleguide
localhost:6080
Minimal demo
None
Package version x.y.z
0.3.0
Browser
Additional context
It seems like cause by diff of windows and mac path format
Is your feature request related to a problem? Please describe.
none
Describe the solution you'd like
加个单元格合并的功能吧😘😘😘😘
Describe alternatives you've considered
none
Additional context
none
Now have only checkbox type,for projects that need to be single-selected is unfriendly.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
add style of MenuItem to display difference of MenuItem in SubMenu
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Current behavior
Arrow of the Tooltip is wrong
Expected behavior
Display the right Arrow
To Reproduce
Steps to reproduce the behavior:
Minimal demo
demo
Package version
All
Screenshots
If applicable, add screenshots to help explain your problem.
Browser
All
Additional context
None
Is your feature request related to a problem? Please describe.
Need theme provider to control the theme of components.
Describe the solution you'd like
Add ThemeProvider to pass colors into the components
Describe alternatives you've considered
import { ThemeProvider, Button } from '@ucloud-fe/react-components';
class App extends React.Component {
render() {
return (
<ThemeProvider theme={{
font: 'red',
primary: 'green'
}}>
<Button>this is a themed button</Button>
</ThemeProvider>
)
}
}
Additional context
No
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
add defaultOrder to control default order of Table
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
When write demo in readme file which is not a demo for components, the codepath props in demo will not useful
Describe the solution you'd like
Want codepath props useful for all markdown files
Describe alternatives you've considered
None
Additional context
None
Current behavior
Select Group 组件传 multiple 参数会报错
Expected behavior
Describe what the behavior would be without the bug.
To Reproduce
Steps to reproduce the behavior:
Minimal demo
If the current behavior is a bug and you can reproduce with an example,
please provide a MINIMAL DEMO of the problem via
https://codesandbox.io/ or similar (you can use this template as a starting point: https://codesandbox.io/s/wnnv1op5yw).
Package version x.y.z
Check whether this is still an issue in the most recent stable.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser
All browsers where this could be reproduced (and Operating System if relevant), please complete the following information:
Additional context
Add any other context about the problem here.
Current behavior
when step is float, number precision is wrong
Expected behavior
should show right number
To Reproduce
Steps to reproduce the behavior:
<Slider min={1} max={10} defaultValue={3} step={0.3} />
Package version x.y.z
0.3.1
Browser
All browsers where this could be reproduced (and Operating System if relevant), please complete the following information:
All
Additional context
Is your feature request related to a problem? Please describe.
No codecov
Describe the solution you'd like
Add codecov to CircleCI
Describe alternatives you've considered
Or add to TravisCI
Additional context
No
Current behavior
<Input
onChange={value =>{
console.log(value}}
/>
Expected behavior
Get the right input value
To Reproduce
Value is “ SyntheticEvent {dispatchConfig: {…}, _targetInst: FiberNode, _dispatchListeners: ƒ, _dispatchInstances:.. "
Is your feature request related to a problem? Please describe.
Want to hide the day, minute, and second of DatePicker.Range
Describe the solution you'd like
Add the display prop to DatePicker.Range
Describe alternatives you've considered
None
Additional context
None
Current behavior
When run Travis jobs, there is a common error like below:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
The build has been terminated
Expected behavior
No timeout error
To Reproduce
Minimal demo
No
Package version x.y.z
No
Browser
No
Additional context
Current behavior
Describe how the bug manifests.
表排序的时候,点击了列的排序功能后无法恢复默认状态
具体见:https://github.com/UCloud-FE/react-components/blob/master/src/components/Table/Table.jsx#L354
order.state 为 none 时还是 "desc"
Expected behavior
Describe what the behavior would be without the bug.
点击时应该有降序/升序/默认状态
To Reproduce
Steps to reproduce the behavior:
Minimal demo
If the current behavior is a bug and you can reproduce with an example,
please provide a MINIMAL DEMO of the problem via
https://codesandbox.io/ or similar (you can use this template as a starting point: https://codesandbox.io/s/wnnv1op5yw).
Package version x.y.z
Check whether this is still an issue in the most recent stable.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser
All browsers where this could be reproduced (and Operating System if relevant), please complete the following information:
Additional context
Add any other context about the problem here.
When I use ‘’formDecorator‘’ of ZForm to wrap “Slider“ component up ,getted the following error:
Cannot read property 'toFixed' of undefined
·
Current behavior
第一个选中的值,会被分割
Expected behavior
得到正常值
Minimal demo
const {controllerDecorator, formShape,formDecorator} = ZForm;
const { StyleType } = Checkbox;
const options = ["cn-bj2","北京","上海","广州"];
const ZCheckboxGroup = controllerDecorator({})(Checkbox.Group);
class Demo extends React.Component {
render() {
let {form} = this.props;
console.log(form.getFieldValue("RegionName"));
return (
<ZForm form={form}>
<div>
<Form.Group title="地域">
<ZCheckboxGroup
zName="RegionName"
zOptions={{
initialValue: options[0]
}}
options={options.map(v => ({ value: v }))}
styleType="card"
/>
</Form.Group>
</div>
</ZForm>
);
}
}
Demo.propTypes = {
form: formShape
};
const Demo1 = formDecorator()(Demo);
<Demo1 />;
Is your feature request related to a problem? Please describe.
Need to globally set locale of components
Describe the solution you'd like
Add LocaleProvider like antd
Describe alternatives you've considered
import { LocaleProvider, Pagination } from '@ulcoud-fe/react-components';
class App extends React.Component {
render() {
return (
<LocaleProvider locale={{}}>
<Pagination total={100} showSizeChanger />
</LocaleProvider>
)
}
}
Additional context
Is your feature request related to a problem? Please describe.
Want to hide the Select in front of DatePicker.Range
Describe the solution you'd like
Add a props to control the display of the Select
Describe alternatives you've considered
None
Additional context
None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.