Skip to content

Commit

Permalink
Merge branch 'main' into feat-doc-collocator
Browse files Browse the repository at this point in the history
* main: (71 commits)
  chore: release 3.4.6
  fix: `Input.Number` 输入框删完最后一个数字时不触发onChange的问题(此时返回null或undefined)
  fix: 修复 `Select` 禁用模式下 icon 样式异常、`DatePicker` 禁用后可聚焦的问题 (#778)
  fix: 修复 `Table` 点击 checkbox 展开行的问题 (#777)
  chore: release 3.4.5
  fix: 修复Table合并行的hover效果
  fix: 修复 `Table` 组件 `minWidth` 设置失效的问题 (#774)
  perf: CardGroup refactor
  fix: fix changelog
  feat: 3.4.5-beta.7 changelog
  fix: 修复 Cascader 开启 expandTrigger 为 hover 或 hover-only 是点击 checkbox 失效的问题
  fix: 修复 `Select` 动态的从单选切换为多选时,placeholder内容显示不完整的问题
  chore: release 3.4.5-beta.6
  feat: `Image` 新增`inViewOnly`: 仅当图片在视口内时才加载图片,需配合 `lazy` 使用
  feat: 去除无效 ts
  feat: snapshot
  fix: repair spin classname is invalid without tip
  fix: 修复 `Table` 中点击部分组件会触发行展开的问题 (#761)
  fix: fix card-group
  perf: card-group perf
  ...
  • Loading branch information
zyfwudi committed Nov 6, 2024
2 parents af285a7 + 6268974 commit cd4f5f7
Show file tree
Hide file tree
Showing 151 changed files with 3,067 additions and 1,131 deletions.
2 changes: 1 addition & 1 deletion docs/api/shineout/image.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const api = JSON.parse('[{"title":"Image","properties":[{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"onClick","tag":{"cn":"点击图片的回调","en":"The callback of click","default":"","version":""},"required":false,"type":"MouseEventHandler<Element> "},{"name":"onError","tag":{"cn":"src或alt 地址请求出错回调","en":"Callback of image src or alt request fail","default":"","version":""},"required":false,"type":"((e: Event, type: number) => void) "},{"name":"placeholder","tag":{"cn":"图加载时的占位内容","en":"Loading image placeholder content","default":"\\\"loading","version":""},"required":false,"type":"ReactNode"},{"name":"title","tag":{"cn":"原生 title 属性","en":"The original property of html","default":"","version":""},"required":false,"type":"string "},{"name":"fit","tag":{"cn":"图片填充方式","en":"Image fill type","default":"-","version":""},"required":false,"type":"\\\"fill\\\" | \\\"center\\\" | \\\"fit\\\" | \\\"stretch\\\" "},{"name":"container","tag":{"cn":"懒加载容器","en":"Lazy load container","default":"-","version":""},"required":false,"type":"string | HTMLElement "},{"name":"error","tag":{"cn":"自定义错误内容","en":"Custom error content","default":"-","version":""},"required":false,"type":"ReactNode"},{"name":"href","tag":{"cn":"原始图片地址","en":"Original picture address","default":"","version":""},"required":false,"type":"string "},{"name":"lazy","tag":{"cn":"是否延迟加载,如果为数字则表示懒加载偏移量","en":"Whether to delay loading, number to set lazy offset","default":"false","version":""},"required":false,"type":"number | boolean "},{"name":"noImgDrag","tag":{"cn":"是否禁止 img 元素原生 draggable 属性","en":"The original property of html","default":"false","version":""},"required":false,"type":"boolean "},{"name":"shape","tag":{"cn":"图片形状","en":"Image shape","default":"\\\"rounded\\\"","version":""},"required":false,"type":"\\\"rounded\\\" | \\\"circle\\\" | \\\"thumbnail\\\" "},{"name":"target","tag":{"cn":"图片打开方式","en":"Target of image","default":"\\\"_modal\\\"","version":""},"required":false,"type":"\\\"_self\\\" | \\\"_blank\\\" | \\\"_modal\\\" | \\\"_download\\\" "},{"name":"width","tag":{"cn":"图片宽度","en":"The width of the image","default":"100%","version":""},"required":false,"type":"string | number "},{"name":"height","tag":{"cn":"图片高度","en":"The height of the image","default":"100%","version":""},"required":false,"type":"string | number "},{"name":"src","tag":{"cn":"图片地址","en":"The picture address","default":"","version":""},"required":false,"type":"string "},{"name":"alt","tag":{"cn":"备用地址,src无效时会应用","en":"Alternate address, applied when src is invalid","default":"","version":""},"required":false,"type":"string "},{"name":"autoSSL","tag":{"cn":"是否根据页面自动转换协议","en":"Auto transform protocol","default":"false","version":""},"required":false,"type":"boolean "}],"cn":"","en":"","sort":"1"},{"title":"Image.Group","properties":[{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"showCount","tag":{"cn":"显示图片数量","en":"The number of images to be displayed","default":"","version":""},"required":false,"type":"boolean "},{"name":"target","tag":{"cn":"图片打开方式","en":"Target of image","default":"\\\"_modal\\\"","version":""},"required":false,"type":"\\\"_self\\\" | \\\"_blank\\\" | \\\"_modal\\\" | \\\"_download\\\" "},{"name":"shape","tag":{"cn":"图片形状","en":"Image shape","default":"\\\"rounded\\\"","version":""},"required":false,"type":"\\\"rounded\\\" | \\\"circle\\\" | \\\"thumbnail\\\" "},{"name":"lazy","tag":{"cn":"是否延迟加载","en":"Whether to delay loading","default":"false","version":""},"required":false,"type":"boolean "},{"name":"pile","tag":{"cn":"是否堆叠","en":"Whether to stack","default":"false","version":""},"required":false,"type":"boolean "},{"name":"fit","tag":{"cn":"图片填充方式","en":"Image fill type","default":"","version":""},"required":false,"type":"\\\"fill\\\" | \\\"center\\\" | \\\"fit\\\" | \\\"stretch\\\" "},{"name":"width","tag":{"cn":"图片宽度","en":"The width of the image","default":"100%","version":""},"required":false,"type":"string | number "},{"name":"height","tag":{"cn":"图片高度","en":"The height of the image","default":"100%","version":""},"required":false,"type":"string | number "},{"name":"children","tag":{"cn":"子元素","en":"Children","default":"","version":""},"required":true,"type":"ReactNode"}],"cn":"","en":"","sort":"2"}]');
const api = JSON.parse('[{"title":"Image","properties":[{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"onClick","tag":{"cn":"点击图片的回调","en":"The callback of click","default":"","version":""},"required":false,"type":"MouseEventHandler<Element> "},{"name":"onError","tag":{"cn":"src或alt 地址请求出错回调","en":"Callback of image src or alt request fail","default":"","version":""},"required":false,"type":"((e: Event, type: number) => void) "},{"name":"placeholder","tag":{"cn":"图加载时的占位内容","en":"Loading image placeholder content","default":"\\\"loading","version":""},"required":false,"type":"ReactNode"},{"name":"title","tag":{"cn":"原生 title 属性","en":"The original property of html","default":"","version":""},"required":false,"type":"string "},{"name":"fit","tag":{"cn":"图片填充方式","en":"Image fill type","default":"-","version":""},"required":false,"type":"\\\"fill\\\" | \\\"center\\\" | \\\"fit\\\" | \\\"stretch\\\" "},{"name":"container","tag":{"cn":"懒加载容器","en":"Lazy load container","default":"-","version":""},"required":false,"type":"string | HTMLElement "},{"name":"error","tag":{"cn":"自定义错误内容","en":"Custom error content","default":"-","version":""},"required":false,"type":"ReactNode"},{"name":"href","tag":{"cn":"原始图片地址","en":"Original picture address","default":"","version":""},"required":false,"type":"string "},{"name":"lazy","tag":{"cn":"是否延迟加载,如果为数字则表示懒加载偏移量","en":"Whether to delay loading, number to set lazy offset","default":"false","version":""},"required":false,"type":"number | boolean "},{"name":"inViewOnly","tag":{"cn":"是否仅在视图内加载","en":"Whether to load only when in view","default":"false","version":"3.4.5"},"required":false,"type":"boolean "},{"name":"noImgDrag","tag":{"cn":"是否禁止 img 元素原生 draggable 属性","en":"The original property of html","default":"false","version":""},"required":false,"type":"boolean "},{"name":"shape","tag":{"cn":"图片形状","en":"Image shape","default":"\\\"rounded\\\"","version":""},"required":false,"type":"\\\"rounded\\\" | \\\"circle\\\" | \\\"thumbnail\\\" "},{"name":"target","tag":{"cn":"图片打开方式","en":"Target of image","default":"\\\"_modal\\\"","version":""},"required":false,"type":"\\\"_self\\\" | \\\"_blank\\\" | \\\"_modal\\\" | \\\"_download\\\" "},{"name":"width","tag":{"cn":"图片宽度","en":"The width of the image","default":"\\\"100%\\\"","version":""},"required":false,"type":"string | number "},{"name":"height","tag":{"cn":"图片高度","en":"The height of the image","default":"\\\"100%\\\"","version":""},"required":false,"type":"string | number "},{"name":"src","tag":{"cn":"图片地址","en":"The picture address","default":"","version":""},"required":false,"type":"string "},{"name":"alt","tag":{"cn":"备用地址,src无效时会应用","en":"Alternate address, applied when src is invalid","default":"","version":""},"required":false,"type":"string "},{"name":"autoSSL","tag":{"cn":"是否根据页面自动转换协议","en":"Auto transform protocol","default":"false","version":""},"required":false,"type":"boolean "}],"cn":"","en":"","sort":"1"},{"title":"Image.Group","properties":[{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"showCount","tag":{"cn":"显示图片数量","en":"The number of images to be displayed","default":"","version":""},"required":false,"type":"boolean "},{"name":"target","tag":{"cn":"图片打开方式","en":"Target of image","default":"\\\"_modal\\\"","version":""},"required":false,"type":"\\\"_self\\\" | \\\"_blank\\\" | \\\"_modal\\\" | \\\"_download\\\" "},{"name":"shape","tag":{"cn":"图片形状","en":"Image shape","default":"\\\"rounded\\\"","version":""},"required":false,"type":"\\\"rounded\\\" | \\\"circle\\\" | \\\"thumbnail\\\" "},{"name":"lazy","tag":{"cn":"是否延迟加载","en":"Whether to delay loading","default":"false","version":""},"required":false,"type":"boolean "},{"name":"pile","tag":{"cn":"是否堆叠","en":"Whether to stack","default":"false","version":""},"required":false,"type":"boolean "},{"name":"fit","tag":{"cn":"图片填充方式","en":"Image fill type","default":"","version":""},"required":false,"type":"\\\"fill\\\" | \\\"center\\\" | \\\"fit\\\" | \\\"stretch\\\" "},{"name":"width","tag":{"cn":"图片宽度","en":"The width of the image","default":"\\\"100%\\\"","version":""},"required":false,"type":"string | number "},{"name":"height","tag":{"cn":"图片高度","en":"The height of the image","default":"\\\"100%\\\"","version":""},"required":false,"type":"string | number "},{"name":"children","tag":{"cn":"子元素","en":"Children","default":"","version":""},"required":true,"type":"ReactNode"}],"cn":"","en":"","sort":"2"}]');
export default api;
2 changes: 1 addition & 1 deletion docs/api/shineout/link.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const api = JSON.parse('[{"title":"Link","properties":[{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"disabled","tag":{"cn":"是否禁用","en":"Whether the link is disabled","default":"","version":""},"required":false,"type":"boolean "},{"name":"underline","tag":{"cn":"是否常驻显示下划线, 设置为 \\\"hover\\\" 时鼠标悬浮时显示下划线","en":"Whether to always show the underline, set to \\\"hover\\\" to show the underline when the mouse is hovered","default":"","version":""},"required":false,"type":"boolean | \\\"hover\\\" "},{"name":"type","tag":{"cn":"链接类型","en":"Link type","default":"primary","version":""},"required":false,"type":"\\\"primary\\\" | \\\"secondary\\\" | \\\"danger\\\" | \\\"warning\\\" | \\\"success\\\" "},{"name":"size","tag":{"cn":"链接图标大小","en":"Link icon size","default":"default","version":""},"required":false,"type":"\\\"small\\\" | \\\"default\\\" | \\\"large\\\" "},{"name":"icon","tag":{"cn":"显示图标,设置为 true 时展示默认图标","en":"Show icon, set to true to show default icon","default":"","version":""},"required":false,"type":"ReactNode"}],"cn":"","en":"","sort":"0"}]');
const api = JSON.parse('[{"title":"Link","properties":[{"name":"className","tag":{"cn":"自定义类名","en":"Custom class name","default":"","version":""},"required":false,"type":"string "},{"name":"style","tag":{"cn":"自定义样式","en":"Custom style","default":"","version":""},"required":false,"type":"CSSProperties "},{"name":"href","tag":{"cn":"链接地址","en":"Link address","default":"","version":""},"required":false,"type":"string "},{"name":"target","tag":{"cn":"链接打开方式","en":"Link target","default":"","version":""},"required":false,"type":"\\\"_blank\\\" | \\\"_self\\\" | \\\"_parent\\\" | \\\"_top\\\" "},{"name":"disabled","tag":{"cn":"是否禁用","en":"Whether the link is disabled","default":"","version":""},"required":false,"type":"boolean "},{"name":"underline","tag":{"cn":"是否常驻显示下划线, 设置为 \\\"hover\\\" 时鼠标悬浮时显示下划线","en":"Whether to always show the underline, set to \\\"hover\\\" to show the underline when the mouse is hovered","default":"","version":""},"required":false,"type":"boolean | \\\"hover\\\" "},{"name":"type","tag":{"cn":"链接类型","en":"Link type","default":"primary","version":""},"required":false,"type":"\\\"primary\\\" | \\\"secondary\\\" | \\\"danger\\\" | \\\"warning\\\" | \\\"success\\\" "},{"name":"size","tag":{"cn":"链接图标大小","en":"Link icon size","default":"default","version":""},"required":false,"type":"\\\"small\\\" | \\\"default\\\" | \\\"large\\\" "},{"name":"icon","tag":{"cn":"显示图标,设置为 true 时展示默认图标","en":"Show icon, set to true to show default icon","default":"","version":""},"required":false,"type":"ReactNode"}],"cn":"","en":"","sort":"0"}]');
export default api;
Loading

0 comments on commit cd4f5f7

Please sign in to comment.