bromcom-ui 2.10.0 → 2.10.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) 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-9c6363e3.entry.js → p-015d19dd.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-7e3f14bf.entry.js → p-0325e8a4.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-50694c46.entry.js → p-09699c4d.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-f4ef049a.entry.js → p-0973538a.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-9d631596.entry.js → p-0b316c6f.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-b87096e9.entry.js → p-0b820f78.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-33f783d4.entry.js → p-0fe106fc.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-8c951a73.js → p-125d6ed0.js} +1 -1
  11. package/dist/bromcom-ui/p-140f3478.js +5 -0
  12. package/dist/bromcom-ui/{p-42b8f665.entry.js → p-14c32a34.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-4438d629.entry.js → p-14cafd64.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-f95797df.js → p-157359d6.js} +1 -1
  15. package/dist/bromcom-ui/{p-bf8637cf.entry.js → p-16848643.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-db72fb9a.entry.js → p-1708a5ec.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-e037ee2b.js → p-170cf07d.js} +1 -1
  18. package/dist/bromcom-ui/{p-f03e56b9.entry.js → p-19f27bd8.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-95a2c489.entry.js → p-1c801d0c.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-e32ab4da.entry.js → p-1c9314bd.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-228c74e9.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-bc20302f.entry.js → p-24710a65.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-18bc4e04.entry.js → p-26290ed5.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-be635a5f.entry.js → p-29614b49.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-188b9079.entry.js → p-2aaeb247.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-1f9b6d10.entry.js → p-2da72d6a.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-3432a82d.js +19 -0
  28. package/dist/bromcom-ui/{p-4b82126e.entry.js → p-3756f541.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-0974f3ef.entry.js → p-39a40a6e.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-86642adc.entry.js → p-3b41df22.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-3d142f76.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-1dc1bb32.entry.js → p-3f39982f.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-40b85b9b.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-0efc9196.entry.js → p-430c0a24.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-303b4dfa.entry.js → p-483b4ba8.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-a1b1750c.js → p-518b9b80.js} +1 -1
  37. package/dist/bromcom-ui/{p-1998815a.entry.js → p-51b6a14a.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-38c95c70.entry.js → p-551058cd.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-55291cc5.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-468157a0.entry.js → p-5699f67d.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-b48522a7.entry.js → p-56f7477e.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-5c4b71fb.entry.js → p-571dca86.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-9f83dbdf.entry.js → p-5c671967.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-1e547f98.entry.js → p-5ca4aa84.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-5ff3c68f.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-4798d827.js → p-61db1f1f.js} +1 -1
  47. package/dist/bromcom-ui/{p-7a89243a.entry.js → p-626b805d.entry.js} +1 -1
  48. package/dist/bromcom-ui/p-62d178e3.entry.js +5 -0
  49. package/dist/bromcom-ui/{p-f711588b.js → p-6369b73b.js} +1 -1
  50. package/dist/bromcom-ui/{p-8d635460.entry.js → p-646cf63c.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  52. package/dist/bromcom-ui/{p-3b079331.entry.js → p-67343ad8.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-51da4af1.entry.js → p-673f7ee8.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-48f5a3c9.entry.js → p-69260d36.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-034bbcdd.js → p-6edf985f.js} +1 -1
  56. package/dist/bromcom-ui/p-71b9ea64.entry.js +7 -0
  57. package/dist/bromcom-ui/{p-197aba37.js → p-74e6d2b6.js} +1 -1
  58. package/dist/bromcom-ui/{p-72058fb8.entry.js → p-77eb2287.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-98d39972.entry.js → p-795d2f76.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-03337609.entry.js → p-7c5763cc.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-181f2f4a.entry.js → p-7d18ce0e.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  63. package/dist/bromcom-ui/{p-42bbaf3f.entry.js → p-7f09901d.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-e8b61e90.js → p-813ec92d.js} +1 -1
  65. package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
  66. package/dist/bromcom-ui/p-8b202d9e.js +5 -0
  67. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  68. package/dist/bromcom-ui/{p-d03b8b90.entry.js → p-8d43aa14.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-dd94b43f.entry.js → p-93b8a3ff.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-8e5e362a.js → p-9850cbce.js} +1 -1
  71. package/dist/bromcom-ui/p-9889a4ed.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-f9119bec.entry.js → p-99824717.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-2a26515f.js → p-9a41b688.js} +1 -1
  74. package/dist/bromcom-ui/p-a00170b7.entry.js +5 -0
  75. package/dist/bromcom-ui/{p-b017e8cd.entry.js → p-a04aab3c.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-7c18d6ae.entry.js → p-a1f9e7d4.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-a25c8a55.js +5 -0
  78. package/dist/bromcom-ui/{p-c5f820ca.entry.js → p-a42cc789.entry.js} +1 -1
  79. package/dist/bromcom-ui/{p-1a33d7a3.entry.js → p-a664cc20.entry.js} +1 -1
  80. package/dist/bromcom-ui/p-a839a0e5.entry.js +5 -0
  81. package/dist/bromcom-ui/p-ae57f046.entry.js +5 -0
  82. package/dist/bromcom-ui/{p-68074ec3.entry.js → p-b013cff9.entry.js} +1 -1
  83. package/dist/bromcom-ui/{p-e8ea33a0.entry.js → p-b3b59bc3.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-6e7bb16f.entry.js → p-ba9eff2a.entry.js} +1 -1
  85. package/dist/bromcom-ui/{p-3df7d781.entry.js → p-be434461.entry.js} +1 -1
  86. package/dist/bromcom-ui/{p-2c05f941.entry.js → p-bec8a936.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-107f11df.entry.js → p-c1a992e7.entry.js} +1 -1
  88. package/dist/bromcom-ui/{p-18a62098.js → p-c1b167a3.js} +1 -1
  89. package/dist/bromcom-ui/{p-0d9e0e43.entry.js → p-c566b3a0.entry.js} +1 -1
  90. package/dist/bromcom-ui/{p-451a262e.entry.js → p-cd04678a.entry.js} +1 -1
  91. package/dist/bromcom-ui/p-cf0c0700.entry.js +5 -0
  92. package/dist/bromcom-ui/{p-18d5e3f2.js → p-cf171578.js} +1 -1
  93. package/dist/bromcom-ui/{p-9c027fe2.js → p-d06f5291.js} +1 -1
  94. package/dist/bromcom-ui/{p-63138ee5.entry.js → p-d551a51d.entry.js} +1 -1
  95. package/dist/bromcom-ui/{p-658028ef.entry.js → p-d7538ba4.entry.js} +1 -1
  96. package/dist/bromcom-ui/p-d89b7e22.entry.js +5 -0
  97. package/dist/bromcom-ui/{p-b9ed8d61.entry.js → p-dac3117a.entry.js} +1 -1
  98. package/dist/bromcom-ui/{p-da3e7a70.entry.js → p-e11ab4ed.entry.js} +1 -1
  99. package/dist/bromcom-ui/{p-12e36dc5.js → p-e131b27f.js} +1 -1
  100. package/dist/bromcom-ui/{p-82c964dc.entry.js → p-e38c4c3a.entry.js} +1 -1
  101. package/dist/bromcom-ui/{p-1a5d4e8f.js → p-ea2ce157.js} +1 -1
  102. package/dist/bromcom-ui/{p-4d7ea23c.entry.js → p-ece578ef.entry.js} +1 -1
  103. package/dist/bromcom-ui/{p-5f46721f.entry.js → p-f1dbd96d.entry.js} +1 -1
  104. package/dist/bromcom-ui/{p-8b37bc3c.js → p-f3431dc8.js} +1 -1
  105. package/dist/bromcom-ui/p-f7549b1f.entry.js +5 -0
  106. package/dist/bromcom-ui/p-f800e665.js +5 -0
  107. package/dist/bromcom-ui/p-fb597d84.entry.js +5 -0
  108. package/dist/bromcom-ui/{p-1e8559ac.entry.js → p-fff1a0f9.entry.js} +1 -1
  109. package/dist/cjs/{bcm-7f703055.js → bcm-3c58a6d5.js} +28 -27
  110. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  111. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  113. package/dist/cjs/bcm-avatar_2.cjs.entry.js +6 -6
  114. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  115. package/dist/cjs/bcm-button-group.cjs.entry.js +4 -4
  116. package/dist/cjs/{bcm-colorful_2.cjs.entry.js → bcm-button_10.cjs.entry.js} +15630 -306
  117. package/dist/cjs/bcm-caption.cjs.entry.js +47 -0
  118. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  119. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +20 -22
  120. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
  121. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +7 -7
  122. package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -9
  123. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  124. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  125. package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
  126. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  127. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +7 -8
  128. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  129. package/dist/cjs/bcm-drawer.cjs.entry.js +6 -6
  130. package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -4
  131. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  132. package/dist/cjs/bcm-form-2.cjs.entry.js +4 -4
  133. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  134. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +8 -8
  135. package/dist/cjs/bcm-item.cjs.entry.js +3 -3
  136. package/dist/cjs/bcm-items.cjs.entry.js +4 -4
  137. package/dist/cjs/bcm-link.cjs.entry.js +1 -1
  138. package/dist/cjs/bcm-list_3.cjs.entry.js +50 -30
  139. package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
  140. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  141. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  142. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  143. package/dist/cjs/bcm-modal.cjs.entry.js +5 -5
  144. package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
  145. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
  146. package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
  147. package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
  148. package/dist/cjs/bcm-progress.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -7
  150. package/dist/cjs/bcm-radio.cjs.entry.js +6 -6
  151. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  152. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  153. package/dist/cjs/bcm-shortcut.cjs.entry.js +6 -6
  154. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  155. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  156. package/dist/cjs/bcm-stepper.cjs.entry.js +7 -7
  157. package/dist/cjs/bcm-switch.cjs.entry.js +5 -5
  158. package/dist/cjs/bcm-tab-group.cjs.entry.js +6 -6
  159. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +6 -6
  160. package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
  161. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  162. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  163. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  164. package/dist/cjs/bcm-textarea.cjs.entry.js +6 -6
  165. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  166. package/dist/cjs/bcm-toast.cjs.entry.js +4 -4
  167. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  168. package/dist/cjs/caption-template-6f535b93.js +32 -0
  169. package/dist/cjs/{floating-ui-b441ea7c.js → floating-ui-555cd3d4.js} +1 -1
  170. package/dist/cjs/{generate-210dd9e2.js → generate-e79347af.js} +1 -1
  171. package/dist/cjs/{global-0eb3a5d0.js → global-9bb1902a.js} +1 -1
  172. package/dist/cjs/{index-e05a7c6f.js → index-7eed931f.js} +1625 -24
  173. package/dist/cjs/{input-template-3e65e1b6.js → input-template-3d21aacb.js} +2 -2
  174. package/dist/cjs/{json-parse-decarator-39e18651.js → json-parse-decarator-4d7afa63.js} +1 -1
  175. package/dist/cjs/label-template-8dc10d0a.js +24 -0
  176. package/dist/cjs/loader.cjs.js +3 -3
  177. package/dist/cjs/{number-helper-325eff4a.js → number-helper-2f971fd8.js} +1 -1
  178. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  179. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  180. package/dist/cjs/{package-799d2f0f.js → package-47b7b998.js} +1 -1
  181. package/dist/cjs/{popover-placement-f20020a6.js → popover-placement-9b4b4153.js} +1 -1
  182. package/dist/cjs/{slot-template-873b0cd5.js → slot-template-80b019d5.js} +1 -1
  183. package/dist/cjs/{stepper-states-e957aacc.js → stepper-states-a5699b31.js} +1 -1
  184. package/dist/cjs/{string-helper-fda7cbba.js → string-helper-3212f4ea.js} +1 -1
  185. package/dist/cjs/{tooltip-helper-298a9ac9.js → tooltip-helper-7d5d1cb5.js} +6 -6
  186. package/dist/cjs/{validators-dd2b797e.js → validators-507307b9.js} +1 -1
  187. package/dist/collection/collection-manifest.json +1 -0
  188. package/dist/collection/components/atoms/caption/caption.js +195 -0
  189. package/dist/collection/components/atoms/label/label.js +48 -29
  190. package/dist/collection/components/molecules/checkbox/checkbox.css +0 -89
  191. package/dist/collection/components/molecules/input/input.css +0 -89
  192. package/dist/collection/components/molecules/input/input.js +57 -0
  193. package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +0 -89
  194. package/dist/collection/components/molecules/search/search.css +0 -89
  195. package/dist/collection/components/molecules/states/search.states.js +2 -2
  196. package/dist/collection/components/molecules/switch/switch.css +0 -89
  197. package/dist/collection/components/molecules/textarea/textarea.css +0 -89
  198. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -89
  199. package/dist/collection/components/organism/list/list.css +0 -89
  200. package/dist/collection/components/organism/list/list.js +46 -7
  201. package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -89
  202. package/dist/collection/components/third-parts/colorful/colorful.css +0 -89
  203. package/dist/collection/components/third-parts/rc-picker/date.js +7 -5
  204. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1 -376
  205. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +3 -16
  206. package/dist/collection/models/bcm.js +28 -27
  207. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +203 -0
  208. package/dist/collection/stories/ui-library/components/date/argTypes_date.js +47 -0
  209. package/dist/collection/stories/ui-library/components/date/argTypes_datetime.js +109 -0
  210. package/dist/collection/stories/ui-library/components/date/argTypes_time.js +91 -0
  211. package/dist/collection/templates/caption-template.js +15 -11
  212. package/dist/collection/templates/label-template.js +5 -3
  213. package/dist/collection/templates/list-template.js +2 -2
  214. package/dist/components/bcm-caption.d.ts +11 -0
  215. package/dist/components/bcm-caption.js +64 -0
  216. package/dist/components/bcm-checkbox-group.js +7 -8
  217. package/dist/components/bcm-chip-group.js +1 -2
  218. package/dist/components/bcm-date.js +26 -7
  219. package/dist/components/bcm-input-dropdown.js +1 -1
  220. package/dist/components/bcm-switch.js +1 -1
  221. package/dist/components/bcm.js +28 -27
  222. package/dist/components/caption-template.js +15 -17
  223. package/dist/components/checkbox.js +1 -1
  224. package/dist/components/colorful.js +1 -1
  225. package/dist/components/datetime-picker.js +2 -3
  226. package/dist/components/generate.js +1 -1
  227. package/dist/components/index.d.ts +1 -0
  228. package/dist/components/index.js +1 -0
  229. package/dist/components/input.js +41 -1
  230. package/dist/components/label.js +43 -20
  231. package/dist/components/list.js +32 -10
  232. package/dist/components/old-input.js +1 -1
  233. package/dist/components/rc-picker.js +4 -17
  234. package/dist/components/search.js +3 -3
  235. package/dist/components/textarea.js +1 -1
  236. package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
  237. package/dist/esm/{bcm-d45dc47d.js → bcm-0f9cc27c.js} +28 -27
  238. package/dist/esm/bcm-accordion.entry.js +5 -5
  239. package/dist/esm/bcm-alert.entry.js +9 -9
  240. package/dist/esm/bcm-attendance.entry.js +5 -5
  241. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  242. package/dist/esm/bcm-avatar_2.entry.js +12 -12
  243. package/dist/esm/bcm-box.entry.js +1 -1
  244. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  245. package/dist/esm/bcm-button-group.entry.js +8 -8
  246. package/dist/esm/{bcm-colorful_2.entry.js → bcm-button_10.entry.js} +15621 -305
  247. package/dist/esm/bcm-caption.entry.js +43 -0
  248. package/dist/esm/bcm-card.entry.js +11 -11
  249. package/dist/esm/bcm-checkbox-group.entry.js +17 -19
  250. package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -8
  251. package/dist/esm/bcm-checkbox_2.entry.js +14 -14
  252. package/dist/esm/bcm-chip-group.entry.js +15 -16
  253. package/dist/esm/bcm-chip.entry.js +8 -8
  254. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  255. package/dist/esm/bcm-collapse.entry.js +6 -6
  256. package/dist/esm/bcm-color-input.entry.js +12 -12
  257. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  258. package/dist/esm/bcm-content.entry.js +1 -1
  259. package/dist/esm/bcm-date-picker.entry.js +9 -9
  260. package/dist/esm/bcm-datetime-picker.entry.js +14 -15
  261. package/dist/esm/bcm-default.entry.js +5 -5
  262. package/dist/esm/bcm-drawer.entry.js +13 -13
  263. package/dist/esm/bcm-dropdown.entry.js +9 -9
  264. package/dist/esm/bcm-error-layout.entry.js +3 -3
  265. package/dist/esm/bcm-expansion-panel.entry.js +10 -10
  266. package/dist/esm/bcm-form-2.entry.js +8 -8
  267. package/dist/esm/bcm-form-group.entry.js +1 -1
  268. package/dist/esm/bcm-input-custom.entry.js +6 -6
  269. package/dist/esm/bcm-input-dropdown.entry.js +15 -15
  270. package/dist/esm/bcm-item.entry.js +9 -9
  271. package/dist/esm/bcm-items.entry.js +7 -7
  272. package/dist/esm/bcm-link.entry.js +4 -4
  273. package/dist/esm/bcm-list_3.entry.js +54 -34
  274. package/dist/esm/bcm-menu.entry.js +16 -16
  275. package/dist/esm/bcm-message.entry.js +3 -3
  276. package/dist/esm/bcm-modal-2-footer.entry.js +13 -13
  277. package/dist/esm/bcm-modal-2-header.entry.js +12 -12
  278. package/dist/esm/bcm-modal-2.entry.js +13 -13
  279. package/dist/esm/bcm-modal.entry.js +9 -9
  280. package/dist/esm/bcm-notification.entry.js +3 -3
  281. package/dist/esm/bcm-old-input.entry.js +6 -6
  282. package/dist/esm/bcm-old-tag_2.entry.js +4 -4
  283. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  284. package/dist/esm/bcm-popconfirm-box.entry.js +11 -11
  285. package/dist/esm/bcm-popconfirm.entry.js +7 -7
  286. package/dist/esm/bcm-popover.entry.js +13 -13
  287. package/dist/esm/bcm-progress.entry.js +9 -9
  288. package/dist/esm/bcm-radio-group.entry.js +15 -15
  289. package/dist/esm/bcm-radio.entry.js +13 -13
  290. package/dist/esm/bcm-range.entry.js +8 -8
  291. package/dist/esm/bcm-result.entry.js +3 -3
  292. package/dist/esm/bcm-select-group.entry.js +3 -3
  293. package/dist/esm/bcm-select-option.entry.js +3 -3
  294. package/dist/esm/bcm-select.entry.js +6 -6
  295. package/dist/esm/bcm-shortcut.entry.js +13 -13
  296. package/dist/esm/bcm-skeleton.entry.js +12 -12
  297. package/dist/esm/bcm-step.entry.js +8 -8
  298. package/dist/esm/bcm-stepper.entry.js +15 -15
  299. package/dist/esm/bcm-switch.entry.js +11 -11
  300. package/dist/esm/bcm-tab-group.entry.js +12 -12
  301. package/dist/esm/bcm-tab-item-header.entry.js +13 -13
  302. package/dist/esm/bcm-tab-item.entry.js +12 -12
  303. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  304. package/dist/esm/bcm-tab.entry.js +3 -3
  305. package/dist/esm/bcm-table.entry.js +13 -13
  306. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  307. package/dist/esm/bcm-tabs.entry.js +4 -4
  308. package/dist/esm/bcm-tag.entry.js +9 -9
  309. package/dist/esm/bcm-text.entry.js +9 -9
  310. package/dist/esm/bcm-textarea.entry.js +12 -12
  311. package/dist/esm/bcm-time-picker.entry.js +9 -9
  312. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  313. package/dist/esm/bcm-timeline.entry.js +3 -3
  314. package/dist/esm/bcm-toast.entry.js +9 -9
  315. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  316. package/dist/esm/bromcom-ui.js +5 -5
  317. package/dist/esm/caption-template-0c32ce16.js +30 -0
  318. package/dist/esm/{color-helper-c4fa9ebc.js → color-helper-845ba523.js} +2 -2
  319. package/dist/esm/{colors-e1c31f79.js → colors-ebea297f.js} +1 -1
  320. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  321. package/dist/esm/{floating-ui-8a0c54d6.js → floating-ui-a4e67246.js} +1 -1
  322. package/dist/esm/{generate-4a6e91ab.js → generate-b9c6f412.js} +2 -2
  323. package/dist/esm/{global-f2b64d8e.js → global-114427da.js} +2 -2
  324. package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
  325. package/dist/esm/{index-4614b7f0.js → index-0615c2b8.js} +1 -1
  326. package/dist/esm/{index-f38e3364.js → index-7e71bbc8.js} +1 -1
  327. package/dist/esm/{index-a6d9d0af.js → index-e4b6a4ce.js} +1612 -26
  328. package/dist/esm/{input-template-585653f0.js → input-template-dc94e47f.js} +4 -4
  329. package/dist/esm/{is-load-decorator-b8ca22f2.js → is-load-decorator-8277e3b8.js} +1 -1
  330. package/dist/esm/{json-parse-decarator-0fed2908.js → json-parse-decarator-fca2dc09.js} +2 -2
  331. package/dist/esm/label-template-989d1700.js +22 -0
  332. package/dist/esm/loader.js +5 -5
  333. package/dist/esm/{number-helper-9efff5fa.js → number-helper-70be3621.js} +1 -1
  334. package/dist/esm/old-bcm-popover-box.entry.js +13 -13
  335. package/dist/esm/old-bcm-popover.entry.js +7 -7
  336. package/dist/esm/{package-714d78c7.js → package-6f4c9f8c.js} +1 -1
  337. package/dist/esm/{popover-placement-941bf3f3.js → popover-placement-279ce860.js} +1 -1
  338. package/dist/esm/{slot-template-4b683d1f.js → slot-template-9234df88.js} +2 -2
  339. package/dist/esm/{stepper-states-2f770e8f.js → stepper-states-291a682f.js} +3 -3
  340. package/dist/esm/{string-helper-5bd646f2.js → string-helper-8f5da9ec.js} +2 -2
  341. package/dist/esm/{tooltip-helper-fd4d49bd.js → tooltip-helper-089735b1.js} +9 -9
  342. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  343. package/dist/esm/{validators-6dbc25f2.js → validators-c1fe8b4b.js} +1 -1
  344. package/dist/types/components/atoms/caption/caption.d.ts +14 -0
  345. package/dist/types/components/atoms/label/label.d.ts +3 -3
  346. package/dist/types/components/molecules/input/input.d.ts +2 -0
  347. package/dist/types/components/organism/list/list.d.ts +2 -0
  348. package/dist/types/components.d.ts +37 -6
  349. package/dist/types/models/bcm.d.ts +1 -0
  350. package/dist/types/templates/caption-template.d.ts +1 -1
  351. package/dist/types/templates/list-template.d.ts +1 -0
  352. package/package.json +4 -4
  353. package/dist/bromcom-ui/p-3182df7e.js +0 -10
  354. package/dist/bromcom-ui/p-32df2233.js +0 -5
  355. package/dist/bromcom-ui/p-504eac54.entry.js +0 -5
  356. package/dist/bromcom-ui/p-59dc8594.entry.js +0 -5
  357. package/dist/bromcom-ui/p-5ea9881d.entry.js +0 -5
  358. package/dist/bromcom-ui/p-5ee8a018.js +0 -5
  359. package/dist/bromcom-ui/p-5f40017d.entry.js +0 -5
  360. package/dist/bromcom-ui/p-67d1a74e.entry.js +0 -5
  361. package/dist/bromcom-ui/p-6d0a02d7.entry.js +0 -5
  362. package/dist/bromcom-ui/p-6f11eb8e.entry.js +0 -5
  363. package/dist/bromcom-ui/p-73bac18d.entry.js +0 -5
  364. package/dist/bromcom-ui/p-742f4bce.entry.js +0 -5
  365. package/dist/bromcom-ui/p-76edf59f.js +0 -7
  366. package/dist/bromcom-ui/p-77035c08.entry.js +0 -5
  367. package/dist/bromcom-ui/p-7c623da0.js +0 -5
  368. package/dist/bromcom-ui/p-7e3209a0.js +0 -14
  369. package/dist/bromcom-ui/p-7e35d915.entry.js +0 -5
  370. package/dist/bromcom-ui/p-89d9dc68.entry.js +0 -5
  371. package/dist/bromcom-ui/p-9321fa11.entry.js +0 -5
  372. package/dist/bromcom-ui/p-94003d12.entry.js +0 -5
  373. package/dist/bromcom-ui/p-944271c6.js +0 -5
  374. package/dist/bromcom-ui/p-9bd019ee.entry.js +0 -5
  375. package/dist/bromcom-ui/p-a7a9238e.entry.js +0 -5
  376. package/dist/bromcom-ui/p-bed627ab.js +0 -11
  377. package/dist/bromcom-ui/p-c05344c6.entry.js +0 -5
  378. package/dist/bromcom-ui/p-c10f44bc.entry.js +0 -5
  379. package/dist/bromcom-ui/p-c25bcdaf.entry.js +0 -5
  380. package/dist/bromcom-ui/p-ec555eba.entry.js +0 -5
  381. package/dist/bromcom-ui/p-ff3368a4.entry.js +0 -5
  382. package/dist/cjs/bcm-button.cjs.entry.js +0 -372
  383. package/dist/cjs/bcm-date.cjs.entry.js +0 -182
  384. package/dist/cjs/bcm-form.cjs.entry.js +0 -489
  385. package/dist/cjs/bcm-icon.cjs.entry.js +0 -39
  386. package/dist/cjs/bcm-label_2.cjs.entry.js +0 -126
  387. package/dist/cjs/bcm-linked.cjs.entry.js +0 -219
  388. package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -9404
  389. package/dist/cjs/caption-template-81dbc490.js +0 -34
  390. package/dist/cjs/index-3d67f613.js +0 -1610
  391. package/dist/cjs/label-template-80235581.js +0 -23
  392. package/dist/cjs/moment-d06b012f.js +0 -4601
  393. package/dist/collection/components/atoms/label/label.css +0 -158
  394. package/dist/components/label-template.js +0 -21
  395. package/dist/esm/bcm-button.entry.js +0 -368
  396. package/dist/esm/bcm-date.entry.js +0 -178
  397. package/dist/esm/bcm-form.entry.js +0 -485
  398. package/dist/esm/bcm-icon.entry.js +0 -35
  399. package/dist/esm/bcm-label_2.entry.js +0 -121
  400. package/dist/esm/bcm-linked.entry.js +0 -215
  401. package/dist/esm/bcm-rc-picker.entry.js +0 -9400
  402. package/dist/esm/caption-template-a1a968fd.js +0 -32
  403. package/dist/esm/index-c4568336.js +0 -1594
  404. package/dist/esm/label-template-54c28821.js +0 -21
  405. package/dist/esm/moment-15cd9198.js +0 -4598
@@ -27,6 +27,7 @@ export class BcmList {
27
27
  this.debounce = null;
28
28
  this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
29
29
  this._id = Generate.UID();
30
+ this.tempId = Generate.UID();
30
31
  this.type = Bcm.ListType.listbox;
31
32
  this.treeview = false;
32
33
  this.checkboxes = false;
@@ -145,12 +146,12 @@ export class BcmList {
145
146
  }
146
147
  async componentDidLoad() {
147
148
  await this.initState();
148
- if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
149
- const list = this.el.querySelector(`#bcm-list-${this._id}`);
150
- if (list) {
151
- document.body.appendChild(list);
152
- }
153
- }
149
+ // if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
150
+ // const list = this.el.querySelector(`#bcm-list-${this._id}`);
151
+ // if (list) {
152
+ // document.body.appendChild(list);
153
+ // }
154
+ // }
154
155
  }
155
156
  disconnectedCallback() {
156
157
  this.isOpen = false;
@@ -200,6 +201,14 @@ export class BcmList {
200
201
  }
201
202
  async handleOpen() {
202
203
  if (this.isOpen) {
204
+ this.detectClone();
205
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
206
+ const list = this.el.querySelector(`#bcm-list-${this._id}`);
207
+ if (list) {
208
+ const bcmOverlayContainer = document.querySelector("#bcm-overlay-container");
209
+ bcmOverlayContainer.appendChild(list);
210
+ }
211
+ }
203
212
  this.open.emit();
204
213
  this.calculateLocation();
205
214
  this.onSelectSearch();
@@ -489,6 +498,18 @@ export class BcmList {
489
498
  await delay(10);
490
499
  return Promise.resolve();
491
500
  }
501
+ detectClone() {
502
+ const list = document.querySelectorAll(`#bcm-list-${this._id}`);
503
+ if (list.length > 0) {
504
+ list.forEach((item) => {
505
+ const tempid = item.getAttribute("temp-id");
506
+ if (tempid !== `bcm-list-${this.tempId}`) {
507
+ console.warn(`[bcm-list] - Detected duplicate temp-id="${tempid}"`);
508
+ item.remove();
509
+ }
510
+ });
511
+ }
512
+ }
492
513
  async show() {
493
514
  this.isOpen = true;
494
515
  return Promise.resolve();
@@ -759,7 +780,7 @@ export class BcmList {
759
780
  "--min-height": openedType ? "inherit" : this.minHeight,
760
781
  } }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h("bcm-label", { tooltip: this.tooltip, size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: cs("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: cs("bcm-list__input-buttons", {
761
782
  disabled: disabled,
762
- }) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
783
+ }) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, tempId: this.tempId, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
763
784
  }
764
785
  static get is() { return "bcm-list"; }
765
786
  static get originalStyleUrls() {
@@ -792,6 +813,24 @@ export class BcmList {
792
813
  "reflect": true,
793
814
  "defaultValue": "Generate.UID()"
794
815
  },
816
+ "tempId": {
817
+ "type": "string",
818
+ "mutable": false,
819
+ "complexType": {
820
+ "original": "string",
821
+ "resolved": "string",
822
+ "references": {}
823
+ },
824
+ "required": false,
825
+ "optional": false,
826
+ "docs": {
827
+ "tags": [],
828
+ "text": ""
829
+ },
830
+ "attribute": "temp-id",
831
+ "reflect": true,
832
+ "defaultValue": "Generate.UID()"
833
+ },
795
834
  "type": {
796
835
  "type": "string",
797
836
  "mutable": true,
@@ -1,7 +1,5 @@
1
1
  @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
2
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
3
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
4
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
5
3
  .size-1 {
6
4
  font-size: 12px;
7
5
  line-height: 20px;
@@ -125,93 +123,6 @@
125
123
  margin-right: 8px;
126
124
  }
127
125
 
128
- * {
129
- box-sizing: border-box;
130
- }
131
-
132
- .bcm-caption-area {
133
- font-family: "Inter", sans-serif;
134
- font-size: 14px;
135
- line-height: calc(14px + 8px);
136
- font-weight: 400;
137
- font-size: 12px;
138
- line-height: calc(12px + 8px);
139
- color: var(--bcm-new-ds-color-slate-400);
140
- display: flex;
141
- flex-direction: row;
142
- align-items: flex-start;
143
- justify-content: space-between;
144
- flex-wrap: nowrap;
145
- margin-top: 2px;
146
- }
147
- .bcm-caption-area__text {
148
- color: var(--bcm-new-ds-color-slate-400);
149
- }
150
- .bcm-caption-area__text.default {
151
- color: var(--bcm-new-ds-color-slate-400);
152
- }
153
- .bcm-caption-area__text.info {
154
- color: var(--bcm-new-ds-color-blue-500);
155
- }
156
- .bcm-caption-area__text.success {
157
- color: var(--bcm-new-ds-color-emerald-500);
158
- }
159
- .bcm-caption-area__text.warning {
160
- color: var(--bcm-new-ds-color-amber-500);
161
- }
162
- .bcm-caption-area__text.error {
163
- color: var(--bcm-new-ds-color-red-500);
164
- }
165
- .bcm-caption-area__size-small {
166
- font-size: 10px;
167
- line-height: calc(10px + 8px);
168
- min-height: calc(10px + 8px);
169
- }
170
- .bcm-caption-area__size-medium {
171
- font-size: 12px;
172
- line-height: calc(12px + 8px);
173
- min-height: calc(12px + 8px);
174
- }
175
- .bcm-caption-area__size-large {
176
- font-size: 14px;
177
- line-height: calc(14px + 8px);
178
- min-height: calc(14px + 8px);
179
- }
180
-
181
- * {
182
- box-sizing: border-box;
183
- }
184
-
185
- .bcm-label {
186
- display: inline-flex;
187
- align-items: flex-start;
188
- grid-gap: 2px;
189
- }
190
- .bcm-label__text {
191
- margin-bottom: 2px;
192
- font-family: "Inter", sans-serif;
193
- font-size: 14px;
194
- line-height: calc(14px + 8px);
195
- font-weight: 400;
196
- display: inline-block;
197
- color: var(--bcm-new-ds-color-slate-600);
198
- }
199
- .bcm-label__size-small {
200
- font-size: 10px;
201
- line-height: calc(10px + 8px);
202
- min-height: calc(10px + 8px);
203
- }
204
- .bcm-label__size-medium {
205
- font-size: 12px;
206
- line-height: calc(12px + 8px);
207
- min-height: calc(12px + 8px);
208
- }
209
- .bcm-label__size-large {
210
- font-size: 14px;
211
- line-height: calc(14px + 8px);
212
- min-height: calc(14px + 8px);
213
- }
214
-
215
126
  .bcm-input[no-margin] {
216
127
  margin: 0;
217
128
  }
@@ -1,7 +1,5 @@
1
1
  @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
2
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
3
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
4
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
5
3
  .size-1 {
6
4
  font-size: 12px;
7
5
  line-height: 20px;
@@ -125,93 +123,6 @@
125
123
  margin-right: 8px;
126
124
  }
127
125
 
128
- * {
129
- box-sizing: border-box;
130
- }
131
-
132
- .bcm-caption-area {
133
- font-family: "Inter", sans-serif;
134
- font-size: 14px;
135
- line-height: calc(14px + 8px);
136
- font-weight: 400;
137
- font-size: 12px;
138
- line-height: calc(12px + 8px);
139
- color: var(--bcm-new-ds-color-slate-400);
140
- display: flex;
141
- flex-direction: row;
142
- align-items: flex-start;
143
- justify-content: space-between;
144
- flex-wrap: nowrap;
145
- margin-top: 2px;
146
- }
147
- .bcm-caption-area__text {
148
- color: var(--bcm-new-ds-color-slate-400);
149
- }
150
- .bcm-caption-area__text.default {
151
- color: var(--bcm-new-ds-color-slate-400);
152
- }
153
- .bcm-caption-area__text.info {
154
- color: var(--bcm-new-ds-color-blue-500);
155
- }
156
- .bcm-caption-area__text.success {
157
- color: var(--bcm-new-ds-color-emerald-500);
158
- }
159
- .bcm-caption-area__text.warning {
160
- color: var(--bcm-new-ds-color-amber-500);
161
- }
162
- .bcm-caption-area__text.error {
163
- color: var(--bcm-new-ds-color-red-500);
164
- }
165
- .bcm-caption-area__size-small {
166
- font-size: 10px;
167
- line-height: calc(10px + 8px);
168
- min-height: calc(10px + 8px);
169
- }
170
- .bcm-caption-area__size-medium {
171
- font-size: 12px;
172
- line-height: calc(12px + 8px);
173
- min-height: calc(12px + 8px);
174
- }
175
- .bcm-caption-area__size-large {
176
- font-size: 14px;
177
- line-height: calc(14px + 8px);
178
- min-height: calc(14px + 8px);
179
- }
180
-
181
- * {
182
- box-sizing: border-box;
183
- }
184
-
185
- .bcm-label {
186
- display: inline-flex;
187
- align-items: flex-start;
188
- grid-gap: 2px;
189
- }
190
- .bcm-label__text {
191
- margin-bottom: 2px;
192
- font-family: "Inter", sans-serif;
193
- font-size: 14px;
194
- line-height: calc(14px + 8px);
195
- font-weight: 400;
196
- display: inline-block;
197
- color: var(--bcm-new-ds-color-slate-600);
198
- }
199
- .bcm-label__size-small {
200
- font-size: 10px;
201
- line-height: calc(10px + 8px);
202
- min-height: calc(10px + 8px);
203
- }
204
- .bcm-label__size-medium {
205
- font-size: 12px;
206
- line-height: calc(12px + 8px);
207
- min-height: calc(12px + 8px);
208
- }
209
- .bcm-label__size-large {
210
- font-size: 14px;
211
- line-height: calc(14px + 8px);
212
- min-height: calc(14px + 8px);
213
- }
214
-
215
126
  .bcm-input[no-margin] {
216
127
  margin: 0;
217
128
  }
@@ -15,7 +15,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
15
15
  import { IsLoad } from "@bcm/decorator";
16
16
  import { Generate } from "@bcm/helpers";
17
17
  import { Bcm } from "@bcm/model";
18
- import { CaptionTemplate, LabelTemplate } from "@bcm/template";
18
+ import { CaptionTemplate } from "@bcm/template";
19
19
  import { Host, h } from "@stencil/core";
20
20
  import cs from "classnames";
21
21
  import moment from "moment";
@@ -28,13 +28,15 @@ export class BcmDate {
28
28
  // type a göre format belirleme işlemi
29
29
  this.getFormat = () => {
30
30
  if (!this.format) {
31
+ const hourFormat = this.use12Hours ? "hh" : "HH";
32
+ const timeFormat = `${this.showSecond ? `${hourFormat}:mm:ss` : this.showMinute ? `${hourFormat}:mm` : `${hourFormat}`}${this.use12Hours ? " a" : ""}`;
31
33
  switch (this.type) {
32
34
  case "time":
33
- return this.showSecond ? "HH:mm:ss" : this.showMinute ? "HH:mm" : "HH";
35
+ return `${timeFormat}`;
34
36
  case "date":
35
37
  return "DD/MM/YYYY";
36
38
  case "datetime":
37
- return this.showSecond ? "DD/MM/YYYY HH:mm:ss" : this.showMinute ? "DD/MM/YYYY HH:mm" : "DD/MM/YYYY HH";
39
+ return `DD/MM/YYYY ${timeFormat}`;
38
40
  case "week":
39
41
  return "YYYY-wo";
40
42
  case "month":
@@ -149,7 +151,7 @@ export class BcmDate {
149
151
  return (h(Host, { class: cs("bcm-ui-element bcm-ui-input", "tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col", {
150
152
  "tw-max-w-[256px]": !this.fullWidth,
151
153
  "tw-mb-2": !this.noMargin,
152
- }) }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: cs("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
154
+ }) }, label && h("bcm-label", { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: cs("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
153
155
  }
154
156
  static get is() { return "bcm-date"; }
155
157
  static get properties() {
@@ -585,7 +587,7 @@ export class BcmDate {
585
587
  "tags": [],
586
588
  "text": ""
587
589
  },
588
- "attribute": "use-1-2-hours",
590
+ "attribute": "use-12-hours",
589
591
  "reflect": false,
590
592
  "defaultValue": "false"
591
593
  },