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

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 (184) 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-ede82918.js → p-0745c696.js} +1 -1
  4. package/dist/bromcom-ui/{p-dc607ae4.entry.js → p-0e3e8cc2.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-0fa6d3a8.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-14ed8029.entry.js → p-160fba10.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-3361f6c9.entry.js → p-201b04e8.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-627c7769.entry.js → p-29263575.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-2b42d77e.entry.js +5 -0
  10. package/dist/bromcom-ui/{p-e497cf5d.entry.js → p-2d9b633e.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-2e9c0070.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-ebeb9689.entry.js → p-33f3c5c5.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-abd2f9ff.entry.js → p-4342cdf8.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-bca0ff0a.entry.js → p-4b44c0ea.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-a018f340.entry.js → p-51ba5764.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-35c215f2.entry.js → p-57678987.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-fba1682e.entry.js → p-59327403.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-c10b07cc.entry.js → p-5bd4ba44.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-9589f69c.entry.js → p-5d670fd7.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-5dcc28c3.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-5f345ad2.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-70253803.entry.js → p-62d2c650.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-61753299.js → p-6bea284a.js} +1 -1
  24. package/dist/bromcom-ui/{p-178fa936.entry.js → p-6ddd9d7e.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-788d1fb1.entry.js +5 -0
  26. package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-856dac72.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-8b31581f.js → p-8bb0fe5d.js} +1 -1
  28. package/dist/bromcom-ui/{p-3cdfd8eb.entry.js → p-8e972c24.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-a4b675ef.entry.js → p-93c016f1.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-930f3618.js → p-9586997f.js} +1 -1
  31. package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-9b2e26f6.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-9b8fcf49.entry.js +16 -0
  33. package/dist/bromcom-ui/{p-db15dca3.entry.js → p-a1d44a10.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-e93d6619.js → p-a2864264.js} +1 -1
  35. package/dist/bromcom-ui/p-aeb4be41.js +5 -0
  36. package/dist/bromcom-ui/{p-7fd22a35.entry.js → p-b0dc804a.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-5a391fcd.js → p-b51e5b06.js} +1 -1
  38. package/dist/bromcom-ui/p-c75b2352.entry.js +5 -0
  39. package/dist/bromcom-ui/p-c77541f4.js +10 -0
  40. package/dist/bromcom-ui/{p-5a22b74b.entry.js → p-cb56a1d9.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-d1298c40.js +5 -0
  42. package/dist/bromcom-ui/{p-90223f9f.entry.js → p-d3b38aff.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-f9b59bcc.entry.js → p-d6cee6ba.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-e10780ed.entry.js → p-dce99e4d.entry.js} +1 -1
  45. package/dist/cjs/{bcm-accordion_46.cjs.entry.js → bcm-accordion_47.cjs.entry.js} +8764 -8633
  46. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  47. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +6 -6
  48. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +6 -6
  49. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
  50. package/dist/cjs/bcm-caption.cjs.entry.js +6 -6
  51. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  52. package/dist/cjs/bcm-checkbox-lite_8.cjs.entry.js +3 -3
  53. package/dist/cjs/bcm-chip-group.cjs.entry.js +6 -6
  54. package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
  55. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  56. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
  57. package/dist/cjs/bcm-default.cjs.entry.js +3 -3
  58. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -4
  59. package/dist/cjs/bcm-input-2.cjs.entry.js +153 -0
  60. package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
  61. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +6 -6
  62. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  63. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  64. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  65. package/dist/cjs/bcm-number-input.cjs.entry.js +260 -72
  66. package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-popover.cjs.entry.js +6 -6
  68. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  69. package/dist/cjs/bcm-react-number.cjs.entry.js +1230 -0
  70. package/dist/cjs/bcm-select.cjs.entry.js +1 -1
  71. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  72. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  73. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  74. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  75. package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
  76. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  77. package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
  78. package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
  79. package/dist/cjs/{generate-f73a098d.js → generate-e4106db0.js} +2 -2
  80. package/dist/cjs/{global-baf04c81.js → global-c0174398.js} +1 -1
  81. package/dist/cjs/index-e05a7c6f.js +545 -0
  82. package/dist/cjs/input.style-b5676e6a.js +122 -0
  83. package/dist/cjs/loader.cjs.js +3 -3
  84. package/dist/cjs/{number-helper-0543a62e.js → number-helper-0846aefe.js} +1 -1
  85. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
  86. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  87. package/dist/cjs/{package-e717a31f.js → package-822a0e3f.js} +1 -1
  88. package/dist/cjs/{validators-77768582.js → validators-0fadce56.js} +1 -1
  89. package/dist/collection/collection-manifest.json +2 -0
  90. package/dist/collection/components/atoms/link/link.css +9 -3
  91. package/dist/collection/components/molecules/input/input.style.js +117 -0
  92. package/dist/collection/components/molecules/input/input2.js +918 -0
  93. package/dist/collection/components/molecules/number-input/number-input.js +777 -96
  94. package/dist/collection/components/molecules/number-input/react-input.js +96 -0
  95. package/dist/collection/components/molecules/radio/radio.js +1 -1
  96. package/dist/collection/components/organism/form/form.js +2 -2
  97. package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
  98. package/dist/collection/components/organism/list/list.css +0 -1
  99. package/dist/collection/components/other_deprecated/select/select.css +1 -1
  100. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  101. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  102. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  103. package/dist/components/{raf.js → Overflow.js} +692 -69
  104. package/dist/components/bcm-date.js +1 -1
  105. package/dist/components/bcm-form-2.js +2 -1
  106. package/dist/components/bcm-input-2.d.ts +11 -0
  107. package/dist/components/bcm-input-2.js +225 -0
  108. package/dist/components/bcm-number-input.js +295 -79
  109. package/dist/components/bcm-react-number.d.ts +11 -0
  110. package/dist/components/bcm-react-number.js +10 -0
  111. package/dist/components/bcm-select.js +1 -1
  112. package/dist/components/colors2.js +13 -7
  113. package/dist/components/form.js +2 -2
  114. package/dist/components/generate.js +1 -1
  115. package/dist/components/index.d.ts +2 -0
  116. package/dist/components/index.js +2 -0
  117. package/dist/components/input.style.js +120 -0
  118. package/dist/components/link.js +1 -1
  119. package/dist/components/list.js +1 -1
  120. package/dist/components/radio.js +1 -1
  121. package/dist/components/rc-overflow.js +1 -593
  122. package/dist/components/rc-picker.js +8620 -8025
  123. package/dist/components/react-input.js +1242 -0
  124. package/dist/esm/{bcm-accordion_46.entry.js → bcm-accordion_47.entry.js} +8656 -8526
  125. package/dist/esm/bcm-alert.entry.js +3 -3
  126. package/dist/esm/bcm-attendance-actions-comment.entry.js +6 -6
  127. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +6 -6
  128. package/dist/esm/bcm-breadcrumb.entry.js +3 -3
  129. package/dist/esm/bcm-caption.entry.js +6 -6
  130. package/dist/esm/bcm-card.entry.js +4 -4
  131. package/dist/esm/bcm-checkbox-lite_8.entry.js +3 -3
  132. package/dist/esm/bcm-chip-group.entry.js +6 -6
  133. package/dist/esm/bcm-collapse.entry.js +3 -3
  134. package/dist/esm/bcm-date-picker.entry.js +3 -3
  135. package/dist/esm/bcm-datetime-picker.entry.js +3 -3
  136. package/dist/esm/bcm-default.entry.js +3 -3
  137. package/dist/esm/bcm-form-2.entry.js +5 -4
  138. package/dist/esm/bcm-input-2.entry.js +149 -0
  139. package/dist/esm/bcm-input-custom.entry.js +3 -3
  140. package/dist/esm/bcm-input-dropdown.entry.js +6 -6
  141. package/dist/esm/bcm-modal-2-footer.entry.js +6 -6
  142. package/dist/esm/bcm-modal-2-header.entry.js +6 -6
  143. package/dist/esm/bcm-modal-2.entry.js +6 -6
  144. package/dist/esm/bcm-number-input.entry.js +259 -71
  145. package/dist/esm/bcm-overlay_2.entry.js +1 -1
  146. package/dist/esm/bcm-popover.entry.js +6 -6
  147. package/dist/esm/bcm-range.entry.js +3 -3
  148. package/dist/esm/bcm-react-number.entry.js +1226 -0
  149. package/dist/esm/bcm-select.entry.js +1 -1
  150. package/dist/esm/bcm-skeleton.entry.js +6 -6
  151. package/dist/esm/bcm-table.entry.js +6 -6
  152. package/dist/esm/bcm-tag.entry.js +4 -4
  153. package/dist/esm/bcm-time-picker.entry.js +3 -3
  154. package/dist/esm/bcm-toast.entry.js +3 -3
  155. package/dist/esm/bromcom-ui.js +3 -3
  156. package/dist/esm/{color-helper-3b528349.js → color-helper-74614f24.js} +1 -1
  157. package/dist/esm/{colors-c530a5b8.js → colors-dd598eea.js} +13 -7
  158. package/dist/esm/{generate-c2c0b02e.js → generate-dbe68f53.js} +2 -2
  159. package/dist/esm/{global-2473677b.js → global-0bea93f1.js} +1 -1
  160. package/dist/esm/index-036974d7.js +541 -0
  161. package/dist/esm/input.style-e855c0f3.js +120 -0
  162. package/dist/esm/loader.js +3 -3
  163. package/dist/esm/{number-helper-75447fa6.js → number-helper-4a35e676.js} +1 -1
  164. package/dist/esm/old-bcm-popover-box.entry.js +4 -4
  165. package/dist/esm/old-bcm-popover.entry.js +3 -3
  166. package/dist/esm/{package-28dc6847.js → package-c9093920.js} +1 -1
  167. package/dist/esm/{validators-5a383988.js → validators-0d9bab98.js} +1 -1
  168. package/dist/types/components/molecules/input/input.style.d.ts +576 -0
  169. package/dist/types/components/molecules/input/input2.d.ts +64 -0
  170. package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
  171. package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
  172. package/dist/types/components.d.ts +203 -19
  173. package/package.json +4 -3
  174. package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
  175. package/dist/bromcom-ui/p-3a43bf45.js +0 -5
  176. package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
  177. package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
  178. package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
  179. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  180. package/dist/cjs/bcm-link.cjs.entry.js +0 -51
  181. package/dist/collection/components/molecules/number-input/number-input.css +0 -137
  182. package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
  183. package/dist/esm/bcm-link.entry.js +0 -47
  184. package/dist/types/components/molecules/number-input/number-input.style.d.ts +0 -200
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{r as t,h as e,H as s}from"./p-170cf07d.js";import"./p-61753299.js";import"./p-626a65e9.js";import{G as i}from"./p-930f3618.js";import"./p-ede82918.js";import"./p-a0d6d680.js";import"./p-e93d6619.js";import"./p-7e44e6b5.js";import"./p-a313fba6.js";import{c as r}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-3a43bf45.js";import"./p-6657830f.js";import"./p-8b31581f.js";const o=r({slots:{host:"tw-flex tw-flex-row tw-items-center tw-justify-center tw-flex-shrink-0 tw-relative tw-overflow-hidden tw-bg-gray-200"},variants:{variant:{rect:{host:"tw-rounded"},circle:{host:"tw-rounded-full"}},effect:{pulse:{host:"tw-animate-pulse"},ping:{host:"tw-animate-ping"},none:{host:"tw-animate-none"}},hidden:{true:{host:"tw-hidden"},false:{host:"tw-flex"}}},defaultVariants:{variant:"rect",effect:"pulse",hidden:!1}}),p=class{constructor(e){t(this,e),this._id=i.UID(),this.effect="pulse",this.variant="rect",this.hidden=!1,this.width="100%",this.height="16px",this.marginBottom=null,this.customStyles={}}render(){const{variant:t,effect:i,width:r,height:p,marginBottom:a,customStyles:n,hidden:h}=this,c=Object.assign(Object.assign(Object.assign(Object.assign({},r?{width:r}:{}),p?{height:p}:{}),a?{marginBottom:a}:{}),"string"==typeof n?JSON.parse(n):n),{host:m}=o({variant:t,effect:i,hidden:h});return e(s,{class:m(),style:c})}};export{p as bcm_skeleton}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{r as t,h as n,H as e}from"./p-170cf07d.js";import"./p-61753299.js";import"./p-626a65e9.js";import{G as i}from"./p-930f3618.js";import"./p-ede82918.js";import"./p-a0d6d680.js";import"./p-e93d6619.js";import"./p-7e44e6b5.js";import{B as s}from"./p-a313fba6.js";import{C as p}from"./p-2cd6cdee.js";import"./p-e0ab7b38.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{c as a}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-3a43bf45.js";import"./p-6657830f.js";import"./p-8b31581f.js";const r=a({slots:{host:"bcm-number-input bcm-ui-element tw-flex tw-flex-col tw-items-start tw-justify-start tw-max-w-[256px] tw-w-full",container:"tw-flex tw-flex-row tw-items-center tw-justify-between tw-rounded tw-border tw-border-solid tw-border-slate-300 tw-w-full tw-min-h-full hover:tw-bg-slate-50",inputContainer:"tw-flex tw-min-h-fit tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-px-3",input:"tw-outline-none tw-appearance-none tw-flex-1 tw-bg-transparent tw-text-slate-400 tw-text-inherit tw-font-normal",caretContainer:"tw-flex tw-flex-col tw-min-h-full tw-border-l tw-items-stretch tw-self-stretch tw-justify-center tw-border-l-slate-300 tw-select-none tw-w-[30px]",caretIcon:"tw-flex tw-items-center tw-text-slate-500 tw-justify-center tw-h-full tw-cursor-pointer active:tw-bg-slate-400 last:tw-border-t last:tw-border-t-slate-300",slotIcon:"tw-text-slate-500"},variants:{size:{small:{host:"tw-gap-0.5 tw-text-xs",slotIcon:"tw-text-[10px]",inputContainer:"tw-py-[2px]",caretIcon:"tw-text-[10px]"},medium:{host:"tw-gap-1 tw-text-base",slotIcon:"tw-text-xs",inputContainer:"tw-py-[5px]"},large:{host:"tw-gap-2 tw-text-base",slotIcon:"tw-text-[14px]",inputContainer:"tw-py-2"}},focus:{true:{container:"tw-ring-1 tw-ring-blue-600",input:"tw-text-slate-700"}}},defaultVariants:{size:"medium"}}),o=class{constructor(n){t(this,n),this.blockInvalidChar=t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),this._id=i.UID(),this.size=s.Size.medium,this.min=0,this.max=100,this.step=1,this.placeholder=void 0,this.label=void 0,this.tooltip=void 0,this.value=0,this.disabled=!1,this.readonly=!1,this.required=!1,this.pattern=void 0,this.caption=void 0,this.noCaption=!1,this.captionType=s.Status.default,this.captionError=void 0,this.customErrorMessage=void 0,this.prefixIcon=void 0,this.suffixIcon=void 0,this.isFocus=!1,this.isError=!1}render(){const{_id:t,value:i,min:s,max:a,step:o,tooltip:l,disabled:c,size:x,label:m,caption:h,captionType:u,required:w,noCaption:d,captionError:f,customErrorMessage:g,prefixIcon:b,suffixIcon:z,pattern:j}=this,{host:v,input:y,container:C,inputContainer:I,caretContainer:E,caretIcon:k,slotIcon:_}=r({size:x,focus:this.isFocus});return n(e,{class:v(),onClick:()=>!c&&this.nativeInput.focus()},m&&n("bcm-label",{tooltip:l,"no-margin":!0,type:u,value:m,required:w,htmlFor:t}),n("div",{class:C()},n("div",{class:I()},b&&n("span",{class:_()},n("i",{class:b})),n("input",{type:"number",class:y(),min:s,max:a,step:o,value:i,inputmode:"numeric",pattern:j,ref:t=>this.nativeInput=t,onKeyPress:this.blockInvalidChar,onFocus:()=>this.isFocus=!0,onBlur:()=>this.isFocus=!1,onError:t=>console.log(t),onErrorCapture:t=>console.log(t)}),z&&n("span",{class:_()},n("i",{class:z}))),n("div",{class:E()},n("span",{class:k()},n("i",{class:"fas fa-caret-up"})),n("span",{class:k()},n("i",{class:"fas fa-caret-down"})))),n(p,{noCaption:d,captionType:u,captionError:f,caption:h,customErrorMessage:g}))}};o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");\n.size-1 {\n font-size: 12px;\n line-height: 20px;\n}\n\n.size-2 {\n font-size: 14px;\n line-height: 22px;\n}\n\n.size-3 {\n font-size: 16px;\n line-height: 24px;\n}\n\n.size-4 {\n font-size: 20px;\n line-height: 28px;\n}\n\n.size-5 {\n font-size: 24px;\n line-height: 32px;\n}\n\n.size-6 {\n font-size: 30px;\n line-height: 38px;\n}\n\n.size-7 {\n font-size: 38px;\n line-height: 46px;\n}\n\n.size-8 {\n font-size: 46px;\n line-height: 54px;\n}\n\n.size-9 {\n font-size: 56px;\n line-height: 64px;\n}\n\n.weight-regular {\n font-weight: 400;\n}\n\n.weight-semibold {\n font-weight: 500;\n}\n\n/**\n * Generator\n */\n.input-size-large {\n height: 40px;\n}\n\n.input-size-medium {\n height: 32px;\n}\n\n.input-size-small {\n height: 24px;\n}\n\n.resize-none textarea {\n resize: none;\n}\n\n.resize-vertical textarea {\n resize: vertical;\n}\n\n.resize-auto textarea {\n height: auto;\n resize: none;\n}\n\n.textarea-size-large {\n padding: 4px 0 0 4px;\n min-height: 40px;\n}\n.textarea-size-large .bcm-input-element {\n min-height: calc((40px - 8px) + 2px);\n}\n.textarea-size-large .input-clear-button {\n height: calc( 40px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-medium {\n padding: 4px 0 0 4px;\n min-height: 32px;\n}\n.textarea-size-medium .bcm-input-element {\n min-height: calc((32px - 8px) + 2px);\n}\n.textarea-size-medium .input-clear-button {\n height: calc( 32px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-small {\n padding: 0px 0 0 4px;\n min-height: 24px;\n}\n.textarea-size-small .bcm-input-element {\n min-height: calc((24px - 8px) + 2px);\n}\n.textarea-size-small .input-clear-button {\n height: calc( 24px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n@layer base {\n .bcm-number-input input[type=number]::-webkit-outer-spin-button,\n.bcm-number-input input[type=number]::-webkit-inner-spin-button,\n.bcm-number-input input[type=number] {\n -webkit-appearance: none;\n padding: 0px;\n margin: 0px;\n outline: none;\n border: 0px;\n vertical-align: baseline;\n -moz-appearance: textfield !important;\n }\n}';export{o as bcm_number_input}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{r as i,h as e,H as t,g as n}from"./p-170cf07d.js";import{c as s}from"./p-e0ab7b38.js";import{a}from"./p-a313fba6.js";import"./p-6657830f.js";const o=class{constructor(e){i(this,e),this.hidden=!1,this.href=void 0,this.target=void 0,this.icon=void 0,this.disabled=!1,this.iconPosition=a.IconPosition.prefix}handleOnClick(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}linkIsExternal(i){return i&&!(!i.startsWith("http")&&!i.startsWith("//"))}render(){const{href:i,icon:n,hidden:o,target:l,iconPosition:r,disabled:p}=this,c=s("bcm-link",{disabled:p,hidden:o}),h=s("bcm-link__anchor",r,{suffix:this.linkIsExternal(i)});return e(t,{disabled:p,class:c},e(i?"a":"span",{class:h,href:i,target:this.linkIsExternal(i)?"_blank":l},n&&r===a.IconPosition.prefix&&e("bcm-icon",{class:"prefix-icon",icon:n}),e("slot",null),this.linkIsExternal(i)&&e("bcm-icon",{class:"suffix-icon",icon:"far fa-external-link-alt"})))}get el(){return n(this)}};o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-link{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline;color:var(--bcm-new-ds-color-blue-500)}.bcm-link.hidden{display:none}.bcm-link.disabled{pointer-events:none;opacity:0.5;cursor:not-allowed}.bcm-link__anchor{display:inline-flex;align-items:baseline;font-size:inherit;color:inherit}.bcm-link__anchor.prefix .prefix-icon{margin-right:4px}.bcm-link__anchor.suffix .suffix-icon{margin-left:4px}.bcm-link__anchor:hover,.bcm-link__anchor:focus,.bcm-link__anchor:active,.bcm-link__anchor:focus-visible{outline:none}.bcm-link__anchor:hover{color:var(--bcm-new-ds-color-blue-600)}.bcm-link__anchor:active{color:var(--bcm-new-ds-color-blue-700)}.bcm-link__anchor:focus-visible{color:var(--bcm-new-ds-color-blue-800)}';export{o as bcm_link}
@@ -1,51 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- 'use strict';
6
-
7
- Object.defineProperty(exports, '__esModule', { value: true });
8
-
9
- const index = require('./index-c591ecec.js');
10
- const index$1 = require('./index-95ae50d0.js');
11
- const bcm = require('./bcm-1d1fcf21.js');
12
- require('./_commonjsHelpers-ed84c3ca.js');
13
-
14
- const linkCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-link{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline;color:var(--bcm-new-ds-color-blue-500)}.bcm-link.hidden{display:none}.bcm-link.disabled{pointer-events:none;opacity:0.5;cursor:not-allowed}.bcm-link__anchor{display:inline-flex;align-items:baseline;font-size:inherit;color:inherit}.bcm-link__anchor.prefix .prefix-icon{margin-right:4px}.bcm-link__anchor.suffix .suffix-icon{margin-left:4px}.bcm-link__anchor:hover,.bcm-link__anchor:focus,.bcm-link__anchor:active,.bcm-link__anchor:focus-visible{outline:none}.bcm-link__anchor:hover{color:var(--bcm-new-ds-color-blue-600)}.bcm-link__anchor:active{color:var(--bcm-new-ds-color-blue-700)}.bcm-link__anchor:focus-visible{color:var(--bcm-new-ds-color-blue-800)}";
15
-
16
- const BcmLink = class {
17
- constructor(hostRef) {
18
- index.registerInstance(this, hostRef);
19
- this.hidden = false;
20
- this.href = undefined;
21
- this.target = undefined;
22
- this.icon = undefined;
23
- this.disabled = false;
24
- this.iconPosition = bcm.Bcm$1.IconPosition.prefix;
25
- }
26
- handleOnClick(e) {
27
- if (this.disabled) {
28
- e.preventDefault();
29
- e.stopPropagation();
30
- }
31
- }
32
- linkIsExternal(url) {
33
- return url && !!(url.startsWith('http') || url.startsWith('//'));
34
- }
35
- render() {
36
- const { href, icon, hidden, target, iconPosition, disabled } = this;
37
- const hostClasses = index$1.classnames('bcm-link', {
38
- disabled,
39
- hidden
40
- });
41
- const classes = index$1.classnames('bcm-link__anchor', iconPosition, {
42
- 'suffix': this.linkIsExternal(href)
43
- });
44
- const ElementTagType = href ? 'a' : 'span';
45
- return (index.h(index.Host, { disabled: disabled, class: hostClasses }, index.h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === bcm.Bcm$1.IconPosition.prefix && index.h("bcm-icon", { class: "prefix-icon", icon: icon }), index.h("slot", null), this.linkIsExternal(href) && index.h("bcm-icon", { class: "suffix-icon", icon: "far fa-external-link-alt" }))));
46
- }
47
- get el() { return index.getElement(this); }
48
- };
49
- BcmLink.style = linkCss;
50
-
51
- exports.bcm_link = BcmLink;
@@ -1,137 +0,0 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
- .size-1 {
3
- font-size: 12px;
4
- line-height: 20px;
5
- }
6
-
7
- .size-2 {
8
- font-size: 14px;
9
- line-height: 22px;
10
- }
11
-
12
- .size-3 {
13
- font-size: 16px;
14
- line-height: 24px;
15
- }
16
-
17
- .size-4 {
18
- font-size: 20px;
19
- line-height: 28px;
20
- }
21
-
22
- .size-5 {
23
- font-size: 24px;
24
- line-height: 32px;
25
- }
26
-
27
- .size-6 {
28
- font-size: 30px;
29
- line-height: 38px;
30
- }
31
-
32
- .size-7 {
33
- font-size: 38px;
34
- line-height: 46px;
35
- }
36
-
37
- .size-8 {
38
- font-size: 46px;
39
- line-height: 54px;
40
- }
41
-
42
- .size-9 {
43
- font-size: 56px;
44
- line-height: 64px;
45
- }
46
-
47
- .weight-regular {
48
- font-weight: 400;
49
- }
50
-
51
- .weight-semibold {
52
- font-weight: 500;
53
- }
54
-
55
- /**
56
- * Generator
57
- */
58
- .input-size-large {
59
- height: 40px;
60
- }
61
-
62
- .input-size-medium {
63
- height: 32px;
64
- }
65
-
66
- .input-size-small {
67
- height: 24px;
68
- }
69
-
70
- .resize-none textarea {
71
- resize: none;
72
- }
73
-
74
- .resize-vertical textarea {
75
- resize: vertical;
76
- }
77
-
78
- .resize-auto textarea {
79
- height: auto;
80
- resize: none;
81
- }
82
-
83
- .textarea-size-large {
84
- padding: 4px 0 0 4px;
85
- min-height: 40px;
86
- }
87
- .textarea-size-large .bcm-input-element {
88
- min-height: calc((40px - 8px) + 2px);
89
- }
90
- .textarea-size-large .input-clear-button {
91
- height: calc( 40px - 16px );
92
- top: 8px;
93
- padding: 0;
94
- margin-right: 8px;
95
- }
96
-
97
- .textarea-size-medium {
98
- padding: 4px 0 0 4px;
99
- min-height: 32px;
100
- }
101
- .textarea-size-medium .bcm-input-element {
102
- min-height: calc((32px - 8px) + 2px);
103
- }
104
- .textarea-size-medium .input-clear-button {
105
- height: calc( 32px - 16px );
106
- top: 8px;
107
- padding: 0;
108
- margin-right: 8px;
109
- }
110
-
111
- .textarea-size-small {
112
- padding: 0px 0 0 4px;
113
- min-height: 24px;
114
- }
115
- .textarea-size-small .bcm-input-element {
116
- min-height: calc((24px - 8px) + 2px);
117
- }
118
- .textarea-size-small .input-clear-button {
119
- height: calc( 24px - 16px );
120
- top: 8px;
121
- padding: 0;
122
- margin-right: 8px;
123
- }
124
-
125
- @layer base {
126
- .bcm-number-input input[type=number]::-webkit-outer-spin-button,
127
- .bcm-number-input input[type=number]::-webkit-inner-spin-button,
128
- .bcm-number-input input[type=number] {
129
- -webkit-appearance: none;
130
- padding: 0px;
131
- margin: 0px;
132
- outline: none;
133
- border: 0px;
134
- vertical-align: baseline;
135
- -moz-appearance: textfield !important;
136
- }
137
- }
@@ -1,45 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import { tv } from "tailwind-variants";
6
- export const numberInputStyle = tv({
7
- slots: {
8
- host: "bcm-number-input bcm-ui-element tw-flex tw-flex-col tw-items-start tw-justify-start tw-max-w-[256px] tw-w-full",
9
- container: "tw-flex tw-flex-row tw-items-center tw-justify-between tw-rounded tw-border tw-border-solid tw-border-slate-300 tw-w-full tw-min-h-full hover:tw-bg-slate-50",
10
- inputContainer: "tw-flex tw-min-h-fit tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-px-3",
11
- input: "tw-outline-none tw-appearance-none tw-flex-1 tw-bg-transparent tw-text-slate-400 tw-text-inherit tw-font-normal",
12
- caretContainer: "tw-flex tw-flex-col tw-min-h-full tw-border-l tw-items-stretch tw-self-stretch tw-justify-center tw-border-l-slate-300 tw-select-none tw-w-[30px]",
13
- caretIcon: "tw-flex tw-items-center tw-text-slate-500 tw-justify-center tw-h-full tw-cursor-pointer active:tw-bg-slate-400 last:tw-border-t last:tw-border-t-slate-300",
14
- slotIcon: "tw-text-slate-500",
15
- },
16
- variants: {
17
- size: {
18
- small: {
19
- host: "tw-gap-0.5 tw-text-xs",
20
- slotIcon: "tw-text-[10px]",
21
- inputContainer: "tw-py-[2px]",
22
- caretIcon: "tw-text-[10px]",
23
- },
24
- medium: {
25
- host: "tw-gap-1 tw-text-base",
26
- slotIcon: "tw-text-xs",
27
- inputContainer: "tw-py-[5px]",
28
- },
29
- large: {
30
- host: "tw-gap-2 tw-text-base",
31
- slotIcon: "tw-text-[14px]",
32
- inputContainer: "tw-py-2",
33
- },
34
- },
35
- focus: {
36
- true: {
37
- container: "tw-ring-1 tw-ring-blue-600",
38
- input: "tw-text-slate-700",
39
- },
40
- },
41
- },
42
- defaultVariants: {
43
- size: "medium",
44
- },
45
- });
@@ -1,47 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
- import { c as classnames } from './index-f549811f.js';
7
- import { a as Bcm } from './bcm-a50d55ba.js';
8
- import './_commonjsHelpers-82aa9212.js';
9
-
10
- const linkCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-link{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline;color:var(--bcm-new-ds-color-blue-500)}.bcm-link.hidden{display:none}.bcm-link.disabled{pointer-events:none;opacity:0.5;cursor:not-allowed}.bcm-link__anchor{display:inline-flex;align-items:baseline;font-size:inherit;color:inherit}.bcm-link__anchor.prefix .prefix-icon{margin-right:4px}.bcm-link__anchor.suffix .suffix-icon{margin-left:4px}.bcm-link__anchor:hover,.bcm-link__anchor:focus,.bcm-link__anchor:active,.bcm-link__anchor:focus-visible{outline:none}.bcm-link__anchor:hover{color:var(--bcm-new-ds-color-blue-600)}.bcm-link__anchor:active{color:var(--bcm-new-ds-color-blue-700)}.bcm-link__anchor:focus-visible{color:var(--bcm-new-ds-color-blue-800)}";
11
-
12
- const BcmLink = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
15
- this.hidden = false;
16
- this.href = undefined;
17
- this.target = undefined;
18
- this.icon = undefined;
19
- this.disabled = false;
20
- this.iconPosition = Bcm.IconPosition.prefix;
21
- }
22
- handleOnClick(e) {
23
- if (this.disabled) {
24
- e.preventDefault();
25
- e.stopPropagation();
26
- }
27
- }
28
- linkIsExternal(url) {
29
- return url && !!(url.startsWith('http') || url.startsWith('//'));
30
- }
31
- render() {
32
- const { href, icon, hidden, target, iconPosition, disabled } = this;
33
- const hostClasses = classnames('bcm-link', {
34
- disabled,
35
- hidden
36
- });
37
- const classes = classnames('bcm-link__anchor', iconPosition, {
38
- 'suffix': this.linkIsExternal(href)
39
- });
40
- const ElementTagType = href ? 'a' : 'span';
41
- return (h(Host, { disabled: disabled, class: hostClasses }, h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === Bcm.IconPosition.prefix && h("bcm-icon", { class: "prefix-icon", icon: icon }), h("slot", null), this.linkIsExternal(href) && h("bcm-icon", { class: "suffix-icon", icon: "far fa-external-link-alt" }))));
42
- }
43
- get el() { return getElement(this); }
44
- };
45
- BcmLink.style = linkCss;
46
-
47
- export { BcmLink as bcm_link };
@@ -1,200 +0,0 @@
1
- export declare const numberInputStyle: import("tailwind-variants").TVReturnType<{
2
- size: {
3
- small: {
4
- host: string;
5
- slotIcon: string;
6
- inputContainer: string;
7
- caretIcon: string;
8
- };
9
- medium: {
10
- host: string;
11
- slotIcon: string;
12
- inputContainer: string;
13
- };
14
- large: {
15
- host: string;
16
- slotIcon: string;
17
- inputContainer: string;
18
- };
19
- };
20
- focus: {
21
- true: {
22
- container: string;
23
- input: string;
24
- };
25
- };
26
- }, {
27
- host: string;
28
- container: string;
29
- inputContainer: string;
30
- input: string;
31
- caretContainer: string;
32
- caretIcon: string;
33
- slotIcon: string;
34
- }, undefined, import("tailwind-variants/dist/config").TVConfig<{
35
- size: {
36
- small: {
37
- host: string;
38
- slotIcon: string;
39
- inputContainer: string;
40
- caretIcon: string;
41
- };
42
- medium: {
43
- host: string;
44
- slotIcon: string;
45
- inputContainer: string;
46
- };
47
- large: {
48
- host: string;
49
- slotIcon: string;
50
- inputContainer: string;
51
- };
52
- };
53
- focus: {
54
- true: {
55
- container: string;
56
- input: string;
57
- };
58
- };
59
- }, {
60
- size: {
61
- small: {
62
- host: string;
63
- slotIcon: string;
64
- inputContainer: string;
65
- caretIcon: string;
66
- };
67
- medium: {
68
- host: string;
69
- slotIcon: string;
70
- inputContainer: string;
71
- };
72
- large: {
73
- host: string;
74
- slotIcon: string;
75
- inputContainer: string;
76
- };
77
- };
78
- focus: {
79
- true: {
80
- container: string;
81
- input: string;
82
- };
83
- };
84
- }>, {
85
- size: {
86
- small: {
87
- host: string;
88
- slotIcon: string;
89
- inputContainer: string;
90
- caretIcon: string;
91
- };
92
- medium: {
93
- host: string;
94
- slotIcon: string;
95
- inputContainer: string;
96
- };
97
- large: {
98
- host: string;
99
- slotIcon: string;
100
- inputContainer: string;
101
- };
102
- };
103
- focus: {
104
- true: {
105
- container: string;
106
- input: string;
107
- };
108
- };
109
- }, {
110
- host: string;
111
- container: string;
112
- inputContainer: string;
113
- input: string;
114
- caretContainer: string;
115
- caretIcon: string;
116
- slotIcon: string;
117
- }, import("tailwind-variants").TVReturnType<{
118
- size: {
119
- small: {
120
- host: string;
121
- slotIcon: string;
122
- inputContainer: string;
123
- caretIcon: string;
124
- };
125
- medium: {
126
- host: string;
127
- slotIcon: string;
128
- inputContainer: string;
129
- };
130
- large: {
131
- host: string;
132
- slotIcon: string;
133
- inputContainer: string;
134
- };
135
- };
136
- focus: {
137
- true: {
138
- container: string;
139
- input: string;
140
- };
141
- };
142
- }, {
143
- host: string;
144
- container: string;
145
- inputContainer: string;
146
- input: string;
147
- caretContainer: string;
148
- caretIcon: string;
149
- slotIcon: string;
150
- }, undefined, import("tailwind-variants/dist/config").TVConfig<{
151
- size: {
152
- small: {
153
- host: string;
154
- slotIcon: string;
155
- inputContainer: string;
156
- caretIcon: string;
157
- };
158
- medium: {
159
- host: string;
160
- slotIcon: string;
161
- inputContainer: string;
162
- };
163
- large: {
164
- host: string;
165
- slotIcon: string;
166
- inputContainer: string;
167
- };
168
- };
169
- focus: {
170
- true: {
171
- container: string;
172
- input: string;
173
- };
174
- };
175
- }, {
176
- size: {
177
- small: {
178
- host: string;
179
- slotIcon: string;
180
- inputContainer: string;
181
- caretIcon: string;
182
- };
183
- medium: {
184
- host: string;
185
- slotIcon: string;
186
- inputContainer: string;
187
- };
188
- large: {
189
- host: string;
190
- slotIcon: string;
191
- inputContainer: string;
192
- };
193
- };
194
- focus: {
195
- true: {
196
- container: string;
197
- input: string;
198
- };
199
- };
200
- }>, unknown, unknown, undefined>>;