bromcom-ui 2.8.0-rc.1 → 2.8.0-rc.10-t

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 (426) 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-3a093f9e.entry.js → p-038d839f.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-4a51c718.entry.js → p-04d4c6e7.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-410c74f6.js → p-04ed9228.js} +1 -1
  6. package/dist/bromcom-ui/p-088283c1.entry.js +5 -0
  7. package/dist/bromcom-ui/{p-bd2d9941.entry.js → p-09f96e34.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-f16ce14a.entry.js → p-0a16fcfa.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-0b77585e.entry.js → p-0b663779.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-0c65fb37.js +5 -0
  11. package/dist/bromcom-ui/{p-e02491ce.entry.js → p-14a0a646.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-1c4ecf16.entry.js +5 -0
  13. package/dist/bromcom-ui/p-1c649e2f.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-61709094.entry.js → p-221448f8.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-94da7678.entry.js → p-22d8f233.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-24aefda6.js +5 -0
  17. package/dist/bromcom-ui/{p-98c9ac37.entry.js → p-253379fe.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-298914dd.entry.js +10 -0
  19. package/dist/bromcom-ui/{p-dc306bd8.entry.js → p-31226526.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-a173ed35.entry.js → p-39eda493.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-3cb96416.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-a452bb5e.entry.js → p-401a844f.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-1faaac85.entry.js → p-45331c04.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-178fb088.entry.js → p-49ae73e6.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-4aa0e6b1.js +5 -0
  26. package/dist/bromcom-ui/p-4ec63b67.entry.js +5 -0
  27. package/dist/bromcom-ui/p-4ee12aa6.entry.js +5 -0
  28. package/dist/bromcom-ui/{p-dfe8e354.entry.js → p-4fcf03c1.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-9a1dc17c.entry.js → p-533cb826.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-369d6e4f.entry.js → p-58651d85.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-5a16f526.entry.js +5 -0
  32. package/dist/bromcom-ui/p-5c059eba.entry.js +5 -0
  33. package/dist/bromcom-ui/p-5df6d04b.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-b5531d54.entry.js → p-63333219.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-8cc29a92.entry.js → p-65070ed4.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-b175a1e1.entry.js → p-661e832b.entry.js} +1 -1
  37. package/dist/bromcom-ui/p-6a666eb5.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-14938158.entry.js → p-6b7a9d96.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-6cc73d59.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-0ae31364.entry.js → p-6f899fab.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-56a5396d.js → p-789ab63f.js} +1 -1
  42. package/dist/bromcom-ui/p-79fd816c.js +5 -0
  43. package/dist/bromcom-ui/{p-2a57c8c7.entry.js → p-7b25e0f4.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-7eb339fc.entry.js +5 -0
  45. package/dist/bromcom-ui/p-843905c8.js +5 -0
  46. package/dist/bromcom-ui/{p-889553d3.entry.js → p-85c7715d.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-2cdc4578.entry.js → p-88ace511.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-16b50160.js → p-8d0ca8c2.js} +1 -1
  49. package/dist/bromcom-ui/{p-ef6e4107.entry.js → p-8d1326db.entry.js} +1 -1
  50. package/dist/bromcom-ui/p-8d5b728c.entry.js +5 -0
  51. package/dist/bromcom-ui/{p-7eb8c46e.js → p-8da1942f.js} +1 -1
  52. package/dist/bromcom-ui/{p-5d014153.entry.js → p-8e2540d8.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-c718f29a.js → p-8e560b1f.js} +1 -1
  54. package/dist/bromcom-ui/p-8fd8d750.entry.js +5 -0
  55. package/dist/bromcom-ui/{p-3e45d00d.entry.js → p-9080f0e4.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-0f685aa9.entry.js → p-976f682f.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-f089027d.entry.js → p-97933e31.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-ceace9c7.entry.js → p-9c611ee5.entry.js} +1 -1
  59. package/dist/bromcom-ui/p-9ddab953.entry.js +5 -0
  60. package/dist/bromcom-ui/{p-4185987d.entry.js → p-9ecf7bb1.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-a5abe2d6.entry.js → p-a32bfefb.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-74595a06.js → p-a60a2dd0.js} +1 -1
  63. package/dist/bromcom-ui/{p-5cd30376.entry.js → p-a61053cc.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-d236a84f.entry.js → p-a7c1b32b.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-8fa7cdf0.entry.js → p-a9420886.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-6ea775e8.entry.js → p-ac8b1785.entry.js} +1 -1
  67. package/dist/bromcom-ui/p-b532779c.js +5 -0
  68. package/dist/bromcom-ui/p-b60bcecf.js +5 -0
  69. package/dist/bromcom-ui/p-b890c8af.entry.js +5 -0
  70. package/dist/bromcom-ui/{p-3d4897d8.entry.js → p-bc840f30.entry.js} +1 -1
  71. package/dist/bromcom-ui/p-bd0bc814.entry.js +5 -0
  72. package/dist/bromcom-ui/p-bd47a899.entry.js +5 -0
  73. package/dist/bromcom-ui/p-c23b6240.js +5 -0
  74. package/dist/bromcom-ui/{p-d39369ff.entry.js → p-c72ff436.entry.js} +1 -1
  75. package/dist/bromcom-ui/{p-8d1cd79f.entry.js → p-c85b8abc.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-5de651cc.entry.js → p-c85d5bb2.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-c8e13fd7.js +5 -0
  78. package/dist/bromcom-ui/{p-e2b3cb98.entry.js → p-d644b6d9.entry.js} +1 -1
  79. package/dist/bromcom-ui/p-d65a1e21.js +11 -0
  80. package/dist/bromcom-ui/p-d660e8ef.js +5 -0
  81. package/dist/bromcom-ui/{p-e9295fec.entry.js → p-da04b90a.entry.js} +1 -1
  82. package/dist/bromcom-ui/p-da1055cb.js +6 -0
  83. package/dist/bromcom-ui/{p-701cf04e.entry.js → p-db5a6f38.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-45f6c93b.js → p-dbc4c30c.js} +1 -1
  85. package/dist/bromcom-ui/{p-dae1cc7b.entry.js → p-e19e9dc1.entry.js} +1 -1
  86. package/dist/bromcom-ui/{p-7eb09daf.entry.js → p-e3290897.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-3ccc9177.entry.js → p-e8412b2c.entry.js} +1 -1
  88. package/dist/bromcom-ui/{p-ffb57c2c.entry.js → p-e963ae46.entry.js} +1 -1
  89. package/dist/bromcom-ui/{p-c9235a71.entry.js → p-eb1f9862.entry.js} +1 -1
  90. package/dist/bromcom-ui/{p-e30c5251.entry.js → p-ebe584b5.entry.js} +1 -1
  91. package/dist/bromcom-ui/{p-970a4dd6.entry.js → p-ec5f263d.entry.js} +1 -1
  92. package/dist/bromcom-ui/p-ef779444.entry.js +5 -0
  93. package/dist/bromcom-ui/p-eff80213.entry.js +5 -0
  94. package/dist/bromcom-ui/p-effb6652.entry.js +5 -0
  95. package/dist/bromcom-ui/{p-e3d32c37.entry.js → p-f0c860b7.entry.js} +1 -1
  96. package/dist/bromcom-ui/{p-bdb012c3.entry.js → p-f529ded0.entry.js} +1 -1
  97. package/dist/bromcom-ui/{p-97df9122.entry.js → p-f8c20298.entry.js} +1 -1
  98. package/dist/bromcom-ui/{p-6baf6ea4.entry.js → p-fd47bac8.entry.js} +1 -1
  99. package/dist/cjs/bcm-accordion.cjs.entry.js +4 -4
  100. package/dist/cjs/bcm-alert.cjs.entry.js +7 -7
  101. package/dist/cjs/bcm-attendance.cjs.entry.js +4 -4
  102. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
  103. package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
  104. package/dist/cjs/bcm-box.cjs.entry.js +2 -2
  105. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +5 -5
  106. package/dist/cjs/bcm-button-group.cjs.entry.js +6 -6
  107. package/dist/cjs/bcm-button_7.cjs.entry.js +1570 -0
  108. package/dist/cjs/bcm-card.cjs.entry.js +8 -8
  109. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +5 -5
  110. package/dist/cjs/bcm-chip.cjs.entry.js +6 -6
  111. package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
  112. package/dist/cjs/bcm-collapse.cjs.entry.js +5 -5
  113. package/dist/cjs/bcm-color-input.cjs.entry.js +10 -15
  114. package/dist/cjs/bcm-colorful_2.cjs.entry.js +46 -15
  115. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  116. package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -5
  117. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
  118. package/dist/cjs/bcm-default.cjs.entry.js +4 -4
  119. package/dist/cjs/bcm-drawer.cjs.entry.js +9 -9
  120. package/dist/cjs/bcm-dropdown.cjs.entry.js +6 -6
  121. package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
  122. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +7 -7
  123. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
  124. package/dist/cjs/bcm-form-group.cjs.entry.js +2 -2
  125. package/dist/cjs/bcm-input-custom.cjs.entry.js +5 -5
  126. package/dist/cjs/bcm-input.cjs.entry.js +12 -11
  127. package/dist/cjs/bcm-item.cjs.entry.js +6 -6
  128. package/dist/cjs/bcm-items.cjs.entry.js +5 -5
  129. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  130. package/dist/cjs/bcm-list.cjs.entry.js +18 -18
  131. package/dist/cjs/bcm-menu.cjs.entry.js +11 -11
  132. package/dist/cjs/bcm-message.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +50 -0
  134. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +49 -0
  135. package/dist/cjs/bcm-modal-2.cjs.entry.js +172 -0
  136. package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
  137. package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
  138. package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
  139. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
  140. package/dist/cjs/bcm-overlay_2.cjs.entry.js +48 -0
  141. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +8 -8
  142. package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
  143. package/dist/cjs/bcm-popover.cjs.entry.js +10 -10
  144. package/dist/cjs/bcm-progress.cjs.entry.js +6 -6
  145. package/dist/cjs/bcm-radio-group.cjs.entry.js +31 -14
  146. package/dist/cjs/bcm-radio.cjs.entry.js +8 -8
  147. package/dist/cjs/bcm-range.cjs.entry.js +5 -5
  148. package/dist/cjs/bcm-result.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-search.cjs.entry.js +8 -8
  150. package/dist/cjs/bcm-select-group.cjs.entry.js +2 -2
  151. package/dist/cjs/bcm-select-option.cjs.entry.js +2 -2
  152. package/dist/cjs/bcm-select.cjs.entry.js +4 -4
  153. package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
  154. package/dist/cjs/bcm-step.cjs.entry.js +7 -7
  155. package/dist/cjs/bcm-stepper.cjs.entry.js +34 -44
  156. package/dist/cjs/bcm-switch.cjs.entry.js +6 -6
  157. package/dist/cjs/bcm-tab-group.cjs.entry.js +87 -31
  158. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +9 -9
  159. package/dist/cjs/bcm-tab-item.cjs.entry.js +8 -8
  160. package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
  161. package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
  162. package/dist/cjs/bcm-table.cjs.entry.js +2 -2
  163. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
  164. package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
  165. package/dist/cjs/bcm-tag.cjs.entry.js +7 -7
  166. package/dist/cjs/bcm-text.cjs.entry.js +7 -7
  167. package/dist/cjs/bcm-textarea.cjs.entry.js +9 -8
  168. package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -5
  169. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
  170. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
  171. package/dist/cjs/bcm-toast.cjs.entry.js +115 -0
  172. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  173. package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
  174. package/dist/cjs/bromcom-ui.cjs.js +7 -3
  175. package/dist/cjs/{caption-template-de4a0064.js → caption-template-8d099fd6.js} +2 -2
  176. package/dist/cjs/{color-helper-09aa652d.js → color-helper-d6d2028b.js} +8 -8
  177. package/dist/cjs/{colors-7cc2aee2.js → colors-e1d142ad.js} +49 -27
  178. package/dist/cjs/{floating-ui-c23acc6c.js → floating-ui-74eb26d6.js} +592 -542
  179. package/dist/cjs/{generate-b2779357.js → generate-c2f702e3.js} +4 -4
  180. package/dist/cjs/{index-56628fe5.js → index-4506fcd7.js} +1 -1
  181. package/dist/cjs/{index-7e2a5376.js → index-ddfd6d8f.js} +111 -2
  182. package/dist/cjs/{index-a2b50e51.js → index-fdbf5226.js} +11 -10
  183. package/dist/cjs/{input-template-ef0dff49.js → input-template-b969af2c.js} +3 -3
  184. package/dist/cjs/{is-load-decorator-c38598ab.js → is-load-decorator-137dded1.js} +1 -3
  185. package/dist/cjs/{json-parse-decarator-6daa901d.js → json-parse-decarator-d68e062e.js} +2 -2
  186. package/dist/cjs/{label-template-098a30a4.js → label-template-cc69bc21.js} +3 -3
  187. package/dist/cjs/loader.cjs.js +4 -3
  188. package/dist/cjs/{number-helper-c0a3073d.js → number-helper-d2ece9d9.js} +1 -1
  189. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +9 -9
  190. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  191. package/dist/cjs/{popover-placement-69d37a5f.js → popover-placement-3c8f3a72.js} +1 -1
  192. package/dist/cjs/{slot-template-7a07f865.js → slot-template-3e59d7d8.js} +2 -2
  193. package/dist/cjs/{stepper-states-7458308e.js → stepper-states-f194e442.js} +3 -3
  194. package/dist/cjs/{string-helper-71b10c53.js → string-helper-45cffee0.js} +4 -4
  195. package/dist/cjs/{tooltip-helper-d4c09d59.js → tooltip-helper-231fc602.js} +6 -6
  196. package/dist/cjs/{validators-9db90679.js → validators-8f5d2703.js} +1 -1
  197. package/dist/collection/collection-manifest.json +10 -5
  198. package/dist/collection/components/atoms/button/button.js +1 -1
  199. package/dist/collection/components/molecules/color-input/color-input.js +6 -18
  200. package/dist/collection/components/molecules/dropdown/dropdown.js +1 -1
  201. package/dist/collection/components/molecules/input/input.js +2 -1
  202. package/dist/collection/components/molecules/linked/linked.js +64 -8
  203. package/dist/collection/components/molecules/popover/popover.js +1 -1
  204. package/dist/collection/components/molecules/radio/radio-group.js +27 -6
  205. package/dist/collection/components/molecules/stepper/stepper.js +29 -42
  206. package/dist/collection/components/molecules/tab-group/tab-group.js +89 -24
  207. package/dist/collection/components/molecules/tab-group/tab-item.js +2 -2
  208. package/dist/collection/components/molecules/textarea/textarea.js +2 -1
  209. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  210. package/dist/collection/components/other/modal-2/modal-2-footer.js +54 -0
  211. package/dist/collection/components/other/modal-2/modal-2-header.js +53 -0
  212. package/dist/collection/components/other/modal-2/modal-2.js +450 -0
  213. package/dist/collection/components/other/overlay/overlay.js +101 -0
  214. package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
  215. package/dist/collection/decorators/is-load-decorator.js +0 -2
  216. package/dist/collection/templates/tag-template.js +1 -1
  217. package/dist/components/bcm-color-input.js +3 -8
  218. package/dist/components/bcm-modal-2-footer.d.ts +11 -0
  219. package/dist/components/bcm-modal-2-footer.js +60 -0
  220. package/dist/components/bcm-modal-2-header.d.ts +11 -0
  221. package/dist/components/bcm-modal-2-header.js +59 -0
  222. package/dist/components/bcm-modal-2.d.ts +11 -0
  223. package/dist/components/bcm-modal-2.js +207 -0
  224. package/dist/components/bcm-overlay.d.ts +11 -0
  225. package/dist/components/bcm-overlay.js +10 -0
  226. package/dist/components/bcm-popover.js +1 -1
  227. package/dist/components/bcm-radio-group.js +21 -4
  228. package/dist/components/bcm-scroll-area.d.ts +11 -0
  229. package/dist/components/bcm-scroll-area.js +10 -0
  230. package/dist/components/bcm-stepper.js +25 -35
  231. package/dist/components/bcm-tab-group.js +80 -24
  232. package/dist/components/bcm-tab-item.js +1 -1
  233. package/dist/components/bcm-textarea.js +2 -1
  234. package/dist/components/color-helper.js +8 -8
  235. package/dist/components/colors2.js +49 -27
  236. package/dist/components/floating-ui.js +592 -542
  237. package/dist/components/generate.js +4 -4
  238. package/dist/components/index.d.ts +17 -3
  239. package/dist/components/index.js +6 -1
  240. package/dist/components/index2.js +11 -10
  241. package/dist/components/input.js +2 -1
  242. package/dist/components/is-load-decorator.js +0 -2
  243. package/dist/components/linked.js +43 -10
  244. package/dist/components/overlay.js +47 -0
  245. package/dist/components/scroll-area.js +40 -0
  246. package/dist/components/string-helper.js +4 -4
  247. package/dist/components/tooltip.js +1 -1
  248. package/dist/esm/bcm-accordion.entry.js +4 -4
  249. package/dist/esm/bcm-alert.entry.js +7 -7
  250. package/dist/esm/bcm-attendance.entry.js +4 -4
  251. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  252. package/dist/esm/bcm-avatar_2.entry.js +10 -10
  253. package/dist/esm/bcm-box.entry.js +2 -2
  254. package/dist/esm/bcm-breadcrumb.entry.js +5 -5
  255. package/dist/esm/bcm-button-group.entry.js +6 -6
  256. package/dist/esm/bcm-button_7.entry.js +1560 -0
  257. package/dist/esm/bcm-card.entry.js +8 -8
  258. package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -5
  259. package/dist/esm/bcm-chip.entry.js +6 -6
  260. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  261. package/dist/esm/bcm-collapse.entry.js +5 -5
  262. package/dist/esm/bcm-color-input.entry.js +10 -15
  263. package/dist/esm/bcm-colorful_2.entry.js +46 -15
  264. package/dist/esm/bcm-colorpicker.entry.js +3 -3
  265. package/dist/esm/bcm-date-picker.entry.js +5 -5
  266. package/dist/esm/bcm-datetime-picker.entry.js +9 -9
  267. package/dist/esm/bcm-default.entry.js +4 -4
  268. package/dist/esm/bcm-drawer.entry.js +9 -9
  269. package/dist/esm/bcm-dropdown.entry.js +6 -6
  270. package/dist/esm/bcm-error-layout.entry.js +3 -3
  271. package/dist/esm/bcm-expansion-panel.entry.js +7 -7
  272. package/dist/esm/bcm-form-2.entry.js +5 -5
  273. package/dist/esm/bcm-form-group.entry.js +2 -2
  274. package/dist/esm/bcm-input-custom.entry.js +5 -5
  275. package/dist/esm/bcm-input.entry.js +12 -11
  276. package/dist/esm/bcm-item.entry.js +6 -6
  277. package/dist/esm/bcm-items.entry.js +5 -5
  278. package/dist/esm/bcm-link.entry.js +3 -3
  279. package/dist/esm/bcm-list.entry.js +18 -18
  280. package/dist/esm/bcm-menu.entry.js +11 -11
  281. package/dist/esm/bcm-message.entry.js +3 -3
  282. package/dist/esm/bcm-modal-2-footer.entry.js +46 -0
  283. package/dist/esm/bcm-modal-2-header.entry.js +45 -0
  284. package/dist/esm/bcm-modal-2.entry.js +168 -0
  285. package/dist/esm/bcm-modal.entry.js +7 -7
  286. package/dist/esm/bcm-notification.entry.js +3 -3
  287. package/dist/esm/bcm-old-input.entry.js +4 -4
  288. package/dist/esm/bcm-old-tag_2.entry.js +3 -3
  289. package/dist/esm/bcm-overlay_2.entry.js +43 -0
  290. package/dist/esm/bcm-popconfirm-box.entry.js +8 -8
  291. package/dist/esm/bcm-popconfirm.entry.js +5 -5
  292. package/dist/esm/bcm-popover.entry.js +10 -10
  293. package/dist/esm/bcm-progress.entry.js +6 -6
  294. package/dist/esm/bcm-radio-group.entry.js +31 -14
  295. package/dist/esm/bcm-radio.entry.js +8 -8
  296. package/dist/esm/bcm-range.entry.js +5 -5
  297. package/dist/esm/bcm-result.entry.js +3 -3
  298. package/dist/esm/bcm-search.entry.js +8 -8
  299. package/dist/esm/bcm-select-group.entry.js +2 -2
  300. package/dist/esm/bcm-select-option.entry.js +2 -2
  301. package/dist/esm/bcm-select.entry.js +4 -4
  302. package/dist/esm/bcm-skeleton.entry.js +4 -4
  303. package/dist/esm/bcm-step.entry.js +7 -7
  304. package/dist/esm/bcm-stepper.entry.js +35 -45
  305. package/dist/esm/bcm-switch.entry.js +6 -6
  306. package/dist/esm/bcm-tab-group.entry.js +87 -31
  307. package/dist/esm/bcm-tab-item-header.entry.js +9 -9
  308. package/dist/esm/bcm-tab-item.entry.js +8 -8
  309. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  310. package/dist/esm/bcm-tab.entry.js +3 -3
  311. package/dist/esm/bcm-table.entry.js +2 -2
  312. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  313. package/dist/esm/bcm-tabs.entry.js +3 -3
  314. package/dist/esm/bcm-tag.entry.js +7 -7
  315. package/dist/esm/bcm-text.entry.js +7 -7
  316. package/dist/esm/bcm-textarea.entry.js +9 -8
  317. package/dist/esm/bcm-time-picker.entry.js +5 -5
  318. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  319. package/dist/esm/bcm-timeline.entry.js +3 -3
  320. package/dist/esm/bcm-toast.entry.js +111 -0
  321. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  322. package/dist/esm/bcm-typography.entry.js +31 -0
  323. package/dist/esm/bromcom-ui.js +4 -3
  324. package/dist/esm/{caption-template-389f5bd6.js → caption-template-da16ba7b.js} +2 -2
  325. package/dist/esm/{color-helper-2b6697b6.js → color-helper-e8ce23d7.js} +8 -8
  326. package/dist/esm/{colors-39b87f63.js → colors-44c95e7e.js} +49 -27
  327. package/dist/esm/{floating-ui-4a49ea46.js → floating-ui-e7341329.js} +592 -542
  328. package/dist/esm/{generate-fbf3c64b.js → generate-21c7043c.js} +4 -4
  329. package/dist/esm/{index-6e2d80d7.js → index-39133086.js} +111 -3
  330. package/dist/esm/{index-8b349654.js → index-93e36fdb.js} +1 -1
  331. package/dist/esm/{index-ba2edd32.js → index-ed9652af.js} +11 -10
  332. package/dist/esm/{input-template-f5b003c0.js → input-template-141596b2.js} +3 -3
  333. package/dist/esm/{is-load-decorator-66e19e04.js → is-load-decorator-bc14ec4b.js} +1 -3
  334. package/dist/esm/{json-parse-decarator-f023562b.js → json-parse-decarator-78f84e8b.js} +2 -2
  335. package/dist/esm/{label-template-eed2dd69.js → label-template-d74fe788.js} +3 -3
  336. package/dist/esm/loader.js +4 -3
  337. package/dist/esm/{number-helper-b69dc985.js → number-helper-a47d3848.js} +1 -1
  338. package/dist/esm/old-bcm-popover-box.entry.js +9 -9
  339. package/dist/esm/old-bcm-popover.entry.js +5 -5
  340. package/dist/esm/polyfills/css-shim.js +1 -1
  341. package/dist/esm/{popover-placement-4baf5f2f.js → popover-placement-78f86f15.js} +1 -1
  342. package/dist/esm/{slot-template-64b41ee5.js → slot-template-5b2db362.js} +2 -2
  343. package/dist/esm/{stepper-states-7087f0cb.js → stepper-states-96b18623.js} +3 -3
  344. package/dist/esm/{string-helper-0fb7ff20.js → string-helper-6bd24967.js} +4 -4
  345. package/dist/esm/{tooltip-helper-31ca799b.js → tooltip-helper-df2fb1c8.js} +6 -6
  346. package/dist/esm/{validators-d3c37e80.js → validators-cff5686e.js} +1 -1
  347. package/dist/types/components/molecules/input/input.d.ts +1 -1
  348. package/dist/types/components/molecules/linked/linked.d.ts +9 -2
  349. package/dist/types/components/molecules/popover/popover.d.ts +1 -1
  350. package/dist/types/components/molecules/radio/radio-group.d.ts +3 -0
  351. package/dist/types/components/molecules/stepper/stepper.d.ts +2 -2
  352. package/dist/types/components/molecules/tab-group/tab-group.d.ts +7 -1
  353. package/dist/types/components/molecules/textarea/textarea.d.ts +1 -1
  354. package/dist/types/components/molecules/tooltip/tooltip.d.ts +1 -1
  355. package/dist/types/components/other/modal-2/modal-2-footer.d.ts +7 -0
  356. package/dist/types/components/other/modal-2/modal-2-header.d.ts +7 -0
  357. package/dist/types/components/other/modal-2/modal-2.d.ts +33 -0
  358. package/dist/types/components/other/overlay/overlay.d.ts +8 -0
  359. package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
  360. package/dist/types/components.d.ts +114 -1
  361. package/dist/types/stencil-public-runtime.d.ts +59 -3
  362. package/helper/index.js +1 -1
  363. package/helper/toast.js +1 -1
  364. package/loader/index.d.ts +9 -0
  365. package/package.json +11 -11
  366. package/dist/bromcom-ui/p-07b62dab.entry.js +0 -5
  367. package/dist/bromcom-ui/p-168d2632.entry.js +0 -5
  368. package/dist/bromcom-ui/p-17bafd84.entry.js +0 -5
  369. package/dist/bromcom-ui/p-1a0900cc.entry.js +0 -10
  370. package/dist/bromcom-ui/p-22e08221.entry.js +0 -5
  371. package/dist/bromcom-ui/p-2eaf7068.entry.js +0 -5
  372. package/dist/bromcom-ui/p-34a59d30.js +0 -5
  373. package/dist/bromcom-ui/p-3d8802d9.entry.js +0 -5
  374. package/dist/bromcom-ui/p-4487e8c2.js +0 -5
  375. package/dist/bromcom-ui/p-48e9166c.js +0 -5
  376. package/dist/bromcom-ui/p-4a123037.entry.js +0 -5
  377. package/dist/bromcom-ui/p-51deaab5.entry.js +0 -5
  378. package/dist/bromcom-ui/p-524ab0fc.entry.js +0 -5
  379. package/dist/bromcom-ui/p-56898932.js +0 -5
  380. package/dist/bromcom-ui/p-56bb19ef.js +0 -5
  381. package/dist/bromcom-ui/p-58815bb1.entry.js +0 -5
  382. package/dist/bromcom-ui/p-65fbabc8.entry.js +0 -5
  383. package/dist/bromcom-ui/p-70c794df.js +0 -5
  384. package/dist/bromcom-ui/p-71930900.js +0 -5
  385. package/dist/bromcom-ui/p-79a1c167.js +0 -5
  386. package/dist/bromcom-ui/p-80fdd63f.entry.js +0 -5
  387. package/dist/bromcom-ui/p-88f7d869.js +0 -6
  388. package/dist/bromcom-ui/p-89a9e8e3.entry.js +0 -5
  389. package/dist/bromcom-ui/p-967df53d.entry.js +0 -5
  390. package/dist/bromcom-ui/p-9bef5a59.js +0 -5
  391. package/dist/bromcom-ui/p-afa908e9.entry.js +0 -5
  392. package/dist/bromcom-ui/p-ba8d8c03.entry.js +0 -5
  393. package/dist/bromcom-ui/p-c3238361.entry.js +0 -5
  394. package/dist/bromcom-ui/p-d5b08a77.js +0 -11
  395. package/dist/bromcom-ui/p-de954bc9.js +0 -5
  396. package/dist/bromcom-ui/p-e2e7d808.entry.js +0 -5
  397. package/dist/bromcom-ui/p-e422fc70.entry.js +0 -5
  398. package/dist/bromcom-ui/p-f881a6b8.entry.js +0 -5
  399. package/dist/cjs/bcm-button_2.cjs.entry.js +0 -482
  400. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -416
  401. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -206
  402. package/dist/cjs/bcm-form.cjs.entry.js +0 -487
  403. package/dist/cjs/bcm-icon.cjs.entry.js +0 -41
  404. package/dist/cjs/bcm-label_2.cjs.entry.js +0 -149
  405. package/dist/collection/components/external-source/bcm-toast-helper.js +0 -20
  406. package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +0 -20
  407. package/dist/collection/components/molecules/color-input/color-input.css +0 -127
  408. package/dist/esm/bcm-button_2.entry.js +0 -477
  409. package/dist/esm/bcm-checkbox-group.entry.js +0 -412
  410. package/dist/esm/bcm-checkbox_2.entry.js +0 -201
  411. package/dist/esm/bcm-form.entry.js +0 -483
  412. package/dist/esm/bcm-icon.entry.js +0 -37
  413. package/dist/esm/bcm-label_2.entry.js +0 -144
  414. package/dist/types/components/external-source/bcm-toast-helper.d.ts +0 -12
  415. package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +0 -12
  416. /package/dist/bromcom-ui/{p-5fd7a8b6.js → p-2e73d572.js} +0 -0
  417. /package/dist/cjs/{types-6eb7e028.js → types-7523fd99.js} +0 -0
  418. /package/dist/collection/components/{atoms → other}/box/box.js +0 -0
  419. /package/dist/collection/components/{atoms → other}/typography/typography.js +0 -0
  420. /package/dist/collection/components/{atoms → other_deprecated}/tag/tag.js +0 -0
  421. /package/dist/collection/components/{atoms → other_deprecated}/tag/types.js +0 -0
  422. /package/dist/esm/{types-bfc3bba1.js → types-9493a7ed.js} +0 -0
  423. /package/dist/types/components/{atoms → other}/box/box.d.ts +0 -0
  424. /package/dist/types/components/{atoms → other}/typography/typography.d.ts +0 -0
  425. /package/dist/types/components/{atoms → other_deprecated}/tag/tag.d.ts +0 -0
  426. /package/dist/types/components/{atoms → other_deprecated}/tag/types.d.ts +0 -0
@@ -0,0 +1,450 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8
+ r = Reflect.decorate(decorators, target, key, desc);
9
+ else
10
+ for (var i = decorators.length - 1; i >= 0; i--)
11
+ if (d = decorators[i])
12
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
14
+ };
15
+ import { IsLoad } from "@bcm/decorator";
16
+ import { Generate } from "@bcm/helpers";
17
+ import { Bcm } from "@bcm/model";
18
+ import { delay } from "@bcm/utils";
19
+ import { Host, h } from "@stencil/core";
20
+ import cs from "classnames";
21
+ export class BcmModal2 {
22
+ constructor() {
23
+ this._id = Generate.UID();
24
+ this.isShow = false;
25
+ this.center = false;
26
+ this.zIndex = "10400";
27
+ this.size = Bcm.Size.medium;
28
+ this.backdrop = true;
29
+ this.fullWidth = false;
30
+ this.fullScreen = false;
31
+ this.overflow = true;
32
+ this.isShowModal = false;
33
+ this.shake = false;
34
+ }
35
+ // Listen to the click event on the component and its children
36
+ handleClick(e) {
37
+ // Check if the click event is triggered on a child element with "data-dismiss" attribute
38
+ const dismiss = Generate.findEventPathHasAttribute(e, "data-dismiss");
39
+ // Check if the click event is triggered on the overlay element and backdrop is "static"
40
+ const target = e.target;
41
+ const isClickOverlay = target.attributes.getNamedItem("is-click-overlay");
42
+ if (isClickOverlay && this.backdrop === "static") {
43
+ // Shake the modal if the overlay is clicked and backdrop is "static"
44
+ this.shakeModal();
45
+ }
46
+ else if (dismiss || isClickOverlay) {
47
+ // Hide the modal if the "data-dismiss" element is clicked
48
+ this.hide();
49
+ e.preventDefault();
50
+ e.stopPropagation();
51
+ }
52
+ }
53
+ // Listen to the keydown event on the document element
54
+ handleKeyDown(ev) {
55
+ // Get the top modal in the DOM with "is-show" attribute
56
+ const topModal = Array.from(document.querySelectorAll("bcm-modal-2[is-show]")).pop();
57
+ if (topModal !== this.el) {
58
+ return;
59
+ }
60
+ if (ev.key === "Escape") {
61
+ if (this.backdrop === "static") {
62
+ // Shake the modal if the backdrop is "static" and Escape key is pressed
63
+ this.shakeModal();
64
+ }
65
+ else {
66
+ // Hide the modal if Escape key is pressed
67
+ this.hide();
68
+ }
69
+ ev.preventDefault();
70
+ ev.stopPropagation();
71
+ ev.stopImmediatePropagation();
72
+ }
73
+ }
74
+ // Shake the modal by toggling "shake" state
75
+ shakeModal() {
76
+ this.shake = true;
77
+ setTimeout(() => (this.shake = false), 300);
78
+ }
79
+ // Hide the modal by emitting "bcm-modal-before-close" event
80
+ async hide() {
81
+ this.modalBeforeClose.emit();
82
+ }
83
+ // Listen to "bcm-modal-before-close" event and hide the modal if defaultPrevented is not set
84
+ async hideModal(e) {
85
+ if (e.defaultPrevented) {
86
+ return;
87
+ }
88
+ if (e.target === this.el) {
89
+ this.isShowModal = false;
90
+ await delay(150);
91
+ this.isShow = false;
92
+ this.modalClose.emit();
93
+ }
94
+ }
95
+ // Show the modal by emitting "bcm-modal-before-open" event
96
+ async show() {
97
+ this.modalBeforeOpen.emit();
98
+ }
99
+ // Listen to "bcm-modal-before-open" event and show the modal if defaultPrevented is not set
100
+ async showModal(e) {
101
+ if (e.defaultPrevented) {
102
+ return;
103
+ }
104
+ if (e.target === this.el) {
105
+ this.isShow = true;
106
+ await delay(50);
107
+ this.isShowModal = true;
108
+ document.body.appendChild(this.el);
109
+ this.modalOpen.emit();
110
+ }
111
+ }
112
+ // Get the width of the modal based on the size
113
+ getWidth(size) {
114
+ const sizes = {
115
+ small: "576px",
116
+ medium: "768px",
117
+ large: "992px",
118
+ xlarge: "1024px",
119
+ xxlarge: "1200px",
120
+ xxxlarge: "1700px",
121
+ };
122
+ return sizes[size] || size;
123
+ }
124
+ // Get the modal size
125
+ setSize() {
126
+ const { fullScreen, fullWidth, size, overflow } = this;
127
+ let minHeight = "auto";
128
+ let height = "auto";
129
+ let width = fullWidth ? "100%" : this.getWidth(size);
130
+ if (fullScreen) {
131
+ height = overflow ? "100vh" : "auto";
132
+ width = "100vw";
133
+ minHeight = "100vh";
134
+ }
135
+ return { width, minHeight, height };
136
+ }
137
+ render() {
138
+ return (h(Host, { class: { "tw-hidden": !this.isShow } }, h("bcm-overlay", { "z-index": +this.zIndex - 1, opacity: this.isShowModal ? "0.5" : "0" }), h("div", { class: cs("tw-fixed tw-inset-0", "tw-flex tw-h-full tw-w-full tw-items-start tw-justify-center", "tw-overflow-y-scroll tw-overscroll-contain tw-font-sans", this.center ? "tw-items-center" : ""), style: {
139
+ zIndex: this.zIndex,
140
+ }, "is-click-overlay": true }, h("div", { class: cs("tw-flex tw-w-full tw-flex-col", "tw-relative tw-z-modal tw-bg-white", "tw--translate-y-[20px] tw-transform tw-opacity-0 tw-transition tw-duration-300 tw-ease-in-out", this.fullScreen ? "" : `tw-m-4 tw-rounded-lg ${this.overflow ? "tw-max-h-[90vh]" : ""} `, this.shake ? "tw-animate-shake" : ""), style: Object.assign(Object.assign({}, this.setSize()), (this.isShowModal
141
+ ? {
142
+ transform: "translateY(0)",
143
+ opacity: "1",
144
+ }
145
+ : {})) }, h("slot", { name: "header" }), h("bcm-scroll-area", { "is-disabled": !this.overflow }, h("slot", null)), h("slot", { name: "footer" })))));
146
+ }
147
+ static get is() { return "bcm-modal-2"; }
148
+ static get properties() {
149
+ return {
150
+ "_id": {
151
+ "type": "string",
152
+ "mutable": true,
153
+ "complexType": {
154
+ "original": "string",
155
+ "resolved": "string",
156
+ "references": {}
157
+ },
158
+ "required": false,
159
+ "optional": false,
160
+ "docs": {
161
+ "tags": [],
162
+ "text": ""
163
+ },
164
+ "attribute": "id",
165
+ "reflect": true,
166
+ "defaultValue": "Generate.UID()"
167
+ },
168
+ "isShow": {
169
+ "type": "boolean",
170
+ "mutable": true,
171
+ "complexType": {
172
+ "original": "boolean",
173
+ "resolved": "boolean",
174
+ "references": {}
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": ""
181
+ },
182
+ "attribute": "is-show",
183
+ "reflect": true,
184
+ "defaultValue": "false"
185
+ },
186
+ "center": {
187
+ "type": "boolean",
188
+ "mutable": false,
189
+ "complexType": {
190
+ "original": "boolean",
191
+ "resolved": "boolean",
192
+ "references": {}
193
+ },
194
+ "required": false,
195
+ "optional": false,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": ""
199
+ },
200
+ "attribute": "center",
201
+ "reflect": false,
202
+ "defaultValue": "false"
203
+ },
204
+ "zIndex": {
205
+ "type": "string",
206
+ "mutable": false,
207
+ "complexType": {
208
+ "original": "string",
209
+ "resolved": "string",
210
+ "references": {}
211
+ },
212
+ "required": false,
213
+ "optional": false,
214
+ "docs": {
215
+ "tags": [],
216
+ "text": ""
217
+ },
218
+ "attribute": "z-index",
219
+ "reflect": false,
220
+ "defaultValue": "\"10400\""
221
+ },
222
+ "size": {
223
+ "type": "any",
224
+ "mutable": false,
225
+ "complexType": {
226
+ "original": "any",
227
+ "resolved": "any",
228
+ "references": {}
229
+ },
230
+ "required": false,
231
+ "optional": false,
232
+ "docs": {
233
+ "tags": [],
234
+ "text": ""
235
+ },
236
+ "attribute": "size",
237
+ "reflect": false,
238
+ "defaultValue": "Bcm.Size.medium"
239
+ },
240
+ "backdrop": {
241
+ "type": "any",
242
+ "mutable": false,
243
+ "complexType": {
244
+ "original": "boolean | \"static\"",
245
+ "resolved": "\"static\" | boolean",
246
+ "references": {}
247
+ },
248
+ "required": false,
249
+ "optional": false,
250
+ "docs": {
251
+ "tags": [],
252
+ "text": ""
253
+ },
254
+ "attribute": "backdrop",
255
+ "reflect": false,
256
+ "defaultValue": "true"
257
+ },
258
+ "fullWidth": {
259
+ "type": "boolean",
260
+ "mutable": false,
261
+ "complexType": {
262
+ "original": "boolean",
263
+ "resolved": "boolean",
264
+ "references": {}
265
+ },
266
+ "required": false,
267
+ "optional": false,
268
+ "docs": {
269
+ "tags": [],
270
+ "text": ""
271
+ },
272
+ "attribute": "full-width",
273
+ "reflect": false,
274
+ "defaultValue": "false"
275
+ },
276
+ "fullScreen": {
277
+ "type": "boolean",
278
+ "mutable": false,
279
+ "complexType": {
280
+ "original": "boolean",
281
+ "resolved": "boolean",
282
+ "references": {}
283
+ },
284
+ "required": false,
285
+ "optional": false,
286
+ "docs": {
287
+ "tags": [],
288
+ "text": ""
289
+ },
290
+ "attribute": "full-screen",
291
+ "reflect": false,
292
+ "defaultValue": "false"
293
+ },
294
+ "overflow": {
295
+ "type": "boolean",
296
+ "mutable": false,
297
+ "complexType": {
298
+ "original": "boolean",
299
+ "resolved": "boolean",
300
+ "references": {}
301
+ },
302
+ "required": false,
303
+ "optional": false,
304
+ "docs": {
305
+ "tags": [],
306
+ "text": ""
307
+ },
308
+ "attribute": "overflow",
309
+ "reflect": false,
310
+ "defaultValue": "true"
311
+ }
312
+ };
313
+ }
314
+ static get states() {
315
+ return {
316
+ "isShowModal": {},
317
+ "shake": {}
318
+ };
319
+ }
320
+ static get events() {
321
+ return [{
322
+ "method": "modalClose",
323
+ "name": "bcm-modal-close",
324
+ "bubbles": true,
325
+ "cancelable": true,
326
+ "composed": true,
327
+ "docs": {
328
+ "tags": [],
329
+ "text": ""
330
+ },
331
+ "complexType": {
332
+ "original": "any",
333
+ "resolved": "any",
334
+ "references": {}
335
+ }
336
+ }, {
337
+ "method": "modalOpen",
338
+ "name": "bcm-modal-open",
339
+ "bubbles": true,
340
+ "cancelable": true,
341
+ "composed": true,
342
+ "docs": {
343
+ "tags": [],
344
+ "text": ""
345
+ },
346
+ "complexType": {
347
+ "original": "any",
348
+ "resolved": "any",
349
+ "references": {}
350
+ }
351
+ }, {
352
+ "method": "modalBeforeClose",
353
+ "name": "bcm-modal-before-close",
354
+ "bubbles": true,
355
+ "cancelable": true,
356
+ "composed": true,
357
+ "docs": {
358
+ "tags": [],
359
+ "text": ""
360
+ },
361
+ "complexType": {
362
+ "original": "any",
363
+ "resolved": "any",
364
+ "references": {}
365
+ }
366
+ }, {
367
+ "method": "modalBeforeOpen",
368
+ "name": "bcm-modal-before-open",
369
+ "bubbles": true,
370
+ "cancelable": true,
371
+ "composed": true,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": ""
375
+ },
376
+ "complexType": {
377
+ "original": "any",
378
+ "resolved": "any",
379
+ "references": {}
380
+ }
381
+ }];
382
+ }
383
+ static get methods() {
384
+ return {
385
+ "hide": {
386
+ "complexType": {
387
+ "signature": "() => Promise<void>",
388
+ "parameters": [],
389
+ "references": {
390
+ "Promise": {
391
+ "location": "global"
392
+ }
393
+ },
394
+ "return": "Promise<void>"
395
+ },
396
+ "docs": {
397
+ "text": "",
398
+ "tags": []
399
+ }
400
+ },
401
+ "show": {
402
+ "complexType": {
403
+ "signature": "() => Promise<void>",
404
+ "parameters": [],
405
+ "references": {
406
+ "Promise": {
407
+ "location": "global"
408
+ }
409
+ },
410
+ "return": "Promise<void>"
411
+ },
412
+ "docs": {
413
+ "text": "",
414
+ "tags": []
415
+ }
416
+ }
417
+ };
418
+ }
419
+ static get elementRef() { return "el"; }
420
+ static get listeners() {
421
+ return [{
422
+ "name": "click",
423
+ "method": "handleClick",
424
+ "target": undefined,
425
+ "capture": false,
426
+ "passive": false
427
+ }, {
428
+ "name": "keydown",
429
+ "method": "handleKeyDown",
430
+ "target": "document",
431
+ "capture": false,
432
+ "passive": false
433
+ }, {
434
+ "name": "bcm-modal-before-close",
435
+ "method": "hideModal",
436
+ "target": undefined,
437
+ "capture": false,
438
+ "passive": false
439
+ }, {
440
+ "name": "bcm-modal-before-open",
441
+ "method": "showModal",
442
+ "target": undefined,
443
+ "capture": false,
444
+ "passive": false
445
+ }];
446
+ }
447
+ }
448
+ __decorate([
449
+ IsLoad()
450
+ ], BcmModal2.prototype, "el", void 0);
@@ -0,0 +1,101 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { Host, h } from "@stencil/core";
6
+ import cs from "classnames";
7
+ import colors from "tailwindcss/colors";
8
+ export class BcmOverlay {
9
+ constructor() {
10
+ this.center = false;
11
+ this.color = colors.black;
12
+ this.opacity = "0.5";
13
+ this.zIndex = "10400";
14
+ }
15
+ render() {
16
+ return (h(Host, { class: cs("tw-fixed tw-inset-0 tw-transition", {
17
+ "tw-flex tw-items-center tw-justify-center": this.center,
18
+ }), style: {
19
+ backgroundColor: `${this.color}`,
20
+ opacity: this.opacity,
21
+ zIndex: this.zIndex,
22
+ } }, h("slot", null)));
23
+ }
24
+ static get is() { return "bcm-overlay"; }
25
+ static get properties() {
26
+ return {
27
+ "center": {
28
+ "type": "boolean",
29
+ "mutable": false,
30
+ "complexType": {
31
+ "original": "boolean",
32
+ "resolved": "boolean",
33
+ "references": {}
34
+ },
35
+ "required": false,
36
+ "optional": false,
37
+ "docs": {
38
+ "tags": [],
39
+ "text": ""
40
+ },
41
+ "attribute": "center",
42
+ "reflect": false,
43
+ "defaultValue": "false"
44
+ },
45
+ "color": {
46
+ "type": "string",
47
+ "mutable": false,
48
+ "complexType": {
49
+ "original": "\"#000\"",
50
+ "resolved": "\"#000\"",
51
+ "references": {}
52
+ },
53
+ "required": false,
54
+ "optional": false,
55
+ "docs": {
56
+ "tags": [],
57
+ "text": ""
58
+ },
59
+ "attribute": "color",
60
+ "reflect": false,
61
+ "defaultValue": "colors.black"
62
+ },
63
+ "opacity": {
64
+ "type": "string",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "string",
68
+ "resolved": "string",
69
+ "references": {}
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": ""
76
+ },
77
+ "attribute": "opacity",
78
+ "reflect": false,
79
+ "defaultValue": "\"0.5\""
80
+ },
81
+ "zIndex": {
82
+ "type": "string",
83
+ "mutable": false,
84
+ "complexType": {
85
+ "original": "string",
86
+ "resolved": "string",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "attribute": "z-index",
96
+ "reflect": false,
97
+ "defaultValue": "\"10400\""
98
+ }
99
+ };
100
+ }
101
+ }
@@ -0,0 +1,77 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { Host, h } from "@stencil/core";
6
+ import cs from "classnames";
7
+ export class BcmScrollArea {
8
+ constructor() {
9
+ this.width = "inherit";
10
+ this.height = "inherit";
11
+ this.isDisabled = false;
12
+ }
13
+ render() {
14
+ return (h(Host, { class: cs("tw-block", {
15
+ "tw-overflow-y-scroll tw-overscroll-contain": !this.isDisabled,
16
+ }), style: { width: this.width, height: this.height } }, h("slot", null)));
17
+ }
18
+ static get is() { return "bcm-scroll-area"; }
19
+ static get properties() {
20
+ return {
21
+ "width": {
22
+ "type": "string",
23
+ "mutable": false,
24
+ "complexType": {
25
+ "original": "string",
26
+ "resolved": "string",
27
+ "references": {}
28
+ },
29
+ "required": false,
30
+ "optional": false,
31
+ "docs": {
32
+ "tags": [],
33
+ "text": ""
34
+ },
35
+ "attribute": "width",
36
+ "reflect": false,
37
+ "defaultValue": "\"inherit\""
38
+ },
39
+ "height": {
40
+ "type": "string",
41
+ "mutable": false,
42
+ "complexType": {
43
+ "original": "string",
44
+ "resolved": "string",
45
+ "references": {}
46
+ },
47
+ "required": false,
48
+ "optional": false,
49
+ "docs": {
50
+ "tags": [],
51
+ "text": ""
52
+ },
53
+ "attribute": "height",
54
+ "reflect": false,
55
+ "defaultValue": "\"inherit\""
56
+ },
57
+ "isDisabled": {
58
+ "type": "boolean",
59
+ "mutable": false,
60
+ "complexType": {
61
+ "original": "boolean",
62
+ "resolved": "boolean",
63
+ "references": {}
64
+ },
65
+ "required": false,
66
+ "optional": false,
67
+ "docs": {
68
+ "tags": [],
69
+ "text": ""
70
+ },
71
+ "attribute": "is-disabled",
72
+ "reflect": false,
73
+ "defaultValue": "false"
74
+ }
75
+ };
76
+ }
77
+ }
@@ -19,8 +19,6 @@ export function registerAttrReflect(element) {
19
19
  let io = new IntersectionObserver((data) => {
20
20
  if (data[0].isIntersecting) {
21
21
  isIntersecting(element);
22
- io.disconnect();
23
- io = null;
24
22
  }
25
23
  });
26
24
  io.observe(element);
@@ -8,7 +8,7 @@ import cs from 'classnames';
8
8
  import { NumberHelper } from '../helper/number-helper';
9
9
  import { extractColor } from '../utils/utils';
10
10
  import { ColorPalette } from '../global/variables/colors';
11
- import { ColorProps } from '../components/atoms/tag/types';
11
+ import { ColorProps } from '../components/other_deprecated/tag/types';
12
12
  export const TagTemplate = ({ _id, color, customStyle, size, checked, hidden, value, type, onDismiss, onSelect }) => {
13
13
  !size && (size = Bcm.FontSize['size-1']);
14
14
  const getColor = (color) => {
@@ -17,15 +17,13 @@ import { d as defineCustomElement$4 } from './label.js';
17
17
  import { d as defineCustomElement$3 } from './linked.js';
18
18
  import { d as defineCustomElement$2 } from './tooltip.js';
19
19
 
20
- const colorInputCss = "@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}";
21
-
22
20
  const BcmColorInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
23
21
  constructor() {
24
22
  super();
25
23
  this.__registerHost();
26
24
  this._id = Generate.UID();
27
- this.label = "Color Picker";
28
- this.placeholder = "Color Picker";
25
+ this.label = "";
26
+ this.placeholder = "";
29
27
  this.value = "";
30
28
  this.required = false;
31
29
  this.disabled = false;
@@ -45,14 +43,12 @@ const BcmColorInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
45
43
  }
46
44
  handleInputChanged(e) {
47
45
  this.getPickerElement().color = e.detail;
48
- console.log("handleInputChanged: ", e.detail);
49
46
  }
50
47
  eyeDropper() {
51
48
  const eyeDropper = new window.EyeDropper();
52
49
  eyeDropper
53
50
  .open()
54
51
  .then((color) => {
55
- console.log("color: ", color.sRGBHex);
56
52
  this.handleChange(color.sRGBHex);
57
53
  })
58
54
  .catch((error) => {
@@ -68,12 +64,11 @@ const BcmColorInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
68
64
  return typeof window !== "undefined" && "EyeDropper" in window;
69
65
  }
70
66
  render() {
71
- return (h(Host, null, 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-rounded-full tw-w-4 tw-h-4 tw-border tw-border-gray-100 tw-flex tw-items-center tw-justify-center", 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) }, 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: {
72
68
  backgroundColor: this.value,
73
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) }))));
74
70
  }
75
71
  get el() { return this; }
76
- static get style() { return colorInputCss; }
77
72
  }, [0, "bcm-color-input", {
78
73
  "_id": [1537, "id"],
79
74
  "label": [1],