@papillonarts/library 0.35.0 → 0.37.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.
@@ -0,0 +1,9 @@
1
+ import { Canvas, Meta } from '@storybook/addon-docs/blocks'
2
+
3
+ import * as A11yStories from './A11y.story'
4
+
5
+ <Meta of={A11yStories} />
6
+
7
+ # A11y
8
+
9
+ <Canvas of={A11yStories.Features} />
@@ -0,0 +1,145 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Array /> Render must match checkAccessibilityIssues() 1`] = `
4
+ <div>
5
+ <pre
6
+ style="display: block; overflow-x: auto; background: rgb(43, 48, 59); color: rgb(192, 197, 206); padding: 0.5em;"
7
+ >
8
+ <code
9
+ class="language-typescript"
10
+ style="white-space: pre;"
11
+ >
12
+ <span>
13
+
14
+
15
+ </span>
16
+ <span>
17
+
18
+ </span>
19
+ <span
20
+ style="color: rgb(180, 142, 173);"
21
+ >
22
+ export
23
+ </span>
24
+ <span>
25
+
26
+ </span>
27
+ <span
28
+ class="hljs-function"
29
+ style="color: rgb(180, 142, 173);"
30
+ >
31
+ function
32
+ </span>
33
+ <span
34
+ class="hljs-function"
35
+ >
36
+
37
+ </span>
38
+ <span
39
+ class="hljs-function"
40
+ style="color: rgb(143, 161, 179);"
41
+ >
42
+ checkAccessibilityIssues
43
+ </span>
44
+ <span
45
+ class="hljs-function"
46
+ >
47
+ (
48
+ </span>
49
+ <span
50
+ class="hljs-function"
51
+ style="color: rgb(208, 135, 112);"
52
+ >
53
+ react, reactDOM, delay
54
+ </span>
55
+ <span
56
+ class="hljs-function"
57
+ >
58
+ )
59
+ </span>
60
+ <span>
61
+ {
62
+
63
+ </span>
64
+ <span>
65
+
66
+ </span>
67
+ <span
68
+ style="color: rgb(180, 142, 173);"
69
+ >
70
+ if
71
+ </span>
72
+ <span>
73
+ (process.env.NODE_ENV !==
74
+ </span>
75
+ <span
76
+ style="color: rgb(163, 190, 140);"
77
+ >
78
+ 'production'
79
+ </span>
80
+ <span>
81
+ ) {
82
+
83
+ </span>
84
+ <span>
85
+
86
+ </span>
87
+ <span
88
+ style="color: rgb(180, 142, 173);"
89
+ >
90
+ const
91
+ </span>
92
+ <span>
93
+ axe =
94
+ </span>
95
+ <span
96
+ style="color: rgb(208, 135, 112);"
97
+ >
98
+ require
99
+ </span>
100
+ <span>
101
+ (
102
+ </span>
103
+ <span
104
+ style="color: rgb(163, 190, 140);"
105
+ >
106
+ '@axe-core/react'
107
+ </span>
108
+ <span>
109
+ )
110
+
111
+ </span>
112
+ axe(react, reactDOM, delay)
113
+
114
+ }
115
+
116
+ }
117
+
118
+ </code>
119
+ </pre>
120
+ </div>
121
+ `;
122
+
123
+ exports[`<Array /> Render must match features() 1`] = `
124
+ <div>
125
+ &lt;h1&gt;A11y&lt;/h1&gt;
126
+ &lt;blockquote&gt;
127
+ &lt;p&gt;A11y all functions&lt;/p&gt;
128
+ &lt;/blockquote&gt;
129
+ &lt;pre&gt;&lt;code&gt;# Functions
130
+
131
+
132
+ <p>
133
+ &gt; checkAccessibilityIssues()
134
+
135
+ &lt;/code&gt;
136
+ &lt;/pre&gt;
137
+ </p>
138
+
139
+
140
+ &lt;h2&gt;checkAccessibilityIssues()&lt;/h2&gt;
141
+ &lt;blockquote&gt;
142
+ &lt;p&gt;A11y checkAccessibilityIssues() function&lt;/p&gt;
143
+ &lt;/blockquote&gt;
144
+ </div>
145
+ `;
@@ -6,6 +6,4 @@ import * as ArrayStories from './Array.story'
6
6
 
7
7
  # Array
8
8
 
9
- ## function getCurrentIndex()
10
-
11
- <Canvas of={ArrayStories.GetCurrentIndex} />
9
+ <Canvas of={ArrayStories.Features} />