@aurodesignsystem/auro-formkit 2.0.0-beta.35 → 2.0.0-beta.37

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 (260) hide show
  1. package/.turbo/cache/03338963f2ae4c89-meta.json +1 -0
  2. package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
  3. package/.turbo/cache/06dfc9c20aacd0fa-meta.json +1 -0
  4. package/.turbo/cache/075034ccdb82fbea-meta.json +1 -0
  5. package/.turbo/cache/0ff927ad868537f6-meta.json +1 -0
  6. package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
  7. package/.turbo/cache/10b8500a6b0c6655-meta.json +1 -0
  8. package/.turbo/cache/138466aaa06fa946-meta.json +1 -0
  9. package/.turbo/cache/1a8525cb6ad91e2a-meta.json +1 -0
  10. package/.turbo/cache/1d4e8167ea8e924f-meta.json +1 -0
  11. package/.turbo/cache/209b5682475d8333-meta.json +1 -0
  12. package/.turbo/cache/2289d12debb3c42c-meta.json +1 -0
  13. package/.turbo/cache/22fc147c04804f70-meta.json +1 -0
  14. package/.turbo/cache/24e457ee9e1ebc05-meta.json +1 -0
  15. package/.turbo/cache/24e457ee9e1ebc05.tar.zst +0 -0
  16. package/.turbo/cache/28ade2a49ef35074-meta.json +1 -0
  17. package/.turbo/cache/{a57b56e1d77cb964.tar.zst → 28ade2a49ef35074.tar.zst} +0 -0
  18. package/.turbo/cache/3025cdff2ca7afbf-meta.json +1 -0
  19. package/.turbo/cache/3082b3a86c0f9b94-meta.json +1 -0
  20. package/.turbo/cache/3cac4f0ba5726b97-meta.json +1 -0
  21. package/.turbo/cache/{636856e9513dd881.tar.zst → 3cac4f0ba5726b97.tar.zst} +0 -0
  22. package/.turbo/cache/405ad11306c010b0-meta.json +1 -0
  23. package/.turbo/cache/405ad11306c010b0.tar.zst +0 -0
  24. package/.turbo/cache/43995f6c84a2de33-meta.json +1 -0
  25. package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
  26. package/.turbo/cache/4a09314b87cc414d-meta.json +1 -0
  27. package/.turbo/cache/{b770ff022e446032.tar.zst → 4a09314b87cc414d.tar.zst} +0 -0
  28. package/.turbo/cache/4aadd7fe6b69cccf-meta.json +1 -0
  29. package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
  30. package/.turbo/cache/5b3bb164db4c477c-meta.json +1 -0
  31. package/.turbo/cache/667079b4045c11a9-meta.json +1 -0
  32. package/.turbo/cache/667079b4045c11a9.tar.zst +0 -0
  33. package/.turbo/cache/68c6e1baddbae823-meta.json +1 -0
  34. package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +1 -0
  35. package/.turbo/cache/6c4a349c3dc6cd53-meta.json +1 -0
  36. package/.turbo/cache/6c4a349c3dc6cd53.tar.zst +0 -0
  37. package/.turbo/cache/6d48e8dc24e08c8c-meta.json +1 -0
  38. package/.turbo/cache/{b169402fda42f218.tar.zst → 6d48e8dc24e08c8c.tar.zst} +0 -0
  39. package/.turbo/cache/70e65d2581c9de95-meta.json +1 -0
  40. package/.turbo/cache/787da07242f11ca3-meta.json +1 -0
  41. package/.turbo/cache/85f181c5a0ebfdc3-meta.json +1 -0
  42. package/.turbo/cache/88d4c5b7339b081b-meta.json +1 -0
  43. package/.turbo/cache/8f20a1cd3533e2cb-meta.json +1 -0
  44. package/.turbo/cache/91de2098a36b6939-meta.json +1 -0
  45. package/.turbo/cache/96edc0764ed4ab77-meta.json +1 -0
  46. package/.turbo/cache/a5a09f2f7d54a08c-meta.json +1 -0
  47. package/.turbo/cache/{457a9f56f941d179.tar.zst → a5a09f2f7d54a08c.tar.zst} +0 -0
  48. package/.turbo/cache/a776eb6f87cd7464-meta.json +1 -0
  49. package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +1 -0
  50. package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
  51. package/.turbo/cache/ac47b2df8381d990-meta.json +1 -0
  52. package/.turbo/cache/ad64961726cfa8f1-meta.json +1 -0
  53. package/.turbo/cache/b0c920630dcdfe8c-meta.json +1 -0
  54. package/.turbo/cache/b0c920630dcdfe8c.tar.zst +0 -0
  55. package/.turbo/cache/b59135e2bdaeed6d-meta.json +1 -0
  56. package/.turbo/cache/{46083e154ba76896.tar.zst → b59135e2bdaeed6d.tar.zst} +0 -0
  57. package/.turbo/cache/bff34c0db361f414-meta.json +1 -0
  58. package/.turbo/cache/c1c7334875426ff3-meta.json +1 -0
  59. package/.turbo/cache/cd12b66dd972aaf7-meta.json +1 -0
  60. package/.turbo/cache/cf74604f39b00f11-meta.json +1 -0
  61. package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
  62. package/.turbo/cache/d5dbe6fb31ae5667-meta.json +1 -0
  63. package/.turbo/cache/d7ca7fb410ee2188-meta.json +1 -0
  64. package/.turbo/cache/e110f476f3c2c001-meta.json +1 -0
  65. package/.turbo/cache/e110f476f3c2c001.tar.zst +0 -0
  66. package/.turbo/cache/e64bd75c16c140f3-meta.json +1 -0
  67. package/.turbo/cache/e64e2c10c321484a-meta.json +1 -0
  68. package/.turbo/cache/e64e2c10c321484a.tar.zst +0 -0
  69. package/.turbo/cache/e8bf0db4ce0bd119-meta.json +1 -0
  70. package/.turbo/cache/e8bf0db4ce0bd119.tar.zst +0 -0
  71. package/.turbo/cache/ea92743dea3b7023-meta.json +1 -0
  72. package/.turbo/cache/eed8d2c214d428ed-meta.json +1 -0
  73. package/.turbo/cache/f22dc2dd55715ba2-meta.json +1 -0
  74. package/.turbo/cache/f8f99ba69bff8f2c-meta.json +1 -0
  75. package/.turbo/cache/faafa5cc35d12e06-meta.json +1 -0
  76. package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
  77. package/CHANGELOG.md +21 -0
  78. package/components/checkbox/.turbo/turbo-build.log +3 -3
  79. package/components/checkbox/README.md +2 -2
  80. package/components/checkbox/package.json +2 -2
  81. package/components/combobox/.turbo/turbo-build.log +1 -1
  82. package/components/combobox/README.md +5 -5
  83. package/components/combobox/demo/api.min.js +85 -11
  84. package/components/combobox/demo/index.min.js +85 -11
  85. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  86. package/components/combobox/dist/index.js +85 -11
  87. package/components/combobox/package.json +2 -2
  88. package/components/combobox/src/auro-combobox.js +0 -4
  89. package/components/counter/.turbo/turbo-build.log +3 -3
  90. package/components/counter/.turbo/turbo-bundler.log +3 -3
  91. package/components/counter/README.md +2 -2
  92. package/components/counter/demo/api.min.js +88 -10
  93. package/components/counter/demo/index.min.js +88 -10
  94. package/components/counter/dist/index.js +88 -10
  95. package/components/counter/package.json +2 -2
  96. package/components/counter/src/styles/color-css.js +1 -1
  97. package/components/counter/src/styles/color.css +1 -1
  98. package/components/counter/src/styles/color.scss +1 -1
  99. package/components/counter/src/styles/counter-button-css.js +1 -1
  100. package/components/counter/src/styles/counter-button.css +1 -0
  101. package/components/counter/src/styles/counter-button.scss +3 -0
  102. package/components/counter/src/styles/style-css.js +1 -1
  103. package/components/counter/src/styles/style.css +1 -0
  104. package/components/counter/src/styles/style.scss +3 -0
  105. package/components/datepicker/.turbo/turbo-build.log +1 -1
  106. package/components/datepicker/README.md +5 -5
  107. package/components/datepicker/demo/api.min.js +85 -14
  108. package/components/datepicker/demo/index.min.js +85 -14
  109. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  110. package/components/datepicker/dist/index.js +85 -14
  111. package/components/datepicker/package.json +2 -2
  112. package/components/datepicker/src/auro-datepicker.js +0 -7
  113. package/components/dropdown/.turbo/turbo-build.log +2 -2
  114. package/components/dropdown/README.md +2 -2
  115. package/components/dropdown/demo/api.md +15 -2
  116. package/components/dropdown/demo/api.min.js +85 -7
  117. package/components/dropdown/demo/index.js +0 -3
  118. package/components/dropdown/demo/index.min.js +85 -10
  119. package/components/dropdown/dist/auro-dropdown.d.ts +9 -1
  120. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  121. package/components/dropdown/dist/index.js +85 -7
  122. package/components/dropdown/package.json +2 -2
  123. package/components/dropdown/src/auro-dropdown.js +78 -4
  124. package/components/dropdown/src/styles/color-css.js +1 -1
  125. package/components/dropdown/src/styles/color.css +3 -1
  126. package/components/dropdown/src/styles/color.scss +3 -1
  127. package/components/dropdown/src/styles/style-css.js +1 -1
  128. package/components/dropdown/src/styles/style.css +5 -0
  129. package/components/dropdown/src/styles/style.scss +8 -2
  130. package/components/dropdown/src/styles/tokens-css.js +1 -1
  131. package/components/dropdown/src/styles/tokens.css +1 -0
  132. package/components/dropdown/src/styles/tokens.scss +1 -0
  133. package/components/form/.turbo/turbo-build.log +3 -3
  134. package/components/form/.turbo/turbo-bundler.log +3 -3
  135. package/components/form/README.md +2 -2
  136. package/components/form/package.json +2 -2
  137. package/components/helptext/.turbo/turbo-build.log +1 -1
  138. package/components/helptext/.turbo/turbo-bundler.log +1 -1
  139. package/components/helptext/package.json +2 -2
  140. package/components/input/.turbo/turbo-build.log +3 -3
  141. package/components/input/README.md +2 -2
  142. package/components/input/package.json +2 -2
  143. package/components/menu/.turbo/turbo-build.log +3 -3
  144. package/components/menu/.turbo/turbo-bundler.log +3 -3
  145. package/components/menu/README.md +2 -2
  146. package/components/menu/package.json +2 -2
  147. package/components/radio/.turbo/turbo-build.log +3 -3
  148. package/components/radio/README.md +2 -2
  149. package/components/radio/package.json +2 -3
  150. package/components/select/.turbo/turbo-build.log +2 -2
  151. package/components/select/README.md +4 -4
  152. package/components/select/demo/api.min.js +85 -7
  153. package/components/select/demo/index.min.js +85 -7
  154. package/components/select/dist/index.js +85 -7
  155. package/components/select/package.json +2 -2
  156. package/package.json +2 -2
  157. package/.turbo/cache/1d4280429ff4222f-meta.json +0 -1
  158. package/.turbo/cache/1e094164b4932553-meta.json +0 -1
  159. package/.turbo/cache/251ba344c6338ba3-meta.json +0 -1
  160. package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
  161. package/.turbo/cache/27b0d0b95232015d-meta.json +0 -1
  162. package/.turbo/cache/27b0d0b95232015d.tar.zst +0 -0
  163. package/.turbo/cache/28fe2121c9ba81e2-meta.json +0 -1
  164. package/.turbo/cache/298b6ff0272e6226-meta.json +0 -1
  165. package/.turbo/cache/2abb5400a01a1694-meta.json +0 -1
  166. package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
  167. package/.turbo/cache/2f1030603b21f80d-meta.json +0 -1
  168. package/.turbo/cache/2f1030603b21f80d.tar.zst +0 -0
  169. package/.turbo/cache/3058929eb73309e5-meta.json +0 -1
  170. package/.turbo/cache/30fda91ef83677e4-meta.json +0 -1
  171. package/.turbo/cache/3221d91a94756c26-meta.json +0 -1
  172. package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +0 -1
  173. package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
  174. package/.turbo/cache/3f1b3db13386acdc-meta.json +0 -1
  175. package/.turbo/cache/42471e399b9036ff-meta.json +0 -1
  176. package/.turbo/cache/42471e399b9036ff.tar.zst +0 -0
  177. package/.turbo/cache/430c124614841675-meta.json +0 -1
  178. package/.turbo/cache/457a9f56f941d179-meta.json +0 -1
  179. package/.turbo/cache/45bdeb0396723b25-meta.json +0 -1
  180. package/.turbo/cache/46083e154ba76896-meta.json +0 -1
  181. package/.turbo/cache/4b94aa05a0403c24-meta.json +0 -1
  182. package/.turbo/cache/4e8248fc9e1e3e8f-meta.json +0 -1
  183. package/.turbo/cache/4e8248fc9e1e3e8f.tar.zst +0 -0
  184. package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +0 -1
  185. package/.turbo/cache/4f5f322655310502-meta.json +0 -1
  186. package/.turbo/cache/4f5f322655310502.tar.zst +0 -0
  187. package/.turbo/cache/52b8dd620355a643-meta.json +0 -1
  188. package/.turbo/cache/5326b73ddda05291-meta.json +0 -1
  189. package/.turbo/cache/536bf32361621ecf-meta.json +0 -1
  190. package/.turbo/cache/536bf32361621ecf.tar.zst +0 -0
  191. package/.turbo/cache/5a9a22bec5b85071-meta.json +0 -1
  192. package/.turbo/cache/5fc9a7a072827b7b-meta.json +0 -1
  193. package/.turbo/cache/636856e9513dd881-meta.json +0 -1
  194. package/.turbo/cache/64124d335f246ad4-meta.json +0 -1
  195. package/.turbo/cache/64124d335f246ad4.tar.zst +0 -0
  196. package/.turbo/cache/663b470a9b090056-meta.json +0 -1
  197. package/.turbo/cache/663b470a9b090056.tar.zst +0 -0
  198. package/.turbo/cache/6e0b3da6e3ff3718-meta.json +0 -1
  199. package/.turbo/cache/753b119a389426be-meta.json +0 -1
  200. package/.turbo/cache/785960dbbde053b6-meta.json +0 -1
  201. package/.turbo/cache/88f0204c4fde872f-meta.json +0 -1
  202. package/.turbo/cache/88f0204c4fde872f.tar.zst +0 -0
  203. package/.turbo/cache/a57b56e1d77cb964-meta.json +0 -1
  204. package/.turbo/cache/a5e07f85374d9a92-meta.json +0 -1
  205. package/.turbo/cache/a5e07f85374d9a92.tar.zst +0 -0
  206. package/.turbo/cache/a8889572165c9122-meta.json +0 -1
  207. package/.turbo/cache/a8889572165c9122.tar.zst +0 -0
  208. package/.turbo/cache/b169402fda42f218-meta.json +0 -1
  209. package/.turbo/cache/b770ff022e446032-meta.json +0 -1
  210. package/.turbo/cache/bf3d1eace5e676f9-meta.json +0 -1
  211. package/.turbo/cache/c405949d7a6017ee-meta.json +0 -1
  212. package/.turbo/cache/c405949d7a6017ee.tar.zst +0 -0
  213. package/.turbo/cache/ca9625ba0a5cd272-meta.json +0 -1
  214. package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +0 -1
  215. package/.turbo/cache/d3afdb9a7db9eacc-meta.json +0 -1
  216. package/.turbo/cache/d8ecdff9c663c38e-meta.json +0 -1
  217. package/.turbo/cache/de494df6a3006101-meta.json +0 -1
  218. package/.turbo/cache/e56a9865641ec3e8-meta.json +0 -1
  219. package/.turbo/cache/e7ed9e7056d80938-meta.json +0 -1
  220. package/.turbo/cache/e837827cd24834c4-meta.json +0 -1
  221. package/.turbo/cache/e9ff93179777aa26-meta.json +0 -1
  222. package/.turbo/cache/ef4682705ab4d7ab-meta.json +0 -1
  223. package/.turbo/cache/f2e689c8cdd1aafe-meta.json +0 -1
  224. package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +0 -1
  225. package/.turbo/cache/feef1cd478f1cf5a-meta.json +0 -1
  226. package/.turbo/cache/ff3c8a3042cab66e-meta.json +0 -1
  227. /package/.turbo/cache/{d3afdb9a7db9eacc.tar.zst → 06dfc9c20aacd0fa.tar.zst} +0 -0
  228. /package/.turbo/cache/{e837827cd24834c4.tar.zst → 075034ccdb82fbea.tar.zst} +0 -0
  229. /package/.turbo/cache/{e7ed9e7056d80938.tar.zst → 10b8500a6b0c6655.tar.zst} +0 -0
  230. /package/.turbo/cache/{5fc9a7a072827b7b.tar.zst → 138466aaa06fa946.tar.zst} +0 -0
  231. /package/.turbo/cache/{cbcd9db8ac9a2d52.tar.zst → 1a8525cb6ad91e2a.tar.zst} +0 -0
  232. /package/.turbo/cache/{1d4280429ff4222f.tar.zst → 1d4e8167ea8e924f.tar.zst} +0 -0
  233. /package/.turbo/cache/{4b94aa05a0403c24.tar.zst → 209b5682475d8333.tar.zst} +0 -0
  234. /package/.turbo/cache/{4e9c9a5dd62c50a4.tar.zst → 2289d12debb3c42c.tar.zst} +0 -0
  235. /package/.turbo/cache/{de494df6a3006101.tar.zst → 22fc147c04804f70.tar.zst} +0 -0
  236. /package/.turbo/cache/{f2e689c8cdd1aafe.tar.zst → 3025cdff2ca7afbf.tar.zst} +0 -0
  237. /package/.turbo/cache/{bf3d1eace5e676f9.tar.zst → 3082b3a86c0f9b94.tar.zst} +0 -0
  238. /package/.turbo/cache/{3f1b3db13386acdc.tar.zst → 5b3bb164db4c477c.tar.zst} +0 -0
  239. /package/.turbo/cache/{ef4682705ab4d7ab.tar.zst → 68c6e1baddbae823.tar.zst} +0 -0
  240. /package/.turbo/cache/{3221d91a94756c26.tar.zst → 6bfd7cffad1e6b8a.tar.zst} +0 -0
  241. /package/.turbo/cache/{753b119a389426be.tar.zst → 70e65d2581c9de95.tar.zst} +0 -0
  242. /package/.turbo/cache/{feef1cd478f1cf5a.tar.zst → 787da07242f11ca3.tar.zst} +0 -0
  243. /package/.turbo/cache/{6e0b3da6e3ff3718.tar.zst → 85f181c5a0ebfdc3.tar.zst} +0 -0
  244. /package/.turbo/cache/{ff3c8a3042cab66e.tar.zst → 88d4c5b7339b081b.tar.zst} +0 -0
  245. /package/.turbo/cache/{e9ff93179777aa26.tar.zst → 8f20a1cd3533e2cb.tar.zst} +0 -0
  246. /package/.turbo/cache/{28fe2121c9ba81e2.tar.zst → 91de2098a36b6939.tar.zst} +0 -0
  247. /package/.turbo/cache/{430c124614841675.tar.zst → 96edc0764ed4ab77.tar.zst} +0 -0
  248. /package/.turbo/cache/{f7ab9a13f9acc0ab.tar.zst → a776eb6f87cd7464.tar.zst} +0 -0
  249. /package/.turbo/cache/{30fda91ef83677e4.tar.zst → ac47b2df8381d990.tar.zst} +0 -0
  250. /package/.turbo/cache/{52b8dd620355a643.tar.zst → ad64961726cfa8f1.tar.zst} +0 -0
  251. /package/.turbo/cache/{298b6ff0272e6226.tar.zst → bff34c0db361f414.tar.zst} +0 -0
  252. /package/.turbo/cache/{ca9625ba0a5cd272.tar.zst → c1c7334875426ff3.tar.zst} +0 -0
  253. /package/.turbo/cache/{5326b73ddda05291.tar.zst → cd12b66dd972aaf7.tar.zst} +0 -0
  254. /package/.turbo/cache/{45bdeb0396723b25.tar.zst → d5dbe6fb31ae5667.tar.zst} +0 -0
  255. /package/.turbo/cache/{5a9a22bec5b85071.tar.zst → d7ca7fb410ee2188.tar.zst} +0 -0
  256. /package/.turbo/cache/{785960dbbde053b6.tar.zst → e64bd75c16c140f3.tar.zst} +0 -0
  257. /package/.turbo/cache/{d8ecdff9c663c38e.tar.zst → ea92743dea3b7023.tar.zst} +0 -0
  258. /package/.turbo/cache/{3058929eb73309e5.tar.zst → eed8d2c214d428ed.tar.zst} +0 -0
  259. /package/.turbo/cache/{1e094164b4932553.tar.zst → f22dc2dd55715ba2.tar.zst} +0 -0
  260. /package/.turbo/cache/{e56a9865641ec3e8.tar.zst → f8f99ba69bff8f2c.tar.zst} +0 -0
