@agility/plenum-ui 1.1.4 → 1.1.7

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.
Files changed (126) hide show
  1. package/coverage/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +204 -0
  2. package/coverage/Forms/TextInputSelect/InputSelect/index.html +155 -0
  3. package/coverage/Select/Select.tsx.html +264 -0
  4. package/coverage/Select/index.html +153 -0
  5. package/coverage/Select.tsx.html +261 -0
  6. package/coverage/agility-component-lib-react/index.html +116 -0
  7. package/coverage/agility-component-lib-react/src/components/Button/Button.tsx.html +349 -0
  8. package/coverage/agility-component-lib-react/src/components/Button/index.html +116 -0
  9. package/coverage/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +235 -0
  10. package/coverage/agility-component-lib-react/src/components/Checkbox/index.html +156 -0
  11. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +418 -0
  12. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/index.html +116 -0
  13. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/Checkbox.tsx.html +334 -0
  14. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/index.html +116 -0
  15. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +139 -0
  16. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/index.html +116 -0
  17. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/InputLabel.tsx.html +211 -0
  18. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.html +131 -0
  19. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.ts.html +94 -0
  20. package/coverage/agility-component-lib-react/src/components/Forms/Radio/Radio.tsx.html +349 -0
  21. package/coverage/agility-component-lib-react/src/components/Forms/Radio/index.html +116 -0
  22. package/coverage/agility-component-lib-react/src/components/Forms/Select/Select.tsx.html +337 -0
  23. package/coverage/agility-component-lib-react/src/components/Forms/Select/index.html +116 -0
  24. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +271 -0
  25. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +116 -0
  26. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +217 -0
  27. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +116 -0
  28. package/coverage/agility-component-lib-react/src/components/Radio/Radio.tsx.html +243 -0
  29. package/coverage/agility-component-lib-react/src/components/Radio/index.html +156 -0
  30. package/coverage/agility-component-lib-react/src/components/Switch/Switch.tsx.html +241 -0
  31. package/coverage/agility-component-lib-react/src/components/Switch/index.html +116 -0
  32. package/coverage/agility-component-lib-react/src/util/DynamicIcons.tsx.html +151 -0
  33. package/coverage/agility-component-lib-react/src/util/Loader.tsx.html +139 -0
  34. package/coverage/agility-component-lib-react/src/util/index.html +131 -0
  35. package/coverage/agility-component-lib-react/styleMock.js.html +91 -0
  36. package/coverage/base.css +224 -0
  37. package/coverage/block-navigation.js +87 -0
  38. package/coverage/clover.xml +145 -0
  39. package/coverage/coverage-final.json +15 -0
  40. package/coverage/favicon.png +0 -0
  41. package/coverage/index.html +281 -0
  42. package/coverage/lcov-report/agility-component-lib-react/index.html +153 -0
  43. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/Button.tsx.html +255 -0
  44. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/index.html +156 -0
  45. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +235 -0
  46. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/index.html +156 -0
  47. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +330 -0
  48. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/index.html +158 -0
  49. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +147 -0
  50. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/index.html +158 -0
  51. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +258 -0
  52. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +159 -0
  53. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +210 -0
  54. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +159 -0
  55. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/Radio.tsx.html +243 -0
  56. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/index.html +156 -0
  57. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/Switch.tsx.html +225 -0
  58. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/index.html +156 -0
  59. package/coverage/lcov-report/agility-component-lib-react/src/util/DynamicIcons.tsx.html +137 -0
  60. package/coverage/lcov-report/agility-component-lib-react/src/util/index.html +155 -0
  61. package/coverage/lcov-report/agility-component-lib-react/styleMock.js.html +90 -0
  62. package/coverage/lcov-report/base.css +354 -0
  63. package/coverage/lcov-report/block-navigation.js +82 -0
  64. package/coverage/lcov-report/favicon.png +0 -0
  65. package/coverage/lcov-report/index.html +385 -0
  66. package/coverage/lcov-report/prettify.css +101 -0
  67. package/coverage/lcov-report/prettify.js +955 -0
  68. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  69. package/coverage/lcov-report/sorter.js +189 -0
  70. package/coverage/lcov.info +267 -0
  71. package/coverage/prettify.css +1 -0
  72. package/coverage/prettify.js +2 -0
  73. package/coverage/sort-arrow-sprite.png +0 -0
  74. package/coverage/sorter.js +196 -0
  75. package/lib/components/Avatar/Avatar.d.ts +27 -0
  76. package/lib/components/Avatar/Avatar.stories.d.ts +6 -0
  77. package/lib/components/Avatar/Avatar.test.d.ts +1 -0
  78. package/lib/components/Avatar/index.d.ts +1 -0
  79. package/lib/components/Checkbox/Checkbox.d.ts +19 -0
  80. package/lib/components/Checkbox/Checkbox.stories.d.ts +12 -0
  81. package/lib/components/Checkbox/Checkbox.test.d.ts +1 -0
  82. package/lib/components/Checkbox/index.d.ts +1 -0
  83. package/lib/components/DatePicker/DatePicker.d.ts +7 -0
  84. package/lib/components/DatePicker/DatePicker.stories.d.ts +6 -0
  85. package/lib/components/DatePicker/DatePicker.test.d.ts +1 -0
  86. package/lib/components/DatePicker/index.d.ts +1 -0
  87. package/lib/components/Dropdown/Dropdown.stories.d.ts +2 -0
  88. package/lib/components/Forms/Checkbox/Checkbox.d.ts +3 -1
  89. package/lib/components/Forms/Checkbox/Checkbox.stories.d.ts +1 -0
  90. package/lib/components/Forms/InputCta/InputCta.d.ts +16 -0
  91. package/lib/components/Forms/InputCta/InputCta.stories.d.ts +6 -0
  92. package/lib/components/Forms/InputCta/InputCta.test.d.ts +1 -0
  93. package/lib/components/Forms/InputCta/index.d.ts +1 -0
  94. package/lib/components/Forms/Radio/Radio.d.ts +4 -2
  95. package/lib/components/Forms/TextInput/TextInput.d.ts +3 -3
  96. package/lib/components/Forms/TextInputAddon/TextInputAddon.d.ts +3 -2
  97. package/lib/components/InputCounter/InputCounter.d.ts +16 -0
  98. package/lib/components/InputCounter/InputCounter.stories.d.ts +6 -0
  99. package/lib/components/InputCounter/InputCounter.test.d.ts +1 -0
  100. package/lib/components/InputCounter/index.d.ts +1 -0
  101. package/lib/components/Radio/Radio.d.ts +21 -0
  102. package/lib/components/Radio/Radio.stories.d.ts +12 -0
  103. package/lib/components/Radio/Radio.test.d.ts +1 -0
  104. package/lib/components/Radio/index.d.ts +1 -0
  105. package/lib/components/Select/Select.d.ts +25 -0
  106. package/lib/components/Select/Select.stories.d.ts +11 -0
  107. package/lib/components/Select/Select.test.d.ts +1 -0
  108. package/lib/components/Select/index.d.ts +1 -0
  109. package/lib/components/TextInput/TextInput.d.ts +46 -0
  110. package/lib/components/TextInput/TextInput.stories.d.ts +10 -0
  111. package/lib/components/TextInput/index.d.ts +1 -0
  112. package/lib/components/TextInputAddon/TextInputAddon.d.ts +51 -0
  113. package/lib/components/TextInputAddon/TextInputAddon.stories.d.ts +6 -0
  114. package/lib/components/TextInputAddon/index.d.ts +1 -0
  115. package/lib/components/TreeView/TreeItem/TreeItem.d.ts +11 -2
  116. package/lib/components/TreeView/TreeItem/TreeItem.stories.d.ts +4 -1
  117. package/lib/components/TreeView/context.d.ts +5 -8
  118. package/lib/components/TreeView/sampleData.d.ts +5 -5
  119. package/lib/components/TreeView/types/tree.types.d.ts +21 -0
  120. package/lib/index.d.ts +1 -0
  121. package/lib/index.esm.js +78 -18
  122. package/lib/index.esm.js.map +1 -1
  123. package/lib/index.js +80 -19
  124. package/lib/index.js.map +1 -1
  125. package/package.json +1 -1
  126. package/yarn-error.log +12463 -0
