Skip to content

Commit

Permalink
chore(release): v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Jul 5, 2023
1 parent 43b6a5c commit d3ae2e8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# v2.0.1
`2023-07-05`

* :sparkles: feat: tag 新增 info 类型 (#1180) @xiaoyatong
* :bug: fix(searchbar): 修复 Taro-H5 下 onSearch 无法触发的问题 (#1178) @Eiinu
* :bug: fix: button 组件在 taro h5 中不设置 opentype (#1167) @oasis-cloud
* :bug: fix: datepicker 修改列数据后,更新下一级数据 (#1179) @xiaoyatong
* :bug: fix: demo 中 input 布局换行 (#1170) @oasis-cloud
* :bug: fix: demo 中 tabs 采用独立状态 (#1169) @oasis-cloud
* :bug: fix: eslint 错误修复 (#1175) @oasis-cloud
* :bug: fix: form 在处理组件受控和非受控的时候存在冲突 (#1166) @oasis-cloud
* :bug: fix: 关闭主题定制入口 (#1171) @oasis-cloud
* :bug: fix: 调整 demo 中 image 组件的间距 (#1168) @oasis-cloud
* 📖 docs: swiper 文档中的 autoplay 描述修复 (#1165) @oasis-cloud
* 📖 docs: update doc link (#1176) @Eiinu


# v2.0.0-beta.3
`2023-06-30`

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui-react-taro",
"version": "2.0.0",
"version": "2.0.1",
"style": "dist/style.css",
"main": "dist/nutui.react.umd.js",
"module": "dist/esm/nutui-react.es.js",
Expand Down Expand Up @@ -84,7 +84,8 @@
"postpublish": "node scripts/postpublish.js"
},
"lint-staged": {
"*.{ts,tsx,js,scss,md}": "eslint ./src/packages"
"*.scss": "prettier --write",
"*.{ts,tsx,js,md}": "eslint"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
Expand Down
2 changes: 2 additions & 0 deletions src/packages/configprovider/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export type NutCSSVariables =
| 'nutuiBrandColorEnd'
| 'nutuiBrandLinkColor'
| 'nutuiBrandTextColor'
| 'nutuiBrandInfoColor'
| 'nutuiGray0'
| 'nutuiGray1'
| 'nutuiGray2'
Expand Down Expand Up @@ -420,6 +421,7 @@ export type NutCSSVariables =
| 'nutuiTagMarkBorderRadius'
| 'nutuiTagBackgroundColor'
| 'nutuiTagPrimaryBackgroundColor'
| 'nutuiTagInfoBackgroundColor'
| 'nutuiTagSuccessBackgroundColor'
| 'nutuiTagWarningBackgroundColor'
| 'nutuiBadgeBackgroundColor'
Expand Down
6 changes: 3 additions & 3 deletions src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ $brand-color: var(--nutui-brand-color, #fa2c19) !default;
// 品牌渐变色
$brand-color-start: var(--nutui-brand-color-start, #ff404f) !default;
$brand-color-end: var(--nutui-brand-color-end, #fa2c19) !default;
$brand-link-color: var(--nutui-brand-link-color, #396acc);
$brand-text-color: var(--nutui-brand-text-color, #ffffff);
$brand-info-color: var(--nutui-brand-info-color, #ffffff);
$brand-link-color: var(--nutui-brand-link-color, #396acc) !default;
$brand-text-color: var(--nutui-brand-text-color, #ffffff) !default;
$brand-info-color: var(--nutui-brand-info-color, #1988fa) !default;

$gray0: var(--nutui-gray-0, #000000) !default;
// 主要内容用色,常用语常规标题内容、细文浏览、常规按钮文字以及图表引导。
Expand Down

0 comments on commit d3ae2e8

Please sign in to comment.