@kubit-ui-web/react-components 1.5.2 → 1.6.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 (289) hide show
  1. package/dist/cjs/components/backToTop/backToTopControlled.js.map +1 -1
  2. package/dist/cjs/components/calendar/list/list.js +1 -1
  3. package/dist/cjs/components/calendar/list/list.js.map +1 -1
  4. package/dist/cjs/components/dot/dot.styled.js +2 -0
  5. package/dist/cjs/components/dot/dot.styled.js.map +1 -1
  6. package/dist/cjs/components/dot/dotStandAlone.js +2 -2
  7. package/dist/cjs/components/dot/dotStandAlone.js.map +1 -1
  8. package/dist/cjs/components/header/header.js +8 -2
  9. package/dist/cjs/components/header/header.js.map +1 -1
  10. package/dist/cjs/components/header/hook/useHeaderShadow.js +40 -0
  11. package/dist/cjs/components/header/hook/useHeaderShadow.js.map +1 -0
  12. package/dist/cjs/components/icon/icon.js +1 -1
  13. package/dist/cjs/components/icon/icon.js.map +1 -1
  14. package/dist/cjs/components/index.js +2 -0
  15. package/dist/cjs/components/index.js.map +1 -1
  16. package/dist/cjs/components/input/input.styled.js +1 -3
  17. package/dist/cjs/components/input/input.styled.js.map +1 -1
  18. package/dist/cjs/components/input/inputStandAlone.js +2 -2
  19. package/dist/cjs/components/input/inputStandAlone.js.map +1 -1
  20. package/dist/cjs/components/link/link.styled.js +4 -0
  21. package/dist/cjs/components/link/link.styled.js.map +1 -1
  22. package/dist/cjs/components/link/linkAsButton/linkAsButton.styled.js +1 -1
  23. package/dist/cjs/components/listOptions/listOptionsStandAlone.js.map +1 -1
  24. package/dist/cjs/components/message/index.js.map +1 -1
  25. package/dist/cjs/components/message/message.styled.js +4 -1
  26. package/dist/cjs/components/message/message.styled.js.map +1 -1
  27. package/dist/cjs/components/message/messageControlled.js +3 -1
  28. package/dist/cjs/components/message/messageControlled.js.map +1 -1
  29. package/dist/cjs/components/message/messageStandAlone.js +2 -1
  30. package/dist/cjs/components/message/messageStandAlone.js.map +1 -1
  31. package/dist/cjs/components/option/option.js.map +1 -1
  32. package/dist/cjs/components/pillSelector/pillSelectorControlled.js.map +1 -1
  33. package/dist/cjs/components/pillSelector/pillSelectorStandAlone.js.map +1 -1
  34. package/dist/cjs/components/selectorBoxFile/components/index.js +20 -0
  35. package/dist/cjs/components/selectorBoxFile/components/index.js.map +1 -0
  36. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +19 -0
  37. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js.map +1 -0
  38. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +14 -0
  39. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js.map +1 -0
  40. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js +15 -0
  41. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js.map +1 -0
  42. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js +19 -0
  43. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js.map +1 -0
  44. package/dist/cjs/components/selectorBoxFile/index.js +19 -0
  45. package/dist/cjs/components/selectorBoxFile/index.js.map +1 -0
  46. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js +86 -0
  47. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js.map +1 -0
  48. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.styled.js +59 -0
  49. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.styled.js.map +1 -0
  50. package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js +52 -0
  51. package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js.map +1 -0
  52. package/dist/cjs/components/selectorBoxFile/types/index.js +20 -0
  53. package/dist/cjs/components/selectorBoxFile/types/index.js.map +1 -0
  54. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFile.js +3 -0
  55. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFile.js.map +1 -0
  56. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFileTheme.js +3 -0
  57. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFileTheme.js.map +1 -0
  58. package/dist/cjs/components/selectorBoxFile/types/state.js +12 -0
  59. package/dist/cjs/components/selectorBoxFile/types/state.js.map +1 -0
  60. package/dist/cjs/components/selectorBoxFile/utils/index.js +18 -0
  61. package/dist/cjs/components/selectorBoxFile/utils/index.js.map +1 -0
  62. package/dist/cjs/components/selectorBoxFile/utils/state.utils.js +21 -0
  63. package/dist/cjs/components/selectorBoxFile/utils/state.utils.js.map +1 -0
  64. package/dist/cjs/components/stepperProgress/helpers/currentPercentage.js +10 -0
  65. package/dist/cjs/components/stepperProgress/helpers/currentPercentage.js.map +1 -0
  66. package/dist/cjs/components/stepperProgress/index.js +6 -0
  67. package/dist/cjs/components/stepperProgress/index.js.map +1 -0
  68. package/dist/cjs/components/stepperProgress/stepperProgress.js +41 -0
  69. package/dist/cjs/components/stepperProgress/stepperProgress.js.map +1 -0
  70. package/dist/cjs/components/stepperProgress/stepperProgress.styled.js +33 -0
  71. package/dist/cjs/components/stepperProgress/stepperProgress.styled.js.map +1 -0
  72. package/dist/cjs/components/stepperProgress/stepperProgressStandAlone.js +50 -0
  73. package/dist/cjs/components/stepperProgress/stepperProgressStandAlone.js.map +1 -0
  74. package/dist/cjs/components/stepperProgress/types/index.js +3 -0
  75. package/dist/cjs/components/stepperProgress/types/index.js.map +1 -0
  76. package/dist/cjs/components/stepperProgress/types/stepperProgress.js +3 -0
  77. package/dist/cjs/components/stepperProgress/types/stepperProgress.js.map +1 -0
  78. package/dist/cjs/components/stepperProgress/types/stepperProgressTheme.js +3 -0
  79. package/dist/cjs/components/stepperProgress/types/stepperProgressTheme.js.map +1 -0
  80. package/dist/cjs/components/table/table.styled.js.map +1 -1
  81. package/dist/cjs/components/thirdPartyAnimation/thirdPartyAnimation.js.map +1 -1
  82. package/dist/cjs/components/toggle/components/toggleThreePosition.js.map +1 -1
  83. package/dist/cjs/components/tooltip/hooks/useTooltip.js.map +1 -1
  84. package/dist/cjs/components/tooltip/tooltipUnControlled.js.map +1 -1
  85. package/dist/cjs/designSystem/kubit/components/dot/styles.js +4 -0
  86. package/dist/cjs/designSystem/kubit/components/dot/styles.js.map +1 -1
  87. package/dist/cjs/designSystem/kubit/components/input/styles.js +16 -10
  88. package/dist/cjs/designSystem/kubit/components/input/styles.js.map +1 -1
  89. package/dist/cjs/designSystem/kubit/components/message/styles.js +4 -0
  90. package/dist/cjs/designSystem/kubit/components/message/styles.js.map +1 -1
  91. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/index.js +19 -0
  92. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/index.js.map +1 -0
  93. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/styles.js +226 -0
  94. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/styles.js.map +1 -0
  95. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/variants.js +8 -0
  96. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/variants.js.map +1 -0
  97. package/dist/cjs/designSystem/kubit/components/stepperProgress/index.js +19 -0
  98. package/dist/cjs/designSystem/kubit/components/stepperProgress/index.js.map +1 -0
  99. package/dist/cjs/designSystem/kubit/components/stepperProgress/styles.js +63 -0
  100. package/dist/cjs/designSystem/kubit/components/stepperProgress/styles.js.map +1 -0
  101. package/dist/cjs/designSystem/kubit/components/stepperProgress/variants.js +9 -0
  102. package/dist/cjs/designSystem/kubit/components/stepperProgress/variants.js.map +1 -0
  103. package/dist/cjs/designSystem/kubit/components/styles.js +2 -0
  104. package/dist/cjs/designSystem/kubit/components/styles.js.map +1 -1
  105. package/dist/cjs/designSystem/kubit/components/variants.js +2 -0
  106. package/dist/cjs/designSystem/kubit/components/variants.js.map +1 -1
  107. package/dist/cjs/designSystem/kubit/globalStyles/fonts.js +0 -21
  108. package/dist/cjs/designSystem/kubit/globalStyles/fonts.js.map +1 -1
  109. package/dist/cjs/hooks/useZoomEffect/useZoomEffect.js +6 -1
  110. package/dist/cjs/hooks/useZoomEffect/useZoomEffect.js.map +1 -1
  111. package/dist/cjs/styles/mixins/input.mixin.js +13 -8
  112. package/dist/cjs/styles/mixins/input.mixin.js.map +1 -1
  113. package/dist/cjs/styles/mixins/input.mixin.utils.js +50 -0
  114. package/dist/cjs/styles/mixins/input.mixin.utils.js.map +1 -0
  115. package/dist/cjs/utils/getStyles/getStyles.js +2 -1
  116. package/dist/cjs/utils/getStyles/getStyles.js.map +1 -1
  117. package/dist/cjs/utils/maskUtility/mask.utility.js +2 -2
  118. package/dist/cjs/utils/maskUtility/mask.utility.js.map +1 -1
  119. package/dist/cjs/utils/structuredClone/structuredClone.js +7 -1
  120. package/dist/cjs/utils/structuredClone/structuredClone.js.map +1 -1
  121. package/dist/esm/components/backToTop/backToTopControlled.js.map +1 -1
  122. package/dist/esm/components/calendar/list/list.js +1 -1
  123. package/dist/esm/components/calendar/list/list.js.map +1 -1
  124. package/dist/esm/components/dot/dot.styled.js +2 -0
  125. package/dist/esm/components/dot/dot.styled.js.map +1 -1
  126. package/dist/esm/components/dot/dotStandAlone.js +2 -2
  127. package/dist/esm/components/dot/dotStandAlone.js.map +1 -1
  128. package/dist/esm/components/dot/types/dot.d.ts +4 -0
  129. package/dist/esm/components/header/header.js +8 -2
  130. package/dist/esm/components/header/header.js.map +1 -1
  131. package/dist/esm/components/header/hook/useHeaderShadow.d.ts +14 -0
  132. package/dist/esm/components/header/hook/useHeaderShadow.js +36 -0
  133. package/dist/esm/components/header/hook/useHeaderShadow.js.map +1 -0
  134. package/dist/esm/components/header/types/header.d.ts +1 -0
  135. package/dist/esm/components/header/types/headerTheme.d.ts +3 -1
  136. package/dist/esm/components/icon/icon.js +1 -1
  137. package/dist/esm/components/icon/icon.js.map +1 -1
  138. package/dist/esm/components/index.d.ts +2 -0
  139. package/dist/esm/components/index.js +2 -0
  140. package/dist/esm/components/index.js.map +1 -1
  141. package/dist/esm/components/input/input.styled.d.ts +2 -2
  142. package/dist/esm/components/input/input.styled.js +1 -3
  143. package/dist/esm/components/input/input.styled.js.map +1 -1
  144. package/dist/esm/components/input/inputStandAlone.js +2 -2
  145. package/dist/esm/components/input/inputStandAlone.js.map +1 -1
  146. package/dist/esm/components/input/types/inputStyledPropsType.d.ts +3 -1
  147. package/dist/esm/components/input/types/inputTheme.d.ts +1 -0
  148. package/dist/esm/components/link/link.styled.js +4 -0
  149. package/dist/esm/components/link/link.styled.js.map +1 -1
  150. package/dist/esm/components/link/linkAsButton/linkAsButton.styled.js +1 -1
  151. package/dist/esm/components/listOptions/listOptionsStandAlone.js.map +1 -1
  152. package/dist/esm/components/message/index.d.ts +1 -1
  153. package/dist/esm/components/message/index.js.map +1 -1
  154. package/dist/esm/components/message/message.styled.d.ts +3 -0
  155. package/dist/esm/components/message/message.styled.js +3 -0
  156. package/dist/esm/components/message/message.styled.js.map +1 -1
  157. package/dist/esm/components/message/messageControlled.js +3 -1
  158. package/dist/esm/components/message/messageControlled.js.map +1 -1
  159. package/dist/esm/components/message/messageStandAlone.js +3 -2
  160. package/dist/esm/components/message/messageStandAlone.js.map +1 -1
  161. package/dist/esm/components/message/types/index.d.ts +1 -1
  162. package/dist/esm/components/message/types/message.d.ts +18 -3
  163. package/dist/esm/components/message/types/messageTheme.d.ts +1 -0
  164. package/dist/esm/components/option/option.js.map +1 -1
  165. package/dist/esm/components/pillSelector/pillSelectorControlled.js.map +1 -1
  166. package/dist/esm/components/pillSelector/pillSelectorStandAlone.js.map +1 -1
  167. package/dist/esm/components/selectorBoxFile/components/index.d.ts +3 -0
  168. package/dist/esm/components/selectorBoxFile/components/index.js +4 -0
  169. package/dist/esm/components/selectorBoxFile/components/index.js.map +1 -0
  170. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.d.ts +11 -0
  171. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +15 -0
  172. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js.map +1 -0
  173. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.d.ts +11 -0
  174. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +10 -0
  175. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js.map +1 -0
  176. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.d.ts +14 -0
  177. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js +11 -0
  178. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js.map +1 -0
  179. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.d.ts +9 -0
  180. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js +15 -0
  181. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js.map +1 -0
  182. package/dist/esm/components/selectorBoxFile/index.d.ts +2 -0
  183. package/dist/esm/components/selectorBoxFile/index.js +3 -0
  184. package/dist/esm/components/selectorBoxFile/index.js.map +1 -0
  185. package/dist/esm/components/selectorBoxFile/selectorBoxFile.d.ts +7 -0
  186. package/dist/esm/components/selectorBoxFile/selectorBoxFile.js +60 -0
  187. package/dist/esm/components/selectorBoxFile/selectorBoxFile.js.map +1 -0
  188. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.d.ts +33 -0
  189. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.js +53 -0
  190. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.js.map +1 -0
  191. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.d.ts +3 -0
  192. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js +26 -0
  193. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js.map +1 -0
  194. package/dist/esm/components/selectorBoxFile/types/index.d.ts +3 -0
  195. package/dist/esm/components/selectorBoxFile/types/index.js +4 -0
  196. package/dist/esm/components/selectorBoxFile/types/index.js.map +1 -0
  197. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.d.ts +65 -0
  198. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.js +2 -0
  199. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.js.map +1 -0
  200. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.d.ts +47 -0
  201. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.js +2 -0
  202. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.js.map +1 -0
  203. package/dist/esm/components/selectorBoxFile/types/state.d.ts +7 -0
  204. package/dist/esm/components/selectorBoxFile/types/state.js +9 -0
  205. package/dist/esm/components/selectorBoxFile/types/state.js.map +1 -0
  206. package/dist/esm/components/selectorBoxFile/utils/index.d.ts +1 -0
  207. package/dist/esm/components/selectorBoxFile/utils/index.js +2 -0
  208. package/dist/esm/components/selectorBoxFile/utils/index.js.map +1 -0
  209. package/dist/esm/components/selectorBoxFile/utils/state.utils.d.ts +2 -0
  210. package/dist/esm/components/selectorBoxFile/utils/state.utils.js +17 -0
  211. package/dist/esm/components/selectorBoxFile/utils/state.utils.js.map +1 -0
  212. package/dist/esm/components/stepperProgress/helpers/currentPercentage.d.ts +1 -0
  213. package/dist/esm/components/stepperProgress/helpers/currentPercentage.js +6 -0
  214. package/dist/esm/components/stepperProgress/helpers/currentPercentage.js.map +1 -0
  215. package/dist/esm/components/stepperProgress/index.d.ts +2 -0
  216. package/dist/esm/components/stepperProgress/index.js +2 -0
  217. package/dist/esm/components/stepperProgress/index.js.map +1 -0
  218. package/dist/esm/components/stepperProgress/stepperProgress.d.ts +7 -0
  219. package/dist/esm/components/stepperProgress/stepperProgress.js +15 -0
  220. package/dist/esm/components/stepperProgress/stepperProgress.js.map +1 -0
  221. package/dist/esm/components/stepperProgress/stepperProgress.styled.d.ts +5 -0
  222. package/dist/esm/components/stepperProgress/stepperProgress.styled.js +27 -0
  223. package/dist/esm/components/stepperProgress/stepperProgress.styled.js.map +1 -0
  224. package/dist/esm/components/stepperProgress/stepperProgressStandAlone.d.ts +3 -0
  225. package/dist/esm/components/stepperProgress/stepperProgressStandAlone.js +24 -0
  226. package/dist/esm/components/stepperProgress/stepperProgressStandAlone.js.map +1 -0
  227. package/dist/esm/components/stepperProgress/types/index.d.ts +2 -0
  228. package/dist/esm/components/stepperProgress/types/index.js +2 -0
  229. package/dist/esm/components/stepperProgress/types/index.js.map +1 -0
  230. package/dist/esm/components/stepperProgress/types/stepperProgress.d.ts +22 -0
  231. package/dist/esm/components/stepperProgress/types/stepperProgress.js +2 -0
  232. package/dist/esm/components/stepperProgress/types/stepperProgress.js.map +1 -0
  233. package/dist/esm/components/stepperProgress/types/stepperProgressTheme.d.ts +15 -0
  234. package/dist/esm/components/stepperProgress/types/stepperProgressTheme.js +2 -0
  235. package/dist/esm/components/stepperProgress/types/stepperProgressTheme.js.map +1 -0
  236. package/dist/esm/components/table/table.styled.js.map +1 -1
  237. package/dist/esm/components/thirdPartyAnimation/thirdPartyAnimation.js.map +1 -1
  238. package/dist/esm/components/toggle/components/toggleThreePosition.js.map +1 -1
  239. package/dist/esm/components/tooltip/hooks/useTooltip.js.map +1 -1
  240. package/dist/esm/components/tooltip/tooltipUnControlled.js.map +1 -1
  241. package/dist/esm/designSystem/kubit/components/dot/styles.js +4 -0
  242. package/dist/esm/designSystem/kubit/components/dot/styles.js.map +1 -1
  243. package/dist/esm/designSystem/kubit/components/input/styles.js +16 -10
  244. package/dist/esm/designSystem/kubit/components/input/styles.js.map +1 -1
  245. package/dist/esm/designSystem/kubit/components/message/styles.js +4 -0
  246. package/dist/esm/designSystem/kubit/components/message/styles.js.map +1 -1
  247. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.d.ts +2 -0
  248. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.js +3 -0
  249. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.js.map +1 -0
  250. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.d.ts +3 -0
  251. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.js +223 -0
  252. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.js.map +1 -0
  253. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.d.ts +3 -0
  254. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.js +5 -0
  255. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.js.map +1 -0
  256. package/dist/esm/designSystem/kubit/components/stepperProgress/index.d.ts +2 -0
  257. package/dist/esm/designSystem/kubit/components/stepperProgress/index.js +3 -0
  258. package/dist/esm/designSystem/kubit/components/stepperProgress/index.js.map +1 -0
  259. package/dist/esm/designSystem/kubit/components/stepperProgress/styles.d.ts +3 -0
  260. package/dist/esm/designSystem/kubit/components/stepperProgress/styles.js +60 -0
  261. package/dist/esm/designSystem/kubit/components/stepperProgress/styles.js.map +1 -0
  262. package/dist/esm/designSystem/kubit/components/stepperProgress/variants.d.ts +4 -0
  263. package/dist/esm/designSystem/kubit/components/stepperProgress/variants.js +6 -0
  264. package/dist/esm/designSystem/kubit/components/stepperProgress/variants.js.map +1 -0
  265. package/dist/esm/designSystem/kubit/components/styles.d.ts +2 -0
  266. package/dist/esm/designSystem/kubit/components/styles.js +2 -0
  267. package/dist/esm/designSystem/kubit/components/styles.js.map +1 -1
  268. package/dist/esm/designSystem/kubit/components/variants.d.ts +2 -0
  269. package/dist/esm/designSystem/kubit/components/variants.js +2 -0
  270. package/dist/esm/designSystem/kubit/components/variants.js.map +1 -1
  271. package/dist/esm/designSystem/kubit/globalStyles/fonts.js +0 -21
  272. package/dist/esm/designSystem/kubit/globalStyles/fonts.js.map +1 -1
  273. package/dist/esm/designSystem/kubit/index.d.ts +4 -0
  274. package/dist/esm/hooks/useZoomEffect/useZoomEffect.js +6 -1
  275. package/dist/esm/hooks/useZoomEffect/useZoomEffect.js.map +1 -1
  276. package/dist/esm/styles/mixins/input.mixin.js +13 -8
  277. package/dist/esm/styles/mixins/input.mixin.js.map +1 -1
  278. package/dist/esm/styles/mixins/input.mixin.utils.d.ts +5 -0
  279. package/dist/esm/styles/mixins/input.mixin.utils.js +43 -0
  280. package/dist/esm/styles/mixins/input.mixin.utils.js.map +1 -0
  281. package/dist/esm/types/styles/display.d.ts +1 -0
  282. package/dist/esm/utils/getStyles/getStyles.js +2 -1
  283. package/dist/esm/utils/getStyles/getStyles.js.map +1 -1
  284. package/dist/esm/utils/maskUtility/mask.utility.js +2 -2
  285. package/dist/esm/utils/maskUtility/mask.utility.js.map +1 -1
  286. package/dist/esm/utils/structuredClone/structuredClone.d.ts +2 -1
  287. package/dist/esm/utils/structuredClone/structuredClone.js +8 -1
  288. package/dist/esm/utils/structuredClone/structuredClone.js.map +1 -1
  289. package/package.json +1 -1
