Skip to content

Commit

Permalink
Feat/new grid (#584)
Browse files Browse the repository at this point in the history
* chore(grid): update demo

* feat(grid): finish new version

* test: update snapshot

* test: update snapshot

* chore: update common

* fix: remove click event

* fix: rename badgeProps

* fix: update demo
  • Loading branch information
LeeJim authored Apr 13, 2023
1 parent 1fe36ee commit a0cb67a
Show file tree
Hide file tree
Showing 22 changed files with 6,558 additions and 2,301 deletions.
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 53 files
+69 −0 docs/miniprogram/_design/Badge.md
+58 −0 docs/miniprogram/_design/Calendar.md
+54 −0 docs/miniprogram/_design/CountDown.md
+51 −0 docs/miniprogram/_design/DateTimePicker.md
+8 −7 docs/miniprogram/_design/Drawer.md
+50 −0 docs/miniprogram/_design/Empty.md
+56 −0 docs/miniprogram/_design/Indexes.md
+78 −0 docs/miniprogram/_design/Input.md
+65 −0 docs/miniprogram/_design/Loading.md
+55 −0 docs/miniprogram/_design/Message.md
+43 −0 docs/miniprogram/_design/Picker.md
+69 −0 docs/miniprogram/_design/Progress.md
+66 −0 docs/miniprogram/_design/Rate.md
+50 −0 docs/miniprogram/_design/Result.md
+67 −0 docs/miniprogram/_design/Search.md
+47 −0 docs/miniprogram/_design/Sidebar.md
+79 −0 docs/miniprogram/_design/Steps.md
+81 −0 docs/miniprogram/_design/Swipecell.md
+41 −0 docs/miniprogram/_design/Switch.md
+63 −0 docs/miniprogram/_design/Textarea.md
+57 −0 docs/miniprogram/_design/Toast.md
+54 −0 docs/miniprogram/_design/Upload.md
+69 −0 docs/miniprogram/_design/avatar.md
+62 −0 docs/miniprogram/_design/cascader.md
+49 −0 docs/miniprogram/_design/link.md
+52 −0 docs/miniprogram/_design/navbar.md
+45 −0 docs/miniprogram/_design/swiper.md
+67 −0 docs/miniprogram/design/avatar.md
+60 −0 docs/miniprogram/design/cascader.md
+1 −1 docs/miniprogram/design/checkbox.md
+1 −1 docs/miniprogram/design/dialog.md
+8 −7 docs/miniprogram/design/drawer.md
+54 −0 docs/miniprogram/design/indexes.md
+47 −0 docs/miniprogram/design/link.md
+50 −0 docs/miniprogram/design/navbar.md
+6 −6 docs/miniprogram/design/pull-down-refresh.md
+43 −0 docs/miniprogram/design/swiper.md
+5 −5 docs/mobile/api_v2/badge.md
+18 −2 docs/mobile/api_v2/grid.md
+15 −2 js/date-picker/format.ts
+2 −0 style/mobile/components/calendar/v2/_index.less
+31 −81 style/mobile/components/grid-item/v2/_index.less
+1 −0 style/mobile/components/grid-item/v2/_var.less
+8 −5 style/mobile/components/grid/v2/_index.less
+7 −0 style/mobile/mixins/_cursor.less
+0 −50 style/mobile/utilities/_index.less
+0 −4 style/web/components/input-number/_index.less
+5 −0 style/web/components/input/_index.less
+1 −1 style/web/components/popconfirm/_index.less
+0 −2 style/web/components/popup/_mixin.less
+1 −1 style/web/components/tabs/_mixin.less
+1 −0 style/web/components/timeline/_index.less
+0 −13 style/web/components/tooltip/_index.less
2,838 changes: 2,166 additions & 672 deletions src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/cell/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ exports[`Cell > Cell mobileVue demo works fine 1`] = `
<img
class="t-cell__left-image"
src="https://tdesign.gtimg.com/mobile/%E5%9B%BE%E7%89%87.png"
src="https://tdesign.gtimg.com/miniprogram/images/example1.png"
/>
</div>
Expand Down Expand Up @@ -1705,7 +1705,7 @@ exports[`Cell > Cell multipleVue demo works fine 1`] = `
<img
class="t-cell__left-image"
src="https://tdesign.gtimg.com/mobile/%E5%9B%BE%E7%89%87.png"
src="https://tdesign.gtimg.com/miniprogram/images/example1.png"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/cell/demos/multiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ import { ChevronRightIcon, LockOnIcon } from 'tdesign-icons-vue-next';
const chevronRightIcon = () => h(ChevronRightIcon);
const avatarUrl = 'https://tdesign.gtimg.com/mobile/demos/avatar_1.png';
const imgUrl = 'https://tdesign.gtimg.com/mobile/%E5%9B%BE%E7%89%87.png';
const imgUrl = 'https://tdesign.gtimg.com/miniprogram/images/example1.png';
</script>
Loading

0 comments on commit a0cb67a

Please sign in to comment.