@telesign/boreal-web-components 0.1.0-alpha.4 → 0.1.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/components-build/bds-avatar.js +1 -1
  2. package/components-build/bds-badge.js +1 -1
  3. package/components-build/bds-banner.js +1 -1
  4. package/components-build/bds-button-group.d.ts +11 -0
  5. package/components-build/bds-button-group.js +1 -0
  6. package/components-build/bds-button.js +1 -1
  7. package/components-build/bds-checkbox-card.d.ts +11 -0
  8. package/components-build/bds-checkbox-card.js +1 -0
  9. package/components-build/bds-checkbox.js +1 -1
  10. package/components-build/bds-dialog.js +1 -1
  11. package/components-build/bds-divider.js +1 -1
  12. package/components-build/bds-flag.js +1 -1
  13. package/components-build/bds-grid-item.js +1 -1
  14. package/components-build/bds-grid.js +1 -1
  15. package/components-build/bds-list-menu-item.js +1 -1
  16. package/components-build/bds-list-menu.js +1 -1
  17. package/components-build/bds-popover.js +1 -1
  18. package/components-build/bds-radio-button.d.ts +11 -0
  19. package/components-build/bds-radio-button.js +1 -0
  20. package/components-build/bds-radio-card.d.ts +11 -0
  21. package/components-build/bds-radio-card.js +1 -0
  22. package/components-build/bds-radio-group.d.ts +11 -0
  23. package/components-build/bds-radio-group.js +1 -0
  24. package/components-build/bds-radio.d.ts +11 -0
  25. package/components-build/bds-radio.js +1 -0
  26. package/components-build/bds-spinner.js +1 -1
  27. package/components-build/bds-status.js +1 -1
  28. package/components-build/bds-tag.js +1 -1
  29. package/components-build/bds-text-field.js +1 -1
  30. package/components-build/bds-toggle.js +1 -1
  31. package/components-build/bds-tooltip.js +1 -1
  32. package/components-build/bds-typography.js +1 -1
  33. package/components-build/index.js +1 -1
  34. package/components-build/p-BSlaf0ff.js +1 -0
  35. package/components-build/p-CPvuMm5C.js +1 -0
  36. package/components-build/p-Cbibqaz0.js +1 -0
  37. package/components-build/p-ClR-wgiT.js +1 -0
  38. package/components-build/p-DfaYciGa.js +1 -0
  39. package/components-build/p-Dh8DSJs_.js +1 -0
  40. package/components-build/p-N_tqtRV2.js +1 -0
  41. package/components-build/p-bAMuJ4Jx.js +1 -0
  42. package/components-build/p-c2z3tneT.js +1 -0
  43. package/components-build/p-dz9-Q2N8.js +1 -0
  44. package/{dist/boreal-web-components/p-CaHOghy5.js → components-build/p-fUK0GCeC.js} +1 -1
  45. package/components-build/p-iq2UuV7c.js +1 -0
  46. package/components-build/p-nxYzL9uu.js +1 -0
  47. package/custom-elements.json +2603 -931
  48. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  49. package/dist/boreal-web-components/{p-7a4efddd.system.entry.js → p-024d90b0.system.entry.js} +1 -1
  50. package/dist/boreal-web-components/p-06DrzEMB.system.js +1 -0
  51. package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +1 -0
  52. package/dist/boreal-web-components/p-147d6652.system.entry.js +1 -0
  53. package/dist/boreal-web-components/p-148d510f.entry.js +1 -0
  54. package/dist/boreal-web-components/{p-2158a7cd.entry.js → p-19f9352d.entry.js} +1 -1
  55. package/dist/boreal-web-components/{p-41b48701.system.entry.js → p-277f142e.system.entry.js} +1 -1
  56. package/dist/boreal-web-components/{p-251b3002.entry.js → p-2adf2cd5.entry.js} +1 -1
  57. package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +1 -0
  58. package/dist/boreal-web-components/p-340896b2.entry.js +1 -0
  59. package/dist/boreal-web-components/{p-251d35df.system.entry.js → p-365e8e5c.system.entry.js} +1 -1
  60. package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +1 -0
  61. package/dist/boreal-web-components/p-44a8fde5.entry.js +1 -0
  62. package/dist/boreal-web-components/{p-52600375.system.entry.js → p-48ebbfbe.system.entry.js} +1 -1
  63. package/dist/boreal-web-components/{p-ab5ffa15.system.entry.js → p-4dc01078.system.entry.js} +1 -1
  64. package/dist/boreal-web-components/p-5681b294.system.entry.js +1 -0
  65. package/dist/boreal-web-components/p-5ed75075.entry.js +1 -0
  66. package/dist/boreal-web-components/p-635f676b.system.entry.js +1 -0
  67. package/dist/boreal-web-components/{p-7db870b7.entry.js → p-6629be14.entry.js} +1 -1
  68. package/dist/boreal-web-components/p-68b83680.system.entry.js +1 -0
  69. package/dist/boreal-web-components/p-6a60d134.system.entry.js +1 -0
  70. package/dist/boreal-web-components/{p-66360e63.entry.js → p-71ed1e1d.entry.js} +1 -1
  71. package/dist/boreal-web-components/{p-b12d4788.system.entry.js → p-732e98f1.system.entry.js} +1 -1
  72. package/dist/boreal-web-components/{p-80822731.system.entry.js → p-77658a5b.system.entry.js} +1 -1
  73. package/dist/boreal-web-components/p-7aff4c78.entry.js +1 -0
  74. package/dist/boreal-web-components/p-7bb88855.entry.js +1 -0
  75. package/dist/boreal-web-components/p-7d3a8f61.entry.js +1 -0
  76. package/dist/boreal-web-components/p-7e672cce.entry.js +1 -0
  77. package/dist/boreal-web-components/{p-1d1bb9d2.entry.js → p-7ebc67c9.entry.js} +1 -1
  78. package/dist/boreal-web-components/p-81401e2a.system.entry.js +1 -0
  79. package/dist/boreal-web-components/p-8289e506.entry.js +1 -0
  80. package/dist/boreal-web-components/p-82d15372.entry.js +1 -0
  81. package/dist/boreal-web-components/p-851c06f2.entry.js +1 -0
  82. package/dist/boreal-web-components/p-8a3716ec.entry.js +1 -0
  83. package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +1 -0
  84. package/dist/boreal-web-components/{p-871c9a9f.system.entry.js → p-93066db4.system.entry.js} +1 -1
  85. package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
  86. package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
  87. package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
  88. package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
  89. package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
  90. package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
  91. package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
  92. package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
  93. package/dist/boreal-web-components/p-DYlZcFrB.system.js +1 -0
  94. package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
  95. package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
  96. package/dist/boreal-web-components/p-DlYG-OVB.js +1 -0
  97. package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
  98. package/dist/boreal-web-components/p-DpnBDSUm.system.js +1 -0
  99. package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
  100. package/{components-build/p-CaHOghy5.js → dist/boreal-web-components/p-U9yfbs7i.js} +1 -1
  101. package/dist/boreal-web-components/p-a73659ac.system.entry.js +1 -0
  102. package/dist/boreal-web-components/p-b2ad9535.system.entry.js +1 -0
  103. package/dist/boreal-web-components/{p-731b88cc.entry.js → p-d4c30d2b.entry.js} +1 -1
  104. package/dist/boreal-web-components/p-db0c10b9.system.entry.js +1 -0
  105. package/dist/boreal-web-components/{p-695d0830.entry.js → p-dc7d429c.entry.js} +1 -1
  106. package/dist/boreal-web-components/p-dca16a3d.entry.js +1 -0
  107. package/dist/boreal-web-components/p-de846c43.system.entry.js +1 -0
  108. package/dist/boreal-web-components/p-df087e23.system.entry.js +1 -0
  109. package/dist/boreal-web-components/p-dfb4854e.entry.js +1 -0
  110. package/dist/boreal-web-components/p-dz9-Q2N8.js +1 -0
  111. package/dist/boreal-web-components/p-e09b4d14.system.entry.js +1 -0
  112. package/dist/boreal-web-components/{p-edca16b6.system.entry.js → p-e0a41cab.system.entry.js} +1 -1
  113. package/dist/boreal-web-components/{p-127a4134.entry.js → p-e55f2a8b.entry.js} +1 -1
  114. package/dist/boreal-web-components/p-e7af1e1a.entry.js +1 -0
  115. package/dist/boreal-web-components/{p-e0bf8a6e.entry.js → p-efe159aa.entry.js} +1 -1
  116. package/dist/boreal-web-components/{p-44ceff4e.system.entry.js → p-f65e9d0c.system.entry.js} +1 -1
  117. package/dist/boreal-web-components/p-f792aa74.entry.js +1 -0
  118. package/dist/boreal-web-components/{p-fc24d963.entry.js → p-fb9a0e94.entry.js} +1 -1
  119. package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
  120. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -1
  121. package/dist/boreal-web-components/p-wREMI3WA.js +1 -0
  122. package/dist/cjs/Keys-rKl2za5q.js +18 -0
  123. package/dist/cjs/Logger-DnziItRH.js +51 -0
  124. package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
  125. package/dist/cjs/bds-avatar.cjs.entry.js +2 -2
  126. package/dist/cjs/bds-badge.cjs.entry.js +1 -1
  127. package/dist/cjs/bds-banner.cjs.entry.js +2 -2
  128. package/dist/cjs/bds-button-group.cjs.entry.js +95 -0
  129. package/dist/cjs/bds-button.cjs.entry.js +7 -13
  130. package/dist/cjs/bds-checkbox-card.cjs.entry.js +121 -0
  131. package/dist/cjs/bds-checkbox.cjs.entry.js +13 -6
  132. package/dist/cjs/bds-dialog.cjs.entry.js +3 -3
  133. package/dist/cjs/bds-divider.cjs.entry.js +2 -2
  134. package/dist/cjs/bds-flag.cjs.entry.js +1 -1
  135. package/dist/cjs/bds-grid-item.cjs.entry.js +1 -1
  136. package/dist/cjs/bds-grid.cjs.entry.js +1 -1
  137. package/dist/cjs/bds-list-menu-item.cjs.entry.js +47 -22
  138. package/dist/cjs/bds-list-menu.cjs.entry.js +90 -21
  139. package/dist/cjs/bds-popover.cjs.entry.js +5 -4
  140. package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
  141. package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
  142. package/dist/cjs/bds-radio-group.cjs.entry.js +285 -0
  143. package/dist/cjs/bds-radio.cjs.entry.js +60 -0
  144. package/dist/cjs/bds-spinner.cjs.entry.js +1 -1
  145. package/dist/cjs/bds-status.cjs.entry.js +1 -1
  146. package/dist/cjs/bds-tag.cjs.entry.js +1 -1
  147. package/dist/cjs/bds-text-field.cjs.entry.js +8 -7
  148. package/dist/cjs/bds-toggle.cjs.entry.js +6 -5
  149. package/dist/cjs/bds-tooltip_2.cjs.entry.js +9 -8
  150. package/dist/cjs/boreal-web-components.cjs.js +1 -1
  151. package/dist/cjs/coreColors-CQGojc0l.js +10 -0
  152. package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
  153. package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
  154. package/dist/cjs/{getOffset-m4hBgyVP.js → getOffset-k4ezB-eT.js} +6 -53
  155. package/dist/cjs/{form-associated.mixin-DXwvF_vW.js → internals-D8x7GMfR.js} +0 -31
  156. package/dist/cjs/loader.cjs.js +1 -1
  157. package/dist/cjs/menu-BxKaEajh.js +8 -0
  158. package/dist/cjs/orientation-DQAIleEJ.js +8 -0
  159. package/dist/collection/collection-manifest.json +7 -1
  160. package/dist/collection/components/actions/bds-button/bds-button.css +19 -19
  161. package/dist/collection/components/actions/bds-button/bds-button.js +7 -7
  162. package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
  163. package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
  164. package/dist/collection/components/actions/bds-button-group/bds-button-group.js +245 -0
  165. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +27 -1
  166. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +148 -49
  167. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
  168. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/types.js +1 -0
  169. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +25 -9
  170. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +53 -8
  171. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +1 -1
  172. package/dist/collection/components/feedback/bds-badge/bds-badge.js +1 -1
  173. package/dist/collection/components/feedback/bds-banner/bds-banner.js +1 -1
  174. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  175. package/dist/collection/components/feedback/bds-status/bds-status.js +1 -1
  176. package/dist/collection/components/feedback/bds-tag/bds-tag.js +1 -1
  177. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +9 -8
  178. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +7 -1
  179. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.css +127 -0
  180. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.js +397 -0
  181. package/dist/collection/components/forms/bds-checkbox-card/types/ICheckboxCard.js +1 -0
  182. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  183. package/dist/collection/components/forms/bds-radio/bds-radio.css +121 -0
  184. package/dist/collection/components/forms/bds-radio/bds-radio.js +238 -0
  185. package/dist/collection/components/forms/bds-radio/types/IRadio.js +1 -0
  186. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.css +109 -0
  187. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.js +238 -0
  188. package/dist/collection/components/forms/bds-radio-button/types/IRadioButton.js +1 -0
  189. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.css +156 -0
  190. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.js +307 -0
  191. package/dist/collection/components/forms/bds-radio-card/types/IRadioCard.js +1 -0
  192. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.css +55 -0
  193. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.js +620 -0
  194. package/dist/collection/components/forms/bds-radio-group/types/IRadioGroup.js +1 -0
  195. package/dist/collection/components/forms/bds-radio-group/types/enum.js +5 -0
  196. package/dist/collection/components/forms/bds-radio-group/types/types.js +1 -0
  197. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  198. package/dist/collection/components/helpers/{bds-divider.css → bds-divider/bds-divider.css} +12 -4
  199. package/dist/collection/components/helpers/{bds-divider.js → bds-divider/bds-divider.js} +3 -3
  200. package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
  201. package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
  202. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +1 -1
  203. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +1 -1
  204. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +1 -1
  205. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +2 -2
  206. package/dist/collection/components/overlays/bds-popover/bds-popover.js +1 -1
  207. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +3 -3
  208. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +5 -0
  209. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +1 -1
  210. package/dist/collection/mixins/anchored.mixin.js +2 -2
  211. package/dist/collection/mixins/links.mixin.js +1 -2
  212. package/dist/collection/mixins/menu-behavior.mixin.js +11 -5
  213. package/dist/collection/types/index.js +2 -0
  214. package/dist/collection/types/orientation.js +4 -0
  215. package/dist/collection/utils/constants/common/Keys.js +10 -24
  216. package/dist/collection/utils/menu/menu-item.utils.js +9 -8
  217. package/dist/collection/utils/testing/helpers.js +10 -0
  218. package/dist/esm/Keys-DlYG-OVB.js +16 -0
  219. package/dist/esm/Logger-iq2UuV7c.js +49 -0
  220. package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
  221. package/dist/esm/bds-avatar.entry.js +2 -2
  222. package/dist/esm/bds-badge.entry.js +1 -1
  223. package/dist/esm/bds-banner.entry.js +2 -2
  224. package/dist/esm/bds-button-group.entry.js +93 -0
  225. package/dist/esm/bds-button.entry.js +5 -11
  226. package/dist/esm/bds-checkbox-card.entry.js +119 -0
  227. package/dist/esm/bds-checkbox.entry.js +11 -4
  228. package/dist/esm/bds-dialog.entry.js +3 -3
  229. package/dist/esm/bds-divider.entry.js +2 -2
  230. package/dist/esm/bds-flag.entry.js +1 -1
  231. package/dist/esm/bds-grid-item.entry.js +1 -1
  232. package/dist/esm/bds-grid.entry.js +1 -1
  233. package/dist/esm/bds-list-menu-item.entry.js +47 -22
  234. package/dist/esm/bds-list-menu.entry.js +90 -21
  235. package/dist/esm/bds-popover.entry.js +5 -4
  236. package/dist/esm/bds-radio-button.entry.js +58 -0
  237. package/dist/esm/bds-radio-card.entry.js +74 -0
  238. package/dist/esm/bds-radio-group.entry.js +283 -0
  239. package/dist/esm/bds-radio.entry.js +58 -0
  240. package/dist/esm/bds-spinner.entry.js +1 -1
  241. package/dist/esm/bds-status.entry.js +1 -1
  242. package/dist/esm/bds-tag.entry.js +1 -1
  243. package/dist/esm/bds-text-field.entry.js +3 -2
  244. package/dist/esm/bds-toggle.entry.js +4 -3
  245. package/dist/esm/bds-tooltip_2.entry.js +9 -8
  246. package/dist/esm/boreal-web-components.js +1 -1
  247. package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
  248. package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
  249. package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
  250. package/dist/esm/{getOffset-DKPjeBHi.js → getOffset-BYS3c13B.js} +4 -51
  251. package/dist/esm/{form-associated.mixin-CvK2d92c.js → internals-DfaYciGa.js} +1 -31
  252. package/dist/esm/loader.js +1 -1
  253. package/dist/esm/menu-dz9-Q2N8.js +6 -0
  254. package/dist/esm/orientation-CPvuMm5C.js +6 -0
  255. package/dist/esm-es5/Keys-DlYG-OVB.js +1 -0
  256. package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
  257. package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
  258. package/dist/esm-es5/bds-avatar.entry.js +1 -1
  259. package/dist/esm-es5/bds-badge.entry.js +1 -1
  260. package/dist/esm-es5/bds-banner.entry.js +1 -1
  261. package/dist/esm-es5/bds-button-group.entry.js +1 -0
  262. package/dist/esm-es5/bds-button.entry.js +1 -1
  263. package/dist/esm-es5/bds-checkbox-card.entry.js +1 -0
  264. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  265. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  266. package/dist/esm-es5/bds-divider.entry.js +1 -1
  267. package/dist/esm-es5/bds-flag.entry.js +1 -1
  268. package/dist/esm-es5/bds-grid-item.entry.js +1 -1
  269. package/dist/esm-es5/bds-grid.entry.js +1 -1
  270. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -1
  271. package/dist/esm-es5/bds-list-menu.entry.js +1 -1
  272. package/dist/esm-es5/bds-popover.entry.js +1 -1
  273. package/dist/esm-es5/bds-radio-button.entry.js +1 -0
  274. package/dist/esm-es5/bds-radio-card.entry.js +1 -0
  275. package/dist/esm-es5/bds-radio-group.entry.js +1 -0
  276. package/dist/esm-es5/bds-radio.entry.js +1 -0
  277. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  278. package/dist/esm-es5/bds-status.entry.js +1 -1
  279. package/dist/esm-es5/bds-tag.entry.js +1 -1
  280. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  281. package/dist/esm-es5/bds-toggle.entry.js +1 -1
  282. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -1
  283. package/dist/esm-es5/boreal-web-components.js +1 -1
  284. package/dist/esm-es5/coreColors-Dwo1hcd9.js +1 -0
  285. package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
  286. package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
  287. package/dist/esm-es5/getOffset-BYS3c13B.js +1 -0
  288. package/dist/esm-es5/internals-DfaYciGa.js +1 -0
  289. package/dist/esm-es5/loader.js +1 -1
  290. package/dist/esm-es5/menu-dz9-Q2N8.js +1 -0
  291. package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
  292. package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -4
  293. package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
  294. package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +36 -0
  295. package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
  296. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +19 -15
  297. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +14 -0
  298. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
  299. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
  300. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +8 -2
  301. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +1 -0
  302. package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +2 -0
  303. package/dist/types/components/forms/bds-checkbox-card/bds-checkbox-card.d.ts +70 -0
  304. package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +8 -0
  305. package/dist/types/components/forms/bds-radio/bds-radio.d.ts +36 -0
  306. package/dist/types/components/forms/bds-radio/types/IRadio.d.ts +13 -0
  307. package/dist/types/components/forms/bds-radio-button/bds-radio-button.d.ts +36 -0
  308. package/dist/types/components/forms/bds-radio-button/types/IRadioButton.d.ts +13 -0
  309. package/dist/types/components/forms/bds-radio-card/bds-radio-card.d.ts +57 -0
  310. package/dist/types/components/forms/bds-radio-card/types/IRadioCard.d.ts +14 -0
  311. package/dist/types/components/forms/bds-radio-group/bds-radio-group.d.ts +82 -0
  312. package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +19 -0
  313. package/dist/types/components/forms/bds-radio-group/types/enum.d.ts +6 -0
  314. package/dist/types/components/forms/bds-radio-group/types/types.d.ts +3 -0
  315. package/dist/types/components.d.ts +941 -63
  316. package/dist/types/mixins/menu-behavior.mixin.d.ts +5 -1
  317. package/dist/types/types/index.d.ts +2 -0
  318. package/dist/types/types/orientation.d.ts +6 -0
  319. package/dist/types/utils/constants/common/Keys.d.ts +13 -16
  320. package/dist/types/utils/menu/menu-item.utils.d.ts +2 -2
  321. package/dist/types/utils/testing/helpers.d.ts +8 -0
  322. package/package.json +1 -1
  323. package/components-build/p-B8n1ru5i.js +0 -1
  324. package/components-build/p-CGdxFth9.js +0 -1
  325. package/components-build/p-CrAt6pGl.js +0 -1
  326. package/components-build/p-DCwT43Kz.js +0 -1
  327. package/components-build/p-DIY3CDNL.js +0 -1
  328. package/dist/boreal-web-components/p-0028481c.entry.js +0 -1
  329. package/dist/boreal-web-components/p-1466de58.system.entry.js +0 -1
  330. package/dist/boreal-web-components/p-2b8bd1dd.entry.js +0 -1
  331. package/dist/boreal-web-components/p-32c23246.system.entry.js +0 -1
  332. package/dist/boreal-web-components/p-3fbcc233.entry.js +0 -1
  333. package/dist/boreal-web-components/p-401f1aee.system.entry.js +0 -1
  334. package/dist/boreal-web-components/p-41cac1b8.system.entry.js +0 -1
  335. package/dist/boreal-web-components/p-627b19a5.system.entry.js +0 -1
  336. package/dist/boreal-web-components/p-649737e5.entry.js +0 -1
  337. package/dist/boreal-web-components/p-64cb5825.entry.js +0 -1
  338. package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +0 -1
  339. package/dist/boreal-web-components/p-74c13bed.system.entry.js +0 -1
  340. package/dist/boreal-web-components/p-7f7ac40f.entry.js +0 -1
  341. package/dist/boreal-web-components/p-82d49661.entry.js +0 -1
  342. package/dist/boreal-web-components/p-83ca193e.entry.js +0 -1
  343. package/dist/boreal-web-components/p-BQ_zoZa2.js +0 -1
  344. package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
  345. package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
  346. package/dist/boreal-web-components/p-CtknSula.system.js +0 -1
  347. package/dist/boreal-web-components/p-CvK2d92c.js +0 -1
  348. package/dist/boreal-web-components/p-CzYQb3pP.js +0 -1
  349. package/dist/boreal-web-components/p-DZcx75cy.system.js +0 -1
  350. package/dist/boreal-web-components/p-Dme-NuTD.system.js +0 -1
  351. package/dist/boreal-web-components/p-ba2b625a.system.entry.js +0 -1
  352. package/dist/boreal-web-components/p-bf2ef10b.entry.js +0 -1
  353. package/dist/boreal-web-components/p-c7aee9f4.system.entry.js +0 -1
  354. package/dist/cjs/Keys-DbIXSJF2.js +0 -22
  355. package/dist/esm/Keys-CzYQb3pP.js +0 -20
  356. package/dist/esm-es5/Keys-CzYQb3pP.js +0 -1
  357. package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
  358. package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +0 -1
  359. package/dist/esm-es5/getOffset-DKPjeBHi.js +0 -1
  360. /package/dist/collection/components/{helpers/types/IDivider.js → actions/bds-button-group/types/IButtonGroup.js} +0 -0
  361. /package/dist/collection/components/{helpers/types/types.js → actions/bds-list-menu/bds-list-menu/types/IListMenu.js} +0 -0
  362. /package/dist/collection/components/helpers/{types → bds-divider/types}/enum.js +0 -0
  363. /package/dist/types/components/helpers/{bds-divider.d.ts → bds-divider/bds-divider.d.ts} +0 -0
  364. /package/dist/types/components/helpers/{types → bds-divider/types}/IDivider.d.ts +0 -0
  365. /package/dist/types/components/helpers/{types → bds-divider/types}/enum.d.ts +0 -0
  366. /package/dist/types/components/helpers/{types → bds-divider/types}/types.d.ts +0 -0
