@agility/plenum-ui 1.1.4 → 1.1.61
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/coverage/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +204 -0
- package/coverage/Forms/TextInputSelect/InputSelect/index.html +155 -0
- package/coverage/Select/Select.tsx.html +264 -0
- package/coverage/Select/index.html +153 -0
- package/coverage/Select.tsx.html +261 -0
- package/coverage/agility-component-lib-react/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Button/Button.tsx.html +343 -0
- package/coverage/agility-component-lib-react/src/components/Button/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +235 -0
- package/coverage/agility-component-lib-react/src/components/Checkbox/index.html +156 -0
- package/coverage/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +406 -0
- package/coverage/agility-component-lib-react/src/components/Forms/BaseField/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/Checkbox.tsx.html +283 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +139 -0
- package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/InputLabel.tsx.html +211 -0
- package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.html +131 -0
- package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.ts.html +94 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Radio/Radio.tsx.html +271 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Radio/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Select/Select.tsx.html +337 -0
- package/coverage/agility-component-lib-react/src/components/Forms/Select/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +271 -0
- package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +217 -0
- package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +116 -0
- package/coverage/agility-component-lib-react/src/components/Radio/Radio.tsx.html +243 -0
- package/coverage/agility-component-lib-react/src/components/Radio/index.html +156 -0
- package/coverage/agility-component-lib-react/src/components/Switch/Switch.tsx.html +214 -0
- package/coverage/agility-component-lib-react/src/components/Switch/index.html +116 -0
- package/coverage/agility-component-lib-react/src/util/DynamicIcons.tsx.html +151 -0
- package/coverage/agility-component-lib-react/src/util/Loader.tsx.html +139 -0
- package/coverage/agility-component-lib-react/src/util/index.html +131 -0
- package/coverage/agility-component-lib-react/styleMock.js.html +91 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +145 -0
- package/coverage/coverage-final.json +5 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +146 -0
- package/coverage/lcov-report/agility-component-lib-react/index.html +153 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Button/Button.tsx.html +255 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Button/index.html +156 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +235 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/index.html +156 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +330 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/index.html +158 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +147 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/index.html +158 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +258 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +159 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +210 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +159 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/Radio.tsx.html +243 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/index.html +156 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/Switch.tsx.html +225 -0
- package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/index.html +156 -0
- package/coverage/lcov-report/agility-component-lib-react/src/util/DynamicIcons.tsx.html +137 -0
- package/coverage/lcov-report/agility-component-lib-react/src/util/index.html +155 -0
- package/coverage/lcov-report/agility-component-lib-react/styleMock.js.html +90 -0
- package/coverage/lcov-report/base.css +354 -0
- package/coverage/lcov-report/block-navigation.js +82 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +385 -0
- package/coverage/lcov-report/prettify.css +101 -0
- package/coverage/lcov-report/prettify.js +955 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +189 -0
- package/coverage/lcov.info +267 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/lib/components/Avatar/Avatar.d.ts +27 -0
- package/lib/components/Avatar/Avatar.stories.d.ts +6 -0
- package/lib/components/Avatar/Avatar.test.d.ts +1 -0
- package/lib/components/Avatar/index.d.ts +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +19 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +12 -0
- package/lib/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/lib/components/Checkbox/index.d.ts +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +7 -0
- package/lib/components/DatePicker/DatePicker.stories.d.ts +6 -0
- package/lib/components/DatePicker/DatePicker.test.d.ts +1 -0
- package/lib/components/DatePicker/index.d.ts +1 -0
- package/lib/components/Dropdown/Dropdown.stories.d.ts +2 -0
- package/lib/components/Forms/Checkbox/Checkbox.d.ts +3 -1
- package/lib/components/Forms/Checkbox/Checkbox.stories.d.ts +1 -0
- package/lib/components/Forms/InputCta/InputCta.d.ts +16 -0
- package/lib/components/Forms/InputCta/InputCta.stories.d.ts +6 -0
- package/lib/components/Forms/InputCta/InputCta.test.d.ts +1 -0
- package/lib/components/Forms/InputCta/index.d.ts +1 -0
- package/lib/components/Forms/Radio/Radio.d.ts +4 -2
- package/lib/components/InputCounter/InputCounter.d.ts +16 -0
- package/lib/components/InputCounter/InputCounter.stories.d.ts +6 -0
- package/lib/components/InputCounter/InputCounter.test.d.ts +1 -0
- package/lib/components/InputCounter/index.d.ts +1 -0
- package/lib/components/Radio/Radio.d.ts +21 -0
- package/lib/components/Radio/Radio.stories.d.ts +12 -0
- package/lib/components/Radio/Radio.test.d.ts +1 -0
- package/lib/components/Radio/index.d.ts +1 -0
- package/lib/components/Select/Select.d.ts +25 -0
- package/lib/components/Select/Select.stories.d.ts +11 -0
- package/lib/components/Select/Select.test.d.ts +1 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/TextInput/TextInput.d.ts +46 -0
- package/lib/components/TextInput/TextInput.stories.d.ts +10 -0
- package/lib/components/TextInput/index.d.ts +1 -0
- package/lib/components/TextInputAddon/TextInputAddon.d.ts +51 -0
- package/lib/components/TextInputAddon/TextInputAddon.stories.d.ts +6 -0
- package/lib/components/TextInputAddon/index.d.ts +1 -0
- package/lib/components/TreeView/TreeItem/TreeItem.d.ts +11 -2
- package/lib/components/TreeView/TreeItem/TreeItem.stories.d.ts +4 -1
- package/lib/components/TreeView/context.d.ts +5 -8
- package/lib/components/TreeView/sampleData.d.ts +5 -5
- package/lib/components/TreeView/types/tree.types.d.ts +21 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.esm.js +68 -10
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +68 -9
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/yarn-error.log +12463 -0
package/coverage/lcov-report/agility-component-lib-react/src/components/Button/Button.tsx.html
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>
|
|
5
|
+
Code coverage report for agility-component-lib-react/src/components/Button/Button.tsx
|
|
6
|
+
</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type="text/css">
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class="wrapper">
|
|
21
|
+
<div class="pad1">
|
|
22
|
+
<h1>
|
|
23
|
+
<a href="../../../../index.html">All files</a> /
|
|
24
|
+
<a href="index.html">agility-component-lib-react/src/components/Button</a>
|
|
25
|
+
Button.tsx
|
|
26
|
+
</h1>
|
|
27
|
+
<div class="clearfix">
|
|
28
|
+
<div class="fl pad1y space-right2">
|
|
29
|
+
<span class="strong">100% </span>
|
|
30
|
+
<span class="quiet">Statements</span>
|
|
31
|
+
<span class="fraction">16/16</span>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="fl pad1y space-right2">
|
|
35
|
+
<span class="strong">66.66% </span>
|
|
36
|
+
<span class="quiet">Branches</span>
|
|
37
|
+
<span class="fraction">4/6</span>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div class="fl pad1y space-right2">
|
|
41
|
+
<span class="strong">100% </span>
|
|
42
|
+
<span class="quiet">Functions</span>
|
|
43
|
+
<span class="fraction">1/1</span>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div class="fl pad1y space-right2">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class="fraction">8/8</span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<p class="quiet">
|
|
53
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>,
|
|
54
|
+
<em>p</em> or <em>k</em> for the previous block.
|
|
55
|
+
</p>
|
|
56
|
+
<template id="filterTemplate">
|
|
57
|
+
<div class="quiet">
|
|
58
|
+
Filter:
|
|
59
|
+
<input oninput="onInput()" type="search" id="fileSearch" />
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="status-line high"></div>
|
|
64
|
+
<pre><table class="coverage">
|
|
65
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
66
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
67
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
68
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
69
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
70
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
71
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
72
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
73
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
74
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
75
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
76
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
77
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
78
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
79
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
80
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
81
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
82
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
83
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
84
|
+
<a name='L20'></a><a href='#L20'>20</a>
|
|
85
|
+
<a name='L21'></a><a href='#L21'>21</a>
|
|
86
|
+
<a name='L22'></a><a href='#L22'>22</a>
|
|
87
|
+
<a name='L23'></a><a href='#L23'>23</a>
|
|
88
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
|
89
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
|
90
|
+
<a name='L26'></a><a href='#L26'>26</a>
|
|
91
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
|
92
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
|
93
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
|
94
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
95
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
96
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
|
97
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
|
98
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
|
99
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
|
100
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
|
101
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
102
|
+
<a name='L38'></a><a href='#L38'>38</a>
|
|
103
|
+
<a name='L39'></a><a href='#L39'>39</a>
|
|
104
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
|
105
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
|
106
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
|
107
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
|
108
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
|
109
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
|
110
|
+
<a name='L46'></a><a href='#L46'>46</a>
|
|
111
|
+
<a name='L47'></a><a href='#L47'>47</a>
|
|
112
|
+
<a name='L48'></a><a href='#L48'>48</a>
|
|
113
|
+
<a name='L49'></a><a href='#L49'>49</a>
|
|
114
|
+
<a name='L50'></a><a href='#L50'>50</a>
|
|
115
|
+
<a name='L51'></a><a href='#L51'>51</a>
|
|
116
|
+
<a name='L52'></a><a href='#L52'>52</a>
|
|
117
|
+
<a name='L53'></a><a href='#L53'>53</a>
|
|
118
|
+
<a name='L54'></a><a href='#L54'>54</a>
|
|
119
|
+
<a name='L55'></a><a href='#L55'>55</a>
|
|
120
|
+
<a name='L56'></a><a href='#L56'>56</a>
|
|
121
|
+
<a name='L57'></a><a href='#L57'>57</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
122
|
+
<span class="cline-any cline-yes">1x</span>
|
|
123
|
+
<span class="cline-any cline-yes">1x</span>
|
|
124
|
+
<span class="cline-any cline-neutral"> </span>
|
|
125
|
+
<span class="cline-any cline-yes">1x</span>
|
|
126
|
+
<span class="cline-any cline-neutral"> </span>
|
|
127
|
+
<span class="cline-any cline-neutral"> </span>
|
|
128
|
+
<span class="cline-any cline-neutral"> </span>
|
|
129
|
+
<span class="cline-any cline-neutral"> </span>
|
|
130
|
+
<span class="cline-any cline-neutral"> </span>
|
|
131
|
+
<span class="cline-any cline-neutral"> </span>
|
|
132
|
+
<span class="cline-any cline-neutral"> </span>
|
|
133
|
+
<span class="cline-any cline-neutral"> </span>
|
|
134
|
+
<span class="cline-any cline-neutral"> </span>
|
|
135
|
+
<span class="cline-any cline-neutral"> </span>
|
|
136
|
+
<span class="cline-any cline-neutral"> </span>
|
|
137
|
+
<span class="cline-any cline-neutral"> </span>
|
|
138
|
+
<span class="cline-any cline-neutral"> </span>
|
|
139
|
+
<span class="cline-any cline-neutral"> </span>
|
|
140
|
+
<span class="cline-any cline-neutral"> </span>
|
|
141
|
+
<span class="cline-any cline-neutral"> </span>
|
|
142
|
+
<span class="cline-any cline-neutral"> </span>
|
|
143
|
+
<span class="cline-any cline-neutral"> </span>
|
|
144
|
+
<span class="cline-any cline-neutral"> </span>
|
|
145
|
+
<span class="cline-any cline-neutral"> </span>
|
|
146
|
+
<span class="cline-any cline-neutral"> </span>
|
|
147
|
+
<span class="cline-any cline-neutral"> </span>
|
|
148
|
+
<span class="cline-any cline-neutral"> </span>
|
|
149
|
+
<span class="cline-any cline-neutral"> </span>
|
|
150
|
+
<span class="cline-any cline-neutral"> </span>
|
|
151
|
+
<span class="cline-any cline-neutral"> </span>
|
|
152
|
+
<span class="cline-any cline-yes">16x</span>
|
|
153
|
+
<span class="cline-any cline-neutral"> </span>
|
|
154
|
+
<span class="cline-any cline-yes">16x</span>
|
|
155
|
+
<span class="cline-any cline-neutral"> </span>
|
|
156
|
+
<span class="cline-any cline-neutral"> </span>
|
|
157
|
+
<span class="cline-any cline-neutral"> </span>
|
|
158
|
+
<span class="cline-any cline-neutral"> </span>
|
|
159
|
+
<span class="cline-any cline-neutral"> </span>
|
|
160
|
+
<span class="cline-any cline-neutral"> </span>
|
|
161
|
+
<span class="cline-any cline-neutral"> </span>
|
|
162
|
+
<span class="cline-any cline-neutral"> </span>
|
|
163
|
+
<span class="cline-any cline-neutral"> </span>
|
|
164
|
+
<span class="cline-any cline-yes">16x</span>
|
|
165
|
+
<span class="cline-any cline-neutral"> </span>
|
|
166
|
+
<span class="cline-any cline-neutral"> </span>
|
|
167
|
+
<span class="cline-any cline-neutral"> </span>
|
|
168
|
+
<span class="cline-any cline-neutral"> </span>
|
|
169
|
+
<span class="cline-any cline-neutral"> </span>
|
|
170
|
+
<span class="cline-any cline-yes">16x</span>
|
|
171
|
+
<span class="cline-any cline-neutral"> </span>
|
|
172
|
+
<span class="cline-any cline-neutral"> </span>
|
|
173
|
+
<span class="cline-any cline-neutral"> </span>
|
|
174
|
+
<span class="cline-any cline-neutral"> </span>
|
|
175
|
+
<span class="cline-any cline-neutral"> </span>
|
|
176
|
+
<span class="cline-any cline-neutral"> </span>
|
|
177
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { FC } from 'react';
|
|
178
|
+
import { default as cn } from 'classnames';
|
|
179
|
+
import { DynamicIcons, IconName } from '../../util/DynamicIcons';
|
|
180
|
+
|
|
181
|
+
import '../../tailwind.css';
|
|
182
|
+
export interface ButtonProps {
|
|
183
|
+
/**
|
|
184
|
+
* Is this the principal call to action on the page?
|
|
185
|
+
*/
|
|
186
|
+
type?: 'primary' | 'secondary' | 'alternative';
|
|
187
|
+
/**
|
|
188
|
+
* How large should the button be?
|
|
189
|
+
*/
|
|
190
|
+
size?: 'sm' | 'base' | 'lg';
|
|
191
|
+
/**
|
|
192
|
+
* Button contents
|
|
193
|
+
*/
|
|
194
|
+
label: string;
|
|
195
|
+
/**
|
|
196
|
+
* An optional icon
|
|
197
|
+
*/
|
|
198
|
+
icon?: IconName;
|
|
199
|
+
/**
|
|
200
|
+
* Optional click handler
|
|
201
|
+
*/
|
|
202
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Primary UI component for user interaction
|
|
207
|
+
*/
|
|
208
|
+
export const Button: FC<ButtonProps> = ({ type = <span class="branch-0 cbranch-no" title="branch not covered" >'primary',</span> size = 'base', onClick, label, icon }: ButtonProps) => {
|
|
209
|
+
|
|
210
|
+
const btnStyles = cn(
|
|
211
|
+
'inline-flex space-x-2 items-center justify-center border transition-all shadow-sm rounded-md',
|
|
212
|
+
{'text-sm px-4 py-2': size === 'sm'},
|
|
213
|
+
{'text-base px-5 py-2': size === 'base'},
|
|
214
|
+
{'text-lg px-5 py-2': size === 'lg'},
|
|
215
|
+
{'text-white bg-purple-600 hover:bg-purple-700': type === 'primary'},
|
|
216
|
+
{'text-purple-700 bg-purple-100 hover:text-purple-700 hover:bg-purple-200': type === 'secondary'},
|
|
217
|
+
{'text-gray-700 bg-white hover:text-gray-700 hover:bg-gray-50 border-gray-300': type === 'alternative'}
|
|
218
|
+
);
|
|
219
|
+
|
|
220
|
+
const iconStyles = cn('h-5 w-5',
|
|
221
|
+
{'text-white': type === 'primary'},
|
|
222
|
+
{'text-purple-700': type === 'secondary'},
|
|
223
|
+
{'text-gray-700': type === 'alternative'}
|
|
224
|
+
)
|
|
225
|
+
|
|
226
|
+
return (
|
|
227
|
+
<button type="button" className={btnStyles} onClick={onClick}>
|
|
228
|
+
{icon && <span class="branch-1 cbranch-no" title="branch not covered" ><DynamicIcons icon={icon} className={iconStyles} outline={false} />}</span>
|
|
229
|
+
<span>{label}</span>
|
|
230
|
+
</button>
|
|
231
|
+
);
|
|
232
|
+
};
|
|
233
|
+
</pre></td></tr></table></pre>
|
|
234
|
+
|
|
235
|
+
<div class="push"></div>
|
|
236
|
+
<!-- for sticky footer -->
|
|
237
|
+
</div>
|
|
238
|
+
<!-- /wrapper -->
|
|
239
|
+
<div class="footer quiet pad2 space-top1 center small">
|
|
240
|
+
Code coverage generated by
|
|
241
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer"
|
|
242
|
+
>istanbul</a
|
|
243
|
+
>
|
|
244
|
+
at Wed Feb 23 2022 12:37:11 GMT-0500 (Eastern Standard Time)
|
|
245
|
+
</div>
|
|
246
|
+
<script src="../../../../prettify.js"></script>
|
|
247
|
+
<script>
|
|
248
|
+
window.onload = function () {
|
|
249
|
+
prettyPrint();
|
|
250
|
+
};
|
|
251
|
+
</script>
|
|
252
|
+
<script src="../../../../sorter.js"></script>
|
|
253
|
+
<script src="../../../../block-navigation.js"></script>
|
|
254
|
+
</body>
|
|
255
|
+
</html>
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Code coverage report for agility-component-lib-react/src/components/Button</title>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<link rel="stylesheet" href="../../../../prettify.css" />
|
|
7
|
+
<link rel="stylesheet" href="../../../../base.css" />
|
|
8
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
|
+
<style type="text/css">
|
|
11
|
+
.coverage-summary .sorter {
|
|
12
|
+
background-image: url(../../../../sort-arrow-sprite.png);
|
|
13
|
+
}
|
|
14
|
+
</style>
|
|
15
|
+
</head>
|
|
16
|
+
|
|
17
|
+
<body>
|
|
18
|
+
<div class="wrapper">
|
|
19
|
+
<div class="pad1">
|
|
20
|
+
<h1>
|
|
21
|
+
<a href="../../../../index.html">All files</a>
|
|
22
|
+
agility-component-lib-react/src/components/Button
|
|
23
|
+
</h1>
|
|
24
|
+
<div class="clearfix">
|
|
25
|
+
<div class="fl pad1y space-right2">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class="fraction">16/16</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="fl pad1y space-right2">
|
|
32
|
+
<span class="strong">66.66% </span>
|
|
33
|
+
<span class="quiet">Branches</span>
|
|
34
|
+
<span class="fraction">4/6</span>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="fl pad1y space-right2">
|
|
38
|
+
<span class="strong">100% </span>
|
|
39
|
+
<span class="quiet">Functions</span>
|
|
40
|
+
<span class="fraction">1/1</span>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div class="fl pad1y space-right2">
|
|
44
|
+
<span class="strong">100% </span>
|
|
45
|
+
<span class="quiet">Lines</span>
|
|
46
|
+
<span class="fraction">8/8</span>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<p class="quiet">
|
|
50
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>,
|
|
51
|
+
<em>p</em> or <em>k</em> for the previous block.
|
|
52
|
+
</p>
|
|
53
|
+
<template id="filterTemplate">
|
|
54
|
+
<div class="quiet">
|
|
55
|
+
Filter:
|
|
56
|
+
<input oninput="onInput()" type="search" id="fileSearch" />
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="status-line high"></div>
|
|
61
|
+
<div class="pad1">
|
|
62
|
+
<table class="coverage-summary">
|
|
63
|
+
<thead>
|
|
64
|
+
<tr>
|
|
65
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">
|
|
66
|
+
File
|
|
67
|
+
</th>
|
|
68
|
+
<th
|
|
69
|
+
data-col="pic"
|
|
70
|
+
data-type="number"
|
|
71
|
+
data-fmt="html"
|
|
72
|
+
data-html="true"
|
|
73
|
+
class="pic"
|
|
74
|
+
></th>
|
|
75
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">
|
|
76
|
+
Statements
|
|
77
|
+
</th>
|
|
78
|
+
<th
|
|
79
|
+
data-col="statements_raw"
|
|
80
|
+
data-type="number"
|
|
81
|
+
data-fmt="html"
|
|
82
|
+
class="abs"
|
|
83
|
+
></th>
|
|
84
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">
|
|
85
|
+
Branches
|
|
86
|
+
</th>
|
|
87
|
+
<th
|
|
88
|
+
data-col="branches_raw"
|
|
89
|
+
data-type="number"
|
|
90
|
+
data-fmt="html"
|
|
91
|
+
class="abs"
|
|
92
|
+
></th>
|
|
93
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">
|
|
94
|
+
Functions
|
|
95
|
+
</th>
|
|
96
|
+
<th
|
|
97
|
+
data-col="functions_raw"
|
|
98
|
+
data-type="number"
|
|
99
|
+
data-fmt="html"
|
|
100
|
+
class="abs"
|
|
101
|
+
></th>
|
|
102
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">
|
|
103
|
+
Lines
|
|
104
|
+
</th>
|
|
105
|
+
<th
|
|
106
|
+
data-col="lines_raw"
|
|
107
|
+
data-type="number"
|
|
108
|
+
data-fmt="html"
|
|
109
|
+
class="abs"
|
|
110
|
+
></th>
|
|
111
|
+
</tr>
|
|
112
|
+
</thead>
|
|
113
|
+
<tbody>
|
|
114
|
+
<tr>
|
|
115
|
+
<td class="file high" data-value="Button.tsx">
|
|
116
|
+
<a href="Button.tsx.html">Button.tsx</a>
|
|
117
|
+
</td>
|
|
118
|
+
<td data-value="100" class="pic high">
|
|
119
|
+
<div class="chart">
|
|
120
|
+
<div class="cover-fill cover-full" style="width: 100%"></div>
|
|
121
|
+
<div class="cover-empty" style="width: 0%"></div>
|
|
122
|
+
</div>
|
|
123
|
+
</td>
|
|
124
|
+
<td data-value="100" class="pct high">100%</td>
|
|
125
|
+
<td data-value="16" class="abs high">16/16</td>
|
|
126
|
+
<td data-value="66.66" class="pct medium">66.66%</td>
|
|
127
|
+
<td data-value="6" class="abs medium">4/6</td>
|
|
128
|
+
<td data-value="100" class="pct high">100%</td>
|
|
129
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
130
|
+
<td data-value="100" class="pct high">100%</td>
|
|
131
|
+
<td data-value="8" class="abs high">8/8</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</tbody>
|
|
134
|
+
</table>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="push"></div>
|
|
137
|
+
<!-- for sticky footer -->
|
|
138
|
+
</div>
|
|
139
|
+
<!-- /wrapper -->
|
|
140
|
+
<div class="footer quiet pad2 space-top1 center small">
|
|
141
|
+
Code coverage generated by
|
|
142
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer"
|
|
143
|
+
>istanbul</a
|
|
144
|
+
>
|
|
145
|
+
at Wed Feb 23 2022 12:37:11 GMT-0500 (Eastern Standard Time)
|
|
146
|
+
</div>
|
|
147
|
+
<script src="../../../../prettify.js"></script>
|
|
148
|
+
<script>
|
|
149
|
+
window.onload = function () {
|
|
150
|
+
prettyPrint();
|
|
151
|
+
};
|
|
152
|
+
</script>
|
|
153
|
+
<script src="../../../../sorter.js"></script>
|
|
154
|
+
<script src="../../../../block-navigation.js"></script>
|
|
155
|
+
</body>
|
|
156
|
+
</html>
|
package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>
|
|
5
|
+
Code coverage report for
|
|
6
|
+
agility-component-lib-react/src/components/Checkbox/Checkbox.tsx
|
|
7
|
+
</title>
|
|
8
|
+
<meta charset="utf-8" />
|
|
9
|
+
<link rel="stylesheet" href="../../../../prettify.css" />
|
|
10
|
+
<link rel="stylesheet" href="../../../../base.css" />
|
|
11
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.png" />
|
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
13
|
+
<style type="text/css">
|
|
14
|
+
.coverage-summary .sorter {
|
|
15
|
+
background-image: url(../../../../sort-arrow-sprite.png);
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
|
|
20
|
+
<body>
|
|
21
|
+
<div class="wrapper">
|
|
22
|
+
<div class="pad1">
|
|
23
|
+
<h1>
|
|
24
|
+
<a href="../../../../index.html">All files</a> /
|
|
25
|
+
<a href="index.html">agility-component-lib-react/src/components/Checkbox</a>
|
|
26
|
+
Checkbox.tsx
|
|
27
|
+
</h1>
|
|
28
|
+
<div class="clearfix">
|
|
29
|
+
<div class="fl pad1y space-right2">
|
|
30
|
+
<span class="strong">100% </span>
|
|
31
|
+
<span class="quiet">Statements</span>
|
|
32
|
+
<span class="fraction">14/14</span>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="fl pad1y space-right2">
|
|
36
|
+
<span class="strong">100% </span>
|
|
37
|
+
<span class="quiet">Branches</span>
|
|
38
|
+
<span class="fraction">4/4</span>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="fl pad1y space-right2">
|
|
42
|
+
<span class="strong">100% </span>
|
|
43
|
+
<span class="quiet">Functions</span>
|
|
44
|
+
<span class="fraction">1/1</span>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="fl pad1y space-right2">
|
|
48
|
+
<span class="strong">100% </span>
|
|
49
|
+
<span class="quiet">Lines</span>
|
|
50
|
+
<span class="fraction">6/6</span>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<p class="quiet">
|
|
54
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>,
|
|
55
|
+
<em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch" />
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="status-line high"></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a>
|
|
86
|
+
<a name='L21'></a><a href='#L21'>21</a>
|
|
87
|
+
<a name='L22'></a><a href='#L22'>22</a>
|
|
88
|
+
<a name='L23'></a><a href='#L23'>23</a>
|
|
89
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
|
90
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
|
91
|
+
<a name='L26'></a><a href='#L26'>26</a>
|
|
92
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
|
93
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
|
94
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
|
95
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
96
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
97
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
|
98
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
|
99
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
|
100
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
|
101
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
|
102
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
103
|
+
<a name='L38'></a><a href='#L38'>38</a>
|
|
104
|
+
<a name='L39'></a><a href='#L39'>39</a>
|
|
105
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
|
106
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
|
107
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
|
108
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
|
109
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
|
110
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
|
111
|
+
<a name='L46'></a><a href='#L46'>46</a>
|
|
112
|
+
<a name='L47'></a><a href='#L47'>47</a>
|
|
113
|
+
<a name='L48'></a><a href='#L48'>48</a>
|
|
114
|
+
<a name='L49'></a><a href='#L49'>49</a>
|
|
115
|
+
<a name='L50'></a><a href='#L50'>50</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
116
|
+
<span class="cline-any cline-yes">1x</span>
|
|
117
|
+
<span class="cline-any cline-neutral"> </span>
|
|
118
|
+
<span class="cline-any cline-neutral"> </span>
|
|
119
|
+
<span class="cline-any cline-neutral"> </span>
|
|
120
|
+
<span class="cline-any cline-neutral"> </span>
|
|
121
|
+
<span class="cline-any cline-neutral"> </span>
|
|
122
|
+
<span class="cline-any cline-neutral"> </span>
|
|
123
|
+
<span class="cline-any cline-neutral"> </span>
|
|
124
|
+
<span class="cline-any cline-neutral"> </span>
|
|
125
|
+
<span class="cline-any cline-neutral"> </span>
|
|
126
|
+
<span class="cline-any cline-neutral"> </span>
|
|
127
|
+
<span class="cline-any cline-neutral"> </span>
|
|
128
|
+
<span class="cline-any cline-neutral"> </span>
|
|
129
|
+
<span class="cline-any cline-neutral"> </span>
|
|
130
|
+
<span class="cline-any cline-neutral"> </span>
|
|
131
|
+
<span class="cline-any cline-neutral"> </span>
|
|
132
|
+
<span class="cline-any cline-neutral"> </span>
|
|
133
|
+
<span class="cline-any cline-neutral"> </span>
|
|
134
|
+
<span class="cline-any cline-neutral"> </span>
|
|
135
|
+
<span class="cline-any cline-neutral"> </span>
|
|
136
|
+
<span class="cline-any cline-yes">12x</span>
|
|
137
|
+
<span class="cline-any cline-yes">12x</span>
|
|
138
|
+
<span class="cline-any cline-neutral"> </span>
|
|
139
|
+
<span class="cline-any cline-neutral"> </span>
|
|
140
|
+
<span class="cline-any cline-neutral"> </span>
|
|
141
|
+
<span class="cline-any cline-yes">12x</span>
|
|
142
|
+
<span class="cline-any cline-neutral"> </span>
|
|
143
|
+
<span class="cline-any cline-neutral"> </span>
|
|
144
|
+
<span class="cline-any cline-neutral"> </span>
|
|
145
|
+
<span class="cline-any cline-yes">12x</span>
|
|
146
|
+
<span class="cline-any cline-neutral"> </span>
|
|
147
|
+
<span class="cline-any cline-neutral"> </span>
|
|
148
|
+
<span class="cline-any cline-neutral"> </span>
|
|
149
|
+
<span class="cline-any cline-neutral"> </span>
|
|
150
|
+
<span class="cline-any cline-neutral"> </span>
|
|
151
|
+
<span class="cline-any cline-neutral"> </span>
|
|
152
|
+
<span class="cline-any cline-neutral"> </span>
|
|
153
|
+
<span class="cline-any cline-neutral"> </span>
|
|
154
|
+
<span class="cline-any cline-neutral"> </span>
|
|
155
|
+
<span class="cline-any cline-neutral"> </span>
|
|
156
|
+
<span class="cline-any cline-neutral"> </span>
|
|
157
|
+
<span class="cline-any cline-neutral"> </span>
|
|
158
|
+
<span class="cline-any cline-neutral"> </span>
|
|
159
|
+
<span class="cline-any cline-neutral"> </span>
|
|
160
|
+
<span class="cline-any cline-neutral"> </span>
|
|
161
|
+
<span class="cline-any cline-neutral"> </span>
|
|
162
|
+
<span class="cline-any cline-neutral"> </span>
|
|
163
|
+
<span class="cline-any cline-neutral"> </span>
|
|
164
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { FC } from 'react';
|
|
165
|
+
import { default as cn } from 'classnames';
|
|
166
|
+
|
|
167
|
+
export interface CheckboxProps {
|
|
168
|
+
/** Checkbox label */
|
|
169
|
+
label: string;
|
|
170
|
+
/** Checkbox ID */
|
|
171
|
+
id: string;
|
|
172
|
+
/** Disabled state */
|
|
173
|
+
isDisabled?: boolean;
|
|
174
|
+
/** Check state */
|
|
175
|
+
isChecked?: boolean;
|
|
176
|
+
/** If field is required */
|
|
177
|
+
isRequired?: boolean;
|
|
178
|
+
/** Error state */
|
|
179
|
+
isError?: boolean;
|
|
180
|
+
/** Message or description */
|
|
181
|
+
message?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Comment */
|
|
185
|
+
export const Checkbox: FC<CheckboxProps> = ({ label, id, isDisabled, isChecked, isRequired, isError, message }: CheckboxProps) => {
|
|
186
|
+
const checboxStyles = cn(
|
|
187
|
+
'focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded',
|
|
188
|
+
{ 'border-red-500 shadow-none': isError }
|
|
189
|
+
);
|
|
190
|
+
const wrapperStyles = cn(
|
|
191
|
+
'relative flex items-start',
|
|
192
|
+
{ 'opacity-50': isDisabled }
|
|
193
|
+
)
|
|
194
|
+
return (
|
|
195
|
+
<div className={wrapperStyles}>
|
|
196
|
+
<div className="flex items-center h-5">
|
|
197
|
+
<input id={id} aria-describedby={`${id}-description`} name={id} type="checkbox" className={checboxStyles} disabled={isDisabled} defaultChecked={isChecked} />
|
|
198
|
+
</div>
|
|
199
|
+
<div className="ml-3 text-sm">
|
|
200
|
+
<label htmlFor={id} className="font-medium text-gray-700">
|
|
201
|
+
{label}
|
|
202
|
+
{isRequired && <span className="text-red-500"> *</span>}
|
|
203
|
+
</label>
|
|
204
|
+
{message && (
|
|
205
|
+
<p id={`${id}-description`} className="text-gray-500">
|
|
206
|
+
{message}
|
|
207
|
+
</p>
|
|
208
|
+
)}
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
);
|
|
212
|
+
};
|
|
213
|
+
</pre></td></tr></table></pre>
|
|
214
|
+
|
|
215
|
+
<div class="push"></div>
|
|
216
|
+
<!-- for sticky footer -->
|
|
217
|
+
</div>
|
|
218
|
+
<!-- /wrapper -->
|
|
219
|
+
<div class="footer quiet pad2 space-top1 center small">
|
|
220
|
+
Code coverage generated by
|
|
221
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer"
|
|
222
|
+
>istanbul</a
|
|
223
|
+
>
|
|
224
|
+
at Wed Feb 23 2022 12:37:11 GMT-0500 (Eastern Standard Time)
|
|
225
|
+
</div>
|
|
226
|
+
<script src="../../../../prettify.js"></script>
|
|
227
|
+
<script>
|
|
228
|
+
window.onload = function () {
|
|
229
|
+
prettyPrint();
|
|
230
|
+
};
|
|
231
|
+
</script>
|
|
232
|
+
<script src="../../../../sorter.js"></script>
|
|
233
|
+
<script src="../../../../block-navigation.js"></script>
|
|
234
|
+
</body>
|
|
235
|
+
</html>
|