@@ -2193,7 +2193,11 @@ class AuroFloatingUI {
2193
2193
 
2194
2194
  updateState() {
2195
2195
  const isVisible = this.element.isPopoverVisible;
2196
- this.element.trigger.setAttribute('aria-expanded', isVisible);
2196
+
2197
+ // Refactor this to apply attribute to correct focusable element
2198
+ // Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
2199
+ //
2200
+ // this.element.trigger.setAttribute('aria-expanded', isVisible);
2197
2201
 
2198
2202
  if (isVisible) {
2199
2203
  this.element.bib.setAttribute('data-show', true);
@@ -2872,11 +2876,11 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
2872
2876
 
2873
2877
  var iconVersion$2 = '6.1.2';
2874
2878
 
2875
- var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2879
+ var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2876
2880
 
2877
- var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2881
+ var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2878
2882
 
2879
- var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2883
+ var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2880
2884
 
2881
2885
  /**
2882
2886
  * @license
@@ -3215,7 +3219,6 @@ if (!customElements.get("auro-dropdownbib")) {
3215
3219
  * @csspart trigger - The trigger content container.
3216
3220
  * @csspart chevron - The collapsed/expanded state icon container.
3217
3221
  * @csspart helpText - The helpText content container.
3218
- * @csspart popover - The bib content container.
3219
3222
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3220
3223
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3221
3224
  */
@@ -3548,6 +3551,64 @@ class AuroDropdown extends r$4 {
3548
3551
  return inCustomSlot;
3549
3552
  }
3550
3553
 
3554
+ /**
3555
+ * Determines if the element or any children are focusable.
3556
+ * @private
3557
+ * @param {HTMLElement} element - Element to check.
3558
+ * @returns {Boolean} - True if the element or any children are focusable.
3559
+ */
3560
+ containsFocusableElement(element) {
3561
+ this.showTriggerBorders = true;
3562
+
3563
+ const nodes = [
3564
+ element,
3565
+ ...element.children
3566
+ ];
3567
+
3568
+ const focusableElements = [
3569
+ 'a',
3570
+ 'auro-hyperlink',
3571
+ 'button',
3572
+ 'auro-button',
3573
+ 'input',
3574
+ 'auro-input',
3575
+ ];
3576
+
3577
+ const focusableElementsThatNeedBorders = ['auro-input'];
3578
+
3579
+ const result = nodes.some((node) => {
3580
+ const tagName = node.tagName.toLowerCase();
3581
+
3582
+ if (node.tabIndex > -1) {
3583
+ return true;
3584
+ }
3585
+
3586
+ if (focusableElements.includes(tagName)) {
3587
+ if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
3588
+ return true;
3589
+ }
3590
+ if (!node.hasAttribute('disabled')) {
3591
+ return true;
3592
+ }
3593
+ }
3594
+
3595
+ if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
3596
+ return true;
3597
+ }
3598
+
3599
+ return false;
3600
+ });
3601
+
3602
+ if (result) {
3603
+ this.showTriggerBorders = !nodes.some((node) => {
3604
+ const tagName = node.tagName.toLowerCase();
3605
+ return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
3606
+ });
3607
+ }
3608
+
3609
+ return result;
3610
+ }
3611
+
3551
3612
  /**
3552
3613
  * Handles changes to the trigger content slot and updates related properties.
3553
3614
  *
@@ -3563,6 +3624,24 @@ class AuroDropdown extends r$4 {
3563
3624
  handleTriggerContentSlotChange(event) {
3564
3625
  this.floater.handleTriggerTabIndex();
3565
3626
 
3627
+ const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
3628
+
3629
+ triggerContentNodes.forEach((node) => {
3630
+ if (!this.triggerContentFocusable) {
3631
+ this.triggerContentFocusable = this.containsFocusableElement(node);
3632
+ }
3633
+ });
3634
+
3635
+ const trigger = this.shadowRoot.querySelector('#trigger');
3636
+
3637
+ if (!this.triggerContentFocusable) {
3638
+ trigger.setAttribute('tabindex', '0');
3639
+ trigger.setAttribute('role', 'button');
3640
+ } else {
3641
+ trigger.removeAttribute('tabindex');
3642
+ trigger.removeAttribute('role');
3643
+ }
3644
+
3566
3645
  if (event) {
3567
3646
  this.triggerNode = event.target;
3568
3647
  this.triggerContentSlot = event.target.assignedNodes();
@@ -3613,10 +3692,9 @@ class AuroDropdown extends r$4 {
3613
3692
  id="trigger"
3614
3693
  class="trigger"
3615
3694
  part="trigger"
3616
- role="button"
3617
3695
  aria-labelledby="triggerLabel"
3618
- aria-controls="popover"
3619
3696
  tabindex="${this.tabIndex}"
3697
+ ?showBorder="${this.showTriggerBorders}"
3620
3698
  >
3621
3699
  <div class="triggerContentWrapper">
3622
3700
  <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
@@ -2193,7 +2193,11 @@ class AuroFloatingUI {
2193
2193
 
2194
2194
  updateState() {
2195
2195
  const isVisible = this.element.isPopoverVisible;
2196
- this.element.trigger.setAttribute('aria-expanded', isVisible);
2196
+
2197
+ // Refactor this to apply attribute to correct focusable element
2198
+ // Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
2199
+ //
2200
+ // this.element.trigger.setAttribute('aria-expanded', isVisible);
2197
2201
 
2198
2202
  if (isVisible) {
2199
2203
  this.element.bib.setAttribute('data-show', true);
@@ -2872,11 +2876,11 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2872
2876
 
2873
2877
  var iconVersion$1 = '6.1.2';
2874
2878
 
2875
- var styleCss$2$1 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2879
+ var styleCss$2$1 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2876
2880
 
2877
- var colorCss$2$1 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2881
+ var colorCss$2$1 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2878
2882
 
2879
- var tokensCss$1$1 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2883
+ var tokensCss$1$1 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2880
2884
 
2881
2885
  /**
2882
2886
  * @license
@@ -3215,7 +3219,6 @@ if (!customElements.get("auro-dropdownbib")) {
3215
3219
  * @csspart trigger - The trigger content container.
3216
3220
  * @csspart chevron - The collapsed/expanded state icon container.
3217
3221
  * @csspart helpText - The helpText content container.
3218
- * @csspart popover - The bib content container.
3219
3222
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3220
3223
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3221
3224
  */
@@ -3548,6 +3551,64 @@ class AuroDropdown extends r$4 {
3548
3551
  return inCustomSlot;
3549
3552
  }
3550
3553
 
3554
+ /**
3555
+ * Determines if the element or any children are focusable.
3556
+ * @private
3557
+ * @param {HTMLElement} element - Element to check.
3558
+ * @returns {Boolean} - True if the element or any children are focusable.
3559
+ */
3560
+ containsFocusableElement(element) {
3561
+ this.showTriggerBorders = true;
3562
+
3563
+ const nodes = [
3564
+ element,
3565
+ ...element.children
3566
+ ];
3567
+
3568
+ const focusableElements = [
3569
+ 'a',
3570
+ 'auro-hyperlink',
3571
+ 'button',
3572
+ 'auro-button',
3573
+ 'input',
3574
+ 'auro-input',
3575
+ ];
3576
+
3577
+ const focusableElementsThatNeedBorders = ['auro-input'];
3578
+
3579
+ const result = nodes.some((node) => {
3580
+ const tagName = node.tagName.toLowerCase();
3581
+
3582
+ if (node.tabIndex > -1) {
3583
+ return true;
3584
+ }
3585
+
3586
+ if (focusableElements.includes(tagName)) {
3587
+ if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
3588
+ return true;
3589
+ }
3590
+ if (!node.hasAttribute('disabled')) {
3591
+ return true;
3592
+ }
3593
+ }
3594
+
3595
+ if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
3596
+ return true;
3597
+ }
3598
+
3599
+ return false;
3600
+ });
3601
+
3602
+ if (result) {
3603
+ this.showTriggerBorders = !nodes.some((node) => {
3604
+ const tagName = node.tagName.toLowerCase();
3605
+ return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
3606
+ });
3607
+ }
3608
+
3609
+ return result;
3610
+ }
3611
+
3551
3612
  /**
3552
3613
  * Handles changes to the trigger content slot and updates related properties.
3553
3614
  *
@@ -3563,6 +3624,24 @@ class AuroDropdown extends r$4 {
3563
3624
  handleTriggerContentSlotChange(event) {
3564
3625
  this.floater.handleTriggerTabIndex();
3565
3626
 
3627
+ const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
3628
+
3629
+ triggerContentNodes.forEach((node) => {
3630
+ if (!this.triggerContentFocusable) {
3631
+ this.triggerContentFocusable = this.containsFocusableElement(node);
3632
+ }
3633
+ });
3634
+
3635
+ const trigger = this.shadowRoot.querySelector('#trigger');
3636
+
3637
+ if (!this.triggerContentFocusable) {
3638
+ trigger.setAttribute('tabindex', '0');
3639
+ trigger.setAttribute('role', 'button');
3640
+ } else {
3641
+ trigger.removeAttribute('tabindex');
3642
+ trigger.removeAttribute('role');
3643
+ }
3644
+
3566
3645
  if (event) {
3567
3646
  this.triggerNode = event.target;
3568
3647
  this.triggerContentSlot = event.target.assignedNodes();
@@ -3613,10 +3692,9 @@ class AuroDropdown extends r$4 {
3613
3692
  id="trigger"
3614
3693
  class="trigger"
3615
3694
  part="trigger"
3616
- role="button"
3617
3695
  aria-labelledby="triggerLabel"
3618
- aria-controls="popover"
3619
3696
  tabindex="${this.tabIndex}"
3697
+ ?showBorder="${this.showTriggerBorders}"
3620
3698
  >
3621
3699
  <div class="triggerContentWrapper">
3622
3700
  <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
@@ -19,7 +19,7 @@
19
19
  "lit-html": "^3.2.1"
20
20
  },
21
21
  "peerDependencies": {
22
- "@aurodesignsystem/design-tokens": "^4.12.1",
22
+ "@aurodesignsystem/design-tokens": "^4.13.0",
23
23
  "@aurodesignsystem/webcorestylesheets": "^5.1.2"
24
24
  },
25
25
  "devDependencies": {
@@ -28,7 +28,7 @@
28
28
  "@auro-formkit/config": "*",
29
29
  "@auro-formkit/form-validation": "*",
30
30
  "@auro-formkit/typescript": "*",
31
- "@aurodesignsystem/design-tokens": "^4.12.1",
31
+ "@aurodesignsystem/design-tokens": "^4.13.0",
32
32
  "@aurodesignsystem/webcorestylesheets": "^5.1.2",
33
33
  "@rollup/plugin-commonjs": "^28.0.1",
34
34
  "@rollup/plugin-node-resolve": "^15.3.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem/auro-formkit",
3
- "version": "2.0.0-beta.35",
3
+ "version": "2.0.0-beta.37",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "prepare": "husky"
42
42
  },
43
43
  "dependencies": {
44
- "@aurodesignsystem/auro-library": "^3.0.7"
44
+ "@aurodesignsystem/auro-library": "^3.0.8"
45
45
  },
46
46
  "optionalDependencies": {
47
47
  "@rollup/rollup-linux-x64-gnu": "*"
@@ -1 +0,0 @@
1
- {"hash":"1d4280429ff4222f","duration":2791}
@@ -1 +0,0 @@
1
- {"hash":"1e094164b4932553","duration":2468}
@@ -1 +0,0 @@
1
- {"hash":"251ba344c6338ba3","duration":1859}
@@ -1 +0,0 @@
1
- {"hash":"27b0d0b95232015d","duration":14642}
@@ -1 +0,0 @@
1
- {"hash":"28fe2121c9ba81e2","duration":1669}
@@ -1 +0,0 @@
1
- {"hash":"298b6ff0272e6226","duration":2571}
@@ -1 +0,0 @@
1
- {"hash":"2abb5400a01a1694","duration":2496}
@@ -1 +0,0 @@
1
- {"hash":"2f1030603b21f80d","duration":13989}
@@ -1 +0,0 @@
1
- {"hash":"3058929eb73309e5","duration":6021}
@@ -1 +0,0 @@
1
- {"hash":"30fda91ef83677e4","duration":1548}
@@ -1 +0,0 @@
1
- {"hash":"3221d91a94756c26","duration":2063}
@@ -1 +0,0 @@
1
- {"hash":"3ab09fe7cf32b3bf","duration":2618}
@@ -1 +0,0 @@
1
- {"hash":"3f1b3db13386acdc","duration":1786}
@@ -1 +0,0 @@
1
- {"hash":"42471e399b9036ff","duration":3788}
@@ -1 +0,0 @@
1
- {"hash":"430c124614841675","duration":2433}
@@ -1 +0,0 @@
1
- {"hash":"457a9f56f941d179","duration":14837}
@@ -1 +0,0 @@
1
- {"hash":"45bdeb0396723b25","duration":2020}
@@ -1 +0,0 @@
1
- {"hash":"46083e154ba76896","duration":1868}
@@ -1 +0,0 @@
1
- {"hash":"4b94aa05a0403c24","duration":780}
@@ -1 +0,0 @@
1
- {"hash":"4e8248fc9e1e3e8f","duration":1503}
@@ -1 +0,0 @@
1
- {"hash":"4e9c9a5dd62c50a4","duration":2389}
@@ -1 +0,0 @@
1
- {"hash":"4f5f322655310502","duration":16154}
@@ -1 +0,0 @@
1
- {"hash":"52b8dd620355a643","duration":5580}
@@ -1 +0,0 @@
1
- {"hash":"5326b73ddda05291","duration":1725}
@@ -1 +0,0 @@
1
- {"hash":"536bf32361621ecf","duration":1498}
@@ -1 +0,0 @@
1
- {"hash":"5a9a22bec5b85071","duration":981}
@@ -1 +0,0 @@
1
- {"hash":"5fc9a7a072827b7b","duration":1752}
@@ -1 +0,0 @@
1
- {"hash":"636856e9513dd881","duration":14618}
@@ -1 +0,0 @@
1
- {"hash":"64124d335f246ad4","duration":14337}
@@ -1 +0,0 @@
1
- {"hash":"663b470a9b090056","duration":23965}
@@ -1 +0,0 @@
1
- {"hash":"6e0b3da6e3ff3718","duration":2194}
@@ -1 +0,0 @@
1
- {"hash":"753b119a389426be","duration":1884}
@@ -1 +0,0 @@
1
- {"hash":"785960dbbde053b6","duration":2558}
@@ -1 +0,0 @@
1
- {"hash":"88f0204c4fde872f","duration":12994}
@@ -1 +0,0 @@
1
- {"hash":"a57b56e1d77cb964","duration":1431}
@@ -1 +0,0 @@
1
- {"hash":"a5e07f85374d9a92","duration":1586}
@@ -1 +0,0 @@
1
- {"hash":"a8889572165c9122","duration":13469}
@@ -1 +0,0 @@
1
- {"hash":"b169402fda42f218","duration":3032}
@@ -1 +0,0 @@
1
- {"hash":"b770ff022e446032","duration":4787}
@@ -1 +0,0 @@
1
- {"hash":"bf3d1eace5e676f9","duration":2658}
@@ -1 +0,0 @@
1
- {"hash":"c405949d7a6017ee","duration":2075}
@@ -1 +0,0 @@
1
- {"hash":"ca9625ba0a5cd272","duration":3183}
@@ -1 +0,0 @@
1
- {"hash":"cbcd9db8ac9a2d52","duration":2582}
@@ -1 +0,0 @@
1
- {"hash":"d3afdb9a7db9eacc","duration":2346}
@@ -1 +0,0 @@
1
- {"hash":"d8ecdff9c663c38e","duration":2072}
@@ -1 +0,0 @@
1
- {"hash":"de494df6a3006101","duration":1987}
@@ -1 +0,0 @@
1
- {"hash":"e56a9865641ec3e8","duration":1973}
@@ -1 +0,0 @@
1
- {"hash":"e7ed9e7056d80938","duration":2223}
@@ -1 +0,0 @@
1
- {"hash":"e837827cd24834c4","duration":2863}
@@ -1 +0,0 @@
1
- {"hash":"e9ff93179777aa26","duration":2864}
@@ -1 +0,0 @@
1
- {"hash":"ef4682705ab4d7ab","duration":5555}
@@ -1 +0,0 @@
1
- {"hash":"f2e689c8cdd1aafe","duration":4743}
@@ -1 +0,0 @@
1
- {"hash":"f7ab9a13f9acc0ab","duration":1670}
@@ -1 +0,0 @@
1
- {"hash":"feef1cd478f1cf5a","duration":740}
@@ -1 +0,0 @@
1
- {"hash":"ff3c8a3042cab66e","duration":1947}