bromcom-ui 2.11.1-rc.9-3 → 2.11.1

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 (337) 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-04068410.entry.js +5 -0
  4. package/dist/bromcom-ui/p-06392358.entry.js +5 -0
  5. package/dist/bromcom-ui/p-08af4159.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-2cd6cdee.js → p-09318a64.js} +1 -1
  7. package/dist/bromcom-ui/p-0bde4e71.entry.js +5 -0
  8. package/dist/bromcom-ui/p-0d87846a.entry.js +5 -0
  9. package/dist/bromcom-ui/p-0ed34855.entry.js +5 -0
  10. package/dist/bromcom-ui/p-0f58e83a.js +5 -0
  11. package/dist/bromcom-ui/p-19283acb.entry.js +5 -0
  12. package/dist/bromcom-ui/p-1e377d82.js +5 -0
  13. package/dist/bromcom-ui/p-207c20c6.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-35c215f2.entry.js → p-20b5c273.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-24906295.entry.js +5 -0
  16. package/dist/bromcom-ui/p-2b4970f5.entry.js +5 -0
  17. package/dist/bromcom-ui/p-2d3ff3b8.entry.js +5 -0
  18. package/dist/bromcom-ui/p-2e7107b8.entry.js +5 -0
  19. package/dist/bromcom-ui/p-3115008f.entry.js +5 -0
  20. package/dist/bromcom-ui/p-346395fa.entry.js +5 -0
  21. package/dist/bromcom-ui/p-375906b2.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-3861fc92.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3f3579b5.entry.js +5 -0
  24. package/dist/bromcom-ui/p-41e75c88.entry.js +5 -0
  25. package/dist/bromcom-ui/p-4e44bab2.entry.js +5 -0
  26. package/dist/bromcom-ui/p-5196912d.js +5 -0
  27. package/dist/bromcom-ui/p-51b2e857.entry.js +5 -0
  28. package/dist/bromcom-ui/p-52a75efb.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-5c70a918.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-5fbb4950.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-a4b675ef.entry.js → p-630a4d45.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-65ac7386.entry.js +5 -0
  33. package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
  34. package/dist/bromcom-ui/p-7005fb55.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-930f3618.js → p-743731ac.js} +1 -1
  36. package/dist/bromcom-ui/p-7c512c4d.entry.js +5 -0
  37. package/dist/bromcom-ui/p-81887469.entry.js +5 -0
  38. package/dist/bromcom-ui/p-81cbc318.entry.js +5 -0
  39. package/dist/bromcom-ui/p-82d01088.entry.js +5 -0
  40. package/dist/bromcom-ui/p-82f0b161.js +5 -0
  41. package/dist/bromcom-ui/p-84b97f53.entry.js +5 -0
  42. package/dist/bromcom-ui/p-857628f6.js +5 -0
  43. package/dist/bromcom-ui/{p-90223f9f.entry.js → p-887c26f8.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-8a6fb2d5.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-8b31581f.js → p-8ed054fe.js} +1 -1
  46. package/dist/bromcom-ui/p-926f8ac4.entry.js +5 -0
  47. package/dist/bromcom-ui/p-950a341e.entry.js +7 -0
  48. package/dist/bromcom-ui/p-9810187e.entry.js +5 -0
  49. package/dist/bromcom-ui/p-9b5c86e1.entry.js +5 -0
  50. package/dist/bromcom-ui/p-a0d6d680.js +1 -1
  51. package/dist/bromcom-ui/{p-a018f340.entry.js → p-a1e299af.entry.js} +1 -1
  52. package/dist/bromcom-ui/p-a313fba6.js +1 -1
  53. package/dist/bromcom-ui/p-a34bc3d8.entry.js +5 -0
  54. package/dist/bromcom-ui/p-a42fbe84.entry.js +5 -0
  55. package/dist/bromcom-ui/p-a5208f05.entry.js +5 -0
  56. package/dist/bromcom-ui/p-a6142e74.entry.js +5 -0
  57. package/dist/bromcom-ui/p-aea1b034.entry.js +5 -0
  58. package/dist/bromcom-ui/p-b381e7f1.js +19 -0
  59. package/dist/bromcom-ui/p-b4da198b.entry.js +5 -0
  60. package/dist/bromcom-ui/{p-14ed8029.entry.js → p-b764ab86.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-bde67994.entry.js +5 -0
  62. package/dist/bromcom-ui/p-c1761829.entry.js +5 -0
  63. package/dist/bromcom-ui/{p-5a391fcd.js → p-c7aff122.js} +1 -1
  64. package/dist/bromcom-ui/p-c7caf94d.js +5 -0
  65. package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-ce3b34da.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-cf011393.entry.js +5 -0
  67. package/dist/bromcom-ui/p-d01426b6.entry.js +5 -0
  68. package/dist/bromcom-ui/p-d098f115.entry.js +5 -0
  69. package/dist/bromcom-ui/p-d9fcd150.js +5 -0
  70. package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-dc62a5f7.entry.js} +1 -1
  71. package/dist/bromcom-ui/p-e3c69b3b.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-db15dca3.entry.js → p-e9333e52.entry.js} +1 -1
  73. package/dist/bromcom-ui/p-f56f2a2d.entry.js +5 -0
  74. package/dist/bromcom-ui/p-fcf4b343.entry.js +5 -0
  75. package/dist/bromcom-ui/p-fe776e62.entry.js +5 -0
  76. package/dist/cjs/Overflow-a821abd0.js +2769 -0
  77. package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
  78. package/dist/cjs/bcm-accordion.cjs.entry.js +74 -0
  79. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -9
  81. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -9
  82. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +329 -0
  83. package/dist/cjs/bcm-attendance.cjs.entry.js +35 -0
  84. package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
  85. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-button-group.cjs.entry.js +92 -0
  87. package/dist/cjs/bcm-button_15.cjs.entry.js +18623 -0
  88. package/dist/cjs/bcm-caption.cjs.entry.js +9 -10
  89. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +415 -0
  91. package/dist/cjs/{bcm-checkbox-lite_8.cjs.entry.js → bcm-checkbox-lite_9.cjs.entry.js} +26 -6
  92. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
  93. package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -10
  94. package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
  95. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
  97. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-drawer.cjs.entry.js +95 -0
  99. package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
  100. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  101. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +116 -0
  102. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  103. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -11
  104. package/dist/cjs/bcm-item.cjs.entry.js +72 -0
  105. package/dist/cjs/bcm-items.cjs.entry.js +49 -0
  106. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-list_3.cjs.entry.js +1970 -0
  108. package/dist/cjs/bcm-menu.cjs.entry.js +150 -0
  109. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -7
  110. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -7
  111. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -8
  112. package/dist/cjs/bcm-modal.cjs.entry.js +157 -0
  113. package/dist/cjs/bcm-number-input.cjs.entry.js +9 -10
  114. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +115 -0
  115. package/dist/cjs/bcm-popconfirm.cjs.entry.js +101 -0
  116. package/dist/cjs/bcm-popover.cjs.entry.js +9 -10
  117. package/dist/cjs/bcm-progress.cjs.entry.js +162 -0
  118. package/dist/cjs/bcm-radio-group.cjs.entry.js +160 -0
  119. package/dist/cjs/bcm-radio.cjs.entry.js +64 -0
  120. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  121. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  122. package/dist/cjs/bcm-shortcut.cjs.entry.js +64 -0
  123. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -7
  124. package/dist/cjs/bcm-step.cjs.entry.js +89 -0
  125. package/dist/cjs/bcm-stepper.cjs.entry.js +239 -0
  126. package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
  127. package/dist/cjs/bcm-tab-group.cjs.entry.js +209 -0
  128. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +58 -0
  129. package/dist/cjs/bcm-tab-item.cjs.entry.js +90 -0
  130. package/dist/cjs/bcm-table.cjs.entry.js +6 -7
  131. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  132. package/dist/cjs/bcm-text.cjs.entry.js +49 -0
  133. package/dist/cjs/bcm-textarea.cjs.entry.js +163 -0
  134. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  135. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  136. package/dist/cjs/{caption-template-85a18b6d.js → caption-template-086e9cac.js} +2 -2
  137. package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
  138. package/dist/cjs/{generate-f73a098d.js → generate-82c63a56.js} +1 -1
  139. package/dist/cjs/{global-baf04c81.js → global-1e13ce25.js} +1 -1
  140. package/dist/cjs/input-template-e0087a2b.js +92 -0
  141. package/dist/cjs/json-parse-decarator-e0946e2e.js +40 -0
  142. package/dist/cjs/{label-template-e83447b5.js → label-template-94b3d775.js} +3 -3
  143. package/dist/cjs/loader.cjs.js +3 -3
  144. package/dist/cjs/{number-helper-0543a62e.js → number-helper-10017fcd.js} +1 -1
  145. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  146. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  147. package/dist/cjs/{package-e717a31f.js → package-13f78ab4.js} +1 -1
  148. package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
  149. package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
  150. package/dist/cjs/stepper-states-77438c3a.js +85 -0
  151. package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
  152. package/dist/cjs/tooltip-helper-a2793290.js +157 -0
  153. package/dist/cjs/{validators-77768582.js → validators-f4c3063b.js} +6 -1
  154. package/dist/collection/components/atoms/avatar/avatar.js +1 -1
  155. package/dist/collection/components/atoms/badge/badge.js +1 -1
  156. package/dist/collection/components/atoms/badge/badge.style.js +1 -1
  157. package/dist/collection/components/atoms/button/button.css +13 -13
  158. package/dist/collection/components/atoms/button/button.js +14 -14
  159. package/dist/collection/components/atoms/chip/chip.css +4 -4
  160. package/dist/collection/components/atoms/chip/chip.js +3 -3
  161. package/dist/collection/components/molecules/checkbox/group.css +2 -2
  162. package/dist/collection/components/molecules/checkbox/group.js +1 -1
  163. package/dist/collection/components/molecules/color-input/color-input.js +1 -1
  164. package/dist/collection/components/molecules/empty/empty.js +1 -1
  165. package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
  166. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
  167. package/dist/collection/components/molecules/input/input.js +1 -1
  168. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
  169. package/dist/collection/components/molecules/menu/menu.css +4 -4
  170. package/dist/collection/components/molecules/modal/modal.css +1 -1
  171. package/dist/collection/components/molecules/radio/radio-group.js +1 -1
  172. package/dist/collection/components/molecules/radio/radio.js +1 -1
  173. package/dist/collection/components/molecules/range/range.js +1 -1
  174. package/dist/collection/components/molecules/switch/switch.css +2 -2
  175. package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
  176. package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
  177. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  178. package/dist/collection/components/organism/list/list.css +2 -2
  179. package/dist/collection/components/organism/list/list.js +2 -2
  180. package/dist/collection/components/other/attendance/attendance.js +1 -1
  181. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  182. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  183. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  184. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +0 -1
  185. package/dist/collection/templates/button-template.js +1 -1
  186. package/dist/collection/templates/caption-template.js +2 -2
  187. package/dist/collection/templates/input-template.js +1 -1
  188. package/dist/collection/templates/label-template.js +1 -1
  189. package/dist/collection/templates/list-item-template.js +1 -1
  190. package/dist/collection/templates/list-template.js +9 -3
  191. package/dist/components/{raf.js → Overflow.js} +692 -69
  192. package/dist/components/avatar.js +1 -1
  193. package/dist/components/badge.js +2 -2
  194. package/dist/components/bcm-attendance.js +1 -1
  195. package/dist/components/bcm-checkbox-group.js +2 -2
  196. package/dist/components/bcm-color-input.js +1 -1
  197. package/dist/components/bcm-date.js +1 -1
  198. package/dist/components/bcm-error-layout.js +1 -1
  199. package/dist/components/bcm-expansion-panel.js +1 -1
  200. package/dist/components/bcm-input-dropdown.js +1 -1
  201. package/dist/components/bcm-modal.js +1 -1
  202. package/dist/components/bcm-radio-group.js +1 -1
  203. package/dist/components/bcm-range.js +1 -1
  204. package/dist/components/bcm-switch.js +1 -1
  205. package/dist/components/bcm-tab-group.js +2 -2
  206. package/dist/components/bcm-tab-item-header.js +5 -5
  207. package/dist/components/button.js +16 -16
  208. package/dist/components/caption-template.js +2 -2
  209. package/dist/components/chip.js +4 -4
  210. package/dist/components/empty.js +1 -1
  211. package/dist/components/generate.js +1 -1
  212. package/dist/components/input-template.js +1 -1
  213. package/dist/components/input.js +1 -1
  214. package/dist/components/label.js +1 -1
  215. package/dist/components/list.js +13 -7
  216. package/dist/components/menu.js +1 -1
  217. package/dist/components/radio.js +1 -1
  218. package/dist/components/rc-overflow.js +1 -593
  219. package/dist/components/rc-picker.js +8620 -8025
  220. package/dist/components/tooltip.js +1 -1
  221. package/dist/esm/Overflow-2cffcda0.js +2750 -0
  222. package/dist/esm/bcm-a50d55ba.js +1 -1
  223. package/dist/esm/bcm-accordion.entry.js +70 -0
  224. package/dist/esm/bcm-alert.entry.js +2 -2
  225. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -6
  226. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -6
  227. package/dist/esm/bcm-attendance-actions.entry.js +325 -0
  228. package/dist/esm/bcm-attendance.entry.js +31 -0
  229. package/dist/esm/bcm-avatar_2.entry.js +204 -0
  230. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  231. package/dist/esm/bcm-button-group.entry.js +88 -0
  232. package/dist/esm/bcm-button_15.entry.js +18605 -0
  233. package/dist/esm/bcm-caption.entry.js +6 -7
  234. package/dist/esm/bcm-card.entry.js +2 -2
  235. package/dist/esm/bcm-checkbox-group.entry.js +411 -0
  236. package/dist/esm/{bcm-checkbox-lite_8.entry.js → bcm-checkbox-lite_9.entry.js} +24 -5
  237. package/dist/esm/bcm-checkbox_2.entry.js +189 -0
  238. package/dist/esm/bcm-chip-group.entry.js +7 -8
  239. package/dist/esm/bcm-chip.entry.js +87 -0
  240. package/dist/esm/bcm-collapse.entry.js +2 -2
  241. package/dist/esm/bcm-color-input.entry.js +72 -0
  242. package/dist/esm/bcm-default.entry.js +2 -2
  243. package/dist/esm/bcm-drawer.entry.js +91 -0
  244. package/dist/esm/bcm-dropdown.entry.js +115 -0
  245. package/dist/esm/bcm-error-layout.entry.js +1 -1
  246. package/dist/esm/bcm-expansion-panel.entry.js +112 -0
  247. package/dist/esm/bcm-input-custom.entry.js +2 -2
  248. package/dist/esm/bcm-input-dropdown.entry.js +7 -8
  249. package/dist/esm/bcm-item.entry.js +68 -0
  250. package/dist/esm/bcm-items.entry.js +45 -0
  251. package/dist/esm/bcm-link.entry.js +1 -1
  252. package/dist/esm/bcm-list_3.entry.js +1964 -0
  253. package/dist/esm/bcm-menu.entry.js +146 -0
  254. package/dist/esm/bcm-modal-2-footer.entry.js +4 -5
  255. package/dist/esm/bcm-modal-2-header.entry.js +4 -5
  256. package/dist/esm/bcm-modal-2.entry.js +5 -6
  257. package/dist/esm/bcm-modal.entry.js +153 -0
  258. package/dist/esm/bcm-number-input.entry.js +6 -7
  259. package/dist/esm/bcm-popconfirm-box.entry.js +111 -0
  260. package/dist/esm/bcm-popconfirm.entry.js +97 -0
  261. package/dist/esm/bcm-popover.entry.js +5 -6
  262. package/dist/esm/bcm-progress.entry.js +158 -0
  263. package/dist/esm/bcm-radio-group.entry.js +156 -0
  264. package/dist/esm/bcm-radio.entry.js +60 -0
  265. package/dist/esm/bcm-range.entry.js +4 -4
  266. package/dist/esm/bcm-shortcut.entry.js +60 -0
  267. package/dist/esm/bcm-skeleton.entry.js +4 -5
  268. package/dist/esm/bcm-step.entry.js +85 -0
  269. package/dist/esm/bcm-stepper.entry.js +235 -0
  270. package/dist/esm/bcm-switch.entry.js +147 -0
  271. package/dist/esm/bcm-tab-group.entry.js +205 -0
  272. package/dist/esm/bcm-tab-item-header.entry.js +54 -0
  273. package/dist/esm/bcm-tab-item.entry.js +86 -0
  274. package/dist/esm/bcm-table.entry.js +4 -5
  275. package/dist/esm/bcm-tag.entry.js +4 -4
  276. package/dist/esm/bcm-text.entry.js +45 -0
  277. package/dist/esm/bcm-textarea.entry.js +159 -0
  278. package/dist/esm/bcm-toast.entry.js +3 -3
  279. package/dist/esm/bromcom-ui.js +3 -3
  280. package/dist/esm/{caption-template-d7953d13.js → caption-template-fd7738eb.js} +2 -2
  281. package/dist/esm/floating-ui-3f4394da.js +1 -1
  282. package/dist/esm/{generate-c2c0b02e.js → generate-b33f722f.js} +1 -1
  283. package/dist/esm/{global-2473677b.js → global-d524a06a.js} +1 -1
  284. package/dist/esm/input-template-453bfff8.js +90 -0
  285. package/dist/esm/json-parse-decarator-1aa4119c.js +38 -0
  286. package/dist/esm/{label-template-a26f76c0.js → label-template-374fbdcd.js} +2 -2
  287. package/dist/esm/loader.js +3 -3
  288. package/dist/esm/{number-helper-75447fa6.js → number-helper-712eedd0.js} +1 -1
  289. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  290. package/dist/esm/old-bcm-popover.entry.js +3 -3
  291. package/dist/esm/{package-28dc6847.js → package-c604bd07.js} +1 -1
  292. package/dist/esm/stepper-states-00eb7d7d.js +83 -0
  293. package/dist/esm/string-helper-3592bdc2.js +1 -1
  294. package/dist/esm/tooltip-helper-088013ec.js +155 -0
  295. package/dist/esm/{validators-5a383988.js → validators-ebf92486.js} +6 -2
  296. package/dist/types/templates/list-template.d.ts +0 -1
  297. package/package.json +2 -2
  298. package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
  299. package/dist/bromcom-ui/p-178fa936.entry.js +0 -5
  300. package/dist/bromcom-ui/p-3361f6c9.entry.js +0 -5
  301. package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
  302. package/dist/bromcom-ui/p-3cdfd8eb.entry.js +0 -5
  303. package/dist/bromcom-ui/p-5a22b74b.entry.js +0 -5
  304. package/dist/bromcom-ui/p-626a65e9.js +0 -5
  305. package/dist/bromcom-ui/p-627c7769.entry.js +0 -5
  306. package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
  307. package/dist/bromcom-ui/p-70253803.entry.js +0 -5
  308. package/dist/bromcom-ui/p-7fd22a35.entry.js +0 -5
  309. package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
  310. package/dist/bromcom-ui/p-abd2f9ff.entry.js +0 -5
  311. package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
  312. package/dist/bromcom-ui/p-bca0ff0a.entry.js +0 -5
  313. package/dist/bromcom-ui/p-c10b07cc.entry.js +0 -5
  314. package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
  315. package/dist/bromcom-ui/p-dc607ae4.entry.js +0 -5
  316. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  317. package/dist/bromcom-ui/p-e10780ed.entry.js +0 -5
  318. package/dist/bromcom-ui/p-e497cf5d.entry.js +0 -5
  319. package/dist/bromcom-ui/p-e93d6619.js +0 -5
  320. package/dist/bromcom-ui/p-ebeb9689.entry.js +0 -5
  321. package/dist/bromcom-ui/p-eca0acda.js +0 -5
  322. package/dist/bromcom-ui/p-ede82918.js +0 -5
  323. package/dist/bromcom-ui/p-fba1682e.entry.js +0 -5
  324. package/dist/cjs/bcm-accordion_46.cjs.entry.js +0 -24086
  325. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -182
  326. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1450
  327. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -212
  328. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  329. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -150
  330. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  331. package/dist/esm/bcm-accordion_46.entry.js +0 -24037
  332. package/dist/esm/bcm-date-picker.entry.js +0 -178
  333. package/dist/esm/bcm-datetime-picker.entry.js +0 -1446
  334. package/dist/esm/bcm-form-2.entry.js +0 -208
  335. package/dist/esm/bcm-old-input.entry.js +0 -393
  336. package/dist/esm/bcm-time-picker.entry.js +0 -146
  337. package/dist/esm/datetime-helper-df25808a.js +0 -9