@@ -0,0 +1,354 @@
1
+ body,
2
+ html {
3
+ margin: 0;
4
+ padding: 0;
5
+ height: 100%;
6
+ }
7
+ body {
8
+ font-family: Helvetica Neue, Helvetica, Arial;
9
+ font-size: 14px;
10
+ color: #333;
11
+ }
12
+ .small {
13
+ font-size: 12px;
14
+ }
15
+ *,
16
+ *:after,
17
+ *:before {
18
+ -webkit-box-sizing: border-box;
19
+ -moz-box-sizing: border-box;
20
+ box-sizing: border-box;
21
+ }
22
+ h1 {
23
+ font-size: 20px;
24
+ margin: 0;
25
+ }
26
+ h2 {
27
+ font-size: 14px;
28
+ }
29
+ pre {
30
+ font: 12px/1.4 Consolas, 'Liberation Mono', Menlo, Courier, monospace;
31
+ margin: 0;
32
+ padding: 0;
33
+ -moz-tab-size: 2;
34
+ -o-tab-size: 2;
35
+ tab-size: 2;
36
+ }
37
+ a {
38
+ color: #0074d9;
39
+ text-decoration: none;
40
+ }
41
+ a:hover {
42
+ text-decoration: underline;
43
+ }
44
+ .strong {
45
+ font-weight: bold;
46
+ }
47
+ .space-top1 {
48
+ padding: 10px 0 0 0;
49
+ }
50
+ .pad2y {
51
+ padding: 20px 0;
52
+ }
53
+ .pad1y {
54
+ padding: 10px 0;
55
+ }
56
+ .pad2x {
57
+ padding: 0 20px;
58
+ }
59
+ .pad2 {
60
+ padding: 20px;
61
+ }
62
+ .pad1 {
63
+ padding: 10px;
64
+ }
65
+ .space-left2 {
66
+ padding-left: 55px;
67
+ }
68
+ .space-right2 {
69
+ padding-right: 20px;
70
+ }
71
+ .center {
72
+ text-align: center;
73
+ }
74
+ .clearfix {
75
+ display: block;
76
+ }
77
+ .clearfix:after {
78
+ content: '';
79
+ display: block;
80
+ height: 0;
81
+ clear: both;
82
+ visibility: hidden;
83
+ }
84
+ .fl {
85
+ float: left;
86
+ }
87
+ @media only screen and (max-width: 640px) {
88
+ .col3 {
89
+ width: 100%;
90
+ max-width: 100%;
91
+ }
92
+ .hide-mobile {
93
+ display: none !important;
94
+ }
95
+ }
96
+
97
+ .quiet {
98
+ color: #7f7f7f;
99
+ color: rgba(0, 0, 0, 0.5);
100
+ }
101
+ .quiet a {
102
+ opacity: 0.7;
103
+ }
104
+
105
+ .fraction {
106
+ font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
107
+ font-size: 10px;
108
+ color: #555;
109
+ background: #e8e8e8;
110
+ padding: 4px 5px;
111
+ border-radius: 3px;
112
+ vertical-align: middle;
113
+ }
114
+
115
+ div.path a:link,
116
+ div.path a:visited {
117
+ color: #333;
118
+ }
119
+ table.coverage {
120
+ border-collapse: collapse;
121
+ margin: 10px 0 0 0;
122
+ padding: 0;
123
+ }
124
+
125
+ table.coverage td {
126
+ margin: 0;
127
+ padding: 0;
128
+ vertical-align: top;
129
+ }
130
+ table.coverage td.line-count {
131
+ text-align: right;
132
+ padding: 0 5px 0 20px;
133
+ }
134
+ table.coverage td.line-coverage {
135
+ text-align: right;
136
+ padding-right: 10px;
137
+ min-width: 20px;
138
+ }
139
+
140
+ table.coverage td span.cline-any {
141
+ display: inline-block;
142
+ padding: 0 5px;
143
+ width: 100%;
144
+ }
145
+ .missing-if-branch {
146
+ display: inline-block;
147
+ margin-right: 5px;
148
+ border-radius: 3px;
149
+ position: relative;
150
+ padding: 0 4px;
151
+ background: #333;
152
+ color: yellow;
153
+ }
154
+
155
+ .skip-if-branch {
156
+ display: none;
157
+ margin-right: 10px;
158
+ position: relative;
159
+ padding: 0 4px;
160
+ background: #ccc;
161
+ color: white;
162
+ }
163
+ .missing-if-branch .typ,
164
+ .skip-if-branch .typ {
165
+ color: inherit !important;
166
+ }
167
+ .coverage-summary {
168
+ border-collapse: collapse;
169
+ width: 100%;
170
+ }
171
+ .coverage-summary tr {
172
+ border-bottom: 1px solid #bbb;
173
+ }
174
+ .keyline-all {
175
+ border: 1px solid #ddd;
176
+ }
177
+ .coverage-summary td,
178
+ .coverage-summary th {
179
+ padding: 10px;
180
+ }
181
+ .coverage-summary tbody {
182
+ border: 1px solid #bbb;
183
+ }
184
+ .coverage-summary td {
185
+ border-right: 1px solid #bbb;
186
+ }
187
+ .coverage-summary td:last-child {
188
+ border-right: none;
189
+ }
190
+ .coverage-summary th {
191
+ text-align: left;
192
+ font-weight: normal;
193
+ white-space: nowrap;
194
+ }
195
+ .coverage-summary th.file {
196
+ border-right: none !important;
197
+ }
198
+ .coverage-summary th.pct {
199
+ }
200
+ .coverage-summary th.pic,
201
+ .coverage-summary th.abs,
202
+ .coverage-summary td.pct,
203
+ .coverage-summary td.abs {
204
+ text-align: right;
205
+ }
206
+ .coverage-summary td.file {
207
+ white-space: nowrap;
208
+ }
209
+ .coverage-summary td.pic {
210
+ min-width: 120px !important;
211
+ }
212
+ .coverage-summary tfoot td {
213
+ }
214
+
215
+ .coverage-summary .sorter {
216
+ height: 10px;
217
+ width: 7px;
218
+ display: inline-block;
219
+ margin-left: 0.5em;
220
+ background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
221
+ }
222
+ .coverage-summary .sorted .sorter {
223
+ background-position: 0 -20px;
224
+ }
225
+ .coverage-summary .sorted-desc .sorter {
226
+ background-position: 0 -10px;
227
+ }
228
+ .status-line {
229
+ height: 10px;
230
+ }
231
+ /* yellow */
232
+ .cbranch-no {
233
+ background: yellow !important;
234
+ color: #111;
235
+ }
236
+ /* dark red */
237
+ .red.solid,
238
+ .status-line.low,
239
+ .low .cover-fill {
240
+ background: #c21f39;
241
+ }
242
+ .low .chart {
243
+ border: 1px solid #c21f39;
244
+ }
245
+ .highlighted,
246
+ .highlighted .cstat-no,
247
+ .highlighted .fstat-no,
248
+ .highlighted .cbranch-no {
249
+ background: #c21f39 !important;
250
+ }
251
+ /* medium red */
252
+ .cstat-no,
253
+ .fstat-no,
254
+ .cbranch-no,
255
+ .cbranch-no {
256
+ background: #f6c6ce;
257
+ }
258
+ /* light red */
259
+ .low,
260
+ .cline-no {
261
+ background: #fce1e5;
262
+ }
263
+ /* light green */
264
+ .high,
265
+ .cline-yes {
266
+ background: rgb(230, 245, 208);
267
+ }
268
+ /* medium green */
269
+ .cstat-yes {
270
+ background: rgb(161, 215, 106);
271
+ }
272
+ /* dark green */
273
+ .status-line.high,
274
+ .high .cover-fill {
275
+ background: rgb(77, 146, 33);
276
+ }
277
+ .high .chart {
278
+ border: 1px solid rgb(77, 146, 33);
279
+ }
280
+ /* dark yellow (gold) */
281
+ .status-line.medium,
282
+ .medium .cover-fill {
283
+ background: #f9cd0b;
284
+ }
285
+ .medium .chart {
286
+ border: 1px solid #f9cd0b;
287
+ }
288
+ /* light yellow */
289
+ .medium {
290
+ background: #fff4c2;
291
+ }
292
+
293
+ .cstat-skip {
294
+ background: #ddd;
295
+ color: #111;
296
+ }
297
+ .fstat-skip {
298
+ background: #ddd;
299
+ color: #111 !important;
300
+ }
301
+ .cbranch-skip {
302
+ background: #ddd !important;
303
+ color: #111;
304
+ }
305
+
306
+ span.cline-neutral {
307
+ background: #eaeaea;
308
+ }
309
+
310
+ .coverage-summary td.empty {
311
+ opacity: 0.5;
312
+ padding-top: 4px;
313
+ padding-bottom: 4px;
314
+ line-height: 1;
315
+ color: #888;
316
+ }
317
+
318
+ .cover-fill,
319
+ .cover-empty {
320
+ display: inline-block;
321
+ height: 12px;
322
+ }
323
+ .chart {
324
+ line-height: 0;
325
+ }
326
+ .cover-empty {
327
+ background: white;
328
+ }
329
+ .cover-full {
330
+ border-right: none !important;
331
+ }
332
+ pre.prettyprint {
333
+ border: none !important;
334
+ padding: 0 !important;
335
+ margin: 0 !important;
336
+ }
337
+ .com {
338
+ color: #999 !important;
339
+ }
340
+ .ignore-none {
341
+ color: #999;
342
+ font-weight: normal;
343
+ }
344
+
345
+ .wrapper {
346
+ min-height: 100%;
347
+ height: auto !important;
348
+ height: 100%;
349
+ margin: 0 auto -48px;
350
+ }
351
+ .footer,
352
+ .push {
353
+ height: 48px;
354
+ }
@@ -0,0 +1,82 @@
1
+ /* eslint-disable */
2
+ var jumpToCode = (function init() {
3
+ // Classes of code we would like to highlight in the file view
4
+ var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
+
6
+ // Elements to highlight in the file listing view
7
+ var fileListingElements = ['td.pct.low'];
8
+
9
+ // We don't want to select elements that are direct descendants of another match
10
+ var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
+
12
+ // Selecter that finds elements on the page to which we can jump
13
+ var selector =
14
+ fileListingElements.join(', ') +
15
+ ', ' +
16
+ notSelector +
17
+ missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
+
19
+ // The NodeList of matching elements
20
+ var missingCoverageElements = document.querySelectorAll(selector);
21
+
22
+ var currentIndex;
23
+
24
+ function toggleClass(index) {
25
+ missingCoverageElements.item(currentIndex).classList.remove('highlighted');
26
+ missingCoverageElements.item(index).classList.add('highlighted');
27
+ }
28
+
29
+ function makeCurrent(index) {
30
+ toggleClass(index);
31
+ currentIndex = index;
32
+ missingCoverageElements.item(index).scrollIntoView({
33
+ behavior: 'smooth',
34
+ block: 'center',
35
+ inline: 'center'
36
+ });
37
+ }
38
+
39
+ function goToPrevious() {
40
+ var nextIndex = 0;
41
+ if (typeof currentIndex !== 'number' || currentIndex === 0) {
42
+ nextIndex = missingCoverageElements.length - 1;
43
+ } else if (missingCoverageElements.length > 1) {
44
+ nextIndex = currentIndex - 1;
45
+ }
46
+
47
+ makeCurrent(nextIndex);
48
+ }
49
+
50
+ function goToNext() {
51
+ var nextIndex = 0;
52
+
53
+ if (typeof currentIndex === 'number' && currentIndex < missingCoverageElements.length - 1) {
54
+ nextIndex = currentIndex + 1;
55
+ }
56
+
57
+ makeCurrent(nextIndex);
58
+ }
59
+
60
+ return function jump(event) {
61
+ if (
62
+ document.getElementById('fileSearch') === document.activeElement &&
63
+ document.activeElement != null
64
+ ) {
65
+ // if we're currently focused on the search input, we don't want to navigate
66
+ return;
67
+ }
68
+
69
+ switch (event.which) {
70
+ case 78: // n
71
+ case 74: // j
72
+ goToNext();
73
+ break;
74
+ case 66: // b
75
+ case 75: // k
76
+ case 80: // p
77
+ goToPrevious();
78
+ break;
79
+ }
80
+ };
81
+ })();
82
+ window.addEventListener('keydown', jumpToCode);
Binary file