@wordpress/nux 9.48.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/README.md +2 -103
- package/build/components/dot-tip/index.cjs +3 -90
- package/build/components/dot-tip/index.cjs.map +3 -3
- package/build/store/actions.cjs.map +2 -2
- package/build/store/reducer.cjs +8 -38
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs +7 -32
- package/build/store/selectors.cjs.map +2 -2
- package/build-module/components/dot-tip/index.mjs +3 -90
- package/build-module/components/dot-tip/index.mjs.map +2 -2
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/reducer.mjs +8 -32
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs +7 -32
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-style/style-rtl.css +3 -185
- package/build-style/style.css +3 -189
- package/package.json +9 -11
- package/src/components/dot-tip/README.md +2 -34
- package/src/components/dot-tip/index.js +6 -94
- package/src/components/dot-tip/test/index.js +10 -67
- package/src/store/actions.js +10 -9
- package/src/store/reducer.js +13 -61
- package/src/store/selectors.js +11 -57
- package/src/store/test/reducer.js +20 -60
- package/src/store/test/selectors.js +6 -131
- package/src/style.scss +4 -1
- package/src/components/dot-tip/style.scss +0 -131
- package/src/components/dot-tip/test/__snapshots__/index.js.snap +0 -48
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`DotTip should render correctly 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
aria-label="Editor tips"
|
|
6
|
-
class="components-popover nux-dot-tip is-positioned"
|
|
7
|
-
data-wp-c16t="true"
|
|
8
|
-
data-wp-component="Popover"
|
|
9
|
-
role="dialog"
|
|
10
|
-
style="position: absolute; top: 0px; left: 0px; transform: none;"
|
|
11
|
-
tabindex="-1"
|
|
12
|
-
>
|
|
13
|
-
<div
|
|
14
|
-
class="components-popover__content"
|
|
15
|
-
style="max-height: 0px; overflow: auto;"
|
|
16
|
-
>
|
|
17
|
-
<p>
|
|
18
|
-
It looks like you’re writing a letter. Would you like help?
|
|
19
|
-
</p>
|
|
20
|
-
<p>
|
|
21
|
-
<button
|
|
22
|
-
class="components-button is-next-40px-default-size is-link"
|
|
23
|
-
type="button"
|
|
24
|
-
>
|
|
25
|
-
Got it
|
|
26
|
-
</button>
|
|
27
|
-
</p>
|
|
28
|
-
<button
|
|
29
|
-
aria-label="Disable tips"
|
|
30
|
-
class="components-button nux-dot-tip__disable is-small has-icon"
|
|
31
|
-
type="button"
|
|
32
|
-
>
|
|
33
|
-
<svg
|
|
34
|
-
aria-hidden="true"
|
|
35
|
-
focusable="false"
|
|
36
|
-
height="24"
|
|
37
|
-
viewBox="0 0 24 24"
|
|
38
|
-
width="24"
|
|
39
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
-
>
|
|
41
|
-
<path
|
|
42
|
-
d="m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"
|
|
43
|
-
/>
|
|
44
|
-
</svg>
|
|
45
|
-
</button>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
`;
|