@@ -0,0 +1,85 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ 'use strict';
6
+
7
+ const index = require('./index-d321de96.js');
8
+ const generate = require('./generate-82c63a56.js');
9
+ const index$1 = require('./index-c591ecec.js');
10
+
11
+ const { state } = index.createStore({
12
+ value: new Map(),
13
+ setData: {},
14
+ });
15
+ const setValue = val => {
16
+ const data = Object.assign(Object.assign({}, val), { steps: val.steps &&
17
+ val.steps.length > 0 &&
18
+ val.steps
19
+ .filter(data => !data.hidden)
20
+ .map((item, index) => ({
21
+ id: item.id || generate.Generate.UID(),
22
+ title: item.title || item._title,
23
+ _title: item.title || item._title || 'Step ' + (index + 1),
24
+ description: item.description || '',
25
+ status: item.status || 'default',
26
+ disabled: val.linear ? (index == 0 ? false : true) : item.disabled || false,
27
+ icon: item.icon || undefined,
28
+ valid: item.valid || true,
29
+ loading: item.loading || false,
30
+ index: index + 1,
31
+ active: val.linear ? (index == 0 ? true : false) : val.active === index + 1,
32
+ isLast: index === val.steps.length - 1,
33
+ statusIcon: val.icon,
34
+ headerHidden: item.hidden,
35
+ })) });
36
+ state.value.set(val.id, data);
37
+ };
38
+ const removeState = _id => {
39
+ state.value.delete(_id);
40
+ };
41
+ const changeActiveStep = (id, index) => {
42
+ const value = state.value.get(id);
43
+ if (value) {
44
+ value.active = index;
45
+ value.steps = value.steps.map((step, i) => (Object.assign(Object.assign({}, step), { active: i === index - 1 })));
46
+ }
47
+ };
48
+ const getActiveIndex = id => generate.snq(() => state.value.get(id).active, 0);
49
+ const changeStepStatus = (id, stepId, status) => {
50
+ const value = state.value.get(id);
51
+ if (value && value.steps) {
52
+ value.steps = value.steps.map(step => (Object.assign(Object.assign({}, step), { status: step.id === stepId ? status : step.status })));
53
+ index$1.forceUpdate(value.el);
54
+ }
55
+ };
56
+ const changeStepDisabled = (id, stepId, disabled) => {
57
+ const value = state.value.get(id);
58
+ if (value && value.steps) {
59
+ value.steps = value.steps.map(step => (Object.assign(Object.assign({}, step), { disabled: step.id === stepId ? disabled : step.disabled })));
60
+ index$1.forceUpdate(value.el);
61
+ }
62
+ };
63
+ const setActiveIndex = (id, index) => state.value.get(id).active = index;
64
+ const stepperReset = id => {
65
+ const value = state.value.get(id);
66
+ if (value) {
67
+ value.active = 1;
68
+ value.steps = value.steps.map((step, i) => (Object.assign(Object.assign({}, step), { active: i === 0, status: 'default', disabled: i !== 0, loading: false })));
69
+ index$1.forceUpdate(value.el);
70
+ }
71
+ };
72
+ const getValue = id => generate.snq(() => state.value.get(id), {});
73
+ const stepperStates = {
74
+ removeState,
75
+ getValue,
76
+ setValue,
77
+ changeActiveStep,
78
+ getActiveIndex,
79
+ changeStepStatus,
80
+ changeStepDisabled,
81
+ stepperReset,
82
+ setActiveIndex
83
+ };
84
+
85
+ exports.stepperStates = stepperStates;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const bcm = require('./bcm-1d1fcf21.js');
7
+ const bcm = require('./bcm-489c9b1a.js');
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-ed84c3ca.js');
9
9
 
