Skip to content

Commit a268089

Browse files
liuxy0551JeromebeiershiqiWang0zhaoge
authored
Beta 2.0.0 (#473)
* fix: fix dt-modal style * fix: fix radio style * fix: fix input style * fix: fix input to search style * fix: fix popover style * fix: fix Pagination style * feat: add cascader * feat: add checkbox of demo * fix: fix collapse style * fix: fix table's style * fix: fix select's padding * fix: fix select's dropdown's shadow-bg * fix: fix table's shadow-bg * fix: fix descriptions style * docs: modified version in md * fix: some styles fixed * fix: fix Collapse style_2.0 * fix: fix Tabs style_2.0 * fix: fix Modal style_2.0 * fix: fix Steps style_2.0 * fix: fix Form style_2.0 * fix: fix Popover btn radius * fix: fix table style_2.0 * fix: fix table style_2.0 in mini footerHeight * fix: fix ant-steps icon style * fix: fix treeSelect style2.0 * fix: fix button style2.0 #123 * fix: fix tag style_2.0 #121 * fix: fix Pagination style_2.0 #120 * fix: modify modal-footer btn style #106 modify modal-footer btn style #106 * fix: modify Notification style #107 modify Notification style #107 * fix: add disabled checkbox #109 add disabled checkbox #109 * fix: modify radio style #112 modify radio style #112 * fix: modify collapse style #116 modify collapse style #116 * fix: modify descriptions style #117 modify descriptions style #117 * fix: modify Form demo style #111 modify Form demo style #111 * fix: modify TimePicker style #113 modify TimePicker style #113 * feat: add Transfer #115 add Transfer #115 * fix: modify showline style of Tree #124 modify showline style of Tree #124 * feat: add popover demo #119 * fix: fix Cascader style_2.0 #93 * fix: remove useless varible * feat(custom icon): base icon-svg-plugin base icon-svg-plugin * fix: bug fix issue #93 * fix: bug fix (#97) update treeselect * fix: bug fix issue(#106) update modal's style * fix: bug fix (#106) optimize table's style in Modal * fix: bug fix(#107) update notification's style * fix: bug fix (#111) update Form's style * fix: bug fix (#112) update radio's style * fix: bug fix (#113) update datePicker's style * fix: bug fix (#115) update transfer's style * fix: bug fix (#106) update delete btn's style of delete modal * fix: bug fix (#117) update descriptions' style * fix: bug fix (#97) change text of treeSelect * fix: bug fix (#109) update checkbox's style * fix: bug fix (#120) update pagination's style * fix: bug fix (#121) update tag's style * fix: bug fix(#123) update button's style * fix: bug fix (#124) update category's style * fix: bug fix (#129) update alert's style * fix: bug fix(#130) update Input's style * fix: bug fix (#131) update drawer's text * fix: bug fix style radio of form * fix: bug fix datepicker's style * fix: bug fix (#111) solve form's radio's style * feat: add svg transform logic add svg transform logic * fix: update transfer's style (#115) * fix: update popover and popconfirm's style * fix: update popover's style(#119) * fix: update transfer's style * fix: update breadcrumb's style(#137) * fix: update timepicker's style * fix: update collapse's style(#116) * fix: update tag's style(#121) * feat: datepicker * style: optimize input's hover style * style: optimize datepicker's style(#128) * style: optimize style of button(#123) * style: optimize collapse's style(#116) * feat: add svgs and generate custom icons add svgs and generate custom icons * style: optimize style of upload(#114) * feat: resize table * fix: style fix(#123) * style: style fix input(#130) * style: update Input's color * fix: add demo(#132) * feat: upgrade [email protected] upgrade [email protected] * fix: icon import from @ant-design/icons * style: dt-common .menu-right, .menu-item * style: use primaryColor * style: optimized checkbox (#166) * Beta 2.0.0 select (#167) * fix: dt-theme index import /default/cascader.less * style: add opacity 0 to hide cursor after select option * Beta 2.0.0 input table (#168) * feat: dt-theme index file import input less file * style: add table cell divider style * docs: modify table demon doc * style: modify dt-common dt-table-fixed-contain-footer border color * style: optimized dt-common siderbar style (#171) * style: optimized dt-common layout header style (#170) * Beta 2.0.0 drawer modal (#172) * feat: dt-common index file import drawer less file * style: optimized confirm modal style * style: optimized header and sider style (#173) * style: #65 tag header space between (#177) Co-authored-by: liuyi <[email protected]> * fix: add dropdown button style (#178) * Optimized Button style (#179) * docs: modify button danger doc * style: optimized button style * feat: some dependencies (#180) Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 table pagination (#181) * style: optimized pagination * style: optimized dt-table-fixed-contain-footer className style * Beta 2.0.0 layout link (#184) * style: modify ant button link type disabled style * style: removed ant-menu-title-content style * chore: add lint dependencies * chore: remove lint disabled * chore: dependencies * style: lint * chore: prettier * chore: eslint * ci: yml * style: select tag item height * style: form validate input focus border color * docs: #182 (#195) Co-authored-by: liuyi <[email protected]> * style: checkbox needn't padding (#193) Co-authored-by: liuyi <[email protected]> * style: menu height (#194) Co-authored-by: liuyi <[email protected]> * style: button link css (#198) Co-authored-by: liuyi <[email protected]> * fix: autoComplete focus display error #189 (#199) * fix: set pagination vertical (#200) * style: optimized form item explain error style (#206) * style: optimized form item explain error style * style: removed form item explain error font-family * style: button link css (#207) Co-authored-by: liuyi <[email protected]> * style: modify ant select text color (#208) * style: radio align-items (#209) Co-authored-by: liuyi <[email protected]> * docs: document url * ci: add cd * docs: document url * style: optimized table empty style (#219) * style: optimied table height and children table style (#218) * style: optimied table height and children table style * style: style lint * feat: add new className for steps (#221) Co-authored-by: liuyi <[email protected]> * style: #222 checkbox width height (#224) Co-authored-by: liuyi <[email protected]> * style: #132 table expand icon color (#223) Co-authored-by: liuyi <[email protected]> * chore: spell bule to blue * style: #255 append cell center (#226) * style: modify tag background color #204 (#228) * style: #186 optimized table sort buttons style (#230) * style: nav background color (#233) Co-authored-by: liuyi <[email protected]> * style: #229 tag close icon margin left * Beta 2.0.0 table form (#234) * style: #227 modify table form error message height * style: #147 optimized table form style * fix: stylelint fix * Beta 2.0.0 142 icon (#231) * style: alert and notice icon color * style: cascader hover color * style: input color * style: pagination * style: tree and tooltip * feat: notification icon filled * style: color use less Co-authored-by: liuyi <[email protected]> * style: pagination height (#237) Co-authored-by: liuyi <[email protected]> * style: optimized dt-common header style #238 (#239) * style: datepicker height (#240) Co-authored-by: liuyi <[email protected]> * style: #236 datepicker height * Beta 2.0.0 215 modal (#243) * refactor: removed unnecessary dt-common modal style * style: #215 add modal header border-bottom 0 * Ui5.0 add comm style (#245) * feat: add ant-tree-node-content-wrapper the overflow hidden * feat: Hide menuItem when menu collapsed * feat: add word-bread the notification * style: #246 removed ant-pagination height (#247) * docs: release doc * style: optimized breadcrumb #250 (#251) * style: #253 optimized Drawer (#258) * style: optimized dt-table-fixed-base border color #254 (#259) * style: dataPicker color and background #266 (#272) Co-authored-by: jialan <[email protected]> * feat: modify table hover background color #260 (#277) * feat: optimized Descriptions #257 (#276) * Beta 2.0.0 issue (#278) * style: #241 tabs height * style: #244 Popconfirm font css * style: #248 TreeSelect checkbox * style: #249 table empty Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 242 (#261) * feat: import Poppins font-family * feat: modify header title style #242 * feat: modify header title font style * Beta 2.0.0 issue (#281) * style: #249 table empty * style: #255 checkbox * style: #252 pagination css * style: #256 tag disabled * style: #256 select disabled * style: #268 table add dt-table-fixed-base-no-border className Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 271 265 (#283) * style: removed ant drawer header border bottom line #271 * style: optimized nested collapse style #265 * Beta 2.0.0 282 (#288) * style: optimized dropdown menu style * docs: add Dropdown doc * Beta 2.0.0 289 (#290) * style: optimized input-number style * docs: add input number docs * style: optimized ant small button style (#293) * style: fix menu style & table filter icon color (#295) * style: fix menu style & table filter icon color * fix: fix style lint Co-authored-by: jialan <[email protected]> * style: notification style (#300) Co-authored-by: jialan <[email protected]> * Beta-2.0.0-issue (#301) * style: #296 radio * style: #284 #286 table empty top Co-authored-by: liuyi <[email protected]> * feat: radio without radio-group * Beta 2.0.0 299 (#303) * style: optimized ant input number group style * docs: supple prefix and suffix InputNumber doc * Beta 2.0.0 issue (#306) * style: #296 radio * style: #284 #286 table empty top * feat: #220 enter is dt-theme/index * feat: import sort Co-authored-by: liuyi <[email protected]> * Beta-2.0.0-issue (#308) * style: #296 radio * style: #284 #286 table empty top * feat: #220 enter is dt-theme/index * feat: import sort * feat: #284 table empty Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 issue (#310) * style: #296 radio * style: #284 #286 table empty top * feat: #220 enter is dt-theme/index * feat: import sort * feat: #284 table empty * style: #273 form in table * style: ant-pagination * style: #279 step and steps * style: #269 remove dt-pagination-lower * feat: #267 table columns align Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 309 312 (#314) * style: optimize input disabled and height style * style: add input number group disabled style * Beta 2.0.0 148 (#313) * style: add right menu tab style and optimized tabs * refactor: modify @bg1Color color * docs: add tab right menu example doc * Beta 2.0.0 issue (#319) * style: #296 radio * style: #284 #286 table empty top * feat: #220 enter is dt-theme/index * feat: import sort * feat: #284 table empty * style: #273 form in table * style: ant-pagination * style: #279 step and steps * style: #269 remove dt-pagination-lower * feat: #267 table columns align * style: #315 table filter active color * chore: theme reset first Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 issue (#325) * style: #296 radio * style: #284 #286 table empty top * feat: #220 enter is dt-theme/index * feat: import sort * feat: #284 table empty * style: #273 form in table * style: ant-pagination * style: #279 step and steps * style: #269 remove dt-pagination-lower * feat: #267 table columns align * style: #315 table filter active color * chore: theme reset first * feat: #321 submenu placement triggerSubMenuAction * style: #322 menu icon font-size * style: #323 steps top Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 324 287 (#330) * style: optimized input height * style: optimized select multiple style * style: optimized table filter button size #335 (#337) * Beta 2.0.0 262 329 (#339) * style: optimized horizontal form spacing style by default #329 * style: add select dropdown padding * style: optimized table style and doc * style: optimized modal confirm text align #340 (#341) * Beta 2.0.0 liuyi (#336) * fix: #280 icon QuestionCircleOutlined * fix: #333 radio * revert: #307 * feat: #331 cascader item width * style: #334 table filter * fix: #327 icon exclamation-circle Co-authored-by: liuyi <[email protected]> * style: #342 form table ant-form-item-row * style: multiple select height & alert icon align (#343) * style: multiple select height & alert icon align * style: multiple select remove icon color * fix: fix style lint Co-authored-by: jialan <[email protected]> * Beta 2.0.0 liuyi (#348) * fix: #280 icon QuestionCircleOutlined * fix: #333 radio * revert: #307 * feat: #331 cascader item width * style: #334 table filter * fix: #327 icon exclamation-circle * style: #344 table fliter radio * style: #327 ghost button style Co-authored-by: liuyi <[email protected]> * style: header dropdown submenu hide (#351) Co-authored-by: jialan <[email protected]> * style: #349 cascader padding (#354) Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 311 346 (#355) * docs: update check box docs * feat: optimized checkbox style #311 * style: optimized header style #346 * style: stylelint fix * Beta 2.0.0 356 358 (#360) * feat: add left menu tab and supple docs #356 * docs: modify dt-tabs-right-menu to dt-tabs-sider-menu * docs: modify dt-collapse-light-b to dt-collapse-light-bg #358 * Beta 2.0.0 liuyi (#361) * style: #349 cascader padding * style: #328 top menu * style: #357 input.search samll * docs: table column resizable * style: #359 * style: #363 upload color Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 liuyi (#366) * style: #349 cascader padding * style: #328 top menu * style: #357 input.search samll * docs: table column resizable * style: #359 * style: #363 upload color * feat: #267 table align right demo Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 liuyi (#367) * style: #349 cascader padding * style: #328 top menu * style: #357 input.search samll * docs: table column resizable * style: #359 * style: #363 upload color * feat: #267 table align right demo * feat: #267 align right optimize Co-authored-by: liuyi <[email protected]> * Beta 2.0.0 issues (#381) * fix: optimized table pagination style #362 * fix: optimized ant-table-tbody td height #227 * fix: add nested table border left #373 * fix: optimized collapse padding #368 * docs: removed table bordered #364 * feat: removed @btn-height-sm by antd default #383 * refactor: button and removed ant-btn-danger #384 * feat: optimizde ant-table-footer #377 * feat: modify font-size 13px to 12px #375 * feat: removed @input-height-sm #382 * feat: modify dt-descriptions-vertica-display to dt-descriptions-vertical-display #391 * Beta 2.0.0 347 (#390) * style: adjust multiple select tag style * style: align popconfirm icon Co-authored-by: jialan <[email protected]> * chore: custom icon script * Feat 2.0.0 issues (#404) * docs: modify dt-descriptions-vertica-display to dt-descriptions-vertical-display #391 * refactor: removed dt-common descriptions #393 * feat: optimized ant-descriptions-item height and padding #392 * refactor: removed dt-commom card #398 * feat: add descriptions maxheight overflow #379 * feat: optimized card style #370 * Beta 2.0.0 custom icon (#408) * feat: remove babel-loader custom-icon with gulp generate * feat: use custom-icon with css * style: anticon font-size 18 * feat: notification and modal icon css * style: remove root css Co-authored-by: liuyi <[email protected]> Co-authored-by: liuyi <> * Feat 2.0.0 issues (#411) * feat: optimized upload disabled style #400 * feat: optimized descriptions label color #405 * feat: removed dt-resizable-table table selection column right line #399 * feat: optimized transfer style #397 * Beta 2.0.0 custom icon (#416) * feat: remove babel-loader custom-icon with gulp generate * feat: use custom-icon with css * style: anticon font-size 18 * feat: notification and modal icon css * style: remove root css * feat: some icon Co-authored-by: liuyi <[email protected]> Co-authored-by: liuyi <> * Feat 2.0.0 issues (#426) * feat: removed edited table border #420 * feat: removed treeselect dropdown treenode padding #415 * feat: removed card head and extra padding #424 * feat: optimized modal confirm padding #423 * refactor: removed dt-common form #425 * Feat 2.0.0 issues (#436) * feat: optimized breadcrumb style #318 * docs: modify breadcrumb demo tooltip Breadcrumb separator #317 * feat: add dt-table-top-border #429 * feat: add tabs custom className dt-tabs-nav-padding-16 #410 * refactor: migrate alert to default #435 * feat: add Alert type info example #409 * feat: optimzied alert action style #422 * feat: add card custom className dt-card-shadow #431 * feat: optimized breadcrumb separator (#437) * Feat 2.x all (#442) * style: #142 anticon-close color * feat: #357 input search icon * feat: #267 table input width demo * feat: #345 collapse right icon * feat: #365 modal delete icon * style: #372 popconfirm min-width * style: #374 message top * style: modal delete color Co-authored-by: liuyi <[email protected]> * feat: #365 change btn text * style: #374 message top * Feat 2.x all (#447) * style: #142 anticon-close color * feat: #357 input search icon * feat: #267 table input width demo * feat: #345 collapse right icon * feat: #365 modal delete icon * style: #372 popconfirm min-width * style: #374 message top * style: modal delete color * style: icon button search * feat: #388 only icon for btn * style: #401 steps height * style: #389 table fix column box-shadow * style: #446 transfer operation btn * feat: #439 input textarea * feat: #417 icon size * style: #395 date picker important * feat: #388 change api desc Co-authored-by: liuyi <[email protected]> * Feat 2.x all (#449) * style: #142 anticon-close color * feat: #357 input search icon * feat: #267 table input width demo * feat: #345 collapse right icon * feat: #365 modal delete icon * style: #372 popconfirm min-width * style: #374 message top * style: modal delete color * style: icon button search * feat: #388 only icon for btn * style: #401 steps height * style: #389 table fix column box-shadow * style: #446 transfer operation btn * feat: #439 input textarea * feat: #417 icon size * style: #395 date picker important * feat: #388 change api desc * feat: #441 custom icon rate * feat: #448 fill icon use dt className Co-authored-by: liuyi <[email protected]> * feat: removed ant-btn padding #450 (#452) * Beta 2.0.0 refactor (#456) * refactor: migrate comm to default * refactor: migrate table to default * refactor: migrate notice to default * refactor: migrate tab to default * refactor: migrate reset to default * refactor: migrate layout to default * feat: #455 onResizeStart onResizeStop (#458) Co-authored-by: liuyi <[email protected]> * feat: add dt-table-multi-line custom className (#459) * Feat 2.x all (#460) * feat: #455 onResizeStart onResizeStop * feat: #454 modal icon font-size * style: #434 table fixed overflow-y * style: #421 #428 table filter icon * feat: #451 PlusOutlined * feat: #415 menu-right icon color * feat: add MinusOutlined * revert: #451 PlusOutlined * feat: #451 icon font-size Co-authored-by: liuyi <[email protected]> * Feat 2.0.0 issues (#467) * feat: modify ant-card border color to ant-card-bordered #461 * feat: optimized editable card style and demo #376 * feat: optimized table selected sort columns style #466 * feat: optimzed table container border-readius and scrollX box-shadow #465 (#468) * feat: optimized dt-table-empty-top-20-percent empty hover style #469 (#470) * feat: #471 ant-input-number-group-addon (#472) Co-authored-by: liuyi <[email protected]> * ci: trigger branches Co-authored-by: Jerome <[email protected]> Co-authored-by: beier <[email protected]> Co-authored-by: beier <[email protected]> Co-authored-by: zhaoge <[email protected]> Co-authored-by: XCynthia <[email protected]> Co-authored-by: xigua-Jn <[email protected]> Co-authored-by: xigua <[email protected]> Co-authored-by: Bell <[email protected]> Co-authored-by: zhaoge <> Co-authored-by: liuyi <[email protected]> Co-authored-by: kongshan-zhuyu <[email protected]> Co-authored-by: mumiao <[email protected]> Co-authored-by: JingMing <[email protected]> Co-authored-by: JackWang032 <[email protected]> Co-authored-by: jialan <[email protected]>
1 parent 6f3a294 commit a268089

File tree

407 files changed

+21226
-29766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+21226
-29766
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
node_modules/
3+
**/iconfont*/*

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: [require.resolve('ko-lint-config/.eslintrc')],
3+
};

.github/workflows/CD.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CD
4+
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
on:
7+
push:
8+
branches: [master]
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
setup:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
18+
- name: Setup node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 14.x
22+
cache: yarn
23+
24+
- name: Cache yarn.lock
25+
uses: actions/cache@v2
26+
with:
27+
path: package-temp-dir
28+
key: lock-${{ github.sha }}
29+
30+
- name: Create yarn.lock
31+
run: yarn generate-lock-entry
32+
33+
- name: Hack for single file
34+
run: |
35+
if [ ! -d "package-temp-dir" ]; then
36+
mkdir package-temp-dir
37+
fi
38+
cp yarn.lock package-temp-dir
39+
- name: Cache node_modules
40+
id: node_modules_cache_id
41+
uses: actions/cache@v2
42+
with:
43+
path: node_modules
44+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
45+
46+
- name: Install dependencies
47+
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
48+
run: yarn
49+
50+
deploy:
51+
runs-on: ubuntu-latest
52+
needs: [setup]
53+
steps:
54+
- uses: actions/checkout@v2
55+
56+
- name: Setup node
57+
uses: actions/setup-node@v3
58+
with:
59+
node-version: 14.x
60+
61+
- name: Restore cache from yarn.lock
62+
uses: actions/cache@v2
63+
with:
64+
path: package-temp-dir
65+
key: lock-${{ github.sha }}
66+
67+
- name: Restore cache from node_modules
68+
uses: actions/cache@v2
69+
with:
70+
path: node_modules
71+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
72+
73+
- name: Build
74+
run: npm run build
75+
76+
- name: Deploy to GitHub Pages
77+
uses: peaceiris/actions-gh-pages@v3
78+
with:
79+
github_token: ${{ secrets.THEME_GH_TOKEN }}
80+
publish_dir: ./dist

.github/workflows/CI.yml

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
on:
7+
# push:
8+
# branches: "*"
9+
pull_request:
10+
branches: "*"
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
setup:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Setup node
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 14.x
24+
cache: yarn
25+
26+
- name: Cache yarn.lock
27+
uses: actions/cache@v2
28+
with:
29+
path: package-temp-dir
30+
key: lock-${{ github.sha }}
31+
32+
- name: Create yarn.lock
33+
run: yarn generate-lock-entry
34+
35+
- name: Hack for single file
36+
run: |
37+
if [ ! -d "package-temp-dir" ]; then
38+
mkdir package-temp-dir
39+
fi
40+
cp yarn.lock package-temp-dir
41+
- name: Cache node_modules
42+
id: node_modules_cache_id
43+
uses: actions/cache@v2
44+
with:
45+
path: node_modules
46+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
47+
48+
- name: Install dependencies
49+
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
50+
run: yarn
51+
52+
prettier:
53+
needs: [setup]
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
58+
- name: Restore cache from yarn.lock
59+
uses: actions/cache@v2
60+
with:
61+
path: package-temp-dir
62+
key: lock-${{ github.sha }}
63+
64+
- name: Restore cache from node_modules
65+
uses: actions/cache@v2
66+
with:
67+
path: node_modules
68+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
69+
70+
- name: Run Prettier
71+
run: yarn prettier
72+
73+
eslint:
74+
needs: [setup, prettier]
75+
runs-on: ubuntu-latest
76+
steps:
77+
- uses: actions/checkout@v2
78+
79+
- name: Restore cache from yarn.lock
80+
uses: actions/cache@v2
81+
with:
82+
path: package-temp-dir
83+
key: lock-${{ github.sha }}
84+
85+
- name: Restore cache from node_modules
86+
uses: actions/cache@v2
87+
with:
88+
path: node_modules
89+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
90+
91+
- name: Run ESlint
92+
run: yarn eslint
93+
94+
stylelint:
95+
runs-on: ubuntu-latest
96+
needs: [setup]
97+
steps:
98+
- uses: actions/checkout@v2
99+
100+
- name: Restore cache from yarn.lock
101+
uses: actions/cache@v2
102+
with:
103+
path: package-temp-dir
104+
key: lock-${{ github.sha }}
105+
106+
- name: Restore cache from node_modules
107+
uses: actions/cache@v2
108+
with:
109+
path: node_modules
110+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
111+
112+
- name: Run Stylelint
113+
run: yarn stylelint
114+
115+
build-test:
116+
runs-on: ubuntu-latest
117+
needs: [setup, prettier, eslint, stylelint]
118+
steps:
119+
- uses: actions/checkout@v2
120+
121+
- name: Restore cache from yarn.lock
122+
uses: actions/cache@v2
123+
with:
124+
path: package-temp-dir
125+
key: lock-${{ github.sha }}
126+
127+
- name: Restore cache from node_modules
128+
uses: actions/cache@v2
129+
with:
130+
path: node_modules
131+
key: node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
132+
133+
- name: Run Build Test
134+
run: yarn build

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ _site
44
/es
55
/dist
66
.DS_Store
7-
npm-debug.log
7+
npm-debug.log
8+
.history
9+
yarn-error.log
10+
.idea

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist/
2+
node_modules/
3+
4+
*.md
5+
custom-icons/
6+
**/iconfont*/*

.prettierrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const prettier = require('ko-lint-config/.prettierrc');
2+
3+
module.exports = {
4+
...prettier,
5+
};

.stylelintignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
dist/
2+
node_modules/
3+
bower_components/
4+
.cache-loader/
5+
.DS_Store
6+
.idea/
7+
.env
8+
.vscode
9+
.history
10+
*.log
11+
**/iconfont*/*
12+
tinyColor.less

.stylelintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
extends: [require.resolve('ko-lint-config/.stylelintrc')],
3+
overrides: [
4+
{
5+
files: ['**/*.less'],
6+
customSyntax: 'postcss-less',
7+
},
8+
],
9+
rules: {
10+
'at-rule-name-case': null, // less 中变量名的大小写
11+
'selector-no-vendor-prefix': null, // 兼容写法
12+
'property-no-vendor-prefix': null, // 兼容写法
13+
'selector-pseudo-class-no-unknown': null, // 兼容写法
14+
'selector-type-no-unknown': null, // 兼容写法
15+
'number-max-precision': 10, // 数字中允许的小数位数
16+
},
17+
};

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.0.0](https://github.com/DTStack/ant-design-dtinsight-theme/compare/v1.1.5...v2.0.0) (2022-03-28)
6+
7+
8+
### Features
9+
10+
* add ReloadOutlined in button ([c0913f7](https://github.com/DTStack/ant-design-dtinsight-theme/commit/c0913f729eb1eace5655107e7facf5cde9080f0e))
11+
* adjust Form rules ([305ec9f](https://github.com/DTStack/ant-design-dtinsight-theme/commit/305ec9f9ff103ae4a7cc8283226b3d8fa393a959))
12+
* delete useless code ([17108d9](https://github.com/DTStack/ant-design-dtinsight-theme/commit/17108d959d137b9fbc915bb6c10226fd26730aec))
13+
* fix form's display after level to v4 ([48bb1fa](https://github.com/DTStack/ant-design-dtinsight-theme/commit/48bb1fa47c3e85028265eb7eef6e0eaa27f3ed00))
14+
* modified calendar to ant-picker ([1280fe1](https://github.com/DTStack/ant-design-dtinsight-theme/commit/1280fe14d30c6a9db16e40d9c926245d7780b8f9))
15+
* update ([6ce5247](https://github.com/DTStack/ant-design-dtinsight-theme/commit/6ce5247d86270e6c661bea034ac49344698142d0))
16+
* update layout and form's style ([beb7c40](https://github.com/DTStack/ant-design-dtinsight-theme/commit/beb7c40c736e79b62d2cd3fb687e98e1de7212cc))
17+
* update layout's display and style after level to 4 ([6d87acc](https://github.com/DTStack/ant-design-dtinsight-theme/commit/6d87acc838df67d7bea4b5aa4427757ab8859e35))
18+
* update v4.0 style ([acb07e0](https://github.com/DTStack/ant-design-dtinsight-theme/commit/acb07e0064ae7753f8a4c81205de3935df80dfc4))
19+
* upgrade antd to v3's top ([8a8ed76](https://github.com/DTStack/ant-design-dtinsight-theme/commit/8a8ed763cf4e2de532110c3efa9deb6c5b14deb0))
20+
* upgrade antd to v4 ([60a2b78](https://github.com/DTStack/ant-design-dtinsight-theme/commit/60a2b78ac28707ad879e81d7eaafebacdcf980a1))
21+
* upgrade try ([ba49d99](https://github.com/DTStack/ant-design-dtinsight-theme/commit/ba49d991fa6b8f41ab5a5f53d3dadf0e1410dfb4))
22+
23+
24+
### Bug Fixes
25+
26+
* add padding in ant-tabs-tab ([0a578b2](https://github.com/DTStack/ant-design-dtinsight-theme/commit/0a578b22ac6ee7dbfb6f4e42da6619adde6f43f3))
27+
* change popupClassName to dropdownClassName ([eb05d43](https://github.com/DTStack/ant-design-dtinsight-theme/commit/eb05d43b33a7aa1a50f062eae96e31ceeaf14216))
28+
* fix Input's display after level to v4 ([e0bc9b1](https://github.com/DTStack/ant-design-dtinsight-theme/commit/e0bc9b1aaf005d616c9fbd12fb6f6700117efa9a))
29+
* modified padding in ant-alert ([f6f42bf](https://github.com/DTStack/ant-design-dtinsight-theme/commit/f6f42bf01a61180cd75a641804c4f861bb13fe81))
30+
* repair button color ([9951410](https://github.com/DTStack/ant-design-dtinsight-theme/commit/9951410400d8e51b25771b8194106ff9bad5d265))
31+
* repair icon in empty ([acbd4f3](https://github.com/DTStack/ant-design-dtinsight-theme/commit/acbd4f393d79bb3548e67f6da61a5efd34644b6b))
32+
* there still exsists problem ([a7fc6b2](https://github.com/DTStack/ant-design-dtinsight-theme/commit/a7fc6b2172cba9835a8b8b77653efaa4fb1fdce4))
33+
534
### [1.1.5](https://github.com/DTStack/ant-design-dtinsight-theme/compare/v1.1.4...v1.1.5) (2021-12-10)
635

736

0 commit comments

Comments
 (0)