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 1990ec2 commit 748944a
Show file tree
Hide file tree
Showing 29 changed files with 2,608 additions and 1,996 deletions.
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 41 files
+13 −29 docs/mobile/api/image.md
+17 −5 docs/mobile/api_v2/cascader.md
+23 −0 docs/mobile/api_v2/empty.md
+40 −12 docs/mobile/api_v2/input.md
+19 −5 docs/mobile/api_v2/search.md
+13 −12 docs/mobile/api_v2/skeleton.md
+5 −2 docs/mobile/api_v2/sticky.md
+9 −6 docs/web/api/back-top.md
+36 −0 docs/web/api/breadcrumb.en-US.md
+69 −0 docs/web/api/drawer.en-US.md
+61 −0 docs/web/api/dropdown.en-US.md
+70 −0 docs/web/api/menu.en-US.md
+16 −0 docs/web/api/message.en-US.md
+36 −0 docs/web/api/notification.en-US.md
+54 −0 docs/web/api/pagination.en-US.md
+36 −0 docs/web/api/popconfirm.en-US.md
+64 −0 docs/web/api/popup.en-US.md
+38 −0 docs/web/api/statistic.md
+20 −0 docs/web/api/sticky-tool.md
+2 −2 docs/web/api/table.md
+3 −4 js/date-picker/format.ts
+0 −217 js/table/recalculate-column-width.ts
+0 −121 js/table/set-column-width-by-drag.ts
+1 −1 package.json
+1 −0 style/mobile/components/cascader/v2/_index.less
+2 −0 style/mobile/components/input/v2/_index.less
+0 −35 style/mobile/components/picker-item/v2/_index.less
+0 −6 style/mobile/components/picker-item/v2/_var.less
+29 −1 style/mobile/components/picker/v2/_index.less
+6 −0 style/mobile/components/picker/v2/_var.less
+19 −7 style/mobile/components/search/v2/_index.less
+100 −2 style/mobile/utilities/_index.less
+12 −4 style/web/components/alert/_index.less
+6 −5 style/web/components/alert/_var.less
+6 −6 style/web/components/image-viewer/_index.less
+2 −0 style/web/components/loading/_index.less
+50 −0 style/web/components/statistic/_index.less
+30 −0 style/web/components/statistic/_var.less
+6 −0 style/web/components/sticky-tool/_index.less
+4 −0 style/web/components/sticky-tool/_mixin.less
+7 −0 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 748944a

Please sign in to comment.