MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
afc163
ac143ffb4d
docs: fix component demo column number ( #38631 )
* docs: fix component demo column number
* test: skip test case
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
MadCcc
9f88c1238a
feat: token update ( #38314 )
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2 years ago
二货爱吃白萝卜
752d671acb
feat: DatePicker support `presets` ( #38249 )
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2 years ago
MadCcc
0a0f96798d
chore: snapshot
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
93908debec
feat: v5 radius ( #37146 )
* feat: v5 radius
* test: fix test
2 years ago
lijianan
d6aa3aaf10
test: migrate part of Descriptions tests ( #36970 )
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
* pref: add useCallback/useMemo
* refactor: use typescript refactor javascript
* fix: remove string
* fix: fix eslint
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
2 years ago
MadCcc
1ad0553249
refactor: token update ( #36637 )
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2 years ago
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2 years ago
MadCcc
8e4f1c6836
refactor: token update ( #36279 )
* refactor: token update
* chore: add js doc
* test: fix lint
* test: update test
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
MadCcc
9a98a1c5db
refactor: description full token ( #35697 )
* refactor: description full token
* chore: increase bundle size
* Revert "chore: increase bundle size"
This reverts commit d53cb02677
.
* Revert "Revert "chore: increase bundle size""
This reverts commit f8a04305a6
.
* chore: token
* chore: token
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
dingkang
5cf579c37a
docs: replace class component with hooks ( #35472 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
afc163
9169de21f8
fix: argos-ci diff for Upload and Descriptions ( #35229 )
3 years ago
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
3 years ago
AliRezaBeigy
1e91a4961c
chore: Compatible for @types/react@18 ( #35075 )
* chore: Compatible for @types/react@18
* chore: Compatible for @types/react@18
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
MadCcc
101865cf7e
fix: statistic token ( #34962 )
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
3 years ago
MadCcc
87827c193b
refactor: Descriptions migrate to genComponentStyleHook ( #34930 )
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
dengqing
4b7c95b445
refactor: descriptions cssinjs ( #34786 )
* refactor: less move to cssinjs
* feat: move rtl related less to cssinjs
* style: comment style
* fix: remove all hashIds expecting root hashId
* docs: add hard code in v4
* refactor: rtl support switched to logical properties
* refactor: shorthand rtl className
* styles: style invalid
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
3 years ago
zhao-huo-long
5588dae212
fix: Descriptions number 0 can't render span ( #34696 )
* fix: number 0 can't render span
* Update Cell.tsx
* chore: add test case
3 years ago
afc163
0edf04253e
fix: Descriptions default overflow value ( #33392 )
close #33316
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
f0d9abb0ff
fix: antd.varaible.less mix with default theme ( #32279 )
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
Junwoo Ji
05d7176c74
docs: fix typo in descriptions API ( #31742 )
3 years ago
afc163
b9390b441c
fix: Desciptions border missing when inside Table ( #31307 )
close #31274
3 years ago
lisenenkov
6b419bd5ec
fix: Descriptions style import issue ( #30602 )
With @import '../../style/themes/default'; theme customization doesn't work
4 years ago
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful ( #29942 )
* fix: Descriptions labelStyle unsuccessful
* use hook
* Update components/descriptions/demo/style.md
* fix lint
* fix ts
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
二货机器人
a211756e6b
feat: desc support root level label & content style ( #28613 )
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago