Commit Graph

29 Commits

Author SHA1 Message Date
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
2022-07-05 21:55:21 +08:00
MadCcc
469d0bc81c
chore: compile without lib (#36362)
* chore: compile es only

* chore: update package.json

* chore: code clean

* chore: code clean

* chore: update workflow

* chore: update workflow

* chore: update less src

* chore: replace lib with es

* chore: recover less

* Revert "chore: replace lib with es"

This reverts commit 41b8bf1938.

* chore: update dist less

* test: fix
2022-07-04 22:08:24 +08:00
二货机器人
020c4ba7d0
fix: missing default.css (#32116)
* chore: Add CI for compile

* chore: Add missing compile file
2021-09-11 13:28:25 +08:00
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
二货机器人
8acb062267
fix: theme script (#32048) 2021-09-06 20:04:25 +08:00
二货机器人
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
2021-09-01 10:56:50 +08:00
afc163
70699fc711
chore: add duplicate-package-checker-webpack-plugin (#31662)
* chore: fix deps

* test: add duplicate-package-checker-webpack-plugin

* test: should be broken

* try webpack --bail

* bail when emit error

* revert rc-image
2021-08-05 15:30:03 +08:00
aoxiang78
0984bae2cc
fix: path error when packaging the component style export file in the windeos environment (#31277)
In the windeos environment:
"Lib/style/components.less" will generate the following path "@import "../xx\style\index.less";" This is wrong
Now use path.posix.join to be compatible with multi-platform packaging
2021-07-07 17:53:14 +08:00
偏右
d221458939
refactor: 📦 Generate version.js from package.json (#23957)
* 📦 generate version.js from package.json

* components/version/version.ts

* remove version.js

* fix scripts

* Add pretest and predist

* clean up finalizeCompile

* fix lint
2020-05-08 17:49:22 +08:00
偏右
612bcdf4a6
refactor: 📦 use webpack-plugin-esbuild (#23930)
* 📦 use webpack-plugin-esbuild

* rename esbuild-webpack-plugin

* fix npm run dist error

* fix npm run dist error

* code style improve

* remove extra finalizeDist

* Add process.env.ESBUILD
2020-05-08 15:48:21 +08:00
偏右
c27a3a40a7
chore: 📦 Optimize npm package size (#23698)
* improve custom theme import path

* reduce npm package size
2020-04-28 14:11:43 +08:00
zefeng
bff09f8fde
fix: fix ${theme}-theme.js file order (#23243)
* fix: fix ${theme}-theme.js file order

* chore: add generateThemeFileContent test

* chore: add test

* patch

* update docs

* update docs

* update docs
2020-04-15 11:37:29 +08:00
Rustin
13fda44fb1
refactor(skeleton): rewrite with hook (#23206)
* refactor(skeleton): rewrite with hook

* fix(skeleton): refine lint and compile issues

* fix(skeleton): refine compile issues

* chore: ignore eslint warning
2020-04-14 10:30:14 +08:00
zefeng
65293f62d6
feat: add getThemeVar file to support theme config and fix 4.1.2 them… (#23171)
* feat: add getThemeVar file to support theme config and fix 4.1.2 theme config breaking change

* patch
2020-04-13 00:05:48 +08:00
baozefeng
9c2473ab25 Revert "feat: add getThemeVar file to support theme config and fix 4.1.2 theme config breaking change"
This reverts commit 3d9b891a26.
2020-04-12 22:48:53 +08:00
baozefeng
3d9b891a26 feat: add getThemeVar file to support theme config and fix 4.1.2 theme config breaking change 2020-04-12 22:48:10 +08:00
zefeng
a100139e17
feat(theme): extract theme-js file for supprt mixin theme (#22934) 2020-04-05 20:38:56 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
ycjcl868
2aa9ab6791 chore: use dark-vars.js 2019-12-18 22:42:09 +08:00
ycjcl868
1ecf02b00a 📝 use dark-theme.js, antd.dark.less and css 2019-12-06 21:09:57 +08:00
ycjcl868
9b9de756ca fix: stripPrefix less vars false 2019-12-05 13:51:47 +08:00
ycjcl868
2aa32e4280 chore: stripPrefix false 2019-12-05 00:38:25 +08:00
ycjcl868
e1d850374a fix: rename antd-dark to dark 2019-12-04 23:13:59 +08:00
ycjcl868
e16b17b564 fix: dist build pipline 2019-12-03 22:07:17 +08:00
ycjcl868
53e663ab61 tweak: antd dark theme in as required usage 2019-12-03 16:47:12 +08:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
zombieJ
778c2b1dff
build: Update build process for publish (#15807)
* use .antd-tools.config.js

* update style

* add minssing files

* move compile content to compile script
2019-04-02 19:04:38 +08:00