@aurodesignsystem/auro-formkit 1.6.0-beta.6 → 1.6.0-beta.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 (161) hide show
  1. package/.turbo/cache/01de6ab3df8b7e1e-meta.json +1 -0
  2. package/.turbo/cache/{754a6b5c5ce1ed00.tar.zst → 01de6ab3df8b7e1e.tar.zst} +0 -0
  3. package/.turbo/cache/10feda0f037804bb-meta.json +1 -1
  4. package/.turbo/cache/11079d2746265545-meta.json +1 -1
  5. package/.turbo/cache/11079d2746265545.tar.zst +0 -0
  6. package/.turbo/cache/115c4b73a12f5275-meta.json +1 -0
  7. package/.turbo/cache/115c4b73a12f5275.tar.zst +0 -0
  8. package/.turbo/cache/144e8e78657bf800-meta.json +1 -1
  9. package/.turbo/cache/18939b2c7c83b163-meta.json +1 -1
  10. package/.turbo/cache/1de685df0eaa39c8-meta.json +1 -1
  11. package/.turbo/cache/1ec139dcf090d547-meta.json +1 -1
  12. package/.turbo/cache/1f53ce3a28c56cdf-meta.json +1 -1
  13. package/.turbo/cache/23bf100310bd9f5a-meta.json +1 -1
  14. package/.turbo/cache/2900e7ec28e1488f-meta.json +1 -1
  15. package/.turbo/cache/296074aadfa2f8c9-meta.json +1 -1
  16. package/.turbo/cache/296074aadfa2f8c9.tar.zst +0 -0
  17. package/.turbo/cache/29e29355bf6fb4fd-meta.json +1 -1
  18. package/.turbo/cache/2cbcbc4a17387253-meta.json +1 -0
  19. package/.turbo/cache/2cbcbc4a17387253.tar.zst +0 -0
  20. package/.turbo/cache/2f6c898fbb51e995-meta.json +1 -1
  21. package/.turbo/cache/2f6c898fbb51e995.tar.zst +0 -0
  22. package/.turbo/cache/3073b96f6e4d867c-meta.json +1 -1
  23. package/.turbo/cache/33466ea2930c3714-meta.json +1 -1
  24. package/.turbo/cache/3426941a74b0731e-meta.json +1 -0
  25. package/.turbo/cache/{3f41d958c755a6f0.tar.zst → 3426941a74b0731e.tar.zst} +0 -0
  26. package/.turbo/cache/38b0799e2f7e62c5-meta.json +1 -0
  27. package/.turbo/cache/38b0799e2f7e62c5.tar.zst +0 -0
  28. package/.turbo/cache/3fbc89f461c495db-meta.json +1 -0
  29. package/.turbo/cache/3fbc89f461c495db.tar.zst +0 -0
  30. package/.turbo/cache/451e562c76f74ec6-meta.json +1 -1
  31. package/.turbo/cache/4520919609c97850-meta.json +1 -1
  32. package/.turbo/cache/452908d0b0b676bc-meta.json +1 -1
  33. package/.turbo/cache/48c197e39ed31fd2-meta.json +1 -1
  34. package/.turbo/cache/48c197e39ed31fd2.tar.zst +0 -0
  35. package/.turbo/cache/5058ecc7f1e34496-meta.json +1 -1
  36. package/.turbo/cache/5a66a99aa1344401-meta.json +1 -1
  37. package/.turbo/cache/5b66ce21630716cc-meta.json +1 -1
  38. package/.turbo/cache/6002b76d50b8d1ff-meta.json +1 -0
  39. package/.turbo/cache/6002b76d50b8d1ff.tar.zst +0 -0
  40. package/.turbo/cache/627e964e19b2bda5-meta.json +1 -0
  41. package/.turbo/cache/627e964e19b2bda5.tar.zst +0 -0
  42. package/.turbo/cache/6907ebaae4f3a96b-meta.json +1 -0
  43. package/.turbo/cache/6907ebaae4f3a96b.tar.zst +0 -0
  44. package/.turbo/cache/6f7175be597945f7-meta.json +1 -0
  45. package/.turbo/cache/6f7175be597945f7.tar.zst +0 -0
  46. package/.turbo/cache/70d7b72f15ee97a4-meta.json +1 -1
  47. package/.turbo/cache/7cfdc01c415c836c-meta.json +1 -0
  48. package/.turbo/cache/7cfdc01c415c836c.tar.zst +0 -0
  49. package/.turbo/cache/897b0d8a0c301207-meta.json +1 -1
  50. package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +1 -1
  51. package/.turbo/cache/8e1f402b247ebed6-meta.json +1 -1
  52. package/.turbo/cache/8e1f402b247ebed6.tar.zst +0 -0
  53. package/.turbo/cache/90b8d9ccef5e09aa-meta.json +1 -1
  54. package/.turbo/cache/936bccb44ade3650-meta.json +1 -1
  55. package/.turbo/cache/94bcc4c6536ada9d-meta.json +1 -1
  56. package/.turbo/cache/990b9def0e83d33c-meta.json +1 -0
  57. package/.turbo/cache/990b9def0e83d33c.tar.zst +0 -0
  58. package/.turbo/cache/a532f4b8302ca13e-meta.json +1 -1
  59. package/.turbo/cache/a7bf477bbdabc7bc-meta.json +1 -1
  60. package/.turbo/cache/a90aa34f427a2f62-meta.json +1 -1
  61. package/.turbo/cache/aedda428051043c4-meta.json +1 -1
  62. package/.turbo/cache/afc38ab505ef6dbb-meta.json +1 -0
  63. package/.turbo/cache/{2ca214d032893e74.tar.zst → afc38ab505ef6dbb.tar.zst} +0 -0
  64. package/.turbo/cache/b1ed317b29e85c9d-meta.json +1 -0
  65. package/.turbo/cache/b1ed317b29e85c9d.tar.zst +0 -0
  66. package/.turbo/cache/b61416daf63fbaad-meta.json +1 -1
  67. package/.turbo/cache/b76edfbd1c076b0a-meta.json +1 -0
  68. package/.turbo/cache/b76edfbd1c076b0a.tar.zst +0 -0
  69. package/.turbo/cache/b9463532618cdc61-meta.json +1 -1
  70. package/.turbo/cache/bb3afea40c91e8ba-meta.json +1 -1
  71. package/.turbo/cache/c4df38a7e2cc767a-meta.json +1 -0
  72. package/.turbo/cache/{77bf3068f493ef24.tar.zst → c4df38a7e2cc767a.tar.zst} +0 -0
  73. package/.turbo/cache/c63dc7b6157da70b-meta.json +1 -1
  74. package/.turbo/cache/c8b63b6e8a190eb9-meta.json +1 -1
  75. package/.turbo/cache/d35b1eee9f2881af-meta.json +1 -1
  76. package/.turbo/cache/d5188c0fbe45d578-meta.json +1 -1
  77. package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +1 -1
  78. package/.turbo/cache/e6f030eddf6fbf4e-meta.json +1 -1
  79. package/.turbo/cache/ff7e6d09efd93145-meta.json +1 -1
  80. package/.turbo/cache/ff7e6d09efd93145.tar.zst +0 -0
  81. package/CHANGELOG.md +19 -0
  82. package/components/checkbox/.turbo/turbo-build.log +3 -3
  83. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  84. package/components/combobox/.turbo/turbo-build.log +6 -3
  85. package/components/combobox/demo/api.html +1 -0
  86. package/components/combobox/demo/api.js +2 -0
  87. package/components/combobox/demo/api.md +73 -0
  88. package/components/combobox/demo/api.min.js +962 -835
  89. package/components/combobox/demo/index.min.js +920 -832
  90. package/components/combobox/dist/auro-combobox.d.ts +20 -0
  91. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  92. package/components/combobox/dist/index.js +58 -22
  93. package/components/combobox/src/auro-combobox.js +58 -22
  94. package/components/counter/.turbo/turbo-build.log +2 -2
  95. package/components/counter/.turbo/turbo-bundler.log +3 -3
  96. package/components/datepicker/.turbo/turbo-build.log +2 -2
  97. package/components/dropdown/.turbo/turbo-build.log +3 -3
  98. package/components/dropdown/.turbo/turbo-bundler.log +3 -3
  99. package/components/form/.turbo/turbo-build.log +3 -3
  100. package/components/form/.turbo/turbo-bundler.log +3 -3
  101. package/components/input/.turbo/turbo-build.log +3 -3
  102. package/components/input/.turbo/turbo-bundler.log +3 -3
  103. package/components/menu/.turbo/turbo-build.log +6 -3
  104. package/components/menu/.turbo/turbo-bundler.log +3 -3
  105. package/components/menu/demo/api.html +2 -0
  106. package/components/menu/demo/api.js +2 -0
  107. package/components/menu/demo/api.md +164 -22
  108. package/components/menu/demo/api.min.js +912 -853
  109. package/components/menu/demo/index.min.js +905 -853
  110. package/components/menu/dist/auro-menu.d.ts +28 -2
  111. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  112. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  113. package/components/menu/dist/index.js +905 -853
  114. package/components/menu/src/auro-menu.js +57 -7
  115. package/components/menu/src/auro-menuoption.js +1 -1
  116. package/components/menu/src/styles/style-menu-css.js +1 -1
  117. package/components/menu/src/styles/style-menu.css +21 -3
  118. package/components/menu/src/styles/style-menu.scss +25 -3
  119. package/components/radio/.turbo/turbo-build.log +3 -3
  120. package/components/radio/.turbo/turbo-bundler.log +3 -3
  121. package/components/select/.turbo/turbo-build.log +6 -3
  122. package/components/select/demo/api.html +1 -0
  123. package/components/select/demo/api.js +2 -0
  124. package/components/select/demo/api.md +66 -0
  125. package/components/select/demo/api.min.js +927 -811
  126. package/components/select/demo/index.min.js +895 -811
  127. package/components/select/dist/auro-select.d.ts +19 -0
  128. package/components/select/dist/auro-select.d.ts.map +1 -1
  129. package/components/select/dist/index.js +32 -0
  130. package/components/select/src/auro-select.js +32 -0
  131. package/package.json +1 -1
  132. package/packages/build-tools/src/docProcessor.mjs +4 -4
  133. package/packages/build-tools/src/kitDocProcessor.mjs +4 -4
  134. package/.turbo/cache/05be1236a4cd5e72-meta.json +0 -1
  135. package/.turbo/cache/05be1236a4cd5e72.tar.zst +0 -0
  136. package/.turbo/cache/2ca214d032893e74-meta.json +0 -1
  137. package/.turbo/cache/3792d285b464b3e6-meta.json +0 -1
  138. package/.turbo/cache/3792d285b464b3e6.tar.zst +0 -0
  139. package/.turbo/cache/3ac4a22a21bdc2be-meta.json +0 -1
  140. package/.turbo/cache/3ac4a22a21bdc2be.tar.zst +0 -0
  141. package/.turbo/cache/3f41d958c755a6f0-meta.json +0 -1
  142. package/.turbo/cache/5d064e768a262314-meta.json +0 -1
  143. package/.turbo/cache/5d064e768a262314.tar.zst +0 -0
  144. package/.turbo/cache/6646f884a18a970a-meta.json +0 -1
  145. package/.turbo/cache/6646f884a18a970a.tar.zst +0 -0
  146. package/.turbo/cache/71212615220331ea-meta.json +0 -1
  147. package/.turbo/cache/71212615220331ea.tar.zst +0 -0
  148. package/.turbo/cache/754a6b5c5ce1ed00-meta.json +0 -1
  149. package/.turbo/cache/77bf3068f493ef24-meta.json +0 -1
  150. package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +0 -1
  151. package/.turbo/cache/7ddb7ace73fe6ec2.tar.zst +0 -0
  152. package/.turbo/cache/9135f474c69d1b3c-meta.json +0 -1
  153. package/.turbo/cache/9135f474c69d1b3c.tar.zst +0 -0
  154. package/.turbo/cache/9a7ab914e08ce75f-meta.json +0 -1
  155. package/.turbo/cache/9a7ab914e08ce75f.tar.zst +0 -0
  156. package/.turbo/cache/aa68cd3545395c90-meta.json +0 -1
  157. package/.turbo/cache/aa68cd3545395c90.tar.zst +0 -0
  158. package/.turbo/cache/dce6f67be2b63c18-meta.json +0 -1
  159. package/.turbo/cache/dce6f67be2b63c18.tar.zst +0 -0
  160. package/.turbo/cache/e28ee527154c4cb2-meta.json +0 -1
  161. package/.turbo/cache/e28ee527154c4cb2.tar.zst +0 -0
