bromcom-ui 2.12.3-rc.3-test.0 → 3.0.0-alpha.0

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 (436) 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-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-540fbc32.entry.js → p-10687c62.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-c49b6287.entry.js → p-19ed830b.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-32c55505.entry.js → p-1a7e1a74.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-d59d9687.entry.js → p-1fbec9e4.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-dd24646a.entry.js → p-2afde14e.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-beaec5b8.js → p-2d0ff35e.js} +1 -1
  10. package/dist/bromcom-ui/{p-7e0e02b3.js → p-31a60231.js} +1 -1
  11. package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-cbcf6d9c.js → p-3be27626.js} +1 -1
  13. package/dist/bromcom-ui/{p-6bea284a.js → p-499d8454.js} +1 -1
  14. package/dist/bromcom-ui/{p-a6aa173f.entry.js → p-4a71c61a.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-80edaf47.entry.js → p-4cc12992.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-c77541f4.js → p-4d2bf0e7.js} +2 -2
  17. package/dist/bromcom-ui/p-556010cb.js +5 -0
  18. package/dist/bromcom-ui/{p-a00b053e.entry.js → p-56b9cdf7.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-1b558b0f.entry.js → p-583982a6.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-59dc2542.js +5 -0
  21. package/dist/bromcom-ui/{p-fec89309.entry.js → p-5adcfd9b.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
  23. package/dist/bromcom-ui/{p-9f5ee998.entry.js → p-5f47e061.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  25. package/dist/bromcom-ui/{p-507db92e.entry.js → p-6d42e250.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-8c018ae0.js → p-6f2e4c9b.js} +1 -1
  28. package/dist/bromcom-ui/{p-7e44e6b5.js → p-6f861fed.js} +1 -1
  29. package/dist/bromcom-ui/{p-d1298c40.js → p-7b21fcb9.js} +1 -1
  30. package/dist/bromcom-ui/p-815f884d.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-6657830f.js → p-85eedabc.js} +1 -1
  32. package/dist/bromcom-ui/{p-974a427c.entry.js → p-8c009880.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-8d0d0c5b.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
  35. package/dist/bromcom-ui/{p-cf11cdde.entry.js → p-8f062608.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-9cbf3f1d.entry.js +16 -0
  37. package/dist/bromcom-ui/{p-aeb4be41.js → p-a2df6c19.js} +1 -1
  38. package/dist/bromcom-ui/{p-8b8dd8fe.entry.js → p-a2e0a182.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-2b42d77e.entry.js → p-a6b4a46d.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-a6b696de.js +5 -0
  41. package/dist/bromcom-ui/p-a947136c.entry.js +5 -0
  42. package/dist/bromcom-ui/{p-fafa70ac.entry.js → p-ac720743.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-10f511ff.entry.js → p-b3af25ef.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-77ef609e.entry.js → p-b46e368e.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-25bbe3e6.entry.js → p-bae91cbf.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-15402dac.entry.js → p-c10b25e2.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-59f7fa84.entry.js → p-c4bf7f7e.entry.js} +1 -1
  48. package/dist/bromcom-ui/p-c4d524b5.entry.js +5 -0
  49. package/dist/bromcom-ui/{p-9b59c689.entry.js → p-c5bb29d0.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-052005c9.js → p-c7ae8fa9.js} +1 -1
  51. package/dist/bromcom-ui/{p-5d670fd7.entry.js → p-cc70861b.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-e8eaa3bb.entry.js → p-d0e56f5f.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-a31644e3.entry.js → p-d49d3d72.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-a0d6d680.js → p-d65bc842.js} +1 -1
  55. package/dist/bromcom-ui/{p-d19d45ed.entry.js → p-dc2d5b2f.entry.js} +1 -1
  56. package/dist/bromcom-ui/p-dc73abe2.js +5 -0
  57. package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
  58. package/dist/bromcom-ui/p-e46fde49.js +5 -0
  59. package/dist/bromcom-ui/{p-87192588.entry.js → p-e499306b.entry.js} +1 -1
  60. package/dist/bromcom-ui/p-ebd9132c.entry.js +5 -0
  61. package/dist/bromcom-ui/{p-01e63843.entry.js → p-f5a8e601.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-9253d439.entry.js → p-f66c4afa.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-a486613b.entry.js → p-fdd4cabe.entry.js} +1 -1
  64. package/dist/cjs/bcm-accordion_68.cjs.entry.js +47182 -0
  65. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +4 -4
  66. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
  67. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  68. package/dist/cjs/bcm-caption.cjs.entry.js +5 -5
  69. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  70. package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
  71. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
  72. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  73. package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
  74. package/dist/cjs/bcm-input-2.cjs.entry.js +5 -5
  75. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  76. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +5 -5
  77. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  78. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  79. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-number-input.cjs.entry.js +6 -6
  81. package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
  82. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  83. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  84. package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
  85. package/dist/cjs/bcm-toast.cjs.entry.js +18 -18
  86. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  87. package/dist/cjs/{caption-template-85a18b6d.js → caption-template-f8a78504.js} +9 -9
  88. package/dist/cjs/{generate-bff3fa38.js → generate-e3956756.js} +14 -14
  89. package/dist/cjs/{global-825d9cd4.js → global-642cd031.js} +1 -1
  90. package/dist/cjs/{input.style-b5676e6a.js → input.style-bee84fb0.js} +1 -1
  91. package/dist/cjs/{label-template-e83447b5.js → label-template-fc301e0c.js} +4 -4
  92. package/dist/cjs/loader.cjs.js +3 -3
  93. package/dist/cjs/{number-helper-9bc46d37.js → number-helper-43361f4e.js} +1 -1
  94. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  95. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  96. package/dist/cjs/{package-dda6f822.js → package-033055fc.js} +1 -1
  97. package/dist/cjs/{validators-c0eef77a.js → validators-9a6ae72d.js} +1 -1
  98. package/dist/collection/collection-manifest.json +1 -1
  99. package/dist/collection/components/atoms/avatar/avatar.js +1 -1
  100. package/dist/collection/components/atoms/avatar/avatar.style.js +4 -4
  101. package/dist/collection/components/atoms/badge/badge.style.js +8 -8
  102. package/dist/collection/components/atoms/button/button.css +90 -92
  103. package/dist/collection/components/atoms/button/button.js +45 -46
  104. package/dist/collection/components/atoms/chip/chip.css +27 -29
  105. package/dist/collection/components/atoms/chip/chip.js +10 -11
  106. package/dist/collection/components/atoms/divider/divider.css +4 -4
  107. package/dist/collection/components/atoms/link/link.css +10 -11
  108. package/dist/collection/components/molecules/accordion/accordion.css +23 -0
  109. package/dist/collection/components/molecules/accordion/accordion.js +1 -1
  110. package/dist/collection/components/molecules/alert/alert.css +28 -24
  111. package/dist/collection/components/molecules/alert/alert.js +26 -36
  112. package/dist/collection/components/molecules/button-group/button-group.css +15 -23
  113. package/dist/collection/components/molecules/checkbox/checkbox.css +15 -15
  114. package/dist/collection/components/molecules/checkbox/checkbox.js +8 -9
  115. package/dist/collection/components/molecules/color-input/color-input.js +1 -1
  116. package/dist/collection/components/molecules/empty/empty.js +1 -1
  117. package/dist/collection/components/molecules/error-layout/error-layout.css +13 -15
  118. package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
  119. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +25 -22
  120. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
  121. package/dist/collection/components/molecules/input/input.css +21 -13
  122. package/dist/collection/components/molecules/input/input.style.js +1 -1
  123. package/dist/collection/components/molecules/menu/menu.css +29 -23
  124. package/dist/collection/components/molecules/modal/modal.css +21 -27
  125. package/dist/collection/components/molecules/radio/radio.js +10 -10
  126. package/dist/collection/components/molecules/range/range.css +5 -8
  127. package/dist/collection/components/molecules/search/search.css +21 -13
  128. package/dist/collection/components/molecules/stepper/stepper.css +6 -5
  129. package/dist/collection/components/molecules/switch/switch.css +22 -21
  130. package/dist/collection/components/molecules/tab-group/tab-item-header.js +6 -6
  131. package/dist/collection/components/molecules/textarea/textarea.css +21 -13
  132. package/dist/collection/components/organism/list/list.css +44 -44
  133. package/dist/collection/components/other/shortcut/shortcut.js +4 -4
  134. package/dist/collection/components/other/toast/toast.js +16 -16
  135. package/dist/collection/components/third-parts/colorful/colorful.css +21 -13
  136. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +13 -9
  137. package/dist/collection/global/components/_checkbox.css +15 -15
  138. package/dist/collection/helper/popover-helper.js +5 -5
  139. package/dist/collection/helper/tooltip-helper.js +6 -6
  140. package/dist/collection/templates/caption-template.js +9 -9
  141. package/dist/collection/templates/input-template.js +1 -1
  142. package/dist/collection/templates/label-template.js +4 -4
  143. package/dist/collection/templates/step-template.js +4 -4
  144. package/dist/components/Overflow.js +141 -83
  145. package/dist/components/avatar.js +6 -6
  146. package/dist/components/badge.js +9 -9
  147. package/dist/components/bcm-accordion.js +2 -2
  148. package/dist/components/bcm-alert.js +28 -41
  149. package/dist/components/bcm-attendance-actions-comment.js +1 -1
  150. package/dist/components/bcm-attendance-actions-dropdown.js +1 -1
  151. package/dist/components/bcm-attendance-actions.js +1 -1
  152. package/dist/components/bcm-button-group.js +1 -1
  153. package/dist/components/bcm-checkbox-group.js +1 -1
  154. package/dist/components/bcm-color-input.js +1 -1
  155. package/dist/components/bcm-error-layout.js +2 -2
  156. package/dist/components/bcm-expansion-panel.js +2 -2
  157. package/dist/components/bcm-input-2.js +1 -1
  158. package/dist/components/bcm-input-dropdown.js +1 -1
  159. package/dist/components/bcm-modal.js +1 -1
  160. package/dist/components/bcm-popover.js +5 -5
  161. package/dist/components/bcm-range.js +1 -1
  162. package/dist/components/bcm-shortcut.js +4 -4
  163. package/dist/components/bcm-stepper.js +6 -6
  164. package/dist/components/bcm-switch.js +1 -1
  165. package/dist/components/bcm-tab-item-header.js +6 -6
  166. package/dist/components/bcm-toast.js +16 -16
  167. package/dist/components/button.js +47 -48
  168. package/dist/components/caption-template.js +9 -9
  169. package/dist/components/checkbox-lite.js +1 -1
  170. package/dist/components/checkbox.js +9 -10
  171. package/dist/components/chip.js +11 -12
  172. package/dist/components/colorful.js +1 -1
  173. package/dist/components/divider.js +1 -1
  174. package/dist/components/empty.js +1 -1
  175. package/dist/components/generate.js +1 -1
  176. package/dist/components/index4.js +2549 -171
  177. package/dist/components/index5.js +171 -2549
  178. package/dist/components/input-template.js +1 -1
  179. package/dist/components/input.js +1 -1
  180. package/dist/components/input.style.js +2 -2
  181. package/dist/components/label.js +4 -4
  182. package/dist/components/link.js +1 -1
  183. package/dist/components/list.js +2 -2
  184. package/dist/components/menu.js +1 -1
  185. package/dist/components/radio.js +10 -10
  186. package/dist/components/rc-picker.js +2651 -2404
  187. package/dist/components/search.js +2 -2
  188. package/dist/components/skeleton.js +1 -1
  189. package/dist/components/step.js +1 -1
  190. package/dist/components/textarea.js +1 -1
  191. package/dist/components/tooltip-helper.js +6 -6
  192. package/dist/esm/{_commonjsHelpers-82aa9212.js → _commonjsHelpers-7002e5de.js} +1 -1
  193. package/dist/esm/bcm-accordion_68.entry.js +47111 -0
  194. package/dist/esm/bcm-attendance-actions-comment.entry.js +11 -11
  195. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +12 -12
  196. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  197. package/dist/esm/bcm-box.entry.js +1 -1
  198. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  199. package/dist/esm/bcm-caption.entry.js +13 -13
  200. package/dist/esm/bcm-card.entry.js +10 -10
  201. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  202. package/dist/esm/bcm-content.entry.js +1 -1
  203. package/dist/esm/bcm-date-picker.entry.js +8 -8
  204. package/dist/esm/bcm-datetime-picker.entry.js +12 -12
  205. package/dist/esm/bcm-default.entry.js +5 -5
  206. package/dist/esm/bcm-form-2.entry.js +7 -7
  207. package/dist/esm/bcm-form-group.entry.js +1 -1
  208. package/dist/esm/bcm-input-2.entry.js +10 -10
  209. package/dist/esm/bcm-input-custom.entry.js +6 -6
  210. package/dist/esm/bcm-input-dropdown.entry.js +13 -13
  211. package/dist/esm/bcm-message.entry.js +3 -3
  212. package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
  213. package/dist/esm/bcm-modal-2-header.entry.js +11 -11
  214. package/dist/esm/bcm-modal-2.entry.js +12 -12
  215. package/dist/esm/bcm-notification.entry.js +3 -3
  216. package/dist/esm/bcm-number-input.entry.js +14 -14
  217. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  218. package/dist/esm/bcm-react-number.entry.js +3 -3
  219. package/dist/esm/bcm-result.entry.js +3 -3
  220. package/dist/esm/bcm-select-group.entry.js +3 -3
  221. package/dist/esm/bcm-select-option.entry.js +3 -3
  222. package/dist/esm/bcm-skeleton.entry.js +11 -11
  223. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  224. package/dist/esm/bcm-table.entry.js +12 -12
  225. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  226. package/dist/esm/bcm-tag.entry.js +8 -8
  227. package/dist/esm/bcm-time-picker.entry.js +8 -8
  228. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  229. package/dist/esm/bcm-timeline.entry.js +3 -3
  230. package/dist/esm/bcm-toast.entry.js +24 -24
  231. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  232. package/dist/esm/bromcom-ui.js +5 -5
  233. package/dist/esm/{caption-template-d7953d13.js → caption-template-16dd9444.js} +11 -11
  234. package/dist/esm/{color-helper-74614f24.js → color-helper-ba15b0d8.js} +2 -2
  235. package/dist/esm/{colors-dd598eea.js → colors-ed4e7579.js} +1 -1
  236. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-b75266e6.js} +1 -1
  237. package/dist/esm/{generate-1281254a.js → generate-d2495751.js} +15 -15
  238. package/dist/esm/{global-c031697c.js → global-88abdcdc.js} +2 -2
  239. package/dist/esm/{index-f549811f.js → index-00c8a8f7.js} +1 -1
  240. package/dist/esm/{index-036974d7.js → index-0d3a56ec.js} +1 -1
  241. package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
  242. package/dist/esm/{input.style-e855c0f3.js → input.style-0ddc0073.js} +1 -1
  243. package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
  244. package/dist/esm/{label-template-a26f76c0.js → label-template-4c3797f4.js} +6 -6
  245. package/dist/esm/loader.js +5 -5
  246. package/dist/esm/{number-helper-778c8f87.js → number-helper-a1e5c9e5.js} +1 -1
  247. package/dist/esm/old-bcm-popover-box.entry.js +11 -11
  248. package/dist/esm/old-bcm-popover.entry.js +6 -6
  249. package/dist/esm/{package-08ddc3fa.js → package-7549581c.js} +1 -1
  250. package/dist/esm/{popover-placement-d12fec40.js → popover-placement-2bf3a181.js} +1 -1
  251. package/dist/esm/{slot-template-2a19b2db.js → slot-template-e0202c5a.js} +2 -2
  252. package/dist/esm/{string-helper-3592bdc2.js → string-helper-69203215.js} +1 -1
  253. package/dist/esm/{utils-57652744.js → utils-7727d09e.js} +1 -1
  254. package/dist/esm/{validators-0c6e8dea.js → validators-57df25a7.js} +1 -1
  255. package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
  256. package/dist/types/components/molecules/alert/alert.d.ts +1 -3
  257. package/dist/types/components.d.ts +0 -2
  258. package/package.json +1 -1
  259. package/dist/bromcom-ui/p-04594f76.entry.js +0 -5
  260. package/dist/bromcom-ui/p-0e110a9f.entry.js +0 -5
  261. package/dist/bromcom-ui/p-0e5f1168.entry.js +0 -5
  262. package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
  263. package/dist/bromcom-ui/p-1baed29d.entry.js +0 -5
  264. package/dist/bromcom-ui/p-1e61a44c.entry.js +0 -5
  265. package/dist/bromcom-ui/p-1f93fd33.entry.js +0 -5
  266. package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
  267. package/dist/bromcom-ui/p-23759244.entry.js +0 -5
  268. package/dist/bromcom-ui/p-270e1b24.entry.js +0 -5
  269. package/dist/bromcom-ui/p-27596881.entry.js +0 -5
  270. package/dist/bromcom-ui/p-29791e4a.entry.js +0 -5
  271. package/dist/bromcom-ui/p-2bd0545e.js +0 -5
  272. package/dist/bromcom-ui/p-2cd6cdee.js +0 -5
  273. package/dist/bromcom-ui/p-3179ce74.entry.js +0 -7
  274. package/dist/bromcom-ui/p-33166492.entry.js +0 -5
  275. package/dist/bromcom-ui/p-376a20ed.js +0 -5
  276. package/dist/bromcom-ui/p-3da7b6c0.entry.js +0 -5
  277. package/dist/bromcom-ui/p-41276d76.entry.js +0 -5
  278. package/dist/bromcom-ui/p-412abc6d.entry.js +0 -5
  279. package/dist/bromcom-ui/p-4393b33e.entry.js +0 -5
  280. package/dist/bromcom-ui/p-46db5206.js +0 -5
  281. package/dist/bromcom-ui/p-4834bc26.js +0 -5
  282. package/dist/bromcom-ui/p-4856568f.entry.js +0 -5
  283. package/dist/bromcom-ui/p-534f958a.entry.js +0 -5
  284. package/dist/bromcom-ui/p-65da044b.js +0 -5
  285. package/dist/bromcom-ui/p-6687afd7.entry.js +0 -5
  286. package/dist/bromcom-ui/p-6ceb315f.entry.js +0 -5
  287. package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
  288. package/dist/bromcom-ui/p-7c45705d.entry.js +0 -5
  289. package/dist/bromcom-ui/p-7dbfff1b.entry.js +0 -5
  290. package/dist/bromcom-ui/p-822dda00.js +0 -5
  291. package/dist/bromcom-ui/p-881853bd.entry.js +0 -5
  292. package/dist/bromcom-ui/p-8b6d3a37.js +0 -5
  293. package/dist/bromcom-ui/p-8cd80ac4.entry.js +0 -5
  294. package/dist/bromcom-ui/p-8f32198d.js +0 -14
  295. package/dist/bromcom-ui/p-904b0c28.entry.js +0 -5
  296. package/dist/bromcom-ui/p-926b314d.entry.js +0 -5
  297. package/dist/bromcom-ui/p-95a797b3.entry.js +0 -5
  298. package/dist/bromcom-ui/p-9ebe6ef9.entry.js +0 -5
  299. package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
  300. package/dist/bromcom-ui/p-a2065e9e.entry.js +0 -5
  301. package/dist/bromcom-ui/p-a2e5bb35.entry.js +0 -5
  302. package/dist/bromcom-ui/p-a352f45e.entry.js +0 -5
  303. package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
  304. package/dist/bromcom-ui/p-b1084320.entry.js +0 -5
  305. package/dist/bromcom-ui/p-b301fa40.entry.js +0 -5
  306. package/dist/bromcom-ui/p-b43e975b.entry.js +0 -5
  307. package/dist/bromcom-ui/p-b9a88f16.entry.js +0 -5
  308. package/dist/bromcom-ui/p-bbcb683f.entry.js +0 -5
  309. package/dist/bromcom-ui/p-bd50c28f.entry.js +0 -5
  310. package/dist/bromcom-ui/p-c1a992e7.entry.js +0 -5
  311. package/dist/bromcom-ui/p-c39e73dc.entry.js +0 -5
  312. package/dist/bromcom-ui/p-c503526a.entry.js +0 -5
  313. package/dist/bromcom-ui/p-c63f5261.entry.js +0 -5
  314. package/dist/bromcom-ui/p-d2bd0293.entry.js +0 -5
  315. package/dist/bromcom-ui/p-e0ab7b38.js +0 -11
  316. package/dist/bromcom-ui/p-e1b6f98e.entry.js +0 -5
  317. package/dist/bromcom-ui/p-e36c7523.entry.js +0 -5
  318. package/dist/bromcom-ui/p-e5532875.entry.js +0 -5
  319. package/dist/bromcom-ui/p-e94d2f48.js +0 -5
  320. package/dist/bromcom-ui/p-ead59725.entry.js +0 -5
  321. package/dist/bromcom-ui/p-eca0acda.js +0 -5
  322. package/dist/bromcom-ui/p-ede7ca76.entry.js +0 -5
  323. package/dist/bromcom-ui/p-eef8f7c7.entry.js +0 -5
  324. package/dist/bromcom-ui/p-effc088c.entry.js +0 -5
  325. package/dist/bromcom-ui/p-fc787048.entry.js +0 -5
  326. package/dist/bromcom-ui/p-ff2b4565.entry.js +0 -5
  327. package/dist/cjs/Overflow-5a73947b.js +0 -2233
  328. package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
  329. package/dist/cjs/bcm-alert.cjs.entry.js +0 -99
  330. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
  331. package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
  332. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
  333. package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
  334. package/dist/cjs/bcm-button.cjs.entry.js +0 -372
  335. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
  336. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2529
  337. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
  338. package/dist/cjs/bcm-chip-group.cjs.entry.js +0 -128
  339. package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
  340. package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -43
  341. package/dist/cjs/bcm-collapse.cjs.entry.js +0 -62
  342. package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
  343. package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -251
  344. package/dist/cjs/bcm-date_6.cjs.entry.js +0 -15363
  345. package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
  346. package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
  347. package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -64
  348. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
  349. package/dist/cjs/bcm-input_2.cjs.entry.js +0 -550
  350. package/dist/cjs/bcm-item.cjs.entry.js +0 -72
  351. package/dist/cjs/bcm-items.cjs.entry.js +0 -49
  352. package/dist/cjs/bcm-link.cjs.entry.js +0 -51
  353. package/dist/cjs/bcm-list_3.cjs.entry.js +0 -1977
  354. package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
  355. package/dist/cjs/bcm-modal.cjs.entry.js +0 -157
  356. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  357. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -145
  358. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
  359. package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
  360. package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
  361. package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
  362. package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
  363. package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
  364. package/dist/cjs/bcm-range.cjs.entry.js +0 -183
  365. package/dist/cjs/bcm-select.cjs.entry.js +0 -1195
  366. package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
  367. package/dist/cjs/bcm-step.cjs.entry.js +0 -89
  368. package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
  369. package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
  370. package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
  371. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -60
  372. package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
  373. package/dist/cjs/bcm-tab.cjs.entry.js +0 -72
  374. package/dist/cjs/bcm-tabs.cjs.entry.js +0 -370
  375. package/dist/cjs/bcm-text.cjs.entry.js +0 -49
  376. package/dist/cjs/index-d321de96.js +0 -193
  377. package/dist/cjs/input-template-d05a507f.js +0 -92
  378. package/dist/cjs/json-parse-decarator-b9186302.js +0 -40
  379. package/dist/cjs/lodash-917168d7.js +0 -17199
  380. package/dist/cjs/stepper-states-a565a45f.js +0 -85
  381. package/dist/cjs/tooltip-helper-2e1f4fda.js +0 -158
  382. package/dist/esm/Overflow-40c63001.js +0 -2217
  383. package/dist/esm/bcm-accordion.entry.js +0 -70
  384. package/dist/esm/bcm-alert.entry.js +0 -95
  385. package/dist/esm/bcm-attendance-actions.entry.js +0 -326
  386. package/dist/esm/bcm-attendance.entry.js +0 -31
  387. package/dist/esm/bcm-avatar_2.entry.js +0 -205
  388. package/dist/esm/bcm-button-group.entry.js +0 -88
  389. package/dist/esm/bcm-button.entry.js +0 -368
  390. package/dist/esm/bcm-checkbox-group.entry.js +0 -411
  391. package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2517
  392. package/dist/esm/bcm-checkbox_2.entry.js +0 -189
  393. package/dist/esm/bcm-chip-group.entry.js +0 -124
  394. package/dist/esm/bcm-chip.entry.js +0 -87
  395. package/dist/esm/bcm-collapse-group.entry.js +0 -39
  396. package/dist/esm/bcm-collapse.entry.js +0 -58
  397. package/dist/esm/bcm-color-input.entry.js +0 -73
  398. package/dist/esm/bcm-colorful_2.entry.js +0 -246
  399. package/dist/esm/bcm-date_6.entry.js +0 -15354
  400. package/dist/esm/bcm-drawer.entry.js +0 -92
  401. package/dist/esm/bcm-dropdown.entry.js +0 -115
  402. package/dist/esm/bcm-error-layout.entry.js +0 -60
  403. package/dist/esm/bcm-expansion-panel.entry.js +0 -112
  404. package/dist/esm/bcm-input_2.entry.js +0 -545
  405. package/dist/esm/bcm-item.entry.js +0 -68
  406. package/dist/esm/bcm-items.entry.js +0 -45
  407. package/dist/esm/bcm-link.entry.js +0 -47
  408. package/dist/esm/bcm-list_3.entry.js +0 -1971
  409. package/dist/esm/bcm-menu.entry.js +0 -147
  410. package/dist/esm/bcm-modal.entry.js +0 -153
  411. package/dist/esm/bcm-old-input.entry.js +0 -393
  412. package/dist/esm/bcm-old-tag_2.entry.js +0 -140
  413. package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
  414. package/dist/esm/bcm-popconfirm.entry.js +0 -97
  415. package/dist/esm/bcm-popover.entry.js +0 -226
  416. package/dist/esm/bcm-progress.entry.js +0 -158
  417. package/dist/esm/bcm-radio-group.entry.js +0 -157
  418. package/dist/esm/bcm-radio.entry.js +0 -61
  419. package/dist/esm/bcm-range.entry.js +0 -179
  420. package/dist/esm/bcm-select.entry.js +0 -1191
  421. package/dist/esm/bcm-shortcut.entry.js +0 -61
  422. package/dist/esm/bcm-step.entry.js +0 -85
  423. package/dist/esm/bcm-stepper.entry.js +0 -236
  424. package/dist/esm/bcm-switch.entry.js +0 -147
  425. package/dist/esm/bcm-tab-group.entry.js +0 -206
  426. package/dist/esm/bcm-tab-item-header.entry.js +0 -56
  427. package/dist/esm/bcm-tab-item.entry.js +0 -87
  428. package/dist/esm/bcm-tab.entry.js +0 -68
  429. package/dist/esm/bcm-tabs.entry.js +0 -366
  430. package/dist/esm/bcm-text.entry.js +0 -45
  431. package/dist/esm/index-7e71bbc8.js +0 -191
  432. package/dist/esm/input-template-b4045b25.js +0 -90
  433. package/dist/esm/json-parse-decarator-7d436ec7.js +0 -38
  434. package/dist/esm/lodash-4197be99.js +0 -17197
  435. package/dist/esm/stepper-states-325c754b.js +0 -83
  436. package/dist/esm/tooltip-helper-9c64ad15.js +0 -156
@@ -183,61 +183,33 @@ function _extends() {
183
183
  return _extends.apply(this, arguments);
184
184
  }
185
185
 
186
- /**
187
- * @license React
188
- * react-is.production.min.js
189
- *
190
- * Copyright (c) Facebook, Inc. and its affiliates.
191
- *
192
- * This source code is licensed under the MIT license found in the
193
- * LICENSE file in the root directory of this source tree.
194
- */
195
- var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
196
- function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}var ContextConsumer=h;var ContextProvider=g;var Element$1=b;var ForwardRef=l;var Fragment=d;var Lazy=q;var Memo=p;var Portal=c;var Profiler=f;var StrictMode=e;var Suspense=m;
197
- var SuspenseList=n;var isAsyncMode=function(){return !1};var isConcurrentMode=function(){return !1};var isContextConsumer=function(a){return v(a)===h};var isContextProvider=function(a){return v(a)===g};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};var isForwardRef=function(a){return v(a)===l};var isFragment=function(a){return v(a)===d};var isLazy=function(a){return v(a)===q};var isMemo=function(a){return v(a)===p};
198
- var isPortal=function(a){return v(a)===c};var isProfiler=function(a){return v(a)===f};var isStrictMode=function(a){return v(a)===e};var isSuspense=function(a){return v(a)===m};var isSuspenseList=function(a){return v(a)===n};
199
- var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};var typeOf=v;
200
-
201
- var reactIs_production_min = {
202
- ContextConsumer: ContextConsumer,
203
- ContextProvider: ContextProvider,
204
- Element: Element$1,
205
- ForwardRef: ForwardRef,
206
- Fragment: Fragment,
207
- Lazy: Lazy,
208
- Memo: Memo,
209
- Portal: Portal,
210
- Profiler: Profiler,
211
- StrictMode: StrictMode,
212
- Suspense: Suspense,
213
- SuspenseList: SuspenseList,
214
- isAsyncMode: isAsyncMode,
215
- isConcurrentMode: isConcurrentMode,
216
- isContextConsumer: isContextConsumer,
217
- isContextProvider: isContextProvider,
218
- isElement: isElement,
219
- isForwardRef: isForwardRef,
220
- isFragment: isFragment,
221
- isLazy: isLazy,
222
- isMemo: isMemo,
223
- isPortal: isPortal,
224
- isProfiler: isProfiler,
225
- isStrictMode: isStrictMode,
226
- isSuspense: isSuspense,
227
- isSuspenseList: isSuspenseList,
228
- isValidElementType: isValidElementType,
229
- typeOf: typeOf
230
- };
186
+ function _typeof$1(obj) {
187
+ "@babel/helpers - typeof";
231
188
 
232
- createCommonjsModule(function (module, exports) {
233
- });
189
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
190
+ return typeof obj;
191
+ } : function (obj) {
192
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
193
+ }, _typeof$1(obj);
194
+ }
234
195
 
