wxad / adui Goto Github PK
View Code? Open in Web Editor NEW服务于微信广告的设计语言 AD UI,React 组件库 adui。
Home Page: https://wxad.design/adui/
服务于微信广告的设计语言 AD UI,React 组件库 adui。
Home Page: https://wxad.design/adui/
由于Select组件trigger默认不是 tabable 的,无法获取焦点,
而Datepicker/Datepicker.RangePicker有以下判断:
adui/components/date-picker/DatePicker.tsx
Line 273 in 3ef2ccb
adui/components/date-picker/RangePicker.tsx
Line 330 in 3ef2ccb
这里考虑
fixed with magic code:
popupStyle={{ transform: "translate3d(0, 0, 0)" }}
https://codesandbox.io/s/thirsty-tdd-630wtv?file=/src/App.js
yijie,这里复线了一个问题,channels-dialog打开之后点取消,没有把蒙层隐藏完全,按钮不可点。可能和cssmotion没有正确运行有关?
针对数据treeData为多级树的情况下,并且设置了selectAll={true}, 通过操作虚拟选项“全选”,
[预期结果]
选项应该为:
[demo]
https://codesandbox.io/s/affectionate-bassi-hh8mb?file=/index.js
同理show-all情况类似
当前置元素leftElement为选择框时,点击前置元素选择框,会渲染两个选择框,导致错误
可使用官网demo复现 https://wxad.design/adui/components/suggest/
当前 TableColumn 的 width 参数会传给 td, th 的 maxWidth。
maxWidth: resizedCol ? resizedCol.value : width || ""
在 table 列动会跟着筛选项目变更的场景下,使用起来会产生一些奇怪的问题,比如如果都是固定宽度的列,可能出现撑不满一行;比如只有一列没有传 width,会自动拉伸这一列,很大面积空白,显得非常突兀。
希望可以支持固定一列,剩余列按照各自比例拉伸占满一行。
TableColumn
增加一个 baseWidth
的参数,支持用户传入列的默认 flex-grow
但是不影响 maxWidth
。
在小程序里搜到了AD UI Mob,请问这个有计划开源吗
原有N列(columns)时,默认固定前2列,columns发生变化时,
[{dataIndex: 1, fixed: true}, {dataIndex: 2, fixed: true}, {dataIndex: 3, fixed: false}, {dataIndex: 4, fixed: false}],会导致
新的columns改为
[{dataIndex: 0, fixed: true}, {dataIndex: 1, fixed: true}, {dataIndex: 2, fixed: false}, {dataIndex: 3, fixed: false}, {dataIndex: 4, fixed: false}]
CodeBox:
https://codesandbox.io/s/boring-elbakyan-q5t2q3?file=/index.js
目前使用Select组件,选中值后无法进行清除,能否支持清除功能
实现非受控组件清空自动筛选全部数据,用这个api更好些
看起来是这里的JSON stringify导致的
https://github.com/wxad/adui/blob/master/components/numeric-input/NumericInput.tsx#L282
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.