bromcom-ui 2.9.0-rc.2 → 2.9.0-rc.20

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 (520) 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/global/global.js +19 -5
  4. package/dist/bromcom-ui/global/helper/toast.ts +2 -0
  5. package/dist/bromcom-ui/{p-4eb98beb.entry.js → p-027fcca4.entry.js} +1 -1
  6. package/dist/bromcom-ui/p-03a43724.entry.js +5 -0
  7. package/dist/bromcom-ui/p-05b33e0a.entry.js +5 -0
  8. package/dist/bromcom-ui/p-08c75801.js +5 -0
  9. package/dist/bromcom-ui/p-1289ca7c.entry.js +5 -0
  10. package/dist/bromcom-ui/{p-4cd8a7c8.entry.js → p-14cafd64.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-15ac2f9b.entry.js +5 -0
  12. package/dist/bromcom-ui/p-15f4b17b.js +5 -0
  13. package/dist/bromcom-ui/p-170cf07d.js +6 -0
  14. package/dist/bromcom-ui/p-1bc0cea5.entry.js +5 -0
  15. package/dist/bromcom-ui/p-1c344eb6.js +5 -0
  16. package/dist/bromcom-ui/{p-e4477593.entry.js → p-1c801d0c.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-48f85544.entry.js → p-1c9314bd.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-1f431229.entry.js +5 -0
  19. package/dist/bromcom-ui/{p-8ded5483.entry.js → p-228c74e9.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-ee8aa496.js → p-23b91029.js} +1 -1
  21. package/dist/bromcom-ui/p-24ae2291.entry.js +5 -0
  22. package/dist/bromcom-ui/p-2621356f.entry.js +5 -0
  23. package/dist/bromcom-ui/{p-68abefd2.entry.js → p-26290ed5.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-240151d4.entry.js → p-2aaeb247.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-dbc4c30c.js → p-2c5a0863.js} +1 -1
  26. package/dist/bromcom-ui/{p-9e58b42a.js → p-2e003abd.js} +1 -1
  27. package/dist/bromcom-ui/p-3432a82d.js +19 -0
  28. package/dist/bromcom-ui/p-42c4f7ba.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-30788121.entry.js → p-430c0a24.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-4605fc71.entry.js +5 -0
  31. package/dist/bromcom-ui/p-4b963ea9.entry.js +5 -0
  32. package/dist/bromcom-ui/p-4e7dc8c5.entry.js +5 -0
  33. package/dist/bromcom-ui/p-4fc4adf7.entry.js +5 -0
  34. package/dist/bromcom-ui/p-50623c4a.entry.js +5 -0
  35. package/dist/bromcom-ui/p-562262b5.entry.js +5 -0
  36. package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-5699f67d.entry.js} +1 -1
  37. package/dist/bromcom-ui/p-5871767a.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-03eaa3e0.entry.js → p-5afb94fb.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-5b0c89b9.js +5 -0
  40. package/dist/bromcom-ui/p-5b5aa96d.js +5 -0
  41. package/dist/bromcom-ui/{p-795bdb81.entry.js → p-5c1ee978.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-5ea466da.entry.js +5 -0
  43. package/dist/bromcom-ui/p-6037f210.entry.js +5 -0
  44. package/dist/bromcom-ui/p-61b74ccf.entry.js +5 -0
  45. package/dist/bromcom-ui/p-61db1f1f.js +5 -0
  46. package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-626b805d.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-62a4589f.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-f81dfa79.entry.js → p-62c15599.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-476474f5.js → p-641cd771.js} +1 -1
  50. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  51. package/dist/bromcom-ui/p-65a4b1e3.js +5 -0
  52. package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-bd51d347.entry.js → p-69260d36.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-4aa0e6b1.js → p-6edf985f.js} +1 -1
  55. package/dist/bromcom-ui/p-72372580.entry.js +5 -0
  56. package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
  57. package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-7cb30513.js +5 -0
  59. package/dist/bromcom-ui/p-7ceea271.entry.js +5 -0
  60. package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-7d18ce0e.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-7d700834.entry.js +5 -0
  62. package/dist/bromcom-ui/{p-d832cf50.entry.js → p-80ee3d97.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-c3f145fe.entry.js → p-83d1fd59.entry.js} +1 -1
  64. package/dist/bromcom-ui/p-8520b17f.entry.js +5 -0
  65. package/dist/bromcom-ui/{p-1bd9bd4d.entry.js → p-856d05cb.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-85a95c62.entry.js +5 -0
  67. package/dist/bromcom-ui/p-85eedabc.js +5 -0
  68. package/dist/bromcom-ui/p-89779d2b.entry.js +5 -0
  69. package/dist/bromcom-ui/{p-932f2502.entry.js → p-9473c602.entry.js} +1 -1
  70. package/dist/bromcom-ui/p-9850cbce.js +5 -0
  71. package/dist/bromcom-ui/{p-1647559e.entry.js → p-99824717.entry.js} +1 -1
  72. package/dist/bromcom-ui/p-9c43f91b.entry.js +5 -0
  73. package/dist/bromcom-ui/{p-b60bcecf.js → p-a1b1750c.js} +1 -1
  74. package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-a664cc20.entry.js} +1 -1
  75. package/dist/bromcom-ui/p-a9eb0321.js +315 -0
  76. package/dist/bromcom-ui/p-ac77ad0b.entry.js +5 -0
  77. package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
  78. package/dist/bromcom-ui/p-b1f32d16.entry.js +5 -0
  79. package/dist/bromcom-ui/p-b2cabcb8.entry.js +7 -0
  80. package/dist/bromcom-ui/p-b81e8f91.js +5 -0
  81. package/dist/bromcom-ui/{p-f4538abb.entry.js → p-ba9eff2a.entry.js} +1 -1
  82. package/dist/bromcom-ui/p-be19827b.entry.js +5 -0
  83. package/dist/bromcom-ui/{p-c9d687bb.entry.js → p-be1a3642.entry.js} +1 -1
  84. package/dist/bromcom-ui/p-bfb1129e.entry.js +5 -0
  85. package/dist/bromcom-ui/p-c09188a5.entry.js +5 -0
  86. package/dist/bromcom-ui/{p-dc9466d6.entry.js → p-c1a992e7.entry.js} +1 -1
  87. package/dist/bromcom-ui/p-c5647ba3.entry.js +5 -0
  88. package/dist/bromcom-ui/p-ca8f539d.entry.js +5 -0
  89. package/dist/bromcom-ui/p-ccf0872d.js +5 -0
  90. package/dist/bromcom-ui/{p-8d0ca8c2.js → p-d153c7fc.js} +1 -1
  91. package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-d551a51d.entry.js} +1 -1
  92. package/dist/bromcom-ui/p-d8cca259.entry.js +5 -0
  93. package/dist/bromcom-ui/p-dadc4391.entry.js +5 -0
  94. package/dist/bromcom-ui/p-daf17207.entry.js +5 -0
  95. package/dist/bromcom-ui/{p-5648b456.entry.js → p-e688b044.entry.js} +1 -1
  96. package/dist/bromcom-ui/p-eacf5375.entry.js +5 -0
  97. package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-ece578ef.entry.js} +1 -1
  98. package/dist/bromcom-ui/p-edeb7592.js +5 -0
  99. package/dist/bromcom-ui/p-ee5cd93c.entry.js +5 -0
  100. package/dist/bromcom-ui/p-f47f9452.entry.js +5 -0
  101. package/dist/bromcom-ui/{p-84e8e5ee.entry.js → p-f53de6bd.entry.js} +1 -1
  102. package/dist/bromcom-ui/p-f711588b.js +5 -0
  103. package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-fff1a0f9.entry.js} +1 -1
  104. package/dist/bromcom-ui/{assets/icon → static}/message-bot.svg +2 -2
  105. package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
  106. package/dist/cjs/{bcm-ab921827.js → bcm-7f703055.js} +33 -31
  107. package/dist/cjs/bcm-accordion.cjs.entry.js +5 -4
  108. package/dist/cjs/bcm-alert.cjs.entry.js +9 -8
  109. package/dist/cjs/bcm-attendance.cjs.entry.js +5 -4
  110. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
  111. package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
  112. package/dist/cjs/bcm-box.cjs.entry.js +1 -1
  113. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -5
  114. package/dist/cjs/bcm-button-group.cjs.entry.js +11 -10
  115. package/dist/cjs/{bcm-avatar_15.cjs.entry.js → bcm-button_15.cjs.entry.js} +17123 -5494
  116. package/dist/cjs/bcm-card.cjs.entry.js +10 -9
  117. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +15 -14
  118. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +10 -9
  119. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +18 -17
  120. package/dist/cjs/bcm-chip-group.cjs.entry.js +128 -0
  121. package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
  122. package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
  123. package/dist/cjs/bcm-collapse.cjs.entry.js +6 -5
  124. package/dist/cjs/bcm-color-input.cjs.entry.js +10 -10
  125. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  126. package/dist/cjs/bcm-content.cjs.entry.js +1 -1
  127. package/dist/cjs/bcm-default.cjs.entry.js +5 -4
  128. package/dist/cjs/bcm-drawer.cjs.entry.js +13 -13
  129. package/dist/cjs/bcm-dropdown.cjs.entry.js +12 -11
  130. package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
  131. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -8
  132. package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
  133. package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -5
  134. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +309 -0
  135. package/dist/cjs/bcm-item.cjs.entry.js +9 -8
  136. package/dist/cjs/bcm-items.cjs.entry.js +8 -7
  137. package/dist/cjs/bcm-link.cjs.entry.js +6 -6
  138. package/dist/cjs/bcm-list_3.cjs.entry.js +2504 -0
  139. package/dist/cjs/bcm-menu.cjs.entry.js +15 -14
  140. package/dist/cjs/bcm-message.cjs.entry.js +3 -3
  141. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -11
  142. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -10
  143. package/dist/cjs/bcm-modal-2.cjs.entry.js +12 -12
  144. package/dist/cjs/bcm-modal.cjs.entry.js +11 -10
  145. package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
  146. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
  147. package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
  148. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -9
  149. package/dist/cjs/bcm-popconfirm.cjs.entry.js +9 -8
  150. package/dist/cjs/bcm-popover.cjs.entry.js +27 -23
  151. package/dist/cjs/bcm-progress.cjs.entry.js +9 -8
  152. package/dist/cjs/bcm-radio-group.cjs.entry.js +17 -17
  153. package/dist/cjs/bcm-radio.cjs.entry.js +18 -18
  154. package/dist/cjs/bcm-range.cjs.entry.js +10 -9
  155. package/dist/cjs/bcm-result.cjs.entry.js +3 -3
  156. package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
  157. package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
  158. package/dist/cjs/bcm-select.cjs.entry.js +5 -5
  159. package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -4
  160. package/dist/cjs/bcm-step.cjs.entry.js +8 -7
  161. package/dist/cjs/bcm-stepper.cjs.entry.js +15 -15
  162. package/dist/cjs/bcm-switch.cjs.entry.js +15 -14
  163. package/dist/cjs/bcm-tab-group.cjs.entry.js +16 -12
  164. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +23 -38
  165. package/dist/cjs/bcm-tab-item.cjs.entry.js +10 -10
  166. package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
  167. package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
  168. package/dist/cjs/bcm-table.cjs.entry.js +7648 -38
  169. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
  170. package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
  171. package/dist/cjs/bcm-tag.cjs.entry.js +19 -18
  172. package/dist/cjs/bcm-text.cjs.entry.js +8 -8
  173. package/dist/cjs/bcm-textarea.cjs.entry.js +13 -12
  174. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
  175. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
  176. package/dist/cjs/bcm-toast.cjs.entry.js +38 -18
  177. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  178. package/dist/cjs/bromcom-ui.cjs.js +5 -3
  179. package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
  180. package/dist/cjs/{color-helper-d6d2028b.js → color-helper-c3a819ea.js} +28 -2
  181. package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
  182. package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-b441ea7c.js} +2 -2
  183. package/dist/cjs/{generate-7a3874e6.js → generate-e4ab2b4f.js} +57 -8
  184. package/dist/cjs/global-daef09f5.js +27 -0
  185. package/dist/cjs/index-5279dea2.js +2571 -0
  186. package/dist/cjs/index-7eed931f.js +2146 -0
  187. package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
  188. package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
  189. package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
  190. package/dist/cjs/{input-template-e084bbd6.js → input-template-df664530.js} +8 -8
  191. package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-15036f37.js} +3 -2
  192. package/dist/cjs/{json-parse-decarator-4109072c.js → json-parse-decarator-6fc25e8b.js} +2 -2
  193. package/dist/cjs/{label-template-4d5f99a5.js → label-template-80235581.js} +5 -5
  194. package/dist/cjs/loader.cjs.js +5 -3
  195. package/dist/cjs/{number-helper-74aaf353.js → number-helper-503ec94b.js} +1 -1
  196. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -10
  197. package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -8
  198. package/dist/cjs/package-f2f16e36.js +9 -0
  199. package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-f20020a6.js} +1 -1
  200. package/dist/cjs/{slot-template-d70ea082.js → slot-template-873b0cd5.js} +2 -2
  201. package/dist/cjs/{stepper-states-200cd290.js → stepper-states-7cd499d8.js} +3 -3
  202. package/dist/cjs/{string-helper-d681e5c7.js → string-helper-fda7cbba.js} +5 -5
  203. package/dist/cjs/{tooltip-helper-78dc5455.js → tooltip-helper-84c3e624.js} +22 -15
  204. package/dist/cjs/{validators-bb44ca0c.js → validators-9f203109.js} +6 -1
  205. package/dist/cjs/watermark-2c23c8f1.js +47499 -0
  206. package/dist/collection/assets/csv.svg +9 -0
  207. package/dist/collection/assets/excel.svg +9 -0
  208. package/dist/collection/assets/pdf.svg +9 -0
  209. package/dist/collection/collection-manifest.json +5 -2
  210. package/dist/collection/components/atoms/avatar/avatar.js +94 -81
  211. package/dist/collection/components/atoms/avatar/avatar.style.js +42 -0
  212. package/dist/collection/components/atoms/badge/badge.js +30 -90
  213. package/dist/collection/components/atoms/badge/badge.style.js +51 -0
  214. package/dist/collection/components/atoms/button/button.css +55 -0
  215. package/dist/collection/components/atoms/button/button.js +1 -1
  216. package/dist/collection/components/atoms/icon/icon.js +4 -3
  217. package/dist/collection/{assets/icon → components/atoms/icon/static}/message-bot.svg +2 -2
  218. package/dist/collection/components/molecules/dropdown/dropdown.js +1 -1
  219. package/dist/collection/components/molecules/input/input.js +4 -6
  220. package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +291 -0
  221. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +751 -0
  222. package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +73 -0
  223. package/dist/collection/components/molecules/items/items.js +1 -1
  224. package/dist/collection/components/molecules/linked/linked.js +17 -29
  225. package/dist/collection/components/molecules/menu/menu.js +1 -0
  226. package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
  227. package/dist/collection/components/molecules/popover/popover.js +2 -2
  228. package/dist/collection/components/molecules/tab-group/tab-group.js +5 -1
  229. package/dist/collection/components/molecules/tab-group/tab-item-header.js +11 -26
  230. package/dist/collection/components/molecules/tooltip/tooltip.js +2 -2
  231. package/dist/collection/components/organism/date-picker/date-picker.css +1 -1
  232. package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
  233. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +13 -1
  234. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +36 -2
  235. package/dist/collection/components/organism/form/form.js +1 -0
  236. package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
  237. package/dist/collection/components/organism/list/list.css +1 -1
  238. package/dist/collection/components/organism/list/list.js +63 -22
  239. package/dist/collection/components/organism/time-picker/time-picker.css +1 -1
  240. package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
  241. package/dist/collection/components/other/toast/toast.js +48 -11
  242. package/dist/collection/components/other/typography/typography.js +1 -1
  243. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
  244. package/dist/collection/components/third-parts/rc-picker/date.js +862 -0
  245. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1009 -0
  246. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +550 -0
  247. package/dist/collection/components/third-parts/table/table-definations.js +42 -0
  248. package/dist/collection/components/third-parts/table/table.css +136 -0
  249. package/dist/collection/components/third-parts/table/table.js +288 -0
  250. package/dist/collection/decorators/bcm-decorator.js +28 -0
  251. package/dist/collection/decorators/event-decorator.js +31 -0
  252. package/dist/collection/decorators/index.js +1 -0
  253. package/dist/collection/decorators/is-load-decorator.js +2 -1
  254. package/dist/collection/global/global.js +19 -5
  255. package/dist/collection/global/helper/toast.js +1 -0
  256. package/dist/collection/global/helper/toast.ts +2 -0
  257. package/dist/collection/helper/color-helper.js +27 -1
  258. package/dist/collection/helper/generate.js +54 -4
  259. package/dist/collection/helper/popover-helper.js +13 -9
  260. package/dist/collection/helper/string-helper.js +2 -2
  261. package/dist/collection/helper/tooltip-helper.js +12 -4
  262. package/dist/collection/models/bcm.js +29 -27
  263. package/dist/collection/templates/index.js +2 -0
  264. package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
  265. package/dist/collection/templates/toolbar-template.js +15 -0
  266. package/dist/components/_commonjsHelpers.js +16 -1
  267. package/dist/components/avatar.js +93 -52
  268. package/dist/components/badge.js +77 -45
  269. package/dist/components/bcm-chip-group.js +14 -8
  270. package/dist/components/bcm-date-picker.js +4 -2
  271. package/dist/components/bcm-date.d.ts +11 -0
  272. package/dist/components/bcm-date.js +232 -0
  273. package/dist/components/bcm-form-2.js +4 -1
  274. package/dist/components/bcm-form.js +1 -0
  275. package/dist/components/bcm-input-dropdown.d.ts +11 -0
  276. package/dist/components/bcm-input-dropdown.js +395 -0
  277. package/dist/components/bcm-items.js +1 -1
  278. package/dist/components/bcm-popover.js +14 -10
  279. package/dist/components/bcm-rc-picker.d.ts +11 -0
  280. package/dist/components/bcm-rc-picker.js +10 -0
  281. package/dist/components/bcm-tab-group.js +5 -1
  282. package/dist/components/bcm-tab-item-header.js +11 -26
  283. package/dist/components/bcm-table.js +55128 -41
  284. package/dist/components/bcm-textarea.js +1 -214
  285. package/dist/components/bcm-time-picker.js +4 -2
  286. package/dist/components/bcm-toast.js +30 -10
  287. package/dist/components/bcm.js +29 -27
  288. package/dist/components/button.js +1 -1
  289. package/dist/components/chip.js +12 -6
  290. package/dist/components/color-helper.js +27 -1
  291. package/dist/components/colors2.js +1 -1
  292. package/dist/components/datetime-picker.js +20 -3
  293. package/dist/components/generate.js +57 -7
  294. package/dist/components/icon.js +4 -3
  295. package/dist/components/index.d.ts +4 -1
  296. package/dist/components/index.js +17 -3
  297. package/dist/components/index3.js +5 -1
  298. package/dist/components/index5.js +2569 -0
  299. package/dist/components/input.js +4 -6
  300. package/dist/components/is-load-decorator.js +2 -1
  301. package/dist/components/linked.js +17 -11
  302. package/dist/components/list.js +22 -8
  303. package/dist/components/menu.js +1 -0
  304. package/dist/components/raf.js +1594 -0
  305. package/dist/components/rc-overflow.js +32 -1557
  306. package/dist/components/rc-picker.js +14030 -0
  307. package/dist/components/string-helper.js +2 -2
  308. package/dist/components/textarea.js +220 -0
  309. package/dist/components/tooltip-helper.js +12 -4
  310. package/dist/components/tooltip.js +1 -1
  311. package/dist/components/typography.js +1 -1
  312. package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-7002e5de.js} +16 -1
  313. package/dist/esm/bcm-accordion.entry.js +5 -4
  314. package/dist/esm/bcm-alert.entry.js +9 -8
  315. package/dist/esm/bcm-attendance.entry.js +5 -4
  316. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  317. package/dist/esm/bcm-avatar_2.entry.js +204 -0
  318. package/dist/esm/bcm-box.entry.js +1 -1
  319. package/dist/esm/bcm-breadcrumb.entry.js +6 -5
  320. package/dist/esm/bcm-button-group.entry.js +8 -7
  321. package/dist/esm/{bcm-avatar_15.entry.js → bcm-button_15.entry.js} +17114 -5485
  322. package/dist/esm/bcm-card.entry.js +10 -9
  323. package/dist/esm/bcm-checkbox-group.entry.js +12 -11
  324. package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -6
  325. package/dist/esm/bcm-checkbox_2.entry.js +13 -12
  326. package/dist/esm/bcm-chip-group.entry.js +124 -0
  327. package/dist/esm/bcm-chip.entry.js +87 -0
  328. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  329. package/dist/esm/bcm-collapse.entry.js +6 -5
  330. package/dist/esm/bcm-color-input.entry.js +10 -10
  331. package/dist/esm/bcm-colorpicker.entry.js +3 -3
  332. package/dist/esm/bcm-content.entry.js +1 -1
  333. package/dist/esm/{bcm-9f50af9c.js → bcm-d45dc47d.js} +30 -28
  334. package/dist/esm/bcm-default.entry.js +5 -4
  335. package/dist/esm/bcm-drawer.entry.js +11 -11
  336. package/dist/esm/bcm-dropdown.entry.js +9 -8
  337. package/dist/esm/bcm-error-layout.entry.js +3 -3
  338. package/dist/esm/bcm-expansion-panel.entry.js +9 -8
  339. package/dist/esm/bcm-form-group.entry.js +1 -1
  340. package/dist/esm/bcm-input-custom.entry.js +6 -5
  341. package/dist/esm/bcm-input-dropdown.entry.js +305 -0
  342. package/dist/esm/bcm-item.entry.js +8 -7
  343. package/dist/esm/bcm-items.entry.js +8 -7
  344. package/dist/esm/bcm-link.entry.js +4 -4
  345. package/dist/esm/bcm-list_3.entry.js +2498 -0
  346. package/dist/esm/bcm-menu.entry.js +15 -14
  347. package/dist/esm/bcm-message.entry.js +3 -3
  348. package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
  349. package/dist/esm/bcm-modal-2-header.entry.js +10 -10
  350. package/dist/esm/bcm-modal-2.entry.js +11 -11
  351. package/dist/esm/bcm-modal.entry.js +9 -8
  352. package/dist/esm/bcm-notification.entry.js +3 -3
  353. package/dist/esm/bcm-old-tag_2.entry.js +3 -3
  354. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  355. package/dist/esm/bcm-popconfirm-box.entry.js +10 -9
  356. package/dist/esm/bcm-popconfirm.entry.js +7 -6
  357. package/dist/esm/bcm-popover.entry.js +25 -21
  358. package/dist/esm/bcm-progress.entry.js +8 -7
  359. package/dist/esm/bcm-radio-group.entry.js +13 -13
  360. package/dist/esm/bcm-radio.entry.js +11 -11
  361. package/dist/esm/bcm-range.entry.js +7 -6
  362. package/dist/esm/bcm-result.entry.js +3 -3
  363. package/dist/esm/bcm-select-group.entry.js +3 -3
  364. package/dist/esm/bcm-select-option.entry.js +3 -3
  365. package/dist/esm/bcm-select.entry.js +5 -5
  366. package/dist/esm/bcm-skeleton.entry.js +5 -4
  367. package/dist/esm/bcm-step.entry.js +8 -7
  368. package/dist/esm/bcm-stepper.entry.js +13 -13
  369. package/dist/esm/bcm-switch.entry.js +9 -8
  370. package/dist/esm/bcm-tab-group.entry.js +15 -11
  371. package/dist/esm/bcm-tab-item-header.entry.js +22 -37
  372. package/dist/esm/bcm-tab-item.entry.js +10 -10
  373. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  374. package/dist/esm/bcm-tab.entry.js +3 -3
  375. package/dist/esm/bcm-table.entry.js +7649 -39
  376. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  377. package/dist/esm/bcm-tabs.entry.js +3 -3
  378. package/dist/esm/bcm-tag.entry.js +8 -7
  379. package/dist/esm/bcm-text.entry.js +8 -8
  380. package/dist/esm/bcm-textarea.entry.js +10 -9
  381. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  382. package/dist/esm/bcm-timeline.entry.js +3 -3
  383. package/dist/esm/bcm-toast.entry.js +37 -17
  384. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  385. package/dist/esm/bromcom-ui.js +6 -4
  386. package/dist/esm/{caption-template-34a1cb44.js → caption-template-d47f338f.js} +2 -2
  387. package/dist/esm/{color-helper-e8ce23d7.js → color-helper-845ba523.js} +28 -2
  388. package/dist/esm/{colors-44c95e7e.js → colors-ebea297f.js} +1 -1
  389. package/dist/esm/{floating-ui-e7341329.js → floating-ui-8a0c54d6.js} +1 -1
  390. package/dist/esm/{generate-1d92d93f.js → generate-57891049.js} +56 -7
  391. package/dist/esm/global-8776af02.js +25 -0
  392. package/dist/esm/{index-ed9652af.js → index-00c8a8f7.js} +1 -1
  393. package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
  394. package/dist/esm/index-3bc8c6e3.js +2569 -0
  395. package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
  396. package/dist/esm/index-e4b6a4ce.js +2127 -0
  397. package/dist/esm/{input-template-56856d9f.js → input-template-4fa1fd77.js} +4 -4
  398. package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-8277e3b8.js} +3 -2
  399. package/dist/esm/{json-parse-decarator-e7df9b9c.js → json-parse-decarator-7b5467e6.js} +2 -2
  400. package/dist/esm/{label-template-98dafeb3.js → label-template-946d4062.js} +4 -4
  401. package/dist/esm/loader.js +6 -4
  402. package/dist/esm/{number-helper-81eade81.js → number-helper-be8c3021.js} +1 -1
  403. package/dist/esm/old-bcm-popover-box.entry.js +11 -10
  404. package/dist/esm/old-bcm-popover.entry.js +7 -6
  405. package/dist/esm/package-9a6c49c8.js +7 -0
  406. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-be68c848.js} +1 -1
  407. package/dist/esm/{slot-template-672e941d.js → slot-template-fcc7846e.js} +2 -2
  408. package/dist/esm/{stepper-states-0f148601.js → stepper-states-a8cd98ea.js} +3 -3
  409. package/dist/esm/{string-helper-6bd24967.js → string-helper-b0e05041.js} +4 -4
  410. package/dist/esm/{tooltip-helper-4ca9442e.js → tooltip-helper-4a1a3abe.js} +19 -12
  411. package/dist/esm/{validators-7e3c0c33.js → validators-37ce5ff0.js} +6 -2
  412. package/dist/esm/watermark-f2c6a1f9.js +47477 -0
  413. package/dist/types/components/atoms/avatar/avatar.d.ts +6 -10
  414. package/dist/types/components/atoms/avatar/avatar.style.d.ts +181 -0
  415. package/dist/types/components/atoms/badge/badge.d.ts +3 -7
  416. package/dist/types/components/atoms/badge/badge.style.d.ts +174 -0
  417. package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +51 -0
  418. package/dist/types/components/molecules/input-dropdown/input-dropdown.style.d.ts +307 -0
  419. package/dist/types/components/molecules/linked/linked.d.ts +2 -3
  420. package/dist/types/components/organism/date-picker/date-picker.d.ts +1 -0
  421. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +2 -0
  422. package/dist/types/components/organism/list/list.d.ts +4 -0
  423. package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
  424. package/dist/types/components/other/toast/toast.d.ts +2 -0
  425. package/dist/types/components/third-parts/rc-picker/date.d.ts +175 -0
  426. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +47 -0
  427. package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
  428. package/dist/types/components/third-parts/table/table.d.ts +37 -0
  429. package/dist/types/components.d.ts +255 -16
  430. package/dist/types/decorators/bcm-decorator.d.ts +2 -0
  431. package/dist/types/decorators/event-decorator.d.ts +2 -0
  432. package/dist/types/decorators/index.d.ts +1 -0
  433. package/dist/types/global/helper/toast.d.ts +2 -0
  434. package/dist/types/helper/color-helper.d.ts +22 -2
  435. package/dist/types/helper/generate.d.ts +21 -1
  436. package/dist/types/helper/popover-helper.d.ts +0 -5
  437. package/dist/types/helper/tooltip-helper.d.ts +0 -1
  438. package/dist/types/models/bcm.d.ts +256 -236
  439. package/dist/types/templates/index.d.ts +2 -0
  440. package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
  441. package/dist/types/templates/toolbar-template.d.ts +13 -0
  442. package/helper/toast.d.ts +2 -0
  443. package/helper/toast.d.ts.map +1 -1
  444. package/helper/toast.js +1 -0
  445. package/package.json +15 -6
  446. package/dist/bromcom-ui/p-013cab7e.entry.js +0 -5
  447. package/dist/bromcom-ui/p-086b7209.entry.js +0 -5
  448. package/dist/bromcom-ui/p-09fb72c8.entry.js +0 -19
  449. package/dist/bromcom-ui/p-10c75cb9.entry.js +0 -5
  450. package/dist/bromcom-ui/p-1246d793.entry.js +0 -5
  451. package/dist/bromcom-ui/p-1992f372.entry.js +0 -5
  452. package/dist/bromcom-ui/p-21fbc7e9.entry.js +0 -5
  453. package/dist/bromcom-ui/p-254c9a65.entry.js +0 -5
  454. package/dist/bromcom-ui/p-2640e867.entry.js +0 -5
  455. package/dist/bromcom-ui/p-2c95ea4e.entry.js +0 -5
  456. package/dist/bromcom-ui/p-2d90806c.entry.js +0 -5
  457. package/dist/bromcom-ui/p-2fc1a879.js +0 -5
  458. package/dist/bromcom-ui/p-30a3320f.entry.js +0 -5
  459. package/dist/bromcom-ui/p-3be85482.entry.js +0 -5
  460. package/dist/bromcom-ui/p-4d80d43d.entry.js +0 -5
  461. package/dist/bromcom-ui/p-4f8b00bc.entry.js +0 -5
  462. package/dist/bromcom-ui/p-4fb382d4.entry.js +0 -5
  463. package/dist/bromcom-ui/p-4ffd862d.entry.js +0 -5
  464. package/dist/bromcom-ui/p-54c0916c.js +0 -5
  465. package/dist/bromcom-ui/p-5a666fa2.entry.js +0 -5
  466. package/dist/bromcom-ui/p-60d506ec.entry.js +0 -5
  467. package/dist/bromcom-ui/p-626a65e9.js +0 -5
  468. package/dist/bromcom-ui/p-6ae7abc5.entry.js +0 -5
  469. package/dist/bromcom-ui/p-6d7fe687.js +0 -6
  470. package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
  471. package/dist/bromcom-ui/p-74b2d896.js +0 -5
  472. package/dist/bromcom-ui/p-75985eee.entry.js +0 -5
  473. package/dist/bromcom-ui/p-772a214f.js +0 -5
  474. package/dist/bromcom-ui/p-7d9ac287.entry.js +0 -5
  475. package/dist/bromcom-ui/p-843905c8.js +0 -5
  476. package/dist/bromcom-ui/p-8b85e07e.entry.js +0 -5
  477. package/dist/bromcom-ui/p-8c9d109c.entry.js +0 -5
  478. package/dist/bromcom-ui/p-8df71f89.js +0 -5
  479. package/dist/bromcom-ui/p-92030c09.entry.js +0 -5
  480. package/dist/bromcom-ui/p-a24f0a35.js +0 -5
  481. package/dist/bromcom-ui/p-a429e85b.js +0 -5
  482. package/dist/bromcom-ui/p-a56e8c98.js +0 -5
  483. package/dist/bromcom-ui/p-a9ae49af.entry.js +0 -5
  484. package/dist/bromcom-ui/p-af79c33b.entry.js +0 -5
  485. package/dist/bromcom-ui/p-b838f085.entry.js +0 -5
  486. package/dist/bromcom-ui/p-bca6437e.entry.js +0 -5
  487. package/dist/bromcom-ui/p-c43622d4.entry.js +0 -5
  488. package/dist/bromcom-ui/p-c49d038e.js +0 -5
  489. package/dist/bromcom-ui/p-c773080c.entry.js +0 -5
  490. package/dist/bromcom-ui/p-cacd60e0.entry.js +0 -5
  491. package/dist/bromcom-ui/p-d50efcac.entry.js +0 -5
  492. package/dist/bromcom-ui/p-d65a1e21.js +0 -11
  493. package/dist/bromcom-ui/p-d6953024.js +0 -5
  494. package/dist/bromcom-ui/p-d9211598.entry.js +0 -5
  495. package/dist/bromcom-ui/p-dc0cd6dc.entry.js +0 -5
  496. package/dist/bromcom-ui/p-e4045493.entry.js +0 -5
  497. package/dist/bromcom-ui/p-e8578e1b.entry.js +0 -5
  498. package/dist/bromcom-ui/p-f316a3df.entry.js +0 -5
  499. package/dist/bromcom-ui/p-f4defa95.entry.js +0 -5
  500. package/dist/bromcom-ui/p-fc0e0762.entry.js +0 -5
  501. package/dist/bromcom-ui/p-ff4fb57e.entry.js +0 -5
  502. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -180
  503. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1434
  504. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -208
  505. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  506. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -148
  507. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  508. package/dist/cjs/global-b0d21446.js +0 -15
  509. package/dist/collection/components/atoms/avatar/avatar.css +0 -198
  510. package/dist/collection/components/atoms/badge/badge.css +0 -231
  511. package/dist/collection/components/other/data-table/table.css +0 -130
  512. package/dist/collection/components/other/data-table/table.js +0 -88
  513. package/dist/esm/bcm-date-picker.entry.js +0 -176
  514. package/dist/esm/bcm-datetime-picker.entry.js +0 -1430
  515. package/dist/esm/bcm-form-2.entry.js +0 -204
  516. package/dist/esm/bcm-old-input.entry.js +0 -393
  517. package/dist/esm/bcm-time-picker.entry.js +0 -144
  518. package/dist/esm/datetime-helper-df25808a.js +0 -9
  519. package/dist/esm/global-4fad925b.js +0 -13
  520. package/dist/types/components/other/data-table/table.d.ts +0 -8
