Skip to content

Commit

Permalink
revert: 发布新版本 0.20.0 (2023-01-17) 🚀🚀🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jan 17, 2023
1 parent f911691 commit 9046335
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 37 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
English | [Chinese](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.md)

## 0.20.0 (2023-01-17)

- Optimize `f-space` style details
- Fix some known problems of `f-tabs`
- Abolish the `f-progress` component `width`,`square`,`linear` and `text-inside` configuration items
- Add `f-progress` component `outside-text` configuration item

## 0.19.1 (2023-01-13)

- Optimize `f-dropdown-item` style details
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 0.20.0 (2023-01-17)

- 优化 `f-space` 样式细节
- 修复 `f-tabs` 一些已知问题
- 废除 `f-progress` 组件 `width``square` `linear` `text-inside` 配置项
Expand Down
7 changes: 7 additions & 0 deletions docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 0.20.0 (2023-01-17)

- 优化 `f-space` 样式细节
- 修复 `f-tabs` 一些已知问题
- 废除 `f-progress` 组件 `width``square` `linear` `text-inside` 配置项
- 新增 `f-progress` 组件 `outside-text` 配置项

## 0.19.2 (2023-01-16)

- 优化 `f-image``f-avatar` 组件类型
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_hooks/use-avatar/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useList } from '../../_hooks'
import { useList } from '..'
import { isNumber, isString } from '../../_utils'
import type { AvatarProps } from '../../avatar'
import type { UseAvatarReturn } from './interface'
Expand Down
4 changes: 2 additions & 2 deletions packages/fighting-design/_hooks/use-list/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { computed, ref, reactive } from 'vue'
import { convertFormat, isNumber, sizeChange, isBoolean } from '../../_utils'
import { useProps } from '../use-props'
import { useProps } from '..'
import type { CSSProperties, ComputedRef, Ref } from 'vue'
import type { ClassList } from '../../_interface'
import type { FilterParams } from '../use-props'
import type { FilterParams } from '..'
import type { UseListReturn } from './interface'

export * from './interface.d'
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_hooks/use-load-img/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ref } from 'vue'
import { sizeChange, sizeToNum } from '../../_utils'
import { useRun } from '../../_hooks'
import { useRun } from '..'
import type { UseLoadImgProp, UseLoadImgReturn } from './interface'

export * from './interface.d'
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_hooks/use-message/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import messageVue from '../../message/src/message.vue'
import notificationVue from '../../notification/src/notification.vue'
import { render, createVNode } from 'vue'
import { useMassageManage, useRun } from '../../_hooks'
import { useMassageManage, useRun } from '..'
import { isString } from '../../_utils'
import { FIGHTING_TYPE } from '../../_tokens'
import type { FightingType } from '../../_interface'
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_hooks/use-update-input/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isNumber } from '../../_utils'
import { useRun } from '../../_hooks'
import { useRun } from '..'
import { EMIT_UPDATE } from '../../_tokens'
import type { UseUpdateInputProps, UseUpdateInputReturn, UseUpdateInputEmit } from './interface'

Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_utils/get-children/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isObject, isArray } from '../../_utils'
import { isObject, isArray } from '..'
import type { Component, VNode } from 'vue'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_utils/tree/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isArray } from '../is'
import { isArray } from '..'
import type { FormatTreeData } from '../../_hooks'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/_utils/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isString, isNumber } from '../index'
import { isString, isNumber } from '..'

/**
* 保留小数点后 no 位
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fighting-design",
"version": "0.19.2",
"version": "0.20.0",
"description": "Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.",
"keywords": [
"fighting",
Expand Down
30 changes: 3 additions & 27 deletions start/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
<script lang="ts" setup>
import { ref } from 'vue'
<script lang="ts" setup></script>

const num = ref(10)
<template></template>

const sun = () => {
if (num.value > 0) {
num.value -= 10
}
}
const add = () => {
if (num.value < 100) {
num.value += 10
}
}
</script>

<template>
<f-progress :height="25" stripe type="primary" color="red" :percentage="num" />
<f-progress :height="25" stripe type="success" :percentage="num" />
<f-progress :height="25" stripe type="danger" :percentage="num" />
<f-progress :height="25" stripe type="warning" :percentage="num" />

<f-button-group>
<f-button simple round type="primary" @click="sun">减少</f-button>
<f-button simple round type="primary" @click="add">增加</f-button>
</f-button-group>
</template>
<style lang="scss" scoped></style>

0 comments on commit 9046335

Please sign in to comment.