Skip to content

Commit

Permalink
feat: icon package change to outer npm (merge request !899)
Browse files Browse the repository at this point in the history
Squash merge branch 'feat/icon-n-m' into 'develop'
feat: icon package change to outer npm
- 修改 icon 包依赖为外网 npm 包
- demo 及组件实现中 import 报名整体替换
- 修改 package.json 中包名为 tdesign-vue,去除 link 至内网的相关地址
  • Loading branch information
xiaosansiji authored and uyarn committed Nov 16, 2021
1 parent 30f2245 commit b32c4e8
Show file tree
Hide file tree
Showing 100 changed files with 100 additions and 100 deletions.
2 changes: 1 addition & 1 deletion examples/alert/demos/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/avatar/demos/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</template>
<script>
import { UserIcon } from '@tencent/tdesign-icons-vue';
import { UserIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/avatar/demos/group-cascading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
</template>
<script>
import { UserIcon } from '@tencent/tdesign-icons-vue';
import { UserIcon } from 'tdesign-icons-vue';
export default {
data() {
Expand Down
2 changes: 1 addition & 1 deletion examples/avatar/demos/group-max.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
</template>
<script>
import { UserIcon, EllipsisIcon } from '@tencent/tdesign-icons-vue';
import { UserIcon, EllipsisIcon } from 'tdesign-icons-vue';
export default {
data() {
Expand Down
2 changes: 1 addition & 1 deletion examples/avatar/demos/group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
</template>
<script>
import { UserIcon } from '@tencent/tdesign-icons-vue';
import { UserIcon } from 'tdesign-icons-vue';
export default {
data() {
Expand Down
2 changes: 1 addition & 1 deletion examples/breadcrumb/demos/custom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</t-breadcrumb>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/breadcrumb/demos/dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</t-breadcrumb>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/breadcrumb/demos/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</t-breadcrumb>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/button/demos/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script>
import {
AddIcon, CloudUploadIcon, SearchIcon, DiscountIcon, CloudDownloadIcon,
} from '@tencent/tdesign-icons-vue';
} from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/button/demos/shape.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</div>
</template>
<script>
import { CalendarIcon } from '@tencent/tdesign-icons-vue';
import { CalendarIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/comment/demos/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
name: 'list',
Expand Down
2 changes: 1 addition & 1 deletion examples/comment/demos/operation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/comment/demos/quote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/comment/demos/reply.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/dialog/demos/warning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</template>
<script>
import Vue from 'vue';
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default Vue.extend({
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/dropdown/demos/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</template>
<script>
import { ChevronDownIcon } from '@tencent/tdesign-icons-vue';
import { ChevronDownIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/dropdown/demos/disabled.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</template>
<script>
import Vue from 'vue';
import { ChevronDownIcon } from '@tencent/tdesign-icons-vue';
import { ChevronDownIcon } from 'tdesign-icons-vue';
export default Vue.extend({
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/dropdown/demos/multiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</template>
<script>
import { ChevronDownIcon } from '@tencent/tdesign-icons-vue';
import { ChevronDownIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/form/demos/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>
</template>
<script>
import { DesktopIcon, LockOnIcon } from '@tencent/tdesign-icons-vue';
import { DesktopIcon, LockOnIcon } from 'tdesign-icons-vue';
const INITIAL_DATA = {
account: '',
Expand Down
2 changes: 1 addition & 1 deletion examples/form/demos/validator-status.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</div>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
const INITIAL_DATA = {
fail: '',
Expand Down
2 changes: 1 addition & 1 deletion examples/icon/demos/all.vue
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/icon/demos/iconfont.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>

<script>
import { IconFont } from '@tencent/tdesign-icons-vue';
import { IconFont } from 'tdesign-icons-vue';
export default {
components: { IconFont },
Expand Down
2 changes: 1 addition & 1 deletion examples/input/demos/password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</div>
</template>
<script>
import { LockOnIcon } from '@tencent/tdesign-icons-vue';
import { LockOnIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/layout/demos/aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/layout/demos/combine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</div>
</template>
<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/layout/demos/top.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/list/demos/operation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</template>

<script>
import { EditIcon, DownloadIcon } from '@tencent/tdesign-icons-vue';
import { EditIcon, DownloadIcon } from 'tdesign-icons-vue';
export default {
components: { EditIcon, DownloadIcon },
Expand Down
2 changes: 1 addition & 1 deletion examples/locale-provider/demos/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<script>
import {
ErrorIcon, CaretRightSmallIcon, CloseCircleFilledIcon, ChevronDownIcon, CaretDownSmallIcon,
} from '@tencent/tdesign-icons-vue';
} from 'tdesign-icons-vue';
const MONTHS = [
'January',
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/closable-side.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/double.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<script>
import Vue from 'vue';
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default Vue.extend({
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/group-side.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/head-menu-dark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/head-menu-mode-tile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/head-menu-tile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/multi-side.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/multiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/popup-side.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/single-side.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/menu/demos/single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/popconfirm/demos/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/select/demos/prefix.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>

<script>
import { Icon } from '@tencent/tdesign-icons-vue';
import { Icon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion examples/steps/demos/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script>
import {
LoginIcon, CartIcon, WalletIcon, CheckCircleIcon,
} from '@tencent/tdesign-icons-vue';
} from 'tdesign-icons-vue';
export default {
methods: {
Expand Down
2 changes: 1 addition & 1 deletion examples/switch/demos/describe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</template>
<script>
import { CloseIcon, CheckIcon } from '@tencent/tdesign-icons-vue';
import { CloseIcon, CheckIcon } from 'tdesign-icons-vue';
export default {
components: { CloseIcon, CheckIcon },
Expand Down
2 changes: 1 addition & 1 deletion examples/table/demos/custom-cell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
</template>
<script>
import { AttachIcon } from '@tencent/tdesign-icons-vue';
import { AttachIcon } from 'tdesign-icons-vue';
export default {
components: {
Expand Down
Loading

0 comments on commit b32c4e8

Please sign in to comment.