Skip to content

Commit 3e67ea5

Browse files
committed
Update react-popopo to 2.1.9
1 parent b71d1a0 commit 3e67ea5

5 files changed

Lines changed: 23 additions & 25 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"immutability-helper": "^2.8.1",
4747
"lodash": "^4.17.11",
4848
"prop-types": "^15.7.2",
49-
"react-popopo": "^2.1.8",
49+
"react-popopo": "^2.1.9",
5050
"react-redux": "^5.0.7",
5151
"redux": "^4.0.0",
5252
"redux-actions": "^2.6.1",

src/components/Lane/LaneHeader/LaneMenu.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
33

44
import { Popover } from 'react-popopo'
55

6-
import { CustomPopoverContent } from 'rt/styles/Base'
6+
import { CustomPopoverContent, CustomPopoverContainer } from 'rt/styles/Base'
77

88
import {
99
LaneMenuTitle,
@@ -15,8 +15,10 @@ import {
1515
MenuButton,
1616
} from 'rt/styles/Elements'
1717

18+
const TEST= PropTypes.elementType;
19+
1820
const LaneMenu = ({t, onDelete}) => (
19-
<Popover className="menu" position="bottom" PopoverContent={CustomPopoverContent} trigger={<MenuButton></MenuButton>}>
21+
<Popover position="bottom" PopoverContainer={CustomPopoverContainer} PopoverContent={CustomPopoverContent} trigger={<MenuButton></MenuButton>}>
2022
<LaneMenuHeader>
2123
<LaneMenuTitle>{t('Lane actions')}</LaneMenuTitle>
2224
<DeleteWrapper>

src/styles/Base.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,7 @@ export const CustomPopoverContent = styled(PopoverContent)`
6969
transition-delay: 100ms;
7070
`}
7171
&::before {
72-
content: "";
73-
position: absolute;
74-
background: transparent none repeat scroll 0 0;
75-
border: 6px solid transparent;
76-
transition: all 0.3s ease 0ms;
77-
left: 50%;
72+
visibility: hidden;
7873
}
7974
a {
8075
color: rgba(255, 255, 255, 0.56);

tests/__snapshots__/Storyshots.test.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18449,7 +18449,7 @@ exports[`Storyshots Custom Components NewLaneForm 1`] = `
1844918449
</span>
1845018450
</span>
1845118451
<div
18452-
className="sc-htpNat hcpZpN"
18452+
className="sc-bdVaJa gbsSJK"
1845318453
>
1845418454
<a
1845518455
className="sc-bdVaJa fePDys"
@@ -18463,7 +18463,7 @@ exports[`Storyshots Custom Components NewLaneForm 1`] = `
1846318463
</button>
1846418464
</a>
1846518465
<div
18466-
className="sc-bwzfXH iGBQDp"
18466+
className="sc-bwzfXH dWmjPV"
1846718467
>
1846818468
<div
1846918469
className="sc-kkGfuU etvWmM"
@@ -19206,7 +19206,7 @@ exports[`Storyshots Custom Components NewLaneSection 1`] = `
1920619206
</span>
1920719207
</span>
1920819208
<div
19209-
className="sc-htpNat hcpZpN"
19209+
className="sc-bdVaJa gbsSJK"
1921019210
>
1921119211
<a
1921219212
className="sc-bdVaJa fePDys"
@@ -19220,7 +19220,7 @@ exports[`Storyshots Custom Components NewLaneSection 1`] = `
1922019220
</button>
1922119221
</a>
1922219222
<div
19223-
className="sc-bwzfXH iGBQDp"
19223+
className="sc-bwzfXH dWmjPV"
1922419224
>
1922519225
<div
1922619226
className="sc-kkGfuU etvWmM"
@@ -27192,7 +27192,7 @@ exports[`Storyshots Editable Board Add New Lane 1`] = `
2719227192
</span>
2719327193
</span>
2719427194
<div
27195-
className="sc-htpNat hcpZpN"
27195+
className="sc-bdVaJa gbsSJK"
2719627196
>
2719727197
<a
2719827198
className="sc-bdVaJa fePDys"
@@ -27206,7 +27206,7 @@ exports[`Storyshots Editable Board Add New Lane 1`] = `
2720627206
</button>
2720727207
</a>
2720827208
<div
27209-
className="sc-bwzfXH iGBQDp"
27209+
className="sc-bwzfXH dWmjPV"
2721027210
>
2721127211
<div
2721227212
className="sc-kkGfuU etvWmM"
@@ -31349,7 +31349,7 @@ exports[`Storyshots Editable Board Inline Edit Lane Title 1`] = `
3134931349
</span>
3135031350
</span>
3135131351
<div
31352-
className="sc-htpNat hcpZpN"
31352+
className="sc-bdVaJa gbsSJK"
3135331353
>
3135431354
<a
3135531355
className="sc-bdVaJa fePDys"
@@ -31363,7 +31363,7 @@ exports[`Storyshots Editable Board Inline Edit Lane Title 1`] = `
3136331363
</button>
3136431364
</a>
3136531365
<div
31366-
className="sc-bwzfXH iGBQDp"
31366+
className="sc-bwzfXH dWmjPV"
3136731367
>
3136831368
<div
3136931369
className="sc-kkGfuU etvWmM"
@@ -32146,7 +32146,7 @@ exports[`Storyshots I18n Custom texts 1`] = `
3214632146
</span>
3214732147
</span>
3214832148
<div
32149-
className="sc-htpNat hcpZpN"
32149+
className="sc-bdVaJa gbsSJK"
3215032150
>
3215132151
<a
3215232152
className="sc-bdVaJa fePDys"
@@ -32160,7 +32160,7 @@ exports[`Storyshots I18n Custom texts 1`] = `
3216032160
</button>
3216132161
</a>
3216232162
<div
32163-
className="sc-bwzfXH iGBQDp"
32163+
className="sc-bwzfXH dWmjPV"
3216432164
>
3216532165
<div
3216632166
className="sc-kkGfuU etvWmM"
@@ -34522,7 +34522,7 @@ exports[`Storyshots I18n Using i18next 1`] = `
3452234522
</span>
3452334523
</span>
3452434524
<div
34525-
className="sc-htpNat hcpZpN"
34525+
className="sc-bdVaJa gbsSJK"
3452634526
>
3452734527
<a
3452834528
className="sc-bdVaJa fePDys"
@@ -34536,7 +34536,7 @@ exports[`Storyshots I18n Using i18next 1`] = `
3453634536
</button>
3453734537
</a>
3453834538
<div
34539-
className="sc-bwzfXH iGBQDp"
34539+
className="sc-bwzfXH dWmjPV"
3454034540
>
3454134541
<div
3454234542
className="sc-kkGfuU etvWmM"

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11811,12 +11811,13 @@ react-modal@^3.6.1:
1181111811
react-lifecycles-compat "^3.0.0"
1181211812
warning "^3.0.0"
1181311813

11814-
react-popopo@^2.1.8:
11815-
version "2.1.8"
11816-
resolved "https://registry.yarnpkg.com/react-popopo/-/react-popopo-2.1.8.tgz#eb9a78be8a3fa51a6b6b9fa3dece3cb252623a39"
11817-
integrity sha512-EU7vJosUWDqYNG2Iv1d0l5+SwCLAred79XFiGKrXollQFKy5bNdZkQ+96KCRxEPD7RC6LdCL9QCYaswwySuFHA==
11814+
react-popopo@^2.1.9:
11815+
version "2.1.9"
11816+
resolved "https://registry.yarnpkg.com/react-popopo/-/react-popopo-2.1.9.tgz#d93f70a8fb68227907d00c0cea4d8f5d321053ea"
11817+
integrity sha512-zXOpcLSpaLZmBxhdtenJzQPLjY81XknVS/tXH4Kv5BBrnYIUPHvVdGmS7+o9s7DjCzzdK7AdVwtG+FVSO0cZ8g==
1181811818
dependencies:
1181911819
classnames ">= 2.0"
11820+
prop-types "^15.7.2"
1182011821
react ">= 16.3"
1182111822
react-dom ">= 16.3"
1182211823
styled-components ">= 4.0"

0 commit comments

Comments
 (0)