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