10
10
  var slugify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -94,7 +94,7 @@ StringHelper.replace = (str, search, replace) => str.replace(search, replace);
94
94
  StringHelper.remove = (str, search) => str.replace(search, '');
95
95
  StringHelper.isNullOrEmpty = (str) => str === null || str === undefined || str === '';
96
96
  StringHelper.localizationMessage = (str, args) => str.replace(/{(\d+)}/g, (match, number) => (typeof args[number] != 'undefined' ? args[number] : match));
97
- StringHelper.getMessage = (type, args) => StringHelper.localizationMessage(bcm.Bcm$1.FormErrorMessages[type], args);
97
+ StringHelper.getMessage = (type, args) => StringHelper.localizationMessage(bcm.Bcm.FormErrorMessages[type], args);
98
98
  StringHelper.split = (str, separator) => str.split(separator);
99
99
  StringHelper.textContains = (str, search) => str && str.indexOf(search) !== -1;
100
100
  StringHelper.textLimitter = (str, limit, newLine = false) => (str && str.length > limit ? `${str.substring(0, limit)}...` : str) + `${newLine ? ' <br /> ' : ''}`;
@@ -0,0 +1,157 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ 'use strict';
6
+
7
+ require('./element-dragger-a8562f82.js');
8
+ const stringHelper = require('./string-helper-f9184277.js');
9
+ const utils = require('./utils-fc077139.js');
10
+ const floatingUi = require('./floating-ui-21890d11.js');
11
+ const colorHelper = require('./color-helper-c3a819ea.js');
12
+ require('./validators-f4c3063b.js');
13
+ const generate = require('./generate-82c63a56.js');
14
+ require('./number-helper-10017fcd.js');
15
+ const bcm = require('./bcm-489c9b1a.js');
16
+
17
+ class Tooltip {
18
+ constructor({ message, targetId, placement = "top", color = "slate-700", trigger = "none", size = "medium", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { }, }) {
19
+ this.destroy = () => {
20
+ this.el = document.getElementById(this.id);
21
+ if (this.el) {
22
+ this.el.remove();
23
+ this.emitHide();
24
+ }
25
+ this.removeListener();
26
+ };
27
+ this.target = () => document.getElementById(this.targetId);
28
+ this.sizeClass = () => {
29
+ switch (this.size) {
30
+ case bcm.Bcm$1.Size.small:
31
+ return "tw-text-1";
32
+ case bcm.Bcm$1.Size.medium:
33
+ return "tw-text-2";
34
+ case bcm.Bcm$1.Size.large:
35
+ return "tw-text-3";
36
+ default:
37
+ return "tw-text-2";
38
+ }
39
+ };
40
+ this.init = () => {
41
+ const { tone, colorName } = colorHelper.ColorHelper.parseColor(this.color, 700);
42
+ const dc = generate.Generate.getTwColor({
43
+ color: colorName,
44
+ tones: {
45
+ [tone]: ["bg"],
46
+ },
47
+ variable: "--bcm-tooltip",
48
+ });
49
+ const style = Object.assign(Object.assign({}, dc), (dc["--bcm-tooltip-bg"] && { "--bcm-tooltip-text": colorHelper.ColorHelper.reverseColor(dc["--bcm-tooltip-bg"]) }));
50
+ this.el = generate.Generate.createElement("div", {
51
+ "id": `${this.targetId}-tooltip-box`,
52
+ "class": `
53
+ tw-whitespace-normal tw-break-words tw-block tw-font-sans tw-pointer-events-none tw-max-w-xs tw-py-1 tw-px-2 tw-rounded tw-bg-[--bcm-tooltip-bg] tw-text-[--bcm-tooltip-text] ${this.sizeClass()} tw-absolute tw-top-0 tw-left-0 tw-z-tooltip tw-opacity-0 tw-transition-opacity tw-duration-300`,
54
+ "role": "tooltip",
55
+ "aria-hidden": "true",
56
+ "style": colorHelper.ColorHelper.generateStyleString(style),
57
+ "innerHTML": stringHelper.StringHelper.trim(this.message),
58
+ });
59
+ };
60
+ this.update = () => {
61
+ this.el = document.getElementById(this.id);
62
+ if (this.el) {
63
+ this.hide();
64
+ this.show();
65
+ }
66
+ };
67
+ this.listener = () => {
68
+ window.addEventListener("resize", this.calculatePosition.bind(this));
69
+ window.addEventListener("scroll", this.calculatePosition.bind(this), true);
70
+ window.addEventListener("wheel", this.calculatePosition.bind(this));
71
+ if (this.trigger && this.target()) {
72
+ switch (this.trigger) {
73
+ case "click":
74
+ this.target().addEventListener("click", this.toggle.bind(this));
75
+ this.autoHide && this.target().addEventListener("mouseleave", this.hide.bind(this));
76
+ break;
77
+ case "hover":
78
+ this.target().addEventListener("mouseenter", this.show.bind(this));
79
+ this.target().addEventListener("mouseleave", this.hide.bind(this));
80
+ break;
81
+ case "focus":
82
+ this.target().addEventListener("focus", this.show.bind(this), true);
83
+ this.target().addEventListener("blur", this.hide.bind(this), true);
84
+ break;
85
+ }
86
+ }
87
+ this.calculatePosition();
88
+ };
89
+ this.removeListener = () => {
90
+ window.removeEventListener("resize", this.calculatePosition.bind(this));
91
+ window.removeEventListener("scroll", this.calculatePosition.bind(this), true);
92
+ window.removeEventListener("wheel", this.calculatePosition.bind(this));
93
+ if (this.target()) {
94
+ this.target().removeEventListener("click", this.toggle.bind(this));
95
+ this.target().removeEventListener("mouseenter", this.show.bind(this));
96
+ this.target().removeEventListener("mouseleave", this.hide.bind(this));
97
+ this.target().removeEventListener("focus", this.show.bind(this), true);
98
+ this.target().removeEventListener("blur", this.hide.bind(this), true);
99
+ }
100
+ };
101
+ this.calculatePosition = () => {
102
+ this.el = document.getElementById(this.id);
103
+ if (this.el) {
104
+ floatingUi.FloatingUI({
105
+ ref: this.target(),
106
+ floating: this.el,
107
+ placement: this.placement,
108
+ offset: 8,
109
+ arrow: true,
110
+ arrowColor: `tw-bg-[--bcm-tooltip-bg]`,
111
+ });
112
+ }
113
+ };
114
+ this.show = async () => {
115
+ if (this.message) {
116
+ this.init();
117
+ await utils.delay(this.openDelay);
118
+ this.calculatePosition();
119
+ this.emitShow();
120
+ }
121
+ else {
122
+ this.hide();
123
+ }
124
+ };
125
+ this.hide = async () => {
126
+ this.el = document.getElementById(this.id);
127
+ if (this.el) {
128
+ await utils.delay(this.closeDelay);
129
+ this.el && this.el.remove();
130
+ this.emitHide();
131
+ }
132
+ };
133
+ this.toggle = () => {
134
+ this.el = document.getElementById(this.id);
135
+ if (this.el) {
136
+ this.hide();
137
+ }
138
+ else {
139
+ this.show();
140
+ }
141
+ };
142
+ this.message = message;
143
+ this.targetId = targetId;
144
+ this.placement = placement;
145
+ this.color = color;
146
+ this.id = targetId + "-tooltip-box";
147
+ this.trigger = trigger;
148
+ this.size = size;
149
+ this.openDelay = openDelay;
150
+ this.closeDelay = closeDelay;
151
+ this.autoHide = autoHide;
152
+ this.emitShow = emitShow;
153
+ this.emitHide = emitHide;
154
+ }
155
+ }
156
+
157
+ exports.Tooltip = Tooltip;
@@ -4,7 +4,11 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const generate = require('./generate-f73a098d.js');
7
+ const generate = require('./generate-82c63a56.js');
8
+
9
+ class DateTimeHelper {
10
+ }
11
+ DateTimeHelper.convertTimeStampToDate = (timestamp) => new Date(timestamp);
8
12
 