235
- var reactIs = createCommonjsModule(function (module) {
196
+ var REACT_ELEMENT_TYPE_18 = Symbol.for('react.element');
197
+ var REACT_ELEMENT_TYPE_19 = Symbol.for('react.transitional.element');
198
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
236
199
 
237
- {
238
- module.exports = reactIs_production_min;
200
+ /**
201
+ * Compatible with React 18 or 19 to check if node is a Fragment.
202
+ */
203
+ function isFragment$1(object) {
204
+ return (
205
+ // Base object type
206
+ object && _typeof$1(object) === 'object' && (
207
+ // React Element type
208
+ object.$$typeof === REACT_ELEMENT_TYPE_18 || object.$$typeof === REACT_ELEMENT_TYPE_19) &&
209
+ // React Fragment type
210
+ object.type === REACT_FRAGMENT_TYPE
211
+ );
239
212
  }
240
- });
241
213
 
242
214
  function toArray(children) {
243
215
  var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -248,7 +220,7 @@ function toArray(children) {
248
220
  }
249
221
  if (Array.isArray(child)) {
250
222
  ret = ret.concat(toArray(child));
251
- } else if (reactIs.isFragment(child) && child.props) {
223
+ } else if (isFragment$1(child) && child.props) {
252
224
  ret = ret.concat(toArray(child.props.children, option));
253
225
  } else {
254
226
  ret.push(child);
@@ -307,22 +279,22 @@ warningOnce.preMessage = preMessage;
307
279
  warningOnce.resetWarned = resetWarned;
308
280
  warningOnce.noteOnce = noteOnce;
309
281
 
310
- function _typeof$1(obj) {
282
+ function _typeof(obj) {
311
283
  "@babel/helpers - typeof";
312
284
 
313
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
285
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
314
286
  return typeof obj;
315
287
  } : function (obj) {
316
288
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
317
- }, _typeof$1(obj);
289
+ }, _typeof(obj);
318
290
  }
319
291
 
320
292
  function _toPrimitive(input, hint) {
321
- if (_typeof$1(input) !== "object" || input === null) return input;
293
+ if (_typeof(input) !== "object" || input === null) return input;
322
294
  var prim = input[Symbol.toPrimitive];
323
295
  if (prim !== undefined) {
324
296
  var res = prim.call(input, hint || "default");
325
- if (_typeof$1(res) !== "object") return res;
297
+ if (_typeof(res) !== "object") return res;
326
298
  throw new TypeError("@@toPrimitive must return a primitive value.");
327
299
  }
328
300
  return (hint === "string" ? String : Number)(input);
@@ -330,7 +302,7 @@ function _toPrimitive(input, hint) {
330
302
 
331
303
  function _toPropertyKey(arg) {
332
304
  var key = _toPrimitive(arg, "string");
333
- return _typeof$1(key) === "symbol" ? key : String(key);
305
+ return _typeof(key) === "symbol" ? key : String(key);
334
306
  }
335
307
 
336
308
  function _defineProperty(obj, key, value) {
@@ -377,27 +349,88 @@ function isDOM(node) {
377
349
  }
378
350
 
379
351
  /**
380
- * Return if a node is a DOM node. Else will return by `findDOMNode`
352
+ * Retrieves a DOM node via a ref, and does not invoke `findDOMNode`.
381
353
  */
382
- function findDOMNode(node) {
354
+ function getDOM(node) {
355
+ if (node && _typeof$1(node) === 'object' && isDOM(node.nativeElement)) {
356
+ return node.nativeElement;
357
+ }
383
358
  if (isDOM(node)) {
384
359
  return node;
385
360
  }
361
+ return null;
362
+ }
363
+
364
+ /**
365
+ * Return if a node is a DOM node. Else will return by `findDOMNode`
366
+ */
367
+ function findDOMNode(node) {
368
+ var domNode = getDOM(node);
369
+ if (domNode) {
370
+ return domNode;
371
+ }
386
372
  if (node instanceof react.Component) {
387
- return reactDom.findDOMNode(node);
373
+ var _ReactDOM$findDOMNode;
374
+ return (_ReactDOM$findDOMNode = reactDom.findDOMNode) === null || _ReactDOM$findDOMNode === void 0 ? void 0 : _ReactDOM$findDOMNode.call(reactDom, node);
388
375
  }
389
376
  return null;
390
377
  }
391
378
 
392
- function _typeof(obj) {
393
- "@babel/helpers - typeof";
379
+ /**
380
+ * @license React
381
+ * react-is.production.min.js
382
+ *
383
+ * Copyright (c) Facebook, Inc. and its affiliates.
384
+ *
385
+ * This source code is licensed under the MIT license found in the
386
+ * LICENSE file in the root directory of this source tree.
387
+ */
388
+ var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
389
+ function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}var ContextConsumer=h;var ContextProvider=g;var Element$1=b;var ForwardRef=l;var Fragment=d;var Lazy=q;var Memo=p;var Portal=c;var Profiler=f;var StrictMode=e;var Suspense=m;
390
+ var SuspenseList=n;var isAsyncMode=function(){return !1};var isConcurrentMode=function(){return !1};var isContextConsumer=function(a){return v(a)===h};var isContextProvider=function(a){return v(a)===g};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};var isForwardRef=function(a){return v(a)===l};var isFragment=function(a){return v(a)===d};var isLazy=function(a){return v(a)===q};var isMemo=function(a){return v(a)===p};
391
+ var isPortal=function(a){return v(a)===c};var isProfiler=function(a){return v(a)===f};var isStrictMode=function(a){return v(a)===e};var isSuspense=function(a){return v(a)===m};var isSuspenseList=function(a){return v(a)===n};
392
+ var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};var typeOf=v;
394
393
 
395
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
396
- return typeof obj;
397
- } : function (obj) {
398
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
399
- }, _typeof(obj);
394
+ var reactIs_production_min = {
395
+ ContextConsumer: ContextConsumer,
396
+ ContextProvider: ContextProvider,
397
+ Element: Element$1,
398
+ ForwardRef: ForwardRef,
399
+ Fragment: Fragment,
400
+ Lazy: Lazy,
401
+ Memo: Memo,
402
+ Portal: Portal,
403
+ Profiler: Profiler,
404
+ StrictMode: StrictMode,
405
+ Suspense: Suspense,
406
+ SuspenseList: SuspenseList,
407
+ isAsyncMode: isAsyncMode,
408
+ isConcurrentMode: isConcurrentMode,
409
+ isContextConsumer: isContextConsumer,
410
+ isContextProvider: isContextProvider,
411
+ isElement: isElement,
412
+ isForwardRef: isForwardRef,
413
+ isFragment: isFragment,
414
+ isLazy: isLazy,
415
+ isMemo: isMemo,
416
+ isPortal: isPortal,
417
+ isProfiler: isProfiler,
418
+ isStrictMode: isStrictMode,
419
+ isSuspense: isSuspense,
420
+ isSuspenseList: isSuspenseList,
421
+ isValidElementType: isValidElementType,
422
+ typeOf: typeOf
423
+ };
424
+
425
+ createCommonjsModule(function (module, exports) {
426
+ });
427
+
428
+ var reactIs = createCommonjsModule(function (module) {
429
+
430
+ {
431
+ module.exports = reactIs_production_min;
400
432
  }
433
+ });
401
434
 
402
435
  function useMemo(getValue, condition, shouldUpdate) {
403
436
  var cacheRef = react.useRef({});
@@ -408,24 +441,23 @@ function useMemo(getValue, condition, shouldUpdate) {
408
441
  return cacheRef.current.value;
409
442
  }
410
443
 
411
- function fillRef(ref, node) {
444
+ var ReactMajorVersion = Number(react.version.split('.')[0]);
445
+ var fillRef = function fillRef(ref, node) {
412
446
  if (typeof ref === 'function') {
413
447
  ref(node);
414
- } else if (_typeof(ref) === 'object' && ref && 'current' in ref) {
448
+ } else if (_typeof$1(ref) === 'object' && ref && 'current' in ref) {
415
449
  ref.current = node;
416
450
  }
417
- }
451
+ };
418
452
 
419
453
  /**
420
454
  * Merge refs into one ref function to support ref passing.
421
455
  */
422
- function composeRef() {
456
+ var composeRef = function composeRef() {
423
457
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
424
458
  refs[_key] = arguments[_key];
425
459
  }
426
- var refList = refs.filter(function (ref) {
427
- return ref;
428
- });
460
+ var refList = refs.filter(Boolean);
429
461
  if (refList.length <= 1) {
430
462
  return refList[0];
431
463
  }
@@ -434,8 +466,8 @@ function composeRef() {
434
466
  fillRef(ref, node);
435
467
  });
436
468
  };
437
- }
438
- function useComposeRef() {
469
+ };
470
+ var useComposeRef = function useComposeRef() {
439
471
  for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
440
472
  refs[_key2] = arguments[_key2];
441
473
  }
@@ -446,9 +478,17 @@ function useComposeRef() {
446
478
  return ref !== next[i];
447
479
  });
448
480
  });
