@actabldesign/bellhop-core 0.0.3

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 (1006) hide show
  1. package/README.md +116 -0
  2. package/bellhop-core/bellhop-core.css +7 -0
  3. package/bellhop-core/bellhop-core.esm.js +2 -0
  4. package/bellhop-core/bellhop-core.esm.js.map +1 -0
  5. package/bellhop-core/bh-accordion-item.entry.esm.js.map +1 -0
  6. package/bellhop-core/bh-accordion.entry.esm.js.map +1 -0
  7. package/bellhop-core/bh-appbar.entry.esm.js.map +1 -0
  8. package/bellhop-core/bh-autocomplete-menu.bh-tag.entry.esm.js.map +1 -0
  9. package/bellhop-core/bh-avatar-add.entry.esm.js.map +1 -0
  10. package/bellhop-core/bh-avatar-stacked.entry.esm.js.map +1 -0
  11. package/bellhop-core/bh-avatar.entry.esm.js.map +1 -0
  12. package/bellhop-core/bh-badge-dot.bh-breadcrumbs.entry.esm.js.map +1 -0
  13. package/bellhop-core/bh-badge.entry.esm.js.map +1 -0
  14. package/bellhop-core/bh-bar-chart.entry.esm.js.map +1 -0
  15. package/bellhop-core/bh-button-icon.entry.esm.js.map +1 -0
  16. package/bellhop-core/bh-button.bh-loader-spinner.entry.esm.js.map +1 -0
  17. package/bellhop-core/bh-card-footer.entry.esm.js.map +1 -0
  18. package/bellhop-core/bh-card-header.entry.esm.js.map +1 -0
  19. package/bellhop-core/bh-card.entry.esm.js.map +1 -0
  20. package/bellhop-core/bh-chart-tooltip.entry.esm.js.map +1 -0
  21. package/bellhop-core/bh-checkbox-group-item.entry.esm.js.map +1 -0
  22. package/bellhop-core/bh-checkbox-group.entry.esm.js.map +1 -0
  23. package/bellhop-core/bh-checkbox.entry.esm.js.map +1 -0
  24. package/bellhop-core/bh-container-footer.entry.esm.js.map +1 -0
  25. package/bellhop-core/bh-container.entry.esm.js.map +1 -0
  26. package/bellhop-core/bh-data-grid.entry.esm.js.map +1 -0
  27. package/bellhop-core/bh-date-picker-content.bh-picker-menu.entry.esm.js.map +1 -0
  28. package/bellhop-core/bh-date-picker.bh-empty-state.entry.esm.js.map +1 -0
  29. package/bellhop-core/bh-date-range-picker-content.entry.esm.js.map +1 -0
  30. package/bellhop-core/bh-date-range-picker.entry.esm.js.map +1 -0
  31. package/bellhop-core/bh-dropdown-menu.entry.esm.js.map +1 -0
  32. package/bellhop-core/bh-dropdown.bh-logo-box.bh-nav-item.entry.esm.js.map +1 -0
  33. package/bellhop-core/bh-featured-icon.entry.esm.js.map +1 -0
  34. package/bellhop-core/bh-illustrations.entry.esm.js.map +1 -0
  35. package/bellhop-core/bh-input-autocomplete.entry.esm.js.map +1 -0
  36. package/bellhop-core/bh-input-number.entry.esm.js.map +1 -0
  37. package/bellhop-core/bh-input-password.entry.esm.js.map +1 -0
  38. package/bellhop-core/bh-input-text.entry.esm.js.map +1 -0
  39. package/bellhop-core/bh-input-verification.entry.esm.js.map +1 -0
  40. package/bellhop-core/bh-label.bh-tooltip.entry.esm.js.map +1 -0
  41. package/bellhop-core/bh-modal-actions.entry.esm.js.map +1 -0
  42. package/bellhop-core/bh-modal-header.entry.esm.js.map +1 -0
  43. package/bellhop-core/bh-modal.entry.esm.js.map +1 -0
  44. package/bellhop-core/bh-month-picker-content.entry.esm.js.map +1 -0
  45. package/bellhop-core/bh-month-picker.entry.esm.js.map +1 -0
  46. package/bellhop-core/bh-notification.entry.esm.js.map +1 -0
  47. package/bellhop-core/bh-page-navigation-child.entry.esm.js.map +1 -0
  48. package/bellhop-core/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.esm.js.map +1 -0
  49. package/bellhop-core/bh-page-navigation.entry.esm.js.map +1 -0
  50. package/bellhop-core/bh-pie-chart.entry.esm.js.map +1 -0
  51. package/bellhop-core/bh-popover.entry.esm.js.map +1 -0
  52. package/bellhop-core/bh-product-switcher.entry.esm.js.map +1 -0
  53. package/bellhop-core/bh-property-switcher.entry.esm.js.map +1 -0
  54. package/bellhop-core/bh-radio-button.entry.esm.js.map +1 -0
  55. package/bellhop-core/bh-sidebar.entry.esm.js.map +1 -0
  56. package/bellhop-core/bh-skeleton-loader.entry.esm.js.map +1 -0
  57. package/bellhop-core/bh-tab-item.entry.esm.js.map +1 -0
  58. package/bellhop-core/bh-tabs.entry.esm.js.map +1 -0
  59. package/bellhop-core/bh-textarea.entry.esm.js.map +1 -0
  60. package/bellhop-core/bh-toggle.entry.esm.js.map +1 -0
  61. package/bellhop-core/bh-trend-chart.entry.esm.js.map +1 -0
  62. package/bellhop-core/index.esm.js +2 -0
  63. package/bellhop-core/index.esm.js.map +1 -0
  64. package/bellhop-core/loader.esm.js.map +1 -0
  65. package/bellhop-core/p-051a25aa.entry.js +2 -0
  66. package/bellhop-core/p-051a25aa.entry.js.map +1 -0
  67. package/bellhop-core/p-0579ce8d.entry.js +2 -0
  68. package/bellhop-core/p-0579ce8d.entry.js.map +1 -0
  69. package/bellhop-core/p-05c13d72.entry.js +2 -0
  70. package/bellhop-core/p-05c13d72.entry.js.map +1 -0
  71. package/bellhop-core/p-0e013732.entry.js +2 -0
  72. package/bellhop-core/p-0e013732.entry.js.map +1 -0
  73. package/bellhop-core/p-1960c2d0.entry.js +2 -0
  74. package/bellhop-core/p-1960c2d0.entry.js.map +1 -0
  75. package/bellhop-core/p-2735c901.entry.js +2 -0
  76. package/bellhop-core/p-2735c901.entry.js.map +1 -0
  77. package/bellhop-core/p-2c80bc07.entry.js +2 -0
  78. package/bellhop-core/p-2c80bc07.entry.js.map +1 -0
  79. package/bellhop-core/p-2cc0c4cf.entry.js +2 -0
  80. package/bellhop-core/p-2cc0c4cf.entry.js.map +1 -0
  81. package/bellhop-core/p-3038cc1a.entry.js +2 -0
  82. package/bellhop-core/p-3038cc1a.entry.js.map +1 -0
  83. package/bellhop-core/p-324cad08.entry.js +2 -0
  84. package/bellhop-core/p-324cad08.entry.js.map +1 -0
  85. package/bellhop-core/p-3bf098fd.entry.js +2 -0
  86. package/bellhop-core/p-3bf098fd.entry.js.map +1 -0
  87. package/bellhop-core/p-3c739eea.entry.js +2 -0
  88. package/bellhop-core/p-3c739eea.entry.js.map +1 -0
  89. package/bellhop-core/p-4c71a0b6.entry.js +2 -0
  90. package/bellhop-core/p-4c71a0b6.entry.js.map +1 -0
  91. package/bellhop-core/p-5a220f12.entry.js +2 -0
  92. package/bellhop-core/p-5a220f12.entry.js.map +1 -0
  93. package/bellhop-core/p-5d844699.entry.js +2 -0
  94. package/bellhop-core/p-5d844699.entry.js.map +1 -0
  95. package/bellhop-core/p-5e8d2fc0.entry.js +2 -0
  96. package/bellhop-core/p-5e8d2fc0.entry.js.map +1 -0
  97. package/bellhop-core/p-71391701.entry.js +2 -0
  98. package/bellhop-core/p-71391701.entry.js.map +1 -0
  99. package/bellhop-core/p-7e67af77.entry.js +2 -0
  100. package/bellhop-core/p-7e67af77.entry.js.map +1 -0
  101. package/bellhop-core/p-7e908d03.entry.js +2 -0
  102. package/bellhop-core/p-7e908d03.entry.js.map +1 -0
  103. package/bellhop-core/p-8053e945.entry.js +2 -0
  104. package/bellhop-core/p-8053e945.entry.js.map +1 -0
  105. package/bellhop-core/p-852564d6.entry.js +2 -0
  106. package/bellhop-core/p-852564d6.entry.js.map +1 -0
  107. package/bellhop-core/p-86bbff38.entry.js +2 -0
  108. package/bellhop-core/p-86bbff38.entry.js.map +1 -0
  109. package/bellhop-core/p-87d1ed92.entry.js +2 -0
  110. package/bellhop-core/p-87d1ed92.entry.js.map +1 -0
  111. package/bellhop-core/p-94156013.entry.js +2 -0
  112. package/bellhop-core/p-94156013.entry.js.map +1 -0
  113. package/bellhop-core/p-954b9c38.entry.js +2 -0
  114. package/bellhop-core/p-954b9c38.entry.js.map +1 -0
  115. package/bellhop-core/p-9693180e.entry.js +2 -0
  116. package/bellhop-core/p-9693180e.entry.js.map +1 -0
  117. package/bellhop-core/p-98a336f7.entry.js +2 -0
  118. package/bellhop-core/p-98a336f7.entry.js.map +1 -0
  119. package/bellhop-core/p-98cc729f.entry.js +2 -0
  120. package/bellhop-core/p-98cc729f.entry.js.map +1 -0
  121. package/bellhop-core/p-9e7e64dc.entry.js +2 -0
  122. package/bellhop-core/p-9e7e64dc.entry.js.map +1 -0
  123. package/bellhop-core/p-9fe1fd2e.entry.js +2 -0
  124. package/bellhop-core/p-9fe1fd2e.entry.js.map +1 -0
  125. package/bellhop-core/p-CPgx0iFq.js +2 -0
  126. package/bellhop-core/p-CPgx0iFq.js.map +1 -0
  127. package/bellhop-core/p-DANVSPII.js +2 -0
  128. package/bellhop-core/p-DANVSPII.js.map +1 -0
  129. package/bellhop-core/p-DKeuA-TM.js +2 -0
  130. package/bellhop-core/p-DKeuA-TM.js.map +1 -0
  131. package/bellhop-core/p-DtVghh5W.js +3 -0
  132. package/bellhop-core/p-DtVghh5W.js.map +1 -0
  133. package/bellhop-core/p-a901ae33.entry.js +2 -0
  134. package/bellhop-core/p-a901ae33.entry.js.map +1 -0
  135. package/bellhop-core/p-abd6ade0.entry.js +2 -0
  136. package/bellhop-core/p-abd6ade0.entry.js.map +1 -0
  137. package/bellhop-core/p-abf68de4.entry.js +2 -0
  138. package/bellhop-core/p-abf68de4.entry.js.map +1 -0
  139. package/bellhop-core/p-ad15a4b9.entry.js +2 -0
  140. package/bellhop-core/p-ad15a4b9.entry.js.map +1 -0
  141. package/bellhop-core/p-b1affa8d.entry.js +2 -0
  142. package/bellhop-core/p-b1affa8d.entry.js.map +1 -0
  143. package/bellhop-core/p-b4104ae5.entry.js +2 -0
  144. package/bellhop-core/p-b4104ae5.entry.js.map +1 -0
  145. package/bellhop-core/p-c194883a.entry.js +2 -0
  146. package/bellhop-core/p-c194883a.entry.js.map +1 -0
  147. package/bellhop-core/p-c48ca590.entry.js +2 -0
  148. package/bellhop-core/p-c48ca590.entry.js.map +1 -0
  149. package/bellhop-core/p-c82e73aa.entry.js +2 -0
  150. package/bellhop-core/p-c82e73aa.entry.js.map +1 -0
  151. package/bellhop-core/p-d14192df.entry.js +2 -0
  152. package/bellhop-core/p-d14192df.entry.js.map +1 -0
  153. package/bellhop-core/p-d5fb8d0f.entry.js +2 -0
  154. package/bellhop-core/p-d5fb8d0f.entry.js.map +1 -0
  155. package/bellhop-core/p-d9106838.entry.js +2 -0
  156. package/bellhop-core/p-d9106838.entry.js.map +1 -0
  157. package/bellhop-core/p-d941cdba.entry.js +2 -0
  158. package/bellhop-core/p-d941cdba.entry.js.map +1 -0
  159. package/bellhop-core/p-d94b296e.entry.js +2 -0
  160. package/bellhop-core/p-d94b296e.entry.js.map +1 -0
  161. package/bellhop-core/p-df2728a1.entry.js +2 -0
  162. package/bellhop-core/p-df2728a1.entry.js.map +1 -0
  163. package/bellhop-core/p-df45027c.entry.js +2 -0
  164. package/bellhop-core/p-df45027c.entry.js.map +1 -0
  165. package/bellhop-core/p-dfe0574c.entry.js +2 -0
  166. package/bellhop-core/p-dfe0574c.entry.js.map +1 -0
  167. package/bellhop-core/p-e3c5d1e3.entry.js +2 -0
  168. package/bellhop-core/p-e3c5d1e3.entry.js.map +1 -0
  169. package/bellhop-core/p-e3d79592.entry.js +2 -0
  170. package/bellhop-core/p-e3d79592.entry.js.map +1 -0
  171. package/bellhop-core/p-e44539e9.entry.js +2 -0
  172. package/bellhop-core/p-e44539e9.entry.js.map +1 -0
  173. package/bellhop-core/p-e5b9a3de.entry.js +2 -0
  174. package/bellhop-core/p-e5b9a3de.entry.js.map +1 -0
  175. package/bellhop-core/p-e8e0739d.entry.js +2 -0
  176. package/bellhop-core/p-e8e0739d.entry.js.map +1 -0
  177. package/bellhop-core/p-ebb2492c.entry.js +2 -0
  178. package/bellhop-core/p-ebb2492c.entry.js.map +1 -0
  179. package/bellhop-core/p-ec894e11.entry.js +2 -0
  180. package/bellhop-core/p-ec894e11.entry.js.map +1 -0
  181. package/bellhop-core/p-f0cfc744.entry.js +2 -0
  182. package/bellhop-core/p-f0cfc744.entry.js.map +1 -0
  183. package/bellhop-core/p-f261bdae.entry.js +2 -0
  184. package/bellhop-core/p-f261bdae.entry.js.map +1 -0
  185. package/bellhop-core/p-f4c4c70d.entry.js +2 -0
  186. package/bellhop-core/p-f4c4c70d.entry.js.map +1 -0
  187. package/cjs/bellhop-core.cjs.js +25 -0
  188. package/cjs/bellhop-core.cjs.js.map +1 -0
  189. package/cjs/bh-accordion-item.cjs.entry.js +82 -0
  190. package/cjs/bh-accordion-item.entry.cjs.js.map +1 -0
  191. package/cjs/bh-accordion.cjs.entry.js +119 -0
  192. package/cjs/bh-accordion.entry.cjs.js.map +1 -0
  193. package/cjs/bh-appbar.cjs.entry.js +83 -0
  194. package/cjs/bh-appbar.entry.cjs.js.map +1 -0
  195. package/cjs/bh-autocomplete-menu.bh-tag.entry.cjs.js.map +1 -0
  196. package/cjs/bh-autocomplete-menu_2.cjs.entry.js +177 -0
  197. package/cjs/bh-avatar-add.cjs.entry.js +75 -0
  198. package/cjs/bh-avatar-add.entry.cjs.js.map +1 -0
  199. package/cjs/bh-avatar-stacked.cjs.entry.js +94 -0
  200. package/cjs/bh-avatar-stacked.entry.cjs.js.map +1 -0
  201. package/cjs/bh-avatar.cjs.entry.js +93 -0
  202. package/cjs/bh-avatar.entry.cjs.js.map +1 -0
  203. package/cjs/bh-badge-dot.bh-breadcrumbs.entry.cjs.js.map +1 -0
  204. package/cjs/bh-badge-dot_2.cjs.entry.js +134 -0
  205. package/cjs/bh-badge.cjs.entry.js +71 -0
  206. package/cjs/bh-badge.entry.cjs.js.map +1 -0
  207. package/cjs/bh-bar-chart.cjs.entry.js +164 -0
  208. package/cjs/bh-bar-chart.entry.cjs.js.map +1 -0
  209. package/cjs/bh-button-BKVcf-nK.js +117 -0
  210. package/cjs/bh-button-BKVcf-nK.js.map +1 -0
  211. package/cjs/bh-button-icon.cjs.entry.js +74 -0
  212. package/cjs/bh-button-icon.entry.cjs.js.map +1 -0
  213. package/cjs/bh-button.bh-loader-spinner.entry.cjs.js.map +1 -0
  214. package/cjs/bh-button_2.cjs.entry.js +47 -0
  215. package/cjs/bh-card-footer.cjs.entry.js +30 -0
  216. package/cjs/bh-card-footer.entry.cjs.js.map +1 -0
  217. package/cjs/bh-card-header.cjs.entry.js +74 -0
  218. package/cjs/bh-card-header.entry.cjs.js.map +1 -0
  219. package/cjs/bh-card.cjs.entry.js +48 -0
  220. package/cjs/bh-card.entry.cjs.js.map +1 -0
  221. package/cjs/bh-chart-tooltip.cjs.entry.js +57 -0
  222. package/cjs/bh-chart-tooltip.entry.cjs.js.map +1 -0
  223. package/cjs/bh-checkbox-group-item.cjs.entry.js +142 -0
  224. package/cjs/bh-checkbox-group-item.entry.cjs.js.map +1 -0
  225. package/cjs/bh-checkbox-group.cjs.entry.js +100 -0
  226. package/cjs/bh-checkbox-group.entry.cjs.js.map +1 -0
  227. package/cjs/bh-checkbox.cjs.entry.js +144 -0
  228. package/cjs/bh-checkbox.entry.cjs.js.map +1 -0
  229. package/cjs/bh-container-footer.cjs.entry.js +38 -0
  230. package/cjs/bh-container-footer.entry.cjs.js.map +1 -0
  231. package/cjs/bh-container.cjs.entry.js +26 -0
  232. package/cjs/bh-container.entry.cjs.js.map +1 -0
  233. package/cjs/bh-data-grid.cjs.entry.js +812 -0
  234. package/cjs/bh-data-grid.entry.cjs.js.map +1 -0
  235. package/cjs/bh-date-picker-content.bh-picker-menu.entry.cjs.js.map +1 -0
  236. package/cjs/bh-date-picker-content_2.cjs.entry.js +525 -0
  237. package/cjs/bh-date-picker.bh-empty-state.entry.cjs.js.map +1 -0
  238. package/cjs/bh-date-picker_2.cjs.entry.js +252 -0
  239. package/cjs/bh-date-range-picker-content.cjs.entry.js +151 -0
  240. package/cjs/bh-date-range-picker-content.entry.cjs.js.map +1 -0
  241. package/cjs/bh-date-range-picker.cjs.entry.js +167 -0
  242. package/cjs/bh-date-range-picker.entry.cjs.js.map +1 -0
  243. package/cjs/bh-dropdown-menu.cjs.entry.js +114 -0
  244. package/cjs/bh-dropdown-menu.entry.cjs.js.map +1 -0
  245. package/cjs/bh-dropdown.bh-logo-box.bh-nav-item.entry.cjs.js.map +1 -0
  246. package/cjs/bh-dropdown_3.cjs.entry.js +307 -0
  247. package/cjs/bh-featured-icon.cjs.entry.js +41 -0
  248. package/cjs/bh-featured-icon.entry.cjs.js.map +1 -0
  249. package/cjs/bh-illustrations.cjs.entry.js +65 -0
  250. package/cjs/bh-illustrations.entry.cjs.js.map +1 -0
  251. package/cjs/bh-input-autocomplete.cjs.entry.js +342 -0
  252. package/cjs/bh-input-autocomplete.entry.cjs.js.map +1 -0
  253. package/cjs/bh-input-number.cjs.entry.js +307 -0
  254. package/cjs/bh-input-number.entry.cjs.js.map +1 -0
  255. package/cjs/bh-input-password.cjs.entry.js +182 -0
  256. package/cjs/bh-input-password.entry.cjs.js.map +1 -0
  257. package/cjs/bh-input-text.cjs.entry.js +192 -0
  258. package/cjs/bh-input-text.entry.cjs.js.map +1 -0
  259. package/cjs/bh-input-verification.cjs.entry.js +203 -0
  260. package/cjs/bh-input-verification.entry.cjs.js.map +1 -0
  261. package/cjs/bh-label-DBqucnaO.js +110 -0
  262. package/cjs/bh-label-DBqucnaO.js.map +1 -0
  263. package/cjs/bh-label.bh-tooltip.entry.cjs.js.map +1 -0
  264. package/cjs/bh-label_2.cjs.entry.js +48 -0
  265. package/cjs/bh-modal-actions.cjs.entry.js +66 -0
  266. package/cjs/bh-modal-actions.entry.cjs.js.map +1 -0
  267. package/cjs/bh-modal-header.cjs.entry.js +76 -0
  268. package/cjs/bh-modal-header.entry.cjs.js.map +1 -0
  269. package/cjs/bh-modal.cjs.entry.js +56 -0
  270. package/cjs/bh-modal.entry.cjs.js.map +1 -0
  271. package/cjs/bh-month-picker-content.cjs.entry.js +189 -0
  272. package/cjs/bh-month-picker-content.entry.cjs.js.map +1 -0
  273. package/cjs/bh-month-picker.cjs.entry.js +152 -0
  274. package/cjs/bh-month-picker.entry.cjs.js.map +1 -0
  275. package/cjs/bh-notification.cjs.entry.js +128 -0
  276. package/cjs/bh-notification.entry.cjs.js.map +1 -0
  277. package/cjs/bh-page-navigation-child.cjs.entry.js +48 -0
  278. package/cjs/bh-page-navigation-child.entry.cjs.js.map +1 -0
  279. package/cjs/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.cjs.js.map +1 -0
  280. package/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +146 -0
  281. package/cjs/bh-page-navigation.cjs.entry.js +72 -0
  282. package/cjs/bh-page-navigation.entry.cjs.js.map +1 -0
  283. package/cjs/bh-pie-chart.cjs.entry.js +157 -0
  284. package/cjs/bh-pie-chart.entry.cjs.js.map +1 -0
  285. package/cjs/bh-popover.cjs.entry.js +100 -0
  286. package/cjs/bh-popover.entry.cjs.js.map +1 -0
  287. package/cjs/bh-product-switcher.cjs.entry.js +102 -0
  288. package/cjs/bh-product-switcher.entry.cjs.js.map +1 -0
  289. package/cjs/bh-property-switcher.cjs.entry.js +231 -0
  290. package/cjs/bh-property-switcher.entry.cjs.js.map +1 -0
  291. package/cjs/bh-radio-button.cjs.entry.js +124 -0
  292. package/cjs/bh-radio-button.entry.cjs.js.map +1 -0
  293. package/cjs/bh-sidebar.cjs.entry.js +110 -0
  294. package/cjs/bh-sidebar.entry.cjs.js.map +1 -0
  295. package/cjs/bh-skeleton-loader.cjs.entry.js +34 -0
  296. package/cjs/bh-skeleton-loader.entry.cjs.js.map +1 -0
  297. package/cjs/bh-tab-item.cjs.entry.js +54 -0
  298. package/cjs/bh-tab-item.entry.cjs.js.map +1 -0
  299. package/cjs/bh-tabs.cjs.entry.js +52 -0
  300. package/cjs/bh-tabs.entry.cjs.js.map +1 -0
  301. package/cjs/bh-textarea.cjs.entry.js +161 -0
  302. package/cjs/bh-textarea.entry.cjs.js.map +1 -0
  303. package/cjs/bh-toggle.cjs.entry.js +141 -0
  304. package/cjs/bh-toggle.entry.cjs.js.map +1 -0
  305. package/cjs/bh-trend-chart.cjs.entry.js +121 -0
  306. package/cjs/bh-trend-chart.entry.cjs.js.map +1 -0
  307. package/cjs/form-9mbajZ3y.js +64 -0
  308. package/cjs/form-9mbajZ3y.js.map +1 -0
  309. package/cjs/index-tZqSQc8E.js +1951 -0
  310. package/cjs/index-tZqSQc8E.js.map +1 -0
  311. package/cjs/index.cjs.js +32 -0
  312. package/cjs/index.cjs.js.map +1 -0
  313. package/cjs/loader.cjs.js +13 -0
  314. package/cjs/loader.cjs.js.map +1 -0
  315. package/collection/collection-manifest.json +77 -0
  316. package/collection/components/bh-accordion/bh-accordion.css +30 -0
  317. package/collection/components/bh-accordion/bh-accordion.js +227 -0
  318. package/collection/components/bh-accordion/bh-accordion.js.map +1 -0
  319. package/collection/components/bh-accordion-item/bh-accordion-item.css +119 -0
  320. package/collection/components/bh-accordion-item/bh-accordion-item.js +207 -0
  321. package/collection/components/bh-accordion-item/bh-accordion-item.js.map +1 -0
  322. package/collection/components/bh-appbar/bh-appbar.css +80 -0
  323. package/collection/components/bh-appbar/bh-appbar.js +270 -0
  324. package/collection/components/bh-appbar/bh-appbar.js.map +1 -0
  325. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.css +142 -0
  326. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js +301 -0
  327. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js.map +1 -0
  328. package/collection/components/bh-avatar/bh-avatar.css +257 -0
  329. package/collection/components/bh-avatar/bh-avatar.js +266 -0
  330. package/collection/components/bh-avatar/bh-avatar.js.map +1 -0
  331. package/collection/components/bh-avatar-add/bh-avatar-add.css +145 -0
  332. package/collection/components/bh-avatar-add/bh-avatar-add.js +194 -0
  333. package/collection/components/bh-avatar-add/bh-avatar-add.js.map +1 -0
  334. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.css +29 -0
  335. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.js +211 -0
  336. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.js.map +1 -0
  337. package/collection/components/bh-badge/bh-badge.css +348 -0
  338. package/collection/components/bh-badge/bh-badge.js +250 -0
  339. package/collection/components/bh-badge/bh-badge.js.map +1 -0
  340. package/collection/components/bh-badge-dot/bh-badge-dot.css +77 -0
  341. package/collection/components/bh-badge-dot/bh-badge-dot.js +113 -0
  342. package/collection/components/bh-badge-dot/bh-badge-dot.js.map +1 -0
  343. package/collection/components/bh-bar-chart/bh-bar-chart.css +363 -0
  344. package/collection/components/bh-bar-chart/bh-bar-chart.js +316 -0
  345. package/collection/components/bh-bar-chart/bh-bar-chart.js.map +1 -0
  346. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.css +158 -0
  347. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +231 -0
  348. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.js.map +1 -0
  349. package/collection/components/bh-button/bh-button.css +467 -0
  350. package/collection/components/bh-button/bh-button.js +350 -0
  351. package/collection/components/bh-button/bh-button.js.map +1 -0
  352. package/collection/components/bh-button-icon/bh-button-icon.css +187 -0
  353. package/collection/components/bh-button-icon/bh-button-icon.js +259 -0
  354. package/collection/components/bh-button-icon/bh-button-icon.js.map +1 -0
  355. package/collection/components/bh-card/bh-card.css +57 -0
  356. package/collection/components/bh-card/bh-card.js +139 -0
  357. package/collection/components/bh-card/bh-card.js.map +1 -0
  358. package/collection/components/bh-card-footer/bh-card-footer.css +54 -0
  359. package/collection/components/bh-card-footer/bh-card-footer.js +81 -0
  360. package/collection/components/bh-card-footer/bh-card-footer.js.map +1 -0
  361. package/collection/components/bh-card-header/bh-card-header.css +68 -0
  362. package/collection/components/bh-card-header/bh-card-header.js +348 -0
  363. package/collection/components/bh-card-header/bh-card-header.js.map +1 -0
  364. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.css +301 -0
  365. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.js +226 -0
  366. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.js.map +1 -0
  367. package/collection/components/bh-checkbox/bh-checkbox.css +179 -0
  368. package/collection/components/bh-checkbox/bh-checkbox.js +378 -0
  369. package/collection/components/bh-checkbox/bh-checkbox.js.map +1 -0
  370. package/collection/components/bh-checkbox-group/bh-checkbox-group.css +10 -0
  371. package/collection/components/bh-checkbox-group/bh-checkbox-group.js +218 -0
  372. package/collection/components/bh-checkbox-group/bh-checkbox-group.js.map +1 -0
  373. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.css +118 -0
  374. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js +402 -0
  375. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js.map +1 -0
  376. package/collection/components/bh-container/bh-container.css +21 -0
  377. package/collection/components/bh-container/bh-container.js +51 -0
  378. package/collection/components/bh-container/bh-container.js.map +1 -0
  379. package/collection/components/bh-container-footer/bh-container-footer.css +22 -0
  380. package/collection/components/bh-container-footer/bh-container-footer.js +106 -0
  381. package/collection/components/bh-container-footer/bh-container-footer.js.map +1 -0
  382. package/collection/components/bh-data-grid/bh-data-grid.css +602 -0
  383. package/collection/components/bh-data-grid/bh-data-grid.js +1488 -0
  384. package/collection/components/bh-data-grid/bh-data-grid.js.map +1 -0
  385. package/collection/components/bh-date-picker/bh-date-picker.css +251 -0
  386. package/collection/components/bh-date-picker/bh-date-picker.js +485 -0
  387. package/collection/components/bh-date-picker/bh-date-picker.js.map +1 -0
  388. package/collection/components/bh-date-picker-content/bh-date-picker-content.css +541 -0
  389. package/collection/components/bh-date-picker-content/bh-date-picker-content.js +711 -0
  390. package/collection/components/bh-date-picker-content/bh-date-picker-content.js.map +1 -0
  391. package/collection/components/bh-date-range-picker/bh-date-range-picker.css +247 -0
  392. package/collection/components/bh-date-range-picker/bh-date-range-picker.js +528 -0
  393. package/collection/components/bh-date-range-picker/bh-date-range-picker.js.map +1 -0
  394. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.css +275 -0
  395. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js +338 -0
  396. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js.map +1 -0
  397. package/collection/components/bh-dropdown/bh-dropdown.css +64 -0
  398. package/collection/components/bh-dropdown/bh-dropdown.js +512 -0
  399. package/collection/components/bh-dropdown/bh-dropdown.js.map +1 -0
  400. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.css +227 -0
  401. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.js +262 -0
  402. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.js.map +1 -0
  403. package/collection/components/bh-empty-state/bh-empty-state.css +89 -0
  404. package/collection/components/bh-empty-state/bh-empty-state.js +306 -0
  405. package/collection/components/bh-empty-state/bh-empty-state.js.map +1 -0
  406. package/collection/components/bh-featured-icon/bh-featured-icon.css +198 -0
  407. package/collection/components/bh-featured-icon/bh-featured-icon.js +144 -0
  408. package/collection/components/bh-featured-icon/bh-featured-icon.js.map +1 -0
  409. package/collection/components/bh-illustrations/bh-illustrations.css +328 -0
  410. package/collection/components/bh-illustrations/bh-illustrations.js +174 -0
  411. package/collection/components/bh-illustrations/bh-illustrations.js.map +1 -0
  412. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.css +301 -0
  413. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.js +872 -0
  414. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.js.map +1 -0
  415. package/collection/components/bh-input-number/bh-input-number.css +192 -0
  416. package/collection/components/bh-input-number/bh-input-number.js +818 -0
  417. package/collection/components/bh-input-number/bh-input-number.js.map +1 -0
  418. package/collection/components/bh-input-password/bh-input-password.css +164 -0
  419. package/collection/components/bh-input-password/bh-input-password.js +581 -0
  420. package/collection/components/bh-input-password/bh-input-password.js.map +1 -0
  421. package/collection/components/bh-input-text/bh-input-text.css +153 -0
  422. package/collection/components/bh-input-text/bh-input-text.js +696 -0
  423. package/collection/components/bh-input-text/bh-input-text.js.map +1 -0
  424. package/collection/components/bh-input-verification/bh-input-verification.css +125 -0
  425. package/collection/components/bh-input-verification/bh-input-verification.js +523 -0
  426. package/collection/components/bh-input-verification/bh-input-verification.js.map +1 -0
  427. package/collection/components/bh-label/bh-label.css +143 -0
  428. package/collection/components/bh-label/bh-label.js +302 -0
  429. package/collection/components/bh-label/bh-label.js.map +1 -0
  430. package/collection/components/bh-loader-spinner/bh-loader-spinner.css +153 -0
  431. package/collection/components/bh-loader-spinner/bh-loader-spinner.js +182 -0
  432. package/collection/components/bh-loader-spinner/bh-loader-spinner.js.map +1 -0
  433. package/collection/components/bh-logo-box/bh-logo-box.css +85 -0
  434. package/collection/components/bh-logo-box/bh-logo-box.js +184 -0
  435. package/collection/components/bh-logo-box/bh-logo-box.js.map +1 -0
  436. package/collection/components/bh-modal/bh-modal.css +87 -0
  437. package/collection/components/bh-modal/bh-modal.js +144 -0
  438. package/collection/components/bh-modal/bh-modal.js.map +1 -0
  439. package/collection/components/bh-modal-actions/bh-modal-actions.css +124 -0
  440. package/collection/components/bh-modal-actions/bh-modal-actions.js +208 -0
  441. package/collection/components/bh-modal-actions/bh-modal-actions.js.map +1 -0
  442. package/collection/components/bh-modal-header/bh-modal-header.css +106 -0
  443. package/collection/components/bh-modal-header/bh-modal-header.js +275 -0
  444. package/collection/components/bh-modal-header/bh-modal-header.js.map +1 -0
  445. package/collection/components/bh-month-picker/bh-month-picker.css +251 -0
  446. package/collection/components/bh-month-picker/bh-month-picker.js +444 -0
  447. package/collection/components/bh-month-picker/bh-month-picker.js.map +1 -0
  448. package/collection/components/bh-month-picker-content/bh-month-picker-content.css +406 -0
  449. package/collection/components/bh-month-picker-content/bh-month-picker-content.js +437 -0
  450. package/collection/components/bh-month-picker-content/bh-month-picker-content.js.map +1 -0
  451. package/collection/components/bh-notification/bh-notification.css +117 -0
  452. package/collection/components/bh-notification/bh-notification.js +324 -0
  453. package/collection/components/bh-notification/bh-notification.js.map +1 -0
  454. package/collection/components/bh-page-navigation/bh-page-navigation.css +253 -0
  455. package/collection/components/bh-page-navigation/bh-page-navigation.js +146 -0
  456. package/collection/components/bh-page-navigation/bh-page-navigation.js.map +1 -0
  457. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.css +281 -0
  458. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.js +148 -0
  459. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.js.map +1 -0
  460. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.css +372 -0
  461. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +268 -0
  462. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js.map +1 -0
  463. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.css +294 -0
  464. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js +126 -0
  465. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js.map +1 -0
  466. package/collection/components/bh-picker-menu/bh-picker-menu.css +284 -0
  467. package/collection/components/bh-picker-menu/bh-picker-menu.js +470 -0
  468. package/collection/components/bh-picker-menu/bh-picker-menu.js.map +1 -0
  469. package/collection/components/bh-pie-chart/bh-pie-chart.css +292 -0
  470. package/collection/components/bh-pie-chart/bh-pie-chart.js +280 -0
  471. package/collection/components/bh-pie-chart/bh-pie-chart.js.map +1 -0
  472. package/collection/components/bh-popover/bh-popover.css +310 -0
  473. package/collection/components/bh-popover/bh-popover.js +326 -0
  474. package/collection/components/bh-popover/bh-popover.js.map +1 -0
  475. package/collection/components/bh-product-switcher/bh-product-switcher.css +128 -0
  476. package/collection/components/bh-product-switcher/bh-product-switcher.js +226 -0
  477. package/collection/components/bh-product-switcher/bh-product-switcher.js.map +1 -0
  478. package/collection/components/bh-property-switcher/bh-property-switcher.css +346 -0
  479. package/collection/components/bh-property-switcher/bh-property-switcher.js +360 -0
  480. package/collection/components/bh-property-switcher/bh-property-switcher.js.map +1 -0
  481. package/collection/components/bh-radio-button/bh-radio-button.css +159 -0
  482. package/collection/components/bh-radio-button/bh-radio-button.js +292 -0
  483. package/collection/components/bh-radio-button/bh-radio-button.js.map +1 -0
  484. package/collection/components/bh-sidebar/bh-nav-item.css +114 -0
  485. package/collection/components/bh-sidebar/bh-nav-item.js +157 -0
  486. package/collection/components/bh-sidebar/bh-nav-item.js.map +1 -0
  487. package/collection/components/bh-sidebar/bh-sidebar.css +178 -0
  488. package/collection/components/bh-sidebar/bh-sidebar.js +344 -0
  489. package/collection/components/bh-sidebar/bh-sidebar.js.map +1 -0
  490. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.css +50 -0
  491. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +99 -0
  492. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.js.map +1 -0
  493. package/collection/components/bh-tab-item/bh-tab-item.css +132 -0
  494. package/collection/components/bh-tab-item/bh-tab-item.js +158 -0
  495. package/collection/components/bh-tab-item/bh-tab-item.js.map +1 -0
  496. package/collection/components/bh-tabs/bh-tabs.css +71 -0
  497. package/collection/components/bh-tabs/bh-tabs.js +178 -0
  498. package/collection/components/bh-tabs/bh-tabs.js.map +1 -0
  499. package/collection/components/bh-tag/bh-tag.css +180 -0
  500. package/collection/components/bh-tag/bh-tag.js +238 -0
  501. package/collection/components/bh-tag/bh-tag.js.map +1 -0
  502. package/collection/components/bh-textarea/bh-textarea.css +115 -0
  503. package/collection/components/bh-textarea/bh-textarea.js +569 -0
  504. package/collection/components/bh-textarea/bh-textarea.js.map +1 -0
  505. package/collection/components/bh-toggle/bh-toggle.css +290 -0
  506. package/collection/components/bh-toggle/bh-toggle.js +369 -0
  507. package/collection/components/bh-toggle/bh-toggle.js.map +1 -0
  508. package/collection/components/bh-tooltip/bh-tooltip.css +88 -0
  509. package/collection/components/bh-tooltip/bh-tooltip.js +162 -0
  510. package/collection/components/bh-tooltip/bh-tooltip.js.map +1 -0
  511. package/collection/components/bh-trend-chart/bh-trend-chart.css +299 -0
  512. package/collection/components/bh-trend-chart/bh-trend-chart.js +256 -0
  513. package/collection/components/bh-trend-chart/bh-trend-chart.js.map +1 -0
  514. package/collection/index.js +22 -0
  515. package/collection/index.js.map +1 -0
  516. package/collection/utils/form.js +68 -0
  517. package/collection/utils/form.js.map +1 -0
  518. package/components/bh-accordion-item.d.ts +11 -0
  519. package/components/bh-accordion-item.js +111 -0
  520. package/components/bh-accordion-item.js.map +1 -0
  521. package/components/bh-accordion.d.ts +11 -0
  522. package/components/bh-accordion.js +147 -0
  523. package/components/bh-accordion.js.map +1 -0
  524. package/components/bh-appbar.d.ts +11 -0
  525. package/components/bh-appbar.js +128 -0
  526. package/components/bh-appbar.js.map +1 -0
  527. package/components/bh-autocomplete-menu.d.ts +11 -0
  528. package/components/bh-autocomplete-menu.js +9 -0
  529. package/components/bh-autocomplete-menu.js.map +1 -0
  530. package/components/bh-avatar-add.d.ts +11 -0
  531. package/components/bh-avatar-add.js +9 -0
  532. package/components/bh-avatar-add.js.map +1 -0
  533. package/components/bh-avatar-stacked.d.ts +11 -0
  534. package/components/bh-avatar-stacked.js +141 -0
  535. package/components/bh-avatar-stacked.js.map +1 -0
  536. package/components/bh-avatar.d.ts +11 -0
  537. package/components/bh-avatar.js +9 -0
  538. package/components/bh-avatar.js.map +1 -0
  539. package/components/bh-badge-dot.d.ts +11 -0
  540. package/components/bh-badge-dot.js +9 -0
  541. package/components/bh-badge-dot.js.map +1 -0
  542. package/components/bh-badge.d.ts +11 -0
  543. package/components/bh-badge.js +9 -0
  544. package/components/bh-badge.js.map +1 -0
  545. package/components/bh-bar-chart.d.ts +11 -0
  546. package/components/bh-bar-chart.js +205 -0
  547. package/components/bh-bar-chart.js.map +1 -0
  548. package/components/bh-breadcrumbs.d.ts +11 -0
  549. package/components/bh-breadcrumbs.js +9 -0
  550. package/components/bh-breadcrumbs.js.map +1 -0
  551. package/components/bh-button-icon.d.ts +11 -0
  552. package/components/bh-button-icon.js +9 -0
  553. package/components/bh-button-icon.js.map +1 -0
  554. package/components/bh-button.d.ts +11 -0
  555. package/components/bh-button.js +9 -0
  556. package/components/bh-button.js.map +1 -0
  557. package/components/bh-card-footer.d.ts +11 -0
  558. package/components/bh-card-footer.js +9 -0
  559. package/components/bh-card-footer.js.map +1 -0
  560. package/components/bh-card-header.d.ts +11 -0
  561. package/components/bh-card-header.js +9 -0
  562. package/components/bh-card-header.js.map +1 -0
  563. package/components/bh-card.d.ts +11 -0
  564. package/components/bh-card.js +9 -0
  565. package/components/bh-card.js.map +1 -0
  566. package/components/bh-chart-tooltip.d.ts +11 -0
  567. package/components/bh-chart-tooltip.js +9 -0
  568. package/components/bh-chart-tooltip.js.map +1 -0
  569. package/components/bh-checkbox-group-item.d.ts +11 -0
  570. package/components/bh-checkbox-group-item.js +9 -0
  571. package/components/bh-checkbox-group-item.js.map +1 -0
  572. package/components/bh-checkbox-group.d.ts +11 -0
  573. package/components/bh-checkbox-group.js +9 -0
  574. package/components/bh-checkbox-group.js.map +1 -0
  575. package/components/bh-checkbox.d.ts +11 -0
  576. package/components/bh-checkbox.js +9 -0
  577. package/components/bh-checkbox.js.map +1 -0
  578. package/components/bh-container-footer.d.ts +11 -0
  579. package/components/bh-container-footer.js +74 -0
  580. package/components/bh-container-footer.js.map +1 -0
  581. package/components/bh-container.d.ts +11 -0
  582. package/components/bh-container.js +49 -0
  583. package/components/bh-container.js.map +1 -0
  584. package/components/bh-data-grid.d.ts +11 -0
  585. package/components/bh-data-grid.js +9 -0
  586. package/components/bh-data-grid.js.map +1 -0
  587. package/components/bh-date-picker-content.d.ts +11 -0
  588. package/components/bh-date-picker-content.js +9 -0
  589. package/components/bh-date-picker-content.js.map +1 -0
  590. package/components/bh-date-picker.d.ts +11 -0
  591. package/components/bh-date-picker.js +9 -0
  592. package/components/bh-date-picker.js.map +1 -0
  593. package/components/bh-date-range-picker-content.d.ts +11 -0
  594. package/components/bh-date-range-picker-content.js +9 -0
  595. package/components/bh-date-range-picker-content.js.map +1 -0
  596. package/components/bh-date-range-picker.d.ts +11 -0
  597. package/components/bh-date-range-picker.js +269 -0
  598. package/components/bh-date-range-picker.js.map +1 -0
  599. package/components/bh-dropdown-menu.d.ts +11 -0
  600. package/components/bh-dropdown-menu.js +9 -0
  601. package/components/bh-dropdown-menu.js.map +1 -0
  602. package/components/bh-dropdown.d.ts +11 -0
  603. package/components/bh-dropdown.js +9 -0
  604. package/components/bh-dropdown.js.map +1 -0
  605. package/components/bh-empty-state.d.ts +11 -0
  606. package/components/bh-empty-state.js +9 -0
  607. package/components/bh-empty-state.js.map +1 -0
  608. package/components/bh-featured-icon.d.ts +11 -0
  609. package/components/bh-featured-icon.js +9 -0
  610. package/components/bh-featured-icon.js.map +1 -0
  611. package/components/bh-illustrations.d.ts +11 -0
  612. package/components/bh-illustrations.js +92 -0
  613. package/components/bh-illustrations.js.map +1 -0
  614. package/components/bh-input-autocomplete.d.ts +11 -0
  615. package/components/bh-input-autocomplete.js +433 -0
  616. package/components/bh-input-autocomplete.js.map +1 -0
  617. package/components/bh-input-number.d.ts +11 -0
  618. package/components/bh-input-number.js +370 -0
  619. package/components/bh-input-number.js.map +1 -0
  620. package/components/bh-input-password.d.ts +11 -0
  621. package/components/bh-input-password.js +229 -0
  622. package/components/bh-input-password.js.map +1 -0
  623. package/components/bh-input-text.d.ts +11 -0
  624. package/components/bh-input-text.js +9 -0
  625. package/components/bh-input-text.js.map +1 -0
  626. package/components/bh-input-verification.d.ts +11 -0
  627. package/components/bh-input-verification.js +255 -0
  628. package/components/bh-input-verification.js.map +1 -0
  629. package/components/bh-label.d.ts +11 -0
  630. package/components/bh-label.js +9 -0
  631. package/components/bh-label.js.map +1 -0
  632. package/components/bh-loader-spinner.d.ts +11 -0
  633. package/components/bh-loader-spinner.js +9 -0
  634. package/components/bh-loader-spinner.js.map +1 -0
  635. package/components/bh-logo-box.d.ts +11 -0
  636. package/components/bh-logo-box.js +9 -0
  637. package/components/bh-logo-box.js.map +1 -0
  638. package/components/bh-modal-actions.d.ts +11 -0
  639. package/components/bh-modal-actions.js +105 -0
  640. package/components/bh-modal-actions.js.map +1 -0
  641. package/components/bh-modal-header.d.ts +11 -0
  642. package/components/bh-modal-header.js +119 -0
  643. package/components/bh-modal-header.js.map +1 -0
  644. package/components/bh-modal.d.ts +11 -0
  645. package/components/bh-modal.js +9 -0
  646. package/components/bh-modal.js.map +1 -0
  647. package/components/bh-month-picker-content.d.ts +11 -0
  648. package/components/bh-month-picker-content.js +9 -0
  649. package/components/bh-month-picker-content.js.map +1 -0
  650. package/components/bh-month-picker.d.ts +11 -0
  651. package/components/bh-month-picker.js +233 -0
  652. package/components/bh-month-picker.js.map +1 -0
  653. package/components/bh-nav-item.d.ts +11 -0
  654. package/components/bh-nav-item.js +9 -0
  655. package/components/bh-nav-item.js.map +1 -0
  656. package/components/bh-notification.d.ts +11 -0
  657. package/components/bh-notification.js +175 -0
  658. package/components/bh-notification.js.map +1 -0
  659. package/components/bh-page-navigation-child.d.ts +11 -0
  660. package/components/bh-page-navigation-child.js +9 -0
  661. package/components/bh-page-navigation-child.js.map +1 -0
  662. package/components/bh-page-navigation-multi-level.d.ts +11 -0
  663. package/components/bh-page-navigation-multi-level.js +9 -0
  664. package/components/bh-page-navigation-multi-level.js.map +1 -0
  665. package/components/bh-page-navigation-single-level.d.ts +11 -0
  666. package/components/bh-page-navigation-single-level.js +9 -0
  667. package/components/bh-page-navigation-single-level.js.map +1 -0
  668. package/components/bh-page-navigation.d.ts +11 -0
  669. package/components/bh-page-navigation.js +129 -0
  670. package/components/bh-page-navigation.js.map +1 -0
  671. package/components/bh-picker-menu.d.ts +11 -0
  672. package/components/bh-picker-menu.js +9 -0
  673. package/components/bh-picker-menu.js.map +1 -0
  674. package/components/bh-pie-chart.d.ts +11 -0
  675. package/components/bh-pie-chart.js +194 -0
  676. package/components/bh-pie-chart.js.map +1 -0
  677. package/components/bh-popover.d.ts +11 -0
  678. package/components/bh-popover.js +131 -0
  679. package/components/bh-popover.js.map +1 -0
  680. package/components/bh-product-switcher.d.ts +11 -0
  681. package/components/bh-product-switcher.js +9 -0
  682. package/components/bh-product-switcher.js.map +1 -0
  683. package/components/bh-property-switcher.d.ts +11 -0
  684. package/components/bh-property-switcher.js +261 -0
  685. package/components/bh-property-switcher.js.map +1 -0
  686. package/components/bh-radio-button.d.ts +11 -0
  687. package/components/bh-radio-button.js +9 -0
  688. package/components/bh-radio-button.js.map +1 -0
  689. package/components/bh-sidebar.d.ts +11 -0
  690. package/components/bh-sidebar.js +195 -0
  691. package/components/bh-sidebar.js.map +1 -0
  692. package/components/bh-skeleton-loader.d.ts +11 -0
  693. package/components/bh-skeleton-loader.js +59 -0
  694. package/components/bh-skeleton-loader.js.map +1 -0
  695. package/components/bh-tab-item.d.ts +11 -0
  696. package/components/bh-tab-item.js +80 -0
  697. package/components/bh-tab-item.js.map +1 -0
  698. package/components/bh-tabs.d.ts +11 -0
  699. package/components/bh-tabs.js +78 -0
  700. package/components/bh-tabs.js.map +1 -0
  701. package/components/bh-tag.d.ts +11 -0
  702. package/components/bh-tag.js +9 -0
  703. package/components/bh-tag.js.map +1 -0
  704. package/components/bh-textarea.d.ts +11 -0
  705. package/components/bh-textarea.js +207 -0
  706. package/components/bh-textarea.js.map +1 -0
  707. package/components/bh-toggle.d.ts +11 -0
  708. package/components/bh-toggle.js +9 -0
  709. package/components/bh-toggle.js.map +1 -0
  710. package/components/bh-tooltip.d.ts +11 -0
  711. package/components/bh-tooltip.js +9 -0
  712. package/components/bh-tooltip.js.map +1 -0
  713. package/components/bh-trend-chart.d.ts +11 -0
  714. package/components/bh-trend-chart.js +149 -0
  715. package/components/bh-trend-chart.js.map +1 -0
  716. package/components/index.d.ts +33 -0
  717. package/components/index.js +16 -0
  718. package/components/index.js.map +1 -0
  719. package/components/p-2KjdCYlS.js +59 -0
  720. package/components/p-2KjdCYlS.js.map +1 -0
  721. package/components/p-54wXxbeh.js +213 -0
  722. package/components/p-54wXxbeh.js.map +1 -0
  723. package/components/p-9a7sQzad.js +1463 -0
  724. package/components/p-9a7sQzad.js.map +1 -0
  725. package/components/p-B3doeS-4.js +158 -0
  726. package/components/p-B3doeS-4.js.map +1 -0
  727. package/components/p-B4TBDBoW.js +71 -0
  728. package/components/p-B4TBDBoW.js.map +1 -0
  729. package/components/p-BBenNW93.js +184 -0
  730. package/components/p-BBenNW93.js.map +1 -0
  731. package/components/p-BLRNfy0t.js +84 -0
  732. package/components/p-BLRNfy0t.js.map +1 -0
  733. package/components/p-BYhYSIIs.js +941 -0
  734. package/components/p-BYhYSIIs.js.map +1 -0
  735. package/components/p-Bbo_Dwmk.js +70 -0
  736. package/components/p-Bbo_Dwmk.js.map +1 -0
  737. package/components/p-BdcGkck5.js +72 -0
  738. package/components/p-BdcGkck5.js.map +1 -0
  739. package/components/p-Bk8GbEQp.js +132 -0
  740. package/components/p-Bk8GbEQp.js.map +1 -0
  741. package/components/p-CDPKBnfQ.js +92 -0
  742. package/components/p-CDPKBnfQ.js.map +1 -0
  743. package/components/p-CDgBIIbC.js +224 -0
  744. package/components/p-CDgBIIbC.js.map +1 -0
  745. package/components/p-CErNA5c8.js +204 -0
  746. package/components/p-CErNA5c8.js.map +1 -0
  747. package/components/p-CQBqn1IO.js +67 -0
  748. package/components/p-CQBqn1IO.js.map +1 -0
  749. package/components/p-CTjPiCcp.js +51 -0
  750. package/components/p-CTjPiCcp.js.map +1 -0
  751. package/components/p-CciWcvHP.js +123 -0
  752. package/components/p-CciWcvHP.js.map +1 -0
  753. package/components/p-CiQqgc-m.js +434 -0
  754. package/components/p-CiQqgc-m.js.map +1 -0
  755. package/components/p-CsRNKalM.js +166 -0
  756. package/components/p-CsRNKalM.js.map +1 -0
  757. package/components/p-CuVsQ9St.js +123 -0
  758. package/components/p-CuVsQ9St.js.map +1 -0
  759. package/components/p-D3OkBDd3.js +100 -0
  760. package/components/p-D3OkBDd3.js.map +1 -0
  761. package/components/p-D6cM-mvE.js +64 -0
  762. package/components/p-D6cM-mvE.js.map +1 -0
  763. package/components/p-D6kh9oF2.js +70 -0
  764. package/components/p-D6kh9oF2.js.map +1 -0
  765. package/components/p-DHSWIF-h.js +214 -0
  766. package/components/p-DHSWIF-h.js.map +1 -0
  767. package/components/p-DNhCX5eS.js +153 -0
  768. package/components/p-DNhCX5eS.js.map +1 -0
  769. package/components/p-DRGkYX1u.js +78 -0
  770. package/components/p-DRGkYX1u.js.map +1 -0
  771. package/components/p-DRJW4zBc.js +58 -0
  772. package/components/p-DRJW4zBc.js.map +1 -0
  773. package/components/p-DTgHvmlL.js +149 -0
  774. package/components/p-DTgHvmlL.js.map +1 -0
  775. package/components/p-DVhHZCku.js +220 -0
  776. package/components/p-DVhHZCku.js.map +1 -0
  777. package/components/p-DWpdUpK5.js +264 -0
  778. package/components/p-DWpdUpK5.js.map +1 -0
  779. package/components/p-D_DKZMpk.js +78 -0
  780. package/components/p-D_DKZMpk.js.map +1 -0
  781. package/components/p-Dbl0HXBJ.js +241 -0
  782. package/components/p-Dbl0HXBJ.js.map +1 -0
  783. package/components/p-DecYIvq4.js +124 -0
  784. package/components/p-DecYIvq4.js.map +1 -0
  785. package/components/p-DfXkVfrE.js +129 -0
  786. package/components/p-DfXkVfrE.js.map +1 -0
  787. package/components/p-HEcFS8Jc.js +125 -0
  788. package/components/p-HEcFS8Jc.js.map +1 -0
  789. package/components/p-MIbEYjCv.js +142 -0
  790. package/components/p-MIbEYjCv.js.map +1 -0
  791. package/components/p-NXL0pYS_.js +97 -0
  792. package/components/p-NXL0pYS_.js.map +1 -0
  793. package/components/p-X9MH3dtg.js +154 -0
  794. package/components/p-X9MH3dtg.js.map +1 -0
  795. package/components/p-YJm8-pxX.js +118 -0
  796. package/components/p-YJm8-pxX.js.map +1 -0
  797. package/components/p-ghuDbZwh.js +148 -0
  798. package/components/p-ghuDbZwh.js.map +1 -0
  799. package/components/p-p8W0xKpn.js +106 -0
  800. package/components/p-p8W0xKpn.js.map +1 -0
  801. package/esm/bellhop-core.js +21 -0
  802. package/esm/bellhop-core.js.map +1 -0
  803. package/esm/bh-accordion-item.entry.js +80 -0
  804. package/esm/bh-accordion-item.entry.js.map +1 -0
  805. package/esm/bh-accordion.entry.js +117 -0
  806. package/esm/bh-accordion.entry.js.map +1 -0
  807. package/esm/bh-appbar.entry.js +81 -0
  808. package/esm/bh-appbar.entry.js.map +1 -0
  809. package/esm/bh-autocomplete-menu.bh-tag.entry.js.map +1 -0
  810. package/esm/bh-autocomplete-menu_2.entry.js +174 -0
  811. package/esm/bh-avatar-add.entry.js +73 -0
  812. package/esm/bh-avatar-add.entry.js.map +1 -0
  813. package/esm/bh-avatar-stacked.entry.js +92 -0
  814. package/esm/bh-avatar-stacked.entry.js.map +1 -0
  815. package/esm/bh-avatar.entry.js +91 -0
  816. package/esm/bh-avatar.entry.js.map +1 -0
  817. package/esm/bh-badge-dot.bh-breadcrumbs.entry.js.map +1 -0
  818. package/esm/bh-badge-dot_2.entry.js +131 -0
  819. package/esm/bh-badge.entry.js +69 -0
  820. package/esm/bh-badge.entry.js.map +1 -0
  821. package/esm/bh-bar-chart.entry.js +162 -0
  822. package/esm/bh-bar-chart.entry.js.map +1 -0
  823. package/esm/bh-button-CBZGiLVh.js +115 -0
  824. package/esm/bh-button-CBZGiLVh.js.map +1 -0
  825. package/esm/bh-button-icon.entry.js +72 -0
  826. package/esm/bh-button-icon.entry.js.map +1 -0
  827. package/esm/bh-button.bh-loader-spinner.entry.js.map +1 -0
  828. package/esm/bh-button_2.entry.js +44 -0
  829. package/esm/bh-card-footer.entry.js +28 -0
  830. package/esm/bh-card-footer.entry.js.map +1 -0
  831. package/esm/bh-card-header.entry.js +72 -0
  832. package/esm/bh-card-header.entry.js.map +1 -0
  833. package/esm/bh-card.entry.js +46 -0
  834. package/esm/bh-card.entry.js.map +1 -0
  835. package/esm/bh-chart-tooltip.entry.js +55 -0
  836. package/esm/bh-chart-tooltip.entry.js.map +1 -0
  837. package/esm/bh-checkbox-group-item.entry.js +140 -0
  838. package/esm/bh-checkbox-group-item.entry.js.map +1 -0
  839. package/esm/bh-checkbox-group.entry.js +98 -0
  840. package/esm/bh-checkbox-group.entry.js.map +1 -0
  841. package/esm/bh-checkbox.entry.js +142 -0
  842. package/esm/bh-checkbox.entry.js.map +1 -0
  843. package/esm/bh-container-footer.entry.js +36 -0
  844. package/esm/bh-container-footer.entry.js.map +1 -0
  845. package/esm/bh-container.entry.js +24 -0
  846. package/esm/bh-container.entry.js.map +1 -0
  847. package/esm/bh-data-grid.entry.js +810 -0
  848. package/esm/bh-data-grid.entry.js.map +1 -0
  849. package/esm/bh-date-picker-content.bh-picker-menu.entry.js.map +1 -0
  850. package/esm/bh-date-picker-content_2.entry.js +522 -0
  851. package/esm/bh-date-picker.bh-empty-state.entry.js.map +1 -0
  852. package/esm/bh-date-picker_2.entry.js +249 -0
  853. package/esm/bh-date-range-picker-content.entry.js +149 -0
  854. package/esm/bh-date-range-picker-content.entry.js.map +1 -0
  855. package/esm/bh-date-range-picker.entry.js +165 -0
  856. package/esm/bh-date-range-picker.entry.js.map +1 -0
  857. package/esm/bh-dropdown-menu.entry.js +112 -0
  858. package/esm/bh-dropdown-menu.entry.js.map +1 -0
  859. package/esm/bh-dropdown.bh-logo-box.bh-nav-item.entry.js.map +1 -0
  860. package/esm/bh-dropdown_3.entry.js +303 -0
  861. package/esm/bh-featured-icon.entry.js +39 -0
  862. package/esm/bh-featured-icon.entry.js.map +1 -0
  863. package/esm/bh-illustrations.entry.js +63 -0
  864. package/esm/bh-illustrations.entry.js.map +1 -0
  865. package/esm/bh-input-autocomplete.entry.js +340 -0
  866. package/esm/bh-input-autocomplete.entry.js.map +1 -0
  867. package/esm/bh-input-number.entry.js +305 -0
  868. package/esm/bh-input-number.entry.js.map +1 -0
  869. package/esm/bh-input-password.entry.js +180 -0
  870. package/esm/bh-input-password.entry.js.map +1 -0
  871. package/esm/bh-input-text.entry.js +190 -0
  872. package/esm/bh-input-text.entry.js.map +1 -0
  873. package/esm/bh-input-verification.entry.js +201 -0
  874. package/esm/bh-input-verification.entry.js.map +1 -0
  875. package/esm/bh-label-DqsVrCg_.js +108 -0
  876. package/esm/bh-label-DqsVrCg_.js.map +1 -0
  877. package/esm/bh-label.bh-tooltip.entry.js.map +1 -0
  878. package/esm/bh-label_2.entry.js +45 -0
  879. package/esm/bh-modal-actions.entry.js +64 -0
  880. package/esm/bh-modal-actions.entry.js.map +1 -0
  881. package/esm/bh-modal-header.entry.js +74 -0
  882. package/esm/bh-modal-header.entry.js.map +1 -0
  883. package/esm/bh-modal.entry.js +54 -0
  884. package/esm/bh-modal.entry.js.map +1 -0
  885. package/esm/bh-month-picker-content.entry.js +187 -0
  886. package/esm/bh-month-picker-content.entry.js.map +1 -0
  887. package/esm/bh-month-picker.entry.js +150 -0
  888. package/esm/bh-month-picker.entry.js.map +1 -0
  889. package/esm/bh-notification.entry.js +126 -0
  890. package/esm/bh-notification.entry.js.map +1 -0
  891. package/esm/bh-page-navigation-child.entry.js +46 -0
  892. package/esm/bh-page-navigation-child.entry.js.map +1 -0
  893. package/esm/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.js.map +1 -0
  894. package/esm/bh-page-navigation-multi-level_2.entry.js +143 -0
  895. package/esm/bh-page-navigation.entry.js +70 -0
  896. package/esm/bh-page-navigation.entry.js.map +1 -0
  897. package/esm/bh-pie-chart.entry.js +155 -0
  898. package/esm/bh-pie-chart.entry.js.map +1 -0
  899. package/esm/bh-popover.entry.js +98 -0
  900. package/esm/bh-popover.entry.js.map +1 -0
  901. package/esm/bh-product-switcher.entry.js +100 -0
  902. package/esm/bh-product-switcher.entry.js.map +1 -0
  903. package/esm/bh-property-switcher.entry.js +229 -0
  904. package/esm/bh-property-switcher.entry.js.map +1 -0
  905. package/esm/bh-radio-button.entry.js +122 -0
  906. package/esm/bh-radio-button.entry.js.map +1 -0
  907. package/esm/bh-sidebar.entry.js +108 -0
  908. package/esm/bh-sidebar.entry.js.map +1 -0
  909. package/esm/bh-skeleton-loader.entry.js +32 -0
  910. package/esm/bh-skeleton-loader.entry.js.map +1 -0
  911. package/esm/bh-tab-item.entry.js +52 -0
  912. package/esm/bh-tab-item.entry.js.map +1 -0
  913. package/esm/bh-tabs.entry.js +50 -0
  914. package/esm/bh-tabs.entry.js.map +1 -0
  915. package/esm/bh-textarea.entry.js +159 -0
  916. package/esm/bh-textarea.entry.js.map +1 -0
  917. package/esm/bh-toggle.entry.js +139 -0
  918. package/esm/bh-toggle.entry.js.map +1 -0
  919. package/esm/bh-trend-chart.entry.js +119 -0
  920. package/esm/bh-trend-chart.entry.js.map +1 -0
  921. package/esm/form-CPgx0iFq.js +59 -0
  922. package/esm/form-CPgx0iFq.js.map +1 -0
  923. package/esm/index-DtVghh5W.js +1922 -0
  924. package/esm/index-DtVghh5W.js.map +1 -0
  925. package/esm/index.js +15 -0
  926. package/esm/index.js.map +1 -0
  927. package/esm/loader.js +11 -0
  928. package/esm/loader.js.map +1 -0
  929. package/index.cjs.js +1 -0
  930. package/index.js +1 -0
  931. package/loader/cdn.js +1 -0
  932. package/loader/index.cjs.js +1 -0
  933. package/loader/index.d.ts +24 -0
  934. package/loader/index.es2017.js +1 -0
  935. package/loader/index.js +2 -0
  936. package/package.json +32 -0
  937. package/types/components/bh-accordion/bh-accordion.d.ts +42 -0
  938. package/types/components/bh-accordion-item/bh-accordion-item.d.ts +41 -0
  939. package/types/components/bh-appbar/bh-appbar.d.ts +54 -0
  940. package/types/components/bh-autocomplete-menu/bh-autocomplete-menu.d.ts +54 -0
  941. package/types/components/bh-avatar/bh-avatar.d.ts +43 -0
  942. package/types/components/bh-avatar-add/bh-avatar-add.d.ts +35 -0
  943. package/types/components/bh-avatar-stacked/bh-avatar-stacked.d.ts +42 -0
  944. package/types/components/bh-badge/bh-badge.d.ts +40 -0
  945. package/types/components/bh-badge-dot/bh-badge-dot.d.ts +17 -0
  946. package/types/components/bh-bar-chart/bh-bar-chart.d.ts +50 -0
  947. package/types/components/bh-breadcrumbs/bh-breadcrumbs.d.ts +40 -0
  948. package/types/components/bh-button/bh-button.d.ts +57 -0
  949. package/types/components/bh-button-icon/bh-button-icon.d.ts +44 -0
  950. package/types/components/bh-card/bh-card.d.ts +23 -0
  951. package/types/components/bh-card-footer/bh-card-footer.d.ts +12 -0
  952. package/types/components/bh-card-header/bh-card-header.d.ts +59 -0
  953. package/types/components/bh-chart-tooltip/bh-chart-tooltip.d.ts +40 -0
  954. package/types/components/bh-checkbox/bh-checkbox.d.ts +45 -0
  955. package/types/components/bh-checkbox-group/bh-checkbox-group.d.ts +34 -0
  956. package/types/components/bh-checkbox-group-item/bh-checkbox-group-item.d.ts +67 -0
  957. package/types/components/bh-container/bh-container.d.ts +7 -0
  958. package/types/components/bh-container-footer/bh-container-footer.d.ts +18 -0
  959. package/types/components/bh-data-grid/bh-data-grid.d.ts +235 -0
  960. package/types/components/bh-date-picker/bh-date-picker.d.ts +78 -0
  961. package/types/components/bh-date-picker-content/bh-date-picker-content.d.ts +112 -0
  962. package/types/components/bh-date-range-picker/bh-date-range-picker.d.ts +85 -0
  963. package/types/components/bh-date-range-picker-content/bh-date-range-picker-content.d.ts +55 -0
  964. package/types/components/bh-dropdown/bh-dropdown.d.ts +78 -0
  965. package/types/components/bh-dropdown-menu/bh-dropdown-menu.d.ts +51 -0
  966. package/types/components/bh-empty-state/bh-empty-state.d.ts +52 -0
  967. package/types/components/bh-featured-icon/bh-featured-icon.d.ts +22 -0
  968. package/types/components/bh-illustrations/bh-illustrations.d.ts +25 -0
  969. package/types/components/bh-input-autocomplete/bh-input-autocomplete.d.ts +130 -0
  970. package/types/components/bh-input-number/bh-input-number.d.ts +137 -0
  971. package/types/components/bh-input-password/bh-input-password.d.ts +111 -0
  972. package/types/components/bh-input-text/bh-input-text.d.ts +126 -0
  973. package/types/components/bh-input-verification/bh-input-verification.d.ts +79 -0
  974. package/types/components/bh-label/bh-label.d.ts +54 -0
  975. package/types/components/bh-loader-spinner/bh-loader-spinner.d.ts +19 -0
  976. package/types/components/bh-logo-box/bh-logo-box.d.ts +28 -0
  977. package/types/components/bh-modal/bh-modal.d.ts +23 -0
  978. package/types/components/bh-modal-actions/bh-modal-actions.d.ts +38 -0
  979. package/types/components/bh-modal-header/bh-modal-header.d.ts +45 -0
  980. package/types/components/bh-month-picker/bh-month-picker.d.ts +73 -0
  981. package/types/components/bh-month-picker-content/bh-month-picker-content.d.ts +77 -0
  982. package/types/components/bh-notification/bh-notification.d.ts +51 -0
  983. package/types/components/bh-page-navigation/bh-page-navigation.d.ts +45 -0
  984. package/types/components/bh-page-navigation-child/bh-page-navigation-child.d.ts +26 -0
  985. package/types/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.d.ts +60 -0
  986. package/types/components/bh-page-navigation-single-level/bh-page-navigation-single-level.d.ts +22 -0
  987. package/types/components/bh-picker-menu/bh-picker-menu.d.ts +76 -0
  988. package/types/components/bh-pie-chart/bh-pie-chart.d.ts +50 -0
  989. package/types/components/bh-popover/bh-popover.d.ts +60 -0
  990. package/types/components/bh-product-switcher/bh-product-switcher.d.ts +40 -0
  991. package/types/components/bh-property-switcher/bh-property-switcher.d.ts +63 -0
  992. package/types/components/bh-radio-button/bh-radio-button.d.ts +56 -0
  993. package/types/components/bh-sidebar/bh-nav-item.d.ts +26 -0
  994. package/types/components/bh-sidebar/bh-sidebar.d.ts +70 -0
  995. package/types/components/bh-skeleton-loader/bh-skeleton-loader.d.ts +15 -0
  996. package/types/components/bh-tab-item/bh-tab-item.d.ts +29 -0
  997. package/types/components/bh-tabs/bh-tabs.d.ts +30 -0
  998. package/types/components/bh-tag/bh-tag.d.ts +25 -0
  999. package/types/components/bh-textarea/bh-textarea.d.ts +101 -0
  1000. package/types/components/bh-toggle/bh-toggle.d.ts +66 -0
  1001. package/types/components/bh-tooltip/bh-tooltip.d.ts +25 -0
  1002. package/types/components/bh-trend-chart/bh-trend-chart.d.ts +34 -0
  1003. package/types/components.d.ts +7199 -0
  1004. package/types/index.d.ts +12 -0
  1005. package/types/stencil-public-runtime.d.ts +1756 -0
  1006. package/types/utils/form.d.ts +39 -0
