@papillonarts/library 0.34.0 → 0.36.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,11 @@
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
+ ## function checkAccessibilityIssues()
10
+
11
+ <Canvas of={A11yStories.Features} />
@@ -0,0 +1,133 @@
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(101, 115, 126);"
21
+ >
22
+ // Papillon Arts Library
23
+ </span>
24
+ <span>
25
+
26
+
27
+ </span>
28
+ <span>
29
+
30
+ </span>
31
+ <span
32
+ style="color: rgb(180, 142, 173);"
33
+ >
34
+ export
35
+ </span>
36
+ <span>
37
+
38
+ </span>
39
+ <span
40
+ class="hljs-function"
41
+ style="color: rgb(180, 142, 173);"
42
+ >
43
+ function
44
+ </span>
45
+ <span
46
+ class="hljs-function"
47
+ >
48
+
49
+ </span>
50
+ <span
51
+ class="hljs-function"
52
+ style="color: rgb(143, 161, 179);"
53
+ >
54
+ checkAccessibilityIssues
55
+ </span>
56
+ <span
57
+ class="hljs-function"
58
+ >
59
+ (
60
+ </span>
61
+ <span
62
+ class="hljs-function"
63
+ style="color: rgb(208, 135, 112);"
64
+ >
65
+ react, reactDOM, delay
66
+ </span>
67
+ <span
68
+ class="hljs-function"
69
+ >
70
+ )
71
+ </span>
72
+ <span>
73
+ {
74
+
75
+ </span>
76
+ <span>
77
+
78
+ </span>
79
+ <span
80
+ style="color: rgb(180, 142, 173);"
81
+ >
82
+ if
83
+ </span>
84
+ <span>
85
+ (process.env.NODE_ENV !==
86
+ </span>
87
+ <span
88
+ style="color: rgb(163, 190, 140);"
89
+ >
90
+ 'production'
91
+ </span>
92
+ <span>
93
+ ) {
94
+
95
+ </span>
96
+ <span>
97
+
98
+ </span>
99
+ <span
100
+ style="color: rgb(180, 142, 173);"
101
+ >
102
+ const
103
+ </span>
104
+ <span>
105
+ axe =
106
+ </span>
107
+ <span
108
+ style="color: rgb(208, 135, 112);"
109
+ >
110
+ require
111
+ </span>
112
+ <span>
113
+ (
114
+ </span>
115
+ <span
116
+ style="color: rgb(163, 190, 140);"
117
+ >
118
+ '@axe-core/react'
119
+ </span>
120
+ <span>
121
+ )
122
+
123
+ </span>
124
+ axe(react, reactDOM, delay)
125
+
126
+ }
127
+
128
+ }
129
+
130
+ </code>
131
+ </pre>
132
+ </div>
133
+ `;
@@ -0,0 +1,9 @@
1
+ import { Canvas, Meta } from '@storybook/addon-docs/blocks'
2
+
3
+ import * as ArrayStories from './Array.story'
4
+
5
+ <Meta of={ArrayStories} />
6
+
7
+ # Array
8
+
9
+ <Canvas of={ArrayStories.Features} />