449
- }
450
- function supportRef(nodeOrComponent) {
481
+ };
482
+ var supportRef = function supportRef(nodeOrComponent) {
451
483
  var _type$prototype, _nodeOrComponent$prot;
484
+ if (!nodeOrComponent) {
485
+ return false;
486
+ }
487
+
488
+ // React 19 no need `forwardRef` anymore. So just pass if is a React element.
489
+ if (isReactElement(nodeOrComponent) && ReactMajorVersion >= 19) {
490
+ return true;
491
+ }
452
492
  var type = reactIs.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
453
493
 
454
494
  // Function component node
@@ -461,8 +501,26 @@ function supportRef(nodeOrComponent) {
461
501
  return false;
462
502
  }
463
503
  return true;
504
+ };
505
+ function isReactElement(node) {
506
+ return /*#__PURE__*/react.isValidElement(node) && !isFragment$1(node);
464
507
  }
465
- /* eslint-enable */
508
+
509
+ /**
510
+ * In React 19. `ref` is not a property from node.
511
+ * But a property from `props.ref`.
512
+ * To check if `props.ref` exist or fallback to `ref`.
513
+ */
514
+ var getNodeRef = function getNodeRef(node) {
515
+ if (node && isReactElement(node)) {
516
+ var ele = node;
517
+
518
+ // Source from:
519
+ // https://github.com/mui/material-ui/blob/master/packages/mui-utils/src/getReactNodeRef/getReactNodeRef.ts
520
+ return ele.props.propertyIsEnumerable('ref') ? ele.props.ref : ele.ref;
521
+ }
522
+ return null;
523
+ };
466
524
 