@@ -0,0 +1,141 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-tZqSQc8E.js');
4
+ var form = require('./form-9mbajZ3y.js');
5
+
6
+ const bhToggleCss = ":host{display:inline-block}.toggle-wrapper{display:flex;align-items:center;gap:0}.toggle-with-text.toggle-size-sm{gap:var(--spacing-md)}.toggle-with-text.toggle-size-md{gap:var(--spacing-lg)}.toggle-switch{position:relative;display:inline-block;border-radius:var(--radius-full);cursor:pointer;transition:background-color 0.2s ease;outline:none;border:1px solid transparent;background:transparent;overflow:visible;padding:0}.toggle-switch:focus{outline:none}.toggle-switch.toggle-disabled{cursor:not-allowed;opacity:0.38}.toggle-switch.toggle-sm{width:36px;height:20px}.toggle-switch.toggle-md{width:40px;height:24px}.toggle-switch.toggle-unpressed{background-color:var(--color-neutral-300);border-color:transparent}.toggle-switch.toggle-unpressed.toggle-hover{background-color:var(--color-neutral-400);border-color:transparent}.toggle-switch.toggle-unpressed.toggle-focus{background-color:var(--color-neutral-200);border-color:transparent}.toggle-switch.toggle-unpressed.toggle-focus .toggle-button::after{content:'';position:absolute;top:-6px;left:-6px;right:-6px;bottom:-6px;border-radius:var(--radius-full);background:var(--color-neutral-600);opacity:0.12;pointer-events:none}.toggle-switch.toggle-unpressed.toggle-disabled{background-color:var(--color-neutral-100);border-color:transparent}.toggle-switch.toggle-pressed{background-color:var(--color-brand-600);border-color:var(--color-brand-600)}.toggle-switch.toggle-pressed.toggle-hover{background-color:var(--color-brand-700);border-color:var(--color-brand-700)}.toggle-switch.toggle-pressed.toggle-focus{background-color:var(--color-brand-600);border-color:var(--color-brand-600)}.toggle-switch.toggle-pressed.toggle-focus .toggle-button::after{content:'';position:absolute;top:-6px;left:-6px;right:-6px;bottom:-6px;border-radius:var(--radius-full);background:var(--color-brand-100);opacity:0.24;pointer-events:none}.toggle-switch.toggle-pressed.toggle-disabled{background-color:var(--color-neutral-200);border-color:var(--color-neutral-200)}.toggle-switch.toggle-pressed.toggle-disabled .toggle-button{background-color:var(--color-neutral-100)}.toggle-button{position:absolute;top:50%;transform:translateY(-50%);border-radius:var(--radius-full);background-color:var(--color-neutral-600);transition:all 0.2s ease}.toggle-switch.toggle-unpressed .toggle-button{background-color:var(--color-white)}.toggle-switch.toggle-sm.toggle-unpressed .toggle-button{width:16px;height:16px;left:1px}.toggle-switch.toggle-md.toggle-unpressed .toggle-button{width:20px;height:20px;left:1px}.toggle-switch.toggle-unpressed.toggle-hover .toggle-button{background-color:var(--color-white);box-shadow:var(--shadow-sm)}.toggle-switch.toggle-pressed .toggle-button{background-color:var(--color-white)}.toggle-switch.toggle-sm.toggle-pressed .toggle-button{width:16px;height:16px;left:calc(100% - 17px)}.toggle-switch.toggle-md.toggle-pressed .toggle-button{width:20px;height:20px;left:calc(100% - 21px)}.toggle-switch.toggle-pressed.toggle-hover .toggle-button{background-color:var(--color-white)}.toggle-switch.toggle-disabled .toggle-button{background-color:var(--color-neutral-400);box-shadow:none}.toggle-switch.toggle-sm.toggle-unpressed.toggle-disabled .toggle-button{width:16px;height:16px;left:2px;background-color:var(--color-neutral-400)}.toggle-switch.toggle-md.toggle-unpressed.toggle-disabled .toggle-button{width:16px;height:16px;left:4px;background-color:var(--color-neutral-400)}.toggle-switch.toggle-sm.toggle-pressed.toggle-disabled .toggle-button{width:16px;height:16px;left:calc(100% - 17px);background-color:var(--color-neutral-400)}.toggle-switch.toggle-md.toggle-pressed.toggle-disabled .toggle-button{width:20px;height:20px;left:calc(100% - 21px);background-color:var(--color-white)}.toggle-text{display:flex;flex-direction:column;flex:1}.toggle-label{color:var(--color-neutral-700);font-family:var(--font-inter);font-weight:var(--weight-medium);text-align:left;margin:0;line-height:1.5}.toggle-label.toggle-label-sm{font-size:var(--text-sm-size);line-height:var(--text-sm-line)}.toggle-label.toggle-label-md{font-size:var(--text-md-size);line-height:var(--text-md-line)}.toggle-supporting-text{color:var(--color-neutral-600);font-family:var(--font-inter);font-weight:var(--weight-regular);font-size:var(--text-sm-size);line-height:var(--text-sm-line);text-align:left;margin:0;margin-top:var(--spacing-xxs)}@media (prefers-reduced-motion: reduce){.toggle-switch,.toggle-button{transition:none}}@media (prefers-contrast: high){.toggle-switch.toggle-unpressed{border:2px solid currentColor}.toggle-switch.toggle-pressed{border:2px solid currentColor}}.toggle-switch:focus-visible .toggle-button::after{content:'';position:absolute;top:-6px;left:-6px;right:-6px;bottom:-6px;border-radius:var(--radius-full);background:currentColor;opacity:0.24;pointer-events:none}";
7
+
8
+ const BhToggle = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.bhChange = index.createEvent(this, "bhChange");
12
+ if (hostRef.$hostElement$["s-ei"]) {
13
+ this.internals = hostRef.$hostElement$["s-ei"];
14
+ }
15
+ else {
16
+ this.internals = hostRef.$hostElement$.attachInternals();
17
+ hostRef.$hostElement$["s-ei"] = this.internals;
18
+ }
19
+ }
20
+ internals;
21
+ /**
22
+ * The size of the toggle
23
+ */
24
+ size = 'md';
25
+ /**
26
+ * Whether to show the label and supporting text
27
+ */
28
+ showText = false;
29
+ /**
30
+ * The label text
31
+ */
32
+ label = '';
33
+ /**
34
+ * Supporting text below the label
35
+ */
36
+ supportingText = '';
37
+ /**
38
+ * Whether the toggle is disabled
39
+ */
40
+ disabled = false;
41
+ /**
42
+ * Whether the toggle is checked (controlled mode)
43
+ */
44
+ checked = false;
45
+ /**
46
+ * Name attribute for form submission
47
+ */
48
+ name = '';
49
+ /**
50
+ * Value when checked (default: 'on')
51
+ */
52
+ value = 'on';
53
+ /**
54
+ * Whether the toggle is required
55
+ */
56
+ required = false;
57
+ /**
58
+ * Default checked state for form reset
59
+ */
60
+ defaultChecked = false;
61
+ /**
62
+ * Internal focus state
63
+ */
64
+ isFocused = false;
65
+ /**
66
+ * Internal hover state
67
+ */
68
+ isHovered = false;
69
+ /**
70
+ * Emitted when the toggle state changes
71
+ */
72
+ bhChange;
73
+ componentDidLoad() {
74
+ form.syncCheckableFormValue(this.internals, this.name, this.checked, this.value);
75
+ form.validateRequired(this.internals, this.required, this.checked);
76
+ }
77
+ formResetCallback() {
78
+ this.checked = this.defaultChecked;
79
+ form.syncCheckableFormValue(this.internals, this.name, this.checked, this.value);
80
+ form.validateRequired(this.internals, this.required, this.checked);
81
+ }
82
+ handleToggle = () => {
83
+ if (this.disabled)
84
+ return;
85
+ this.checked = !this.checked;
86
+ form.syncCheckableFormValue(this.internals, this.name, this.checked, this.value);
87
+ form.validateRequired(this.internals, this.required, this.checked);
88
+ this.bhChange.emit(this.checked);
89
+ };
90
+ handleKeyDown = (event) => {
91
+ if (event.key === ' ' || event.key === 'Enter') {
92
+ event.preventDefault();
93
+ this.handleToggle();
94
+ }
95
+ };
96
+ handleMouseEnter = () => {
97
+ this.isHovered = true;
98
+ };
99
+ handleMouseLeave = () => {
100
+ this.isHovered = false;
101
+ };
102
+ handleFocus = () => {
103
+ this.isFocused = true;
104
+ };
105
+ handleBlur = () => {
106
+ this.isFocused = false;
107
+ };
108
+ render() {
109
+ const wrapperClasses = {
110
+ 'toggle-wrapper': true,
111
+ 'toggle-with-text': this.showText,
112
+ [`toggle-size-${this.size}`]: true,
113
+ };
114
+ const switchClasses = {
115
+ 'toggle-switch': true,
116
+ 'toggle-pressed': this.checked,
117
+ 'toggle-unpressed': !this.checked,
118
+ [`toggle-${this.size}`]: true,
119
+ 'toggle-disabled': this.disabled,
120
+ 'toggle-focus': this.isFocused && !this.disabled,
121
+ 'toggle-hover': this.isHovered && !this.disabled,
122
+ };
123
+ const buttonClasses = {
124
+ 'toggle-button': true,
125
+ 'toggle-button-pressed': this.checked,
126
+ 'toggle-button-unpressed': !this.checked,
127
+ [`toggle-button-${this.size}`]: true,
128
+ 'toggle-button-disabled': this.disabled,
129
+ };
130
+ const labelClasses = {
131
+ 'toggle-label': true,
132
+ [`toggle-label-${this.size}`]: true,
133
+ };
134
+ return (index.h("div", { key: '59ea31ccba3b8a5d19d991728abfa832af696c22', class: wrapperClasses, part: "wrapper" }, index.h("div", { key: '6a379c430ad0132a7bea6d72e8eaf48eb3444a7e', class: switchClasses, onClick: this.handleToggle, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocus: this.handleFocus, onBlur: this.handleBlur, tabIndex: this.disabled ? -1 : 0, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.label || undefined, part: "switch" }, index.h("div", { key: '3e9914d0096f303fd19aa44881f8463b5846b1ed', class: buttonClasses, part: "button" })), this.showText && (this.label || this.supportingText) && (index.h("div", { key: '9e46745a9ed60dc29c4da37e503576b40ece91c6', class: "toggle-text" }, this.label && (index.h("span", { key: 'f53a5c4d6fe6a3c2904fd05bc54603128995099c', class: labelClasses }, this.label)), this.supportingText && (index.h("div", { key: '1e4d3e0d5ccdb230306e74692309ae837b0d5ec4', class: "toggle-supporting-text" }, this.supportingText))))));
135
+ }
136
+ static get formAssociated() { return true; }
137
+ };
138
+ BhToggle.style = bhToggleCss;
139
+
140
+ exports.bh_toggle = BhToggle;
141
+ //# sourceMappingURL=bh-toggle.entry.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bh-toggle.entry.cjs.js","sources":["src/components/bh-toggle/bh-toggle.css?tag=bh-toggle&encapsulation=shadow","src/components/bh-toggle/bh-toggle.tsx"],"sourcesContent":["/* ==========================================================================\n BH-TOGGLE COMPONENT STYLES - Material You Design\n ========================================================================== */\n\n:host {\n display: inline-block;\n}\n\n/* Toggle Wrapper */\n.toggle-wrapper {\n display: flex;\n align-items: center;\n gap: 0;\n}\n\n.toggle-with-text.toggle-size-sm {\n gap: var(--spacing-md);\n}\n\n.toggle-with-text.toggle-size-md {\n gap: var(--spacing-lg);\n}\n\n/* Toggle Switch Base */\n.toggle-switch {\n position: relative;\n display: inline-block;\n border-radius: var(--radius-full);\n cursor: pointer;\n transition: background-color 0.2s ease;\n outline: none;\n border: 1px solid transparent;\n background: transparent;\n overflow: visible;\n padding: 0;\n}\n\n.toggle-switch:focus {\n outline: none;\n}\n\n.toggle-switch.toggle-disabled {\n cursor: not-allowed;\n opacity: 0.38;\n}\n\n/* Toggle Switch Sizes */\n.toggle-switch.toggle-sm {\n width: 36px;\n height: 20px;\n}\n\n.toggle-switch.toggle-md {\n width: 40px;\n height: 24px;\n}\n\n/* Toggle Switch States - Unpressed (False) */\n.toggle-switch.toggle-unpressed {\n background-color: var(--color-neutral-300);\n border-color: transparent;\n}\n\n.toggle-switch.toggle-unpressed.toggle-hover {\n background-color: var(--color-neutral-400);\n border-color: transparent;\n}\n\n.toggle-switch.toggle-unpressed.toggle-focus {\n background-color: var(--color-neutral-200);\n border-color: transparent;\n}\n\n/* Focus ring for unpressed state */\n.toggle-switch.toggle-unpressed.toggle-focus .toggle-button::after {\n content: '';\n position: absolute;\n top: -6px;\n left: -6px;\n right: -6px;\n bottom: -6px;\n border-radius: var(--radius-full);\n background: var(--color-neutral-600);\n opacity: 0.12;\n pointer-events: none;\n}\n\n.toggle-switch.toggle-unpressed.toggle-disabled {\n background-color: var(--color-neutral-100);\n border-color: transparent;\n}\n\n/* Toggle Switch States - Pressed (True) */\n.toggle-switch.toggle-pressed {\n background-color: var(--color-brand-600);\n border-color: var(--color-brand-600);\n}\n\n.toggle-switch.toggle-pressed.toggle-hover {\n background-color: var(--color-brand-700);\n border-color: var(--color-brand-700);\n}\n\n.toggle-switch.toggle-pressed.toggle-focus {\n background-color: var(--color-brand-600);\n border-color: var(--color-brand-600);\n}\n\n/* Focus ring for pressed state */\n.toggle-switch.toggle-pressed.toggle-focus .toggle-button::after {\n content: '';\n position: absolute;\n top: -6px;\n left: -6px;\n right: -6px;\n bottom: -6px;\n border-radius: var(--radius-full);\n background: var(--color-brand-100);\n opacity: 0.24;\n pointer-events: none;\n}\n\n.toggle-switch.toggle-pressed.toggle-disabled {\n background-color: var(--color-neutral-200);\n border-color: var(--color-neutral-200);\n}\n\n.toggle-switch.toggle-pressed.toggle-disabled .toggle-button {\n background-color: var(--color-neutral-100);\n}\n\n/* Toggle Button (Handle) */\n.toggle-button {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n border-radius: var(--radius-full);\n background-color: var(--color-neutral-600);\n transition: all 0.2s ease;\n}\n\n/* Toggle Button States - Unpressed */\n.toggle-switch.toggle-unpressed .toggle-button {\n background-color: var(--color-white);\n}\n\n.toggle-switch.toggle-sm.toggle-unpressed .toggle-button {\n width: 16px;\n height: 16px;\n left: 1px;\n}\n\n.toggle-switch.toggle-md.toggle-unpressed .toggle-button {\n width: 20px;\n height: 20px;\n left: 1px;\n}\n\n.toggle-switch.toggle-unpressed.toggle-hover .toggle-button {\n background-color: var(--color-white);\n box-shadow: var(--shadow-sm);\n}\n\n/* Toggle Button States - Pressed */\n.toggle-switch.toggle-pressed .toggle-button {\n background-color: var(--color-white);\n}\n\n.toggle-switch.toggle-sm.toggle-pressed .toggle-button {\n width: 16px;\n height: 16px;\n left: calc(100% - 17px);\n}\n\n.toggle-switch.toggle-md.toggle-pressed .toggle-button {\n width: 20px;\n height: 20px; \n left: calc(100% - 21px);\n}\n\n.toggle-switch.toggle-pressed.toggle-hover .toggle-button {\n background-color: var(--color-white);\n}\n\n/* Toggle Button Disabled State */\n.toggle-switch.toggle-disabled .toggle-button {\n background-color: var(--color-neutral-400);\n box-shadow: none;\n}\n\n.toggle-switch.toggle-sm.toggle-unpressed.toggle-disabled .toggle-button {\n width: 16px;\n height: 16px;\n left: 2px;\n background-color: var(--color-neutral-400);\n}\n\n.toggle-switch.toggle-md.toggle-unpressed.toggle-disabled .toggle-button {\n width: 16px;\n height: 16px;\n left: 4px;\n background-color: var(--color-neutral-400);\n}\n\n.toggle-switch.toggle-sm.toggle-pressed.toggle-disabled .toggle-button {\n width: 16px;\n height: 16px;\n left: calc(100% - 17px);\n background-color: var(--color-neutral-400);\n}\n\n.toggle-switch.toggle-md.toggle-pressed.toggle-disabled .toggle-button {\n width: 20px;\n height: 20px;\n left: calc(100% - 21px);\n background-color: var(--color-white);\n}\n\n/* Toggle Text Container */\n.toggle-text {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n/* Toggle Label */\n.toggle-label {\n color: var(--color-neutral-700);\n font-family: var(--font-inter);\n font-weight: var(--weight-medium);\n text-align: left;\n margin: 0;\n line-height: 1.5;\n}\n\n.toggle-label.toggle-label-sm {\n font-size: var(--text-sm-size);\n line-height: var(--text-sm-line);\n}\n\n.toggle-label.toggle-label-md {\n font-size: var(--text-md-size);\n line-height: var(--text-md-line);\n}\n\n/* Toggle Supporting Text */\n.toggle-supporting-text {\n color: var(--color-neutral-600);\n font-family: var(--font-inter);\n font-weight: var(--weight-regular);\n font-size: var(--text-sm-size);\n line-height: var(--text-sm-line);\n text-align: left;\n margin: 0;\n margin-top: var(--spacing-xxs);\n}\n\n/* ==========================================================================\n ACCESSIBILITY\n ========================================================================== */\n\n@media (prefers-reduced-motion: reduce) {\n .toggle-switch,\n .toggle-button {\n transition: none;\n }\n}\n\n@media (prefers-contrast: high) {\n .toggle-switch.toggle-unpressed {\n border: 2px solid currentColor;\n }\n\n .toggle-switch.toggle-pressed {\n border: 2px solid currentColor;\n }\n}\n\n.toggle-switch:focus-visible .toggle-button::after {\n content: '';\n position: absolute;\n top: -6px;\n left: -6px;\n right: -6px;\n bottom: -6px;\n border-radius: var(--radius-full);\n background: currentColor;\n opacity: 0.24;\n pointer-events: none;\n}\n","import { Component, Prop, State, Event, EventEmitter, h, AttachInternals } from '@stencil/core';\nimport { syncCheckableFormValue, validateRequired } from '../../utils/form';\n\nexport type ToggleSize = 'sm' | 'md';\n\n@Component({\n tag: 'bh-toggle',\n styleUrl: 'bh-toggle.css',\n shadow: true,\n formAssociated: true,\n})\nexport class BhToggle {\n @AttachInternals() internals!: ElementInternals;\n /**\n * The size of the toggle\n */\n @Prop() size: ToggleSize = 'md';\n\n /**\n * Whether to show the label and supporting text\n */\n @Prop() showText: boolean = false;\n\n /**\n * The label text\n */\n @Prop() label: string = '';\n\n /**\n * Supporting text below the label\n */\n @Prop() supportingText: string = '';\n\n /**\n * Whether the toggle is disabled\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Whether the toggle is checked (controlled mode)\n */\n @Prop({ mutable: true }) checked: boolean = false;\n\n /**\n * Name attribute for form submission\n */\n @Prop() name: string = '';\n\n /**\n * Value when checked (default: 'on')\n */\n @Prop() value: string = 'on';\n\n /**\n * Whether the toggle is required\n */\n @Prop() required: boolean = false;\n\n /**\n * Default checked state for form reset\n */\n @Prop() defaultChecked: boolean = false;\n\n /**\n * Internal focus state\n */\n @State() isFocused: boolean = false;\n\n /**\n * Internal hover state\n */\n @State() isHovered: boolean = false;\n\n /**\n * Emitted when the toggle state changes\n */\n @Event() bhChange!: EventEmitter<boolean>;\n\n componentDidLoad() {\n syncCheckableFormValue(this.internals, this.name, this.checked, this.value);\n validateRequired(this.internals, this.required, this.checked);\n }\n\n formResetCallback() {\n this.checked = this.defaultChecked;\n syncCheckableFormValue(this.internals, this.name, this.checked, this.value);\n validateRequired(this.internals, this.required, this.checked);\n }\n\n private handleToggle = (): void => {\n if (this.disabled) return;\n\n this.checked = !this.checked;\n syncCheckableFormValue(this.internals, this.name, this.checked, this.value);\n validateRequired(this.internals, this.required, this.checked);\n this.bhChange.emit(this.checked);\n };\n\n private handleKeyDown = (event: KeyboardEvent): void => {\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault();\n this.handleToggle();\n }\n };\n\n private handleMouseEnter = (): void => {\n this.isHovered = true;\n };\n\n private handleMouseLeave = (): void => {\n this.isHovered = false;\n };\n\n private handleFocus = (): void => {\n this.isFocused = true;\n };\n\n private handleBlur = (): void => {\n this.isFocused = false;\n };\n\n render() {\n const wrapperClasses = {\n 'toggle-wrapper': true,\n 'toggle-with-text': this.showText,\n [`toggle-size-${this.size}`]: true,\n };\n\n const switchClasses = {\n 'toggle-switch': true,\n 'toggle-pressed': this.checked,\n 'toggle-unpressed': !this.checked,\n [`toggle-${this.size}`]: true,\n 'toggle-disabled': this.disabled,\n 'toggle-focus': this.isFocused && !this.disabled,\n 'toggle-hover': this.isHovered && !this.disabled,\n };\n\n const buttonClasses = {\n 'toggle-button': true,\n 'toggle-button-pressed': this.checked,\n 'toggle-button-unpressed': !this.checked,\n [`toggle-button-${this.size}`]: true,\n 'toggle-button-disabled': this.disabled,\n };\n\n const labelClasses = {\n 'toggle-label': true,\n [`toggle-label-${this.size}`]: true,\n };\n\n return (\n <div class={wrapperClasses} part=\"wrapper\">\n <div\n class={switchClasses}\n onClick={this.handleToggle}\n onKeyDown={this.handleKeyDown}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n tabIndex={this.disabled ? -1 : 0}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-label={this.label || undefined}\n part=\"switch\"\n >\n <div class={buttonClasses} part=\"button\"></div>\n </div>\n\n {this.showText && (this.label || this.supportingText) && (\n <div class=\"toggle-text\">\n {this.label && (\n <span class={labelClasses}>{this.label}</span>\n )}\n {this.supportingText && (\n <div class=\"toggle-supporting-text\">{this.supportingText}</div>\n )}\n </div>\n )}\n </div>\n );\n }\n}\n"],"names":["syncCheckableFormValue","validateRequired","h"],"mappings":";;;;;AAAA,MAAM,WAAW,GAAG,utJAAutJ;;MCW9tJ,QAAQ,GAAA,MAAA;;;;;;;;;;;;AACA,IAAA,SAAS;AAC5B;;AAEG;IACK,IAAI,GAAe,IAAI;AAE/B;;AAEG;IACK,QAAQ,GAAY,KAAK;AAEjC;;AAEG;IACK,KAAK,GAAW,EAAE;AAE1B;;AAEG;IACK,cAAc,GAAW,EAAE;AAEnC;;AAEG;IACK,QAAQ,GAAY,KAAK;AAEjC;;AAEG;IACsB,OAAO,GAAY,KAAK;AAEjD;;AAEG;IACK,IAAI,GAAW,EAAE;AAEzB;;AAEG;IACK,KAAK,GAAW,IAAI;AAE5B;;AAEG;IACK,QAAQ,GAAY,KAAK;AAEjC;;AAEG;IACK,cAAc,GAAY,KAAK;AAEvC;;AAEG;IACM,SAAS,GAAY,KAAK;AAEnC;;AAEG;IACM,SAAS,GAAY,KAAK;AAEnC;;AAEG;AACM,IAAA,QAAQ;IAEjB,gBAAgB,GAAA;AACd,QAAAA,2BAAsB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EA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tZqSQc8E.js');
4
+
5
+ const bhTrendChartCss = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap'); :root{--color-white:hsl(0, 0%, 100%);--color-black:hsl(0, 0%, 0%);--color-transparent:hsla(0, 0%, 100%, 0);--color-neutral-25:hsl(240, 20%, 99%);--color-neutral-50:hsl(240, 20%, 98%);--color-neutral-100:hsl(240, 17%, 95%);--color-neutral-200:hsl(227, 25%, 89%);--color-neutral-300:hsl(224, 24%, 78%);--color-neutral-400:hsl(226, 24%, 59%);--color-neutral-500:hsl(226, 24%, 48%);--color-neutral-600:hsl(226, 24%, 38%);--color-neutral-700:hsl(226, 24%, 25%);--color-neutral-800:hsl(233, 33%, 10%);--color-neutral-900:hsl(231, 32%, 8%);--color-neutral-950:hsl(231, 32%, 8%);--color-brand-25:hsl(220, 82%, 98%);--color-brand-50:hsl(222, 87%, 97%);--color-brand-100:hsl(221, 94%, 94%);--color-brand-200:hsl(221, 92%, 86%);--color-brand-300:hsl(224, 95%, 77%);--color-brand-400:hsl(224, 94%, 72%);--color-brand-500:hsl(230, 67%, 58%);--color-brand-600:hsl(230, 69%, 48%);--color-brand-700:hsl(230, 75%, 34%);--color-brand-800:hsl(243, 86%, 44%);--color-brand-900:hsl(237, 69%, 24%);--color-brand-950:hsl(237, 61%, 20%);--color-error-25:hsl(12, 100%, 99%);--color-error-50:hsl(5, 86%, 97%);--color-error-100:hsl(4, 93%, 94%);--color-error-200:hsl(3, 96%, 89%);--color-error-300:hsl(4, 96%, 80%);--color-error-400:hsl(4, 92%, 69%);--color-error-500:hsl(4, 86%, 58%);--color-error-600:hsl(4, 74%, 49%);--color-error-700:hsl(4, 76%, 40%);--color-error-800:hsl(4, 72%, 33%);--color-error-900:hsl(8, 65%, 29%);--color-error-950:hsl(8, 75%, 19%);--color-warning-25:hsl(42, 100%, 98%);--color-warning-50:hsl(45, 100%, 96%);--color-warning-100:hsl(45, 96%, 89%);--color-warning-200:hsl(44, 98%, 77%);--color-warning-300:hsl(42, 99%, 65%);--color-warning-400:hsl(39, 98%, 56%);--color-warning-500:hsl(34, 94%, 50%);--color-warning-600:hsl(28, 97%, 44%);--color-warning-700:hsl(22, 92%, 37%);--color-warning-800:hsl(19, 84%, 31%);--color-warning-900:hsl(18, 79%, 27%);--color-warning-950:hsl(17, 79%, 17%);--color-success-25:hsl(142, 80%, 98%);--color-success-50:hsl(145, 81%, 96%);--color-success-100:hsl(140, 80%, 90%);--color-success-200:hsl(144, 78%, 80%);--color-success-300:hsl(148, 63%, 67%);--color-success-400:hsl(150, 57%, 54%);--color-success-500:hsl(152, 77%, 39%);--color-success-600:hsl(153, 91%, 30%);--color-success-700:hsl(155, 90%, 24%);--color-success-800:hsl(155, 84%, 20%);--color-success-900:hsl(156, 83%, 16%);--color-success-950:hsl(157, 82%, 11%);--font-inter:'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',\n Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--text-xl-size:1.25rem;--text-lg-size:1.125rem;--text-md-size:1rem;--text-sm-size:0.875rem;--text-xs-size:0.75rem;--text-xl-line:1.875rem;--text-lg-line:1.75rem;--text-md-line:1.5rem;--text-sm-line:1.25rem;--text-xs-line:1.125rem;--spacing-none:0rem;--spacing-xxs:0.125rem;--spacing-xs:0.25rem;--spacing-sm:0.375rem;--spacing-md:0.5rem;--spacing-lg:0.75rem;--spacing-xl:1rem;--spacing-2xl:1.25rem;--spacing-3xl:1.5rem;--spacing-4xl:2rem;--spacing-5xl:2.5rem;--spacing-6xl:3rem;--radius-none:0rem;--radius-xxs:0.125rem;--radius-xs:0.25rem;--radius-sm:0.375rem;--radius-md:0.5rem;--radius-lg:0.625rem;--radius-xl:0.75rem;--radius-2xl:1rem;--radius-3xl:1.25rem;--radius-4xl:1.5rem;--radius-full:9999px;--shadow-xs:0px 1px 2px rgba(16, 24, 40, 0.05);--shadow-sm:0px 1px 3px rgba(16, 24, 40, 0.1),\n 0px 1px 2px rgba(16, 24, 40, 0.06);--shadow-md:0px 4px 8px -2px rgba(16, 24, 40, 0.1),\n 0px 2px 4px -2px rgba(16, 24, 40, 0.06);--shadow-lg:0px 12px 16px -4px rgba(16, 24, 40, 0.08),\n 0px 4px 6px -2px rgba(16, 24, 40, 0.03);--shadow-xl:0px 20px 24px -4px rgba(16, 24, 40, 0.08),\n 0px 8px 8px -4px rgba(16, 24, 40, 0.03);--icon-compensation-xs-btn:calc(var(--spacing-lg) - var(--spacing-xs));--icon-compensation-sm-btn:calc(var(--spacing-xl) - var(--spacing-xs));--icon-compensation-md-btn:calc(var(--spacing-xl) - var(--spacing-xs));--icon-compensation-lg-btn:calc(var(--spacing-xl) - var(--spacing-xs))}*,*::before,*::after{box-sizing:border-box}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}:host{display:inline-block}.trend-chart{position:relative;display:inline-block;width:fit-content;height:fit-content}.chart-svg{overflow:visible}@keyframes chartFadeIn{from{opacity:0;transform:translateY(10px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backgroundFill{from{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}.trend-chart-animated{animation:chartFadeIn 0.6s var(--animation-ease-smooth, ease-out) forwards}.trend-chart-animated .chart-line{stroke-dasharray:1000;stroke-dashoffset:1000;animation:pathDraw 1.2s var(--animation-ease-smooth, ease-out) 0.3s forwards}@keyframes pathDraw{to{stroke-dashoffset:0}}.trend-chart-animated .chart-background{transform-origin:bottom;animation:backgroundFill 0.8s var(--animation-ease-smooth, ease-out) 0.3s forwards;opacity:0}.trend-chart-animated.trend-chart-line-only .chart-line{animation:pathDrawSlow 4s var(--animation-ease-smooth, ease-out) 0.3s forwards}@keyframes pathDrawSlow{to{stroke-dashoffset:0}}.trend-chart:not(.trend-chart-animated) .chart-line{stroke-dasharray:none}.trend-chart:not(.trend-chart-animated) .chart-background{opacity:1}@media (prefers-reduced-motion: reduce){.trend-chart-animated,.trend-chart-animated .chart-line,.trend-chart-animated .chart-background{animation:none;opacity:1;transform:none;stroke-dasharray:none}}";
6
+
7
+ const BhTrendChart = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ /**
12
+ * The trend direction (affects color)
13
+ */
14
+ trend = 'positive';
15
+ /**
16
+ * Data points for the chart
17
+ */
18
+ data = [20, 45, 30, 60, 35, 70, 40];
19
+ /**
20
+ * Whether to animate the chart
21
+ */
22
+ animated = true;
23
+ /**
24
+ * Chart variant: line-only, fill-only, or line-fill
25
+ */
26
+ variant = 'line-only';
27
+ /**
28
+ * Width of the chart in pixels
29
+ */
30
+ width = 112;
31
+ /**
32
+ * Height of the chart in pixels
33
+ */
34
+ height = 56;
35
+ normalizeData() {
36
+ const maxValue = Math.max(...this.data);
37
+ const minValue = Math.min(...this.data);
38
+ const range = maxValue - minValue || 1;
39
+ return this.data.map((value, index) => ({
40
+ x: (index / (this.data.length - 1)) * this.width,
41
+ y: this.height - ((value - minValue) / range) * (this.height - 20) - 10,
42
+ }));
43
+ }
44
+ generatePath(points) {
45
+ if (points.length < 2)
46
+ return '';
47
+ let path = `M ${points[0].x} ${points[0].y}`;
48
+ for (let i = 1; i < points.length; i++) {
49
+ const prev = points[i - 1];
50
+ const curr = points[i];
51
+ const tension = 0.5;
52
+ const cp1x = prev.x + (curr.x - prev.x) * tension;
53
+ const cp1y = prev.y;
54
+ const cp2x = curr.x - (curr.x - prev.x) * tension;
55
+ const cp2y = curr.y;
56
+ path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;
57
+ }
58
+ return path;
59
+ }
60
+ generateBackgroundPath(points) {
61
+ if (points.length < 2)
62
+ return '';
63
+ let path = `M ${points[0].x} ${this.height}`;
64
+ path += ` L ${points[0].x} ${points[0].y}`;
65
+ for (let i = 1; i < points.length; i++) {
66
+ const prev = points[i - 1];
67
+ const curr = points[i];
68
+ const tension = 0.5;
69
+ const cp1x = prev.x + (curr.x - prev.x) * tension;
70
+ const cp1y = prev.y;
71
+ const cp2x = curr.x - (curr.x - prev.x) * tension;
72
+ const cp2y = curr.y;
73
+ path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;
74
+ }
75
+ path += ` L ${points[points.length - 1].x} ${this.height}`;
76
+ path += ' Z';
77
+ return path;
78
+ }
79
+ getStrokeColor() {
80
+ switch (this.trend) {
81
+ case 'positive':
82
+ return 'var(--color-success-500)';
83
+ case 'negative':
84
+ return 'var(--color-error-500)';
85
+ case 'neutral':
86
+ return 'var(--color-neutral-500)';
87
+ default:
88
+ return 'var(--color-neutral-500)';
89
+ }
90
+ }
91
+ getFillColor() {
92
+ switch (this.trend) {
93
+ case 'positive':
94
+ return 'var(--color-success-600)';
95
+ case 'negative':
96
+ return 'var(--color-error-600)';
97
+ case 'neutral':
98
+ return 'var(--color-neutral-600)';
99
+ default:
100
+ return 'var(--color-neutral-600)';
101
+ }
102
+ }
103
+ render() {
104
+ const points = this.normalizeData();
105
+ const pathData = this.generatePath(points);
106
+ const backgroundPath = this.variant !== 'line-only' ? this.generateBackgroundPath(points) : '';
107
+ const strokeColor = this.getStrokeColor();
108
+ const fillColor = this.getFillColor();
109
+ const gradientId = `gradient-${this.trend}`;
110
+ return (index.h(index.Host, { key: '0ce9235d0b67696eb5e5eb13bdfc80633e2f5a09' }, index.h("div", { key: 'f8142d9b08c84c330afc375c7dd870be7d561116', class: {
111
+ 'trend-chart': true,
112
+ [`trend-chart-${this.trend}`]: true,
113
+ [`trend-chart-${this.variant}`]: true,
114
+ 'trend-chart-animated': this.animated,
115
+ } }, index.h("svg", { key: '80ecc5b120ab8adeea6ad0f66c82d43bff7510ae', width: this.width, height: this.height, viewBox: `0 0 ${this.width} ${this.height}`, class: "chart-svg" }, index.h("defs", { key: 'e662d21fc9813679530c7ae4c533bcf79985fc32' }, index.h("linearGradient", { key: '4c5f68791672c1cc639db2fe1eff407ecdbc3019', id: gradientId, x1: "0%", y1: "0%", x2: "0%", y2: "100%" }, index.h("stop", { key: '15f6c5706518d1adf8e84f3c9736d9f37d1b0c3e', offset: "0%", "stop-color": fillColor, "stop-opacity": this.variant === 'fill-only' ? 0.4 : 0.2 }), index.h("stop", { key: '9b90e1919b241be8a5d6a160ce250cb205967d49', offset: "100%", "stop-color": fillColor, "stop-opacity": this.variant === 'fill-only' ? 0.1 : 0.05 }))), backgroundPath && this.variant !== 'line-only' && (index.h("path", { key: 'c27880c30f92abb5240c401b35e1af3b62039318', class: "chart-background", d: backgroundPath, fill: `url(#${gradientId})` })), pathData && this.variant !== 'fill-only' && (index.h("path", { key: '2f64a03e170a7a1f792fe835d2a870dd64905fd9', class: "chart-line", d: pathData, stroke: strokeColor, "stroke-width": "2", fill: "none" }))))));
116
+ }
117
+ };
118
+ BhTrendChart.style = bhTrendChartCss;
119
+
120
+ exports.bh_trend_chart = BhTrendChart;
121
+ //# sourceMappingURL=bh-trend-chart.entry.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bh-trend-chart.entry.cjs.js","sources":["src/components/bh-trend-chart/bh-trend-chart.css?tag=bh-trend-chart&encapsulation=shadow","src/components/bh-trend-chart/bh-trend-chart.tsx"],"sourcesContent":["@import '../../global/global.css';\n\n:host {\n display: inline-block;\n}\n\n.trend-chart {\n position: relative;\n display: inline-block;\n width: fit-content;\n height: fit-content;\n}\n\n/* Chart SVG container */\n.chart-svg {\n overflow: visible;\n}\n\n/* Smooth Airbnb-style reveal animations */\n@keyframes chartFadeIn {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes backgroundFill {\n from {\n opacity: 0;\n transform: scaleY(0);\n }\n to {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n\n/* Animation timing */\n.trend-chart-animated {\n animation: chartFadeIn 0.6s var(--animation-ease-smooth, ease-out) forwards;\n}\n\n.trend-chart-animated .chart-line {\n stroke-dasharray: 1000;\n stroke-dashoffset: 1000;\n animation: pathDraw 1.2s var(--animation-ease-smooth, ease-out) 0.3s forwards;\n}\n\n@keyframes pathDraw {\n to {\n stroke-dashoffset: 0;\n }\n}\n\n.trend-chart-animated .chart-background {\n transform-origin: bottom;\n animation: backgroundFill 0.8s var(--animation-ease-smooth, ease-out) 0.3s forwards;\n opacity: 0;\n}\n\n/* Line-only variant - slower animation */\n.trend-chart-animated.trend-chart-line-only .chart-line {\n animation: pathDrawSlow 4s var(--animation-ease-smooth, ease-out) 0.3s forwards;\n}\n\n@keyframes pathDrawSlow {\n to {\n stroke-dashoffset: 0;\n }\n}\n\n/* Static styles for non-animated */\n.trend-chart:not(.trend-chart-animated) .chart-line {\n stroke-dasharray: none;\n}\n\n.trend-chart:not(.trend-chart-animated) .chart-background {\n opacity: 1;\n}\n\n/* Responsive behavior */\n@media (prefers-reduced-motion: reduce) {\n .trend-chart-animated,\n .trend-chart-animated .chart-line,\n .trend-chart-animated .chart-background {\n animation: none;\n opacity: 1;\n transform: none;\n stroke-dasharray: none;\n }\n}\n","import { Component, Prop, h, Host } from '@stencil/core';\n\nexport type TrendDirection = 'positive' | 'negative' | 'neutral';\nexport type TrendVariant = 'line-only' | 'fill-only' | 'line-fill';\n\n@Component({\n tag: 'bh-trend-chart',\n styleUrl: 'bh-trend-chart.css',\n shadow: true,\n})\nexport class BhTrendChart {\n /**\n * The trend direction (affects color)\n */\n @Prop() trend: TrendDirection = 'positive';\n\n /**\n * Data points for the chart\n */\n @Prop() data: number[] = [20, 45, 30, 60, 35, 70, 40];\n\n /**\n * Whether to animate the chart\n */\n @Prop() animated: boolean = true;\n\n /**\n * Chart variant: line-only, fill-only, or line-fill\n */\n @Prop() variant: TrendVariant = 'line-only';\n\n /**\n * Width of the chart in pixels\n */\n @Prop() width: number = 112;\n\n /**\n * Height of the chart in pixels\n */\n @Prop() height: number = 56;\n\n private normalizeData(): Array<{ x: number; y: number }> {\n const maxValue = Math.max(...this.data);\n const minValue = Math.min(...this.data);\n const range = maxValue - minValue || 1;\n\n return this.data.map((value, index) => ({\n x: (index / (this.data.length - 1)) * this.width,\n y: this.height - ((value - minValue) / range) * (this.height - 20) - 10,\n }));\n }\n\n private generatePath(points: Array<{ x: number; y: number }>): string {\n if (points.length < 2) return '';\n\n let path = `M ${points[0].x} ${points[0].y}`;\n\n for (let i = 1; i < points.length; i++) {\n const prev = points[i - 1];\n const curr = points[i];\n const tension = 0.5;\n\n const cp1x = prev.x + (curr.x - prev.x) * tension;\n const cp1y = prev.y;\n const cp2x = curr.x - (curr.x - prev.x) * tension;\n const cp2y = curr.y;\n\n path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;\n }\n\n return path;\n }\n\n private generateBackgroundPath(points: Array<{ x: number; y: number }>): string {\n if (points.length < 2) return '';\n\n let path = `M ${points[0].x} ${this.height}`;\n path += ` L ${points[0].x} ${points[0].y}`;\n\n for (let i = 1; i < points.length; i++) {\n const prev = points[i - 1];\n const curr = points[i];\n const tension = 0.5;\n\n const cp1x = prev.x + (curr.x - prev.x) * tension;\n const cp1y = prev.y;\n const cp2x = curr.x - (curr.x - prev.x) * tension;\n const cp2y = curr.y;\n path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;\n }\n\n path += ` L ${points[points.length - 1].x} ${this.height}`;\n path += ' Z';\n\n return path;\n }\n\n private getStrokeColor(): string {\n switch (this.trend) {\n case 'positive':\n return 'var(--color-success-500)';\n case 'negative':\n return 'var(--color-error-500)';\n case 'neutral':\n return 'var(--color-neutral-500)';\n default:\n return 'var(--color-neutral-500)';\n }\n }\n\n private getFillColor(): string {\n switch (this.trend) {\n case 'positive':\n return 'var(--color-success-600)';\n case 'negative':\n return 'var(--color-error-600)';\n case 'neutral':\n return 'var(--color-neutral-600)';\n default:\n return 'var(--color-neutral-600)';\n }\n }\n\n render() {\n const points = this.normalizeData();\n const pathData = this.generatePath(points);\n const backgroundPath = this.variant !== 'line-only' ? this.generateBackgroundPath(points) : '';\n const strokeColor = this.getStrokeColor();\n const fillColor = this.getFillColor();\n const gradientId = `gradient-${this.trend}`;\n\n return (\n <Host>\n <div\n class={{\n 'trend-chart': true,\n [`trend-chart-${this.trend}`]: true,\n [`trend-chart-${this.variant}`]: true,\n 'trend-chart-animated': this.animated,\n }}\n >\n <svg\n width={this.width}\n height={this.height}\n viewBox={`0 0 ${this.width} ${this.height}`}\n class=\"chart-svg\"\n >\n <defs>\n <linearGradient id={gradientId} x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">\n <stop\n offset=\"0%\"\n stop-color={fillColor}\n stop-opacity={this.variant === 'fill-only' ? 0.4 : 0.2}\n />\n <stop\n offset=\"100%\"\n stop-color={fillColor}\n stop-opacity={this.variant === 'fill-only' ? 0.1 : 0.05}\n />\n </linearGradient>\n </defs>\n\n {/* Background fill (for fill-only and line-fill variants) */}\n {backgroundPath && this.variant !== 'line-only' && (\n <path\n class=\"chart-background\"\n d={backgroundPath}\n fill={`url(#${gradientId})`}\n />\n )}\n\n {/* Stroke line (for line-only and line-fill variants) */}\n {pathData && this.variant !== 'fill-only' && (\n <path\n class=\"chart-line\"\n d={pathData}\n stroke={strokeColor}\n stroke-width=\"2\"\n fill=\"none\"\n />\n )}\n </svg>\n </div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,eAAe,GAAG,+7LAA+7L;;MCU18L,YA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A,EACEA,OAAA,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAgB,EAAE,EAAE,UAAU,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,MAAM,EAAA,EAC/DA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,MAAM,EAAC,IAAI,gBACC,SAAS,EAAA,cAAA,EACP,IAAI,CAAC,OAAO,KAAK,WAAW,GAAG,GAAG,GAAG,GAAG,EACtD,CAAA,EACFA,OACE,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAC,MAAM,EAAA,YAAA,EACD,SAAS,EACP,cAAA,EAAA,IAAI,CAAC,OAAO,KAAK,WAAW,GAAG,GAAG,GAAG,IAAI,EACvD,CAAA,CACa,CACZ,EAGN,cAAc,IAAI,IAAI,CAAC,OAAO,KAAK,WAAW,KAC7CA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,kBAAkB,EACxB,CAAC,EAAE,cAAc,EACjB,IAAI,EAAE,CAAA,KAAA,EAAQ,UAAU,CAAG,CAAA,CAAA,EAAA,CAC3B,CACH,EAGA,QAAQ,IAAI,IAAI,CAAC,OAAO,KAAK,WAAW,KACvCA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,YAAY,EAClB,CAAC,EAAE,QAAQ,EACX,MAAM,EAAE,WAAW,EACN,cAAA,EAAA,GAAG,EAChB,IAAI,EAAC,MAAM,EAAA,CACX,CACH,CACG,CACF,CACD;;;;;;;"}
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Form utilities for form-associated custom elements
5
+ *
6
+ * These utilities help Stencil components participate in native HTML forms
7
+ * using the ElementInternals API (formAssociated: true).
8
+ */
9
+ /**
10
+ * Sync a text/number value to the form
11
+ * Call this in handleInput and componentDidLoad
12
+ */
13
+ function syncFormValue(component) {
14
+ if (!component.internals?.setFormValue || !component.name)
15
+ return;
16
+ const value = component.value;
17
+ if (value === null || value === undefined || value === '') {
18
+ component.internals.setFormValue(null);
19
+ }
20
+ else {
21
+ component.internals.setFormValue(String(value));
22
+ }
23
+ }
24
+ /**
25
+ * Sync a checkable component's value to the form
26
+ * For checkbox, toggle, radio - value is only submitted when checked
27
+ */
28
+ function syncCheckableFormValue(internals, name, checked, value = 'on') {
29
+ if (!internals?.setFormValue || !name)
30
+ return;
31
+ internals.setFormValue(checked ? value : null);
32
+ }
33
+ /**
34
+ * Update validity state based on a native input element
35
+ * This delegates to the browser's built-in validation
36
+ */
37
+ function updateValidity(internals, inputEl, customMessage) {
38
+ if (!internals?.setValidity)
39
+ return;
40
+ if (inputEl) {
41
+ internals.setValidity(inputEl.validity, customMessage || inputEl.validationMessage, inputEl);
42
+ }
43
+ }
44
+ /**
45
+ * Validate required state for checkable components (checkbox, toggle)
46
+ */
47
+ function validateRequired(internals, required, checked, message = 'Please check this box if you want to proceed.') {
48
+ if (!internals?.setValidity)
49
+ return;
50
+ if (required && !checked) {
51
+ internals.setValidity({ valueMissing: true }, message);
52
+ }
53
+ else {
54
+ internals.setValidity({});
55
+ }
56
+ }
57
+
58
+ exports.syncCheckableFormValue = syncCheckableFormValue;
59
+ exports.syncFormValue = syncFormValue;
60
+ exports.updateValidity = updateValidity;
61
+ exports.validateRequired = validateRequired;
62
+ //# sourceMappingURL=form-9mbajZ3y.js.map
63
+
64
+ //# sourceMappingURL=form-9mbajZ3y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-9mbajZ3y.js","sources":["src/utils/form.ts"],"sourcesContent":["/**\n * Form utilities for form-associated custom elements\n *\n * These utilities help Stencil components participate in native HTML forms\n * using the ElementInternals API (formAssociated: true).\n */\n\n/**\n * Interface for text-based form components (input, textarea)\n */\nexport interface FormComponent {\n internals: ElementInternals;\n name: string;\n value: string | number | null;\n disabled: boolean;\n required?: boolean;\n}\n\n/**\n * Sync a text/number value to the form\n * Call this in handleInput and componentDidLoad\n */\nexport function syncFormValue(component: FormComponent): void {\n if (!component.internals?.setFormValue || !component.name) return;\n\n const value = component.value;\n if (value === null || value === undefined || value === '') {\n component.internals.setFormValue(null);\n } else {\n component.internals.setFormValue(String(value));\n }\n}\n\n/**\n * Sync a checkable component's value to the form\n * For checkbox, toggle, radio - value is only submitted when checked\n */\nexport function syncCheckableFormValue(\n internals: ElementInternals | undefined,\n name: string,\n checked: boolean,\n value: string = 'on'\n): void {\n if (!internals?.setFormValue || !name) return;\n internals.setFormValue(checked ? value : null);\n}\n\n/**\n * Update validity state based on a native input element\n * This delegates to the browser's built-in validation\n */\nexport function updateValidity(\n internals: ElementInternals | undefined,\n inputEl: HTMLInputElement | HTMLTextAreaElement | null | undefined,\n customMessage?: string\n): void {\n if (!internals?.setValidity) return;\n\n if (inputEl) {\n internals.setValidity(\n inputEl.validity,\n customMessage || inputEl.validationMessage,\n inputEl\n );\n }\n}\n\n/**\n * Set custom validity for components without native inputs\n */\nexport function setCustomValidity(\n internals: ElementInternals | undefined,\n isValid: boolean,\n message: string = ''\n): void {\n if (!internals?.setValidity) return;\n\n if (isValid) {\n internals.setValidity({});\n } else {\n internals.setValidity({ customError: true }, message);\n }\n}\n\n/**\n * Validate required state for checkable components (checkbox, toggle)\n */\nexport function validateRequired(\n internals: ElementInternals | undefined,\n required: boolean,\n checked: boolean,\n message: string = 'Please check this box if you want to proceed.'\n): void {\n if (!internals?.setValidity) return;\n\n if (required && !checked) {\n internals.setValidity({ valueMissing: true }, message);\n } else {\n internals.setValidity({});\n }\n}\n"],"names":[],"mappings":";;AAAA;;;;;AAKG;AAaH;;;AAGG;AACG,SAAU,aAAa,CAAC,SAAwB,EAAA;IACpD,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,YAAY,IAAI,CAAC,SAAS,CAAC,IAAI;QAAE;AAE3D,IAAA,MAAM,KAAK,GAAG,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