@@ -2,71 +2,46 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { h, Host } from '@stencil/core';
6
- import cs from 'classnames';
7
- import { Bcm } from '../../../models/bcm';
8
- import { Generate } from '../../../helper/generate';
9
- import { SlotTemplate } from '../../../templates/slot-template';
10
- import { ColorHelper } from '../../../helper/color-helper';
5
+ import { ColorHelper, Generate } from "@bcm/helpers";
6
+ import { Bcm } from "@bcm/model";
7
+ import { Host, h } from "@stencil/core";
8
+ import { badgeStyle } from "./badge.style";
11
9
  export class BcmBadge {
12
10
  constructor() {
11
+ this.statusColors = {
12
+ info: "blue",
13
+ error: "red",
14
+ warning: "amber",
15
+ success: "emerald",
16
+ };
13
17
  this._id = Generate.UID();
14
- this.hidden = false;
15
18
  this.blink = false;
16
19
  this.value = undefined;
17
20
  this.color = undefined;
18
21
  this.size = Bcm.Size.medium;
19
22
  this.status = undefined;
20
- this._slot = undefined;
21
- }
22
- setStyleVariables() {
23
- const { status, value } = this;
24
- let { color } = this;
25
- const statusColors = {
26
- 'info': 'blue',
27
- 'error': 'red',
28
- 'warning': 'amber',
29
- 'success': 'emerald',
30
- 'default': 'slate'
31
- };
32
- !!status && (color = statusColors[status]);
33
- !color && (color = 'slate');
34
- const prefix = `--bcm-badge`;
35
- const spacing = !!value && value.length > 1 ? '8' : '4';
36
- return {
37
- [`${prefix}-color`]: ColorHelper.reverseColor(ColorHelper.dsColor(`${color}`)),
38
- [`${prefix}-background-color`]: ColorHelper.dsColor(`${color}`),
39
- [`${prefix}-spacing`]: `${spacing}px`
40
- };
41
23
  }
42
24
  render() {
43
- let { blink, value, size, _slot, hidden } = this;
44
- const dotClass = cs('bcm-badge__dot', 'bcm-badge__dot-size-' + size,
45
- // 'size-2',
46
- {
47
- 'bcm-badge__dot-blink': blink
48
- });
49
- const hostClasses = cs('bcm-badge', {
50
- hidden
25
+ const { blink, value, size, color, status } = this;
26
+ const _color = this.statusColors[status] || color;
27
+ const { tone, colorName } = ColorHelper.parseColor(_color);
28
+ const dc = Generate.getTwColor({
29
+ color: colorName,
30
+ tones: {
31
+ [tone]: ["bg"],
32
+ },
33
+ variable: "--bcm-badge",
51
34
  });
52
- return (h(Host, { class: hostClasses, style: this.setStyleVariables() }, h("span", { hidden: true }, h("slot", null)), h("div", { class: dotClass }, !!value && h("span", { class: "bcm-badge__dot-text" }, value)), h(SlotTemplate, { value: _slot })));
35
+ const style = Object.assign(Object.assign({}, dc), (dc["--bcm-badge-bg"] && { "--bcm-badge-text": ColorHelper.reverseColor(dc["--bcm-badge-bg"]) }));
36
+ const { base, dotText, host } = badgeStyle({ size, blink });
37
+ return (h(Host, { class: host(), role: "status", "aria-live": "polite" }, h("div", { class: base(), style: style }, h("span", { class: dotText(), role: "presentation", "aria-hidden": "true" }, value), h("span", { class: "tw-sr-only" }, value)), h("slot", null)));
53
38
  }
54
39
  static get is() { return "bcm-badge"; }
55
- static get originalStyleUrls() {
56
- return {
57
- "$": ["badge.scss"]
58
- };
59
- }
60
- static get styleUrls() {
61
- return {
62
- "$": ["badge.css"]
63
- };
64
- }
65
40
  static get properties() {
66
41
  return {
67
42
  "_id": {
68
43
  "type": "string",
69
- "mutable": true,
44
+ "mutable": false,
70
45
  "complexType": {
71
46
  "original": "string",
72
47
  "resolved": "string",
@@ -82,27 +57,9 @@ export class BcmBadge {
82
57
  "reflect": true,
83
58
  "defaultValue": "Generate.UID()"
84
59
  },
85
- "hidden": {
86
- "type": "boolean",
87
- "mutable": true,
88
- "complexType": {
89
- "original": "boolean",
90
- "resolved": "boolean",
91
- "references": {}
92
- },
93
- "required": false,
94
- "optional": false,
95
- "docs": {
96
- "tags": [],
97
- "text": ""
98
- },
99
- "attribute": "hidden",
100
- "reflect": false,
101
- "defaultValue": "false"
102
- },
103
60
  "blink": {
104
61
  "type": "boolean",
105
- "mutable": true,
62
+ "mutable": false,
106
63
  "complexType": {
107
64
  "original": "boolean",
108
65
  "resolved": "boolean",
@@ -120,7 +77,7 @@ export class BcmBadge {
120
77
  },
121
78
  "value": {
122
79
  "type": "string",
123
- "mutable": true,
80
+ "mutable": false,
124
81
  "complexType": {
125
82
  "original": "string",
126
83
  "resolved": "string",
@@ -137,7 +94,7 @@ export class BcmBadge {
137
94
  },
138
95
  "color": {
139
96
  "type": "any",
140
- "mutable": true,
97
+ "mutable": false,
141
98
  "complexType": {
142
99
  "original": "any",
143
100
  "resolved": "any",
@@ -154,14 +111,14 @@ export class BcmBadge {
154
111
  },
155
112
  "size": {
156
113
  "type": "string",
157
- "mutable": true,
114
+ "mutable": false,
158
115
  "complexType": {
159
116
  "original": "SizeTypes",
160
117
  "resolved": "\"large\" | \"medium\" | \"small\"",
161
118
  "references": {
162
119
  "SizeTypes": {
163
120
  "location": "import",
164
- "path": "../../../models/bcm-types"
121
+ "path": "@bcm/model"
165
122
  }
166
123
  }
167
124
  },
@@ -177,14 +134,14 @@ export class BcmBadge {
177
134
  },
178
135
  "status": {
179
136
  "type": "string",
180
- "mutable": true,
137
+ "mutable": false,
181
138
  "complexType": {
182
139
  "original": "StatusTypes",
183
140
  "resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
184
141
  "references": {
185
142
  "StatusTypes": {
186
143
  "location": "import",
187
- "path": "../../../models/bcm-types"
144
+ "path": "@bcm/model"
188
145
  }
189
146
  }
190
147
  },
@@ -196,23 +153,6 @@ export class BcmBadge {
196
153
  },
197
154
  "attribute": "status",
198
155
  "reflect": false
199
- },
200
- "_slot": {
201
- "type": "any",
202
- "mutable": true,
203
- "complexType": {
204
- "original": "any",
205
- "resolved": "any",
206
- "references": {}
207
- },
208
- "required": false,
209
- "optional": false,
210
- "docs": {
211
- "tags": [],
212
- "text": ""
213
- },
214
- "attribute": "slot",
215
- "reflect": false
216
156
  }
217
157
  };
218
158
  }
@@ -0,0 +1,51 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { tv } from "tailwind-variants";
6
+ export const badgeStyle = tv({
7
+ slots: {
8
+ host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal ",
9
+ base: [
10
+ "bcm-badge__dot",
11
+ "tw-flex tw-items-center tw-justify-center tw-flex-row",
12
+ "tw-rounded-full tw-text-center",
13
+ "tw-bg-[--bcm-badge-bg] tw-text-[--bcm-badge-text]",
14
+ "tw-whitespace-nowrap",
15
+ ],
16
+ dotText: "empty:tw-hidden",
17
+ },
18
+ variants: {
19
+ size: {
20
+ small: {
21
+ host: "tw-text-2 tw-gap-1",
22
+ base: "bcm-badge__dot-size-small tw-text-1 tw-min-w-1.5 tw-min-h-1.5",
23
+ dotText: "tw-px-1.5 tw-min-w-4",
24
+ },
25
+ medium: {
26
+ host: "tw-text-3 tw-gap-1.5",
27
+ base: "bcm-badge__dot-size-medium tw-text-2 tw-min-w-2 tw-min-h-2",
28
+ dotText: "tw-px-1.5 tw-min-w-5",
29
+ },
30
+ large: {
31
+ host: "tw-text-4 tw-gap-2",
32
+ base: "bcm-badge__dot-size-large tw-text-3 tw-min-w-2.5 tw-min-h-2.5",
33
+ dotText: "tw-px-2 tw-min-w-6",
34
+ },
35
+ },
36
+ blink: {
37
+ true: {
38
+ base: [
39
+ "bcm-badge__dot-blink tw-relative",
40
+ "after:tw-content-[''] after:tw-absolute after:tw-top-0 after:tw-left-0 after:tw-z-[-1]",
41
+ "after:tw-w-full after:tw-h-full after:tw-bg-[--bcm-badge-bg] after:tw-opacity-75 after:tw-rounded-full",
42
+ "after:tw-animate-blink after:tw-pointer-events-none",
43
+ ],
44
+ },
45
+ },
46
+ },
47
+ defaultVariants: {
48
+ size: "medium",
49
+ blink: false,
50
+ },
51
+ });
@@ -176,6 +176,21 @@
176
176
  --bcm-button-link-color-disabled: var(--bcm-new-ds-color-slate-400);
177
177
  --bcm-button-link-background-color-disabled: var(--bcm-new-ds-color-transparent);
178
178
  --bcm-button-link-border-disabled: var(--bcm-new-ds-color-transparent);
179
+ --bcm-button-ghost-link-color-default: var(--bcm-new-ds-color-slate-700);
180
+ --bcm-button-ghost-link-background-color-default: var(--bcm-new-ds-color-transparent);
181
+ --bcm-button-ghost-link-border-default: var(--bcm-new-ds-color-transparent);
182
+ --bcm-button-ghost-link-color-hover: var(--bcm-new-ds-color-slate-700);
183
+ --bcm-button-ghost-link-background-color-hover: var(--bcm-new-ds-color-slate-200);
184
+ --bcm-button-ghost-link-border-hover: var(--bcm-new-ds-color-transparent);
185
+ --bcm-button-ghost-link-color-focus-visible: var(--bcm-new-ds-color-slate-700);
186
+ --bcm-button-ghost-link-background-color-focus-visible: var(--bcm-new-ds-color-slate-300);
187
+ --bcm-button-ghost-link-border-focus-visible: var(--bcm-new-ds-color-transparent);
188
+ --bcm-button-ghost-link-color-active: var(--bcm-new-ds-color-slate-700);
189
+ --bcm-button-ghost-link-background-color-active: var(--bcm-new-ds-color-slate-300);
190
+ --bcm-button-ghost-link-border-active: var(--bcm-new-ds-color-transparent);
191
+ --bcm-button-ghost-link-color-disabled: var(--bcm-new-ds-color-slate-500);
192
+ --bcm-button-ghost-link-background-color-disabled: var(--bcm-new-ds-color-transparent);
193
+ --bcm-button-ghost-link-border-disabled: var(--bcm-new-ds-color-transparent);
179
194
  }
180
195
  .bcm-button.full-width {
181
196
  width: 100%;
@@ -354,6 +369,46 @@
354
369
  background-color: var(--bcm-button-link-background-color-default);
355
370
  border-color: var(--bcm-button-link-border-default);
356
371
  }
372
+ .bcm-button__container-kind-ghost-link {
373
+ color: var(--bcm-button-ghost-link-color-default);
374
+ background-color: var(--bcm-button-ghost-link-background-color-default);
375
+ border-color: var(--bcm-button-ghost-link-border-default);
376
+ }
377
+ .bcm-button__container-kind-ghost-link:hover {
378
+ color: var(--bcm-button-ghost-link-color-hover);
379
+ background-color: var(--bcm-button-ghost-link-background-color-hover);
380
+ border-color: var(--bcm-button-ghost-link-border-hover);
381
+ }
382
+ .bcm-button__container-kind-ghost-link:focus-visible {
383
+ color: var(--bcm-button-ghost-link-color-focus-visible);
384
+ background-color: var(--bcm-button-ghost-link-background-color-focus-visible);
385
+ border-color: var(--bcm-button-ghost-link-border-focus-visible);
386
+ }
387
+ .bcm-button__container-kind-ghost-link:active {
388
+ color: var(--bcm-button-ghost-link-color-active);
389
+ background-color: var(--bcm-button-ghost-link-background-color-active);
390
+ border-color: var(--bcm-button-ghost-link-border-active);
391
+ }
392
+ .bcm-button__container-kind-ghost-link:disabled {
393
+ color: var(--bcm-button-ghost-link-color-disabled);
394
+ background-color: var(--bcm-button-ghost-link-background-color-disabled);
395
+ border-color: var(--bcm-button-ghost-link-border-disabled);
396
+ }
397
+ .bcm-button__container-kind-ghost-link.checked {
398
+ color: var(--bcm-button-ghost-link-color-active);
399
+ background-color: var(--bcm-button-ghost-link-background-color-active);
400
+ border-color: var(--bcm-button-ghost-link-border-active);
401
+ }
402
+ .bcm-button__container-kind-ghost-link.disabled {
403
+ color: var(--bcm-button-ghost-link-color-disabled);
404
+ background-color: var(--bcm-button-ghost-link-background-color-disabled);
405
+ border-color: var(--bcm-button-ghost-link-border-disabled);
406
+ }
407
+ .bcm-button__container-kind-ghost-link .bcm-button__container-loading {
408
+ color: var(--bcm-button-ghost-link-color-default);
409
+ background-color: var(--bcm-button-ghost-link-background-color-default);
410
+ border-color: var(--bcm-button-ghost-link-border-default);
411
+ }
357
412
  .bcm-button__container[disabled] {
358
413
  cursor: not-allowed;
359
414
  }
@@ -261,7 +261,7 @@ export class BcmButton {
261
261
  "mutable": true,
262
262
  "complexType": {
263
263
  "original": "KindTypes",
264
- "resolved": "\"ghost\" | \"link\" | \"solid\"",
264
+ "resolved": "\"ghost\" | \"ghost-link\" | \"link\" | \"solid\"",
265
265
  "references": {
266
266
  "KindTypes": {
267
267
  "location": "import",
@@ -14,14 +14,14 @@ export class BcmIcon {
14
14
  getIcon() {
15
15
  const { icon } = this;
16
16
  if (icon in customIconList) {
17
- const _icon = getAssetPath("/assets/icon/" + customIconList[icon]);
18
- return (h("div", { class: "tw-h-fit tw-w-fit tw-flex tw-items-center tw-justify-center" }, h("img", { src: `${_icon}`, alt: icon, class: "tw-h-fit tw-w-fit" })));
17
+ const _icon = getAssetPath("./static/" + customIconList[icon]);
18
+ return (h("div", { class: "tw-flex tw-h-fit tw-w-fit tw-items-center tw-justify-center" }, h("img", { src: `${_icon}`, alt: icon, class: "tw-h-fit tw-w-fit" })));
19
19
  }
20
20
  return h("i", { class: `${icon}` });
21
21
  }
22
22
  render() {
23
23
  const { /*icon,*/ hidden } = this;
24
- return (h(Host, { class: `bcm-icon fa ${hidden ? "hidden" : ""}` }, this.getIcon()));
24
+ return h(Host, { class: `bcm-icon fa ${hidden ? "hidden" : ""}` }, this.getIcon());
25
25
  }
26
26
  static get is() { return "bcm-icon"; }
27
27
  static get originalStyleUrls() {
@@ -34,6 +34,7 @@ export class BcmIcon {
34
34
  "$": ["icon.css"]
35
35
  };
36
36
  }
37
+ static get assetsDirs() { return ["static"]; }
37
38
  static get properties() {
38
39
  return {
39
40
  "hidden": {
@@ -1,10 +1,10 @@
1
1
  <svg width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <g clip-path="url(#clip0_1215_817)">
3
- <path d="M13.8 4.8807C13.3877 4.8807 13.2435 5.17186 13.2087 5.2307H12.4V3.15039C12.4 2.18395 11.6169 1.40039 10.65 1.40039H4.35C3.38312 1.40039 2.6 2.18395 2.6 3.15039V5.2307H1.79128C1.7565 5.19133 1.61234 4.8807 1.2 4.8807C0.826813 4.8807 0.5 5.18083 0.5 5.5807C0.5 5.98102 0.827469 6.26102 1.2 6.26102C1.61234 6.26102 1.7565 5.97008 1.79128 5.9307H2.6V8.71102C2.6 9.67745 3.38356 10.461 4.35 10.461L5.4 10.4807V12.318C5.4 12.4101 5.45906 12.6004 5.6625 12.6004C5.71765 12.6004 5.77183 12.5827 5.81772 12.5495L8.55 10.4807L10.65 10.4808C11.6164 10.4808 12.4 9.69727 12.4 8.73083V5.9307H13.2089C13.2444 6.00945 13.3888 6.2807 13.8 6.2807C14.1732 6.2807 14.5 5.98058 14.5 5.60039C14.5 5.20008 14.1741 4.8807 13.8 4.8807ZM11 7.00039C11 7.38692 10.6865 7.70039 10.3 7.70039H4.7C4.31281 7.70039 4 7.38758 4 7.00039V4.20039C4 3.81386 4.31347 3.50039 4.7 3.50039H10.3C10.6865 3.50039 11 3.81386 11 4.20039V7.00039ZM5.4 4.8807C5.01347 4.8807 4.7 5.19417 4.7 5.5807C4.7 5.96723 5.01347 6.2807 5.4 6.2807C5.78653 6.2807 6.1 5.96723 6.1 5.5807C6.1 5.2132 5.78719 4.8807 5.4 4.8807ZM9.6 4.8807C9.21347 4.8807 8.9 5.19417 8.9 5.5807C8.9 5.96723 9.21347 6.2807 9.6 6.2807C9.98653 6.2807 10.3 5.96723 10.3 5.5807C10.3 5.2132 9.98719 4.8807 9.6 4.8807Z" fill="white"/>
3
+ <path d="M13.8 4.8807C13.3877 4.8807 13.2435 5.17186 13.2087 5.2307H12.4V3.15039C12.4 2.18395 11.6169 1.40039 10.65 1.40039H4.35C3.38312 1.40039 2.6 2.18395 2.6 3.15039V5.2307H1.79128C1.7565 5.19133 1.61234 4.8807 1.2 4.8807C0.826813 4.8807 0.5 5.18083 0.5 5.5807C0.5 5.98102 0.827469 6.26102 1.2 6.26102C1.61234 6.26102 1.7565 5.97008 1.79128 5.9307H2.6V8.71102C2.6 9.67745 3.38356 10.461 4.35 10.461L5.4 10.4807V12.318C5.4 12.4101 5.45906 12.6004 5.6625 12.6004C5.71765 12.6004 5.77183 12.5827 5.81772 12.5495L8.55 10.4807L10.65 10.4808C11.6164 10.4808 12.4 9.69727 12.4 8.73083V5.9307H13.2089C13.2444 6.00945 13.3888 6.2807 13.8 6.2807C14.1732 6.2807 14.5 5.98058 14.5 5.60039C14.5 5.20008 14.1741 4.8807 13.8 4.8807ZM11 7.00039C11 7.38692 10.6865 7.70039 10.3 7.70039H4.7C4.31281 7.70039 4 7.38758 4 7.00039V4.20039C4 3.81386 4.31347 3.50039 4.7 3.50039H10.3C10.6865 3.50039 11 3.81386 11 4.20039V7.00039ZM5.4 4.8807C5.01347 4.8807 4.7 5.19417 4.7 5.5807C4.7 5.96723 5.01347 6.2807 5.4 6.2807C5.78653 6.2807 6.1 5.96723 6.1 5.5807C6.1 5.2132 5.78719 4.8807 5.4 4.8807ZM9.6 4.8807C9.21347 4.8807 8.9 5.19417 8.9 5.5807C8.9 5.96723 9.21347 6.2807 9.6 6.2807C9.98653 6.2807 10.3 5.96723 10.3 5.5807C10.3 5.2132 9.98719 4.8807 9.6 4.8807Z" fill="currentColor"/>
4
4
  </g>
5
5
  <defs>
6
6
  <clipPath id="clip0_1215_817">
7
- <rect width="14" height="14" fill="white" transform="translate(0.5)"/>
7
+ <rect width="14" height="14" fill="currentColor" transform="translate(0.5)"/>
8
8
  </clipPath>
9
9
  </defs>
10
10
  </svg>
@@ -238,7 +238,7 @@ export class BcmDropdown {
238
238
  "mutable": true,
239
239
  "complexType": {
240
240
  "original": "KindTypes",
241
- "resolved": "\"ghost\" | \"link\" | \"solid\"",
241
+ "resolved": "\"ghost\" | \"ghost-link\" | \"link\" | \"solid\"",
242
242
  "references": {
243
243
  "KindTypes": {
244
244
  "location": "import",
@@ -233,20 +233,20 @@ export class BcmInput {
233
233
  }
234
234
  validationRange() {
235
235
  const { min, max, value } = this;
236
- if (value) {
237
- if (min && max) {
236
+ if (value !== undefined) {
237
+ if ((min !== undefined) && (max !== undefined)) {
238
238
  if (value < min || value > max) {
239
239
  this.setCaption(StringHelper.getMessage('between', [min, max]), "error");
240
240
  return false;
241
241
  }
242
242
  }
243
- else if (min) {
243
+ else if (min !== undefined) {
244
244
  if (value < min) {
245
245
  this.setCaption(StringHelper.getMessage('min', [min]), "error");
246
246
  return false;
247
247
  }
248
248
  }
249
- else if (max) {
249
+ else if (max !== undefined) {
250
250
  if (value > max) {
251
251
  this.setCaption(StringHelper.getMessage('max', [max]), "error");
252
252
  return false;
@@ -284,7 +284,6 @@ export class BcmInput {
284
284
  whatchHasFocus() {
285
285
  const { type, focused, valueCache, inValid } = this;
286
286
  if (type == Bcm.InputType.number && inValid) {
287
- console.log("whatchHasFocus");
288
287
  if (focused) {
289
288
  this.value = '';
290
289
  }
@@ -310,7 +309,6 @@ export class BcmInput {
310
309
  eyeDropper
311
310
  .open()
312
311
  .then((color) => {
313
- console.log("color: ", color.sRGBHex);
314
312
  this.setValue(color.sRGBHex);
315
313
  })
316
314
  .catch((error) => {