bromcom-ui 3.0.0-alpha.3 → 3.0.0-alpha.5

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 (156) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/p-01eaca9a.entry.js +5 -0
  4. package/dist/bromcom-ui/{p-dc8b7bd5.entry.js → p-0b7de283.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-ff8adde6.entry.js → p-0e75f6ba.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-3a6e9576.entry.js → p-112b9a62.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-be96827e.js → p-1535f9b1.js} +1 -1
  8. package/dist/bromcom-ui/{p-ef839034.entry.js → p-32ce6cf6.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-33d97b3f.entry.js → p-33b2ed75.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-3ddd3c83.entry.js +5 -0
  11. package/dist/bromcom-ui/{p-e115af8a.entry.js → p-4545a13d.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-f1de8ed5.entry.js → p-5532696c.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-f6e710ff.entry.js → p-69adb859.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-d0647951.js → p-6ce02d0a.js} +1 -1
  15. package/dist/bromcom-ui/p-7c08789d.entry.js +5 -0
  16. package/dist/bromcom-ui/{p-b7f449ff.entry.js → p-803739bc.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-3b988ad1.entry.js → p-8390dd02.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-91197b04.js +5 -0
  19. package/dist/bromcom-ui/{p-b9b9d753.entry.js → p-a80e6310.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-aa67918a.entry.js +5 -0
  21. package/dist/bromcom-ui/{p-91aa21af.entry.js → p-acab07ec.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-a53c3682.entry.js → p-b333a3d7.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-b386e9c9.entry.js → p-b7787c11.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-2e7ffc5a.entry.js → p-b7c56cbe.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-221095a9.entry.js → p-c36a7889.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-ce0ab4e3.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-ee75cd00.js → p-d3cf91a9.js} +1 -1
  28. package/dist/bromcom-ui/p-d5464577.entry.js +16 -0
  29. package/dist/bromcom-ui/{p-bd77f532.entry.js → p-d7a619c5.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-baa4193d.entry.js → p-e36b6b08.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-6c7fdf95.entry.js → p-f15c1d3d.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-8001040c.js → p-fc29c94d.js} +1 -1
  33. package/dist/cjs/bcm-accordion_69.cjs.entry.js +722 -66
  34. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +4 -4
  35. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
  36. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  37. package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
  38. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  39. package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
  40. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
  41. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  42. package/dist/cjs/bcm-file-upload.cjs.entry.js +578 -0
  43. package/dist/cjs/bcm-form-2.cjs.entry.js +3 -2
  44. package/dist/cjs/bcm-input-2.cjs.entry.js +2 -2
  45. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  46. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
  47. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  48. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  49. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  50. package/dist/cjs/bcm-number-input.cjs.entry.js +12 -6
  51. package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
  52. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  53. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  54. package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
  55. package/dist/cjs/bcm-toast.cjs.entry.js +17 -11
  56. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  57. package/dist/cjs/{generate-554f54dc.js → generate-9d1bf6b3.js} +1 -1
  58. package/dist/cjs/{global-90b5dbce.js → global-d69a64ec.js} +1 -1
  59. package/dist/cjs/loader.cjs.js +3 -3
  60. package/dist/cjs/{number-helper-677e9c02.js → number-helper-ae28b255.js} +1 -1
  61. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  62. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  63. package/dist/cjs/{package-8445ccd4.js → package-6de220be.js} +1 -1
  64. package/dist/cjs/{validators-92f2f1ef.js → validators-3381bee2.js} +1 -1
  65. package/dist/collection/collection-manifest.json +1 -0
  66. package/dist/collection/components/atoms/button/button.js +1 -1
  67. package/dist/collection/components/atoms/button/types.js +7 -0
  68. package/dist/collection/components/molecules/color-input/color-input.js +5 -22
  69. package/dist/collection/components/molecules/color-palette/color-palette.js +4 -4
  70. package/dist/collection/components/molecules/dropdown/dropdown.js +36 -1
  71. package/dist/collection/components/molecules/linked/linked-focus-manager.js +86 -0
  72. package/dist/collection/components/molecules/linked/linked.js +43 -1
  73. package/dist/collection/components/molecules/number-input/number-input.js +8 -2
  74. package/dist/collection/components/molecules/number-input/react-input.js +1 -1
  75. package/dist/collection/components/molecules/upload/file-upload.component.js +1060 -0
  76. package/dist/collection/components/molecules/upload/file-upload.style.js +201 -0
  77. package/dist/collection/components/organism/form/form.js +1 -0
  78. package/dist/collection/components/organism/form-2/bcm-form-components.js +1 -0
  79. package/dist/collection/components/organism/list/list-focus-manager.js +344 -0
  80. package/dist/collection/components/organism/list/list-key-control.js +9 -4
  81. package/dist/collection/components/organism/list/list.css +8 -3
  82. package/dist/collection/components/organism/list/list.js +227 -27
  83. package/dist/collection/components/other/toast/toast.js +15 -9
  84. package/dist/collection/components/other_deprecated/old-tag/old-tag.js +1 -1
  85. package/dist/collection/components/other_deprecated/tag/tag.js +1 -1
  86. package/dist/collection/templates/list-item-template.js +6 -5
  87. package/dist/collection/templates/list-template.js +2 -2
  88. package/dist/components/bcm-color-input.js +5 -22
  89. package/dist/components/bcm-dropdown.js +35 -0
  90. package/dist/components/bcm-file-upload.d.ts +11 -0
  91. package/dist/components/bcm-file-upload.js +625 -0
  92. package/dist/components/bcm-form-2.js +1 -0
  93. package/dist/components/bcm-number-input.js +8 -2
  94. package/dist/components/bcm-toast.js +15 -9
  95. package/dist/components/button.js +7 -0
  96. package/dist/components/color-palette.js +2 -2
  97. package/dist/components/form.js +1 -0
  98. package/dist/components/generate.js +1 -1
  99. package/dist/components/index.d.ts +1 -0
  100. package/dist/components/index.js +1 -0
  101. package/dist/components/linked.js +105 -2
  102. package/dist/components/list.js +567 -39
  103. package/dist/esm/bcm-accordion_69.entry.js +722 -66
  104. package/dist/esm/bcm-attendance-actions-comment.entry.js +4 -4
  105. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +4 -4
  106. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  107. package/dist/esm/bcm-caption.entry.js +4 -4
  108. package/dist/esm/bcm-card.entry.js +2 -2
  109. package/dist/esm/bcm-date-picker.entry.js +2 -2
  110. package/dist/esm/bcm-datetime-picker.entry.js +2 -2
  111. package/dist/esm/bcm-default.entry.js +2 -2
  112. package/dist/esm/bcm-file-upload.entry.js +574 -0
  113. package/dist/esm/bcm-form-2.entry.js +3 -2
  114. package/dist/esm/bcm-input-2.entry.js +2 -2
  115. package/dist/esm/bcm-input-custom.entry.js +2 -2
  116. package/dist/esm/bcm-input-dropdown.entry.js +4 -4
  117. package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
  118. package/dist/esm/bcm-modal-2-header.entry.js +4 -4
  119. package/dist/esm/bcm-modal-2.entry.js +4 -4
  120. package/dist/esm/bcm-number-input.entry.js +12 -6
  121. package/dist/esm/bcm-skeleton.entry.js +4 -4
  122. package/dist/esm/bcm-table.entry.js +4 -4
  123. package/dist/esm/bcm-tag.entry.js +3 -3
  124. package/dist/esm/bcm-time-picker.entry.js +2 -2
  125. package/dist/esm/bcm-toast.entry.js +17 -11
  126. package/dist/esm/bromcom-ui.js +3 -3
  127. package/dist/esm/{generate-8a394b83.js → generate-56d49b70.js} +1 -1
  128. package/dist/esm/{global-7919f57f.js → global-97c42a5f.js} +1 -1
  129. package/dist/esm/loader.js +3 -3
  130. package/dist/esm/{number-helper-a86adc72.js → number-helper-455ab41e.js} +1 -1
  131. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  132. package/dist/esm/old-bcm-popover.entry.js +2 -2
  133. package/dist/esm/{package-278e08d9.js → package-edee14d5.js} +1 -1
  134. package/dist/esm/{validators-89e791a1.js → validators-cc882165.js} +1 -1
  135. package/dist/types/components/atoms/button/types.d.ts +8 -1
  136. package/dist/types/components/molecules/color-input/color-input.d.ts +1 -4
  137. package/dist/types/components/molecules/dropdown/dropdown.d.ts +7 -0
  138. package/dist/types/components/molecules/linked/linked-focus-manager.d.ts +13 -0
  139. package/dist/types/components/molecules/linked/linked.d.ts +3 -0
  140. package/dist/types/components/molecules/number-input/number-input.d.ts +1 -0
  141. package/dist/types/components/molecules/upload/file-upload.component.d.ts +233 -0
  142. package/dist/types/components/molecules/upload/file-upload.style.d.ts +548 -0
  143. package/dist/types/components/organism/list/list-focus-manager.d.ts +53 -0
  144. package/dist/types/components/organism/list/list-key-control.d.ts +1 -0
  145. package/dist/types/components/organism/list/list.d.ts +18 -1
  146. package/dist/types/components/other/toast/toast.d.ts +1 -0
  147. package/dist/types/components.d.ts +417 -1
  148. package/dist/types/templates/list-item-template.d.ts +2 -0
  149. package/dist/types/templates/list-template.d.ts +2 -0
  150. package/package.json +1 -1
  151. package/dist/bromcom-ui/p-16b8a312.entry.js +0 -16
  152. package/dist/bromcom-ui/p-839b6fd5.entry.js +0 -5
  153. package/dist/bromcom-ui/p-be8aa3b8.entry.js +0 -5
  154. package/dist/bromcom-ui/p-d0aa71e1.entry.js +0 -5
  155. package/dist/bromcom-ui/p-df92d838.js +0 -5
  156. package/dist/bromcom-ui/p-dfd73f7c.entry.js +0 -5
@@ -0,0 +1,548 @@
1
+ export declare const uploadClasses: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ medium: {
4
+ container: string;
5
+ zone: string;
6
+ zoneTextWrapper: string;
7
+ fileRow: string;
8
+ fileRowHeader: string;
9
+ fileIcon: string;
10
+ fileTitle: string;
11
+ iconBtn: string;
12
+ progressWrapper: string;
13
+ progressTrack: string;
14
+ };
15
+ small: {
16
+ container: string;
17
+ zone: string;
18
+ zoneTextWrapper: string;
19
+ fileRow: string;
20
+ fileRowHeader: string;
21
+ fileTitle: string;
22
+ fileIcon: string;
23
+ percent: string;
24
+ iconBtn: string;
25
+ progressWrapper: string;
26
+ progressTrack: string;
27
+ list: string;
28
+ };
29
+ };
30
+ position: {
31
+ vertical: {
32
+ zone: string;
33
+ zoneTextWrapper: string;
34
+ zoneTextSub: string;
35
+ };
36
+ horizontal: {
37
+ zone: string;
38
+ zoneTextWrapper: string;
39
+ };
40
+ button: {
41
+ container: string;
42
+ };
43
+ };
44
+ disabled: {
45
+ true: "";
46
+ false: "";
47
+ };
48
+ zoneHovered: {
49
+ true: "";
50
+ false: "";
51
+ };
52
+ dragActive: {
53
+ true: "";
54
+ false: "";
55
+ };
56
+ zoneError: {
57
+ true: "";
58
+ false: "";
59
+ };
60
+ fullWidth: {
61
+ true: {
62
+ container: string;
63
+ };
64
+ false: {
65
+ container: string;
66
+ };
67
+ };
68
+ }, {
69
+ container: string;
70
+ label: string;
71
+ triggerWrap: string;
72
+ zone: string[];
73
+ iconContainer: string;
74
+ iconSizeClass: string;
75
+ zoneTextWrapper: string;
76
+ zoneTextMain: string;
77
+ zoneLink: string;
78
+ zoneTextSub: string;
79
+ list: string;
80
+ fileRow: string[];
81
+ fileRowHeader: string;
82
+ fileIcon: string;
83
+ fileTitle: string;
84
+ progressWrapper: string;
85
+ progressTrack: string;
86
+ progressBar: string;
87
+ percent: string;
88
+ actions: string;
89
+ iconBtn: string[];
90
+ errorArea: string[];
91
+ errorIcon: string;
92
+ errorClose: string;
93
+ captionWrap: string;
94
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
95
+ size: {
96
+ medium: {
97
+ container: string;
98
+ zone: string;
99
+ zoneTextWrapper: string;
100
+ fileRow: string;
101
+ fileRowHeader: string;
102
+ fileIcon: string;
103
+ fileTitle: string;
104
+ iconBtn: string;
105
+ progressWrapper: string;
106
+ progressTrack: string;
107
+ };
108
+ small: {
109
+ container: string;
110
+ zone: string;
111
+ zoneTextWrapper: string;
112
+ fileRow: string;
113
+ fileRowHeader: string;
114
+ fileTitle: string;
115
+ fileIcon: string;
116
+ percent: string;
117
+ iconBtn: string;
118
+ progressWrapper: string;
119
+ progressTrack: string;
120
+ list: string;
121
+ };
122
+ };
123
+ position: {
124
+ vertical: {
125
+ zone: string;
126
+ zoneTextWrapper: string;
127
+ zoneTextSub: string;
128
+ };
129
+ horizontal: {
130
+ zone: string;
131
+ zoneTextWrapper: string;
132
+ };
133
+ button: {
134
+ container: string;
135
+ };
136
+ };
137
+ disabled: {
138
+ true: "";
139
+ false: "";
140
+ };
141
+ zoneHovered: {
142
+ true: "";
143
+ false: "";
144
+ };
145
+ dragActive: {
146
+ true: "";
147
+ false: "";
148
+ };
149
+ zoneError: {
150
+ true: "";
151
+ false: "";
152
+ };
153
+ fullWidth: {
154
+ true: {
155
+ container: string;
156
+ };
157
+ false: {
158
+ container: string;
159
+ };
160
+ };
161
+ }, {
162
+ size: {
163
+ medium: {
164
+ container: string;
165
+ zone: string;
166
+ zoneTextWrapper: string;
167
+ fileRow: string;
168
+ fileRowHeader: string;
169
+ fileIcon: string;
170
+ fileTitle: string;
171
+ iconBtn: string;
172
+ progressWrapper: string;
173
+ progressTrack: string;
174
+ };
175
+ small: {
176
+ container: string;
177
+ zone: string;
178
+ zoneTextWrapper: string;
179
+ fileRow: string;
180
+ fileRowHeader: string;
181
+ fileTitle: string;
182
+ fileIcon: string;
183
+ percent: string;
184
+ iconBtn: string;
185
+ progressWrapper: string;
186
+ progressTrack: string;
187
+ list: string;
188
+ };
189
+ };
190
+ position: {
191
+ vertical: {
192
+ zone: string;
193
+ zoneTextWrapper: string;
194
+ zoneTextSub: string;
195
+ };
196
+ horizontal: {
197
+ zone: string;
198
+ zoneTextWrapper: string;
199
+ };
200
+ button: {
201
+ container: string;
202
+ };
203
+ };
204
+ disabled: {
205
+ true: "";
206
+ false: "";
207
+ };
208
+ zoneHovered: {
209
+ true: "";
210
+ false: "";
211
+ };
212
+ dragActive: {
213
+ true: "";
214
+ false: "";
215
+ };
216
+ zoneError: {
217
+ true: "";
218
+ false: "";
219
+ };
220
+ fullWidth: {
221
+ true: {
222
+ container: string;
223
+ };
224
+ false: {
225
+ container: string;
226
+ };
227
+ };
228
+ }>, {
229
+ size: {
230
+ medium: {
231
+ container: string;
232
+ zone: string;
233
+ zoneTextWrapper: string;
234
+ fileRow: string;
235
+ fileRowHeader: string;
236
+ fileIcon: string;
237
+ fileTitle: string;
238
+ iconBtn: string;
239
+ progressWrapper: string;
240
+ progressTrack: string;
241
+ };
242
+ small: {
243
+ container: string;
244
+ zone: string;
245
+ zoneTextWrapper: string;
246
+ fileRow: string;
247
+ fileRowHeader: string;
248
+ fileTitle: string;
249
+ fileIcon: string;
250
+ percent: string;
251
+ iconBtn: string;
252
+ progressWrapper: string;
253
+ progressTrack: string;
254
+ list: string;
255
+ };
256
+ };
257
+ position: {
258
+ vertical: {
259
+ zone: string;
260
+ zoneTextWrapper: string;
261
+ zoneTextSub: string;
262
+ };
263
+ horizontal: {
264
+ zone: string;
265
+ zoneTextWrapper: string;
266
+ };
267
+ button: {
268
+ container: string;
269
+ };
270
+ };
271
+ disabled: {
272
+ true: "";
273
+ false: "";
274
+ };
275
+ zoneHovered: {
276
+ true: "";
277
+ false: "";
278
+ };
279
+ dragActive: {
280
+ true: "";
281
+ false: "";
282
+ };
283
+ zoneError: {
284
+ true: "";
285
+ false: "";
286
+ };
287
+ fullWidth: {
288
+ true: {
289
+ container: string;
290
+ };
291
+ false: {
292
+ container: string;
293
+ };
294
+ };
295
+ }, {
296
+ container: string;
297
+ label: string;
298
+ triggerWrap: string;
299
+ zone: string[];
300
+ iconContainer: string;
301
+ iconSizeClass: string;
302
+ zoneTextWrapper: string;
303
+ zoneTextMain: string;
304
+ zoneLink: string;
305
+ zoneTextSub: string;
306
+ list: string;
307
+ fileRow: string[];
308
+ fileRowHeader: string;
309
+ fileIcon: string;
310
+ fileTitle: string;
311
+ progressWrapper: string;
312
+ progressTrack: string;
313
+ progressBar: string;
314
+ percent: string;
315
+ actions: string;
316
+ iconBtn: string[];
317
+ errorArea: string[];
318
+ errorIcon: string;
319
+ errorClose: string;
320
+ captionWrap: string;
321
+ }, import("tailwind-variants").TVReturnType<{
322
+ size: {
323
+ medium: {
324
+ container: string;
325
+ zone: string;
326
+ zoneTextWrapper: string;
327
+ fileRow: string;
328
+ fileRowHeader: string;
329
+ fileIcon: string;
330
+ fileTitle: string;
331
+ iconBtn: string;
332
+ progressWrapper: string;
333
+ progressTrack: string;
334
+ };
335
+ small: {
336
+ container: string;
337
+ zone: string;
338
+ zoneTextWrapper: string;
339
+ fileRow: string;
340
+ fileRowHeader: string;
341
+ fileTitle: string;
342
+ fileIcon: string;
343
+ percent: string;
344
+ iconBtn: string;
345
+ progressWrapper: string;
346
+ progressTrack: string;
347
+ list: string;
348
+ };
349
+ };
350
+ position: {
351
+ vertical: {
352
+ zone: string;
353
+ zoneTextWrapper: string;
354
+ zoneTextSub: string;
355
+ };
356
+ horizontal: {
357
+ zone: string;
358
+ zoneTextWrapper: string;
359
+ };
360
+ button: {
361
+ container: string;
362
+ };
363
+ };
364
+ disabled: {
365
+ true: "";
366
+ false: "";
367
+ };
368
+ zoneHovered: {
369
+ true: "";
370
+ false: "";
371
+ };
372
+ dragActive: {
373
+ true: "";
374
+ false: "";
375
+ };
376
+ zoneError: {
377
+ true: "";
378
+ false: "";
379
+ };
380
+ fullWidth: {
381
+ true: {
382
+ container: string;
383
+ };
384
+ false: {
385
+ container: string;
386
+ };
387
+ };
388
+ }, {
389
+ container: string;
390
+ label: string;
391
+ triggerWrap: string;
392
+ zone: string[];
393
+ iconContainer: string;
394
+ iconSizeClass: string;
395
+ zoneTextWrapper: string;
396
+ zoneTextMain: string;
397
+ zoneLink: string;
398
+ zoneTextSub: string;
399
+ list: string;
400
+ fileRow: string[];
401
+ fileRowHeader: string;
402
+ fileIcon: string;
403
+ fileTitle: string;
404
+ progressWrapper: string;
405
+ progressTrack: string;
406
+ progressBar: string;
407
+ percent: string;
408
+ actions: string;
409
+ iconBtn: string[];
410
+ errorArea: string[];
411
+ errorIcon: string;
412
+ errorClose: string;
413
+ captionWrap: string;
414
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
415
+ size: {
416
+ medium: {
417
+ container: string;
418
+ zone: string;
419
+ zoneTextWrapper: string;
420
+ fileRow: string;
421
+ fileRowHeader: string;
422
+ fileIcon: string;
423
+ fileTitle: string;
424
+ iconBtn: string;
425
+ progressWrapper: string;
426
+ progressTrack: string;
427
+ };
428
+ small: {
429
+ container: string;
430
+ zone: string;
431
+ zoneTextWrapper: string;
432
+ fileRow: string;
433
+ fileRowHeader: string;
434
+ fileTitle: string;
435
+ fileIcon: string;
436
+ percent: string;
437
+ iconBtn: string;
438
+ progressWrapper: string;
439
+ progressTrack: string;
440
+ list: string;
441
+ };
442
+ };
443
+ position: {
444
+ vertical: {
445
+ zone: string;
446
+ zoneTextWrapper: string;
447
+ zoneTextSub: string;
448
+ };
449
+ horizontal: {
450
+ zone: string;
451
+ zoneTextWrapper: string;
452
+ };
453
+ button: {
454
+ container: string;
455
+ };
456
+ };
457
+ disabled: {
458
+ true: "";
459
+ false: "";
460
+ };
461
+ zoneHovered: {
462
+ true: "";
463
+ false: "";
464
+ };
465
+ dragActive: {
466
+ true: "";
467
+ false: "";
468
+ };
469
+ zoneError: {
470
+ true: "";
471
+ false: "";
472
+ };
473
+ fullWidth: {
474
+ true: {
475
+ container: string;
476
+ };
477
+ false: {
478
+ container: string;
479
+ };
480
+ };
481
+ }, {
482
+ size: {
483
+ medium: {
484
+ container: string;
485
+ zone: string;
486
+ zoneTextWrapper: string;
487
+ fileRow: string;
488
+ fileRowHeader: string;
489
+ fileIcon: string;
490
+ fileTitle: string;
491
+ iconBtn: string;
492
+ progressWrapper: string;
493
+ progressTrack: string;
494
+ };
495
+ small: {
496
+ container: string;
497
+ zone: string;
498
+ zoneTextWrapper: string;
499
+ fileRow: string;
500
+ fileRowHeader: string;
501
+ fileTitle: string;
502
+ fileIcon: string;
503
+ percent: string;
504
+ iconBtn: string;
505
+ progressWrapper: string;
506
+ progressTrack: string;
507
+ list: string;
508
+ };
509
+ };
510
+ position: {
511
+ vertical: {
512
+ zone: string;
513
+ zoneTextWrapper: string;
514
+ zoneTextSub: string;
515
+ };
516
+ horizontal: {
517
+ zone: string;
518
+ zoneTextWrapper: string;
519
+ };
520
+ button: {
521
+ container: string;
522
+ };
523
+ };
524
+ disabled: {
525
+ true: "";
526
+ false: "";
527
+ };
528
+ zoneHovered: {
529
+ true: "";
530
+ false: "";
531
+ };
532
+ dragActive: {
533
+ true: "";
534
+ false: "";
535
+ };
536
+ zoneError: {
537
+ true: "";
538
+ false: "";
539
+ };
540
+ fullWidth: {
541
+ true: {
542
+ container: string;
543
+ };
544
+ false: {
545
+ container: string;
546
+ };
547
+ };
548
+ }>, unknown, unknown, undefined>>;
@@ -0,0 +1,53 @@
1
+ export declare class ListFocusManager {
2
+ private focusableSelector;
3
+ private getFocusableElements;
4
+ private getFirstFocusableElement;
5
+ private getListItems;
6
+ private getItemById;
7
+ private getCurrentListItem;
8
+ private getPreferredListFocusElement;
9
+ private isElementNaturallyFocusable;
10
+ private isEditableElement;
11
+ private isVisible;
12
+ private isInsideElement;
13
+ private canReceiveProgrammaticFocus;
14
+ private getInteractionContext;
15
+ private isInsideSearch;
16
+ private focusElement;
17
+ private focusListElement;
18
+ private focusListItemByOffset;
19
+ private focusListItemWhenReady;
20
+ private focusListElementWhenReady;
21
+ private getParentListItem;
22
+ private getFirstChildListItem;
23
+ private hasTreeChildren;
24
+ private isTreeItemOpen;
25
+ private isInsideAnyElement;
26
+ private focusAdjacentOutside;
27
+ restoreTriggerFocus(params: {
28
+ hostElement: HTMLElement;
29
+ targetElement: HTMLElement | null;
30
+ autocompleteInput?: HTMLElement | null;
31
+ openTriggerElement?: HTMLElement | null;
32
+ preferOpenTrigger?: boolean;
33
+ }): void;
34
+ handleKeyDown(params: {
35
+ event: KeyboardEvent;
36
+ disabled: boolean;
37
+ isOpen: boolean;
38
+ isOverlayType: boolean;
39
+ hostElement: HTMLElement;
40
+ targetElement: HTMLElement | null;
41
+ listElement: HTMLElement | null;
42
+ openList: () => void;
43
+ closeList: () => void;
44
+ selectFocusedItem: (itemId: string) => void;
45
+ openGroup: (itemId: string) => void;
46
+ treeview: boolean;
47
+ checkboxes: boolean;
48
+ autocompleteInput?: HTMLElement | null;
49
+ openTriggerElement?: HTMLElement | null;
50
+ }): boolean;
51
+ private handleClosedOverlayKeyDown;
52
+ private handleOpenOverlayKeyDown;
53
+ }
@@ -2,6 +2,7 @@ import { KeyControl } from "../../../models/abstract-classes/abstract-key-contro
2
2
  export declare class ListKeyControl extends KeyControl {
3
3
  openGroup: (id: number) => void;
4
4
  checkedItem: (id: number) => void;
5
+ selectedItem: (id: number) => void;
5
6
  private isTreeview;
6
7
  private isCheckBoxes;
7
8
  constructor(keyCode: number, element: HTMLElement, treeview: boolean, checkBoxes: boolean);
@@ -2,6 +2,9 @@ import { Bcm, ListTypes, PlacementTypes, SizeTypes, StatusTypes } from "../../..
2
2
  import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
3
3
  export declare class BcmList implements ComponentInterface {
4
4
  private debounce;
5
+ private focusManager;
6
+ private openTriggerElement;
7
+ private suppressScrollCloseUntil;
5
8
  el: HTMLElement;
6
9
  _id: string;
7
10
  tempId: string;
@@ -108,7 +111,10 @@ export declare class BcmList implements ComponentInterface {
108
111
  handleSlotItems(e: CustomEvent): void;
109
112
  handleChange(e: any): void;
110
113
  handleResize(): void;
114
+ handleVisualViewportChange: () => void;
111
115
  handleWheel(event: WheelEvent): void;
116
+ handleTouchStart(event: any): void;
117
+ handleFocusIn(event: any): void;
112
118
  private clearAutocomplete;
113
119
  handleSelectOtherTag(e: CustomEvent): Promise<void>;
114
120
  handleDeleteTag(e: CustomEvent): Promise<void>;
@@ -132,7 +138,7 @@ export declare class BcmList implements ComponentInterface {
132
138
  setClear(e?: any): Promise<void>;
133
139
  resetCaption(): Promise<void>;
134
140
  private detectClone;
135
- show(): Promise<void>;
141
+ show(openTriggerElement?: HTMLElement): Promise<void>;
136
142
  hide(): Promise<void>;
137
143
  private updateOptions;
138
144
  private handleIndeterminate;
@@ -140,11 +146,18 @@ export declare class BcmList implements ComponentInterface {
140
146
  private unSelectOther;
141
147
  private onClearSearch;
142
148
  private onSelectSearch;
149
+ private preventScrollClose;
150
+ private isMobileViewport;
151
+ private prepareMobileViewportForOpen;
152
+ private shouldKeepOpenWhileInteracting;
143
153
  private filterOtherList;
144
154
  private initState;
145
155
  private markForCheck;
146
156
  private getOptions;
147
157
  private getItems;
158
+ private hasNestedItems;
159
+ private getVisibleSearchItems;
160
+ private getInitialSearchResultLimit;
148
161
  private getLimitedItems;
149
162
  private openGroup;
150
163
  private focusItem;
@@ -152,6 +165,10 @@ export declare class BcmList implements ComponentInterface {
152
165
  private checkedItem;
153
166
  private changeVisibleCheckeds;
154
167
  private getAutoCompleteInput;
168
+ private rememberOpenTrigger;
169
+ private isValidOpenTrigger;
170
+ private isOverlayType;
171
+ private getTargetElement;
155
172
  /** @description Fixes the issue where the list appears empty during fast scrolling. */
156
173
  private dataScrollEvent;
157
174
  private calculateLocation;
@@ -18,6 +18,7 @@ export declare class BcmToast implements ComponentInterface {
18
18
  visible: boolean;
19
19
  visibleContainer: boolean;
20
20
  private timer;
21
+ private renderMultiline;
21
22
  show(): Promise<HTMLElement>;
22
23
  hide(): Promise<void>;
23
24
  private handleMouseEnter;