467
525
  var CollectionContext = /*#__PURE__*/react.createContext(null);
468
526
  /**
@@ -1533,7 +1591,7 @@ function _assertThisInitialized(self) {
1533
1591
  }
1534
1592
 
1535
1593
  function _possibleConstructorReturn(self, call) {
1536
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
1594
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
1537
1595
  return call;
1538
1596
  } else if (call !== void 0) {
1539
1597
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -1602,7 +1660,7 @@ function SingleObserver(props, ref) {
1602
1660
  var _elementRef$current;
1603
1661
  return findDOMNode(elementRef.current) || (
1604
1662
  // Support `nativeElement` format
1605
- elementRef.current && _typeof$1(elementRef.current) === 'object' ? findDOMNode((_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.nativeElement) : null) || findDOMNode(wrapperRef.current);
1663
+ elementRef.current && _typeof(elementRef.current) === 'object' ? findDOMNode((_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.nativeElement) : null) || findDOMNode(wrapperRef.current);
1606
1664
  };
1607
1665
  react.useImperativeHandle(ref, function () {
1608
1666
  return getDom();
@@ -2214,4 +2272,4 @@ ForwardOverflow.Item = RawItem;
2214
2272
  ForwardOverflow.RESPONSIVE = RESPONSIVE;
2215
2273
  ForwardOverflow.INVALIDATE = INVALIDATE;
2216
2274
 
2217
- export { ForwardOverflow as F, RefResizeObserver as R, _typeof as _, useLayoutUpdateEffect as a, useLayoutEffect as b, canUseDom as c, useComposeRef as d, findDOMNode as e, fillRef as f, composeRef as g, warningOnce as h, isDOM as i, supportRef as s, useEvent as u, wrapperRaf as w };
2275
+ export { ForwardOverflow as F, RefResizeObserver as R, _typeof$1 as _, useLayoutUpdateEffect as a, useLayoutEffect as b, canUseDom as c, useComposeRef as d, findDOMNode as e, fillRef as f, getNodeRef as g, composeRef as h, isDOM as i, warningOnce as j, supportRef as s, useEvent as u, wrapperRaf as w };
@@ -10,21 +10,21 @@ import './number-helper.js';
10
10
  import './string-helper.js';
11
11
  import './element-dragger.js';
12
12
  import { B as Bcm } from './bcm.js';
13
- import { c as ce } from './index5.js';
13
+ import { c as ce } from './index4.js';
14
14
  import { d as defineCustomElement$2 } from './badge.js';
15
15
  import { d as defineCustomElement$1 } from './icon.js';
16
16
 
17
17
  const avatarStyle = ce({
18
18
  slots: {
19
- base: "bcm-avatar bcm-ui-element bcm-ui-content-display tw-uppercase tw-inline-flex tw-items-center tw-justify-center tw-bg-[--bcm-avatar-bg] tw-text-[--bcm-avatar-text]",
19
+ base: "bcm-avatar bcm-ui-element bcm-ui-content-display tw-uppercase tw-inline-flex tw-items-center tw-justify-center tw-bg-[--bcm-avatar-bg] tw-text-[--bcm-avatar-text] tw-font-medium",
20
20
  image: "tw-w-full tw-h-full",
21
21
  badge: "",
22
22
  },
23
23
  variants: {
24
24
  size: {
25
- small: "bcm-avatar__size-small tw-text-1 tw-w-6 tw-h-6",
26
- medium: "bcm-avatar__size-medium tw-text-2 tw-w-8 tw-h-8",
27
- large: "bcm-avatar__size-large tw-text-3 tw-w-10 tw-h-10",
25
+ small: "bcm-avatar__size-small tw-text-size-4 tw-w-6 tw-h-6",
26
+ medium: "bcm-avatar__size-medium tw-text-size-5 tw-w-8 tw-h-8",
27
+ large: "bcm-avatar__size-large tw-text-size-6 tw-w-10 tw-h-10",
28
28
  },
29
29
  shape: {
30
30
  ellipse: {
@@ -82,7 +82,7 @@ const BcmAvatar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
82
82
  const dc = Generate.getTwColor({
83
83
  color: color,
84
84
  tones: {
85
- 200: ["bg"],
85
+ 100: ["bg"],
86
86
  700: ["text"],
87
87
  },
88
88
  variable: "--bcm-avatar",
@@ -10,35 +10,35 @@ import './number-helper.js';
10
10
  import './string-helper.js';
11
11
  import './element-dragger.js';
12
12
  import { B as Bcm } from './bcm.js';
13
- import { c as ce } from './index5.js';
13
+ import { c as ce } from './index4.js';
14
14
 
15
15
  const badgeStyle = ce({
16
16
  slots: {
17
- host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal ",
17
+ host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal tw-text-color-default",
18
18
  base: [
19
19
  "bcm-badge__dot tw-z-10",
20
20
  "tw-flex tw-items-center tw-justify-center tw-flex-row",
21
21
  "tw-rounded-full tw-text-center",
22
22
  "tw-bg-[--bcm-badge-bg] tw-text-[--bcm-badge-text]",
23
- "tw-whitespace-nowrap",
23
+ "tw-whitespace-nowrap tw-font-medium",
24
24
  ],
25
25
  dotText: "empty:tw-hidden",
26
26
  },
27
27
  variants: {
28
28
  size: {
29
29
  small: {
30
- host: "tw-text-2 tw-gap-1",
31
- base: "bcm-badge__dot-size-small tw-text-1 tw-min-w-1.5 tw-min-h-1.5",
30
+ host: "tw-text-size-3 tw-gap-1",
31
+ base: "bcm-badge__dot-size-small tw-text-size-3 tw-min-w-1.5 tw-min-h-1.5",
32
32
  dotText: "tw-px-1.5 tw-min-w-4",
33
33
  },
34
34
  medium: {
35
- host: "tw-text-3 tw-gap-1.5",
36
- base: "bcm-badge__dot-size-medium tw-text-2 tw-min-w-2 tw-min-h-2",
35
+ host: "tw-text-size-4 tw-gap-1.5",
36
+ base: "bcm-badge__dot-size-medium tw-text-size-4 tw-min-w-2 tw-min-h-2",
37
37
  dotText: "tw-px-1.5 tw-min-w-5",
38
38
  },
39
39
  large: {
40
- host: "tw-text-4 tw-gap-2",
41
- base: "bcm-badge__dot-size-large tw-text-3 tw-min-w-2.5 tw-min-h-2.5",
40
+ host: "tw-text-size-5 tw-gap-2",
41
+ base: "bcm-badge__dot-size-large tw-text-size-5 tw-min-w-2.5 tw-min-h-2.5",
42
42
  dotText: "tw-px-2 tw-min-w-6",
43
43
  },
44
44
  },
@@ -5,7 +5,7 @@
5
5
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
6
6
  import { G as Generate } from './generate.js';
7
7
 
8
- const accordionCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}";
8
+ const accordionCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}.bcm-accordion .bcm-expansion-panel{border-radius:0}.bcm-accordion .bcm-expansion-panel .bcm-expansion-panel__header{border-radius:0}.bcm-accordion .bcm-expansion-panel:first-child{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:first-child .bcm-expansion-panel__header{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child .bcm-expansion-panel__header{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}";
9
9
 
10
10
  const BcmAccordion$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
11
  constructor() {
@@ -59,7 +59,7 @@ const BcmAccordion$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
59
59
  }
60
60
  }
61
61
  render() {
62
- return (h(Host, { id: this._id }, h("slot", null)));
62
+ return (h(Host, { id: this._id, class: "bcm-accordion" }, h("slot", null)));
63
63
  }
64
64
  get el() { return this; }
65
65
  static get style() { return accordionCss; }
@@ -3,32 +3,12 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
- import { G as Generate, s as snq, S as StatusProps, T as TypeProps } from './generate.js';
6
+ import { G as Generate, S as StatusProps, T as TypeProps } from './generate.js';
7
7
  import { c as classnames } from './index2.js';
8
- import { c as createStore } from './index4.js';
9
8
  import { S as StringHelper } from './string-helper.js';
10
9
  import { d as defineCustomElement$2 } from './icon.js';
11
10
 
12
- const { state } = createStore({
13
- value: new Map(),
14
- setData: {},
15
- removeData: {}
16
- });
17
- const setValue = (val) => {
18
- const data = Object.assign(Object.assign(Object.assign({}, val), { size: val.bigIcon ? 'medium' : 14, iconType: val.bigIcon ? 'outlined' : 'fill' }), Generate.getIconAttrWithStatusType(val.status));
19
- state.value.set(data.id, data);
20
- };
21
- const removeValue = (_id) => {
22
- state.value.delete(_id);
23
- };
24
- const getValue = (id) => snq(() => state.value.get(id), {});
25
- const alertStates = {
26
- setValue,
27
- removeValue,
28
- getValue
29
- };
30
-
31
- const alertCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-alert{display:block;width:100%;max-width:400px;box-sizing:border-box;padding:8px 16px;box-shadow:0px 2px 4px rgba(0, 0, 0, 0.15);border-radius:2px;position:relative;grid-gap:8px}.bcm-alert.hidden{display:none}.bcm-alert.full-width{max-width:100%}.bcm-alert__status-info{border:1px solid var(--bcm-color-blue-3);background-color:var(--bcm-color-blue-1)}.bcm-alert__status-error{border:1px solid var(--bcm-color-red-3);background-color:var(--bcm-color-red-1)}.bcm-alert__status-warning{border:1px solid var(--bcm-color-warmyellow-3);background-color:var(--bcm-color-warmyellow-1)}.bcm-alert__status-success{border:1px solid var(--bcm-color-green-3);background-color:var(--bcm-color-green-1)}.bcm-alert__type-banner{border:none}.bcm-alert__header{display:flex;align-items:center;justify-content:space-between;padding:4px 0}.bcm-alert__header-message{display:flex;align-items:center;grid-gap:8px;color:var(--bcm-color-grey-8)}.bcm-alert__header-dismiss{display:flex;position:absolute;top:-1px;right:0;padding:16px;color:var(--bcm-color-grey-8)}.bcm-alert__header-dismiss:hover{cursor:pointer;color:var(--bcm-color-grey-9)}.bcm-alert__content{color:var(--bcm-color-grey-8)}.bcm-alert__content p{margin:0;padding:0}";
11
+ const alertCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-alert{display:block;font-family:Inter, sans-serif;font-size:var(--bcm-ui-font-size-5);line-height:var(--bcm-ui-line-height-5);font-weight:500;width:100%;max-width:400px;box-sizing:border-box;padding:var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-5) var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-3);border-radius:var(--bcm-ui-border-radius-default);position:relative}.bcm-alert.hidden{display:none}.bcm-alert.full-width{max-width:100%}.bcm-alert__status-default{color:var(--bcm-ui-color-text-default);background-color:var(--bcm-ui-color-background-default-default)}.bcm-alert__status-info{color:var(--bcm-ui-color-text-info);background-color:var(--bcm-ui-color-background-stated-info-default)}.bcm-alert__status-error{color:var(--bcm-ui-color-text-error);background-color:var(--bcm-ui-color-background-stated-error-default)}.bcm-alert__status-warning{color:var(--bcm-ui-color-text-warning);background-color:var(--bcm-ui-color-background-stated-warning-default)}.bcm-alert__status-success{color:var(--bcm-ui-color-text-success);background-color:var(--bcm-ui-color-background-stated-success-default)}.bcm-alert__type-banner{border:none}.bcm-alert__header{display:inline-block}.bcm-alert__header-message{display:flex;align-items:center;gap:var(--bcm-ui-spacing-2);margin-right:var(--bcm-ui-spacing-2)}.bcm-alert__header-message:empty{display:none}.bcm-alert__header-dismiss{display:flex;position:absolute;top:var(--bcm-ui-spacing-1);right:var(--bcm-ui-spacing-1);padding:var(--bcm-ui-spacing-2)}.bcm-alert__header-dismiss:hover{cursor:pointer}.bcm-alert__content{display:inline-block}.bcm-alert__content p{margin:0;padding:0}";
32
12
 
33
13
  const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
34
14
  constructor() {
@@ -37,7 +17,6 @@ const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
37
17
  this.alertdismissible = createEvent(this, "bcm-alert-dismissible", 7);
38
18
  this.hidden = false;
39
19
  this._id = Generate.UID();
40
- this._title = undefined;
41
20
  this.description = undefined;
42
21
  this.status = StatusProps.info;
43
22
  this.type = TypeProps.basic;
@@ -58,40 +37,48 @@ const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
58
37
  return;
59
38
  }
60
39
  }
61
- this.setData();
62
40
  }
63
41
  dismiss(e) {
64
42
  this.alertdismissible.emit(e);
65
43
  this.el.remove();
66
44
  }
67
- getStateData() {
68
- return alertStates.getValue(this._id);
69
- }
70
- setData() {
71
- const { status, type, bigIcon } = this;
72
- alertStates.setValue({
73
- id: this._id,
74
- status,
75
- type,
76
- bigIcon,
77
- });
45
+ // setData() {
46
+ // const { status, type, bigIcon } = this;
47
+ // alertStates.setValue({
48
+ // id: this._id,
49
+ // status,
50
+ // type,
51
+ // bigIcon,
52
+ // });
53
+ // }
54
+ statusIcon() {
55
+ const { status } = this;
56
+ switch (status) {
57
+ case StatusProps.info:
58
+ return "far fa-info-circle";
59
+ case StatusProps.error:
60
+ return "far fa-times-circle";
61
+ case StatusProps.warning:
62
+ return "far fa-exclamation-circle";
63
+ case StatusProps.success:
64
+ return "far fa-check-circle";
65
+ }
78
66
  }
79
67
  render() {
80
- const { fullWidth, status, type, icon, bigIcon, _title, hidden, dismissible, description } = this;
81
- const hostClasses = classnames('bcm-alert', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
68
+ const { fullWidth, status, type, icon, bigIcon, hidden, dismissible, description } = this;
69
+ const hostClasses = classnames('bcm-alert bcm-ui-element', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
82
70
  'full-width': fullWidth,
83
71
  hidden,
84
72
  });
85
- const headerMessage = classnames('bcm-alert__header-message', !!description ? 'size-3' : 'size-2');
86
- const state = this.getStateData();
87
- return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), h("header", { class: "bcm-alert__header" }, h("span", { class: headerMessage }, (bigIcon || icon) && h("bcm-icon", { icon: state.icon }), _title), dismissible && (h("span", { class: "bcm-alert__header-dismiss", onClick: e => this.dismiss(e) }, typeof dismissible === 'string' ? dismissible : h("bcm-icon", { icon: "fal fa-times" })))), h("main", { class: "bcm-alert__content size-2" }, description && h("p", null, description), h("slot", null))));
73
+ const headerMessage = classnames('bcm-alert__header-message', !!description ? '' : '');
74
+ const _icon = this.statusIcon();
75
+ return (h(Host, { class: hostClasses }, h("header", { class: "bcm-alert__header" }, h("span", { class: headerMessage }, (bigIcon || icon) && h("bcm-icon", { icon: _icon }))), h("main", { class: "bcm-alert__content" }, description && h("p", null, description), h("slot", null)), dismissible && (h("span", { class: "bcm-alert__header-dismiss", onClick: e => this.dismiss(e) }, typeof dismissible === 'string' ? dismissible : h("bcm-icon", { icon: "far fa-times" })))));
88
76
  }
89
77
  get el() { return this; }
90
78
  static get style() { return alertCss; }
91
79
  }, [4, "bcm-alert", {
92
80
  "hidden": [1028],
93
81
  "_id": [1537, "id"],
94
- "_title": [1032],
95
82
  "description": [1032],
96
83
  "status": [1025],
97
84
  "type": [1025],
@@ -12,7 +12,7 @@ import './element-dragger.js';
12
12
  import { d as delay } from './utils.js';
13
13
  import { F as FloatingUI } from './floating-ui.js';
14
14
  import { B as Bcm } from './bcm.js';
15
- import { c as ce } from './index5.js';
15
+ import { c as ce } from './index4.js';
16
16
  import { d as defineCustomElement$a } from './button.js';
17
17
  import { d as defineCustomElement$9 } from './colorful.js';
18
18
  import { d as defineCustomElement$8 } from './form.js';
@@ -12,7 +12,7 @@ import './element-dragger.js';
12
12
  import { F as FloatingUI } from './floating-ui.js';
13
13
  import { B as Bcm } from './bcm.js';
14
14
  import { c as classnames } from './index2.js';
15
- import { c as ce } from './index5.js';
15
+ import { c as ce } from './index4.js';
16
16
 
17
17
  const attendanceActionDropdownStyle = ce({
18
18
  slots: {
@@ -11,7 +11,7 @@ import './string-helper.js';
11
11
  import './element-dragger.js';
12
12
  import { B as Bcm } from './bcm.js';
13
13
  import { c as classnames } from './index2.js';
14
- import { c as ce } from './index5.js';
14
+ import { c as ce } from './index4.js';
15
15
 
16
16
  // --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
17
17
  // --bcm-attendance-actions-button-text: #334155; /* slate-700 */
