@aurodesignsystem/auro-formkit 1.6.0-beta.8 → 2.0.0-beta.1

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 (337) hide show
  1. package/.turbo/cache/013a48308b893dac-meta.json +1 -0
  2. package/.turbo/cache/0663fcbb1d711029-meta.json +1 -0
  3. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  4. package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
  5. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +1 -0
  6. package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
  7. package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
  8. package/.turbo/cache/120c8e207aa1ba35-meta.json +1 -0
  9. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  10. package/.turbo/cache/141bb7d9a95e288b-meta.json +1 -0
  11. package/.turbo/cache/141bb7d9a95e288b.tar.zst +0 -0
  12. package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
  13. package/.turbo/cache/17dd4bdef6550a07-meta.json +1 -0
  14. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  15. package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
  16. package/.turbo/cache/1de15d89eed2d760-meta.json +1 -0
  17. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  18. package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
  19. package/.turbo/cache/2990aaa7ebc5b967-meta.json +1 -0
  20. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  21. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +1 -0
  22. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  23. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
  24. package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
  25. package/.turbo/cache/4f92cea2d8c63de2-meta.json +1 -0
  26. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  27. package/.turbo/cache/56cb35d4c7473a23-meta.json +1 -0
  28. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  29. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
  30. package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
  31. package/.turbo/cache/626afdc67e0cb540-meta.json +1 -0
  32. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  33. package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
  34. package/.turbo/cache/691a74627ec57993-meta.json +1 -0
  35. package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
  36. package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
  37. package/.turbo/cache/6ef81cf9a66f982a-meta.json +1 -0
  38. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  39. package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
  40. package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
  41. package/.turbo/cache/784c03fe9fd5ac05-meta.json +1 -0
  42. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  43. package/.turbo/cache/786a822763403879-meta.json +1 -0
  44. package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
  45. package/.turbo/cache/87219c41a4ace9cd-meta.json +1 -0
  46. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  47. package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
  48. package/.turbo/cache/9154e8fe6ab767ea-meta.json +1 -0
  49. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  50. package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
  51. package/.turbo/cache/993dff2edb7b6766-meta.json +1 -0
  52. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  53. package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
  54. package/.turbo/cache/a49cc58242467fdc-meta.json +1 -0
  55. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  56. package/.turbo/cache/a6a56bb802e1c20f-meta.json +1 -0
  57. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  58. package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
  59. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  60. package/.turbo/cache/af061e7a077a9ba5-meta.json +1 -0
  61. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  62. package/.turbo/cache/b50f1b283b4b81cd-meta.json +1 -0
  63. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  64. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
  65. package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
  66. package/.turbo/cache/bb8b41cd0ade3986-meta.json +1 -0
  67. package/.turbo/cache/bb8b41cd0ade3986.tar.zst +0 -0
  68. package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
  69. package/.turbo/cache/{7e81141e0140dd3a.tar.zst → be7c23c37b8ec74b.tar.zst} +0 -0
  70. package/.turbo/cache/bf85bc040b7e64db-meta.json +1 -0
  71. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  72. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
  73. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  74. package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
  75. package/.turbo/cache/cd5f6987783fb56d-meta.json +1 -0
  76. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  77. package/.turbo/cache/cd845bb6102c589a-meta.json +1 -0
  78. package/.turbo/cache/cd845bb6102c589a.tar.zst +0 -0
  79. package/.turbo/cache/ce67b6522dd09e64-meta.json +1 -0
  80. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  81. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +1 -0
  82. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  83. package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
  84. package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
  85. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  86. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
  87. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
  88. package/.turbo/cache/ff58f630c9d69af4-meta.json +1 -0
  89. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
  90. package/CHANGELOG.md +73 -0
  91. package/components/checkbox/.turbo/turbo-build.log +6 -3
  92. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  93. package/components/checkbox/demo/api.html +6 -1
  94. package/components/checkbox/demo/api.js +16 -0
  95. package/components/checkbox/demo/api.md +63 -4
  96. package/components/checkbox/demo/api.min.js +84 -13
  97. package/components/checkbox/demo/index.min.js +59 -13
  98. package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -1
  99. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  100. package/components/checkbox/dist/auro-checkbox.d.ts +5 -0
  101. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  102. package/components/checkbox/dist/index.js +59 -13
  103. package/components/checkbox/src/auro-checkbox-group.js +18 -6
  104. package/components/checkbox/src/auro-checkbox.js +9 -0
  105. package/components/combobox/.turbo/turbo-build.log +6 -3
  106. package/components/combobox/demo/api.js +4 -2
  107. package/components/combobox/demo/api.md +60 -1
  108. package/components/combobox/demo/api.min.js +159 -113
  109. package/components/combobox/demo/index.min.js +150 -113
  110. package/components/combobox/dist/auro-combobox.d.ts +5 -1
  111. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  112. package/components/combobox/dist/index.js +145 -76
  113. package/components/combobox/src/auro-combobox.js +14 -3
  114. package/components/counter/.turbo/turbo-build.log +3 -3
  115. package/components/counter/.turbo/turbo-bundler.log +3 -3
  116. package/components/datepicker/.turbo/turbo-build.log +5 -2
  117. package/components/datepicker/demo/api.js +2 -0
  118. package/components/datepicker/demo/api.md +46 -1
  119. package/components/datepicker/demo/api.min.js +156 -79
  120. package/components/datepicker/demo/index.min.js +147 -79
  121. package/components/datepicker/dist/auro-calendar.d.ts.map +1 -1
  122. package/components/datepicker/dist/auro-datepicker.d.ts +5 -2
  123. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  124. package/components/datepicker/dist/index.js +147 -79
  125. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  126. package/components/datepicker/dist/utilitiesCalendar.d.ts +1 -2
  127. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +1 -1
  128. package/components/datepicker/package.json +1 -1
  129. package/components/datepicker/src/auro-calendar.js +1 -0
  130. package/components/datepicker/src/auro-datepicker.js +14 -4
  131. package/components/datepicker/src/popoverVersion.js +1 -1
  132. package/components/datepicker/src/utilitiesCalendar.js +0 -1
  133. package/components/dropdown/.turbo/turbo-build.log +3 -3
  134. package/components/dropdown/.turbo/turbo-bundler.log +3 -3
  135. package/components/dropdown/demo/api.min.js +37 -25
  136. package/components/dropdown/demo/index.min.js +37 -25
  137. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  138. package/components/dropdown/dist/index.js +37 -25
  139. package/components/dropdown/package.json +1 -1
  140. package/components/dropdown/src/auro-dropdown.js +2 -2
  141. package/components/dropdown/src/iconVersion.js +1 -1
  142. package/components/dropdown/src/styles/bibStyles-css.js +1 -1
  143. package/components/dropdown/src/styles/bibStyles.css +0 -5
  144. package/components/dropdown/src/styles/bibStyles.scss +0 -7
  145. package/components/dropdown/src/styles/color-css.js +1 -1
  146. package/components/dropdown/src/styles/color.css +6 -7
  147. package/components/dropdown/src/styles/color.scss +7 -7
  148. package/components/dropdown/src/styles/style-css.js +1 -1
  149. package/components/dropdown/src/styles/style.css +1 -0
  150. package/components/dropdown/src/styles/style.scss +1 -0
  151. package/components/form/.turbo/turbo-build.log +3 -3
  152. package/components/form/.turbo/turbo-bundler.log +3 -3
  153. package/components/input/.turbo/turbo-build$colon$sass.log +2 -2
  154. package/components/input/.turbo/turbo-build.log +16 -13
  155. package/components/input/.turbo/turbo-bundler.log +3 -3
  156. package/components/input/demo/api.js +2 -0
  157. package/components/input/demo/api.md +183 -135
  158. package/components/input/demo/api.min.js +74 -44
  159. package/components/input/demo/index.min.js +62 -41
  160. package/components/input/dist/base-input.d.ts +8 -18
  161. package/components/input/dist/base-input.d.ts.map +1 -1
  162. package/components/input/dist/buttonVersion.d.ts +1 -1
  163. package/components/input/dist/iconVersion.d.ts +1 -1
  164. package/components/input/dist/index.js +62 -41
  165. package/components/input/package.json +2 -2
  166. package/components/input/src/base-input.js +23 -29
  167. package/components/input/src/buttonVersion.js +1 -1
  168. package/components/input/src/iconVersion.js +1 -1
  169. package/components/input/src/styles/input-css.js +1 -1
  170. package/components/input/src/styles/input.css +13 -0
  171. package/components/input/src/styles/input.scss +21 -0
  172. package/components/input/src/styles/label-css.js +1 -1
  173. package/components/input/src/styles/label.css +3 -3
  174. package/components/input/src/styles/label.scss +1 -2
  175. package/components/input/src/styles/notificationIcons-css.js +1 -1
  176. package/components/input/src/styles/notificationIcons.css +7 -0
  177. package/components/input/src/styles/notificationIcons.scss +14 -0
  178. package/components/input/src/styles/style-css.js +1 -1
  179. package/components/input/src/styles/style.css +23 -3
  180. package/components/menu/.turbo/turbo-build.log +3 -3
  181. package/components/menu/.turbo/turbo-bundler.log +3 -3
  182. package/components/menu/demo/api.md +1 -5
  183. package/components/menu/demo/api.min.js +5 -37
  184. package/components/menu/demo/index.min.js +5 -37
  185. package/components/menu/dist/auro-menu.d.ts +0 -4
  186. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  187. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  188. package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
  189. package/components/menu/dist/iconVersion.d.ts +1 -1
  190. package/components/menu/dist/index.js +5 -37
  191. package/components/menu/package.json +1 -1
  192. package/components/menu/src/auro-menu.js +0 -32
  193. package/components/menu/src/auro-menuoption.js +1 -2
  194. package/components/menu/src/iconVersion.js +1 -1
  195. package/components/radio/.turbo/turbo-build.log +6 -3
  196. package/components/radio/.turbo/turbo-bundler.log +3 -3
  197. package/components/radio/demo/api.html +1 -0
  198. package/components/radio/demo/api.js +2 -0
  199. package/components/radio/demo/api.md +57 -3
  200. package/components/radio/demo/api.min.js +55 -12
  201. package/components/radio/demo/index.min.js +46 -12
  202. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  203. package/components/radio/dist/auro-radio.d.ts +5 -0
  204. package/components/radio/dist/auro-radio.d.ts.map +1 -1
  205. package/components/radio/dist/index.js +46 -12
  206. package/components/radio/src/auro-radio-group.js +5 -5
  207. package/components/radio/src/auro-radio.js +9 -0
  208. package/components/select/.turbo/turbo-build.log +10 -7
  209. package/components/select/demo/api.js +6 -2
  210. package/components/select/demo/api.md +137 -70
  211. package/components/select/demo/api.min.js +105 -73
  212. package/components/select/demo/index.min.js +85 -73
  213. package/components/select/dist/auro-select.d.ts +5 -1
  214. package/components/select/dist/auro-select.d.ts.map +1 -1
  215. package/components/select/dist/index.js +80 -36
  216. package/components/select/src/auro-select.js +11 -4
  217. package/package.json +2 -2
  218. package/packages/form-validation/src/validation.js +32 -7
  219. package/.turbo/cache/0008b92c8752bf75-meta.json +0 -1
  220. package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
  221. package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
  222. package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
  223. package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
  224. package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
  225. package/.turbo/cache/06f476671015e973-meta.json +0 -1
  226. package/.turbo/cache/06f476671015e973.tar.zst +0 -0
  227. package/.turbo/cache/09df74d672102662-meta.json +0 -1
  228. package/.turbo/cache/09df74d672102662.tar.zst +0 -0
  229. package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
  230. package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
  231. package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
  232. package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
  233. package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
  234. package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
  235. package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
  236. package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
  237. package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
  238. package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
  239. package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
  240. package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
  241. package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
  242. package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
  243. package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
  244. package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
  245. package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
  246. package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
  247. package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
  248. package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
  249. package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
  250. package/.turbo/cache/408ea1754276298c-meta.json +0 -1
  251. package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
  252. package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
  253. package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
  254. package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
  255. package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
  256. package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
  257. package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
  258. package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
  259. package/.turbo/cache/593ddf689673e305-meta.json +0 -1
  260. package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
  261. package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
  262. package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
  263. package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
  264. package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
  265. package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
  266. package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
  267. package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
  268. package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
  269. package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
  270. package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
  271. package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
  272. package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
  273. package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
  274. package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
  275. package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
  276. package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
  277. package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
  278. package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
  279. package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
  280. package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
  281. package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
  282. package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
  283. package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
  284. package/.turbo/cache/afd81e4f9d4bb74d-meta.json +0 -1
  285. package/.turbo/cache/afd81e4f9d4bb74d.tar.zst +0 -0
  286. package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
  287. package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
  288. package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
  289. package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
  290. package/.turbo/cache/bde11c3029373459-meta.json +0 -1
  291. package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
  292. package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
  293. package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
  294. package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
  295. package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
  296. package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
  297. package/.turbo/cache/de9737607345ec54-meta.json +0 -1
  298. package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
  299. package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
  300. package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
  301. package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
  302. package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
  303. package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
  304. package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
  305. package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
  306. package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
  307. package/components/dropdown/dist/floatingUI.d.mts +0 -68
  308. package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
  309. package/components/dropdown/src/floatingUI.mjs +0 -381
  310. package/components/select/demo/alertValue.js +0 -6
  311. /package/.turbo/cache/{b37b0eb5597e160f.tar.zst → 013a48308b893dac.tar.zst} +0 -0
  312. /package/.turbo/cache/{8cac06ca809bd2b1.tar.zst → 07ca42419b9f050c.tar.zst} +0 -0
  313. /package/.turbo/cache/{e7244fdd3397eba7.tar.zst → 0cea4c1f34f3683b.tar.zst} +0 -0
  314. /package/.turbo/cache/{e89a401ebdda3fc2.tar.zst → 17259cf94d8f8925.tar.zst} +0 -0
  315. /package/.turbo/cache/{a3a879aea25debf8.tar.zst → 1c99a949ec63ab35.tar.zst} +0 -0
  316. /package/.turbo/cache/{17c429ade621ffcb.tar.zst → 257a7a26ea72dbc5.tar.zst} +0 -0
  317. /package/.turbo/cache/{d0e874a9a71c9468.tar.zst → 3bf45120d0cc9bd8.tar.zst} +0 -0
  318. /package/.turbo/cache/{0cd109fb3183c2e6.tar.zst → 45035bf5c4147ccd.tar.zst} +0 -0
  319. /package/.turbo/cache/{bde11c3029373459.tar.zst → 5c16ce3cff5c9dff.tar.zst} +0 -0
  320. /package/.turbo/cache/{1db02f756ce85784.tar.zst → 5f304c0f37ef25f3.tar.zst} +0 -0
  321. /package/.turbo/cache/{9ed3089ffd7d0c00.tar.zst → 64de7a53e02db647.tar.zst} +0 -0
  322. /package/.turbo/cache/{32702694d62a08ac.tar.zst → 691a74627ec57993.tar.zst} +0 -0
  323. /package/.turbo/cache/{00cb38bef1105dac.tar.zst → 69aae513b7ec6c7d.tar.zst} +0 -0
  324. /package/.turbo/cache/{e7cf2cc625bd92b3.tar.zst → 6dd7058e6703cb35.tar.zst} +0 -0
  325. /package/.turbo/cache/{748faca09d14fea7.tar.zst → 73e9073a5274616d.tar.zst} +0 -0
  326. /package/.turbo/cache/{83bb78fec13808d0.tar.zst → 773edc0f83c8c5a5.tar.zst} +0 -0
  327. /package/.turbo/cache/{892a90b62716ded5.tar.zst → 786a822763403879.tar.zst} +0 -0
  328. /package/.turbo/cache/{7419ef01dc18b433.tar.zst → 80b5d974184a01df.tar.zst} +0 -0
  329. /package/.turbo/cache/{0157ec8abdaf2a9c.tar.zst → 8954c6073396fadd.tar.zst} +0 -0
  330. /package/.turbo/cache/{bc8eed3d7216f5b7.tar.zst → 92daa6d7c389d548.tar.zst} +0 -0
  331. /package/.turbo/cache/{e541225f46f7cf86.tar.zst → 9a097d6576dadd64.tar.zst} +0 -0
  332. /package/.turbo/cache/{2778d5e895240cd1.tar.zst → b54fc4f664a7a5a0.tar.zst} +0 -0
  333. /package/.turbo/cache/{a8f6418b830ef0ba.tar.zst → ba4418918621fbcd.tar.zst} +0 -0
  334. /package/.turbo/cache/{4bec46ffff6fd2e8.tar.zst → cc81de9c0b452a7c.tar.zst} +0 -0
  335. /package/.turbo/cache/{31729e74fccaafb0.tar.zst → dad1301ac69bcb85.tar.zst} +0 -0
  336. /package/.turbo/cache/{d61b4e1bde4c0a12.tar.zst → fa132b5b5f0e75f8.tar.zst} +0 -0
  337. /package/.turbo/cache/{249d9ba3ee6aa1cb.tar.zst → fbbe2704bf9cb90b.tar.zst} +0 -0
