@agility/plenum-ui 1.1.71 → 1.1.72

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 (119) hide show
  1. package/.prettierrc +4 -4
  2. package/README.md +34 -0
  3. package/lib/components/Combobox/Combobox.d.ts +9 -2
  4. package/lib/components/Dropdown/Dropdown.d.ts +3 -3
  5. package/lib/components/TreeView/TreeItem/TreeItem.d.ts +2 -11
  6. package/lib/components/TreeView/TreeItem/TreeItem.stories.d.ts +1 -4
  7. package/lib/components/TreeView/context.d.ts +8 -5
  8. package/lib/components/TreeView/sampleData.d.ts +5 -5
  9. package/lib/index.esm.js +149 -70
  10. package/lib/index.esm.js.map +1 -1
  11. package/lib/index.js +148 -69
  12. package/lib/index.js.map +1 -1
  13. package/package.json +88 -81
  14. package/coverage/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -204
  15. package/coverage/Forms/TextInputSelect/InputSelect/index.html +0 -155
  16. package/coverage/Select/Select.tsx.html +0 -264
  17. package/coverage/Select/index.html +0 -153
  18. package/coverage/Select.tsx.html +0 -261
  19. package/coverage/agility-component-lib-react/index.html +0 -116
  20. package/coverage/agility-component-lib-react/src/components/Button/Button.tsx.html +0 -349
  21. package/coverage/agility-component-lib-react/src/components/Button/index.html +0 -116
  22. package/coverage/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +0 -235
  23. package/coverage/agility-component-lib-react/src/components/Checkbox/index.html +0 -156
  24. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +0 -418
  25. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/index.html +0 -116
  26. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/Checkbox.tsx.html +0 -334
  27. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/index.html +0 -116
  28. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +0 -139
  29. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/index.html +0 -116
  30. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/InputLabel.tsx.html +0 -211
  31. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.html +0 -131
  32. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.ts.html +0 -94
  33. package/coverage/agility-component-lib-react/src/components/Forms/Radio/Radio.tsx.html +0 -349
  34. package/coverage/agility-component-lib-react/src/components/Forms/Radio/index.html +0 -116
  35. package/coverage/agility-component-lib-react/src/components/Forms/Select/Select.tsx.html +0 -337
  36. package/coverage/agility-component-lib-react/src/components/Forms/Select/index.html +0 -116
  37. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +0 -271
  38. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +0 -116
  39. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -217
  40. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +0 -116
  41. package/coverage/agility-component-lib-react/src/components/Radio/Radio.tsx.html +0 -243
  42. package/coverage/agility-component-lib-react/src/components/Radio/index.html +0 -156
  43. package/coverage/agility-component-lib-react/src/components/Switch/Switch.tsx.html +0 -241
  44. package/coverage/agility-component-lib-react/src/components/Switch/index.html +0 -116
  45. package/coverage/agility-component-lib-react/src/util/DynamicIcons.tsx.html +0 -151
  46. package/coverage/agility-component-lib-react/src/util/Loader.tsx.html +0 -139
  47. package/coverage/agility-component-lib-react/src/util/index.html +0 -131
  48. package/coverage/agility-component-lib-react/styleMock.js.html +0 -91
  49. package/coverage/base.css +0 -224
  50. package/coverage/block-navigation.js +0 -87
  51. package/coverage/clover.xml +0 -145
  52. package/coverage/coverage-final.json +0 -15
  53. package/coverage/favicon.png +0 -0
  54. package/coverage/index.html +0 -281
  55. package/coverage/lcov-report/agility-component-lib-react/index.html +0 -153
  56. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/Button.tsx.html +0 -255
  57. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/index.html +0 -156
  58. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +0 -235
  59. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/index.html +0 -156
  60. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +0 -330
  61. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/index.html +0 -158
  62. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +0 -147
  63. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/index.html +0 -158
  64. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +0 -258
  65. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +0 -159
  66. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -210
  67. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +0 -159
  68. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/Radio.tsx.html +0 -243
  69. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/index.html +0 -156
  70. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/Switch.tsx.html +0 -225
  71. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/index.html +0 -156
  72. package/coverage/lcov-report/agility-component-lib-react/src/util/DynamicIcons.tsx.html +0 -137
  73. package/coverage/lcov-report/agility-component-lib-react/src/util/index.html +0 -155
  74. package/coverage/lcov-report/agility-component-lib-react/styleMock.js.html +0 -90
  75. package/coverage/lcov-report/base.css +0 -354
  76. package/coverage/lcov-report/block-navigation.js +0 -82
  77. package/coverage/lcov-report/favicon.png +0 -0
  78. package/coverage/lcov-report/index.html +0 -385
  79. package/coverage/lcov-report/prettify.css +0 -101
  80. package/coverage/lcov-report/prettify.js +0 -955
  81. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  82. package/coverage/lcov-report/sorter.js +0 -189
  83. package/coverage/lcov.info +0 -267
  84. package/coverage/prettify.css +0 -1
  85. package/coverage/prettify.js +0 -2
  86. package/coverage/sort-arrow-sprite.png +0 -0
  87. package/coverage/sorter.js +0 -196
  88. package/lib/components/Checkbox/Checkbox.d.ts +0 -19
  89. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -12
  90. package/lib/components/Checkbox/Checkbox.test.d.ts +0 -1
  91. package/lib/components/Checkbox/index.d.ts +0 -1
  92. package/lib/components/DatePicker/DatePicker.d.ts +0 -7
  93. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -6
  94. package/lib/components/DatePicker/DatePicker.test.d.ts +0 -1
  95. package/lib/components/DatePicker/index.d.ts +0 -1
  96. package/lib/components/Forms/InputCta/InputCta.d.ts +0 -16
  97. package/lib/components/Forms/InputCta/InputCta.stories.d.ts +0 -6
  98. package/lib/components/Forms/InputCta/InputCta.test.d.ts +0 -1
  99. package/lib/components/Forms/InputCta/index.d.ts +0 -1
  100. package/lib/components/InputCounter/InputCounter.d.ts +0 -16
  101. package/lib/components/InputCounter/InputCounter.stories.d.ts +0 -6
  102. package/lib/components/InputCounter/InputCounter.test.d.ts +0 -1
  103. package/lib/components/InputCounter/index.d.ts +0 -1
  104. package/lib/components/Radio/Radio.d.ts +0 -21
  105. package/lib/components/Radio/Radio.stories.d.ts +0 -12
  106. package/lib/components/Radio/Radio.test.d.ts +0 -1
  107. package/lib/components/Radio/index.d.ts +0 -1
  108. package/lib/components/Select/Select.d.ts +0 -25
  109. package/lib/components/Select/Select.stories.d.ts +0 -11
  110. package/lib/components/Select/Select.test.d.ts +0 -1
  111. package/lib/components/Select/index.d.ts +0 -1
  112. package/lib/components/TextInput/TextInput.d.ts +0 -46
  113. package/lib/components/TextInput/TextInput.stories.d.ts +0 -10
  114. package/lib/components/TextInput/index.d.ts +0 -1
  115. package/lib/components/TextInputAddon/TextInputAddon.d.ts +0 -51
  116. package/lib/components/TextInputAddon/TextInputAddon.stories.d.ts +0 -6
  117. package/lib/components/TextInputAddon/index.d.ts +0 -1
  118. package/lib/components/TreeView/types/tree.types.d.ts +0 -21
  119. package/yarn-error.log +0 -12463
@@ -1,354 +0,0 @@
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
- }
@@ -1,82 +0,0 @@
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