@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,256 @@
1
+ import { h, Host } from "@stencil/core";
2
+ export class BhTrendChart {
3
+ /**
4
+ * The trend direction (affects color)
5
+ */
6
+ trend = 'positive';
7
+ /**
8
+ * Data points for the chart
9
+ */
10
+ data = [20, 45, 30, 60, 35, 70, 40];
11
+ /**
12
+ * Whether to animate the chart
13
+ */
14
+ animated = true;
15
+ /**
16
+ * Chart variant: line-only, fill-only, or line-fill
17
+ */
18
+ variant = 'line-only';
19
+ /**
20
+ * Width of the chart in pixels
21
+ */
22
+ width = 112;
23
+ /**
24
+ * Height of the chart in pixels
25
+ */
26
+ height = 56;
27
+ normalizeData() {
28
+ const maxValue = Math.max(...this.data);
29
+ const minValue = Math.min(...this.data);
30
+ const range = maxValue - minValue || 1;
31
+ return this.data.map((value, index) => ({
32
+ x: (index / (this.data.length - 1)) * this.width,
33
+ y: this.height - ((value - minValue) / range) * (this.height - 20) - 10,
34
+ }));
35
+ }
36
+ generatePath(points) {
37
+ if (points.length < 2)
38
+ return '';
39
+ let path = `M ${points[0].x} ${points[0].y}`;
40
+ for (let i = 1; i < points.length; i++) {
41
+ const prev = points[i - 1];
42
+ const curr = points[i];
43
+ const tension = 0.5;
44
+ const cp1x = prev.x + (curr.x - prev.x) * tension;
45
+ const cp1y = prev.y;
46
+ const cp2x = curr.x - (curr.x - prev.x) * tension;
47
+ const cp2y = curr.y;
48
+ path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;
49
+ }
50
+ return path;
51
+ }
52
+ generateBackgroundPath(points) {
53
+ if (points.length < 2)
54
+ return '';
55
+ let path = `M ${points[0].x} ${this.height}`;
56
+ path += ` L ${points[0].x} ${points[0].y}`;
57
+ for (let i = 1; i < points.length; i++) {
58
+ const prev = points[i - 1];
59
+ const curr = points[i];
60
+ const tension = 0.5;
61
+ const cp1x = prev.x + (curr.x - prev.x) * tension;
62
+ const cp1y = prev.y;
63
+ const cp2x = curr.x - (curr.x - prev.x) * tension;
64
+ const cp2y = curr.y;
65
+ path += ` C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${curr.x} ${curr.y}`;
66
+ }
67
+ path += ` L ${points[points.length - 1].x} ${this.height}`;
68
+ path += ' Z';
69
+ return path;
70
+ }
71
+ getStrokeColor() {
72
+ switch (this.trend) {
73
+ case 'positive':
74
+ return 'var(--color-success-500)';
75
+ case 'negative':
76
+ return 'var(--color-error-500)';
77
+ case 'neutral':
78
+ return 'var(--color-neutral-500)';
79
+ default:
80
+ return 'var(--color-neutral-500)';
81
+ }
82
+ }
83
+ getFillColor() {
84
+ switch (this.trend) {
85
+ case 'positive':
86
+ return 'var(--color-success-600)';
87
+ case 'negative':
88
+ return 'var(--color-error-600)';
89
+ case 'neutral':
90
+ return 'var(--color-neutral-600)';
91
+ default:
92
+ return 'var(--color-neutral-600)';
93
+ }
94
+ }
95
+ render() {
96
+ const points = this.normalizeData();
97
+ const pathData = this.generatePath(points);
98
+ const backgroundPath = this.variant !== 'line-only' ? this.generateBackgroundPath(points) : '';
99
+ const strokeColor = this.getStrokeColor();
100
+ const fillColor = this.getFillColor();
101
+ const gradientId = `gradient-${this.trend}`;
102
+ return (h(Host, { key: '0ce9235d0b67696eb5e5eb13bdfc80633e2f5a09' }, h("div", { key: 'f8142d9b08c84c330afc375c7dd870be7d561116', class: {
103
+ 'trend-chart': true,
104
+ [`trend-chart-${this.trend}`]: true,
105
+ [`trend-chart-${this.variant}`]: true,
106
+ 'trend-chart-animated': this.animated,
107
+ } }, h("svg", { key: '80ecc5b120ab8adeea6ad0f66c82d43bff7510ae', width: this.width, height: this.height, viewBox: `0 0 ${this.width} ${this.height}`, class: "chart-svg" }, h("defs", { key: 'e662d21fc9813679530c7ae4c533bcf79985fc32' }, h("linearGradient", { key: '4c5f68791672c1cc639db2fe1eff407ecdbc3019', id: gradientId, x1: "0%", y1: "0%", x2: "0%", y2: "100%" }, h("stop", { key: '15f6c5706518d1adf8e84f3c9736d9f37d1b0c3e', offset: "0%", "stop-color": fillColor, "stop-opacity": this.variant === 'fill-only' ? 0.4 : 0.2 }), h("stop", { key: '9b90e1919b241be8a5d6a160ce250cb205967d49', offset: "100%", "stop-color": fillColor, "stop-opacity": this.variant === 'fill-only' ? 0.1 : 0.05 }))), backgroundPath && this.variant !== 'line-only' && (h("path", { key: 'c27880c30f92abb5240c401b35e1af3b62039318', class: "chart-background", d: backgroundPath, fill: `url(#${gradientId})` })), pathData && this.variant !== 'fill-only' && (h("path", { key: '2f64a03e170a7a1f792fe835d2a870dd64905fd9', class: "chart-line", d: pathData, stroke: strokeColor, "stroke-width": "2", fill: "none" }))))));
108
+ }
109
+ static get is() { return "bh-trend-chart"; }
110
+ static get encapsulation() { return "shadow"; }
111
+ static get originalStyleUrls() {
112
+ return {
113
+ "$": ["bh-trend-chart.css"]
114
+ };
115
+ }
116
+ static get styleUrls() {
117
+ return {
118
+ "$": ["bh-trend-chart.css"]
119
+ };
120
+ }
121
+ static get properties() {
122
+ return {
123
+ "trend": {
124
+ "type": "string",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "TrendDirection",
128
+ "resolved": "\"negative\" | \"neutral\" | \"positive\"",
129
+ "references": {
130
+ "TrendDirection": {
131
+ "location": "local",
132
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-trend-chart/bh-trend-chart.tsx",
133
+ "id": "src/components/bh-trend-chart/bh-trend-chart.tsx::TrendDirection"
134
+ }
135
+ }
136
+ },
137
+ "required": false,
138
+ "optional": false,
139
+ "docs": {
140
+ "tags": [],
141
+ "text": "The trend direction (affects color)"
142
+ },
143
+ "getter": false,
144
+ "setter": false,
145
+ "reflect": false,
146
+ "attribute": "trend",
147
+ "defaultValue": "'positive'"
148
+ },
149
+ "data": {
150
+ "type": "unknown",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "number[]",
154
+ "resolved": "number[]",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": "Data points for the chart"
162
+ },
163
+ "getter": false,
164
+ "setter": false,
165
+ "defaultValue": "[20, 45, 30, 60, 35, 70, 40]"
166
+ },
167
+ "animated": {
168
+ "type": "boolean",
169
+ "mutable": false,
170
+ "complexType": {
171
+ "original": "boolean",
172
+ "resolved": "boolean",
173
+ "references": {}
174
+ },
175
+ "required": false,
176
+ "optional": false,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Whether to animate the chart"
180
+ },
181
+ "getter": false,
182
+ "setter": false,
183
+ "reflect": false,
184
+ "attribute": "animated",
185
+ "defaultValue": "true"
186
+ },
187
+ "variant": {
188
+ "type": "string",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "TrendVariant",
192
+ "resolved": "\"fill-only\" | \"line-fill\" | \"line-only\"",
193
+ "references": {
194
+ "TrendVariant": {
195
+ "location": "local",
196
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-trend-chart/bh-trend-chart.tsx",
197
+ "id": "src/components/bh-trend-chart/bh-trend-chart.tsx::TrendVariant"
198
+ }
199
+ }
200
+ },
201
+ "required": false,
202
+ "optional": false,
203
+ "docs": {
204
+ "tags": [],
205
+ "text": "Chart variant: line-only, fill-only, or line-fill"
206
+ },
207
+ "getter": false,
208
+ "setter": false,
209
+ "reflect": false,
210
+ "attribute": "variant",
211
+ "defaultValue": "'line-only'"
212
+ },
213
+ "width": {
214
+ "type": "number",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "number",
218
+ "resolved": "number",
219
+ "references": {}
220
+ },
221
+ "required": false,
222
+ "optional": false,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": "Width of the chart in pixels"
226
+ },
227
+ "getter": false,
228
+ "setter": false,
229
+ "reflect": false,
230
+ "attribute": "width",
231
+ "defaultValue": "112"
232
+ },
233
+ "height": {
234
+ "type": "number",
235
+ "mutable": false,
236
+ "complexType": {
237
+ "original": "number",
238
+ "resolved": "number",
239
+ "references": {}
240
+ },
241
+ "required": false,
242
+ "optional": false,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": "Height of the chart in pixels"
246
+ },
247
+ "getter": false,
248
+ "setter": false,
249
+ "reflect": false,
250
+ "attribute": "height",
251
+ "defaultValue": "56"
252
+ }
253
+ };
254
+ }
255
+ }
256
+ //# sourceMappingURL=bh-trend-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bh-tr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AC,IAAI,gBACC,SAAS,kBACP,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GACtD;4BACF,6DACE,MAAM,EAAC,MAAM,gBACD,SAAS,kBACP,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,GACvD,CACa,CACZ;oBAGN,cAAc,IAAI,IAAI,CAAC,OAAO,KAAK,WAAW,IAAI,CACjD,6DACE,KAAK,EAAC,kBAAkB,EACxB,CAAC,EAAE,cAAc,EACjB,IAAI,EAAE,QAAQ,UAAU,GAAG,GAC3B,CACH;oBAGA,QAAQ,IAAI,IAAI,CAAC,OAAO,KAAK,WAAW,IAAI,CAC3C,6DACE,KAAK,EAAC,YAAY,EAClB,CAAC,EAAE,QAAQ,EACX,MAAM,EAAE,WAAW,kBACN,GAAG,EAChB,IAAI,EAAC,MAAM,GACX,CACH,CACG,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
@@ -0,0 +1,22 @@
1
+ // Button
2
+ export * from './components/bh-button/bh-button';
3
+ // Badge
4
+ export * from './components/bh-badge/bh-badge';
5
+ // Label
6
+ export * from './components/bh-label/bh-label';
7
+ // Modal
8
+ export * from './components/bh-modal/bh-modal';
9
+ // Avatar
10
+ export * from './components/bh-avatar/bh-avatar';
11
+ // Toggle
12
+ export * from './components/bh-toggle/bh-toggle';
13
+ // Card
14
+ export * from './components/bh-card/bh-card';
15
+ export * from './components/bh-card-header/bh-card-header';
16
+ export * from './components/bh-card-footer/bh-card-footer';
17
+ // Checkbox Group
18
+ export * from './components/bh-checkbox-group/bh-checkbox-group';
19
+ export * from './components/bh-checkbox-group-item/bh-checkbox-group-item';
20
+ // Data Grid
21
+ export * from './components/bh-data-grid/bh-data-grid';
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,SAAS;AACT,cAAc,kCAAkC,CAAC;AAEjD,QAAQ;AACR,cAAc,gCAAgC,CAAC;AAE/C,QAAQ;AACR,cAAc,gCAAgC,CAAC;AAE/C,QAAQ;AACR,cAAc,gCAAgC,CAAC;AAE/C,SAAS;AACT,cAAc,kCAAkC,CAAC;AAEjD,SAAS;AACT,cAAc,kCAAkC,CAAC;AAEjD,OAAO;AACP,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAE3D,iBAAiB;AACjB,cAAc,kDAAkD,CAAC;AACjE,cAAc,4DAA4D,CAAC;AAE3E,YAAY;AACZ,cAAc,wCAAwC,CAAC","sourcesContent":["// Button\nexport * from './components/bh-button/bh-button';\n\n// Badge\nexport * from './components/bh-badge/bh-badge';\n\n// Label\nexport * from './components/bh-label/bh-label';\n\n// Modal\nexport * from './components/bh-modal/bh-modal';\n\n// Avatar\nexport * from './components/bh-avatar/bh-avatar';\n\n// Toggle\nexport * from './components/bh-toggle/bh-toggle';\n\n// Card\nexport * from './components/bh-card/bh-card';\nexport * from './components/bh-card-header/bh-card-header';\nexport * from './components/bh-card-footer/bh-card-footer';\n\n// Checkbox Group\nexport * from './components/bh-checkbox-group/bh-checkbox-group';\nexport * from './components/bh-checkbox-group-item/bh-checkbox-group-item';\n\n// Data Grid\nexport * from './components/bh-data-grid/bh-data-grid';\n"]}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Form utilities for form-associated custom elements
3
+ *
4
+ * These utilities help Stencil components participate in native HTML forms
5
+ * using the ElementInternals API (formAssociated: true).
6
+ */
7
+ /**
8
+ * Sync a text/number value to the form
9
+ * Call this in handleInput and componentDidLoad
10
+ */
11
+ export function syncFormValue(component) {
12
+ if (!component.internals?.setFormValue || !component.name)
13
+ return;
14
+ const value = component.value;
15
+ if (value === null || value === undefined || value === '') {
16
+ component.internals.setFormValue(null);
17
+ }
18
+ else {
19
+ component.internals.setFormValue(String(value));
20
+ }
21
+ }
22
+ /**
23
+ * Sync a checkable component's value to the form
24
+ * For checkbox, toggle, radio - value is only submitted when checked
25
+ */
26
+ export function syncCheckableFormValue(internals, name, checked, value = 'on') {
27
+ if (!internals?.setFormValue || !name)
28
+ return;
29
+ internals.setFormValue(checked ? value : null);
30
+ }
31
+ /**
32
+ * Update validity state based on a native input element
33
+ * This delegates to the browser's built-in validation
34
+ */
35
+ export function updateValidity(internals, inputEl, customMessage) {
36
+ if (!internals?.setValidity)
37
+ return;
38
+ if (inputEl) {
39
+ internals.setValidity(inputEl.validity, customMessage || inputEl.validationMessage, inputEl);
40
+ }
41
+ }
42
+ /**
43
+ * Set custom validity for components without native inputs
44
+ */
45
+ export function setCustomValidity(internals, isValid, message = '') {
46
+ if (!internals?.setValidity)
47
+ return;
48
+ if (isValid) {
49
+ internals.setValidity({});
50
+ }
51
+ else {
52
+ internals.setValidity({ customError: true }, message);
53
+ }
54
+ }
55
+ /**
56
+ * Validate required state for checkable components (checkbox, toggle)
57
+ */
58
+ export function validateRequired(internals, required, checked, message = 'Please check this box if you want to proceed.') {
59
+ if (!internals?.setValidity)
60
+ return;
61
+ if (required && !checked) {
62
+ internals.setValidity({ valueMissing: true }, message);
63
+ }
64
+ else {
65
+ internals.setValidity({});
66
+ }
67
+ }
68
+ //# sourceMappingURL=form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.js","sourceRoot":"","sources":["../../src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CAAC;QACZ,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,SAAS,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,SAAuC,EACvC,QAAiB,EACjB,OAAgB,EAChB,UAAkB,+CAA+C;IAEjE,IAAI,CAAC,SAAS,EAAE,WAAW;QAAE,OAAO;IAEpC,IAAI,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACzB,SAAS,CAAC,WAAW,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;SAAM,CAAC;QACN,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC","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"]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BhAccordionItem extends Components.BhAccordionItem, HTMLElement {}
4
+ export const BhAccordionItem: {
5
+ prototype: BhAccordionItem;
6
+ new (): BhAccordionItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,111 @@
1
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-9a7sQzad.js';
2
+
3
+ const bhAccordionItemCss = ":host{display:flex;flex-direction:column;width:100%;background-color:var(--color-white)}.accordion-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);padding:var(--spacing-lg) var(--spacing-2xl);cursor:pointer;background-color:var(--color-white);border:none;border-bottom:1px solid var(--color-neutral-100);transition:background-color 0.15s ease}.accordion-header:hover{background-color:var(--color-neutral-25)}.accordion-header:focus{outline:none}.accordion-header:focus-visible{outline:2px solid var(--color-brand-500);outline-offset:-2px}.accordion-header-content{display:flex;flex-direction:column;gap:var(--spacing-xxs);flex:1;min-width:0}.accordion-title{font-family:var(--font-family-body);font-size:var(--font-size-text-md);font-weight:var(--font-weight-semibold);line-height:var(--line-height-text-md);color:var(--color-neutral-900)}.accordion-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:24px;color:var(--color-neutral-500);transition:transform 0.2s ease;flex-shrink:0}.accordion-content{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.2s ease;overflow:hidden}.accordion-content-inner{min-height:0;overflow:hidden}:host(.accordion-item-expanded) .accordion-header{border-bottom-color:transparent}:host(.accordion-item-expanded) .accordion-content{grid-template-rows:1fr}:host(.accordion-item-expanded) .accordion-content-inner{padding:var(--spacing-lg) var(--spacing-2xl) var(--spacing-2xl);border-bottom:1px solid var(--color-neutral-100)}:host(.accordion-item-disabled){opacity:0.5;pointer-events:none}:host(.accordion-item-disabled) .accordion-header{cursor:not-allowed}:host(.accordion-item-animating) .accordion-content-inner{overflow:hidden}";
4
+
5
+ const BhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class BhAccordionItem extends H {
6
+ constructor(registerHost) {
7
+ super();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
11
+ this.__attachShadow();
12
+ this.bhAccordionToggle = createEvent(this, "bhAccordionToggle");
13
+ this.bhAccordionClick = createEvent(this, "bhAccordionClick");
14
+ }
15
+ /**
16
+ * Unique identifier for this accordion item
17
+ */
18
+ value;
19
+ /**
20
+ * The header/title text for the accordion item
21
+ */
22
+ header;
23
+ /**
24
+ * Whether this accordion item is currently expanded
25
+ */
26
+ expanded = false;
27
+ /**
28
+ * Whether this accordion item is disabled
29
+ */
30
+ disabled = false;
31
+ /**
32
+ * Internal state for animation
33
+ */
34
+ isAnimating = false;
35
+ /**
36
+ * Emitted when the accordion item is toggled
37
+ */
38
+ bhAccordionToggle;
39
+ /**
40
+ * Emitted when the accordion header is clicked
41
+ */
42
+ bhAccordionClick;
43
+ handleExpandedChange() {
44
+ this.isAnimating = true;
45
+ setTimeout(() => {
46
+ this.isAnimating = false;
47
+ }, 200);
48
+ }
49
+ handleHeaderClick = () => {
50
+ if (this.disabled)
51
+ return;
52
+ this.expanded = !this.expanded;
53
+ this.bhAccordionClick.emit(this.value);
54
+ this.bhAccordionToggle.emit({
55
+ value: this.value,
56
+ expanded: this.expanded,
57
+ });
58
+ };
59
+ handleKeyDown = (event) => {
60
+ if (this.disabled)
61
+ return;
62
+ if (event.key === 'Enter' || event.key === ' ') {
63
+ event.preventDefault();
64
+ this.handleHeaderClick();
65
+ }
66
+ };
67
+ render() {
68
+ const hostClasses = {
69
+ 'accordion-item': true,
70
+ 'accordion-item-expanded': this.expanded,
71
+ 'accordion-item-disabled': this.disabled,
72
+ 'accordion-item-animating': this.isAnimating,
73
+ };
74
+ const iconName = this.expanded ? 'expand_less' : 'expand_more';
75
+ return (h(Host, { key: 'b2670121b2a9706343aa29a5cf1ac1d033ece042', class: hostClasses }, h("div", { key: 'e18a7443b248bbba0706a39f5a65e0c804e5bae5', class: "accordion-header", part: "header", role: "button", tabindex: this.disabled ? -1 : 0, "aria-expanded": this.expanded ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-controls": `content-${this.value}`, onClick: this.handleHeaderClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'a5a3be10f39bd63eb31d7b6a90b40f0714866ae5', class: "accordion-header-content" }, h("span", { key: '5d3ff7b6e69fab0e3658873dec49793972f2c0d5', class: "accordion-title", part: "title" }, this.header)), h("span", { key: 'e18cfab4d73e6d41d40c275888a584b1bb117d23', class: "accordion-icon material-symbols-outlined", part: "icon" }, iconName)), h("div", { key: 'd96ba43717314f6787f513f664b282391c4f8cf0', id: `content-${this.value}`, class: "accordion-content", part: "content", role: "region", "aria-labelledby": `header-${this.value}`, "aria-hidden": !this.expanded ? 'true' : 'false' }, h("div", { key: 'eac3f014aeccccd20ddd4f2c3b7ee98636a85a4d', class: "accordion-content-inner" }, h("slot", { key: '29ac3e0932ee7854678637121e395b2be48949a0' })))));
76
+ }
77
+ static get watchers() { return {
78
+ "expanded": ["handleExpandedChange"]
79
+ }; }
80
+ static get style() { return bhAccordionItemCss; }
81
+ }, [769, "bh-accordion-item", {
82
+ "value": [1],
83
+ "header": [1],
84
+ "expanded": [1540],
85
+ "disabled": [4],
86
+ "isAnimating": [32]
87
+ }, undefined, {
88
+ "expanded": ["handleExpandedChange"]
89
+ }]);
90
+ function defineCustomElement$1() {
91
+ if (typeof customElements === "undefined") {
92
+ return;
93
+ }
94
+ const components = ["bh-accordion-item"];
95
+ components.forEach(tagName => { switch (tagName) {
96
+ case "bh-accordion-item":
97
+ if (!customElements.get(tagName)) {
98
+ customElements.define(tagName, BhAccordionItem$1);
99
+ }
100
+ break;
101
+ } });
102
+ }
103
+ defineCustomElement$1();
104
+
105
+ const BhAccordionItem = BhAccordionItem$1;
106
+ const defineCustomElement = defineCustomElement$1;
107
+
108
+ export { BhAccordionItem, defineCustomElement };
109
+ //# sourceMappingURL=bh-accordion-item.js.map
110
+
111
+ //# sourceMappingURL=bh-accordion-item.js.map
@@ -0,0 +1 @@
1
+ {"file":"bh-accordion-item.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,uuDAAuuD;;MCmBrvDA,iBAAe,iBAAAC,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;;;;;;;;;;AAC1B;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;IACqC,QAAQ,GAAY,KAAK;AAEjE;;AAEG;IACK,QAAQ,GAAY,KAAK;AAEjC;;AAEG;IACM,WAAW,GAAY,KAAK;AAErC;;AAEG;AAEH,IAAA,iBAAiB;AAEjB;;AAEG;AAEH,IAAA,gBAAgB;IAGhB,oBAAoB,GAAA;AAClB,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI;QACvB,UAAU,CAAC,MAAK;AACd,YAAA,IAAI,CAAC,WAAW,GAAG,KAAK;SACzB,EAAE,GAAG,CAAC;;IAGD,iBAAiB,GAAG,MAAW;QACrC,IAAI,IAAI,CAAC,QA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O,EAAA,eAAA,EAChC,CAAW,QAAA,EAAA,IAAI,CAAC,KAAK,CAAE,CAAA,EACtC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,SAAS,EAAE,IAAI,CAAC,aAAa,EAAA,EAE7B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EACvC,IAAI,CAAC,MAAM,CACP,CACH,EACN,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0CAA0C,EAAC,IAAI,EAAC,MAAM,EAAA,EAC/D,QAAQ,CACJ,CACH,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,EAAE,EAAE,CAAW,QAAA,EAAA,IAAI,CAAC,KAAK,CAAE,CAAA,EAC3B,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,SAAS,EACd,IAAI,EAAC,QAAQ,EAAA,iBAAA,EACI,CAAA,OAAA,EAAU,IAAI,CAAC,KAAK,CAAA,CAAE,iBAC1B,CAAC,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,EAAA,EAE9C,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yBAAyB,EAAA,EAClC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["BhAccordionItem","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/bh-accordion-item/bh-accordion-item.css?tag=bh-accordion-item&encapsulation=shadow","src/components/bh-accordion-item/bh-accordion-item.tsx"],"sourcesContent":["/* ==========================================================================\n BH-ACCORDION-ITEM COMPONENT STYLES\n ========================================================================== */\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n background-color: var(--color-white);\n}\n\n/* Header */\n.accordion-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--spacing-lg);\n padding: var(--spacing-lg) var(--spacing-2xl);\n cursor: pointer;\n background-color: var(--color-white);\n border: none;\n border-bottom: 1px solid var(--color-neutral-100);\n transition: background-color 0.15s ease;\n}\n\n.accordion-header:hover {\n background-color: var(--color-neutral-25);\n}\n\n.accordion-header:focus {\n outline: none;\n}\n\n.accordion-header:focus-visible {\n outline: 2px solid var(--color-brand-500);\n outline-offset: -2px;\n}\n\n/* Header Content */\n.accordion-header-content {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xxs);\n flex: 1;\n min-width: 0;\n}\n\n/* Title */\n.accordion-title {\n font-family: var(--font-family-body);\n font-size: var(--font-size-text-md);\n font-weight: var(--font-weight-semibold);\n line-height: var(--line-height-text-md);\n color: var(--color-neutral-900);\n}\n\n/* Icon */\n.accordion-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n font-size: 24px;\n color: var(--color-neutral-500);\n transition: transform 0.2s ease;\n flex-shrink: 0;\n}\n\n/* Content */\n.accordion-content {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.2s ease;\n overflow: hidden;\n}\n\n.accordion-content-inner {\n min-height: 0;\n overflow: hidden;\n}\n\n/* ==========================================================================\n EXPANDED STATE\n ========================================================================== */\n\n:host(.accordion-item-expanded) .accordion-header {\n border-bottom-color: transparent;\n}\n\n:host(.accordion-item-expanded) .accordion-content {\n grid-template-rows: 1fr;\n}\n\n:host(.accordion-item-expanded) .accordion-content-inner {\n padding: var(--spacing-lg) var(--spacing-2xl) var(--spacing-2xl);\n border-bottom: 1px solid var(--color-neutral-100);\n}\n\n/* ==========================================================================\n DISABLED STATE\n ========================================================================== */\n\n:host(.accordion-item-disabled) {\n opacity: 0.5;\n pointer-events: none;\n}\n\n:host(.accordion-item-disabled) .accordion-header {\n cursor: not-allowed;\n}\n\n/* ==========================================================================\n ANIMATION STATE\n ========================================================================== */\n\n:host(.accordion-item-animating) .accordion-content-inner {\n overflow: hidden;\n}\n","import {\n Component,\n Prop,\n State,\n Event,\n EventEmitter,\n h,\n Host,\n Watch,\n} from '@stencil/core';\n\n/**\n * @slot - Content displayed when the accordion item is expanded\n */\n@Component({\n tag: 'bh-accordion-item',\n styleUrl: 'bh-accordion-item.css',\n shadow: true,\n})\nexport class BhAccordionItem {\n /**\n * Unique identifier for this accordion item\n */\n @Prop() value!: string;\n\n /**\n * The header/title text for the accordion item\n */\n @Prop() header!: string;\n\n /**\n * Whether this accordion item is currently expanded\n */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /**\n * Whether this accordion item is disabled\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Internal state for animation\n */\n @State() isAnimating: boolean = false;\n\n /**\n * Emitted when the accordion item is toggled\n */\n @Event({ bubbles: true, composed: true })\n bhAccordionToggle!: EventEmitter<{ value: string; expanded: boolean }>;\n\n /**\n * Emitted when the accordion header is clicked\n */\n @Event({ bubbles: true, composed: true })\n bhAccordionClick!: EventEmitter<string>;\n\n @Watch('expanded')\n handleExpandedChange(): void {\n this.isAnimating = true;\n setTimeout(() => {\n this.isAnimating = false;\n }, 200);\n }\n\n private handleHeaderClick = (): void => {\n if (this.disabled) return;\n\n this.expanded = !this.expanded;\n this.bhAccordionClick.emit(this.value);\n this.bhAccordionToggle.emit({\n value: this.value,\n expanded: this.expanded,\n });\n };\n\n private handleKeyDown = (event: KeyboardEvent): void => {\n if (this.disabled) return;\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.handleHeaderClick();\n }\n };\n\n render() {\n const hostClasses = {\n 'accordion-item': true,\n 'accordion-item-expanded': this.expanded,\n 'accordion-item-disabled': this.disabled,\n 'accordion-item-animating': this.isAnimating,\n };\n\n const iconName = this.expanded ? 'expand_less' : 'expand_more';\n\n return (\n <Host class={hostClasses}>\n <div\n class=\"accordion-header\"\n part=\"header\"\n role=\"button\"\n tabindex={this.disabled ? -1 : 0}\n aria-expanded={this.expanded ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-controls={`content-${this.value}`}\n onClick={this.handleHeaderClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"accordion-header-content\">\n <span class=\"accordion-title\" part=\"title\">\n {this.header}\n </span>\n </div>\n <span class=\"accordion-icon material-symbols-outlined\" part=\"icon\">\n {iconName}\n </span>\n </div>\n <div\n id={`content-${this.value}`}\n class=\"accordion-content\"\n part=\"content\"\n role=\"region\"\n aria-labelledby={`header-${this.value}`}\n aria-hidden={!this.expanded ? 'true' : 'false'}\n >\n <div class=\"accordion-content-inner\">\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BhAccordion extends Components.BhAccordion, HTMLElement {}
4
+ export const BhAccordion: {
5
+ prototype: BhAccordion;
6
+ new (): BhAccordion;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;