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

fix: dialog style #967

Open
wants to merge 313 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
d2357fe
fix: 优化 drawer 动画逻辑 (#1027)
honkinglin Nov 22, 2022
2ff871e
fix(submenu): 子菜单左右间距不一致 (#1029)
dianjie Nov 23, 2022
3b66eeb
Feat: color token and switch style (#1028)
Wen1kang Nov 23, 2022
b7b8c19
fix(head-menu): 菜单折叠 (#1016)
dianjie Nov 23, 2022
13145ed
chore: remove dropdown item height (#1031)
uyarn Nov 23, 2022
59e9650
fix: 优化tooltip样式 (#1030)
honkinglin Nov 23, 2022
1cae3fa
chore: fix dropdown style (#1032)
uyarn Nov 23, 2022
b9dfa0d
feat: update timeline size token (#1033)
Wen1kang Nov 23, 2022
410a553
chore: add theme-desc (#1034)
uyarn Nov 23, 2022
4bf5486
feat: set firefox scrollbar track color (#1035)
dianjie Nov 24, 2022
4f4a737
[refactor] tree 组件重构,顺带修复动画表现 (#959)
TabSpace Nov 25, 2022
ec9a9f8
feat: jumper 更名为 paginationMini 组件 (#1038)
honkinglin Nov 25, 2022
d43de83
feat(tooltip): getpositoin support mouse (#1039)
carolin913 Nov 25, 2022
480d798
chore: revert modify for mobile (#1040)
uyarn Nov 25, 2022
0b41428
fix: 修复日历组件中右上角控件栏下拉框垂直对齐的问题。 (#1042)
PsTiu Nov 28, 2022
8e7b15e
docs(web): table documents (#1041)
chaishi Nov 29, 2022
c24db16
docs(upload):fix upload docs (#1043)
HaixingOoO Nov 29, 2022
b24eba2
feat: update gray color (#1036)
Wen1kang Nov 29, 2022
b232fff
fix: 修复 dialog 动画 (#1045)
honkinglin Nov 29, 2022
921fe83
fix: 修复 drawer 动画效果 (#1047)
honkinglin Nov 30, 2022
22c7e72
[TagInput] tag padding (#1044)
chaishi Nov 30, 2022
4143791
chore: 修改了divider文案 (#1046)
pattybaby110 Nov 30, 2022
68da246
fix(web): tag-input style (#1048)
chaishi Nov 30, 2022
14fe2c4
fix: calendar style bug (#1050)
Wen1kang Nov 30, 2022
9444759
fix: menu item padding left (#1051)
uyarn Nov 30, 2022
7e3f521
fix: 修复 collapse 翻转动画 (#1052)
honkinglin Nov 30, 2022
30ee7b2
fix: 修复 button disabled 样式问题 (#1053)
honkinglin Nov 30, 2022
3abb071
fix(web): auto-width icon (#1049)
chaishi Nov 30, 2022
8c67c5e
chore: revert modify (#1054)
uyarn Nov 30, 2022
8c0a12d
fix: 修复 drawer 动画 (#1055)
honkinglin Nov 30, 2022
8904486
fix: table style (#1056)
PengYYYYY Dec 3, 2022
662d045
feat(web): add XMLHttpRequest to events (#1064)
chaishi Dec 4, 2022
4fc672f
feat: input improvement (#1065)
chaishi Dec 4, 2022
5b3de4e
feat(Table): empty and loading height (#1063)
chaishi Dec 4, 2022
16e2210
fix(input): input inner ellipsis (#1066)
uyarn Dec 5, 2022
42dad95
feat: pagination style update (#1068)
Wen1kang Dec 5, 2022
bec0242
fix: table line-height (#1069)
PengYYYYY Dec 5, 2022
f3530c8
feat: 移除 jumper (#1067)
honkinglin Dec 5, 2022
8826564
feat: range input size token (#1070)
Wen1kang Dec 5, 2022
2813c76
fix: table date-picker (#1071)
PengYYYYY Dec 6, 2022
caebebd
fix(web): select-input padding (#1072)
chaishi Dec 6, 2022
c710f3b
fix: 修复table居中表现异常 (#1074)
PengYYYYY Dec 6, 2022
60c43a4
fix: 修复 inputAdornment 样式 (#1075)
honkinglin Dec 7, 2022
d6bdd01
fix: submenu disabled color (#1062)
dianjie Dec 8, 2022
5da7c9c
feat: dropdown over max height (#1076)
uyarn Dec 8, 2022
6e5672a
fix: 修复pagination 样式问题 (#1077)
honkinglin Dec 8, 2022
cf355d3
Refact/menu (#1073)
xiaosansiji Dec 8, 2022
d870a7a
fix: less vars error (#1078)
xiaosansiji Dec 8, 2022
f13b640
fix(web): table border style (#1079)
chaishi Dec 10, 2022
2816193
fix: 修复inputAdornment 圆角问题 (#1080)
honkinglin Dec 12, 2022
147f3e1
feat(web): select-input, multiple, empty, padding-right (#1082)
chaishi Dec 12, 2022
5180f5b
feat(web): guide different language (#1081)
chaishi Dec 12, 2022
fa261d6
feat: 抽离公共逻辑 (#1083)
honkinglin Dec 13, 2022
c40866a
fix: 修复datepicker tips样式问题 (#1084)
honkinglin Dec 13, 2022
ba68502
fix: datepicker 兼容空字符串 (#1086)
honkinglin Dec 14, 2022
67b722c
feat: 修复 tree-select 样式问题 (#1087)
honkinglin Dec 14, 2022
1c6613d
fix: guide global config (#1085)
zhangpaopao0609 Dec 14, 2022
6161556
chore: add menu demo style in react (#1090)
xiaosansiji Dec 15, 2022
4623715
fix: vue next style (#1088)
xiaosansiji Dec 16, 2022
a9ab8ad
chore(.gitignore): add pnpm-lock.yaml (#1089)
Dec 16, 2022
b81e88f
fix: 修复dialog 样式细节 (#1091)
honkinglin Dec 21, 2022
a16d659
fix: submenu style (#1092)
xiaosansiji Dec 22, 2022
d67f68e
fix: menu box sizing (#1094)
xiaosansiji Dec 27, 2022
2afa007
fix(tag): select text style (#1095)
uyarn Dec 27, 2022
d3fe242
feat(tooltip-lite): mouse 模式下新增定位边界检查,保证内容在可视范围内 (#1093)
moecasts Dec 27, 2022
9ef24a6
style(image-viewer): zindex层级调整 (#1104)
Ylushen Jan 3, 2023
6a3d6a9
feat(web): autocomplete clear icon (#1098)
chaishi Jan 3, 2023
112bc2a
feat: 补充阿拉伯语的语言包 (#1097)
sunshineYuanlei Jan 3, 2023
4199949
fix(tag): disabled close icon (#1105)
byq1213 Jan 3, 2023
d315f00
Revert "fix(tag): disabled close icon (#1105)" (#1106)
chaishi Jan 3, 2023
3d2e241
fix(web): upload.theme=single-input (#1107)
chaishi Jan 3, 2023
13dac6f
feat(web): upload support mockProgressDuration (#1108)
chaishi Jan 3, 2023
b9a9f67
chore: update component number (#1109)
uyarn Jan 3, 2023
5c4e8c1
Fix/submenu height (#1111)
xiaosansiji Jan 4, 2023
39765f6
feat(web): upload.mockProgressDuration support (#1110)
chaishi Jan 5, 2023
b688584
fix: 修复datepicker 禁用样式问题 (#1112)
honkinglin Jan 5, 2023
afdfdc2
feat: 调整阿拉伯语言包文件名 (#1113)
honkinglin Jan 6, 2023
f3b39d3
chore(deps-dev): bump stylelint from 14.13.0 to 14.16.1 (#1101)
dependabot[bot] Jan 9, 2023
59edd0e
fix(tree): label overflow (#1114)
uyarn Jan 9, 2023
a13929e
chore: fix type by as const (#1115)
uyarn Jan 9, 2023
e221fde
docs: 提供获取文件 git 时间函数 (#1118)
honkinglin Jan 10, 2023
c1cc330
feat(web): only empty label display: none (#1117)
chaishi Jan 11, 2023
7c8a62d
fix: lint error (#1120)
honkinglin Jan 11, 2023
0086ce3
[Image] ensure image in avatar won't overflow (#1119)
chaishi Jan 12, 2023
1a84708
fix: style bug (#1121)
Wen1kang Jan 12, 2023
f4f9fba
Fix/menu text color (#1122)
xiaosansiji Jan 17, 2023
213cede
fix(drawer): 关闭按钮没有垂直居中 (#1037)
dianjie Jan 17, 2023
b858848
feat(web): tree.label type (#1124)
chaishi Jan 18, 2023
b88026e
image&imageviewer国际化语言配置补充 (#1125)
carolin913 Jan 18, 2023
a1ddb54
Upload Style & XHR (#1126)
chaishi Jan 29, 2023
83f7f39
fix: fix dialog confirmBtnTheme default config (#1123)
yaogengzhu Jan 29, 2023
cc9aa27
fix(table): 虚拟滚动 table 描述文案错误 (#1127)
MrWeilian Jan 29, 2023
581401a
fix(web): upload status (#1128)
chaishi Jan 30, 2023
c71d0bd
fix: 修复 dayjs 国际化设置问题 (#1129)
honkinglin Jan 30, 2023
f06c03d
fix tree typescript type error (#1130)
chaishi Jan 30, 2023
013d1cb
feat: 调整字段 (#1131)
honkinglin Jan 30, 2023
a4c580c
fix(tree): disabled option text color (#1132)
uyarn Jan 30, 2023
88ed6b9
fix(loading): fix loading render in safari (#1138)
uyarn Feb 2, 2023
a5490fa
fix: steps style bug (#1139)
Wen1kang Feb 2, 2023
ac46c2e
chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 (#1136)
dependabot[bot] Feb 3, 2023
4f66e7e
fix: client error (#1140)
uyarn Feb 6, 2023
7ee04aa
fix: 修复样式覆盖问题 (#1141)
yaogengzhu Feb 8, 2023
d2a2c8a
feat(dropdown): optimize multiple menu overflow render (#1142)
uyarn Feb 8, 2023
6e053da
feat: 调整文档 (#1145)
honkinglin Feb 13, 2023
ebfb573
feat: remove important (#1143)
zhangpaopao0609 Feb 13, 2023
bc9bbfd
feat(Select): add scroll event demo (#1146)
uyarn Feb 14, 2023
72e50cf
chore: refactor & fix typo (#1147)
Simon-He95 Feb 17, 2023
7ccece8
feat: 调整滚动条计算逻辑 (#1151)
honkinglin Feb 21, 2023
a951ac6
fix: nuxt ssr error (#1148)
PengYYYYY Feb 21, 2023
ec1c298
fix: lint:fix (#1149)
Simon-He95 Feb 21, 2023
115bf4c
fix: 修复button block 样式优先级问题 (#1152)
honkinglin Feb 21, 2023
760156c
fix(tabs): icon style range (#1153)
uyarn Feb 21, 2023
10f5510
fix: 修复dialog 样式问题 (#1155)
honkinglin Feb 23, 2023
e47ab56
feat(image): support .avif (#1161)
chaishi Feb 27, 2023
f9ba721
docs(miniprogram): update design docs (#1160)
anlyyao Feb 27, 2023
eafebcc
fix: 修复menu-item设置了href属性和icon插槽后,菜单折叠导致的icon变小以及展开时,点击右侧空白处不能跳转的问题 (…
tiny-dust Feb 27, 2023
5ee8cea
fix(dialog): default config btn theme (#1164)
uyarn Feb 28, 2023
08cbe5f
feat: tree 组件增加虚拟滚动能力 (#1159)
TabSpace Feb 28, 2023
4977c4c
Update PullDownRefresh.md (#1163)
caixuan29 Feb 28, 2023
52d814f
[Upload] 自定义上传方法,支持一个请求上传返回多个文件的数据回显 (#1165)
chaishi Mar 1, 2023
b72c1ef
chore: fix type (#1166)
uyarn Mar 1, 2023
72940c3
feat: fix textarea tysle (#1157)
duanbaosheng Mar 1, 2023
f9ef37b
fix: upload failed (#1167)
chaishi Mar 1, 2023
e7b64c7
fix: 修复tree多余滚动条 (#1168)
honkinglin Mar 1, 2023
04a808f
[fix] tree 组件,完善虚拟滚动样式,完善过滤状态的样式 (#1177)
TabSpace Mar 3, 2023
19338a2
style: update css token (#1169)
anlyyao Mar 3, 2023
51ea9c2
docs(web): update image docs (#1178)
chaishi Mar 5, 2023
8f1bec5
feat: add back-top component (#1175)
meiqi502 Mar 5, 2023
14e450f
fix: tree 组件,解决激活态未能正确更新视图的问题 (#1180)
TabSpace Mar 6, 2023
7263f35
fix: 解决节点插入自身引发死循环的问题 (#1181)
TabSpace Mar 6, 2023
3f89337
fix: restoring wrongly modified content (#1184)
anlyyao Mar 7, 2023
0659767
style: primary renamed brand (#1185)
anlyyao Mar 7, 2023
bdc55f9
feat: datepicker 支持defaultTime (#1186)
honkinglin Mar 7, 2023
db4f09f
fix: 修复dialog 垂直居中 (#1187)
KMethod Mar 9, 2023
fad0821
文档更新 (#1182)
yc910920 Mar 9, 2023
6bdbd24
feat(web): table, disabled fixed column draggable (#1179)
chaishi Mar 12, 2023
58e6561
feat(locale): 新增繁體中文(台灣地區)語言支持 (#1189)
puppetsheep Mar 13, 2023
fd559d8
fix: 修复日语韩语星期翻译问题 (#1190)
honkinglin Mar 13, 2023
fa8bec9
Feat/optimize eslint config (#1191)
xiaosansiji Mar 14, 2023
82abb26
fix: 修复时间格式化问题 (#1194)
honkinglin Mar 14, 2023
7ba389a
fix: 修复类型检测问题 (#1195)
honkinglin Mar 14, 2023
294fb4a
fix: 修复类型检测问题 (#1196)
honkinglin Mar 14, 2023
ee74bd9
chore: fix typo (#1193)
uyarn Mar 14, 2023
61a972b
fix: 修复存在表格左边冻结列,往右边滚动时,hover表头出现边框后,表头冻结列和表格内容冻结列没有对齐问题 (#1197)
huangpiqiao Mar 14, 2023
13f2977
style(Stepper): update style for mobile (#1198)
anlyyao Mar 14, 2023
d1fd22e
feat: add api_v2 folder (#1199)
anlyyao Mar 15, 2023
b028dda
feat: add formatThousandths utils (#1200)
uyarn Mar 15, 2023
2ee98a7
fix: 补充transparent变量,修复textarea获取焦点后的样式问题(#2509) (#1176)
tiny-dust Mar 15, 2023
5583116
feature(sticky-tool): add sticky-tool component style (#1183)
ZekunWu Mar 15, 2023
9463a79
feat: add v2 folder (#1201)
anlyyao Mar 15, 2023
fe9e95b
feat(locale): 新增俄语、意大利语国际化语言支持 (#1202)
oljc Mar 16, 2023
3c1bf23
Update PullDownRefresh.md (#1162)
caixuan29 Mar 16, 2023
1f7b498
docs: update docs for i18n (#1203)
uyarn Mar 16, 2023
d848bde
feat(radio): update the radio style on mobile (#1204)
LeeJim Mar 16, 2023
0a70951
feat(switch): update style for mobile (#1206)
LeeJim Mar 17, 2023
091d75a
fix: resolve the file path error (#1208)
anlyyao Mar 20, 2023
11d4cfc
feat:add color token (#1207)
Wen1kang Mar 20, 2023
2e68738
docs(Textarea): update docs (#1209)
anlyyao Mar 21, 2023
0431d54
feat(loading): using new style (#1211)
LeeJim Mar 21, 2023
5191d52
fix(tree): fix empty node (#1213)
uyarn Mar 21, 2023
a2a5496
feat: update backTop style and doc (#1214)
meiqi502 Mar 22, 2023
111eed2
feat(checkbox): update new style and doc (#1212)
jarmywang Mar 22, 2023
db13c24
feat(cell-group): add style for v2 (#1215)
LeeJim Mar 23, 2023
ecd6c40
fix(Textarea): update class name (#1216)
anlyyao Mar 24, 2023
82c4f12
feat(web): update table documents (#1219)
chaishi Mar 27, 2023
8c2dfb3
feat(tatistic): Add statistic component style (#1218)
oljc Mar 27, 2023
f771efb
Feature/web/sticky tool (#1221)
ZekunWu Mar 28, 2023
3f76bdf
chore: update backtop docs (#1222)
uyarn Mar 28, 2023
89da116
chore: fix title (#1223)
uyarn Mar 28, 2023
f50d47c
fix: update picker style (#1224)
LeeJim Mar 29, 2023
792bd1e
fix: format time with format (#1227)
uyarn Mar 29, 2023
8ceb687
fix: format time for range (#1228)
uyarn Mar 29, 2023
f50bec0
fix: alert icon and close padding style bug (#1229)
Wen1kang Mar 29, 2023
c6fc810
fix(image-viewer): esm下less会编译失败,需要转义less文件中min函数 (#1225)
scshsy Mar 29, 2023
c161827
chore: loading conic background backup (#1230)
uyarn Mar 30, 2023
888c2ef
feat: add empty docs (#1231)
anlyyao Mar 30, 2023
3818b0a
docs: 增加 breadcrumb、dropdown、menu、pagination 组件的api英文文档 (#1232)
GolderBrother Mar 31, 2023
840eaf4
docs: 增加 drawer、message、notification、popu等组件英文文档 (#1235)
GolderBrother Apr 3, 2023
f1206ea
Feature/web/sticky tool (#1241)
ZekunWu Apr 3, 2023
06a2aa4
docs(Search): update docs (#1226)
anlyyao Apr 3, 2023
531c5df
Feature/web/sticky tool (#1244)
ZekunWu Apr 4, 2023
aa1ab2b
docs(Cascader): update docs (#1220)
anlyyao Apr 4, 2023
4b27bb8
style(Search): update style (#1245)
anlyyao Apr 4, 2023
f8c5776
docs(Sticky): update docs (#1242)
anlyyao Apr 4, 2023
6e7679d
docs(Skeleton): update docs (#1243)
anlyyao Apr 4, 2023
ba68a9f
feat: input v2 & border (#1217)
ccccpj Apr 4, 2023
542c523
docs(image): update image demo (#995)
TingShine Apr 4, 2023
2980891
chore(deps-dev): bump lint-staged from 13.1.4 to 13.2.0 (#1236)
dependabot[bot] Apr 4, 2023
7cc9e3c
fix: update loading style and image docs (#1248)
LeeJim Apr 4, 2023
1d28ee5
fix(InputNumber): float add integer error (#1251)
Ericleungs Apr 6, 2023
015257a
docs: fix md format problem (#1253)
xiaosansiji Apr 6, 2023
642cc0d
docs: 增加 cascader、checkbox、date-picker等输入组件的英文文档 (#1249)
GolderBrother Apr 6, 2023
53e3ce8
feat: update input md (#1252)
ccccpj Apr 7, 2023
dee44ef
feat: update design docs for miniprogram (#1254)
anlyyao Apr 7, 2023
e3f4a01
fix:tab style bug (#1255)
Wen1kang Apr 7, 2023
07d0764
fix: remove extra right style for autowidth inputnumber (#1258)
uyarn Apr 11, 2023
fc9761e
Fix/date picker wrong last week (#1257)
Ericleungs Apr 11, 2023
09585d3
feat: update cursor-pointer (#1259)
ccccpj Apr 11, 2023
00e9c77
Update Badge.md (#1260)
jarmywang Apr 11, 2023
96145e4
chore: remove useless code (#1262)
xiaosansiji Apr 12, 2023
2343aab
fix: 修正在部分情况下timeline-item__dot为重置box-sizing而导致的样式错误 (#1264)
PDieE Apr 13, 2023
9e581e8
fix(popconfirm): inner text font weight (#1265)
uyarn Apr 13, 2023
a16e37a
fix(input): override edge password input default style (#1261)
wangyang0210 Apr 13, 2023
1c0f362
fix(grid): update mobile style (#1263)
LeeJim Apr 13, 2023
34175c2
refactor(rate): rate popover (#1233)
fengchunqi Apr 13, 2023
083c4c5
docs: fix md render error (#1266)
xiaosansiji Apr 13, 2023
426b495
fix(upload): using new style (#1269)
LeeJim Apr 14, 2023
b6ba918
refactor(message): new message (#1267)
yusuf-yz Apr 14, 2023
290d17f
Refactor/link (#1270)
brianzhang Apr 14, 2023
ec176b0
Refractor dialog (#1250)
tangzixuan Apr 14, 2023
fa429d9
feat: update design for miniprogram (#1271)
anlyyao Apr 14, 2023
b606527
Refactor/link (#1272)
brianzhang Apr 14, 2023
bb08d0d
feat: add docs for footer (#1274)
LeeJim Apr 17, 2023
1ded939
Refactor/link (#1278)
brianzhang Apr 17, 2023
0bae4ab
fix: refractor dialog style (#1277)
tangzixuan Apr 17, 2023
4786527
feat: add form form mobile (#1276)
anlyyao Apr 17, 2023
0aea279
feat: divider改造 (#1281)
jarmywang Apr 18, 2023
74a2dc7
fix(overlay): update style (#1282)
LeeJim Apr 18, 2023
cbb41d9
fix(Dialog): resolve close-icon style (#1283)
anlyyao Apr 18, 2023
1c7009c
fix: fix design docs file name error (#1285)
anlyyao Apr 18, 2023
b3064b7
fix(popup): update style for mobile (#1286)
LeeJim Apr 18, 2023
f21f02d
feat: toast改造 (#1279)
mistakers Apr 19, 2023
074899b
fix(Toast): update style (#1287)
anlyyao Apr 19, 2023
d33a555
chore: update theme generator desc (#1288)
uyarn Apr 20, 2023
2082340
fix(ColorPikcer): toggle color format in gradient mode (#1289)
uyarn Apr 20, 2023
15cd2bc
翻译issue (#1293)
vapourma Apr 21, 2023
15dce64
fix(button): update style on mobile (#1294)
LeeJim Apr 21, 2023
16fb8b7
docs: add loading en doc (#1295)
xiaosansiji Apr 21, 2023
0839d05
docs: update overview for mobile (#1297)
LeeJim Apr 22, 2023
049ebc8
docs(Slider): update docs (#1290)
anlyyao Apr 23, 2023
d63c4d4
refactor: new tag (#1296)
yaogengzhu Apr 23, 2023
1825026
docs(Tag): update docs (#1298)
yaogengzhu Apr 23, 2023
403ba0d
feat: update docs (#1299)
anlyyao Apr 23, 2023
2a548ce
docs: update fab (#1300)
LeeJim Apr 23, 2023
d361439
fix(image): resolve vertical align (#1301)
LeeJim Apr 23, 2023
d8e0ffb
docs: update cell (#1302)
LeeJim Apr 24, 2023
5b28459
fix(date-picker): 修复在时间戳模式下panel会显示Invalid value的问题 (#1268)
Ericleungs Apr 24, 2023
ceb3b57
fix: 修复类型问题 (#1303)
honkinglin Apr 24, 2023
3a00468
docs: update design for miniprogram (#1304)
anlyyao Apr 24, 2023
de54db2
fix(cell): resolve icon align (#1306)
LeeJim Apr 24, 2023
ab69be9
docs(dialog): update api (#1307)
LeeJim Apr 24, 2023
56efac1
fix(menu): disabled attribute does not take effect (#1273)
wangyang0210 Apr 25, 2023
6c73ecf
fix(switch): use border-radius token replace switch radius (#1311)
uyarn Apr 27, 2023
dc2678c
Refator/rate (#1310)
fengchunqi Apr 27, 2023
e4c73ad
chore: fix type (#1312)
uyarn Apr 27, 2023
f2c3e80
refactor(BackTop): update docs and _index.less (#1309)
nined9 Apr 27, 2023
ff27a01
chore: fix docs (#1313)
uyarn Apr 27, 2023
88fb3d0
fix(switch): use border-radius token replace switch radius (#1316)
uyarn Apr 27, 2023
69f69a7
fix: dialog style
Summer-Shen Nov 5, 2022
d38c9b8
Merge branch 'fix/dialog-style' of github.com:Summer-Shen/tdesign-com…
Summer-Shen Apr 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
mocha: true,
jest: true,
},
extends: ['eslint-config-airbnb-base'],
extends: ['airbnb-base'],
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ package-lock.json
**/package-lock.json
yarn.lock
**/yarn.lock
pnpm-lock.yaml
**/pnpm-lock.yaml
**/node_modules
**/dist
dist/
Expand All @@ -37,3 +39,7 @@ temp*
# test
coverage
test-report.html

# lint
.eslintcache
.stylelintcache
15 changes: 13 additions & 2 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,18 @@
"no-descending-specificity": null,
"selector-type-no-unknown": null,
"color-function-notation": "legacy",
"value-keyword-case": null
"value-keyword-case": null,
"property-no-unknown": [true, { "checkPrefixed": true }]
},
"overrides": [{ "files": ["**/*.less"], "customSyntax": "postcss-less" }]
"overrides": [
{ "files": ["**/*.less"], "customSyntax": "postcss-less" },
{
"files": ["style/web/components/**/*.less"],
"ignoreFiles": ["**/_docs.less"],
"rules": {
"color-no-hex": true,
"color-named": "never"
}
}
]
}
23 changes: 22 additions & 1 deletion docs/compile/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import fs from 'fs';
import { spawn } from 'node:child_process';

/**
* 渲染 live demo 逻辑,提取 md 头信息生成框架需要的字符串
Expand Down Expand Up @@ -26,6 +27,26 @@ export function compileUsage(options) {
};
}

/**
* 获取文件 git 最后更新时间
* @param {string} file
* @returns {Promise<number>}
*/
export function getGitTimestamp(file) {
return new Promise((resolve, reject) => {
const child = spawn('git', ['log', '-1', '--pretty="%ci"', file]);
let output = '';
child.stdout.on('data', (d) => {
output += String(d);
});
child.on('close', () => {
resolve(+new Date(output));
});
child.on('error', reject);
});
}

export default {
compileUsage
compileUsage,
getGitTimestamp
};
75 changes: 75 additions & 0 deletions docs/miniprogram/_design/ActionSheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# 动作面板 ActionSheet

## 组件设计指南

### 何时使用

需要提供一组与当前场景操作相关的关联操作时使用。

### 组件搭配使用

##### 动作面板与[按钮](./button)组合使用,通过按钮点击唤起动作面板。

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet1.png" />
</div>


### 常见用法
##### 当用户完成一个事件可以通过若干种方式达成,可以用动态面板来承载这若干种方式的操作。

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet2.png" />
</div>

<hr />

##### 当页面中有一组操作因低频/空间不足不希望外露时,但却必要存在,可以用动作面板来承载,通过“更多”按钮触发

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet3.png" />
</div>



### 推荐/慎用示例

##### 动作面板中不建议提供太多操作项,若过多项在小屏手机中导致需纵向滚动,体验将会受损。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet%204-1.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet%204-2.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>

<hr />

##### 动作面板中的操作项不建议用icon完成替代文字。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet%205-1.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/ActionSheet%205-2.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>



### 相似组件

| 组件名 | 何时使用 |
| :----- | :----------------------------------- |
| [抽屉](./drawer) | 需要收折展示一组数量较多的菜单时使用。 |
| [对话框](./dialog) | 需要用户做一些决定,或这提供完成某个任务是需要的一些额外信息时使用。 |
| [下拉菜单](./dropdown-menu) | 当内容较多时,需要通过筛选快速定位某一类内容时使用。 |
| [选择器](./dropdown-menu) | 当需要在有限的空间展示大量选项供用户选择,或者一组选项由递进层级构成需要用户逐级选择时使用。 |
70 changes: 70 additions & 0 deletions docs/miniprogram/_design/Badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# 徽标 Badge

## 组件设计指南

### 何时使用

当需要展示特定对象的状态变化或承载运营性质提示时使用。

### 组件搭配使用

##### 徽标与[选项卡](./tabs)、[底部标签栏](./tab-bar)组合使用,置于文字段的右上方,用于展示状态信息或营销信息。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%201-1.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%201-2.png" />
</div>
</div>

<hr />

##### 徽标与[头像](./avatar)组合使用,可作为消息提示或数量提示。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%202.png" />
</div>
</div>


### 常见用法

##### 当用户只需要关注是否有消息,而无需关注消息数量时,可使用红点型徽标;当提示的信息需要精确显示数量时,应使用带数字的徽标。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%203-1.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%203-2.png" />
</div>
</div>


### 推荐/慎用示例

##### 建议根据场景和信息类型定义最长字数,不宜出现过长的情况。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%204-1.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Badge%204-2.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>


### 相似组件

| 组件名 | 何时使用 |
| :------------ | :------------------------------------------------------------------------------------------------------------------- |
| [标签](./tag) | 当需要展示内容本身的属性、状态、类别、营销情况时作为纯展示使用;或者当大量的内容数据需要根据类型进行选择筛选时使用。 |
83 changes: 83 additions & 0 deletions docs/miniprogram/_design/Button.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# 按钮 Button

## 组件设计指南

### 何时使用

当前流程的结束或新流程的开启需要用户点击触发时使用。

### 组件搭配使用

##### 图标按钮与[输入框](./input)组合使用,放置于输入单元格最右侧,用于触发拉起一个新的支流任务,辅助用户填入正确内容。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button1.png" />
<em></em>
</div>
</div>

<hr />

##### 不同类型的主次按钮与文字按钮组合使用,可以表达不同强调级别。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button2-1.png" />
<em></em>
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button2-2.png" />
<em></em>
</div>
</div>

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button2-3.png" />
<em></em>
</div>
</div>


### 常见用法

##### 当在填写场景,按钮通常作为当前流程的结束操作,在表单过长时通常需要吸顶或吸底处理。
<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button3-1.png" />
<em></em>
</div>
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button3-2.png" />
<em></em>
</div>
</div>


### 推荐/慎用示例

##### 用户在使用主、次按钮时,需要表达主次关系,突出强调的最主要操作,其他操作使用次按钮,不建议同时使用多个主按钮。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button4-1.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Button4-2.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>



### 相似组件

| 组件名 | 何时使用 |
| :----- | :----------------------------------- |
| [链接](./link) | 当需要外链跳转或页面底部footer链接跳转时使用。 |
| [悬浮按钮](./fab) | 当某个操作为全局操作,且为用户高频/业务强推的操作时可使用。 |
| [返回顶部](./back-top) | 当页面内容过长,用户有快速返回到页面顶部的诉求时使用。 |
53 changes: 53 additions & 0 deletions docs/miniprogram/_design/Calendar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# 日历 Calendar

## 组件设计指南

### 何时使用

需要在页面间跳转、返回,或需承载少量辅助功能时使用。

### 组件搭配使用

##### 通常和[单元格](./cell)搭配使用,点击后唤起日历。

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Calender%201.png" />
</div>

### 推荐/慎用

##### 日期与描述结合时,通常与价格结合,不建议描述过长、或承载过复杂的信息。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Calender%202-1.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Calender%202-2.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>

<hr />

##### 区间选择尽量使用在较短时间的场景中,当涉及的时间通常在数月、数年的长度时,建议使用其它方式让用户输入。

<div class="legend">
<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Calender%202-3.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/good.png" />
</div>

<div class="item">
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/design/mobile-guide/Calender%202-4.png" />
<img class="tag" src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/bad.png" />
</div>
</div>

### 相似组件

| 组件名 | 何时使用 |
| :------------------------------- | :------------------------------------- |
| [时间选择器](./date-time-picker) | 在表单中需要输入单个日期或时间时使用。 |
Loading