bromcom-ui 2.8.0-rc.10-f → 2.8.0-rc.10-h

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 (290) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/p-0a9b2124.entry.js +5 -0
  4. package/dist/bromcom-ui/p-0e3e135f.entry.js +5 -0
  5. package/dist/bromcom-ui/p-0e77d1f3.entry.js +5 -0
  6. package/dist/bromcom-ui/p-0f9c9047.entry.js +5 -0
  7. package/dist/bromcom-ui/p-12da638d.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-10f8e27d.entry.js → p-1845582b.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-76b12489.js → p-19cd9e89.js} +1 -1
  10. package/dist/bromcom-ui/p-1de5af32.entry.js +5 -0
  11. package/dist/bromcom-ui/p-1f4d9b1f.entry.js +5 -0
  12. package/dist/bromcom-ui/{p-b465caeb.js → p-213fa01f.js} +1 -1
  13. package/dist/bromcom-ui/{p-4b76af90.entry.js → p-231bff46.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-7093021e.entry.js → p-251629c7.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-2a01c091.entry.js → p-38dc893a.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-400ec1f7.entry.js +5 -0
  17. package/dist/bromcom-ui/{p-d3492737.entry.js → p-4067c2e0.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-d0750f4d.js → p-421cd232.js} +1 -1
  19. package/dist/bromcom-ui/{p-be390f36.entry.js → p-4260a393.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-8e85c2be.entry.js → p-44236a8b.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-68870edd.entry.js → p-46a546fb.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-dc16be5b.entry.js → p-4a9005ec.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-ea722b84.js → p-529c955c.js} +1 -1
  24. package/dist/bromcom-ui/{p-625da564.entry.js → p-5546b28e.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-596611eb.entry.js +5 -0
  26. package/dist/bromcom-ui/{p-bf793f02.entry.js → p-63f90701.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-65c4ae21.entry.js +5 -0
  28. package/dist/bromcom-ui/p-6b748546.entry.js +5 -0
  29. package/dist/bromcom-ui/p-724f5a0b.entry.js +5 -0
  30. package/dist/bromcom-ui/p-7d3ed6cb.entry.js +5 -0
  31. package/dist/bromcom-ui/p-7dabd101.entry.js +5 -0
  32. package/dist/bromcom-ui/p-81b62ce8.entry.js +5 -0
  33. package/dist/bromcom-ui/p-88062515.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-8d00f15c.entry.js → p-961cab35.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-05851404.entry.js → p-9aa699c1.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-9c761970.js → p-9d908441.js} +1 -1
  37. package/dist/bromcom-ui/p-9f95f24f.entry.js +5 -0
  38. package/dist/bromcom-ui/p-a051162a.entry.js +5 -0
  39. package/dist/bromcom-ui/p-a35fc9d4.entry.js +5 -0
  40. package/dist/bromcom-ui/p-ad9c9bdb.js +5 -0
  41. package/dist/bromcom-ui/p-b4a3871f.entry.js +5 -0
  42. package/dist/bromcom-ui/{p-bafdd186.entry.js → p-bb7760d7.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-bdeb220d.entry.js +5 -0
  44. package/dist/bromcom-ui/p-c0ba4ab5.entry.js +5 -0
  45. package/dist/bromcom-ui/p-c12555c7.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-6ee5b075.js → p-c7bfb126.js} +1 -1
  47. package/dist/bromcom-ui/p-d0bfb53b.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-96a6ea7b.entry.js → p-d68d4ce0.entry.js} +1 -1
  49. package/dist/bromcom-ui/p-d7f06284.entry.js +5 -0
  50. package/dist/bromcom-ui/{p-f0ff7f44.entry.js → p-dd1c6c24.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-e1a323b8.entry.js +5 -0
  52. package/dist/bromcom-ui/p-e5724ed4.entry.js +5 -0
  53. package/dist/bromcom-ui/{p-ce86d569.entry.js → p-e5fee9dc.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-d091119c.entry.js → p-e8359a46.entry.js} +1 -1
  55. package/dist/bromcom-ui/p-e8436609.entry.js +5 -0
  56. package/dist/bromcom-ui/{p-c282ccd5.entry.js → p-f8864d6e.entry.js} +1 -1
  57. package/dist/bromcom-ui/p-f8b43cb2.entry.js +5 -0
  58. package/dist/bromcom-ui/p-f8eb60b6.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-0244ec6a.entry.js → p-ffdc7a09.entry.js} +1 -1
  60. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  61. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  62. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  63. package/dist/cjs/bcm-avatar_2.cjs.entry.js +5 -5
  64. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  65. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  66. package/dist/cjs/bcm-button.cjs.entry.js +2 -2
  67. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  68. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
  69. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  70. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
  71. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  72. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
  74. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  76. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  77. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  78. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  79. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  81. package/dist/cjs/bcm-input.cjs.entry.js +5 -5
  82. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  83. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  84. package/dist/cjs/bcm-label_2.cjs.entry.js +8 -8
  85. package/dist/cjs/bcm-link.cjs.entry.js +1 -1
  86. package/dist/cjs/bcm-linked_2.cjs.entry.js +25 -25
  87. package/dist/cjs/bcm-list.cjs.entry.js +8 -14
  88. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  89. package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
  90. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  92. package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
  93. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  94. package/dist/cjs/bcm-radio-group.cjs.entry.js +2 -2
  95. package/dist/cjs/bcm-radio.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  97. package/dist/cjs/bcm-search.cjs.entry.js +3 -3
  98. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  99. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  100. package/dist/cjs/bcm-stepper.cjs.entry.js +3 -3
  101. package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-tab-group.cjs.entry.js +47 -47
  103. package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
  104. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  105. package/dist/cjs/bcm-text.cjs.entry.js +1 -1
  106. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
  108. package/dist/cjs/{generate-43262f69.js → generate-24f01256.js} +1 -1
  109. package/dist/cjs/{input-template-82b06cc3.js → input-template-657a8fc1.js} +1 -1
  110. package/dist/cjs/{json-parse-decarator-9bc2ee93.js → json-parse-decarator-5049611b.js} +1 -1
  111. package/dist/cjs/{number-helper-fa69ea24.js → number-helper-5829e9a9.js} +1 -1
  112. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  113. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  114. package/dist/cjs/{stepper-states-d7f6c19a.js → stepper-states-04642356.js} +1 -1
  115. package/dist/cjs/{tooltip-helper-9f6a9b2d.js → tooltip-helper-6c8bfde7.js} +3 -3
  116. package/dist/cjs/{validators-97891f43.js → validators-07e09750.js} +1 -1
  117. package/dist/collection/components/atoms/avatar/avatar.css +1 -3
  118. package/dist/collection/components/atoms/badge/badge.css +1 -3
  119. package/dist/collection/components/atoms/button/button.css +1 -3
  120. package/dist/collection/components/atoms/chip/chip.css +1 -3
  121. package/dist/collection/components/atoms/label/label.css +1 -3
  122. package/dist/collection/components/atoms/link/link.css +1 -3
  123. package/dist/collection/components/molecules/button-group/button-group.css +1 -3
  124. package/dist/collection/components/molecules/card/card.css +1 -3
  125. package/dist/collection/components/molecules/checkbox/checkbox.css +3 -9
  126. package/dist/collection/components/molecules/drawer/drawer.css +1 -3
  127. package/dist/collection/components/molecules/dropdown/dropdown.css +1 -3
  128. package/dist/collection/components/molecules/error-layout/error-layout.css +1 -3
  129. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +1 -3
  130. package/dist/collection/components/molecules/input/input.css +3 -9
  131. package/dist/collection/components/molecules/item/item.css +1 -3
  132. package/dist/collection/components/molecules/linked/linked.js +28 -28
  133. package/dist/collection/components/molecules/menu/menu.css +1 -3
  134. package/dist/collection/components/molecules/modal/modal.css +1 -3
  135. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +1 -3
  136. package/dist/collection/components/molecules/popover/popover.js +11 -11
  137. package/dist/collection/components/molecules/progress/progress.css +1 -3
  138. package/dist/collection/components/molecules/radio/group.css +2 -6
  139. package/dist/collection/components/molecules/radio/radio.css +3 -9
  140. package/dist/collection/components/molecules/range/range.css +1 -3
  141. package/dist/collection/components/molecules/search/search.css +3 -9
  142. package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
  143. package/dist/collection/components/molecules/stepper/stepper.css +1 -3
  144. package/dist/collection/components/molecules/switch/switch.css +3 -9
  145. package/dist/collection/components/molecules/tab-group/tab-group.js +52 -52
  146. package/dist/collection/components/molecules/textarea/textarea.css +3 -9
  147. package/dist/collection/components/molecules/tooltip/tooltip.js +9 -9
  148. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +3 -9
  149. package/dist/collection/components/organism/list/list.css +4 -12
  150. package/dist/collection/components/other/attendance/attendance.css +1 -3
  151. package/dist/collection/components/other_deprecated/old-input/old-input.css +3 -9
  152. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +1 -3
  153. package/dist/collection/components/other_deprecated/tabs/tab.css +1 -3
  154. package/dist/collection/components/other_deprecated/text/text.css +1 -3
  155. package/dist/collection/global/components/_checkbox.css +1 -3
  156. package/dist/collection/templates/list-template.js +2 -8
  157. package/dist/components/avatar.js +1 -1
  158. package/dist/components/badge.js +1 -1
  159. package/dist/components/bcm-attendance.js +1 -1
  160. package/dist/components/bcm-button-group.js +1 -1
  161. package/dist/components/bcm-card.js +1 -1
  162. package/dist/components/bcm-chip.js +1 -1
  163. package/dist/components/bcm-drawer.js +1 -1
  164. package/dist/components/bcm-dropdown.js +1 -1
  165. package/dist/components/bcm-error-layout.js +1 -1
  166. package/dist/components/bcm-expansion-panel.js +1 -1
  167. package/dist/components/bcm-input.js +1 -1
  168. package/dist/components/bcm-item.js +1 -1
  169. package/dist/components/bcm-list.js +3 -9
  170. package/dist/components/bcm-modal.js +1 -1
  171. package/dist/components/bcm-popover.js +4 -4
  172. package/dist/components/bcm-progress.js +1 -1
  173. package/dist/components/bcm-radio-group.js +1 -1
  174. package/dist/components/bcm-range.js +1 -1
  175. package/dist/components/bcm-stepper.js +1 -1
  176. package/dist/components/bcm-switch.js +1 -1
  177. package/dist/components/bcm-tab-group.js +46 -46
  178. package/dist/components/bcm-tab.js +1 -1
  179. package/dist/components/bcm-textarea.js +1 -1
  180. package/dist/components/button.js +1 -1
  181. package/dist/components/checkbox-lite.js +1 -1
  182. package/dist/components/checkbox.js +1 -1
  183. package/dist/components/datetime-picker.js +1 -1
  184. package/dist/components/generate.js +1 -1
  185. package/dist/components/label.js +1 -1
  186. package/dist/components/link.js +1 -1
  187. package/dist/components/linked.js +20 -20
  188. package/dist/components/menu.js +1 -1
  189. package/dist/components/old-input.js +1 -1
  190. package/dist/components/old-popover-box.js +1 -1
  191. package/dist/components/popconfirm-box.js +1 -1
  192. package/dist/components/radio.js +1 -1
  193. package/dist/components/search.js +1 -1
  194. package/dist/components/skeleton.js +5 -5
  195. package/dist/components/text.js +1 -1
  196. package/dist/components/tooltip.js +3 -3
  197. package/dist/esm/bcm-accordion.entry.js +1 -1
  198. package/dist/esm/bcm-alert.entry.js +1 -1
  199. package/dist/esm/bcm-attendance.entry.js +2 -2
  200. package/dist/esm/bcm-avatar_2.entry.js +5 -5
  201. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  202. package/dist/esm/bcm-button-group.entry.js +2 -2
  203. package/dist/esm/bcm-button.entry.js +2 -2
  204. package/dist/esm/bcm-card.entry.js +2 -2
  205. package/dist/esm/bcm-checkbox-group.entry.js +1 -1
  206. package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
  207. package/dist/esm/bcm-checkbox_2.entry.js +2 -2
  208. package/dist/esm/bcm-chip.entry.js +2 -2
  209. package/dist/esm/bcm-collapse.entry.js +1 -1
  210. package/dist/esm/bcm-date-picker.entry.js +1 -1
  211. package/dist/esm/bcm-datetime-picker.entry.js +2 -2
  212. package/dist/esm/bcm-default.entry.js +1 -1
  213. package/dist/esm/bcm-drawer.entry.js +4 -4
  214. package/dist/esm/bcm-dropdown.entry.js +3 -3
  215. package/dist/esm/bcm-error-layout.entry.js +1 -1
  216. package/dist/esm/bcm-expansion-panel.entry.js +2 -2
  217. package/dist/esm/bcm-form-2.entry.js +1 -1
  218. package/dist/esm/bcm-input.entry.js +5 -5
  219. package/dist/esm/bcm-item.entry.js +2 -2
  220. package/dist/esm/bcm-items.entry.js +1 -1
  221. package/dist/esm/bcm-label_2.entry.js +8 -8
  222. package/dist/esm/bcm-link.entry.js +1 -1
  223. package/dist/esm/bcm-linked_2.entry.js +25 -25
  224. package/dist/esm/bcm-list.entry.js +8 -14
  225. package/dist/esm/bcm-modal.entry.js +2 -2
  226. package/dist/esm/bcm-old-input.entry.js +1 -1
  227. package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
  228. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  229. package/dist/esm/bcm-popover.entry.js +7 -7
  230. package/dist/esm/bcm-progress.entry.js +2 -2
  231. package/dist/esm/bcm-radio-group.entry.js +2 -2
  232. package/dist/esm/bcm-radio.entry.js +2 -2
  233. package/dist/esm/bcm-range.entry.js +2 -2
  234. package/dist/esm/bcm-search.entry.js +3 -3
  235. package/dist/esm/bcm-skeleton.entry.js +6 -6
  236. package/dist/esm/bcm-step.entry.js +2 -2
  237. package/dist/esm/bcm-stepper.entry.js +3 -3
  238. package/dist/esm/bcm-switch.entry.js +2 -2
  239. package/dist/esm/bcm-tab-group.entry.js +47 -47
  240. package/dist/esm/bcm-tab.entry.js +1 -1
  241. package/dist/esm/bcm-tag.entry.js +2 -2
  242. package/dist/esm/bcm-text.entry.js +1 -1
  243. package/dist/esm/bcm-textarea.entry.js +3 -3
  244. package/dist/esm/bcm-time-picker.entry.js +1 -1
  245. package/dist/esm/{generate-b0bd116a.js → generate-ffcc7e3a.js} +1 -1
  246. package/dist/esm/{input-template-46ef248f.js → input-template-7aaafa99.js} +1 -1
  247. package/dist/esm/{json-parse-decarator-012a2b54.js → json-parse-decarator-64166384.js} +1 -1
  248. package/dist/esm/{number-helper-c6129a13.js → number-helper-8e72bacd.js} +1 -1
  249. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  250. package/dist/esm/old-bcm-popover.entry.js +1 -1
  251. package/dist/esm/{stepper-states-4e165709.js → stepper-states-96090572.js} +1 -1
  252. package/dist/esm/{tooltip-helper-8bae18d3.js → tooltip-helper-f58d482d.js} +3 -3
  253. package/dist/esm/{validators-ae61406d.js → validators-c7341d67.js} +1 -1
  254. package/dist/types/components/molecules/linked/linked.d.ts +2 -2
  255. package/dist/types/components/molecules/popover/popover.d.ts +3 -3
  256. package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
  257. package/dist/types/components/molecules/tab-group/tab-group.d.ts +2 -2
  258. package/dist/types/components/molecules/tooltip/tooltip.d.ts +3 -3
  259. package/package.json +1 -1
  260. package/dist/bromcom-ui/p-00081c8f.entry.js +0 -5
  261. package/dist/bromcom-ui/p-08841042.entry.js +0 -5
  262. package/dist/bromcom-ui/p-12bdaed1.entry.js +0 -5
  263. package/dist/bromcom-ui/p-1748fa48.entry.js +0 -5
  264. package/dist/bromcom-ui/p-1d0bf823.entry.js +0 -5
  265. package/dist/bromcom-ui/p-3fc76873.entry.js +0 -5
  266. package/dist/bromcom-ui/p-40d09bfc.entry.js +0 -5
  267. package/dist/bromcom-ui/p-40ed6269.entry.js +0 -5
  268. package/dist/bromcom-ui/p-4af70ae2.entry.js +0 -5
  269. package/dist/bromcom-ui/p-58efe9aa.entry.js +0 -5
  270. package/dist/bromcom-ui/p-59c7e787.entry.js +0 -5
  271. package/dist/bromcom-ui/p-6612ed29.entry.js +0 -5
  272. package/dist/bromcom-ui/p-67667db7.entry.js +0 -5
  273. package/dist/bromcom-ui/p-79e7cb18.entry.js +0 -5
  274. package/dist/bromcom-ui/p-8383a0df.entry.js +0 -5
  275. package/dist/bromcom-ui/p-9486d6a0.entry.js +0 -5
  276. package/dist/bromcom-ui/p-993b7cc2.entry.js +0 -5
  277. package/dist/bromcom-ui/p-9d177c47.entry.js +0 -5
  278. package/dist/bromcom-ui/p-a0d8a598.entry.js +0 -5
  279. package/dist/bromcom-ui/p-a5bc6810.entry.js +0 -5
  280. package/dist/bromcom-ui/p-a8e3e1b5.js +0 -5
  281. package/dist/bromcom-ui/p-ad191dd1.entry.js +0 -5
  282. package/dist/bromcom-ui/p-af43509f.entry.js +0 -5
  283. package/dist/bromcom-ui/p-c526e41e.entry.js +0 -5
  284. package/dist/bromcom-ui/p-ce7c926c.entry.js +0 -5
  285. package/dist/bromcom-ui/p-e4924a0c.entry.js +0 -5
  286. package/dist/bromcom-ui/p-ec8f3c78.entry.js +0 -5
  287. package/dist/bromcom-ui/p-ec920bc7.entry.js +0 -5
  288. package/dist/bromcom-ui/p-fa8efda9.entry.js +0 -5
  289. package/dist/bromcom-ui/p-fd21becc.entry.js +0 -5
  290. package/dist/bromcom-ui/p-fd931091.entry.js +0 -5
@@ -12,20 +12,20 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
- import { Host, h } from "@stencil/core";
16
- import { Bcm } from "@bcm/model";
17
- import { delay, FloatingUI } from "@bcm/utils";
18
- import { Generate } from "@bcm/helpers";
19
- import { IsLoad } from "@bcm/decorator";
15
+ import { Host, h } from '@stencil/core';
16
+ import { Bcm } from '@bcm/model';
17
+ import { delay, FloatingUI } from '@bcm/utils';
18
+ import { Generate } from '@bcm/helpers';
19
+ import { IsLoad } from '@bcm/decorator';
20
20
  export class BcmLinked {
21
21
  constructor() {
22
22
  this._id = Generate.UID();
23
- this.placement = Bcm.Placement["bottom-start"];
23
+ this.placement = Bcm.Placement['bottom-start'];
24
24
  this.trigger = Bcm.TriggerType.click;
25
- this.targetId = "";
25
+ this.targetId = '';
26
26
  this.height = undefined;
27
27
  this.maxHeight = undefined;
28
- this.minHeight = "50px";
28
+ this.minHeight = '50px';
29
29
  this.isOpen = false;
30
30
  }
31
31
  target() {
@@ -41,15 +41,15 @@ export class BcmLinked {
41
41
  }
42
42
  }
43
43
  dismissEvent() {
44
- document.dispatchEvent(new CustomEvent("linked-data-dismiss", { detail: { id: this._id } }));
44
+ document.dispatchEvent(new CustomEvent('linked-data-dismiss', { detail: { id: this._id } }));
45
45
  }
46
46
  checkDataDismiss(e) {
47
- Generate.findEventPathHasAttribute(e, "data-dismiss") && this.dismissEvent();
47
+ Generate.findEventPathHasAttribute(e, 'data-dismiss') && this.dismissEvent();
48
48
  }
49
49
  hideChildLinked() {
50
- this.el.querySelectorAll("[is-linked][linked-is-open]").forEach(item => {
50
+ this.el.querySelectorAll('[is-linked][linked-is-open]').forEach(item => {
51
51
  var _a;
52
- (_a = document.querySelector(`#${item.getAttribute("is-linked")}[is-open]`)) === null || _a === void 0 ? void 0 : _a.hide(false);
52
+ (_a = document.querySelector(`#${item.getAttribute('is-linked')}[is-open]`)) === null || _a === void 0 ? void 0 : _a.hide(false);
53
53
  });
54
54
  }
55
55
  calculatePosition() {
@@ -61,7 +61,7 @@ export class BcmLinked {
61
61
  floating: el,
62
62
  placement: this.placement,
63
63
  offset: 4,
64
- autoHidden: el.getAttribute("main-linked") === "true" ? false : true,
64
+ autoHidden: el.getAttribute('main-linked') === 'true' ? false : true,
65
65
  autoSize: true,
66
66
  style: {
67
67
  height: this.height,
@@ -71,20 +71,20 @@ export class BcmLinked {
71
71
  });
72
72
  }
73
73
  else {
74
- el.style.visibility = "hidden";
75
- el.style.opacity = "0";
74
+ el.style.visibility = 'hidden';
75
+ el.style.opacity = '0';
76
76
  }
77
77
  }
78
78
  }
79
79
  init() {
80
80
  const target = this.target();
81
81
  if (target) {
82
- target.setAttribute("is-linked", this.el.id);
83
- if (!Generate.getAncestor(target, "bcm-linked")) {
84
- this.el.setAttribute("main-linked", "true");
82
+ target.setAttribute('is-linked', this.el.id);
83
+ if (!Generate.getAncestor(target, 'bcm-linked')) {
84
+ this.el.setAttribute('main-linked', 'true');
85
85
  }
86
86
  else {
87
- this.el.removeAttribute("main-linked");
87
+ this.el.removeAttribute('main-linked');
88
88
  }
89
89
  }
90
90
  }
@@ -106,7 +106,7 @@ export class BcmLinked {
106
106
  const target = this.target();
107
107
  if (target) {
108
108
  document.body.appendChild(this.el);
109
- target.setAttribute("linked-is-open", "true");
109
+ target.setAttribute('linked-is-open', 'true');
110
110
  this.isOpen = true;
111
111
  this.calculatePosition();
112
112
  }
@@ -119,7 +119,7 @@ export class BcmLinked {
119
119
  wait && (await delay(50));
120
120
  const target = this.target();
121
121
  if (target) {
122
- target.removeAttribute("linked-is-open");
122
+ target.removeAttribute('linked-is-open');
123
123
  this.hideChildLinked();
124
124
  this.isOpen = false;
125
125
  }
@@ -133,7 +133,7 @@ export class BcmLinked {
133
133
  return;
134
134
  const isTarget = Generate.findEventPath(e, this.target());
135
135
  const isSelf = Generate.findEventPath(e, this.el);
136
- const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
136
+ const isLinked = Generate.findEventPathWithNodeName(e, 'BCM-LINKED');
137
137
  if (!isTarget && !isSelf && !isLinked) {
138
138
  this.hide();
139
139
  this.bcmOpen.emit(this.isOpen);
@@ -142,7 +142,7 @@ export class BcmLinked {
142
142
  if (this.isOpen) {
143
143
  isTarget && this.hide(false);
144
144
  isSelf && this.checkDataDismiss(e);
145
- if (this.el.getAttribute("main-linked") === "true" && !isTarget && !isSelf && !isLinked) {
145
+ if (this.el.getAttribute('main-linked') === 'true' && !isTarget && !isSelf && !isLinked) {
146
146
  this.dismissEvent();
147
147
  }
148
148
  }
@@ -163,8 +163,8 @@ export class BcmLinked {
163
163
  this.bcmOpen.emit(this.isOpen);
164
164
  }
165
165
  render() {
166
- const openStyle = this.isOpen ? { visibility: "visible", opacity: "1" } : { visibility: "hidden", opacity: "0" };
167
- return (h(Host, { class: "tw-invisible tw-absolute tw-top-0 tw-left-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null)));
166
+ const openStyle = this.isOpen ? { visibility: 'visible', opacity: '1' } : { visibility: 'hidden', opacity: '0' };
167
+ return (h(Host, { class: "tw-block tw-opacity-0 tw-invisible tw-top-0 tw-left-0 tw-rounded tw-bg-white tw-z-tooltip tw-transition-opacity tw-duration-100 tw-shadow tw-overscroll-contain tw-scroll-smooth tw-absolute", style: Object.assign(Object.assign({}, openStyle), { overflow: 'auto' }) }, h("slot", null)));
168
168
  }
169
169
  static get is() { return "bcm-linked"; }
170
170
  static get properties() {
@@ -208,7 +208,7 @@ export class BcmLinked {
208
208
  },
209
209
  "attribute": "placement",
210
210
  "reflect": false,
211
- "defaultValue": "Bcm.Placement[\"bottom-start\"]"
211
+ "defaultValue": "Bcm.Placement['bottom-start']"
212
212
  },
213
213
  "trigger": {
214
214
  "type": "string",
@@ -249,7 +249,7 @@ export class BcmLinked {
249
249
  },
250
250
  "attribute": "target-id",
251
251
  "reflect": false,
252
- "defaultValue": "\"\""
252
+ "defaultValue": "''"
253
253
  },
254
254
  "height": {
255
255
  "type": "string",
@@ -301,7 +301,7 @@ export class BcmLinked {
301
301
  },
302
302
  "attribute": "min-height",
303
303
  "reflect": false,
304
- "defaultValue": "\"50px\""
304
+ "defaultValue": "'50px'"
305
305
  },
306
306
  "isOpen": {
307
307
  "type": "boolean",
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -12,19 +12,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
- import { IsLoad } from "@bcm/decorator";
16
- import { Generate, Popover } from "@bcm/helpers";
17
- import { Bcm } from "@bcm/model";
18
- import { Host, h } from "@stencil/core";
15
+ import { IsLoad } from '@bcm/decorator';
16
+ import { Generate, Popover } from '@bcm/helpers';
17
+ import { Bcm } from '@bcm/model';
18
+ import { Host, h } from '@stencil/core';
19
19
  export class BcmPopover {
20
20
  constructor() {
21
21
  this._id = Generate.UID();
22
- this.message = "";
23
- this.content = "";
22
+ this.message = '';
23
+ this.content = '';
24
24
  this.placement = Bcm.Placement.top;
25
25
  this.trigger = Bcm.TriggerType.click;
26
26
  this.open = false;
27
- this.color = "white";
27
+ this.color = 'white';
28
28
  this.popover = new Popover({
29
29
  targetId: this._id,
30
30
  content: this.content,
@@ -56,7 +56,7 @@ export class BcmPopover {
56
56
  this.popover.toggle();
57
57
  }
58
58
  render() {
59
- return (h(Host, { "aria-describedby": "popover", tabindex: "-1", class: "tw-inline-flex tw-h-fit tw-w-fit" }, h("slot", null)));
59
+ return (h(Host, { "aria-describedby": "popover", tabindex: "-1", class: "tw-inline-flex tw-w-fit tw-h-fit" }, h("slot", null)));
60
60
  }
61
61
  static get is() { return "bcm-popover"; }
62
62
  static get properties() {
@@ -95,7 +95,7 @@ export class BcmPopover {
95
95
  },
96
96
  "attribute": "message",
97
97
  "reflect": false,
98
- "defaultValue": "\"\""
98
+ "defaultValue": "''"
99
99
  },
100
100
  "content": {
101
101
  "type": "string",
@@ -113,7 +113,7 @@ export class BcmPopover {
113
113
  },
114
114
  "attribute": "content",
115
115
  "reflect": false,
116
- "defaultValue": "\"\""
116
+ "defaultValue": "''"
117
117
  },
118
118
  "placement": {
119
119
  "type": "string",
@@ -195,7 +195,7 @@ export class BcmPopover {
195
195
  },
196
196
  "attribute": "color",
197
197
  "reflect": false,
198
- "defaultValue": "\"white\""
198
+ "defaultValue": "'white'"
199
199
  }
200
200
  };
201
201
  }
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -124,9 +124,7 @@
124
124
  margin-right: 8px;
125
125
  }
126
126
 
127
- :root,
128
- ::after,
129
- ::before {
127
+ :root {
130
128
  --bcm-new-ds-color-inherit: inherit;
131
129
  --bcm-new-ds-color-current: currentColor;
132
130
  --bcm-new-ds-color-transparent: transparent;
@@ -429,9 +427,7 @@
429
427
  min-height: calc(14px + 8px);
430
428
  }
431
429
 
432
- :root,
433
- ::after,
434
- ::before {
430
+ :root {
435
431
  --bcm-new-ds-color-inherit: inherit;
436
432
  --bcm-new-ds-color-current: currentColor;
437
433
  --bcm-new-ds-color-transparent: transparent;
@@ -125,9 +125,7 @@
125
125
  margin-right: 8px;
126
126
  }
127
127
 
128
- :root,
129
- ::after,
130
- ::before {
128
+ :root {
131
129
  --bcm-new-ds-color-inherit: inherit;
132
130
  --bcm-new-ds-color-current: currentColor;
133
131
  --bcm-new-ds-color-transparent: transparent;
@@ -430,9 +428,7 @@
430
428
  min-height: calc(14px + 8px);
431
429
  }
432
430
 
433
- :root,
434
- ::after,
435
- ::before {
431
+ :root {
436
432
  --bcm-new-ds-color-inherit: inherit;
437
433
  --bcm-new-ds-color-current: currentColor;
438
434
  --bcm-new-ds-color-transparent: transparent;
@@ -780,9 +776,7 @@
780
776
  margin: 0;
781
777
  }
782
778
 
783
- :root,
784
- ::after,
785
- ::before {
779
+ :root {
786
780
  --bcm-new-ds-color-inherit: inherit;
787
781
  --bcm-new-ds-color-current: currentColor;
788
782
  --bcm-new-ds-color-transparent: transparent;
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -125,9 +125,7 @@
125
125
  margin-right: 8px;
126
126
  }
127
127
 
128
- :root,
129
- ::after,
130
- ::before {
128
+ :root {
131
129
  --bcm-new-ds-color-inherit: inherit;
132
130
  --bcm-new-ds-color-current: currentColor;
133
131
  --bcm-new-ds-color-transparent: transparent;
@@ -430,9 +428,7 @@
430
428
  min-height: calc(14px + 8px);
431
429
  }
432
430
 
433
- :root,
434
- ::after,
435
- ::before {
431
+ :root {
436
432
  --bcm-new-ds-color-inherit: inherit;
437
433
  --bcm-new-ds-color-current: currentColor;
438
434
  --bcm-new-ds-color-transparent: transparent;
@@ -780,9 +776,7 @@
780
776
  margin: 0;
781
777
  }
782
778
 
783
- :root,
784
- ::after,
785
- ::before {
779
+ :root {
786
780
  --bcm-new-ds-color-inherit: inherit;
787
781
  --bcm-new-ds-color-current: currentColor;
788
782
  --bcm-new-ds-color-transparent: transparent;
@@ -12,9 +12,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
- import { h } from "@stencil/core";
16
- import { IsLoad } from "../../../decorators/is-load-decorator";
17
- import { Generate } from "../../../helper/generate";
15
+ import { h } from '@stencil/core';
16
+ import { IsLoad } from '../../../decorators/is-load-decorator';
17
+ import { Generate } from '../../../helper/generate';
18
18
  export class BcmSkeleton {
19
19
  constructor() {
20
20
  this._id = Generate.UID();
@@ -24,9 +24,9 @@ export class BcmSkeleton {
24
24
  var _a;
25
25
  const parentElement = (_a = this.el) === null || _a === void 0 ? void 0 : _a.parentElement;
26
26
  if (parentElement) {
27
- const hidden = document.createElement("span");
28
- hidden.setAttribute("id", `${this._id}-span`);
29
- hidden.classList.add("tw-hidden");
27
+ const hidden = document.createElement('span');
28
+ hidden.setAttribute('id', `${this._id}-span`);
29
+ hidden.classList.add('tw-hidden');
30
30
  hidden.innerHTML = `<slot />`;
31
31
  parentElement.appendChild(hidden);
32
32
  if (parentElement.isConnected) {
@@ -37,9 +37,9 @@ export class BcmSkeleton {
37
37
  }
38
38
  render() {
39
39
  const SkeletonAnimate = () => {
40
- return (h("div", { class: "tw-mx-auto tw-w-full tw-max-w-sm tw-rounded-md tw-border tw-border-blue-300 tw-p-4 tw-shadow" }, h("span", { class: "tw-hidden" }, h("slot", null)), h("div", { class: "tw-flex tw-animate-pulse tw-space-x-4" }, h("div", { class: "tw-h-10 tw-w-10 tw-rounded-full tw-bg-slate-200" }), h("div", { class: "tw-flex-1 tw-space-y-6 tw-py-1" }, h("div", { class: "tw-h-2 tw-rounded tw-bg-slate-200" }), h("div", { class: "tw-space-y-3" }, h("div", { class: "tw-grid tw-grid-cols-3 tw-gap-4" }, h("div", { class: "tw-col-span-2 tw-h-2 tw-rounded tw-bg-slate-200" }), h("div", { class: "tw-col-span-1 tw-h-2 tw-rounded tw-bg-slate-200" })), h("div", { class: "tw-h-2 tw-rounded tw-bg-slate-200" }))))));
40
+ return (h("div", { class: "tw-border tw-border-blue-300 tw-shadow tw-rounded-md tw-p-4 tw-max-w-sm tw-w-full tw-mx-auto" }, h("span", { class: "tw-hidden" }, h("slot", null)), h("div", { class: "tw-animate-pulse tw-flex tw-space-x-4" }, h("div", { class: "tw-rounded-full tw-bg-slate-200 tw-h-10 tw-w-10" }), h("div", { class: "tw-flex-1 tw-space-y-6 tw-py-1" }, h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded" }), h("div", { class: "tw-space-y-3" }, h("div", { class: "tw-grid tw-grid-cols-3 tw-gap-4" }, h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded tw-col-span-2" }), h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded tw-col-span-1" })), h("div", { class: "tw-h-2 tw-bg-slate-200 tw-rounded" }))))));
41
41
  };
42
- return this.loading ? h(SkeletonAnimate, null) : h("slot", null);
42
+ return (this.loading ? h(SkeletonAnimate, null) : h("slot", null));
43
43
  }
44
44
  static get is() { return "bcm-skeleton"; }
45
45
  static get properties() {
@@ -123,9 +123,7 @@
123
123
  margin-right: 8px;
124
124
  }
125
125
 
126
- :root,
127
- ::after,
128
- ::before {
126
+ :root {
129
127
  --bcm-new-ds-color-inherit: inherit;
130
128
  --bcm-new-ds-color-current: currentColor;
131
129
  --bcm-new-ds-color-transparent: transparent;
@@ -125,9 +125,7 @@
125
125
  margin-right: 8px;
126
126
  }
127
127
 
128
- :root,
129
- ::after,
130
- ::before {
128
+ :root {
131
129
  --bcm-new-ds-color-inherit: inherit;
132
130
  --bcm-new-ds-color-current: currentColor;
133
131
  --bcm-new-ds-color-transparent: transparent;
@@ -430,9 +428,7 @@
430
428
  min-height: calc(14px + 8px);
431
429
  }
432
430
 
433
- :root,
434
- ::after,
435
- ::before {
431
+ :root {
436
432
  --bcm-new-ds-color-inherit: inherit;
437
433
  --bcm-new-ds-color-current: currentColor;
438
434
  --bcm-new-ds-color-transparent: transparent;
@@ -780,9 +776,7 @@
780
776
  margin: 0;
781
777
  }
782
778
 
783
- :root,
784
- ::after,
785
- ::before {
779
+ :root {
786
780
  --bcm-new-ds-color-inherit: inherit;
787
781
  --bcm-new-ds-color-current: currentColor;
788
782
  --bcm-new-ds-color-transparent: transparent;
@@ -12,12 +12,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
- import { Host, h, forceUpdate } from "@stencil/core";
16
- import { IsLoad } from "../../../decorators/is-load-decorator";
17
- import { Generate } from "../../../helper/generate";
18
- import cs from "classnames";
19
- import Bcm from "../../../models/bcm";
20
- import snq from "snq";
15
+ import { Host, h, forceUpdate } from '@stencil/core';
16
+ import { IsLoad } from '../../../decorators/is-load-decorator';
17
+ import { Generate } from '../../../helper/generate';
18
+ import cs from 'classnames';
19
+ import Bcm from '../../../models/bcm';
20
+ import snq from 'snq';
21
21
  export class BcmTabGroup {
22
22
  constructor() {
23
23
  this.headerItems = [];
@@ -31,50 +31,50 @@ export class BcmTabGroup {
31
31
  if ((_a = this.tabItems()) === null || _a === void 0 ? void 0 : _a.length) {
32
32
  this.headerItems = [];
33
33
  this.tabItems().forEach((tab, index) => {
34
- let itemActive = tab.hasAttribute("active") ? true : false;
35
- let itemDisabled = tab.hasAttribute("disabled") ? true : false;
34
+ let itemActive = tab.hasAttribute('active') ? true : false;
35
+ let itemDisabled = tab.hasAttribute('disabled') ? true : false;
36
36
  let itemIndex = index + 1;
37
- tab.setAttribute("index", `${itemIndex}`);
38
- tab.classList.add("tw-w-full");
37
+ tab.setAttribute('index', `${itemIndex}`);
38
+ tab.classList.add('tw-w-full');
39
39
  let header = {
40
- slot: "header",
41
- content: "",
40
+ slot: 'header',
41
+ content: '',
42
42
  active: itemActive,
43
43
  disabled: itemDisabled,
44
- index: itemIndex,
44
+ index: itemIndex
45
45
  };
46
- const headerItemHeader = tab.querySelector("bcm-tab-item-header");
46
+ const headerItemHeader = tab.querySelector('bcm-tab-item-header');
47
47
  if (headerItemHeader) {
48
48
  header.content = headerItemHeader.innerHTML;
49
- headerItemHeader.classList.add("tw-hidden");
49
+ headerItemHeader.classList.add('tw-hidden');
50
50
  }
51
51
  else {
52
- header.content = tab.getAttribute("label") || `Tab ${itemIndex}`;
52
+ header.content = tab.getAttribute('label') || `Tab ${itemIndex}`;
53
53
  }
54
54
  if (itemActive) {
55
- tab.setAttribute("active", "");
56
- tab.classList.add("tw-block");
57
- tab.classList.remove("tw-hidden");
55
+ tab.setAttribute('active', '');
56
+ tab.classList.add('tw-block');
57
+ tab.classList.remove('tw-hidden');
58
58
  this.active = itemIndex.toString();
59
59
  }
60
60
  else {
61
- tab.removeAttribute("active");
62
- tab.classList.remove("tw-block");
63
- tab.classList.add("tw-hidden");
61
+ tab.removeAttribute('active');
62
+ tab.classList.remove('tw-block');
63
+ tab.classList.add('tw-hidden');
64
64
  }
65
65
  this.headerItems.push(header);
66
66
  });
67
67
  const isHasActiveTab = this.headerItems.some(tab => tab.active);
68
68
  if (!isHasActiveTab) {
69
69
  this.headerItems[0].active = true;
70
- this.tabItems()[0].setAttribute("active", "");
71
- this.tabItems()[0].classList.add("tw-block");
72
- this.tabItems()[0].classList.remove("tw-hidden");
70
+ this.tabItems()[0].setAttribute('active', '');
71
+ this.tabItems()[0].classList.add('tw-block');
72
+ this.tabItems()[0].classList.remove('tw-hidden');
73
73
  }
74
74
  }
75
75
  }
76
76
  tabItems() {
77
- return snq(() => this.el.querySelectorAll("bcm-tab-item"), []);
77
+ return snq(() => this.el.querySelectorAll('bcm-tab-item'), []);
78
78
  }
79
79
  handleTabClick(index) {
80
80
  this.headerItems.forEach(tab => {
@@ -82,19 +82,19 @@ export class BcmTabGroup {
82
82
  });
83
83
  this.headerItems[index - 1].active = true;
84
84
  this.active = index.toString();
85
- const tabItems = this.el.querySelectorAll("bcm-tab-item");
85
+ const tabItems = this.el.querySelectorAll('bcm-tab-item');
86
86
  if (tabItems) {
87
87
  tabItems.forEach(tab => {
88
- const tabIndex = tab.getAttribute("index");
88
+ const tabIndex = tab.getAttribute('index');
89
89
  if (tabIndex == this.active) {
90
- tab.setAttribute("active", "");
91
- tab.classList.add("tw-block");
92
- tab.classList.remove("tw-hidden");
90
+ tab.setAttribute('active', '');
91
+ tab.classList.add('tw-block');
92
+ tab.classList.remove('tw-hidden');
93
93
  }
94
94
  else {
95
- tab.removeAttribute("active");
96
- tab.classList.remove("tw-block");
97
- tab.classList.add("tw-hidden");
95
+ tab.removeAttribute('active');
96
+ tab.classList.remove('tw-block');
97
+ tab.classList.add('tw-hidden');
98
98
  }
99
99
  });
100
100
  }
@@ -111,14 +111,14 @@ export class BcmTabGroup {
111
111
  }
112
112
  }
113
113
  inkBarControl() {
114
- const inkBar = this.el.querySelector("#ink-bar");
114
+ const inkBar = this.el.querySelector('#ink-bar');
115
115
  if (inkBar) {
116
- const tabHeaderItems = this.el.querySelectorAll("bcm-tab-item-header");
116
+ const tabHeaderItems = this.el.querySelectorAll('bcm-tab-item-header');
117
117
  if (tabHeaderItems) {
118
118
  tabHeaderItems.forEach((tab) => {
119
- const tabIndex = tab.getAttribute("index");
119
+ const tabIndex = tab.getAttribute('index');
120
120
  if (tabIndex == this.active) {
121
- inkBar.style.width = tab.offsetWidth + "px";
121
+ inkBar.style.width = tab.offsetWidth + 'px';
122
122
  // inkBar.style.top = tab.offsetHeight + 'px';
123
123
  inkBar.style.transform = `translateX(${tab.offsetLeft}px)`;
124
124
  }
@@ -131,30 +131,30 @@ export class BcmTabGroup {
131
131
  let fontSize, padding, gap;
132
132
  switch (size) {
133
133
  case Bcm.Size.small:
134
- fontSize = "2";
135
- padding = "1";
136
- gap = "2";
134
+ fontSize = '2';
135
+ padding = '1';
136
+ gap = '2';
137
137
  break;
138
138
  case Bcm.Size.medium:
139
- fontSize = "3";
140
- padding = "2";
141
- gap = "3";
139
+ fontSize = '3';
140
+ padding = '2';
141
+ gap = '3';
142
142
  break;
143
143
  case Bcm.Size.large:
144
- fontSize = "4";
145
- padding = "3";
146
- gap = "4";
144
+ fontSize = '4';
145
+ padding = '3';
146
+ gap = '4';
147
147
  break;
148
148
  default:
149
- fontSize = "3";
150
- padding = "2";
151
- gap = "3";
149
+ fontSize = '3';
150
+ padding = '2';
151
+ gap = '3';
152
152
  break;
153
153
  }
154
154
  const disabledClass = "tw-cursor-not-allowed tw-text-gray-400 tw-opacity-50";
155
- return (h(Host, { class: "tw-flex tw-w-full tw-flex-col tw-items-center tw-font-sans" }, h("div", { class: `tw-flex tw-w-full tw-flex-row tw-items-end tw-justify-between tw-mb-${padding} tw-relative` }, this.headerItems.map(item => (h("bcm-tab-item-header", { tabIndex: "1", class: cs(`tw-text-${fontSize} tw-py-${padding} tw-flex tw-flex-1 tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-transition-all tw-gap-${gap} tw-focus:outline-none`, item.disabled ? disabledClass : "tw-cursor-pointer", item.active
155
+ return (h(Host, { class: "tw-font-sans tw-w-full tw-flex tw-flex-col tw-items-center" }, h("div", { class: `tw-w-full tw-flex tw-flex-row tw-items-end tw-justify-between tw-mb-${padding} tw-relative` }, this.headerItems.map(item => (h("bcm-tab-item-header", { tabIndex: "1", class: cs(`tw-text-${fontSize} tw-py-${padding} tw-transition-all tw-flex-1 tw-flex tw-items-center tw-justify-center tw-border-b-[2px] tw-border-b-slate-300 tw-gap-${gap} tw-focus:outline-none`, item.disabled ? disabledClass : 'tw-cursor-pointer', item.active
156
156
  ? `tw-text-${color}-500 enabled:hover:tw-text-${color}-600 enabled:active:tw-text-${color}-700 enabled:focus-visible:tw-text-${color}-800`
157
- : "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:focus-visible:tw-text-slate-700 enabled:active:tw-text-slate-600"), active: item.active, disabled: item.disabled, index: item.index, innerHTML: item.content, onClick: () => !item.disabled && this.handleTabClick(item.index) }))), h("div", { id: "ink-bar", class: `tw-bg-${color}-500 tw-absolute tw-bottom-0 tw-left-0 tw-mt-[-2px] tw-h-[2px] tw-rounded-sm tw-transition-transform` })), h("slot", null)));
157
+ : "tw-text-slate-400 enabled:hover:tw-text-slate-500 enabled:active:tw-text-slate-600 enabled:focus-visible:tw-text-slate-700"), active: item.active, disabled: item.disabled, index: item.index, innerHTML: item.content, onClick: () => !item.disabled && this.handleTabClick(item.index) }))), h("div", { id: "ink-bar", class: `tw-bg-${color}-500 tw-h-[2px] tw-rounded-sm tw-mt-[-2px] tw-absolute tw-bottom-0 tw-left-0 tw-transition-transform` })), h("slot", null)));
158
158
  }
159
159
  static get is() { return "bcm-tab-group"; }
160
160
  static get properties() {