@@ -0,0 +1,283 @@
1
+ import { M as Mixin, r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-BqJlOB6b.js';
2
+ import { f as formAssociatedMixin } from './form-associated.mixin-C4HM8wQe.js';
3
+ import { O as ORIENTATIONS } from './orientation-CPvuMm5C.js';
4
+ import { c as createId } from './BaseAttributes-DhSchGPI.js';
5
+ import { v as validatePropValue } from './validateProps-kGnB15Lz.js';
6
+ import { K as KEYBOARD } from './Keys-DlYG-OVB.js';
7
+
8
+ const RADIO_GROUP_TYPES = {
9
+ RADIO: 'radio'};
10
+
11
+ const bdsRadioGroupCss = () => `@charset "UTF-8";.bds-radio-group{--bds-divider-gap:var(--boreal-spacing-3xs);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--boreal-spacing-2xs)}.bds-radio-group__options{display:grid;grid-template-columns:1fr;gap:var(--boreal-spacing-xs)}.bds-radio-group[orientation=horizontal] .bds-radio-group__options{grid-template-columns:repeat(var(--layout-count, 1), auto);-ms-flex-pack:start;justify-content:start}.bds-radio-group[type=radiobutton] .bds-radio-group__options{display:-ms-inline-flexbox;display:inline-flex;gap:0;padding:var(--boreal-spacing-3xs);border:1px solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);border-radius:var(--boreal-radius-xs);overflow:hidden}.bds-radio-group[type=radiobutton][orientation=vertical] .bds-radio-group__options{-ms-flex-direction:column;flex-direction:column}.bds-radio-group[type=radiobutton].bds-radio-group--error .bds-radio-group__options{border-color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-radio-button.bds-radio-button--error{color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-divider[data-injected]{--bds-divider-color:var(--boreal-stroke-danger-base)}`;
12
+
13
+ const LEAF_TAGS = ['BDS-RADIO', 'BDS-RADIO-BUTTON', 'BDS-RADIO-CARD'];
14
+ const BdsRadioGroup = class extends Mixin(formAssociatedMixin) {
15
+ constructor(hostRef) {
16
+ super();
17
+ registerInstance(this, hostRef);
18
+ this.bdsChange = createEvent(this, "bdsChange");
19
+ this.valueChange = createEvent(this, "valueChange");
20
+ if (hostRef.$hostElement$["s-ei"]) {
21
+ this.internals = hostRef.$hostElement$["s-ei"];
22
+ }
23
+ else {
24
+ this.internals = hostRef.$hostElement$.attachInternals();
25
+ hostRef.$hostElement$["s-ei"] = this.internals;
26
+ }
27
+ this._id = createId('bds-radio-group');
28
+ /** Internal mirror of the `disabled` prop, kept in sync via `@Watch` and `formDisabledCallback`. */
29
+ this.isDisabled = false;
30
+ /** Set to true when native form validation fires the `invalid` event; cleared on reset or when value becomes valid. */
31
+ this.isInvalid = false;
32
+ /** Disables all child radios and prevents selection. Also mirrored to isDisabled @State for form-level disable support. */
33
+ this.disabled = false;
34
+ /** Shows error styling on the group helper text. Propagated to all child radios. */
35
+ this.error = false;
36
+ /** Error message rendered below the radio options when error is true. Replaces helperText. */
37
+ this.errorMessage = '';
38
+ /** Helper text rendered below the radio options. Shown in default state; replaced by errorMessage in error state. */
39
+ this.helperText = '';
40
+ /** Tooltip text shown on the group label info icon. */
41
+ this.info = '';
42
+ /** Group label rendered above the radio options. */
43
+ this.label = '';
44
+ /** Layout direction of the radio options. */
45
+ this.orientation = ORIENTATIONS.VERTICAL;
46
+ /** Marks the group as required for form submission. Triggers validity error when no radio is selected. */
47
+ this.required = false;
48
+ /** Identifies this group variant. 'radio' renders circular bds-radio children; 'radiobutton' renders bds-radio-button segmented control; 'radiocard' renders bds-radio-card element. */
49
+ this.type = RADIO_GROUP_TYPES.RADIO;
50
+ /** Currently selected radio value. Synced to children on change. */
51
+ this.value = '';
52
+ this.handleKeyDown = (event) => {
53
+ const target = event.target;
54
+ if (!LEAF_TAGS.includes(target.tagName))
55
+ return;
56
+ switch (event.key) {
57
+ case KEYBOARD.ArrowDown:
58
+ case KEYBOARD.ArrowRight:
59
+ this.navigateTo(target, true);
60
+ event.preventDefault();
61
+ break;
62
+ case KEYBOARD.ArrowUp:
63
+ case KEYBOARD.ArrowLeft:
64
+ this.navigateTo(target, false);
65
+ event.preventDefault();
66
+ break;
67
+ }
68
+ };
69
+ this.handleSlotChange = () => {
70
+ this.updateLayoutCount();
71
+ };
72
+ this._buttonCount = 0;
73
+ }
74
+ checkPropValues() {
75
+ validatePropValue(Object.values(ORIENTATIONS), ORIENTATIONS.VERTICAL, this.el, 'orientation');
76
+ }
77
+ onDisabledChange(next) {
78
+ this.isDisabled = next;
79
+ this.radioElements.forEach(el => (el.disabled = next));
80
+ }
81
+ onErrorChange(val) {
82
+ this.radioElements.forEach(el => (el.error = val));
83
+ }
84
+ onValueChange(val) {
85
+ this.radioElements.forEach(el => {
86
+ el.checked = el.value === val;
87
+ el.setAttribute('aria-checked', String(el.value === val));
88
+ });
89
+ const checked = this.radioElements.find(el => el.checked);
90
+ this.updateTabIndexes(checked ?? null);
91
+ }
92
+ componentWillLoad() {
93
+ this.checkPropValues();
94
+ this.isDisabled = this.disabled;
95
+ if (this.value === '') {
96
+ const lastChecked = Array.from(this.el.querySelectorAll('bds-radio[checked], bds-radio-button[checked], bds-radio-card[checked]')).at(-1);
97
+ if (lastChecked !== undefined) {
98
+ this.value = lastChecked.getAttribute('value') ?? '';
99
+ }
100
+ }
101
+ }
102
+ componentDidLoad() {
103
+ const checkedChildren = this.radioElements.filter(el => el.checked);
104
+ if (checkedChildren.length > 1) {
105
+ checkedChildren.slice(0, -1).forEach(el => (el.checked = false));
106
+ }
107
+ this.onValueChange(this.value);
108
+ if (this.error)
109
+ this.radioElements.forEach(el => (el.error = true));
110
+ this.updateLayoutCount();
111
+ this.updateTabIndexes(this.radioElements.find(el => el.checked) ?? this.radioElements.find(el => !el.disabled) ?? null);
112
+ this.updateFormValidity();
113
+ }
114
+ formAssociatedCallback() {
115
+ this.syncFormValue();
116
+ }
117
+ formResetCallback() {
118
+ this.value = '';
119
+ this.isInvalid = false;
120
+ this.radioElements.forEach(radio => {
121
+ radio.checked = false;
122
+ radio.setAttribute('aria-checked', 'false');
123
+ if (!this.error)
124
+ radio.error = false;
125
+ });
126
+ this.internals.setFormValue(null);
127
+ this.updateFormValidity();
128
+ const first = this.radioElements.find(el => !el.disabled);
129
+ this.updateTabIndexes(first ?? null);
130
+ }
131
+ formStateRestoreCallback(state, _mode) {
132
+ const val = typeof state === 'string' ? state : '';
133
+ this.value = val;
134
+ this.internals.setFormValue(val !== '' ? val : null);
135
+ }
136
+ formDisabledCallback(disabled) {
137
+ this.isDisabled = disabled;
138
+ this.radioElements.forEach(el => (el.disabled = disabled));
139
+ }
140
+ handleRadioChange(event) {
141
+ const target = event.target;
142
+ if (!LEAF_TAGS.includes(target.tagName))
143
+ return;
144
+ this.radioElements
145
+ .filter(el => el !== target)
146
+ .forEach(el => {
147
+ el.checked = false;
148
+ el.setAttribute('aria-checked', 'false');
149
+ });
150
+ this.value = event.detail.value;
151
+ this.internals.setFormValue(this.value);
152
+ this.updateTabIndexes(target);
153
+ this.updateFormValidity();
154
+ this.bdsChange.emit({ value: this.value });
155
+ this.valueChange.emit(this.value);
156
+ }
157
+ handleInvalid(event) {
158
+ if (this.errorMessage !== '') {
159
+ event.preventDefault();
160
+ this.isInvalid = true;
161
+ this.radioElements.forEach(el => (el.error = true));
162
+ }
163
+ }
164
+ /** Returns whether the group's current value satisfies the browser's built-in constraint validation. */
165
+ async checkValidity() {
166
+ return this.internals.checkValidity();
167
+ }
168
+ /** Reports the group's validity state to the user, showing native validation UI if invalid. */
169
+ async reportValidity() {
170
+ return this.internals.reportValidity();
171
+ }
172
+ navigateTo(current, forward) {
173
+ const elements = this.radioElements.filter(el => !el.disabled);
174
+ if (elements.length === 0)
175
+ return;
176
+ const idx = elements.indexOf(current);
177
+ const newIndex = (elements.length + idx + (forward ? 1 : -1)) % elements.length;
178
+ const next = elements[newIndex];
179
+ next.checked = true;
180
+ next.setAttribute('aria-checked', 'true');
181
+ this.radioElements
182
+ .filter(el => el !== next)
183
+ .forEach(el => {
184
+ el.checked = false;
185
+ el.setAttribute('aria-checked', 'false');
186
+ });
187
+ this.value = next.value;
188
+ this.internals.setFormValue(this.value);
189
+ this.updateTabIndexes(next);
190
+ this.updateFormValidity();
191
+ this.bdsChange.emit({ value: this.value });
192
+ this.valueChange.emit(this.value);
193
+ next.focus();
194
+ }
195
+ insertDividers() {
196
+ this.el.querySelectorAll('bds-divider[data-injected]').forEach(d => d.remove());
197
+ if (this.type !== 'radiobutton')
198
+ return;
199
+ const dividerOrientation = this.orientation === ORIENTATIONS.HORIZONTAL ? ORIENTATIONS.VERTICAL : ORIENTATIONS.HORIZONTAL;
200
+ const buttons = this.radioElements.filter((el) => el.tagName === 'BDS-RADIO-BUTTON');
201
+ buttons.forEach((btn, i) => {
202
+ if (i === 0)
203
+ return;
204
+ const divider = document.createElement('bds-divider');
205
+ divider.setAttribute('orientation', dividerOrientation);
206
+ divider.setAttribute('data-injected', '');
207
+ btn.parentNode?.insertBefore(divider, btn);
208
+ });
209
+ }
210
+ get radioElements() {
211
+ return Array.from(this.el.querySelectorAll('bds-radio, bds-radio-button, bds-radio-card'));
212
+ }
213
+ syncFormValue() {
214
+ this.internals.setFormValue(this.value !== '' ? this.value : null);
215
+ this.updateFormValidity();
216
+ }
217
+ updateFormValidity() {
218
+ if (this.required && this.value === '') {
219
+ const anchor = this.radioElements.find(el => !el.disabled);
220
+ this.internals.setValidity({ valueMissing: true }, this.errorMessage !== '' ? this.errorMessage : 'Please select an option.', anchor);
221
+ }
222
+ else {
223
+ this.internals.setValidity({});
224
+ if (this.isInvalid) {
225
+ this.isInvalid = false;
226
+ if (!this.error)
227
+ this.radioElements.forEach(el => (el.error = false));
228
+ }
229
+ }
230
+ }
231
+ updateLayoutCount() {
232
+ const count = this.radioElements.length;
233
+ this.el.style.setProperty('--layout-count', `${count}`);
234
+ if (count !== this._buttonCount) {
235
+ this._buttonCount = count;
236
+ this.insertDividers();
237
+ }
238
+ }
239
+ updateTabIndexes(active) {
240
+ this.radioElements.forEach(el => el.setAttribute('tabindex', '-1'));
241
+ if (active !== null)
242
+ active.setAttribute('tabindex', '0');
243
+ }
244
+ get isError() {
245
+ const error = this.error && !this.disabled;
246
+ return error || this.isInvalid;
247
+ }
248
+ get classMap() {
249
+ return {
250
+ 'bds-radio-group': true,
251
+ 'bds-radio-group--disabled': this.isDisabled,
252
+ 'bds-radio-group--error': this.isError,
253
+ 'bds-radio-group--required': this.required,
254
+ };
255
+ }
256
+ render() {
257
+ const labelId = `${this._id}-label`;
258
+ const helperId = `${this._id}-helper`;
259
+ const showError = this.isError;
260
+ const typographyState = this.isDisabled ? 'disabled' : showError ? 'error' : 'default';
261
+ const helperContent = showError && this.errorMessage !== '' ? this.errorMessage : this.helperText;
262
+ return (h(Host, { key: 'ab755f253ab7096e8ed0efa7196cedd96cdc7ca8', class: this.classMap, role: "radiogroup", "aria-labelledby": this.label !== '' ? labelId : undefined, "aria-describedby": helperContent !== '' ? helperId : undefined, "aria-invalid": showError ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, onKeyDown: this.handleKeyDown }, this.label && (h("bds-typography", { key: '85bc7d114efabd92930c6c934c19e4ba887a3663', id: labelId, variant: "label", state: typographyState, required: this.required, tooltipText: this.info !== '' ? this.info : undefined }, this.label)), h("div", { key: '3f1670875353369c608c9cf064ccb1b7beede19a', class: "bds-radio-group__options" }, h("slot", { key: 'b0d52880c82dec9557c10bcf7ef8930299bdf7a6', onSlotchange: this.handleSlotChange })), helperContent && (h("bds-typography", { key: 'f0a17de329944c3fe63cf7cb586ec85016693208', id: helperId, variant: "helper", state: typographyState }, helperContent))));
263
+ }
264
+ static get formAssociated() { return true; }
265
+ get el() { return getElement(this); }
266
+ static get watchers() { return {
267
+ "orientation": [{
268
+ "checkPropValues": 0
269
+ }],
270
+ "disabled": [{
271
+ "onDisabledChange": 0
272
+ }],
273
+ "error": [{
274
+ "onErrorChange": 0
275
+ }],
276
+ "value": [{
277
+ "onValueChange": 0
278
+ }]
279
+ }; }
280
+ };
281
+ BdsRadioGroup.style = bdsRadioGroupCss();
282
+
283
+ export { BdsRadioGroup as bds_radio_group };
@@ -0,0 +1,58 @@
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-BqJlOB6b.js';
2
+
3
+ const bdsRadioCss = () => `@charset "UTF-8";.bds-radio__content,.bds-radio__icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-radio__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}.bds-radio{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs);cursor:pointer;outline:none}.bds-radio input[type=radio]{position:absolute;opacity:0;width:0;height:0;margin:0;pointer-events:none}.bds-radio__content{gap:var(--boreal-spacing-3xs)}.bds-radio__icon{-ms-flex-negative:0;flex-shrink:0;line-height:1}.bds-radio__label{font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default)}.bds-radio__button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:18px;height:18px;border-radius:var(--boreal-radius-full);border:1px solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio__dot{width:10px;height:10px;border-radius:var(--boreal-radius-full);background-color:transparent;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio__info-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:var(--boreal-typography-font-size-sm);line-height:1;color:var(--boreal-icon-default-ink)}.bds-radio:hover:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__button{border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-radio:hover:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__dot{background-color:var(--boreal-ui-base-light)}.bds-radio:is(:focus-visible,:focus) .bds-radio__button{-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-radio:active:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__button{-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-radio--checked .bds-radio__button{border-color:var(--boreal-stroke-primary-base)}.bds-radio--checked .bds-radio__dot{background-color:var(--boreal-ui-primary-base)}.bds-radio--error .bds-radio__button{border-color:var(--boreal-stroke-danger-base)}.bds-radio--disabled{cursor:not-allowed;pointer-events:none}.bds-radio--disabled .bds-radio__button{border-color:var(--boreal-stroke-default-light);background-color:var(--boreal-ui-disabled)}.bds-radio--disabled .bds-radio__label{color:var(--boreal-text-disabled)}.bds-radio--disabled.bds-radio--checked .bds-radio__button{border-color:var(--boreal-ui-primary-light)}.bds-radio--disabled.bds-radio--checked .bds-radio__dot{background-color:var(--boreal-ui-primary-light)}`;
4
+
5
+ const BdsRadio = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.bdsChange = createEvent(this, "bdsChange");
9
+ /** Whether this radio is selected. Managed by bds-radio-group; can be set directly when used standalone. */
10
+ this.checked = false;
11
+ /** Disables the radio, preventing interaction and selection. */
12
+ this.disabled = false;
13
+ /** Value submitted with the form when this radio is selected. */
14
+ this.value = 'on';
15
+ /** Name attribute stamped by the parent bds-radio-group via setAttribute. Set directly when used standalone. */
16
+ this.name = '';
17
+ /** Label text displayed next to the radio indicator. Falls back to the default slot when empty. */
18
+ this.label = '';
19
+ /** Shows error styling on the radio indicator. Propagated by bds-radio-group. */
20
+ this.error = false;
21
+ /** Tooltip text shown on an info icon next to the label. */
22
+ this.info = '';
23
+ this.handleClick = () => this.select();
24
+ this.handleKeyDown = (event) => {
25
+ if (event.key === ' ') {
26
+ event.preventDefault();
27
+ this.select();
28
+ }
29
+ };
30
+ }
31
+ componentDidLoad() {
32
+ this.el.setAttribute('role', 'radio');
33
+ this.el.setAttribute('aria-checked', String(this.checked));
34
+ this.el.setAttribute('tabindex', '-1');
35
+ }
36
+ select() {
37
+ if (this.disabled || this.checked)
38
+ return;
39
+ this.checked = true;
40
+ this.el.setAttribute('aria-checked', 'true');
41
+ this.bdsChange.emit({ checked: true, value: this.value });
42
+ }
43
+ get classMap() {
44
+ return {
45
+ 'bds-radio': true,
46
+ 'bds-radio--checked': this.checked,
47
+ 'bds-radio--error': this.error,
48
+ 'bds-radio--disabled': this.disabled,
49
+ };
50
+ }
51
+ render() {
52
+ return (h(Host, { key: '1d68465b5124471bda9fb1e4f3dc022d4f22be6d', class: this.classMap, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("input", { key: '8c820cf327a9978f6f098794e26a4ec0394e99c3', type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, "aria-hidden": "true", tabIndex: -1, onFocus: () => this.el.focus() }), h("span", { key: '6de9fcb7657842b81b4bf803e3e60b6891fef27e', class: "bds-radio__button" }, h("span", { key: '660c57e990abc4f6f1288f93c198e9bb60be6c29', class: "bds-radio__dot" })), h("span", { key: 'ec3879d0edb42cdbc7b4257d563d9c298fd3b89d', class: "bds-radio__content" }, h("span", { key: '430b04fd6f836cf2881fecf9df56bee70486da85', class: "bds-radio__icon" }, h("slot", { key: '30dcf8837cd50a9e48a6c061576f7b9d53eeabd9', name: "icon" })), h("span", { key: 'dbb139d87c4689a64e2860b365d7c261c56b638b', class: "bds-radio__label" }, this.label || h("slot", { key: 'a7d985fa9773a8f285c36f3deaeb7112adf20f95' })), this.info && (h("span", { key: '36958330fd1ed9fa6f64bcf757c9be113fae5daf', class: "bds-radio__info" }, h("span", { key: 'ea5a415943c9f67f027a4b241d024ea61321a8a1', class: "bds-radio__info-icon bds-icon-info-circle", "aria-hidden": "true" }), h("bds-tooltip", { key: '875105c226c6d1fb90d62fe275ed544f043a1c19' }, this.info))))));
53
+ }
54
+ get el() { return getElement(this); }
55
+ };
56
+ BdsRadio.style = bdsRadioCss();
57
+
58
+ export { BdsRadio as bds_radio };
@@ -38,7 +38,7 @@ const BdsSpinner = class {
38
38
  };
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'd114eb6445b81a4e7beafd0ff08b8aaf6e1a96e7', class: this.getClassMap, role: "status", "aria-label": this.label, "aria-live": "polite", "aria-busy": "true" }, h("span", { key: 'fa45675b2e258eca9c44a9374a65f26c781343d5', class: "bds-spinner__sr-only" }, this.label)));
41
+ return (h(Host, { key: '7e7846adadb6224abfcaaf2478768b72ec712659', class: this.getClassMap, role: "status", "aria-label": this.label, "aria-live": "polite", "aria-busy": "true" }, h("span", { key: '1c6aad446ed35a3adcb4e4f28fd4a3e7b9b7cb3a', class: "bds-spinner__sr-only" }, this.label)));
42
42
  }
