Skip to content

chore: update dumi version #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .umirc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'dumi';

const name = 'react-image-shadow';
const shortName = 'ImageShadow';
const shortName = 'Image Shadow';

const url = 'https://avatars1.githubusercontent.com/u/75532006?s=200&v=4';

Expand All @@ -14,19 +14,17 @@ export default defineConfig({
base: `/${name}/`,
publicPath: `/${name}/`,
hash: true,
scripts: [
{
content: `
(function () {
var timer = setInterval(function() {
try {
var menuList = document.getElementsByClassName('__dumi-default-menu-list');
menuList[0].childNodes[0].childNodes[0].innerText = '🌈 ${shortName}';
clearInterval(timer);
} catch (e) {}
}, 200)
})();
styles: [
`
html {
scroll-behavior: smooth;
}
.markdown table {
width: auto !important;
}
.markdown table td:first-child {
font-weight: normal !important;
}
`,
},
],
});
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 🗓 Changelog

## 1.1.3

`2021-01-05`

- chore: update dumi version. [#17](https://github.com/image-component/react-image-shadow/pull/17)

## 1.1.2

`2020-12-16`

- fix: typings build. [#12](https://github.com/image-component/react-image-shadow/pull/12)

## 1.1.1

`2020-12-15`

- perf: optimize img css. [#10](https://github.com/image-component/react-image-shadow/pull/10)

## 1.1.0

`2020-12-15`

- feat: add img `alt`. [#9](https://github.com/image-component/react-image-shadow/pull/9)

## 1.0.3

`2020-12-10`

- docs: rename `image-tool` -> `image-component`. [#8](https://github.com/image-component/react-image-shadow/pull/8)

## 1.0.2

`2020-12-08`

- fix: shadow style error when set width. [#7](https://github.com/image-component/react-image-shadow/pull/7)

## 1.0.1

`2020-12-07`

- fix: sometimes the shadow does not show & update dumi version. [#6](https://github.com/image-component/react-image-shadow/pull/6)

## 1.0.0

`2020-12-04`

🎉 Init
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ yarn add react-image-shadow
import ImageShadow from 'react-image-shadow';
import 'react-image-shadow/assets/index.css';

const src =
'https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true';

export default () => (
<>
<ImageShadow src="https://github.com/image-component/react-image-shadow/blob/main/image/red.png?raw=true" />
<ImageShadow src={src} />
</>
);
```
Expand Down
46 changes: 4 additions & 42 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,5 @@
# 🗓 Changelog
---
title: 🗓 Changelog
---

## 1.1.2

`2020-12-16`

- fix: typings build. [#12](https://github.com/image-component/react-image-shadow/pull/12)

## 1.1.1

`2020-12-15`

- perf: optimize img css. [#10](https://github.com/image-component/react-image-shadow/pull/10)

## 1.1.0

`2020-12-15`

- feat: add img `alt`. [#9](https://github.com/image-component/react-image-shadow/pull/9)

## 1.0.3

`2020-12-10`

- docs: rename `image-tool` -> `image-component`. [#8](https://github.com/image-component/react-image-shadow/pull/8)

## 1.0.2

`2020-12-08`

- fix: shadow style error when set width. [#7](https://github.com/image-component/react-image-shadow/pull/7)

## 1.0.1

`2020-12-07`

- fix: sometimes the shadow does not show & update dumi version. [#6](https://github.com/image-component/react-image-shadow/pull/6)

## 1.0.0

`2020-12-04`

🎉 Init
<embed src="../CHANGELOG.md"></embed>
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: 🌈 Image Shadow
---

<embed src="../README.md"></embed>
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@
"image",
"shadow",
"components",
"component",
"react",
"ui"
],
"files": [
"assets/*.css",
"dist",
"README.md",
"docs/changelog.md"
"CHANGELOG.md"
],
"license": "MIT",
"bugs": {
Expand All @@ -69,7 +70,7 @@
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@umijs/fabric": "^2.2.2",
"dumi": "^1.1.0-rc.6",
"dumi": "^1.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.6.1",
Expand Down