Skip to content

Commit

Permalink
feat: new input
Browse files Browse the repository at this point in the history
  • Loading branch information
ccccpj committed Apr 6, 2023
1 parent 2102cd8 commit 0710fc4
Show file tree
Hide file tree
Showing 28 changed files with 2,464 additions and 1,908 deletions.
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 43 files
+29 −13 docs/mobile/api/image.md
+5 −17 docs/mobile/api_v2/cascader.md
+0 −23 docs/mobile/api_v2/empty.md
+28 −2 docs/mobile/api_v2/image.md
+5 −19 docs/mobile/api_v2/search.md
+12 −13 docs/mobile/api_v2/skeleton.md
+2 −5 docs/mobile/api_v2/sticky.md
+6 −9 docs/web/api/back-top.md
+0 −36 docs/web/api/breadcrumb.en-US.md
+0 −69 docs/web/api/drawer.en-US.md
+0 −61 docs/web/api/dropdown.en-US.md
+0 −70 docs/web/api/menu.en-US.md
+0 −16 docs/web/api/message.en-US.md
+0 −36 docs/web/api/notification.en-US.md
+0 −54 docs/web/api/pagination.en-US.md
+0 −36 docs/web/api/popconfirm.en-US.md
+0 −64 docs/web/api/popup.en-US.md
+0 −38 docs/web/api/statistic.md
+0 −20 docs/web/api/sticky-tool.md
+2 −2 docs/web/api/table.md
+4 −3 js/date-picker/format.ts
+217 −0 js/table/recalculate-column-width.ts
+121 −0 js/table/set-column-width-by-drag.ts
+1 −1 package.json
+0 −1 style/mobile/components/cascader/v2/_index.less
+15 −15 style/mobile/components/image/v2/_index.less
+0 −2 style/mobile/components/input/v2/_index.less
+5 −5 style/mobile/components/loading/_index.less
+35 −0 style/mobile/components/picker-item/v2/_index.less
+6 −0 style/mobile/components/picker-item/v2/_var.less
+1 −29 style/mobile/components/picker/v2/_index.less
+0 −6 style/mobile/components/picker/v2/_var.less
+7 −19 style/mobile/components/search/v2/_index.less
+2 −100 style/mobile/utilities/_index.less
+4 −12 style/web/components/alert/_index.less
+5 −6 style/web/components/alert/_var.less
+6 −6 style/web/components/image-viewer/_index.less
+0 −2 style/web/components/loading/_index.less
+0 −50 style/web/components/statistic/_index.less
+0 −30 style/web/components/statistic/_var.less
+0 −6 style/web/components/sticky-tool/_index.less
+0 −4 style/web/components/sticky-tool/_mixin.less
+0 −7 style/web/components/sticky-tool/_var.less
132 changes: 56 additions & 76 deletions src/cascader/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,33 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
>
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -45,11 +41,10 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -267,37 +262,33 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -306,11 +297,10 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -514,37 +504,33 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -553,11 +539,10 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -747,37 +732,33 @@ exports[`Cascader > Cascader statusVue demo works fine 1`] = `
>
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -786,11 +767,10 @@ exports[`Cascader > Cascader statusVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down
Loading

0 comments on commit 0710fc4

Please sign in to comment.