Skip to content

Commit

Permalink
chore: use grandpa-build and rebuid
Browse files Browse the repository at this point in the history
  • Loading branch information
leonwgc committed Apr 25, 2024
1 parent 975765d commit 52a70ba
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 75 deletions.
4 changes: 2 additions & 2 deletions demo/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useRef, useState, useReducer } from 'react';
import { Popover, Tooltip } from '../src';
// import Popover from '../dist/index.esm';
// import { Popover, Tooltip } from '../src';
import { Popover, Tooltip } from '../dist/index.esm';
import DemoBlock from './DemoBlock';

const placements = [
Expand Down
2 changes: 1 addition & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/index.09e64e.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/index.99107c.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><script defer="defer" src="runtime.c64b88.js"></script><script defer="defer" src="vendor.c71c33.js"></script><script defer="defer" src="index.99107c.js"></script><link href="index.a946b0.css" rel="stylesheet"><link rel="shortcut icon"/><title>w-popover demo</title><script defer="defer" src="runtime.c64b88.js"></script><script defer="defer" src="vendor.c71c33.js"></script><script defer="defer" src="index.99107c.js"></script><link href="index.a946b0.css" rel="stylesheet"></head><body><div id="root"><div data-reactroot=""><div class="demo-block"><div class="demo-block__title">Popover</div><div class="demo-block__content" style="padding:40px;background:#fff"><button class="w-button" style="height:60px;width:120px">Try to click me</button></div></div><div class="demo-block"><div class="demo-block__title">Tooltip</div><div class="demo-block__content" style="padding:12px;background:#fff"><div style="display:flex;gap:8px"><button class="w-button">Tooltip at top</button><button class="w-button">Tooltip at bottom</button><button class="w-button">Tooltip at right</button></div></div></div><div class="demo-block"><div class="demo-block__title">Scroll (the green block is scrollable)</div><div class="demo-block__content" style="padding:12px;background:#fff"><div style="height:200px;width:100%;border:1px solid #ccc;text-align:center;overflow-y:scroll;position:relative"><div style="height:120vh;background:#ccc"><button class="w-button">hi, there~</button><button class="w-button" style="position:absolute;left:50px;top:50px">hi, here~</button><button class="w-button" style="position:fixed;bottom:100px;left:150px">hi, there~</button></div></div></div></div><div style="height:110vh"></div></div></div></body></html>
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-touch-fullscreen" content="yes"><script defer="defer" src="runtime.c64b88.js"></script><script defer="defer" src="vendor.142324.js"></script><script defer="defer" src="index.09e64e.js"></script><link href="index.a946b0.css" rel="stylesheet"><link rel="shortcut icon"/><title>w-popover demo</title><script defer="defer" src="runtime.c64b88.js"></script><script defer="defer" src="vendor.142324.js"></script><script defer="defer" src="index.09e64e.js"></script><link href="index.a946b0.css" rel="stylesheet"></head><body><div id="root"><div data-reactroot=""><div class="demo-block"><div class="demo-block__title">Popover</div><div class="demo-block__content" style="padding:40px;background:#fff"><button class="w-button" style="height:60px;width:120px">Try to click me</button></div></div><div class="demo-block"><div class="demo-block__title">Tooltip</div><div class="demo-block__content" style="padding:12px;background:#fff"><div style="display:flex;gap:8px"><button class="w-button">Tooltip at top</button><button class="w-button">Tooltip at bottom</button><button class="w-button">Tooltip at right</button></div></div></div><div class="demo-block"><div class="demo-block__title">Scroll (the green block is scrollable)</div><div class="demo-block__content" style="padding:12px;background:#fff"><div style="height:200px;width:100%;border:1px solid #ccc;text-align:center;overflow-y:scroll;position:relative"><div style="height:120vh;background:#ccc"><button class="w-button">hi, there~</button><button class="w-button" style="position:absolute;left:50px;top:50px">hi, here~</button><button class="w-button" style="position:fixed;bottom:100px;left:150px">hi, there~</button></div></div></div></div><div style="height:110vh"></div></div></div></body></html>
4 changes: 2 additions & 2 deletions docs/vendor.c71c33.js → docs/vendor.142324.js

Large diffs are not rendered by default.

File renamed without changes.
Loading

0 comments on commit 52a70ba

Please sign in to comment.