Skip to content

Commit

Permalink
feat: support generate static css for SSR usage to generate raw css f…
Browse files Browse the repository at this point in the history
…ile for caching (#1)

* feat: initial commit

* feat: update doc

* feat: update doc

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: replace style tag
  • Loading branch information
kiner-tang authored Mar 8, 2023
1 parent 25cd5fc commit 8845dd4
Show file tree
Hide file tree
Showing 53 changed files with 162 additions and 5,471 deletions.
15 changes: 1 addition & 14 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
import { defineConfig } from 'dumi';
import path from 'path';

export default defineConfig({
alias: {
'rc-trigger$': path.resolve('src'),
'rc-trigger/es': path.resolve('src'),
},
mfsu: false,
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'Trigger',
name: 'Static-Style-Extract',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
styles: [
`
.dumi-default-previewer-demo {
position: relative;
min-height: 300px;
}
`,
]
});
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ es
coverage
yarn.lock
package-lock.json
pnpm-lock.yaml

# dumi
.umi
Expand Down
56 changes: 2 additions & 54 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,6 @@
# History
----

## 4.1.0 / 2020-05-08
## 0.0.1 / 2023-03-07

- upgrade rc-animate to `3.x`

## 2.5.0 / 2018-06-05

- support `alignPoint`

## 2.1.0 / 2017-10-16

- add action `contextMenu`

## 2.0.0 / 2017-09-25

- support React 16

## 1.11.0 / 2017-06-07

- add es

## 1.9.0 / 2017-02-27

- add getDocument prop

## 1.8.2 / 2017-02-24

- change default container to absolute to fix scrollbar change problem

## 1.7.0 / 2016-07-18

- use getContainerRenderMixin from 'rc-util'

## 1.6.0 / 2016-05-26

- support popup as function

## 1.5.0 / 2016-05-26

- add forcePopupAlign method

## 1.4.0 / 2016-04-06

- support onPopupAlign

## 1.3.0 / 2016-03-25

- support mask/maskTransitionName/zIndex

## 1.2.0 / 2016-03-01

- add showAction/hideAction

## 1.1.0 / 2016-01-06

- add root trigger node as parameter of getPopupContainer
- feat: initial commit
Loading

0 comments on commit 8845dd4

Please sign in to comment.