9
13
  class Validators {
10
14
  }
@@ -30,4 +34,5 @@ Validators.isValidate = (str, type) => {
30
34
  }
31
35
  };
32
36
 
37
+ exports.DateTimeHelper = DateTimeHelper;
33
38
  exports.Validators = Validators;
@@ -56,7 +56,7 @@ export class BcmAvatar {
56
56
  }
57
57
  }
58
58
  else if (this.image) {
59
- return h("img", { class: image(), onError: () => (this.isFallback = true), src: this.image, alt: this.alt, "aria-label": this.alt || this.name || "Avatar" });
59
+ return h("img", { class: image(), onError: () => (this.isFallback = true), src: this.image, alt: this.alt });
60
60
  }
61
61
  else if (this.name) {
62
62
  return this.getFirstLetters(this.name);
@@ -24,7 +24,7 @@ export class BcmBadge {
24
24
  render() {
25
25
  const { blink, value, size, color, status } = this;
26
26
  const _color = this.statusColors[status] || color;
27
- const { tone, colorName } = ColorHelper.parseColor(_color, 700);
27
+ const { tone, colorName } = ColorHelper.parseColor(_color);
28
28
  const dc = Generate.getTwColor({
29
29
  color: colorName,
30
30
  tones: {
@@ -7,7 +7,7 @@ export const badgeStyle = tv({
7
7
  slots: {
8
8
  host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal ",
9
9
  base: [
10
- "bcm-badge__dot tw-z-10",
10
+ "bcm-badge__dot",
11
11
  "tw-flex tw-items-center tw-justify-center tw-flex-row",
12
12
  "tw-rounded-full tw-text-center",
13
13
  "tw-bg-[--bcm-badge-bg] tw-text-[--bcm-badge-text]",
@@ -132,36 +132,36 @@
132
132
  width: fit-content;
133
133
  height: fit-content;
134
134
  --bcm-button-solid-color-default: var(--bcm-new-ds-color-white);
135
- --bcm-button-solid-background-color-default: var(--bcm-new-ds-color-blue-700);
136
- --bcm-button-solid-border-default: var(--bcm-new-ds-color-blue-700);
135
+ --bcm-button-solid-background-color-default: var(--bcm-new-ds-color-blue-500);
136
+ --bcm-button-solid-border-default: var(--bcm-new-ds-color-blue-500);
137
137
  --bcm-button-solid-color-hover: var(--bcm-new-ds-color-white);
138
- --bcm-button-solid-background-color-hover: var(--bcm-new-ds-color-blue-800);
139
- --bcm-button-solid-border-hover: var(--bcm-new-ds-color-blue-800);
138
+ --bcm-button-solid-background-color-hover: var(--bcm-new-ds-color-blue-600);
139
+ --bcm-button-solid-border-hover: var(--bcm-new-ds-color-blue-600);
140
140
  --bcm-button-solid-color-focus-visible: var(--bcm-new-ds-color-white);
141
- --bcm-button-solid-background-color-focus-visible: var(--bcm-new-ds-color-blue-900);
142
- --bcm-button-solid-border-focus-visible: var(--bcm-new-ds-color-blue-900);
141
+ --bcm-button-solid-background-color-focus-visible: var(--bcm-new-ds-color-blue-800);
142
+ --bcm-button-solid-border-focus-visible: var(--bcm-new-ds-color-blue-800);
143
143
  --bcm-button-solid-color-active: var(--bcm-new-ds-color-white);
144
- --bcm-button-solid-background-color-active: var(--bcm-new-ds-color-blue-900);
145
- --bcm-button-solid-border-active: var(--bcm-new-ds-color-blue-900);
144
+ --bcm-button-solid-background-color-active: var(--bcm-new-ds-color-blue-700);
145
+ --bcm-button-solid-border-active: var(--bcm-new-ds-color-blue-700);
146
146
  --bcm-button-solid-color-disabled: var(--bcm-new-ds-color-white);
147
147
  --bcm-button-solid-background-color-disabled: var(--bcm-new-ds-color-slate-400);
148
148
  --bcm-button-solid-border-disabled: var(--bcm-new-ds-color-slate-400);
149
- --bcm-button-ghost-color-default: var(--bcm-new-ds-color-slate-700);
149
+ --bcm-button-ghost-color-default: var(--bcm-new-ds-color-slate-600);
150
150
  --bcm-button-ghost-background-color-default: var(--bcm-new-ds-color-slate-100);
151
151
  --bcm-button-ghost-border-default: var(--bcm-new-ds-color-slate-300);
152
- --bcm-button-ghost-color-hover: var(--bcm-new-ds-color-slate-700);
152
+ --bcm-button-ghost-color-hover: var(--bcm-new-ds-color-slate-600);
153
153
  --bcm-button-ghost-background-color-hover: var(--bcm-new-ds-color-slate-200);
154
154
  --bcm-button-ghost-border-hover: var(--bcm-new-ds-color-slate-400);
155
- --bcm-button-ghost-color-focus-visible: var(--bcm-new-ds-color-slate-700);
155
+ --bcm-button-ghost-color-focus-visible: var(--bcm-new-ds-color-slate-600);
156
156
  --bcm-button-ghost-background-color-focus-visible: var(--bcm-new-ds-color-slate-400);
157
157
  --bcm-button-ghost-border-focus-visible: var(--bcm-new-ds-color-slate-600);
158
- --bcm-button-ghost-color-active: var(--bcm-new-ds-color-slate-700);
158
+ --bcm-button-ghost-color-active: var(--bcm-new-ds-color-slate-600);
159
159
  --bcm-button-ghost-background-color-active: var(--bcm-new-ds-color-slate-300);
160
160
  --bcm-button-ghost-border-active: var(--bcm-new-ds-color-slate-500);
161
161
  --bcm-button-ghost-color-disabled: var(--bcm-new-ds-color-slate-300);
162
162
  --bcm-button-ghost-background-color-disabled: var(--bcm-new-ds-color-slate-50);
163
163
  --bcm-button-ghost-border-disabled: var(--bcm-new-ds-color-slate-200);
164
- --bcm-button-link-color-default: var(--bcm-new-ds-color-blue-700);
164
+ --bcm-button-link-color-default: var(--bcm-new-ds-color-blue-500);
165
165
  --bcm-button-link-background-color-default: var(--bcm-new-ds-color-transparent);
166
166
  --bcm-button-link-border-default: var(--bcm-new-ds-color-transparent);
167
167
  --bcm-button-link-color-hover: var(--bcm-new-ds-color-blue-600);
@@ -77,24 +77,24 @@ export class BcmButton {
77
77
  [`${prefix}-color-focus-visible`]: ColorHelper.dsColor('white'),
78
78
  [`${prefix}-color-active`]: ColorHelper.dsColor('white'),
79
79
  [`${prefix}-color-disabled`]: ColorHelper.dsColor('white'),
80
- [`${prefix}-background-color-default`]: ColorHelper.dsColor(color + '-700'),
81
- [`${prefix}-background-color-hover`]: ColorHelper.dsColor(color + '-800'),
82
- [`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(color + '-900'),
83
- [`${prefix}-background-color-active`]: ColorHelper.dsColor(color + '-900'),
80
+ [`${prefix}-background-color-default`]: ColorHelper.dsColor(color + '-500'),
81
+ [`${prefix}-background-color-hover`]: ColorHelper.dsColor(color + '-600'),
82
+ [`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(color + '-700'),
83
+ [`${prefix}-background-color-active`]: ColorHelper.dsColor(color + '-800'),
84
84
  [`${prefix}-background-color-disabled`]: ColorHelper.dsColor('slate-400'),
85
- [`${prefix}-border-default`]: ColorHelper.dsColor(color + '-700'),
86
- [`${prefix}-border-hover`]: ColorHelper.dsColor(color + '-800'),
87
- [`${prefix}-border-focus-visible`]: ColorHelper.dsColor(color + '-900'),
88
- [`${prefix}-border-active`]: ColorHelper.dsColor(color + '-900'),
85
+ [`${prefix}-border-default`]: ColorHelper.dsColor(color + '-500'),
86
+ [`${prefix}-border-hover`]: ColorHelper.dsColor(color + '-600'),
87
+ [`${prefix}-border-focus-visible`]: ColorHelper.dsColor(color + '-700'),
88
+ [`${prefix}-border-active`]: ColorHelper.dsColor(color + '-800'),
89
89
  [`${prefix}-border-disabled`]: ColorHelper.dsColor('slate-400')
90
90
  };
91
91
  }
92
92
  else if (kind == 'link') {
93
93
  return {
94
- [`${prefix}-color-default`]: ColorHelper.dsColor(color + '-700'),
95
- [`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-800'),
96
- [`${prefix}-color-focus-visible`]: ColorHelper.dsColor(color + '-900'),
97
- [`${prefix}-color-active`]: ColorHelper.dsColor(color + '-900'),
94
+ [`${prefix}-color-default`]: ColorHelper.dsColor(color + '-500'),
95
+ [`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-600'),
96
+ [`${prefix}-color-focus-visible`]: ColorHelper.dsColor(color + '-800'),
97
+ [`${prefix}-color-active`]: ColorHelper.dsColor(color + '-700'),
98
98
  [`${prefix}-color-disabled`]: ColorHelper.dsColor('slate-400'),
99
99
  [`${prefix}-background-color-default`]: ColorHelper.dsColor('transparent'),
100
100
  [`${prefix}-background-color-hover`]: ColorHelper.dsColor('transparent'),
@@ -110,8 +110,8 @@ export class BcmButton {
110
110
  }
111
111
  else if (kind == 'ghost') {
112
112
  return {
113
- [`${prefix}-color-default`]: ColorHelper.dsColor(color + '-700'),
114
- [`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-800'),
113
+ [`${prefix}-color-default`]: ColorHelper.dsColor(color + '-600'),
114
+ [`${prefix}-color-hover`]: ColorHelper.dsColor(color + '-600'),
115
115
  [`${prefix}-color-focus-visible`]: ColorHelper.dsColor(color + '-600'),
116
116
  [`${prefix}-color-active`]: ColorHelper.dsColor(color + '-600'),
117
117
  [`${prefix}-color-disabled`]: ColorHelper.dsColor(color + '-300'),
@@ -128,13 +128,13 @@
128
128
  }
129
129
 
130
130
  .bcm-chip {
131
- --bcm-chip-color: var(--bcm-new-ds-color-slate-700);
132
- --bcm-chip-color-hover: var(--bcm-new-ds-color-slate-700);
131
+ --bcm-chip-color: var(--bcm-new-ds-color-slate-500);
132
+ --bcm-chip-color-hover: var(--bcm-new-ds-color-slate-500);
133
133
  --bcm-chip-color-focus: var(--bcm-new-ds-color-slate-700);
134
134
  --bcm-chip-color-active: var(--bcm-new-ds-color-slate-700);
135
135
  --bcm-chip-color-disabled: var(--bcm-new-ds-color-slate-300);
136
- --bcm-chip-background-color: var(--bcm-new-ds-color-slate-100);
137
- --bcm-chip-background-color-hover: var(--bcm-new-ds-color-slate-200);
136
+ --bcm-chip-background-color: var(--bcm-new-ds-color-slate-200);
137
+ --bcm-chip-background-color-hover: var(--bcm-new-ds-color-slate-300);
138
138
  --bcm-chip-background-color-focus: var(--bcm-new-ds-color-slate-300);
139
139
  --bcm-chip-background-color-active: var(--bcm-new-ds-color-slate-400);
140
140
  --bcm-chip-background-color-disabled: var(--bcm-new-ds-color-slate-100);
@@ -25,9 +25,9 @@ export class BcmChip {
25
25
  return;
26
26
  const color = this.selected ? "indigo" : this.color; // Important: Find a solution for this in V3! ( selected ? this.color : "indigo" )
27
27
  return {
28
- "--bcm-chip-color": ColorHelper.dsColor(color + "-700"),
29
- "--bcm-chip-color-hover": ColorHelper.dsColor(color + "-700"),
30
- "--bcm-chip-color-focus": ColorHelper.dsColor(color + "-700"),
28
+ "--bcm-chip-color": ColorHelper.dsColor(color + "-500"),
29
+ "--bcm-chip-color-hover": ColorHelper.dsColor(color + "-500"),
30
+ "--bcm-chip-color-focus": ColorHelper.dsColor(color + "-600"),
31
31
  "--bcm-chip-color-active": ColorHelper.dsColor(color + "-700"),
32
32
  "--bcm-chip-color-disabled": ColorHelper.dsColor("slate" + "-300"),
33
33
  "--bcm-chip-background-color": ColorHelper.dsColor(color + "-100"),
@@ -150,7 +150,7 @@
150
150
  gap: unset;
151
151
  }
152
152
  .bcm-checkbox-group__container.indeterminate {
153
- padding-top: 8px;
154
- margin-top: 8px;
153
+ padding-top: 16px;
154
+ margin-top: 16px;
155
155
  border-top: 1px solid #efefef;
156
156
  }
@@ -190,7 +190,7 @@ export class BcmCheckboxGroup {
190
190
  });
191
191
  return (h(Host, { class: bcmChechboxGroup }, h("span", { hidden: true, id: `bcm-checkbox-group__items-${this._id}` }, h("slot", null)), h("div", { class: "bcm-checkbox-group__label" }, label &&
192
192
  h("div", null, h(LabelTemplate, { size: this.size, type: captionType, value: label, required: required }))), indeterminate &&
193
- h("bcm-checkbox", { onClick: (e) => { this.indeterminateClick(), e.preventDefault(); }, "no-caption": true, "no-margin": true, id: "bcm-indeterminate-element", indeterminate: indeterminateState, disabled: disabled }, "Check All"), h(CheckboxGroupTemplate, { items: items, groupContainerClasses: bcmChechboxGroupContainer, customStyle: gap && ({ 'gap': gap }), onBcmSelect: (id) => this.changeCheckBox(id) })));
193
+ h("bcm-checkbox", { onClick: (e) => { this.indeterminateClick(), e.preventDefault(); }, "no-caption": true, id: "bcm-indeterminate-element", indeterminate: indeterminateState, disabled: disabled }, "Check All"), h(CheckboxGroupTemplate, { items: items, groupContainerClasses: bcmChechboxGroupContainer, customStyle: gap && ({ 'gap': gap }), onBcmSelect: (id) => this.changeCheckBox(id) })));
194
194
  }
195
195
  static get is() { return "bcm-checkbox-group"; }
196
196
  static get originalStyleUrls() {
@@ -49,7 +49,7 @@ export class BcmColorInput {
49
49
  return typeof window !== "undefined" && "EyeDropper" in window;
50
50
  }
51
51
  render() {
52
- return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-gray-100", style: {
52
+ return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e) }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-gray-100", style: {
53
53
  backgroundColor: this.value,
54
54
  } }), this.isEyeDropperSupported() && h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), h("bcm-linked", { targetId: this._id + "-color-container" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.handleChange(e.detail) }))));
55
55
  }
@@ -8,7 +8,7 @@ export class BcmEmpty {
8
8
  this.icon = undefined;
9
9
  }
10
10
  render() {
11
- return (h(Host, { class: "tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1 tw-bg-slate-50 tw-text-center tw-rounded tw-gap-3" }, this.icon && h("i", { class: `tw-text-8 tw-text-amber-500 ${this.icon}` }), h("bcm-typography", { class: "tw-text-slate-700 tw-text-2" }, h("slot", null))));
11
+ return (h(Host, { class: "tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1 tw-bg-slate-50 tw-text-center tw-rounded tw-gap-3" }, this.icon && h("i", { class: `tw-text-8 tw-text-amber-400 ${this.icon}` }), h("bcm-typography", { class: "tw-text-slate-400 tw-text-2" }, h("slot", null))));
12
12
  }
13
13
  static get is() { return "bcm-empty"; }
14
14
  static get properties() {
@@ -43,7 +43,7 @@ export class BcmErrorLayout {
43
43
  const { itemsProp } = this;
44
44
  const classes = cs('error-layout', this.size);
45
45
  const hostClasses = cs(this.hidden ? 'hidden' : null);
46
- return (h(Host, { class: hostClasses }, itemsProp.length > 0 && (h("div", { class: classes }, h("ul", null, this.itemsProp.map((item) => h("li", null, h("span", null, item))))))));
46
+ return (h(Host, { class: hostClasses }, itemsProp.length > 0 && (h("div", { class: classes }, this.itemsProp.map((item) => h("li", null, h("span", null, item)))))));
47
47
  }
48
48
  static get is() { return "bcm-error-layout"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -90,7 +90,7 @@ export class BcmExpansionPanel {
90
90
  'bcm-expansion-panel--icon-right': this.expandIconPosition === 'right',
91
91
  hidden,
92
92
  });
93
- return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger, "aria-label": message }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "far fa-chevron-down" })))), h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, h("slot", null))));
93
+ return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "far fa-chevron-down" })))), h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, h("slot", null))));
94
94
  }
95
95
  static get is() { return "bcm-expansion-panel"; }
96
96
  static get originalStyleUrls() {
@@ -376,7 +376,7 @@ export class BcmInput {
376
376
  // 'no-margin': noMargin,
377
377
  'full-width': fullWidth
378
378
  });
379
- return (h(Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id, id: _id + "-label" }), h(InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == Bcm.InputType.color &&
379
+ return (h(Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h(InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == Bcm.InputType.color &&
380
380
  h("bcm-linked", { targetId: this._id + "-container", id: this._id + "-linked" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.setValue(e.detail) }))));
381
381
  }
382
382
  static get is() { return "bcm-input"; }
@@ -196,7 +196,7 @@ export class BcmInputDropdown {
196
196
  };
197
197
  const CommentTemplate = () => {
198
198
  var _a, _b, _c;
199
- return (h(Fragment, null, this.isOpenMenu ? (h("div", { class: commentArea() }, this.isLate ? (h(Fragment, null, h("bcm-input", { label: "Minus Late", required: true, id: this._id + "-input-dropdown-late-content-input", type: "number", "full-width": true, autocomplete: false, min: 0, max: 200, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", customErrorMessage: "Max limit 200 mins", "onBcm-change": ({ detail }) => (this.value.lateMin = +detail) }, h("i", { slot: "prefix", class: "far fa-clock" })))) : null, h("bcm-textarea", { "full-width": true, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.comment) !== null && _c !== void 0 ? _c : "", "onBcm-change": ({ detail }) => (this.value.comment = detail), label: "Description", "no-caption": true, rows: 4 }), h("footer", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2" }, h("bcm-button", { role: "button", "aria-labelledby": "button", "aria-label": "button", icon: "fas fa-times", kind: "ghost", "icon-position": "prefix", onClick: () => { var _a; return (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide(); } }, "Close"), h("bcm-button", { role: "button", "aria-labelledby": "button", "aria-label": "button", icon: "fas fa-save", "icon-position": "prefix", onClick: () => this.onClickSave() }, "Save")))) : null));
199
+ return (h(Fragment, null, this.isOpenMenu ? (h("div", { class: commentArea() }, this.isLate ? (h(Fragment, null, h("bcm-input", { label: "Minus Late", required: true, id: this._id + "-input-dropdown-late-content-input", type: "number", "full-width": true, autocomplete: false, min: 0, max: 200, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", customErrorMessage: "Max limit 200 mins", "onBcm-change": ({ detail }) => (this.value.lateMin = +detail) }, h("i", { slot: "prefix", class: "far fa-clock" })))) : null, h("bcm-textarea", { "full-width": true, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.comment) !== null && _c !== void 0 ? _c : "", "onBcm-change": ({ detail }) => (this.value.comment = detail), label: "Description", "no-caption": true, rows: 4 }), h("footer", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2" }, h("bcm-button", { icon: "fas fa-times", kind: "ghost", "icon-position": "prefix", onClick: () => { var _a; return (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide(); } }, "Close"), h("bcm-button", { icon: "fas fa-save", "icon-position": "prefix", onClick: () => this.onClickSave() }, "Save")))) : null));
200
200
  };
201
201
  return (h(Host, { class: base() }, label && h("bcm-label", { htmlFor: _id + "-dropdown-input", size: size, value: label, required: required }), h("div", { class: content() }, h("div", { class: inputArea() }, h("input", { id: _id + "-dropdown-input", class: input(), style: { color: (_a = this.value) === null || _a === void 0 ? void 0 : _a.color }, type: "text", tabIndex: -1, placeholder: placeholder, value: (_b = this.value) === null || _b === void 0 ? void 0 : _b.key, disabled: disabled, required: required, autoComplete: "off", readOnly: readonly, onKeyPress: e => this.handleKeyPress(e), onInput: e => this.handleInput(e), ref: el => (this._input = el) }), h("button", { disabled: disabled, id: `i-dropdown-button-${_id}`, class: button(), onClick: () => (this.isOpenMenu = true) }, h("i", { class: "fas fa-chevron-down" })), h("bcm-linked", { "onBcm-open": ({ detail }) => { var _a; return detail && ((_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide()); }, class: "tw-mt-1", id: `i-dropdown-menu-${_id}`, "target-id": `i-dropdown-button-${_id}`, placement: "bottom-start" }, h(MenuTemplates, null)), h("bcm-linked", { id: `i-dropdown-comment-${_id}`, "target-id": _id, trigger: "custom", placement: "left" }, h(CommentTemplate, null))), !this.hideComment ? (h("span", { onClick: () => {
202
202
  var _a, _b;
@@ -135,7 +135,7 @@
135
135
  --bcm-menu-background-color-hover: var(--bcm-new-ds-color-slate-50);
136
136
  --bcm-menu-icon-color-hover: var(--bcm-new-ds-color-slate-700);
137
137
  --bcm-menu-color-active: var(--bcm-new-ds-color-white);
138
- --bcm-menu-background-color-active: var(--bcm-color-primary-600);
138
+ --bcm-menu-background-color-active: var(--bcm-color-primary-500);
139
139
  --bcm-menu-icon-color-active: var(--bcm-new-ds-color-white);
140
140
  --bcm-menu-color-focus-visible: var(--bcm-new-ds-color-white);
141
141
  --bcm-menu-background-color-focus-visible: var(--bcm-color-primary-600);
@@ -147,13 +147,13 @@
147
147
  --bcm-menu-background-color-dropdownDisabled: var(--bcm-new-ds-color-transparent);
148
148
  --bcm-menu-icon-color-dropdownDisabled: var(--bcm-new-ds-color-slate-400);
149
149
  --bcm-menu-color-active-hover: var(--bcm-new-ds-color-white);
150
- --bcm-menu-background-color-active-hover: var(--bcm-color-primary-700);
150
+ --bcm-menu-background-color-active-hover: var(--bcm-color-primary-400);
151
151
  --bcm-menu-icon-color-active-hover: var(--bcm-new-ds-color-white);
152
152
  --bcm-menu-color-active-focus-visible: var(--bcm-new-ds-color-white);
153
- --bcm-menu-background-color-active-focus-visible: var(--bcm-color-primary-800);
153
+ --bcm-menu-background-color-active-focus-visible: var(--bcm-color-primary-700);
154
154
  --bcm-menu-icon-color-active-focus-visible: var(--bcm-new-ds-color-white);
155
155
  --bcm-menu-color-active-active: var(--bcm-new-ds-color-white);
156
- --bcm-menu-background-color-active-active: var(--bcm-color-primary-900);
156
+ --bcm-menu-background-color-active-active: var(--bcm-color-primary-800);
157
157
  --bcm-menu-icon-color-active-active: var(--bcm-new-ds-color-white);
158
158
  font-family: "Inter", sans-serif;
159
159
  font-size: 14px;
@@ -260,7 +260,7 @@
260
260
  display: block;
261
261
  width: 100%;
262
262
  height: 4px;
263
- background-color: var(--bcm-color-primary-500);
263
+ background-color: var(--bcm-color-primary-400);
264
264
  position: absolute;
265
265
  top: -4px;
266
266
  left: 0;
@@ -126,7 +126,7 @@ export class BcmRadioGroup {
126
126
  render() {
127
127
  var _a, _b;
128
128
  const { direction, fullWidth, gap, label, size, required, disabled, caption, captionError, captionType, noCaption } = this;
129
- return (h(Host, { class: "tw-mb-2 tw-flex tw-flex-col", role: "radiogroup", "aria-labelledby": "radiogroup" }, label && h("bcm-label", { type: captionType, value: label, required: required }), h("div", { class: cs("tw-flex tw-flex-wrap", direction == Bcm.Direction.horizontal ? "tw-flex-row" : "tw-flex-col", fullWidth && "tw-w-full"), style: { "gap": gap } }, h("slot", null), ((_a = this.Items) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
129
+ return (h(Host, { role: "radio-group", class: "tw-mb-2 tw-flex tw-flex-col" }, label && h("bcm-label", { type: captionType, value: label, required: required }), h("div", { class: cs("tw-flex tw-flex-wrap", direction == Bcm.Direction.horizontal ? "tw-flex-row" : "tw-flex-col", fullWidth && "tw-w-full"), style: { "gap": gap } }, h("slot", null), ((_a = this.Items) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
130
130
  ((_b = this.Items) === null || _b === void 0 ? void 0 : _b.map(item => (h("bcm-radio", { id: item.id, value: item.value, disabled: disabled || item.disabled, checked: item.checked, color: item.color, size: size }, item.label))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
131
131
  }
132
132
  static get is() { return "bcm-radio-group"; }
@@ -23,7 +23,7 @@ export class BcmRadio {
23
23
  "tw-text-1": size === Bcm.Size.small,
24
24
  "tw-text-2.5": size === Bcm.Size.medium,
25
25
  "tw-text-4": size === Bcm.Size.large,
26
- }), style: (Generate.getTwColor(color)) }, h("label", { class: cs("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, h("input", { role: "radio", "aria-label": "radio", id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: cs("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
26
+ }), style: (Generate.getTwColor(color)) }, h("label", { class: cs("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: cs("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
27
27
  "tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === Bcm.Size.medium,
28
28
  "tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === Bcm.Size.small,
29
29
  "tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === Bcm.Size.large,
@@ -162,7 +162,7 @@ export class BcmRange {
162
162
  height: '100%',
163
163
  width: height,
164
164
  };
165
- return (h(Host, { class: hostClasses, style: direction == Bcm.Direction.vertical && { height: height } }, h("div", { class: "bcm-range__container", style: direction == Bcm.Direction.vertical && verticalStyle }, h("input", { type: "range", role: "slider", "aria-label": "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), h("input", { type: "range", id: `input-right-${this._id}`, role: "slider", "aria-label": "range", min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), h("div", { class: "bcm-range__container-bar" }, h("div", { class: "ticks" }, h(Ticks, null)), h("div", { class: "bcm-range__container-bar-track" }), h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, h("span", null)), h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, h("span", null))), h("div", { class: "touch" }, h(Touch, null)))));
165
+ return (h(Host, { class: hostClasses, style: direction == Bcm.Direction.vertical && { height: height } }, h("div", { class: "bcm-range__container", style: direction == Bcm.Direction.vertical && verticalStyle }, h("input", { type: "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), h("input", { type: "range", id: `input-right-${this._id}`, min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), h("div", { class: "bcm-range__container-bar" }, h("div", { class: "ticks" }, h(Ticks, null)), h("div", { class: "bcm-range__container-bar-track" }), h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, h("span", null)), h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, h("span", null))), h("div", { class: "touch" }, h(Touch, null)))));
166
166
  }
167
167
  static get is() { return "bcm-range"; }
168
168
  static get originalStyleUrls() {