@@ -0,0 +1 @@
1
+ {"hash":"01de6ab3df8b7e1e","duration":19343}
@@ -1 +1 @@
1
- {"hash":"10feda0f037804bb","duration":2306}
1
+ {"hash":"10feda0f037804bb","duration":2976}
@@ -1 +1 @@
1
- {"hash":"11079d2746265545","duration":2430}
1
+ {"hash":"11079d2746265545","duration":2342}
@@ -0,0 +1 @@
1
+ {"hash":"115c4b73a12f5275","duration":20393}
@@ -1 +1 @@
1
- {"hash":"144e8e78657bf800","duration":1589}
1
+ {"hash":"144e8e78657bf800","duration":1734}
@@ -1 +1 @@
1
- {"hash":"18939b2c7c83b163","duration":3262}
1
+ {"hash":"18939b2c7c83b163","duration":3490}
@@ -1 +1 @@
1
- {"hash":"1de685df0eaa39c8","duration":2090}
1
+ {"hash":"1de685df0eaa39c8","duration":2753}
@@ -1 +1 @@
1
- {"hash":"1ec139dcf090d547","duration":4622}
1
+ {"hash":"1ec139dcf090d547","duration":4401}
@@ -1 +1 @@
1
- {"hash":"1f53ce3a28c56cdf","duration":2792}
1
+ {"hash":"1f53ce3a28c56cdf","duration":1950}
@@ -1 +1 @@
1
- {"hash":"23bf100310bd9f5a","duration":1934}
1
+ {"hash":"23bf100310bd9f5a","duration":1705}
@@ -1 +1 @@
1
- {"hash":"2900e7ec28e1488f","duration":2936}
1
+ {"hash":"2900e7ec28e1488f","duration":3114}
@@ -1 +1 @@
1
- {"hash":"296074aadfa2f8c9","duration":4262}
1
+ {"hash":"296074aadfa2f8c9","duration":3789}
@@ -1 +1 @@
1
- {"hash":"29e29355bf6fb4fd","duration":6161}
1
+ {"hash":"29e29355bf6fb4fd","duration":5509}
@@ -0,0 +1 @@
1
+ {"hash":"2cbcbc4a17387253","duration":9876}
@@ -1 +1 @@
1
- {"hash":"2f6c898fbb51e995","duration":3811}
1
+ {"hash":"2f6c898fbb51e995","duration":3489}
@@ -1 +1 @@
1
- {"hash":"3073b96f6e4d867c","duration":755}
1
+ {"hash":"3073b96f6e4d867c","duration":1243}
@@ -1 +1 @@
1
- {"hash":"33466ea2930c3714","duration":1765}
1
+ {"hash":"33466ea2930c3714","duration":1442}
@@ -0,0 +1 @@
1
+ {"hash":"3426941a74b0731e","duration":7593}
@@ -0,0 +1 @@
1
+ {"hash":"38b0799e2f7e62c5","duration":17914}
@@ -0,0 +1 @@
1
+ {"hash":"3fbc89f461c495db","duration":908}
@@ -1 +1 @@
1
- {"hash":"451e562c76f74ec6","duration":2611}
1
+ {"hash":"451e562c76f74ec6","duration":2801}
@@ -1 +1 @@
1
- {"hash":"4520919609c97850","duration":1897}
1
+ {"hash":"4520919609c97850","duration":1390}
@@ -1 +1 @@
1
- {"hash":"452908d0b0b676bc","duration":5793}
1
+ {"hash":"452908d0b0b676bc","duration":5711}
@@ -1 +1 @@
1
- {"hash":"48c197e39ed31fd2","duration":2236}
1
+ {"hash":"48c197e39ed31fd2","duration":1914}
@@ -1 +1 @@
1
- {"hash":"5058ecc7f1e34496","duration":2321}
1
+ {"hash":"5058ecc7f1e34496","duration":1582}
@@ -1 +1 @@
1
- {"hash":"5a66a99aa1344401","duration":721}
1
+ {"hash":"5a66a99aa1344401","duration":842}
@@ -1 +1 @@
1
- {"hash":"5b66ce21630716cc","duration":5822}
1
+ {"hash":"5b66ce21630716cc","duration":6135}
@@ -0,0 +1 @@
1
+ {"hash":"6002b76d50b8d1ff","duration":1766}
@@ -0,0 +1 @@
1
+ {"hash":"627e964e19b2bda5","duration":18560}
@@ -0,0 +1 @@
1
+ {"hash":"6907ebaae4f3a96b","duration":3307}
@@ -0,0 +1 @@
1
+ {"hash":"6f7175be597945f7","duration":3221}
@@ -1 +1 @@
1
- {"hash":"70d7b72f15ee97a4","duration":2229}
1
+ {"hash":"70d7b72f15ee97a4","duration":2510}
@@ -0,0 +1 @@
1
+ {"hash":"7cfdc01c415c836c","duration":9357}
@@ -1 +1 @@
1
- {"hash":"897b0d8a0c301207","duration":1866}
1
+ {"hash":"897b0d8a0c301207","duration":1527}
@@ -1 +1 @@
1
- {"hash":"8b7cdb9a0d4c3112","duration":3438}
1
+ {"hash":"8b7cdb9a0d4c3112","duration":3256}
@@ -1 +1 @@
1
- {"hash":"8e1f402b247ebed6","duration":3049}
1
+ {"hash":"8e1f402b247ebed6","duration":2783}
@@ -1 +1 @@
1
- {"hash":"90b8d9ccef5e09aa","duration":1751}
1
+ {"hash":"90b8d9ccef5e09aa","duration":1760}
@@ -1 +1 @@
1
- {"hash":"936bccb44ade3650","duration":3438}
1
+ {"hash":"936bccb44ade3650","duration":3160}
@@ -1 +1 @@
1
- {"hash":"94bcc4c6536ada9d","duration":2317}
1
+ {"hash":"94bcc4c6536ada9d","duration":1903}
@@ -0,0 +1 @@
1
+ {"hash":"990b9def0e83d33c","duration":5540}
@@ -1 +1 @@
1
- {"hash":"a532f4b8302ca13e","duration":5890}
1
+ {"hash":"a532f4b8302ca13e","duration":5358}
@@ -1 +1 @@
1
- {"hash":"a7bf477bbdabc7bc","duration":3325}
1
+ {"hash":"a7bf477bbdabc7bc","duration":3520}
@@ -1 +1 @@
1
- {"hash":"a90aa34f427a2f62","duration":1707}
1
+ {"hash":"a90aa34f427a2f62","duration":1081}
@@ -1 +1 @@
1
- {"hash":"aedda428051043c4","duration":1152}
1
+ {"hash":"aedda428051043c4","duration":955}
@@ -0,0 +1 @@
1
+ {"hash":"afc38ab505ef6dbb","duration":18490}
@@ -0,0 +1 @@
1
+ {"hash":"b1ed317b29e85c9d","duration":18709}
@@ -1 +1 @@
1
- {"hash":"b61416daf63fbaad","duration":3122}
1
+ {"hash":"b61416daf63fbaad","duration":2376}
@@ -0,0 +1 @@
1
+ {"hash":"b76edfbd1c076b0a","duration":2768}
@@ -1 +1 @@
1
- {"hash":"b9463532618cdc61","duration":1533}
1
+ {"hash":"b9463532618cdc61","duration":1940}
@@ -1 +1 @@
1
- {"hash":"bb3afea40c91e8ba","duration":1724}
1
+ {"hash":"bb3afea40c91e8ba","duration":1757}
@@ -0,0 +1 @@
1
+ {"hash":"c4df38a7e2cc767a","duration":19249}
@@ -1 +1 @@
1
- {"hash":"c63dc7b6157da70b","duration":2183}
1
+ {"hash":"c63dc7b6157da70b","duration":1778}
@@ -1 +1 @@
1
- {"hash":"c8b63b6e8a190eb9","duration":2074}
1
+ {"hash":"c8b63b6e8a190eb9","duration":2094}
@@ -1 +1 @@
1
- {"hash":"d35b1eee9f2881af","duration":3031}
1
+ {"hash":"d35b1eee9f2881af","duration":2789}
@@ -1 +1 @@
1
- {"hash":"d5188c0fbe45d578","duration":4609}
1
+ {"hash":"d5188c0fbe45d578","duration":4297}
@@ -1 +1 @@
1
- {"hash":"e4b3ec56d4ae56ba","duration":3611}
1
+ {"hash":"e4b3ec56d4ae56ba","duration":2621}
@@ -1 +1 @@
1
- {"hash":"e6f030eddf6fbf4e","duration":1668}
1
+ {"hash":"e6f030eddf6fbf4e","duration":1730}
@@ -1 +1 @@
1
- {"hash":"ff7e6d09efd93145","duration":2956}
1
+ {"hash":"ff7e6d09efd93145","duration":2376}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [1.6.0-beta.7](https://github.com/AlaskaAirlines/auro-formkit/compare/v1.6.0-beta.6...v1.6.0-beta.7) (2024-12-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * replace set to map for loadingslots in menu ([373ee72](https://github.com/AlaskaAirlines/auro-formkit/commit/373ee720a97161d89466aa65a76ec8fcc6ea2f8a))
9
+
10
+
11
+ ### Features
12
+
13
+ * add loading-placeholder in menu ([2bb2986](https://github.com/AlaskaAirlines/auro-formkit/commit/2bb2986056bd0c0e9051ee71a6636a8eeae286c7))
14
+ * hide bib while loading when there is no loading placeholder to show ([a6ebc21](https://github.com/AlaskaAirlines/auro-formkit/commit/a6ebc21116ab60bee8a2b2810e654ef6d80f8431))
15
+ * support loading state in combobox and menu ([01bd9b9](https://github.com/AlaskaAirlines/auro-formkit/commit/01bd9b92e3c7a81bd913c7501d8ccbbbd972b00c))
16
+
17
+
18
+ ### Performance Improvements
19
+
20
+ * replace `innerText` with `textContent` for better performance ([c3f99f1](https://github.com/AlaskaAirlines/auro-formkit/commit/c3f99f1abbae071ebeebdd3090fe070608659641))
21
+
3
22
  # [1.6.0-beta.6](https://github.com/AlaskaAirlines/auro-formkit/compare/v1.6.0-beta.5...v1.6.0-beta.6) (2024-12-18)
4
23
 
5
24
 
@@ -106,13 +106,13 @@ More info and automated migrator: https://sass-lang.com/d/import
106
106
 
107
107
  
108
108
  ./src/index.js → dist...
109
- created dist in 551ms
109
+ created dist in 559ms
110
110
  
111
111
  ./demo/index.js → ./demo/...
112
- created ./demo/ in 490ms
112
+ created ./demo/ in 425ms
113
113
  
114
114
  ./demo/api.js → ./demo/...
115
- created ./demo/ in 479ms
115
+ created ./demo/ in 445ms
116
116
 
117
117
  > @auro-formkit/auro-checkbox@4.1.0 build:docs
118
118
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component checkbox
@@ -4,10 +4,10 @@
4
4
 
5
5
  
6
6
  ./src/index.js → dist...
7
- created dist in 844ms
7
+ created dist in 558ms
8
8
  
9
9
  ./demo/index.js → ./demo/...
10
- created ./demo/ in 480ms
10
+ created ./demo/ in 455ms
11
11
  
12
12
  ./demo/api.js → ./demo/...
13
- created ./demo/ in 483ms
13
+ created ./demo/ in 470ms
@@ -64,13 +64,13 @@ More info and automated migrator: https://sass-lang.com/d/import
64
64
 
65
65
  
66
66
  ./src/index.js → dist...
67
- created dist in 922ms
67
+ created dist in 916ms
68
68
  
69
69
  ./demo/index.js → ./demo/...
70
- created ./demo/ in 653ms
70
+ created ./demo/ in 630ms
71
71
  
72
72
  ./demo/api.js → ./demo/...
73
- created ./demo/ in 625ms
73
+ created ./demo/ in 538ms
74
74
 
75
75
  > @auro-formkit/auro-combobox@2.1.4 build:docs
76
76
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component combobox
@@ -131,6 +131,7 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/combob
131
131
  ⁕ FILE:src=./../apiExamples/typeMonthDayYear.html
132
132
  ⁕ FILE:src=./../apiExamples/focus.html
133
133
  ⁕ FILE:src=./../apiExamples/helpText.html
134
+ ⁕ FILE:src=./../apiExamples/loading.html
134
135
  ⁕ FILE:src=./../apiExamples/inDialog.html
135
136
  ⁕ CODE:src=./../apiExamples/basic.html
136
137
  ⁕ CODE:src=./../apiExamples/dynamicMenu.html
@@ -147,6 +148,8 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/combob
147
148
  ⁕ CODE:src=./../apiExamples/focus.js
148
149
  ⁕ CODE:src=./../apiExamples/focus.html
149
150
  ⁕ CODE:src=./../apiExamples/helpText.html
151
+ ⁕ CODE:src=./../apiExamples/loading.js
152
+ ⁕ CODE:src=./../apiExamples/loading.html
150
153
  ⁕ CODE:src=./../apiExamples/inDialog.html
151
154
  ⁕ CODE:src=./../apiExamples/inDialog.js
152
155
 
@@ -45,6 +45,7 @@
45
45
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
46
46
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
47
47
  <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest/dist/auro-dialog__bundled.js" type="module"></script>
48
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-loader@latest/dist/auro-loader__bundled.js" type="module"></script>
48
49
 
49
50
  <script type="module" data-demo-script="true">
50
51
  import { initExamples } from "./api.min.js"
@@ -4,6 +4,7 @@ import { dynamicMenuExample } from '../apiExamples/dynamicMenu';
4
4
  import { valueExample } from '../apiExamples/value';
5
5
  import { focusExample } from '../apiExamples/focus';
6
6
  import { inDialogExample } from '../apiExamples/inDialog.js';
7
+ import { auroMenuLoadingExample } from '../apiExamples/loading.js';
7
8
 
8
9
 
9
10
  import { AuroCombobox } from '../src/auro-combobox.js';
@@ -20,6 +21,7 @@ export function initExamples(initCount) {
20
21
  valueExample();
21
22
  focusExample();
22
23
  inDialogExample();
24
+ auroMenuLoadingExample();
23
25
  } catch (err) {
24
26
  if (initCount <= 20) {
25
27
  // setTimeout handles issue where content is sometimes loaded after the functions get called
@@ -673,6 +673,79 @@ Sets the help text displayed below the trigger. The `helpText` slot can be used
673
673
  <!-- AURO-GENERATED-CONTENT:END -->
674
674
  </auro-accordion>
675
675
 
676
+ #### Loading<a name="loading"></a>
677
+ While content is loading, the menu can either remain empty or display a loading placeholder
678
+
679
+ <div class="exampleWrapper">
680
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
681
+ <!-- The below content is automatically added from ./../apiExamples/loading.html -->
682
+ <auro-combobox id="loadingExample">
683
+ <span slot="label">Please select a preference</span>
684
+ <auro-menu id="loadingExampleComboboxMenu">
685
+ <auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
686
+ </auro-menu>
687
+ </auro-combobox>
688
+ <!-- AURO-GENERATED-CONTENT:END -->
689
+ </div>
690
+ <auro-accordion alignRight>
691
+ <span slot="trigger">See code</span>
692
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.js) -->
693
+ <!-- The below code snippet is automatically added from ./../apiExamples/loading.js -->
694
+
695
+ ```js
696
+ export function auroMenuLoadingExample() {
697
+ const combobox = document.querySelector("#loadingExample");
698
+ const menu = document.querySelector("#loadingExampleComboboxMenu");
699
+
700
+ const emptyMenu = () => {
701
+ const menuoptions = menu.querySelectorAll('auro-menuoption');
702
+ menuoptions.forEach(mo => menu.removeChild(mo));
703
+ }
704
+
705
+ const fillMenu = () => {
706
+ menu.innerHTML += `
707
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
708
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
709
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
710
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
711
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
712
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
713
+ `;
714
+ }
715
+
716
+ const load = () => {
717
+ clearTimeout(load.id);
718
+ emptyMenu();
719
+ menu.setAttribute('loading', 'loading');
720
+ load.id = setTimeout(() => {
721
+ menu.removeAttribute('loading');
722
+ fillMenu();
723
+ }, 1000);
724
+
725
+ }
726
+
727
+ combobox.addEventListener("input", (e) => {
728
+ if (e.target.value && e.target.value !== e.target.optionSelected?.textContent) {
729
+ load();
730
+ }
731
+ });
732
+ }
733
+ ```
734
+ <!-- AURO-GENERATED-CONTENT:END -->
735
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.html) -->
736
+ <!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
737
+
738
+ ```html
739
+ <auro-combobox id="loadingExample">
740
+ <span slot="label">Please select a preference</span>
741
+ <auro-menu id="loadingExampleComboboxMenu">
742
+ <auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
743
+ </auro-menu>
744
+ </auro-combobox>
745
+ ```
746
+ <!-- AURO-GENERATED-CONTENT:END -->
747
+ </auro-accordion>
748
+
676
749
  #### in Dialog
677
750
 
678
751
  The component can be in a dialog.