@@ -1 +0,0 @@
1
- {"hash":"d61b4e1bde4c0a12","duration":2994}
@@ -1 +0,0 @@
1
- {"hash":"db6dedc0e7a12575","duration":18695}
@@ -1 +0,0 @@
1
- {"hash":"de9737607345ec54","duration":6190}
@@ -1 +0,0 @@
1
- {"hash":"e234aa902b2c5b30","duration":2612}
@@ -1 +0,0 @@
1
- {"hash":"e541225f46f7cf86","duration":1498}
@@ -1 +0,0 @@
1
- {"hash":"e67ac30b07d9e800","duration":18776}
@@ -1 +0,0 @@
1
- {"hash":"e7244fdd3397eba7","duration":1170}
@@ -1 +0,0 @@
1
- {"hash":"e7cf2cc625bd92b3","duration":1968}
@@ -1 +0,0 @@
1
- {"hash":"e89a401ebdda3fc2","duration":1906}
@@ -1,68 +0,0 @@
1
- export default class AuroFloatingUI {
2
- focusHandler: () => void;
3
- clickHandler: (evt: any) => void;
4
- keyDownHandler: (evt: any) => void;
5
- /**
6
- * @private
7
- * Adjusts the size of the bib content based on the bibSizer dimensions.
8
- *
9
- * This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
10
- * If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
11
- * mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
12
- *
13
- * @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
14
- * If true, the bib content dimensions are cleared; if false, they are set
15
- * based on the bibSizer's computed styles.
16
- */
17
- private mirrorSize;
18
- /**
19
- * @private
20
- * Determines the positioning strategy based on the current viewport size and mobile breakpoint.
21
- *
22
- * This method checks if the current viewport width is less than or equal to the specified mobile fullscreen breakpoint
23
- * defined in the bib element. If it is, the strategy is set to 'fullscreen'; otherwise, it defaults to 'floating'.
24
- *
25
- * @returns {String} The positioning strategy, either 'fullscreen' or 'floating'.
26
- */
27
- private getPositioningStrategy;
28
- /**
29
- * @private
30
- * Positions the bib element based on the current configuration and positioning strategy.
31
- *
32
- * This method determines the appropriate positioning strategy (fullscreen or not) and configures the bib accordingly.
33
- * It also sets up middleware for the floater configuration, computes the position of the bib relative to the trigger element,
34
- * and applies the calculated position to the bib's style.
35
- */
36
- private position;
37
- /**
38
- * @private
39
- * Configures the bib element for fullscreen mode based on the mobile status.
40
- *
41
- * This method sets the 'isFullscreen' attribute on the bib element to "true" if the `isMobile` parameter is true,
42
- * and resets its position to the top-left corner of the viewport. If `isMobile` is false, it removes the
43
- * 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
44
- *
45
- * @param {boolean} isMobile - A flag indicating whether the current device is mobile.
46
- */
47
- private configureBibFullscreen;
48
- updateState(): void;
49
- handleFocusLoss(): void;
50
- setupHideHandlers(): void;
51
- cleanupHideHandlers(): void;
52
- handleUpdate(changedProperties: any): void;
53
- updateCurrentExpandedDropdown(): void;
54
- showBib(): void;
55
- hideBib(): void;
56
- /**
57
- * @private
58
- * @returns {void} Dispatches event with an object showing the state of the dropdown.
59
- */
60
- private dispatchEventDropdownToggle;
61
- handleClick(): void;
62
- handleEvent(event: any): void;
63
- handleTriggerTabIndex(): void;
64
- configure(elem: any): void;
65
- element: any;
66
- disconnect(): void;
67
- }
68
- //# sourceMappingURL=floatingUI.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"floatingUI.d.mts","sourceRoot":"","sources":["../src/floatingUI.mjs"],"names":[],"mappings":"AAIA;IAGI,yBAAwB;IACxB,iCAAwB;IACxB,mCAA0B;IAG5B;;;;;;;;;;;OAWG;IACH,mBAmBC;IAED;;;;;;;;OAQG;IACH,+BASC;IAED;;;;;;;OAOG;IACH,iBA2BC;IAED;;;;;;;;;OASG;IACH,+BASC;IAED,oBAkBC;IAED,wBAcC;IAED,0BAsBC;IAED,4BAgBC;IAED,2CAIC;IAED,sCAOC;IAED,gBAiBC;IAED,gBAMC;IAED;;;OAGG;IACH,oCASC;IAED,oBAeC;IAED,8BAwCC;IAED,8BA4BC;IAED,2BAiBC;IAhBC,aAAmB;IAkBrB,mBAaC;CACF"}
@@ -1,381 +0,0 @@
1
- /* eslint-disable line-comment-position, no-inline-comments */
2
-
3
- import { autoUpdate, computePosition, offset, autoPlacement, flip } from '@floating-ui/dom';
4
-
5
- export default class AuroFloatingUI {
6
- constructor() {
7
- // Store event listener references for cleanup
8
- this.focusHandler = null;
9
- this.clickHandler = null;
10
- this.keyDownHandler = null;
11
- }
12
-
13
- /**
14
- * @private
15
- * Adjusts the size of the bib content based on the bibSizer dimensions.
16
- *
17
- * This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
18
- * If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
19
- * mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
20
- *
21
- * @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
22
- * If true, the bib content dimensions are cleared; if false, they are set
23
- * based on the bibSizer's computed styles.
24
- */
25
- mirrorSize(fullscreen) {
26
- // mirror the boxsize from bibSizer
27
- const sizerStyle = window.getComputedStyle(this.element.bibSizer);
28
- const bibContent = this.element.bib.shadowRoot.querySelector(".container");
29
- if (fullscreen) {
30
- bibContent.style.width = '';
31
- bibContent.style.height = '';
32
- bibContent.style.maxWidth = '';
33
- bibContent.style.maxHeight = '';
34
- } else {
35
- if (sizerStyle.width !== '0px') {
36
- bibContent.style.width = sizerStyle.width;
37
- }
38
- if (sizerStyle.height !== '0px') {
39
- bibContent.style.height = sizerStyle.height;
40
- }
41
- bibContent.style.maxWidth = sizerStyle.maxWidth;
42
- bibContent.style.maxHeight = sizerStyle.maxHeight;
43
- }
44
- }
45
-
46
- /**
47
- * @private
48
- * Determines the positioning strategy based on the current viewport size and mobile breakpoint.
49
- *
50
- * This method checks if the current viewport width is less than or equal to the specified mobile fullscreen breakpoint
51
- * defined in the bib element. If it is, the strategy is set to 'fullscreen'; otherwise, it defaults to 'floating'.
52
- *
53
- * @returns {String} The positioning strategy, either 'fullscreen' or 'floating'.
54
- */
55
- getPositioningStrategy() {
56
- let strategy = 'floating';
57
- if (this.element.bib.mobileFullscreenBreakpoint) {
58
- const isMobile = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
59
- if (isMobile) {
60
- strategy = 'fullscreen';
61
- }
62
- }
63
- return strategy;
64
- }
65
-
66
- /**
67
- * @private
68
- * Positions the bib element based on the current configuration and positioning strategy.
69
- *
70
- * This method determines the appropriate positioning strategy (fullscreen or not) and configures the bib accordingly.
71
- * It also sets up middleware for the floater configuration, computes the position of the bib relative to the trigger element,
72
- * and applies the calculated position to the bib's style.
73
- */
74
- position() {
75
- const strategy = this.getPositioningStrategy();
76
- if (strategy === 'fullscreen') {
77
- this.configureBibFullscreen(true);
78
- this.mirrorSize(true);
79
- } else {
80
- this.configureBibFullscreen(false);
81
- this.mirrorSize(false);
82
-
83
- // Define the middlware for the floater configuration
84
- const middleware = [
85
- offset(this.element.floaterConfig.offset || 0),
86
- ...(this.element.floaterConfig.flip ? [flip()] : []), // Add flip middleware if flip is enabled
87
- ...(this.element.floaterConfig.autoPlacement ? [autoPlacement()] : []), // Add autoPlacement middleware if autoPlacement is enabled
88
- ];
89
-
90
- // Compute the position of the bib
91
- computePosition(this.element.trigger, this.element.bib, {
92
- placement: this.element.floaterConfig.placement || 'bottom',
93
- middleware: middleware || []
94
- }).then(({x, y}) => { // eslint-disable-line id-length
95
- Object.assign(this.element.bib.style, {
96
- left: `${x}px`,
97
- top: `${y}px`,
98
- });
99
- });
100
- }
101
- }
102
-
103
- /**
104
- * @private
105
- * Configures the bib element for fullscreen mode based on the mobile status.
106
- *
107
- * This method sets the 'isFullscreen' attribute on the bib element to "true" if the `isMobile` parameter is true,
108
- * and resets its position to the top-left corner of the viewport. If `isMobile` is false, it removes the
109
- * 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
110
- *
111
- * @param {boolean} isMobile - A flag indicating whether the current device is mobile.
112
- */
113
- configureBibFullscreen(isMobile) {
114
- if (isMobile) {
115
- this.element.bib.setAttribute('isFullscreen', "true");
116
- // reset the prev position
117
- this.element.bib.style.top = "0px";
118
- this.element.bib.style.left = "0px";
119
- } else {
120
- this.element.bib.removeAttribute('isFullscreen');
121
- }
122
- }
123
-
124
- updateState() {
125
- const isVisible = this.element.isPopoverVisible;
126
- this.element.trigger.setAttribute('aria-expanded', isVisible);
127
-
128
- if (isVisible) {
129
- this.element.bib.setAttribute('data-show', true);
130
- } else {
131
- this.element.bib.removeAttribute('data-show');
132
- }
133
-
134
- if (!isVisible) {
135
- this.cleanupHideHandlers();
136
- try {
137
- this.element.cleanup?.();
138
- } catch (error) {
139
- // Do nothing
140
- }
141
- }
142
- }
143
-
144
- handleFocusLoss() {
145
- if (this.element.noHideOnThisFocusLoss ||
146
- this.element.hasAttribute('noHideOnThisFocusLoss')) {
147
- return;
148
- }
149
-
150
- const {activeElement} = document;
151
- if (activeElement === document.querySelector('body') ||
152
- this.element.contains(activeElement) ||
153
- this.element.bibContent?.contains(activeElement)) {
154
- return;
155
- }
156
-
157
- this.hideBib();
158
- }
159
-
160
- setupHideHandlers() {
161
- // Define handlers & store references
162
- this.focusHandler = () => this.handleFocusLoss();
163
-
164
- this.clickHandler = (evt) => {
165
- if (!evt.composedPath().includes(this.element.trigger) &&
166
- !evt.composedPath().includes(this.element.bibContent)) {
167
- this.hideBib();
168
- }
169
- };
170
-
171
- // ESC key handler
172
- this.keyDownHandler = (evt) => {
173
- if (evt.key === 'Escape' && this.element.isPopoverVisible) {
174
- this.hideBib();
175
- }
176
- };
177
-
178
- // Add event listeners using the stored references
179
- document.addEventListener('focusin', this.focusHandler);
180
- window.addEventListener('click', this.clickHandler);
181
- document.addEventListener('keydown', this.keyDownHandler);
182
- }
183
-
184
- cleanupHideHandlers() {
185
- // Remove event listeners if they exist
186
- if (this.focusHandler) {
187
- document.removeEventListener('focusin', this.focusHandler);
188
- this.focusHandler = null;
189
- }
190
-
191
- if (this.clickHandler) {
192
- window.removeEventListener('click', this.clickHandler);
193
- this.clickHandler = null;
194
- }
195
-
196
- if (this.keyDownHandler) {
197
- document.removeEventListener('keydown', this.keyDownHandler);
198
- this.keyDownHandler = null;
199
- }
200
- }
201
-
202
- handleUpdate(changedProperties) {
203
- if (changedProperties.has('isPopoverVisible')) {
204
- this.updateState();
205
- }
206
- }
207
-
208
- updateCurrentExpandedDropdown() {
209
- // Close any other dropdown that is already open
210
- if (document.expandedAuroDropdown) {
211
- this.hideBib(document.expandedAuroDropdown);
212
- }
213
-
214
- document.expandedAuroDropdown = this;
215
- }
216
-
217
- showBib() {
218
- if (!this.element.disabled && !this.element.isPopoverVisible) {
219
- this.updateCurrentExpandedDropdown();
220
- this.element.isPopoverVisible = true;
221
- this.element.triggerChevron?.setAttribute('data-expanded', true);
222
- this.dispatchEventDropdownToggle();
223
- this.position();
224
-
225
- // Clean up any existing handlers before setting up new ones
226
- this.cleanupHideHandlers();
227
- this.setupHideHandlers();
228
-
229
- // Setup auto update to handle resize and scroll
230
- this.element.cleanup = autoUpdate(this.element.trigger, this.element.bib, () => {
231
- this.position();
232
- });
233
- }
234
- }
235
-
236
- hideBib() {
237
- if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
238
- this.element.isPopoverVisible = false;
239
- this.element.triggerChevron?.removeAttribute('data-expanded');
240
- this.dispatchEventDropdownToggle();
241
- }
242
- }
243
-
244
- /**
245
- * @private
246
- * @returns {void} Dispatches event with an object showing the state of the dropdown.
247
- */
248
- dispatchEventDropdownToggle() {
249
- const event = new CustomEvent('auroDropdown-toggled', {
250
- detail: {
251
- expanded: this.isPopoverVisible,
252
- },
253
- composed: true
254
- });
255
-
256
- this.element.dispatchEvent(event);
257
- }
258
-
259
- handleClick() {
260
- if (this.element.isPopoverVisible) {
261
- this.hideBib();
262
- } else {
263
- this.showBib();
264
- }
265
-
266
- const event = new CustomEvent('auroDropdown-triggerClick', {
267
- composed: true,
268
- details: {
269
- expanded: this.element.isPopoverVisible
270
- }
271
- });
272
-
273
- this.element.dispatchEvent(event);
274
- }
275
-
276
- handleEvent(event) {
277
- if (!this.element.disableEventShow) {
278
- switch (event.type) {
279
- case 'keydown':
280
- // Support both Enter and Space keys for accessibility
281
- // Space is included as it's expected behavior for interactive elements
282
- if (event.key === 'Enter' || event.key === ' ') {
283
- event.preventDefault(); // Prevent page scroll on space
284
- this.handleClick();
285
- }
286
- break;
287
- case 'mouseenter':
288
- if (this.element.hoverToggle) {
289
- this.showBib();
290
- }
291
- break;
292
- case 'mouseleave':
293
- if (this.element.hoverToggle) {
294
- this.hideBib();
295
- }
296
- break;
297
- case 'focus':
298
- if (this.element.focusShow) {
299
- /*
300
- This needs to better handle clicking that gives focus -
301
- currently it shows and then immediately hides the bib
302
- */
303
- this.showBib();
304
- }
305
- break;
306
- case 'blur':
307
- this.handleFocusLoss();
308
- break;
309
- case 'click':
310
- this.handleClick();
311
- break;
312
- default:
313
- // Do nothing
314
- }
315
- }
316
- }
317
-
318
- handleTriggerTabIndex() {
319
- const focusableElementSelectors = [
320
- 'a',
321
- 'button',
322
- 'input:not([type="hidden"])',
323
- 'select',
324
- 'textarea',
325
- '[tabindex]:not([tabindex="-1"])',
326
- 'auro-button',
327
- 'auro-input',
328
- 'auro-hyperlink'
329
- ];
330
-
331
- const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
332
- const triggerNodeTagName = triggerNode.tagName.toLowerCase();
333
-
334
- focusableElementSelectors.forEach((selector) => {
335
- // Check if the trigger node element is focusable
336
- if (triggerNodeTagName === selector) {
337
- this.element.tabIndex = -1;
338
- return;
339
- }
340
-
341
- // Check if any child is focusable
342
- if (triggerNode.querySelector(selector)) {
343
- this.element.tabIndex = -1;
344
- }
345
- });
346
- }
347
-
348
- configure(elem) {
349
- this.element = elem;
350
- this.element.trigger = this.element.shadowRoot.querySelector('#trigger');
351
- this.element.bib = this.element.shadowRoot.querySelector('#bib');
352
- this.element.bibSizer = this.element.shadowRoot.querySelector('#bibSizer');
353
- this.element.triggerChevron = this.element.shadowRoot.querySelector('#showStateIcon');
354
-
355
- document.body.append(this.element.bib);
356
-
357
- this.handleTriggerTabIndex();
358
-
359
- this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
360
- this.element.trigger.addEventListener('click', (event) => this.handleEvent(event));
361
- this.element.trigger.addEventListener('mouseenter', (event) => this.handleEvent(event));
362
- this.element.trigger.addEventListener('mouseleave', (event) => this.handleEvent(event));
363
- this.element.trigger.addEventListener('focus', (event) => this.handleEvent(event));
364
- this.element.trigger.addEventListener('blur', (event) => this.handleEvent(event));
365
- }
366
-
367
- disconnect() {
368
- this.cleanupHideHandlers();
369
- this.element.cleanup?.();
370
-
371
- // Remove event & keyboard listeners
372
- if (this.element?.trigger) {
373
- this.element.trigger.removeEventListener('keydown', (event) => this.handleEvent(event));
374
- this.element.trigger.removeEventListener('click', (event) => this.handleEvent(event));
375
- this.element.trigger.removeEventListener('mouseenter', (event) => this.handleEvent(event));
376
- this.element.trigger.removeEventListener('mouseleave', (event) => this.handleEvent(event));
377
- this.element.trigger.removeEventListener('focus', (event) => this.handleEvent(event));
378
- this.element.trigger.removeEventListener('blur', (event) => this.handleEvent(event));
379
- }
380
- }
381
- }
@@ -1,6 +0,0 @@
1
- export function valueAlert(elem) {
2
- elem.addEventListener('selectedOption', () => {
3
- console.warn('Select value changed to:', elem.value);
4
- console.warn('Select optionSelected changed to:', elem.optionSelected);
5
- })
6
- }