@@ -8,7 +8,7 @@ import { a as Bcm } from './bcm.js';
8
8
  import { c as classnames } from './index2.js';
9
9
  import { S as StringHelper } from './string-helper.js';
10
10
 
11
- const buttonGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-button-group{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:fit-content;background-color:var(--bcm-new-ds-color-slate-300);border:1px solid var(--bcm-new-ds-color-slate-300);gap:1px;border-radius:4px}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:4px;border-bottom-left-radius:4px}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:4px;border-bottom-right-radius:4px}.bcm-button-group__vertical{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap}.bcm-button-group__vertical .bcm-button{width:100%}.bcm-button-group__vertical .bcm-button__container{width:100%;border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:4px 4px 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 4px 4px}";
11
+ const buttonGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-button-group{font-family:Inter, sans-serif;font-size:var(--bcm-ui-font-size-5);line-height:var(--bcm-ui-line-height-5);font-weight:500;display:flex;flex-direction:row;align-items:center;justify-content:center;width:fit-content;background-color:var(--bcm-ui-color-background-default-active);border:1px solid var(--bcm-ui-color-border-default);gap:1px;border-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:var(--bcm-ui-border-radius-default);border-bottom-left-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group__vertical{flex-direction:column;align-items:center;justify-content:center}.bcm-button-group__vertical .bcm-button{width:100%}.bcm-button-group__vertical .bcm-button__container{width:100%;border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default)}";
12
12
 
13
13
  const BcmButtonGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
14
14
  constructor() {
@@ -7,7 +7,7 @@ import { c as classnames } from './index2.js';
7
7
  import { G as Generate, s as snq } from './generate.js';
8
8
  import { a as Bcm } from './bcm.js';
9
9
  import { d as delay, g as getChildElements } from './utils.js';
10
- import { c as createStore } from './index4.js';
10
+ import { c as createStore } from './index5.js';
11
11
  import { L as LabelTemplate, d as defineCustomElement$3 } from './label.js';
12
12
  import { I as IsLoad } from './is-load-decorator.js';
13
13
  import { d as defineCustomElement$5 } from './checkbox.js';
@@ -64,7 +64,7 @@ const BcmColorInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
64
64
  return typeof window !== "undefined" && "EyeDropper" in window;
65
65
  }
66
66
  render() {
67
- 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: {
67
+ 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-solid tw-border-color-default", style: {
68
68
  backgroundColor: this.value,
69
69
  } }), 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) }))));
70
70
  }