@@ -2,9 +2,10 @@ import * as React from 'react';
2
2
  import { IButton } from '../../../components/button';
3
3
  import { IElementOrIcon } from '../../../components/elementOrIcon';
4
4
  import { IElementOrillustration } from '../../../components/elementOrIllustration';
5
- import { ILink } from '../../../components/link';
5
+ import { ILink, LinkTargetType } from '../../../components/link';
6
6
  import { ITag } from '../../../components/tag';
7
7
  import { IText } from '../../../components/text';
8
+ import { GenericLinkType } from '../../../provider/genericComponents';
8
9
  import { AriaLiveOptionType, CustomTokenTypes, ROLES } from '../../../types';
9
10
  import { MessagePropsThemeType } from './messageTheme';
10
11
  export type MessageActionButtonType = Omit<IButton, 'children' | 'size'> & {
@@ -26,12 +27,22 @@ export type MessageTagType = Omit<ITag, 'children'> & {
26
27
  export type MessageLinkType = Omit<ILink, 'children'> & {
27
28
  content?: string;
28
29
  };
30
+ export type MessageContainerAsLinkType = {
31
+ onClick?: () => void;
32
+ url?: string;
33
+ target?: LinkTargetType;
34
+ };
29
35
  export interface IMessageStandAlone {
30
36
  illustration?: IElementOrillustration;
37
+ linkComponent: GenericLinkType;
38
+ messageContainerProps?: MessageContainerAsLinkType;
39
+ titleAndContentContainerProps?: MessageContainerAsLinkType;
40
+ titleAndContentRole?: ROLES;
31
41
  infoIcon?: IElementOrIcon;
32
42
  actionButton?: MessageActionButtonType;
33
43
  extraActionButton?: MessageExtraActionButtonType;
34
44
  content: MessageContentType;
45
+ inlineLink?: MessageLinkType;
35
46
  title?: MessageTitleType;
36
47
  tag?: MessageTagType;
37
48
  ariaMessageId?: string;
@@ -40,12 +51,16 @@ export interface IMessageStandAlone {
40
51
  maxContentLength?: number;
41
52
  open: boolean;
42
53
  styles: MessagePropsThemeType;
43
- role?: ROLES.STATUS | ROLES.ALERT;
54
+ role?: ROLES;
44
55
  id?: string;
45
56
  ariaLive?: AriaLiveOptionType;
57
+ /**
58
+ * @deprecated Use the new prop "links"
59
+ */
46
60
  link?: MessageLinkType;
61
+ links?: MessageLinkType[];
47
62
  }
48
- export interface IMessageControlled<V = undefined extends string ? unknown : string> extends Omit<IMessageStandAlone, 'styles'>, Omit<CustomTokenTypes<MessagePropsThemeType>, 'cts' | 'extraCt'> {
63
+ export interface IMessageControlled<V = undefined extends string ? unknown : string> extends Omit<IMessageStandAlone, 'styles' | 'linkComponent'>, Omit<CustomTokenTypes<MessagePropsThemeType>, 'cts' | 'extraCt'> {
49
64
  open: boolean;
50
65
  variant: V;
51
66
  }
@@ -21,6 +21,7 @@ export type MessagePropsThemeType = {
21
21
  };
22
22
  illustration?: IllustrationTypes;
23
23
  linkContainer?: CommonStyleType;
24
+ linksContainer?: CommonStyleType;
24
25
  };
25
26
  export type MessageStylesType<P extends string | number | symbol> = {
26
27
  [key in P]?: MessagePropsThemeType;
@@ -1 +1 @@
1
- {"version":3,"file":"option.js","sourceRoot":"","sources":["../../../../src/components/option/option.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AA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,UAAU,CAAC,cAAc,CAAC,CAAC;IAC7B,CAAC,CAAC;IACF,MAAM,OAAO,GAAG,CAAC,KAAoC,EAAE,EAAE;QACvD,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC;QAChB,UAAU,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,gBAAgB,OACX,KAAK,EACT,GAAG,EAAE,QAAQ,EACb,aAAa,EAAE,oBAAoB,EACnC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,QAAQ,EACjB,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EAClC,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,GACnC,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,MAAM,cAAc,GAAG,CACrB,KAAiB,EACjB,GAAuD,EAC1C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,OAAM,KAAsC,EAAE,GAAG,EAAE,GAAG,GAAI,GACzD,YAGtB,KAAC,eAAe,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GAC1B,CACjB,CAAC;AAEF,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,cAAc,CAIR,CAAC;AAEvC;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pillSelectorControlled.js","sourceRoot":"","sources":["../../../../src/components/pillSelector/pillSelectorControlled.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,E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AAG,EAAE,GAAG,GAAI,GACrE,YAGtB,KAAC,+BAA+B,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GAC1C,CACjB,CAAC;AAEF,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAMxB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"pillSelectorControlled.js","sourceRoot":"","sources":["../../../../src/components/pillSelector/pillSelectorControlled.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAEpD,MAAM,+BAA+B,GAAG,KAAK,CAAC,UAAU,CACtD,CACE,EAAE,GAAG,EAAE,GAAG,KAAK,EAA8B,EAC7C,GAA0D,EAC7C,EAAE;IACf,MAAM,MAAM,GAAG,SAAS,CAAwB,oBAAoB,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC1F,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAwB,IAAI,CAAC,CAAC;IAE9D,mCAAmC;IACnC,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,qCAAqC;QACrC,MAAM,KAAK,GACT,KAAK,CAAC,KAAK,CAAC,SAAS,CACnB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CACrE,GAAG,C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CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE3E,OAAO,CACL,KAAC,sBAAsB,IACrB,GAAG,EAAE,WAAW,EAChB,IAAI,EAAE,eAAe,EAAE,EAAE,EACzB,MAAM,EAAE,MAAM,KACV,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,+BAA+B,CAAC,WAAW,GAAG,iCAAiC,CAAC;AAEhF,MAAM,oBAAoB,GAAG,CAC3B,KAAiC,EACjC,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,sBAAsB,OAAM,KAA4C,EAAE,GAAG,EAAE,GAAG,GAAI,GACrE,YAGtB,KAAC,+BAA+B,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GAC1C,CACjB,CAAC;AAEF,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAMxB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pillSelectorStandAlone.js","sourceRoot":"","sources":["../../../../src/components/pillSelector/pillSelectorStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,+BAA+B,GAAG,CACtC,EAAE,UAAU,EAAE,QAAQ,GAAG,SAAS,EAAE,GAAG,KAAK,EAA2B,EACvE,GA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AAC,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"pillSelectorStandAlone.js","sourceRoot":"","sources":["../../../../src/components/pillSelector/pillSelectorStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,+BAA+B,GAAG,CACtC,EAAE,UAAU,EAAE,QAAQ,GAAG,SAAS,EAAE,GAAG,KAAK,EAA2B,EACvE,GAAuC,EACpB,EAAE;IACrB,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,GAAG,EAAE,CAAC,CAAC;QACL,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM;QACxB,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC;QACtC,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC;QACnC,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC;QACvC,WAAW,EAAE,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,UAAU,EAAE,IAAI;QAChB,oBAAoB,EAAE,CAAC,CAAC;KACzB,CAAC,EACF,CAAC,KAAK,CAAC,KAAK,CAAC,CACd,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,GAAG,YAAY,CAAC,cAAc,CAAC,CAAC;IAE/D,MAAM,cAAc,GAAG,KAAK,CAAC,YAAY,EAAE,MAAM,KAAK,CAAC,CAAC;IAExD,KAAK,CA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AC,cAAc,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAC/D,IAAI,EACR,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAC5B,OAAO,EAAE,KAAK,CAAC,WAAW,EAC1B,OAAO,EAAE,GAAG,EAAE;4BACZ,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;gCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;4BAClB,CAAC;wBACH,CAAC,EACD,YAAY,EAAE,KAAK,CAAC,YAAY,YAE/B,IAAI,CAAC,KAAK,IAlBN,IAAI,CAAC,KAAK,CAmBV,CACR,CACF,CAAC;gBACJ,CAAC,CAAC;gBACJ,CAAC,CAAC,IAAI,IACY,CACvB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './selectorBoxFileHeader';
2
+ export * from './selectorBoxFileErrorMessage';
3
+ export * from './selectorBoxFileContainerBox';
@@ -0,0 +1,4 @@
1
+ export * from './selectorBoxFileHeader';
2
+ export * from './selectorBoxFileErrorMessage';
3
+ export * from './selectorBoxFileContainerBox';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { SelectorBoxFileContainerBoxStateContentType, SelectorBoxFilePropsStylesType, SelectorBoxFileStateType } from '../types';
2
+ interface ISelectorBoxFileContainerBox {
3
+ styles: SelectorBoxFilePropsStylesType;
4
+ htmlFor: string;
5
+ state: SelectorBoxFileStateType;
6
+ containerBoxStateContent: SelectorBoxFileContainerBoxStateContentType;
7
+ filename?: string;
8
+ focus: boolean;
9
+ }
10
+ export declare const SelectorBoxFileContainerBox: (props: ISelectorBoxFileContainerBox) => JSX.Element;
11
+ export {};
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ElementOrIcon } from '../../../components/elementOrIcon';
3
+ import { Loader } from '../../../components/loader';
4
+ import { Text, TextComponentType } from '../../../components/text';
5
+ import { ActionIconAndActionTextContainerStyled, ContainerBoxActionDescriptionTextWrapper, ContainerBoxStyled, ContainerBoxTextWrapper, } from '../selectorBoxFile.styled';
6
+ import { SelectorBoxFileStateType, } from '../types';
7
+ export const SelectorBoxFileContainerBox = (props) => {
8
+ return (_jsxs(ContainerBoxStyled, { "data-focus": props.focus, htmlFor: props.htmlFor, state: props.state, styles: props.styles, children: [_jsxs("span", { children: [_jsx(Loader, { altText: props.containerBoxStateContent[props.state]?.icon?.altText, variant: props.styles?.states?.[SelectorBoxFileStateType.LOADING]?.containerBoxLoader?.variant, visible: props.state === SelectorBoxFileStateType.LOADING, width: props.styles?.states?.[SelectorBoxFileStateType.LOADING]?.containerBoxLoader?.width }), props.state !== SelectorBoxFileStateType.LOADING && (_jsx(ElementOrIcon, { customIconStyles: props.styles?.states?.[props.state]?.containerBoxIcon, ...props.containerBoxStateContent[props.state]?.icon }))] }), _jsxs(ContainerBoxTextWrapper, { state: props.state, styles: props.styles, children: [props.filename &&
9
+ [
10
+ SelectorBoxFileStateType.LOADING,
11
+ SelectorBoxFileStateType.SUCCESS,
12
+ SelectorBoxFileStateType.ERROR,
13
+ ].includes(props.state) ? (_jsx(Text, { component: TextComponentType.SPAN, customTypography: props.styles?.states?.[props.state]?.containerBoxFilename, children: props.filename })) : null, _jsxs(ContainerBoxActionDescriptionTextWrapper, { children: [props.containerBoxStateContent[props.state]?.actionText?.content ? (_jsxs(ActionIconAndActionTextContainerStyled, { state: props.state, styles: props.styles, children: [_jsx(ElementOrIcon, { altText: props.containerBoxStateContent[props.state]?.icon?.altText, customIconStyles: props.styles?.states?.[props.state]?.actionIcon, ...props.containerBoxStateContent[props.state]?.actionIcon }), _jsx(Text, { component: TextComponentType.SPAN, customTypography: props.styles?.states?.[props.state]?.containerBoxActionText, ...props.containerBoxStateContent[props.state]?.actionText, children: props.containerBoxStateContent[props.state]?.actionText?.content })] })) : null, props.containerBoxStateContent[props.state]?.description ? (_jsx(Text, { component: TextComponentType.SPAN, customTypography: props.styles?.states?.[props.state]?.containerBoxDescription, ...props.containerBoxStateContent[props.state]?.description, children: props.containerBoxStateContent[props.state]?.description?.content })) : null] })] })] }));
14
+ };
15
+ //# sourceMappingURL=selectorBoxFileContainerBox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFileContainerBox.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/components/selectorBoxFileContainerBox.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EACL,sCAAsC,EACtC,wCAAwC,EACxC,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,wBAAwB,GACzB,MAAM,UAAU,CAAC;AAWlB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,KAAmC,EAAe,EAAE;IAC9F,OAAO,CACL,MAAC,kBAAkB,kBACL,KAAK,CAAC,KAAK,EACvB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,aAEpB,2BACE,KAAC,MAAM,IACL,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,OAA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BoxFileStateType, SelectorBoxFileTextType } from '../types';
3
+ interface ISelectorBoxFileErrorMessage {
4
+ styles: SelectorBoxFilePropsStylesType;
5
+ errorMessageId: string;
6
+ errorMessageIcon?: IElementOrIcon;
7
+ errorMessage?: SelectorBoxFileTextType;
8
+ state: SelectorBoxFileStateType;
9
+ }
10
+ export declare const SelectorBoxFileErrorMessage: (props: ISelectorBoxFileErrorMessage) => JSX.Element | null;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ElementOrIcon } from '../../../components/elementOrIcon';
3
+ import { Text } from '../../../components/text';
4
+ import { AriaLiveOptionType } from '../../../types';
5
+ import { ErrorWrapperStyled } from '../selectorBoxFile.styled';
6
+ import { SelectorBoxFileStateType, } from '../types';
7
+ export const SelectorBoxFileErrorMessage = (props) => {
8
+ return (_jsx("div", { "aria-live": AriaLiveOptionType.POLITE, children: !props.errorMessage?.content || props.state !== SelectorBoxFileStateType.ERROR ? null : (_jsxs(ErrorWrapperStyled, { id: props.errorMessageId, styles: props.styles, children: [_jsx(ElementOrIcon, { customIconStyles: props.styles.errorMessageIcon, ...props.errorMessageIcon }), _jsx(Text, { customTypography: props.styles.errorMessage, ...props.errorMessage, children: props.errorMessage.content })] })) }));
9
+ };
10
+ //# sourceMappingURL=selectorBoxFileErrorMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFileErrorMessage.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/components/selectorBoxFileErrorMessage.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAkB,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAEL,wBAAwB,GAEzB,MAAM,UAAU,CAAC;AAUlB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,KAAmC,EACf,EAAE;IACtB,OAAO,CACL,2BAAgB,kBAAkB,CAAC,MAAM,YACtC,CAAC,KAAK,CAAC,YAAY,EAAE,OAAO,IAAI,KAAK,CAAC,KAAK,KAAK,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACvF,MAAC,kBAAkB,IAAC,EAAE,EAAE,KAAK,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,aAChE,KAAC,aAAa,IACZ,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,gBAAgB,KAC3C,KAAK,CAAC,gBAAgB,GAC1B,EACF,KAAC,IAAI,IAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY,KAAM,KAAK,CAAC,YAAY,YACtE,KAAK,CAAC,YAAY,CAAC,OAAO,GACtB,IACY,CACtB,GACG,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { IElementOrIcon } from '../../../components/elementOrIcon';
2
+ import { SelectorBoxFileButtonType, SelectorBoxFilePropsStylesType, SelectorBoxFileTextType, SelectorBoxFileTooltipType } from '../types';
3
+ interface ISelectorBoxHeader {
4
+ title?: SelectorBoxFileTextType;
5
+ subtitle?: SelectorBoxFileTextType;
6
+ description?: SelectorBoxFileTextType;
7
+ headerId: string;
8
+ button?: SelectorBoxFileButtonType;
9
+ styles: SelectorBoxFilePropsStylesType;
10
+ tooltip?: SelectorBoxFileTooltipType;
11
+ tooltipIcon?: IElementOrIcon;
12
+ }
13
+ export declare const SelectorBoxFileHeader: (props: ISelectorBoxHeader) => JSX.Element | null;
14
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Button } from '../../../components/button';
3
+ import { Text, TextComponentType } from '../../../components/text';
4
+ import { HeaderDescriptionWrapperStyled, HeaderSubtitleTooltipWrapperStyled, HeaderTitleSubtitleWrapperStyled, } from '../selectorBoxFile.styled';
5
+ // internal components
6
+ import { SelectorBoxFileTooltip } from './selectorBoxFileTooltip';
7
+ export const SelectorBoxFileHeader = (props) => {
8
+ return (_jsxs(_Fragment, { children: [_jsxs(HeaderTitleSubtitleWrapperStyled, { id: props.headerId, styles: props.styles, children: [props.title ? (_jsx(Text, { component: TextComponentType.H5, customTypography: props.styles.title, ...props.title, children: props.title.content })) : null, props.subtitle ? (_jsxs(HeaderSubtitleTooltipWrapperStyled, { children: [_jsx(Text, { customTypography: props.styles.subtitle, ...props.subtitle, children: props.subtitle.content }), _jsx(SelectorBoxFileTooltip, { styles: props.styles, tooltip: props.tooltip, tooltipIcon: props.tooltipIcon })] })) : null] }), (props.description || props.button) && (_jsxs(HeaderDescriptionWrapperStyled, { styles: props.styles, children: [_jsx(Text, { customTypography: props.styles.description, ...props.description, children: props.description?.content }), (props.styles.button?.size || props.button?.size) &&
9
+ (props.styles.button?.variant || props.button?.variant) && (_jsx(Button, { iconPosition: props.styles.button?.iconPosition, size: props.styles.button?.size, variant: props.styles.button?.variant, ...props.button, children: props.button?.content }))] }))] }));
10
+ };
11
+ //# sourceMappingURL=selectorBoxFileHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFileHeader.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/components/selectorBoxFileHeader.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AAOnC,sBAAsB;AACtB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAalE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAA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,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,EAC/C,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,EAC/B,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,KACjC,KAAK,CAAC,MAAM,YAEf,KAAK,CAAC,MAAM,EAAE,OAAO,GACf,CACV,IAC4B,CAClC,IACA,CACJ,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { IElementOrIcon } from '../../../components/elementOrIcon';
2
+ import { SelectorBoxFilePropsStylesType, SelectorBoxFileTooltipType } from '../types';
3
+ interface ISelectorBoxFileTooltip {
4
+ styles: SelectorBoxFilePropsStylesType;
5
+ tooltipIcon?: IElementOrIcon;
6
+ tooltip?: SelectorBoxFileTooltipType;
7
+ }
8
+ export declare const SelectorBoxFileTooltip: (props: ISelectorBoxFileTooltip) => JSX.Element | null;
9
+ export {};
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ElementOrIcon } from '../../../components/elementOrIcon';
3
+ import { Tooltip } from '../../../components/tooltip';
4
+ import { SubtitleTooltipIconWrapperStyled } from '../selectorBoxFile.styled';
5
+ export const SelectorBoxFileTooltip = (props) => {
6
+ if (!props.tooltipIcon?.icon) {
7
+ return null;
8
+ }
9
+ const icon = _jsx(ElementOrIcon, { customIconStyles: props.styles.tooltipIcon, ...props.tooltipIcon });
10
+ if (!props.tooltip) {
11
+ return (_jsx(SubtitleTooltipIconWrapperStyled, { styles: props.styles, children: icon }));
12
+ }
13
+ return (_jsx(SubtitleTooltipIconWrapperStyled, { styles: props.styles, children: _jsx(Tooltip, { variant: props.styles.tooltip?.variant, ...props.tooltip, children: icon }) }));
14
+ };
15
+ //# sourceMappingURL=selectorBoxFileTooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFileTooltip.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/components/selectorBoxFileTooltip.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAkB,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC;AAS7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA8B,EAAsB,EAAE;IAC3F,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,IAAI,GAAG,KAAC,aAAa,IAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,WAAW,KAAM,KAAK,CAAC,WAAW,GAAI,CAAC;IAElG,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;QACnB,OAAO,CACL,KAAC,gCAAgC,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,YACnD,IAAI,GAC4B,CACpC,CAAC;IACJ,CAAC;IAED,OAAO,CACL,KAAC,gCAAgC,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,YACpD,KAAC,OAAO,IAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,KAAM,KAAK,CAAC,OAAO,YAC/D,IAAI,GACG,GACuB,CACpC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './selectorBoxFile';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ export * from './selectorBoxFile';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/selectorBoxFile/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { ISelectorBoxFile } from './types';
3
+ declare const SelectorBoxBoundary: <V extends unknown>(props: ISelectorBoxFile<V>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element;
4
+ declare const SelectorBoxFile: <V extends unknown>(props: React.PropsWithChildren<ISelectorBoxFile<V>> & {
5
+ ref?: React.ForwardedRef<HTMLDivElement> | undefined | null;
6
+ }) => ReturnType<typeof SelectorBoxBoundary>;
7
+ export { SelectorBoxFile };
@@ -0,0 +1,60 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { STYLES_NAME } from '../../constants';
4
+ import { useStyles } from '../../hooks/useStyles/useStyles';
5
+ import { ErrorBoundary, FallbackComponent } from '../../provider/errorBoundary';
6
+ import { SelectorBoxFileStandAlone } from './selectorBoxFileStandAlone';
7
+ import { getState } from './utils';
8
+ const SelectorBoxFileComponent = React.forwardRef(({ variant, loading = false, success = false, error = false, disabled = false, maxSize, fileExtension, errorMaxSizeMessage = { content: '' }, errorFileExtensionMessage = { content: '' }, errorMessage = { content: '' }, onSizeError, onFileError, ctv, ...props }, ref) => {
9
+ const styles = useStyles(STYLES_NAME.SELECTOR_BOX_FILE, variant, ctv);
10
+ const [focus, setFocus] = React.useState(false);
11
+ const [validFile, setValidFile] = React.useState({ validSize: true, validExtension: true });
12
+ const onFocus = () => {
13
+ setFocus(true);
14
+ };
15
+ const onBlur = () => {
16
+ setFocus(false);
17
+ };
18
+ // eslint-disable-next-line complexity
19
+ const onValidateFile = (files) => {
20
+ if (!files || files.length === 0) {
21
+ return;
22
+ }
23
+ const file = files[0];
24
+ const size = file.size / 1024 / 1024; //mb
25
+ const extension = file.type;
26
+ let _validSize = true;
27
+ let _validFileExtension = true;
28
+ if (maxSize && size > maxSize) {
29
+ _validSize = false;
30
+ onSizeError?.(true);
31
+ }
32
+ if (fileExtension && !fileExtension?.some(substring => extension.includes(substring))) {
33
+ _validFileExtension = false;
34
+ onFileError?.(true);
35
+ }
36
+ setValidFile({ validSize: _validSize, validExtension: _validFileExtension });
37
+ };
38
+ const getErrorMessage = () => {
39
+ if (!validFile.validExtension) {
40
+ return errorFileExtensionMessage;
41
+ }
42
+ if (!validFile.validSize) {
43
+ return errorMaxSizeMessage;
44
+ }
45
+ return errorMessage;
46
+ };
47
+ const hasError = () => {
48
+ return error || !validFile.validExtension || !validFile.validSize;
49
+ };
50
+ const handleOnChange = event => {
51
+ onValidateFile(event.target.files);
52
+ props.onChange?.(event);
53
+ };
54
+ return (_jsx(SelectorBoxFileStandAlone, { ...props, ref: ref, errorMessage: getErrorMessage(), focus: focus, state: getState(loading, success, hasError(), disabled), styles: styles, onBlur: onBlur, onChange: handleOnChange, onFocus: onFocus }));
55
+ });
56
+ SelectorBoxFileComponent.displayName = 'SelectorBoxFileComponent';
57
+ const SelectorBoxBoundary = (props, ref) => (_jsx(ErrorBoundary, { fallBackComponent: _jsx(FallbackComponent, { children: _jsx(SelectorBoxFileStandAlone, { ...props, ref: ref }) }), children: _jsx(SelectorBoxFileComponent, { ...props, ref: ref }) }));
58
+ const SelectorBoxFile = React.forwardRef(SelectorBoxBoundary);
59
+ export { SelectorBoxFile };
60
+ //# sourceMappingURL=selectorBoxFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFile.js","sourceRoot":"","sources":["../../../../src/components/selectorBoxFile/selectorBoxFile.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAMxE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EACE,OAAO,EACP,OAAO,GAAG,KAAK,EACf,OAA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Q,EAAE,EAAE,QAAQ,CAAC,EACvD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC;AAElE,MAAM,mBAAmB,GAAG,CAC1B,KAA0B,EAC1B,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,yBAAyB,OACnB,KAA+C,EACpD,GAAG,EAAE,GAAG,GACR,GACgB,YAGtB,KAAC,wBAAwB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GACnC,CACjB,CAAC;AAEF,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAIjB,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ import { SelectorBoxFilePropsStylesType, SelectorBoxFileStateType } from './types';
3
+ export declare const WrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ export declare const HeaderContainerBoxWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ styles: SelectorBoxFilePropsStylesType;
6
+ }>>;
7
+ export declare const HeaderTitleSubtitleWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
8
+ styles: SelectorBoxFilePropsStylesType;
9
+ }>>;
10
+ export declare const HeaderSubtitleTooltipWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
11
+ export declare const HeaderDescriptionWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
+ styles: SelectorBoxFilePropsStylesType;
13
+ }>>;
14
+ export declare const SubtitleTooltipIconWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
+ styles: SelectorBoxFilePropsStylesType;
16
+ }>>;
17
+ export declare const ContainerBoxStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
18
+ styles: SelectorBoxFilePropsStylesType;
19
+ state: SelectorBoxFileStateType;
20
+ }>>;
21
+ export declare const ContainerBoxTextWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
22
+ styles: SelectorBoxFilePropsStylesType;
23
+ state: SelectorBoxFileStateType;
24
+ }>>;
25
+ export declare const ActionIconAndActionTextContainerStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
26
+ styles: SelectorBoxFilePropsStylesType;
27
+ state: SelectorBoxFileStateType;
28
+ }>>;
29
+ export declare const ContainerBoxActionDescriptionTextWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
30
+ export declare const HiddenInputFile: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>;
31
+ export declare const ErrorWrapperStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
32
+ styles: SelectorBoxFilePropsStylesType;
33
+ }>>;
@@ -0,0 +1,53 @@
1
+ import styled from 'styled-components';
2
+ // mixins
3
+ import { srOnlyMixin } from '../../styles/mixins/srOnly.mixin';
4
+ import { getStyles } from '../../utils/getStyles/getStyles';
5
+ export const WrapperStyled = styled.div `
6
+ width: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ `;
10
+ export const HeaderContainerBoxWrapperStyled = styled.div `
11
+ ${({ styles }) => getStyles(styles.header)}
12
+ `;
13
+ export const HeaderTitleSubtitleWrapperStyled = styled.div `
14
+ ${({ styles }) => getStyles(styles.titleSubtitleContainer)}
15
+ `;
16
+ export const HeaderSubtitleTooltipWrapperStyled = styled.div `
17
+ > *:nth-child(1) {
18
+ display: inline;
19
+ }
20
+ > *:nth-child(2) {
21
+ vertical-align: middle;
22
+ }
23
+ `;
24
+ export const HeaderDescriptionWrapperStyled = styled.div `
25
+ ${({ styles }) => getStyles(styles.descriptionContainer)}
26
+ `;
27
+ export const SubtitleTooltipIconWrapperStyled = styled.div `
28
+ ${({ styles }) => getStyles(styles.tooltipIconContainer)}
29
+ `;
30
+ export const ContainerBoxStyled = styled.label `
31
+ ${({ styles, state }) => getStyles(styles?.states?.[state]?.containerBoxContainer)}
32
+ &[data-focus='true'] {
33
+ ${({ theme }) => theme.FOCUS_STYLES};
34
+ }
35
+ `;
36
+ export const ContainerBoxTextWrapper = styled.span `
37
+ word-break: break-word;
38
+ ${({ styles, state }) => getStyles(styles?.states?.[state]?.containerBoxTextsContainer)}
39
+ `;
40
+ export const ActionIconAndActionTextContainerStyled = styled.div `
41
+ ${({ styles, state }) => getStyles(styles?.states?.[state]?.actionIconAndActionTextContainer)}
42
+ `;
43
+ export const ContainerBoxActionDescriptionTextWrapper = styled.span `
44
+ display: flex;
45
+ flex-direction: column;
46
+ `;
47
+ export const HiddenInputFile = styled.input `
48
+ ${srOnlyMixin}
49
+ `;
50
+ export const ErrorWrapperStyled = styled.div `
51
+ ${({ styles }) => getStyles(styles.errorMessageContainer)}
52
+ `;
53
+ //# sourceMappingURL=selectorBoxFile.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFile.styled.js","sourceRoot":"","sources":["../../../../src/components/selectorBoxFile/selectorBoxFile.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,SAAS;AACT,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAIxD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAItC,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CAAC,GAAG,CAEvD;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,GAAG,CAExD;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,sBAAsB,CAAC;CAC3D,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAO3D,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,GAAG,CAEtD;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,GAAG,CAExD;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAG5C;IACE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC;;MAE9E,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY;;CAEtC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,IAAI,CAGhD;;IAEE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,0BAA0B,CAAC;CACxF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,MAAM,CAAC,GAAG,CAG9D;IACE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,gCAAgC,CAAC;CAC9F,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC,IAAI,CAAA;;;CAGlE,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,CAAA;IACvC,WAAW;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAE1C;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC;CAC1D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { ISelectorBoxFileStandAlone } from './types';
3
+ export declare const SelectorBoxFileStandAlone: React.ForwardRefExoticComponent<ISelectorBoxFileStandAlone & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { useId } from '../../hooks';
4
+ // internal components
5
+ import { SelectorBoxFileContainerBox, SelectorBoxFileErrorMessage, SelectorBoxFileHeader, } from './components';
6
+ import { HeaderContainerBoxWrapperStyled, HiddenInputFile, WrapperStyled, } from './selectorBoxFile.styled';
7
+ import { SelectorBoxFileStateType } from './types';
8
+ const SelectorBoxFileStandAloneComponent = ({ dataTestId = 'selectorBoxFile', ...props }, ref) => {
9
+ const uniqueId = useId('selectorBoxFile');
10
+ const inputId = props.id ?? uniqueId;
11
+ const inputHeaderId = `${inputId}HeaderId`;
12
+ const inputErrorId = `${inputId}ErrorId`;
13
+ const getAriaDescribedBy = () => {
14
+ let res = '';
15
+ if (props.title || props.subtitle) {
16
+ res += ` ${inputHeaderId}`;
17
+ }
18
+ if (props.state === SelectorBoxFileStateType.ERROR && props.errorMessage) {
19
+ res += ` ${inputErrorId}`;
20
+ }
21
+ return res || undefined;
22
+ };
23
+ return (_jsxs("div", { ref: ref, children: [_jsxs(WrapperStyled, { "data-testid": dataTestId, children: [_jsxs(HeaderContainerBoxWrapperStyled, { styles: props.styles, children: [(props.title || props.subtitle) && (_jsx(SelectorBoxFileHeader, { button: props.button, description: props.description, headerId: inputHeaderId, styles: props.styles, subtitle: props.subtitle, title: props.title, tooltip: props.tooltip, tooltipIcon: props.tooltipIcon })), _jsx(SelectorBoxFileContainerBox, { containerBoxStateContent: props.containerBoxStateContent, filename: props.filename, focus: props.focus, htmlFor: inputId, state: props.state, styles: props.styles })] }), _jsx(SelectorBoxFileErrorMessage, { errorMessage: props.errorMessage, errorMessageIcon: props.errorMessageIcon, errorMessageId: inputErrorId, state: props.state, styles: props.styles })] }), _jsx(HiddenInputFile, { accept: props.accept, "aria-describedby": getAriaDescribedBy(), disabled: props.state === SelectorBoxFileStateType.DISABLED, id: inputId, multiple: props.multiple, name: props.name, type: "file", onBlur: props.onBlur, onChange: props.onChange, onClick: props.onClick, onFocus: props.onFocus })] }));
24
+ };
25
+ export const SelectorBoxFileStandAlone = React.forwardRef(SelectorBoxFileStandAloneComponent);
26
+ //# sourceMappingURL=selectorBoxFileStandAlone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFileStandAlone.js","sourceRoot":"","sources":["../../../../src/components/selectorBoxFile/selectorBoxFileStandAlone.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,sBAAsB;AACtB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,+BAA+B,EAC/B,eAAe,EACf,aAAa,GACd,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA8B,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAE/E,MAAM,kCAAkC,GAAG,CACzC,EAAE,UAAU,GAAG,iBAAiB,EAAE,GAAG,KAAK,EAA8B,EACxE,GAA0D,EAC7C,EAAE;IACf,MAAM,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC1C,MAAM,OAAO,GAAG,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC;IACrC,MAAM,aAAa,GAAG,GAAG,OAAO,UAAU,CAAC;IAC3C,MAAM,YAAY,GAAG,GAAG,OAAO,SAAS,CAAC;IAEzC,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YAClC,GAAG,IAAI,IAAI,aAAa,EAAE,CAAC;QAC7B,CAAC;QACD,IAAI,KAAK,CAAC,KAAK,KAAK,wBAAwB,CAAC,KAAK,IAAI,KA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AQ,EAC3D,EAAE,EAAE,OAAO,EACX,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,OAAO,EAAE,KAAK,CAAC,OAAO,GACtB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './selectorBoxFile';
2
+ export * from './selectorBoxFileTheme';
3
+ export * from './state';
@@ -0,0 +1,4 @@
1
+ export * from './selectorBoxFile';
2
+ export * from './selectorBoxFileTheme';
3
+ export * from './state';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,65 @@
1
+ /// <reference types="react" />
2
+ import { IButton } from '../../../components/button';
3
+ import { IElementOrIcon } from '../../../components/elementOrIcon';
4
+ import { IText } from '../../../components/text';
5
+ import { ITooltipUnControlled } from '../../../components/tooltip/types';
6
+ import { CustomTokenTypes } from '../../../types';
7
+ import { SelectorBoxFilePropsStylesType } from './selectorBoxFileTheme';
8
+ import { SelectorBoxFileStateType } from './state';
9
+ export type SelectorBoxFileTextType = Omit<IText<string>, 'children'> & {
10
+ content: string;
11
+ };
12
+ export type SelectorBoxFileButtonType = Omit<IButton, 'children' | 'variant' | 'size'> & {
13
+ content: string;
14
+ variant?: string;
15
+ size?: string;
16
+ };
17
+ export type SelectorBoxFileTooltipType = Omit<ITooltipUnControlled, 'children' | 'variant'> & {
18
+ variant?: string;
19
+ };
20
+ export type SelectorBoxFileContainerBoxStateContentType = {
21
+ [key in SelectorBoxFileStateType]: {
22
+ icon?: IElementOrIcon;
23
+ actionText?: SelectorBoxFileTextType;
24
+ actionIcon?: IElementOrIcon;
25
+ description?: SelectorBoxFileTextType;
26
+ };
27
+ };
28
+ export interface ISelectorBoxFileStandAlone {
29
+ styles: SelectorBoxFilePropsStylesType;
30
+ state: SelectorBoxFileStateType;
31
+ title?: SelectorBoxFileTextType;
32
+ subtitle?: SelectorBoxFileTextType;
33
+ dataTestId?: string;
34
+ tooltipIcon?: IElementOrIcon;
35
+ tooltip?: SelectorBoxFileTooltipType;
36
+ containerBoxStateContent: SelectorBoxFileContainerBoxStateContentType;
37
+ filename?: string;
38
+ errorMessageIcon?: IElementOrIcon;
39
+ errorMessage?: SelectorBoxFileTextType;
40
+ errorMaxSizeMessage?: SelectorBoxFileTextType;
41
+ errorFileExtensionMessage?: SelectorBoxFileTextType;
42
+ focus: boolean;
43
+ onFocus: React.FocusEventHandler<HTMLInputElement>;
44
+ onBlur: React.FocusEventHandler<HTMLInputElement>;
45
+ id?: string;
46
+ name?: string;
47
+ accept?: string;
48
+ multiple?: boolean;
49
+ onChange: React.ChangeEventHandler<HTMLInputElement>;
50
+ onClick?: React.MouseEventHandler<HTMLInputElement>;
51
+ description?: SelectorBoxFileTextType;
52
+ button?: SelectorBoxFileButtonType;
53
+ maxSize?: number;
54
+ fileExtension?: string[];
55
+ }
56
+ export interface ISelectorBoxFile<V = undefined extends string ? unknown : string> extends Omit<ISelectorBoxFileStandAlone, 'styles' | 'state' | 'focus' | 'onFocus' | 'onBlur' | 'onChange'>, Omit<CustomTokenTypes<SelectorBoxFilePropsStylesType>, 'cts' | 'extraCt'> {
57
+ loading?: boolean;
58
+ success?: boolean;
59
+ error?: boolean;
60
+ disabled?: boolean;
61
+ variant: V;
62
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
63
+ onSizeError?: (status: boolean) => void;
64
+ onFileError?: (status: boolean) => void;
65
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=selectorBoxFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectorBoxFile.js","sourceRoot":"","sources":["../../../../../src/components/selectorBoxFile/types/selectorBoxFile.ts"],"names":[],"mappings":""}