Skip to content

Commit

Permalink
chore: release 1.10.0-naruto
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Aug 29, 2024
1 parent b009c47 commit f4b51f8
Show file tree
Hide file tree
Showing 13 changed files with 1,374 additions and 37 deletions.
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 160 files
6 changes: 3 additions & 3 deletions src/empty/assets/EmptySvg.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';

export default defineComponent({
name: 'EmptySvg',
Expand All @@ -13,8 +13,8 @@ export default defineComponent({
fill="var(--td-text-color-placeholder)"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
fill-rule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
/>
Expand Down
6 changes: 3 additions & 3 deletions src/empty/assets/FailSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';

export default defineComponent({
name: 'FailSvg',
render() {
return (
<svg width="1em" height="1em" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fillRule="evenodd"
clipRule="evenodd"
fill-rule="evenodd"
clip-rule="evenodd"
d="M24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6ZM2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24ZM26 13V28H22V13H26ZM22 31H26.0078V35.0078H22V31Z"
fill="#D54941"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/empty/assets/MaintenanceSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';

export default defineComponent({
name: 'MaintenanceSvg',
Expand Down
2 changes: 1 addition & 1 deletion src/empty/assets/NetworkErrorSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';

export default defineComponent({
name: 'NetworkErrorSvg',
Expand Down
6 changes: 3 additions & 3 deletions src/empty/assets/SuccessSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';

export default defineComponent({
name: 'SuccessSvg',
render() {
return (
<svg width="1em" height="1em" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fillRule="evenodd"
clipRule="evenodd"
fill-rule="evenodd"
clip-rule="evenodd"
d="M24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42ZM46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24ZM21 32.8284L12.1716 24L15 21.1716L21 27.1716L33 15.1716L35.8284 18L21 32.8284Z"
fill="#2BA471"
/>
Expand Down
4 changes: 2 additions & 2 deletions src/empty/empty.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
computed, defineComponent, h, toRefs,
} from '@vue/composition-api';
} from 'vue';
import isPlainObject from 'lodash/isPlainObject';
import isString from 'lodash/isString';
import type { TNode } from '@src/common';
import type { TNode } from '../common';
import { useConfig, usePrefixClass } from '../config-provider/useConfig';
import { useCommonClassName } from '../hooks/useConfig';

Expand Down
3 changes: 1 addition & 2 deletions src/list/hooks/useListItem.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { VNode } from 'vue';
import { computed, getCurrentInstance } from '@vue/composition-api';
import { VNode, computed, getCurrentInstance } from 'vue';

const useListItems = () => {
const instance = getCurrentInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/list/hooks/useListVirtualScroll.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Ref, computed } from '@vue/composition-api';
import { Ref, computed } from 'vue';
import useVirtualScroll from '../../hooks/useVirtualScrollNew';
import { TdListProps } from '../type';
import { Styles } from '../../common';
Expand Down
2 changes: 1 addition & 1 deletion src/list/list-item.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent } from '@vue/composition-api';
import { defineComponent } from 'vue';
import props from './list-item-props';
import { usePrefixClass } from '../hooks/useConfig';
import { renderTNodeJSX, renderContent } from '../utils/render-tnode';
Expand Down
2 changes: 1 addition & 1 deletion src/list/list.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineComponent, computed, ref } from '@vue/composition-api';
import { defineComponent, computed, ref } from 'vue';
import isString from 'lodash/isString';
import omit from 'lodash/omit';
import TLoading from '../loading';
Expand Down
36 changes: 18 additions & 18 deletions test/snap/__snapshots__/csr.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -50209,10 +50209,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/base.vue 1`] = `
fill="var(--td-text-color-placeholder)"
/>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
fillRule="evenodd"
fill-rule="evenodd"
/>
<path
d="M37.998 1.17157L32.1696 7L34.998 9.82843L40.8265 4L37.998 1.17157Z"
Expand Down Expand Up @@ -50259,10 +50259,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/descriptions.vue 1`]
fill="var(--td-text-color-placeholder)"
/>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
fillRule="evenodd"
fill-rule="evenodd"
/>
<path
d="M37.998 1.17157L32.1696 7L34.998 9.82843L40.8265 4L37.998 1.17157Z"
Expand Down Expand Up @@ -50314,10 +50314,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/operation.vue 1`] = `
fill="var(--td-text-color-placeholder)"
/>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
fillRule="evenodd"
fill-rule="evenodd"
/>
<path
d="M37.998 1.17157L32.1696 7L34.998 9.82843L40.8265 4L37.998 1.17157Z"
Expand Down Expand Up @@ -50538,10 +50538,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/size.vue 1`] = `
fill="var(--td-text-color-placeholder)"
/>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
fillRule="evenodd"
fill-rule="evenodd"
/>
<path
d="M37.998 1.17157L32.1696 7L34.998 9.82843L40.8265 4L37.998 1.17157Z"
Expand Down Expand Up @@ -50668,10 +50668,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/size.vue 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42ZM46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24ZM21 32.8284L12.1716 24L15 21.1716L21 27.1716L33 15.1716L35.8284 18L21 32.8284Z"
fill="#2BA471"
fillRule="evenodd"
fill-rule="evenodd"
/>
</svg>
</div>
Expand Down Expand Up @@ -50700,10 +50700,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/size.vue 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6ZM2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24ZM26 13V28H22V13H26ZM22 31H26.0078V35.0078H22V31Z"
fill="#D54941"
fillRule="evenodd"
fill-rule="evenodd"
/>
</svg>
</div>
Expand Down Expand Up @@ -50757,10 +50757,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/status.vue 1`] = `
fill="var(--td-text-color-placeholder)"
/>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M2 27.4689L10.8394 12H37.1606L46 27.4689V44H2V27.4689ZM13.1606 16L7.44636 26H17.8025L18.1889 27.5015C18.8551 30.0898 21.207 32 24 32C26.793 32 29.1449 30.0898 29.8111 27.5015L30.1975 26H40.5536L34.8394 16H13.1606Z"
fill="var(--td-text-color-placeholder)"
fillRule="evenodd"
fill-rule="evenodd"
/>
<path
d="M37.998 1.17157L32.1696 7L34.998 9.82843L40.8265 4L37.998 1.17157Z"
Expand Down Expand Up @@ -50887,10 +50887,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/status.vue 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42ZM46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24ZM21 32.8284L12.1716 24L15 21.1716L21 27.1716L33 15.1716L35.8284 18L21 32.8284Z"
fill="#2BA471"
fillRule="evenodd"
fill-rule="evenodd"
/>
</svg>
</div>
Expand Down Expand Up @@ -50919,10 +50919,10 @@ exports[`csr snapshot test > csr test ./src/empty/_example/status.vue 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
clip-rule="evenodd"
d="M24 6C14.0589 6 6 14.0589 6 24C6 33.9411 14.0589 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6ZM2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24ZM26 13V28H22V13H26ZM22 31H26.0078V35.0078H22V31Z"
fill="#D54941"
fillRule="evenodd"
fill-rule="evenodd"
/>
</svg>
</div>
Expand Down
Loading

0 comments on commit f4b51f8

Please sign in to comment.