diff --git a/package.json b/package.json index 182902d49..673c0db6e 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "mitt": "^3.0.0", "raf": "^3.4.1", "sortablejs": "^1.15.0", - "tdesign-icons-vue": "^0.1.6", + "tdesign-icons-vue": "^0.2.0", "tinycolor2": "^1.4.2", "validator": "^13.5.1" }, @@ -176,7 +176,7 @@ "rollup-plugin-styles": "^4.0.0", "rollup-plugin-terser": "~7.0.2", "rollup-plugin-vue": "^5.1.9", - "tdesign-icons-view": "^0.1.5", + "tdesign-icons-view": "^0.2.0", "tdesign-publish-cli": "^0.0.12", "tdesign-site-components": "^0.13.0", "tdesign-theme-generator": "^1.0.0", diff --git a/src/anchor/__tests__/__snapshots__/anchor-target.test.jsx.snap b/src/anchor/__tests__/__snapshots__/anchor-target.test.jsx.snap index 7ace4e05b..e81af4aba 100644 --- a/src/anchor/__tests__/__snapshots__/anchor-target.test.jsx.snap +++ b/src/anchor/__tests__/__snapshots__/anchor-target.test.jsx.snap @@ -1,8 +1,7 @@ // Vitest Snapshot v1 exports[`AnchorTarget > > should render default slot 1`] = ` -"

this is default slots - - +"

this is default slots +

" `; diff --git a/src/back-top/__tests__/__snapshots__/vitest-back-top.test.jsx.snap b/src/back-top/__tests__/__snapshots__/vitest-back-top.test.jsx.snap index e316cd89c..d241d83a0 100644 --- a/src/back-top/__tests__/__snapshots__/vitest-back-top.test.jsx.snap +++ b/src/back-top/__tests__/__snapshots__/vitest-back-top.test.jsx.snap @@ -39,13 +39,12 @@ exports[`BackTop Component > props.shape is equal to circle 1`] = ` class="t-icon t-icon-backtop t-back-top__icon" fill="none" height="1em" - viewBox="0 0 16 16" + viewBox="0 0 24 24" width="1em" > props.shape is equal to square 1`] = ` class="t-icon t-icon-backtop t-back-top__icon" fill="none" height="1em" - viewBox="0 0 16 16" + viewBox="0 0 24 24" width="1em" > > 1`] = ` class="t-icon t-icon-chevron-right" fill="none" height="1em" - viewBox="0 0 16 16" + viewBox="0 0 24 24" width="1em" > @@ -64,13 +63,12 @@ exports[`Breadcrumb > > 1`] = ` class="t-icon t-icon-chevron-right" fill="none" height="1em" - viewBox="0 0 16 16" + viewBox="0 0 24 24" width="1em" > diff --git a/src/breadcrumb/_example/icon.vue b/src/breadcrumb/_example/icon.vue index 4ce943a82..a24ba5e71 100644 --- a/src/breadcrumb/_example/icon.vue +++ b/src/breadcrumb/_example/icon.vue @@ -1,8 +1,8 @@ diff --git a/src/icon/_example/single.vue b/src/icon/_example/single.vue index 0839e155a..04ff83e74 100644 --- a/src/icon/_example/single.vue +++ b/src/icon/_example/single.vue @@ -1,33 +1,62 @@ -