43
43
  get el() { return getElement(this); }
44
44
  static get watchers() { return {
@@ -40,7 +40,7 @@ const BdsStatus = class {
40
40
  };
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '36cf2dfe777002b02d126d38cb9ed2bce3f828a6', class: this.classMap, role: "status" }, this.indicator === INDICATOR_TYPES.DOT ? h("div", { class: "bds-status__dot", "aria-hidden": "true" }) : '', h("slot", { key: '99ab1fa89dc28f3ffca617508b5c577abf874d7a', name: "icon" }), h("slot", { key: '8ff726d294fc524950ac0255c71f4ba65b3c9b96' })));
43
+ return (h(Host, { key: '9a952b22de8565fcca464d045f71ea86c92c8632', class: this.classMap, role: "status" }, this.indicator === INDICATOR_TYPES.DOT ? h("div", { class: "bds-status__dot", "aria-hidden": "true" }) : '', h("slot", { key: '47e03b139fcb4da8b15fe115518856c54d02a320', name: "icon" }), h("slot", { key: 'e512e975c2df8fa3e3380f27808eec96be5ad455' })));
44
44
  }
45
45
  get el() { return getElement(this); }
46
46
  static get watchers() { return {
@@ -121,7 +121,7 @@ const BdsTag = class {
121
121
  const classes = this.getClasses();
122
122
  const hasCloseButton = !this.readonly;
123
123
  const isSelectable = this.multiselect;
124
- return (h(Host, { key: '0864f3764aef3354e5b2c7494a5c9c2cb261582f', class: classes, role: isSelectable ? 'option' : undefined, tabIndex: isSelectable && !this.disabled ? 0 : -1, "aria-disabled": this.disabled ? 'true' : undefined, "aria-selected": isSelectable ? `${this.internalSelected}` : undefined, onKeyDown: !this.disabled ? (e) => this.handleKeyDown(e) : undefined, onClick: !this.disabled ? this.handleSelection : undefined, id: this._id }, this.renderTag(), hasCloseButton && this.renderCloseIcon()));
124
+ return (h(Host, { key: 'bd62a05fccbfa4aed3b7f72b9edf800c3ab05362', class: classes, role: isSelectable ? 'option' : undefined, tabIndex: isSelectable && !this.disabled ? 0 : -1, "aria-disabled": this.disabled ? 'true' : undefined, "aria-selected": isSelectable ? `${this.internalSelected}` : undefined, onKeyDown: !this.disabled ? (e) => this.handleKeyDown(e) : undefined, onClick: !this.disabled ? this.handleSelection : undefined, id: this._id }, this.renderTag(), hasCloseButton && this.renderCloseIcon()));
125
125
  }
126
126
  get el() { return getElement(this); }
127
127
  static get watchers() { return {
@@ -1,5 +1,6 @@
1
1
  import { M as Mixin, r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-BqJlOB6b.js';
2
- import { f as formAssociatedMixin, s as setFormValue, r as runValidators } from './form-associated.mixin-CvK2d92c.js';
2
+ import { f as formAssociatedMixin } from './form-associated.mixin-C4HM8wQe.js';
3
+ import { s as setFormValue, r as runValidators } from './internals-DfaYciGa.js';
3
4
  import { c as createId } from './BaseAttributes-DhSchGPI.js';
4
5
  import { v as validatePropValue } from './validateProps-kGnB15Lz.js';
5
6
 
@@ -331,7 +332,7 @@ const BdsTextField = class extends Mixin(formAssociatedMixin) {
331
332
  : this.helperText;
332
333
  const showFooter = helperContent !== '' || (this.counter && this.charCount > 0);
333
334
  const typographyState = this.isDisabled ? 'disabled' : effectiveError ? 'error' : 'default';
334
- return (h(Host, { key: '96b7e057fa7f25e8f7d13b7de0fd17f12de602bb', class: this.classMap, style: this.hostStyle, tabIndex: -1, onFocus: () => !this.readOnly && this.el.querySelector('input')?.focus() }, this.label !== '' && (h("bds-typography", { key: 'e827b43ea347037ff2d404229aaefdd258d2ad22', id: labelId, variant: "label", htmlFor: this._id, required: this.required, tooltipText: this.info !== '' ? this.info : undefined, state: typographyState }, this.label)), h("div", { key: 'f579762db25f65031917874dbb4c2347b5d9f027', class: "bds-text-field__container" }, (this.icon !== '' || this.sublabel !== '') && (h("span", { key: '191d2ccec9baf8b739163eea112dce9a1073f4bd', class: "bds-text-field__sublabel" }, this.icon !== '' && h("em", { key: '1cc1b1b7ece610b2a18ba872c4b7035d2239731b', class: this.icon }), this.sublabel)), h("slot", { key: 'ba7b08573b6ae35c10649125991a2bbed15f31f3', name: "prefix" }), h("input", { key: '6391338c4f636382cf19f888dc810baaf6820c80', id: this._id, class: "bds-text-field__control", "aria-labelledby": this.label !== '' ? labelId : undefined, "aria-describedby": showFooter && helperContent !== '' ? helperId : undefined, "aria-invalid": this.error || this.validationError ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, type: this.type === TEXT_FIELD_TYPES.PASSWORD && this.showPassword ? TEXT_FIELD_TYPES.TEXT : this.type, value: this.value, disabled: this.isDisabled, readOnly: this.readOnly, tabIndex: this.readOnly ? -1 : undefined, placeholder: this.placeholder, autocomplete: this.autocomplete, pattern: this.pattern !== '' ? this.pattern : undefined, minLength: this.minLength !== 0 ? this.minLength : undefined, maxLength: this.effectiveMaxLength, onMouseDown: (e) => this.handleMouseDown(e), onInput: (e) => this.handleInput(e), onChange: (e) => this.handleChange(e), onFocus: (e) => this.handleFocus(e), onBlur: (e) => this.handleBlur(e) }), (showClear || this.type === TEXT_FIELD_TYPES.PASSWORD) && (h("div", { key: 'e5dc4cab3d536ef09eaeae96ca68a7d4b4e15d92', class: "bds-text-field__actions" }, showClear && (h("button", { key: 'b18d06de000c3ea465be221dcbb77ab49bb3949f', class: "bds-text-field__action bds-text-field__action--clear", type: "button", "aria-label": ARIA_LABELS.Clear, onClick: () => this.handleClear() }, h("em", { key: '0aa5d75c5214b7832a2a2e80a1cd2c42af5bea9a', class: this.iconClear }))), this.type === TEXT_FIELD_TYPES.PASSWORD && (h("button", { key: 'fd97135cca8d32178461bf7109c9b6a7eec543e9', class: "bds-text-field__action bds-text-field__action--password", type: "button", "aria-label": this.showPassword ? ARIA_LABELS.HidePassword : ARIA_LABELS.ShowPassword, onClick: () => this.handleShowPassword() }, h("em", { key: '0de72e7756ad62bbe4fb5f925526071720f358db', class: this.showPasswordIcon })))))), showFooter && (h("div", { key: '9d1c0e8920511650ab6711f2f813c01491d52414', class: "bds-text-field__footer" }, helperContent !== '' && (h("bds-typography", { key: 'f27235a7a38f34b9a9f7bae762c3c6be12acd8b0', id: helperId, variant: "helper", state: typographyState }, helperContent)), this.counter && this.charCount > 0 && (h("span", { key: '3aa43ea8bd6a35963f0983ec8814e0ce19ee71ce', class: "bds-text-field__char-count" }, this.currentCharCount, "/", this.charCount))))));
335
+ return (h(Host, { key: '5f52a0a9553efa1ec140b9edc4d3d332b9b306bc', class: this.classMap, style: this.hostStyle, tabIndex: -1, onFocus: () => !this.readOnly && this.el.querySelector('input')?.focus() }, this.label !== '' && (h("bds-typography", { key: 'eea2b4211cb13cc24baa650239ceca1168933eb5', id: labelId, variant: "label", htmlFor: this._id, required: this.required, tooltipText: this.info !== '' ? this.info : undefined, state: typographyState }, this.label)), h("div", { key: '17d9e4b5f7e0d64a7e6e73200073db9e2d89b601', class: "bds-text-field__container" }, (this.icon !== '' || this.sublabel !== '') && (h("span", { key: '5557471fd0b5b49a1bb856ea4c1b901ca96039e6', class: "bds-text-field__sublabel" }, this.icon !== '' && h("em", { key: 'e213979d268b2fce51a0a090b82dff0552515a8c', class: this.icon }), this.sublabel)), h("slot", { key: '828b889037a40e562bf45a4b502988542b815701', name: "prefix" }), h("input", { key: 'b842de768f53b095b65fc60da7a0cfabfbcc87d1', id: this._id, class: "bds-text-field__control", "aria-labelledby": this.label !== '' ? labelId : undefined, "aria-describedby": showFooter && helperContent !== '' ? helperId : undefined, "aria-invalid": this.error || this.validationError ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, type: this.type === TEXT_FIELD_TYPES.PASSWORD && this.showPassword ? TEXT_FIELD_TYPES.TEXT : this.type, value: this.value, disabled: this.isDisabled, readOnly: this.readOnly, tabIndex: this.readOnly ? -1 : undefined, placeholder: this.placeholder, autocomplete: this.autocomplete, pattern: this.pattern !== '' ? this.pattern : undefined, minLength: this.minLength !== 0 ? this.minLength : undefined, maxLength: this.effectiveMaxLength, onMouseDown: (e) => this.handleMouseDown(e), onInput: (e) => this.handleInput(e), onChange: (e) => this.handleChange(e), onFocus: (e) => this.handleFocus(e), onBlur: (e) => this.handleBlur(e) }), (showClear || this.type === TEXT_FIELD_TYPES.PASSWORD) && (h("div", { key: '19ffb36c88f72645969fed69eb8368647ea8071c', class: "bds-text-field__actions" }, showClear && (h("button", { key: '1adbe2d791fa48cbc6d0b9d71bda40f01f77efe4', class: "bds-text-field__action bds-text-field__action--clear", type: "button", "aria-label": ARIA_LABELS.Clear, onClick: () => this.handleClear() }, h("em", { key: '72e94a903896a8f0d04569ffb4b692c5fe37c621', class: this.iconClear }))), this.type === TEXT_FIELD_TYPES.PASSWORD && (h("button", { key: '795a85ad395254a8dbac151eb225aeb0d0d9266a', class: "bds-text-field__action bds-text-field__action--password", type: "button", "aria-label": this.showPassword ? ARIA_LABELS.HidePassword : ARIA_LABELS.ShowPassword, onClick: () => this.handleShowPassword() }, h("em", { key: 'e84632218e25422ce5ba64ad6efc40a94310a0c5', class: this.showPasswordIcon })))))), showFooter && (h("div", { key: 'ef98f783b7cd1ccf37d04a209d1bcf4b87ca048a', class: "bds-text-field__footer" }, helperContent !== '' && (h("bds-typography", { key: 'c560b15810400be0710368c089294a6ee51746b1', id: helperId, variant: "helper", state: typographyState }, helperContent)), this.counter && this.charCount > 0 && (h("span", { key: 'e4f7d33f2e3bf588f30ccb7165a9b385d8f5a8e3', class: "bds-text-field__char-count" }, this.currentCharCount, "/", this.charCount))))));
335
336
  }
336
337
  static get formAssociated() { return true; }
337
338
  get el() { return getElement(this); }
@@ -1,6 +1,7 @@
1
1
  import { M as Mixin, r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-BqJlOB6b.js';
2
- import { f as formAssociatedMixin, s as setFormValue } from './form-associated.mixin-CvK2d92c.js';
3
- import { a as inheritAriaAttributes } from './attributes-CaHOghy5.js';
2
+ import { f as formAssociatedMixin } from './form-associated.mixin-C4HM8wQe.js';
3
+ import { a as inheritAriaAttributes } from './attributes-U9yfbs7i.js';
4
+ import { s as setFormValue } from './internals-DfaYciGa.js';
4
5
  import { c as createId } from './BaseAttributes-DhSchGPI.js';
5
6
 
6
7
  const TOGGLE_PLACEMENT = {
@@ -166,7 +167,7 @@ const BdsToggle = class extends Mixin(formAssociatedMixin) {
166
167
  : this.validationError && this.validationMessage !== ''
167
168
  ? this.validationMessage
168
169
  : this.helperText;
169
- return (h(Host, { key: '8aa5ec26708ce8eb834020353e2e01e882cefad6', ...this.inheritedAttributes, onClick: this.handleClick, onKeyDown: this.handleKeyDown, class: blockClass }, h("div", { key: 'a62ae102ba2167be5e03758c5bfc6197e8f3b73c', part: "container", class: this.containerClasses }, this.canShowLabel && (h("bds-typography", { key: 'c6129d113b083f9db5bad181f5a8cf1ae161b593', variant: "label", class: `${blockClass}__label`, htmlFor: this._id, required: this.required, tooltipText: this.info }, this.label)), h("label", { key: '570a0637d106b24823d39945e1b7a68a4cec4f36', class: `${blockClass}__switch`, htmlFor: this._id, onClick: e => e.preventDefault() }, h("input", { key: '197a94215e42e7a8a9d5a5652ad1163b501799ab', class: `${blockClass}__input`, "aria-invalid": this.error || this.validationError ? 'true' : undefined, "aria-label": this.label || null, id: this._id, type: "checkbox", name: this.name, required: this.required, disabled: this.isDisabled, checked: this.isChecked, onInvalid: this.handleInvalid }), h("span", { key: '09ac81f91f9dc92c4e4cac593db4be4697243ce0', class: `${blockClass}__slider ${blockClass}__slider--round` }))), helperContent !== '' && (h("bds-typography", { key: '4a35755ec9e280dfedb839826683f1272c76223d', class: `${blockClass}__helper-text`, variant: "helper", state: typographyState, onClick: e => e.stopPropagation() }, helperContent))));
170
+ return (h(Host, { key: 'b5d27825358eaadb5cbca86e48488350e6099d8f', ...this.inheritedAttributes, onClick: this.handleClick, onKeyDown: this.handleKeyDown, class: blockClass }, h("div", { key: '9b7bb4c4551beb61ed72c9ee4a4d7ee14e746c4e', part: "container", class: this.containerClasses }, this.canShowLabel && (h("bds-typography", { key: 'a95e1b66d8452b983002348b9456aa0c3674b202', variant: "label", class: `${blockClass}__label`, htmlFor: this._id, required: this.required, tooltipText: this.info }, this.label)), h("label", { key: '954125135521cd6e65c2e6c3dfa41216e6f52dd3', class: `${blockClass}__switch`, htmlFor: this._id, onClick: e => e.preventDefault() }, h("input", { key: 'c3e0ee266aba0bd6e8ca7fb2d3efaeb412161806', class: `${blockClass}__input`, "aria-invalid": this.error || this.validationError ? 'true' : undefined, "aria-label": this.label || null, id: this._id, type: "checkbox", name: this.name, required: this.required, disabled: this.isDisabled, checked: this.isChecked, onInvalid: this.handleInvalid }), h("span", { key: '68912685234edb7c6ec972231c7f951531862f7c', class: `${blockClass}__slider ${blockClass}__slider--round` }))), helperContent !== '' && (h("bds-typography", { key: '3e5645d234edc1f3efe7805260def2c74bc7cd44', class: `${blockClass}__helper-text`, variant: "helper", state: typographyState, onClick: e => e.stopPropagation() }, helperContent))));
170
171
  }
171
172
  static get formAssociated() { return true; }
172
173
  get el() { return getElement(this); }
@@ -1,9 +1,10 @@
1
1
  import { M as Mixin, r as registerInstance, h, a as Host, g as getElement } from './index-BqJlOB6b.js';
2
- import { a as anchoredMixin, g as getOffset } from './getOffset-DKPjeBHi.js';
2
+ import { a as anchoredMixin, g as getOffset } from './getOffset-BYS3c13B.js';
3
3
  import { C as COMPONENT_STATES } from './states-Bfazyxqi.js';
4
- import { a as inheritAriaAttributes } from './attributes-CaHOghy5.js';
4
+ import { a as inheritAriaAttributes } from './attributes-U9yfbs7i.js';
5
+ import './Logger-iq2UuV7c.js';
5
6
  import './floating.mixin-DCXSEEVH.js';
6
- import './Keys-CzYQb3pP.js';
7
+ import './Keys-DlYG-OVB.js';
7
8
 
8
9
  const ALIGNMENT = {
9
10
  START: 'start'};
@@ -56,7 +57,7 @@ const BdsTooltip = class extends Mixin(anchoredMixin) {
56
57
  */
57
58
  get options() {
58
59
  return {
59
- placement: this.floatingOptions.placement ?? 'bottom',
60
+ placement: this.floatingOptions.placement ?? 'top',
60
61
  offset: getOffset(this.floatingOptions?.hideArrow, this.floatingOptions.offset, OFFSET),
61
62
  arrow: this.floatingOptions.hideArrow ? undefined : this.arrowElement,
62
63
  strategy: 'fixed',
@@ -84,7 +85,7 @@ const BdsTooltip = class extends Mixin(anchoredMixin) {
84
85
  return !this.floatingOptions.hideArrow || false;
85
86
  }
86
87
  get getPlacement() {
87
- return this.floatingOptions.placement || 'bottom';
88
+ return this.floatingOptions.placement || 'top';
88
89
  }
89
90
  /**
90
91
  * Guard called by `onBeforeShow` to determine whether the tooltip is allowed to show.
@@ -157,7 +158,7 @@ const BdsTooltip = class extends Mixin(anchoredMixin) {
157
158
  }
158
159
  render() {
159
160
  const classes = this.tooltipStyles;
160
- return (h(Host, { key: '7ba6db9103d172c519e4f9bd3e8743ba506057f1', class: "tooltip" }, h("div", { key: 'bea4019c3c4d0d1ac605e3c7d5e35564c8173c9e', id: "tooltip-content", part: "tooltip-content", class: classes, popover: "manual", role: "tooltip", "aria-hidden": this.isVisible ? 'false' : 'true', "data-placement": this.getPlacement, "data-multiline": this.multiline, "data-hidearrow": this.canShowArrow, ref: el => (this.floatingContent = el) }, this.canShowArrow && (h("div", { key: 'f598c2b54709269fcb1d3335d86400cc3ab4a177', class: "tooltip-arrow", part: "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '2a18a5c6839c21ec3c0a9f82b6117bded3c08b26' }))));
161
+ return (h(Host, { key: 'add483ba4072484f1f6d18271ecb74c46a449f41', class: "tooltip" }, h("div", { key: 'ede2a5f6230a4baacb36c24dd57be73fda63e438', id: "tooltip-content", part: "tooltip-content", class: classes, popover: "manual", role: "tooltip", "aria-hidden": this.isVisible ? 'false' : 'true', "data-placement": this.getPlacement, "data-multiline": this.multiline, "data-hidearrow": this.canShowArrow, ref: el => (this.floatingContent = el) }, this.canShowArrow && (h("div", { key: 'c8580171bc2c01eaca84aa1a029dce6f429359f8', class: "tooltip-arrow", part: "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '10ead9bb5007414959d4aeacd8c0c1c52223f70d' }))));
161
162
  }
162
163
  get el() { return getElement(this); }
163
164
  };
@@ -210,7 +211,7 @@ const getAttributesByTag = (comp, tagName) => {
210
211
  return ATTR_MAP[tagName] || {};
211
212
  };
212
213
 
213
- const bdsTypographyCss = () => `@charset "UTF-8";bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}`;
214
+ const bdsTypographyCss = () => `@charset "UTF-8";.bds-typography__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}`;
214
215
 
215
216
  const BdsTypography = class {
216
217
  constructor(hostRef) {
@@ -303,7 +304,7 @@ const BdsTypography = class {
303
304
  const classes = this.getVariantStateStyles();
304
305
  const { canUseTooltip = null, required = null } = this.getVariantConfig();
305
306
  const isDisabledState = this.state === COMPONENT_STATES.DISABLED;
306
- return (h(Host, { key: 'a9b61038ed68ce72e8a96845ac3c082a6b635053', class: `bds-typography ${isDisabledState ? 'bds-typography--disabled-cursor' : ''}` }, h(TagName, { key: '3966152c29dd0af270676ab7af0aaf811b48624a', class: classes, style: { webkitLineClamp: this.maxLines }, ...attributes }, h("slot", { key: 'fe090f9278feac140d0d4b979912b332da5d6ec8' }), this.required && required && (h("em", { key: 'ccfd67dda34d927778ccf59a40cae185952f2495', class: "bds-typography__required-indicator", "aria-hidden": "true" }, "*")), this.tooltipText && canUseTooltip && (h("span", { key: '720ef78bd2e638e0d0be56918483fe227a011f5e' }, h("em", { key: '5e064aaed2633b33677e12774dead52ee0871f4a', class: "bds-typography__info-icon bds-icon-info-circle", "aria-label": this.tooltipText }, h("bds-tooltip", { key: '9ec65063f105cec050f01348a64e7b9f5fa8e968' }, this.tooltipText)))))));
307
+ return (h(Host, { key: 'd29b535edeb7ede877c979ea812eb6c273affc0d', class: `bds-typography ${isDisabledState ? 'bds-typography--disabled-cursor' : ''}` }, h(TagName, { key: '3a36a1c47026a20d9c95e4c2d38e92caaa89b072', class: classes, style: { webkitLineClamp: this.maxLines }, ...attributes }, h("slot", { key: '8a0ccd7824ac358e937dd6e2fb1c3eb592e27721' }), this.required && required && (h("em", { key: '5ce4cc221efcf9d5a71bbc39dbc449a3a29c16a6', class: "bds-typography__required-indicator", "aria-hidden": "true" }, "*")), this.tooltipText && canUseTooltip && (h("span", { key: '33dcca730b5a484aac8f6ddda383f7adb7dcee95', class: "bds-typography__info" }, h("span", { key: 'ff08b5e744d9584cff3b69f5eaa74238ad364e19', class: "bds-typography__info-icon bds-icon-info-circle", "aria-label": this.tooltipText }), h("bds-tooltip", { key: 'a88a158668a40ee3ff00ddeb4da496115e22558d' }, this.tooltipText))))));
307
308
  }
308
309
  get el() { return getElement(this); }
309
310
  static get watchers() { return {
@@ -38,5 +38,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
38
38
 
39
39
  patchBrowser().then(async (options) => {
40
40
  await globalScripts();
41
- return bootstrapLazy([["bds-list-menu-item",[[772,"bds-list-menu-item",{"variant":[513],"name":[1],"disabled":[516],"selected":[516],"value":[513],"activeItem":[516,"active-item"],"href":[1],"newTab":[4,"new-tab"],"download":[1],"currentState":[32]},null,{"variant":[{"checkPropsVariant":0}]}]]],["bds-text-field",[[836,"bds-text-field",{"name":[513],"disabled":[516],"required":[516],"value":[1537],"error":[516],"errorMessage":[1,"error-message"],"customValidators":[16],"validationTiming":[1,"validation-timing"],"type":[513],"variant":[513],"placeholder":[1],"readOnly":[4,"readonly"],"autocomplete":[1],"pattern":[1],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"label":[1],"sublabel":[1],"icon":[1],"helperText":[1,"helper-text"],"info":[1],"clearable":[4],"clearOnHover":[4,"clear-on-hover"],"charCount":[2,"char-count"],"counter":[4],"customWidth":[1,"custom-width"],"isDisabled":[32],"focused":[32],"showPassword":[32],"touched":[32],"dirty":[32],"currentCharCount":[32],"validationError":[32],"validationMessage":[32],"checkValidity":[64],"reportValidity":[64]},null,{"disabled":[{"onDisabledChange":0}],"type":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"validationTiming":[{"checkPropValues":0}],"customValidators":[{"onCustomValidatorsChange":0}],"value":[{"onValueChange":0}]}]]],["bds-toggle",[[576,"bds-toggle",{"name":[513],"disabled":[516],"required":[516],"info":[1],"error":[516],"errorMessage":[513,"error-message"],"checked":[516],"placement":[513],"label":[513],"helperText":[513,"helper-text"],"value":[1],"isDisabled":[32],"validationError":[32],"validationMessage":[32],"isChecked":[32]},null,{"checked":[{"onCheckedChange":0}],"disabled":[{"onDisabledChange":0}]}]]],["bds-dialog",[[772,"bds-dialog",{"active":[1540],"preventClose":[4,"prevent-close"],"height":[1],"width":[1],"layout":[1],"contentPadding":[1,"content-padding"],"backdropClose":[4,"backdrop-close"],"escapeClose":[4,"escape-close"],"size":[1],"variant":[1],"titleDialog":[1,"title-dialog"],"maximizable":[4],"closable":[4],"open":[64],"close":[64]},null,{"active":[{"handleIsOpenChange":0}]}]]],["bds-popover",[[772,"bds-popover",{"floatingOptions":[16],"disabled":[4],"width":[8],"header":[4],"footer":[4],"closable":[4],"isVisible":[32]}]]],["bds-avatar",[[0,"bds-avatar",{"username":[1],"variant":[1],"background":[1],"initialsColor":[1,"initials-color"]}]]],["bds-badge",[[260,"bds-badge",{"variant":[1],"disabled":[4]},null,{"variant":[{"checkPropValues":0}]}]]],["bds-banner",[[260,"bds-banner",{"variant":[1],"closable":[4],"closeButtonLabel":[1,"close-button-label"],"isClosing":[32],"isOpen":[32],"open":[64],"close":[64]}]]],["bds-checkbox",[[836,"bds-checkbox",{"name":[513],"disabled":[516],"required":[516],"checked":[1540],"indeterminate":[1540],"error":[516],"value":[1],"label":[1],"isDisabled":[32]},null,{"checked":[{"onCheckedChange":0}],"disabled":[{"onDisabledChange":0}]}]]],["bds-divider",[[0,"bds-divider",{"orientation":[513]},null,{"orientation":[{"checkPropValues":0}]}]]],["bds-flag",[[0,"bds-flag",{"alignFlag":[1,"align-flag"],"callSign":[4,"call-sign"],"country":[1],"customFlags":[16],"identifier":[1],"label":[4],"shape":[1],"shortName":[4,"short-name"]},null,{"alignFlag":[{"checkPropValues":0}],"identifier":[{"checkPropValues":0}],"shape":[{"checkPropValues":0}]}]]],["bds-grid",[[260,"bds-grid",{"layout":[1],"rowGap":[1,"row-gap"]},null,{"layout":[{"checkPropValues":0}]}]]],["bds-grid-item",[[260,"bds-grid-item",{"colSpan":[520,"col-span"],"colSpanSm":[520,"col-span-sm"],"colSpanMd":[520,"col-span-md"],"colSpanLg":[520,"col-span-lg"],"colSpanXl":[520,"col-span-xl"],"colSpan2xl":[520,"col-span-2xl"],"rowSpan":[520,"row-span"],"offset":[514]},null,{"colSpan":[{"checkPropValues":0}],"colSpanSm":[{"checkPropValues":0}],"colSpanMd":[{"checkPropValues":0}],"colSpanLg":[{"checkPropValues":0}],"colSpanXl":[{"checkPropValues":0}],"colSpan2xl":[{"checkPropValues":0}],"rowSpan":[{"checkPropValues":0}],"offset":[{"checkPropValues":0}]}]]],["bds-list-menu",[[260,"bds-list-menu",{"multiple":[4],"menuRole":[1,"menu-role"],"selectedValues":[32],"getSelectedValues":[64],"setSelectedValues":[64]},[[0,"bdsSelect","handleItemClick"]]]]],["bds-spinner",[[0,"bds-spinner",{"size":[1],"label":[1]},null,{"size":[{"checkPropValues":0}]}]]],["bds-status",[[260,"bds-status",{"state":[1],"indicator":[1]},null,{"state":[{"checkPropValues":0}],"indicator":[{"checkPropValues":0}]}]]],["bds-tag",[[260,"bds-tag",{"multiselect":[4],"selected":[4],"closeButtonLabel":[1,"close-button-label"],"color":[1],"readonly":[4],"disabled":[4],"internalSelected":[32]},null,{"color":[{"checkPropValues":0}],"selected":[{"syncSelectedFromProp":0}]}]]],["bds-button",[[324,"bds-button",{"label":[1],"disabled":[4],"name":[1],"type":[1],"color":[1],"variant":[1],"size":[1],"loading":[4],"disclosure":[4],"currentState":[32]},null,{"type":[{"checkPropValues":0}],"color":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["bds-tooltip_2",[[260,"bds-typography",{"variant":[513],"size":[513],"state":[513],"customClass":[1,"custom-class"],"element":[1],"align":[1],"ellipsis":[4],"maxLines":[2,"max-lines"],"tooltipText":[1,"tooltip-text"],"required":[516],"htmlFor":[1,"html-for"],"href":[1],"target":[1],"downloadable":[4],"filename":[1],"sanitizedHref":[32]},null,{"href":[{"updateSanitizedHref":0}]}],[772,"bds-tooltip",{"multiline":[4],"disabled":[4],"floatingOptions":[16],"isVisible":[32]}]]]], options);
41
+ return bootstrapLazy([["bds-list-menu-item",[[772,"bds-list-menu-item",{"variant":[513],"name":[1],"disabled":[516],"selected":[1540],"value":[513],"checkable":[516],"activeItem":[516,"active-item"],"href":[1],"newTab":[4,"new-tab"],"download":[1],"currentState":[32]},null,{"variant":[{"checkPropsVariant":0}]}]]],["bds-radio-group",[[836,"bds-radio-group",{"disabled":[516],"error":[516],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"info":[1],"label":[1],"name":[513],"orientation":[513],"required":[516],"type":[513],"value":[1025],"isDisabled":[32],"isInvalid":[32],"checkValidity":[64],"reportValidity":[64]},[[0,"bdsChange","handleRadioChange"],[0,"invalid","handleInvalid"]],{"orientation":[{"checkPropValues":0}],"disabled":[{"onDisabledChange":0}],"error":[{"onErrorChange":0}],"value":[{"onValueChange":0}]}]]],["bds-radio-card",[[260,"bds-radio-card",{"value":[513],"info":[1],"name":[1],"label":[1],"checked":[1540],"disabled":[516],"error":[516]}]]],["bds-text-field",[[836,"bds-text-field",{"name":[513],"disabled":[516],"required":[516],"value":[1537],"error":[516],"errorMessage":[1,"error-message"],"customValidators":[16],"validationTiming":[1,"validation-timing"],"type":[513],"variant":[513],"placeholder":[1],"readOnly":[4,"readonly"],"autocomplete":[1],"pattern":[1],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"label":[1],"sublabel":[1],"icon":[1],"helperText":[1,"helper-text"],"info":[1],"clearable":[4],"clearOnHover":[4,"clear-on-hover"],"charCount":[2,"char-count"],"counter":[4],"customWidth":[1,"custom-width"],"isDisabled":[32],"focused":[32],"showPassword":[32],"touched":[32],"dirty":[32],"currentCharCount":[32],"validationError":[32],"validationMessage":[32],"checkValidity":[64],"reportValidity":[64]},null,{"disabled":[{"onDisabledChange":0}],"type":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"validationTiming":[{"checkPropValues":0}],"customValidators":[{"onCustomValidatorsChange":0}],"value":[{"onValueChange":0}]}]]],["bds-toggle",[[576,"bds-toggle",{"name":[513],"disabled":[516],"required":[516],"info":[1],"error":[516],"errorMessage":[513,"error-message"],"checked":[516],"placement":[513],"label":[513],"helperText":[513,"helper-text"],"value":[1],"isDisabled":[32],"validationError":[32],"validationMessage":[32],"isChecked":[32]},null,{"checked":[{"onCheckedChange":0}],"disabled":[{"onDisabledChange":0}]}]]],["bds-checkbox-card",[[836,"bds-checkbox-card",{"name":[513],"disabled":[516],"required":[516],"value":[513],"label":[1],"checked":[1540],"indeterminate":[1540],"error":[516],"isDisabled":[32],"isIndeterminate":[32],"isChecked":[32]},null,{"disabled":[{"onDisabledChange":0}],"indeterminate":[{"onIndeterminateChange":0}],"checked":[{"onCheckedChange":0}]}]]],["bds-dialog",[[772,"bds-dialog",{"active":[1540],"preventClose":[4,"prevent-close"],"height":[1],"width":[1],"layout":[1],"contentPadding":[1,"content-padding"],"backdropClose":[4,"backdrop-close"],"escapeClose":[4,"escape-close"],"size":[1],"variant":[1],"titleDialog":[1,"title-dialog"],"maximizable":[4],"closable":[4],"open":[64],"close":[64]},null,{"active":[{"handleIsOpenChange":0}]}]]],["bds-list-menu",[[260,"bds-list-menu",{"selectionMode":[1,"selection-mode"],"menuRole":[1,"menu-role"],"selectControls":[4,"select-controls"],"selectedValues":[32],"getSelectedValues":[64],"setSelectedValues":[64]},[[0,"bdsSelectItem","handleItemClick"]],{"selectionMode":[{"checkProps":0}],"menuRole":[{"checkProps":0}]}]]],["bds-popover",[[772,"bds-popover",{"floatingOptions":[16],"disabled":[4],"width":[8],"header":[4],"footer":[4],"closable":[4],"isVisible":[32]}]]],["bds-radio",[[260,"bds-radio",{"checked":[1540],"disabled":[516],"value":[1],"name":[513],"label":[1],"error":[516],"info":[1]}]]],["bds-radio-button",[[260,"bds-radio-button",{"checked":[1540],"disabled":[516],"error":[516],"value":[1],"name":[513],"label":[1],"info":[1]}]]],["bds-avatar",[[0,"bds-avatar",{"username":[1],"variant":[1],"background":[1],"initialsColor":[1,"initials-color"]}]]],["bds-badge",[[260,"bds-badge",{"variant":[1],"disabled":[4]},null,{"variant":[{"checkPropValues":0}]}]]],["bds-banner",[[260,"bds-banner",{"variant":[1],"closable":[4],"closeButtonLabel":[1,"close-button-label"],"isClosing":[32],"isOpen":[32],"open":[64],"close":[64]}]]],["bds-button-group",[[260,"bds-button-group",{"size":[1],"orientation":[1],"label":[1],"color":[1],"variant":[1]},null,{"size":[{"validateProps":0},{"propagatePropsToButtons":0}],"orientation":[{"validateProps":0}],"color":[{"validateProps":0},{"propagatePropsToButtons":0}],"variant":[{"validateProps":0},{"propagatePropsToButtons":0}]}]]],["bds-flag",[[0,"bds-flag",{"alignFlag":[1,"align-flag"],"callSign":[4,"call-sign"],"country":[1],"customFlags":[16],"identifier":[1],"label":[4],"shape":[1],"shortName":[4,"short-name"]},null,{"alignFlag":[{"checkPropValues":0}],"identifier":[{"checkPropValues":0}],"shape":[{"checkPropValues":0}]}]]],["bds-grid",[[260,"bds-grid",{"layout":[1],"rowGap":[1,"row-gap"]},null,{"layout":[{"checkPropValues":0}]}]]],["bds-grid-item",[[260,"bds-grid-item",{"colSpan":[520,"col-span"],"colSpanSm":[520,"col-span-sm"],"colSpanMd":[520,"col-span-md"],"colSpanLg":[520,"col-span-lg"],"colSpanXl":[520,"col-span-xl"],"colSpan2xl":[520,"col-span-2xl"],"rowSpan":[520,"row-span"],"offset":[514]},null,{"colSpan":[{"checkPropValues":0}],"colSpanSm":[{"checkPropValues":0}],"colSpanMd":[{"checkPropValues":0}],"colSpanLg":[{"checkPropValues":0}],"colSpanXl":[{"checkPropValues":0}],"colSpan2xl":[{"checkPropValues":0}],"rowSpan":[{"checkPropValues":0}],"offset":[{"checkPropValues":0}]}]]],["bds-spinner",[[0,"bds-spinner",{"size":[1],"label":[1]},null,{"size":[{"checkPropValues":0}]}]]],["bds-status",[[260,"bds-status",{"state":[1],"indicator":[1]},null,{"state":[{"checkPropValues":0}],"indicator":[{"checkPropValues":0}]}]]],["bds-tag",[[260,"bds-tag",{"multiselect":[4],"selected":[4],"closeButtonLabel":[1,"close-button-label"],"color":[1],"readonly":[4],"disabled":[4],"internalSelected":[32]},null,{"color":[{"checkPropValues":0}],"selected":[{"syncSelectedFromProp":0}]}]]],["bds-divider",[[0,"bds-divider",{"orientation":[513]},null,{"orientation":[{"checkPropValues":0}]}]]],["bds-checkbox",[[836,"bds-checkbox",{"name":[513],"disabled":[516],"required":[516],"checked":[1540],"indeterminate":[1540],"error":[516],"value":[1],"label":[1],"isDisabled":[32]},null,{"checked":[{"onCheckedChange":0}],"disabled":[{"onDisabledChange":0}]}]]],["bds-button",[[324,"bds-button",{"label":[1],"disabled":[4],"name":[1],"type":[1],"color":[1],"variant":[1],"size":[1],"loading":[4],"disclosure":[4],"currentState":[32]},null,{"type":[{"checkPropValues":0}],"color":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["bds-tooltip_2",[[260,"bds-typography",{"variant":[513],"size":[513],"state":[513],"customClass":[1,"custom-class"],"element":[1],"align":[1],"ellipsis":[4],"maxLines":[2,"max-lines"],"tooltipText":[1,"tooltip-text"],"required":[516],"htmlFor":[1,"html-for"],"href":[1],"target":[1],"downloadable":[4],"filename":[1],"sanitizedHref":[32]},null,{"href":[{"updateSanitizedHref":0}]}],[772,"bds-tooltip",{"multiline":[4],"disabled":[4],"floatingOptions":[16],"isVisible":[32]}]]]], options);
42
42
  });
@@ -0,0 +1,8 @@
1
+ const CORE_COLORS = {
2
+ DEFAULT: 'default',
3
+ PRIMARY: 'primary',
4
+ SUCCESS: 'success',
5
+ ERROR: 'error',
6
+ };
7
+
8
+ export { CORE_COLORS as C };
@@ -4,9 +4,9 @@ const BUTTON_VARIANTS = {
4
4
  PLAIN: 'plain',
5
5
  };
6
6
  const BUTTON_SIZES = {
7
- SMALL: 'small',
8
- MEDIUM: 'medium',
9
- LARGE: 'large',
7
+ SMALL: 'sm',
8
+ MEDIUM: 'md',
9
+ LARGE: 'lg',
10
10
  };
11
11
  const BUTTON_TYPES = {
12
12
  BUTTON: 'button',
@@ -14,4 +14,4 @@ const BUTTON_TYPES = {
14
14
  RESET: 'reset',
15
15
  };
16
16
 
17
- export { BUTTON_SIZES as B, BUTTON_TYPES as a, BUTTON_VARIANTS as b };
17
+ export { BUTTON_SIZES as B, BUTTON_VARIANTS as a, BUTTON_TYPES as b };