@kubit-ui-web/react-components 1.5.1 → 1.6.0

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 (224) hide show
  1. package/dist/cjs/components/calendar/list/list.js +1 -1
  2. package/dist/cjs/components/calendar/list/list.js.map +1 -1
  3. package/dist/cjs/components/dot/dot.styled.js +2 -0
  4. package/dist/cjs/components/dot/dot.styled.js.map +1 -1
  5. package/dist/cjs/components/dot/dotStandAlone.js +2 -2
  6. package/dist/cjs/components/dot/dotStandAlone.js.map +1 -1
  7. package/dist/cjs/components/header/header.js +8 -2
  8. package/dist/cjs/components/header/header.js.map +1 -1
  9. package/dist/cjs/components/header/hook/useHeaderShadow.js +40 -0
  10. package/dist/cjs/components/header/hook/useHeaderShadow.js.map +1 -0
  11. package/dist/cjs/components/icon/icon.js +1 -1
  12. package/dist/cjs/components/icon/icon.js.map +1 -1
  13. package/dist/cjs/components/index.js +1 -0
  14. package/dist/cjs/components/index.js.map +1 -1
  15. package/dist/cjs/components/input/input.styled.js +1 -3
  16. package/dist/cjs/components/input/input.styled.js.map +1 -1
  17. package/dist/cjs/components/input/inputStandAlone.js +2 -2
  18. package/dist/cjs/components/input/inputStandAlone.js.map +1 -1
  19. package/dist/cjs/components/link/link.styled.js +4 -0
  20. package/dist/cjs/components/link/link.styled.js.map +1 -1
  21. package/dist/cjs/components/link/linkAsButton/linkAsButton.styled.js +1 -1
  22. package/dist/cjs/components/message/index.js.map +1 -1
  23. package/dist/cjs/components/message/message.styled.js +4 -1
  24. package/dist/cjs/components/message/message.styled.js.map +1 -1
  25. package/dist/cjs/components/message/messageControlled.js +3 -1
  26. package/dist/cjs/components/message/messageControlled.js.map +1 -1
  27. package/dist/cjs/components/message/messageStandAlone.js +2 -1
  28. package/dist/cjs/components/message/messageStandAlone.js.map +1 -1
  29. package/dist/cjs/components/selectorBoxFile/components/index.js +20 -0
  30. package/dist/cjs/components/selectorBoxFile/components/index.js.map +1 -0
  31. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +19 -0
  32. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js.map +1 -0
  33. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +14 -0
  34. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js.map +1 -0
  35. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js +15 -0
  36. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js.map +1 -0
  37. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js +19 -0
  38. package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js.map +1 -0
  39. package/dist/cjs/components/selectorBoxFile/index.js +19 -0
  40. package/dist/cjs/components/selectorBoxFile/index.js.map +1 -0
  41. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js +86 -0
  42. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js.map +1 -0
  43. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.styled.js +59 -0
  44. package/dist/cjs/components/selectorBoxFile/selectorBoxFile.styled.js.map +1 -0
  45. package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js +52 -0
  46. package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js.map +1 -0
  47. package/dist/cjs/components/selectorBoxFile/types/index.js +20 -0
  48. package/dist/cjs/components/selectorBoxFile/types/index.js.map +1 -0
  49. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFile.js +3 -0
  50. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFile.js.map +1 -0
  51. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFileTheme.js +3 -0
  52. package/dist/cjs/components/selectorBoxFile/types/selectorBoxFileTheme.js.map +1 -0
  53. package/dist/cjs/components/selectorBoxFile/types/state.js +12 -0
  54. package/dist/cjs/components/selectorBoxFile/types/state.js.map +1 -0
  55. package/dist/cjs/components/selectorBoxFile/utils/index.js +18 -0
  56. package/dist/cjs/components/selectorBoxFile/utils/index.js.map +1 -0
  57. package/dist/cjs/components/selectorBoxFile/utils/state.utils.js +21 -0
  58. package/dist/cjs/components/selectorBoxFile/utils/state.utils.js.map +1 -0
  59. package/dist/cjs/components/table/table.styled.js.map +1 -1
  60. package/dist/cjs/components/toggle/components/toggleThreePosition.js.map +1 -1
  61. package/dist/cjs/components/tooltip/hooks/useTooltip.js.map +1 -1
  62. package/dist/cjs/designSystem/kubit/components/dot/styles.js +4 -0
  63. package/dist/cjs/designSystem/kubit/components/dot/styles.js.map +1 -1
  64. package/dist/cjs/designSystem/kubit/components/input/styles.js +16 -10
  65. package/dist/cjs/designSystem/kubit/components/input/styles.js.map +1 -1
  66. package/dist/cjs/designSystem/kubit/components/message/styles.js +4 -0
  67. package/dist/cjs/designSystem/kubit/components/message/styles.js.map +1 -1
  68. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/index.js +19 -0
  69. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/index.js.map +1 -0
  70. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/styles.js +226 -0
  71. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/styles.js.map +1 -0
  72. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/variants.js +8 -0
  73. package/dist/cjs/designSystem/kubit/components/selectorBoxFile/variants.js.map +1 -0
  74. package/dist/cjs/designSystem/kubit/components/styles.js +1 -0
  75. package/dist/cjs/designSystem/kubit/components/styles.js.map +1 -1
  76. package/dist/cjs/designSystem/kubit/components/variants.js +1 -0
  77. package/dist/cjs/designSystem/kubit/components/variants.js.map +1 -1
  78. package/dist/cjs/designSystem/kubit/globalStyles/fonts.js +0 -21
  79. package/dist/cjs/designSystem/kubit/globalStyles/fonts.js.map +1 -1
  80. package/dist/cjs/hooks/useZoomEffect/useZoomEffect.js +6 -1
  81. package/dist/cjs/hooks/useZoomEffect/useZoomEffect.js.map +1 -1
  82. package/dist/cjs/styles/mixins/input.mixin.js +13 -8
  83. package/dist/cjs/styles/mixins/input.mixin.js.map +1 -1
  84. package/dist/cjs/styles/mixins/input.mixin.utils.js +50 -0
  85. package/dist/cjs/styles/mixins/input.mixin.utils.js.map +1 -0
  86. package/dist/cjs/utils/getStyles/getStyles.js +2 -1
  87. package/dist/cjs/utils/getStyles/getStyles.js.map +1 -1
  88. package/dist/cjs/utils/isValidUrl/isValidUrl.js +0 -1
  89. package/dist/cjs/utils/isValidUrl/isValidUrl.js.map +1 -1
  90. package/dist/cjs/utils/maskUtility/mask.utility.js +2 -2
  91. package/dist/cjs/utils/maskUtility/mask.utility.js.map +1 -1
  92. package/dist/cjs/utils/structuredClone/structuredClone.js +7 -1
  93. package/dist/cjs/utils/structuredClone/structuredClone.js.map +1 -1
  94. package/dist/esm/components/calendar/list/list.js +1 -1
  95. package/dist/esm/components/calendar/list/list.js.map +1 -1
  96. package/dist/esm/components/dot/dot.styled.js +2 -0
  97. package/dist/esm/components/dot/dot.styled.js.map +1 -1
  98. package/dist/esm/components/dot/dotStandAlone.js +2 -2
  99. package/dist/esm/components/dot/dotStandAlone.js.map +1 -1
  100. package/dist/esm/components/dot/types/dot.d.ts +4 -0
  101. package/dist/esm/components/header/header.js +8 -2
  102. package/dist/esm/components/header/header.js.map +1 -1
  103. package/dist/esm/components/header/hook/useHeaderShadow.d.ts +14 -0
  104. package/dist/esm/components/header/hook/useHeaderShadow.js +36 -0
  105. package/dist/esm/components/header/hook/useHeaderShadow.js.map +1 -0
  106. package/dist/esm/components/header/types/header.d.ts +1 -0
  107. package/dist/esm/components/header/types/headerTheme.d.ts +3 -1
  108. package/dist/esm/components/icon/icon.js +1 -1
  109. package/dist/esm/components/icon/icon.js.map +1 -1
  110. package/dist/esm/components/index.d.ts +1 -0
  111. package/dist/esm/components/index.js +1 -0
  112. package/dist/esm/components/index.js.map +1 -1
  113. package/dist/esm/components/input/input.styled.d.ts +2 -2
  114. package/dist/esm/components/input/input.styled.js +1 -3
  115. package/dist/esm/components/input/input.styled.js.map +1 -1
  116. package/dist/esm/components/input/inputStandAlone.js +2 -2
  117. package/dist/esm/components/input/inputStandAlone.js.map +1 -1
  118. package/dist/esm/components/input/types/inputStyledPropsType.d.ts +3 -1
  119. package/dist/esm/components/input/types/inputTheme.d.ts +1 -0
  120. package/dist/esm/components/link/link.styled.js +4 -0
  121. package/dist/esm/components/link/link.styled.js.map +1 -1
  122. package/dist/esm/components/link/linkAsButton/linkAsButton.styled.js +1 -1
  123. package/dist/esm/components/message/index.d.ts +1 -1
  124. package/dist/esm/components/message/index.js.map +1 -1
  125. package/dist/esm/components/message/message.styled.d.ts +3 -0
  126. package/dist/esm/components/message/message.styled.js +3 -0
  127. package/dist/esm/components/message/message.styled.js.map +1 -1
  128. package/dist/esm/components/message/messageControlled.js +3 -1
  129. package/dist/esm/components/message/messageControlled.js.map +1 -1
  130. package/dist/esm/components/message/messageStandAlone.js +3 -2
  131. package/dist/esm/components/message/messageStandAlone.js.map +1 -1
  132. package/dist/esm/components/message/types/index.d.ts +1 -1
  133. package/dist/esm/components/message/types/message.d.ts +18 -3
  134. package/dist/esm/components/message/types/messageTheme.d.ts +1 -0
  135. package/dist/esm/components/selectorBoxFile/components/index.d.ts +3 -0
  136. package/dist/esm/components/selectorBoxFile/components/index.js +4 -0
  137. package/dist/esm/components/selectorBoxFile/components/index.js.map +1 -0
  138. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.d.ts +11 -0
  139. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +15 -0
  140. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js.map +1 -0
  141. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.d.ts +11 -0
  142. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +10 -0
  143. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js.map +1 -0
  144. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.d.ts +14 -0
  145. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js +11 -0
  146. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js.map +1 -0
  147. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.d.ts +9 -0
  148. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js +15 -0
  149. package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js.map +1 -0
  150. package/dist/esm/components/selectorBoxFile/index.d.ts +2 -0
  151. package/dist/esm/components/selectorBoxFile/index.js +3 -0
  152. package/dist/esm/components/selectorBoxFile/index.js.map +1 -0
  153. package/dist/esm/components/selectorBoxFile/selectorBoxFile.d.ts +7 -0
  154. package/dist/esm/components/selectorBoxFile/selectorBoxFile.js +60 -0
  155. package/dist/esm/components/selectorBoxFile/selectorBoxFile.js.map +1 -0
  156. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.d.ts +33 -0
  157. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.js +53 -0
  158. package/dist/esm/components/selectorBoxFile/selectorBoxFile.styled.js.map +1 -0
  159. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.d.ts +3 -0
  160. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js +26 -0
  161. package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js.map +1 -0
  162. package/dist/esm/components/selectorBoxFile/types/index.d.ts +3 -0
  163. package/dist/esm/components/selectorBoxFile/types/index.js +4 -0
  164. package/dist/esm/components/selectorBoxFile/types/index.js.map +1 -0
  165. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.d.ts +65 -0
  166. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.js +2 -0
  167. package/dist/esm/components/selectorBoxFile/types/selectorBoxFile.js.map +1 -0
  168. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.d.ts +47 -0
  169. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.js +2 -0
  170. package/dist/esm/components/selectorBoxFile/types/selectorBoxFileTheme.js.map +1 -0
  171. package/dist/esm/components/selectorBoxFile/types/state.d.ts +7 -0
  172. package/dist/esm/components/selectorBoxFile/types/state.js +9 -0
  173. package/dist/esm/components/selectorBoxFile/types/state.js.map +1 -0
  174. package/dist/esm/components/selectorBoxFile/utils/index.d.ts +1 -0
  175. package/dist/esm/components/selectorBoxFile/utils/index.js +2 -0
  176. package/dist/esm/components/selectorBoxFile/utils/index.js.map +1 -0
  177. package/dist/esm/components/selectorBoxFile/utils/state.utils.d.ts +2 -0
  178. package/dist/esm/components/selectorBoxFile/utils/state.utils.js +17 -0
  179. package/dist/esm/components/selectorBoxFile/utils/state.utils.js.map +1 -0
  180. package/dist/esm/components/table/table.styled.js.map +1 -1
  181. package/dist/esm/components/toggle/components/toggleThreePosition.js.map +1 -1
  182. package/dist/esm/components/tooltip/hooks/useTooltip.js.map +1 -1
  183. package/dist/esm/designSystem/kubit/components/dot/styles.js +4 -0
  184. package/dist/esm/designSystem/kubit/components/dot/styles.js.map +1 -1
  185. package/dist/esm/designSystem/kubit/components/input/styles.js +16 -10
  186. package/dist/esm/designSystem/kubit/components/input/styles.js.map +1 -1
  187. package/dist/esm/designSystem/kubit/components/message/styles.js +4 -0
  188. package/dist/esm/designSystem/kubit/components/message/styles.js.map +1 -1
  189. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.d.ts +2 -0
  190. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.js +3 -0
  191. package/dist/esm/designSystem/kubit/components/selectorBoxFile/index.js.map +1 -0
  192. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.d.ts +3 -0
  193. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.js +223 -0
  194. package/dist/esm/designSystem/kubit/components/selectorBoxFile/styles.js.map +1 -0
  195. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.d.ts +3 -0
  196. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.js +5 -0
  197. package/dist/esm/designSystem/kubit/components/selectorBoxFile/variants.js.map +1 -0
  198. package/dist/esm/designSystem/kubit/components/styles.d.ts +1 -0
  199. package/dist/esm/designSystem/kubit/components/styles.js +1 -0
  200. package/dist/esm/designSystem/kubit/components/styles.js.map +1 -1
  201. package/dist/esm/designSystem/kubit/components/variants.d.ts +1 -0
  202. package/dist/esm/designSystem/kubit/components/variants.js +1 -0
  203. package/dist/esm/designSystem/kubit/components/variants.js.map +1 -1
  204. package/dist/esm/designSystem/kubit/globalStyles/fonts.js +0 -21
  205. package/dist/esm/designSystem/kubit/globalStyles/fonts.js.map +1 -1
  206. package/dist/esm/designSystem/kubit/index.d.ts +2 -0
  207. package/dist/esm/hooks/useZoomEffect/useZoomEffect.js +6 -1
  208. package/dist/esm/hooks/useZoomEffect/useZoomEffect.js.map +1 -1
  209. package/dist/esm/styles/mixins/input.mixin.js +13 -8
  210. package/dist/esm/styles/mixins/input.mixin.js.map +1 -1
  211. package/dist/esm/styles/mixins/input.mixin.utils.d.ts +5 -0
  212. package/dist/esm/styles/mixins/input.mixin.utils.js +43 -0
  213. package/dist/esm/styles/mixins/input.mixin.utils.js.map +1 -0
  214. package/dist/esm/types/styles/display.d.ts +1 -0
  215. package/dist/esm/utils/getStyles/getStyles.js +2 -1
  216. package/dist/esm/utils/getStyles/getStyles.js.map +1 -1
  217. package/dist/esm/utils/isValidUrl/isValidUrl.js +0 -1
  218. package/dist/esm/utils/isValidUrl/isValidUrl.js.map +1 -1
  219. package/dist/esm/utils/maskUtility/mask.utility.js +2 -2
  220. package/dist/esm/utils/maskUtility/mask.utility.js.map +1 -1
  221. package/dist/esm/utils/structuredClone/structuredClone.d.ts +2 -1
  222. package/dist/esm/utils/structuredClone/structuredClone.js +8 -1
  223. package/dist/esm/utils/structuredClone/structuredClone.js.map +1 -1
  224. package/package.json +13 -16
@@ -32,3 +32,6 @@ export declare const CloseButtonSectionStyled: import("styled-components").IStyl
32
32
  export declare const LinkContainerStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
33
33
  styles: MessagePropsThemeType;
34
34
  }>>;
35
+ export declare const LinksContainerStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
36
+ styles: MessagePropsThemeType;
37
+ }>>;
@@ -34,4 +34,7 @@ export const CloseButtonSectionStyled = styled.div `
34
34
  export const LinkContainerStyled = styled.div `
35
35
  ${({ styles }) => getStyles(styles.linkContainer)};
36
36
  `;
37
+ export const LinksContainerStyled = styled.div `
38
+ ${({ styles }) => getStyles(styles.linksContainer)};
39
+ `;
37
40
  //# sourceMappingURL=message.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.styled.js","sourceRoot":"","sources":["../../../../src/components/message/message.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAErC;IACE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAI3C;IACE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,CACzB,QAAQ;IACR,sBAAsB,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,MAAM,MACtD,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,MACrC,IAAI;IACJ,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC;IACjD,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,CAC/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Styles } from '../../hooks/useStyles/useStyles';
5
+ import { useGenericComponents } from '../../provider';
5
6
  import { ErrorBoundary, FallbackComponent } from '../../provider/errorBoundary';
6
7
  // styles
7
8
  import { MessageStandAlone } from './messageStandAlone';
8
9
  const MessageControlledComponent = React.forwardRef(({ ctv, ...props }, ref) => {
9
10
  const styles = useStyles(STYLES_NAME.MESSAGE, props.variant, ctv);
10
- return _jsx(MessageStandAlone, { ref: ref, styles: styles, ...props });
11
+ const { LINK } = useGenericComponents();
12
+ return _jsx(MessageStandAlone, { ref: ref, linkComponent: LINK, styles: styles, ...props });
11
13
  });
12
14
  MessageControlledComponent.displayName = 'MessageControlledComponent';
13
15
  const MessageBoundary = (props, ref) => (_jsx(ErrorBoundary, { fallBackComponent: _jsx(FallbackComponent, { children: _jsx(MessageStandAlone, { ...props, ref: ref }) }), children: _jsx(MessageControlledComponent, { ...props, ref: ref }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"messageControlled.js","sourceRoot":"","sources":["../../../../src/components/message/messageControlled.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,SAAS;AACT,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,0BAA0B,GAAG,KAAK,CAAC,UAAU,CACjD,CACE,EAAE,GAAG,EAAE,GAAG,KAAK,EAAyB,EACxC,GAA0D,EAC7C,EAAE;IACf,MAAM,MAAM,GAAG,SAAS,CAA2B,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAE5F,OAAO,KAAC,iBAAiB,IAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAM,KAAK,GAAI,CAAC;AACpE,CAAC,CACF,CAAC;AACF,0BAA0B,CAAC,WAAW,GAAG,4BAA4B,CAAC;AAEtE,MAAM,eAAe,GAAG,CACtB,KAA4B,EAC5B,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,iBAAiB,OAAM,KAAuC,EAAE,GAAG,EAAE,GAAG,GAAI,GAC3D,YAGtB,KAAC,0BAA0B,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GACrC,CACjB,CAAC;AAEF,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,eAAe,CAInB,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"messageControlled.js","sourceRoot":"","sources":["../../../../src/components/message/messageControlled.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,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE5E,SAAS;AACT,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,0BAA0B,GAAG,KAAK,CAAC,UAAU,CACjD,CACE,EAAE,GAAG,EAAE,GAAG,KAAK,EAAyB,EACxC,GAA0D,EAC7C,EAAE;IACf,MAAM,MAAM,GAAG,SAAS,CAA2B,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAE5F,MAAM,EAAE,IAAI,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAExC,OAAO,KAAC,iBAAiB,IAAC,GAAG,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,KAAM,KAAK,GAAI,CAAC;AACzF,CAAC,CACF,CAAC;AACF,0BAA0B,CAAC,WAAW,GAAG,4BAA4B,CAAC;AAEtE,MAAM,eAAe,GAAG,CACtB,KAA4B,EAC5B,GAA0D,EAC7C,EAAE,CAAC,CAChB,KAAC,aAAa,IACZ,iBAAiB,EACf,KAAC,iBAAiB,cAChB,KAAC,iBAAiB,OAAM,KAAuC,EAAE,GAAG,EAAE,GAAG,GAAI,GAC3D,YAGtB,KAAC,0BAA0B,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,GACrC,CACjB,CAAC;AAEF,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,eAAe,CAInB,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /* eslint-disable complexity */
2
3
  import * as React from 'react';
3
4
  import { Button } from '../../components/button';
4
5
  import { ElementOrIcon } from '../../components/elementOrIcon';
@@ -8,7 +9,7 @@ import { Text, TextComponentType, TextDecorationType } from '../../components/te
8
9
  import { AriaLiveOptionType } from '../../types';
9
10
  import { Link } from '../link';
10
11
  // styles
11
- import { ActioButtonWrapperStyled, ButtonSectionStyled, CloseButtonSectionStyled, ExtraActioButtonWrapperStyled, LinkContainerStyled, MessageContentStyled, MessageHeaderStyled, MessageStyled, MessageTextStyled, } from './message.styled';
12
+ import { ActioButtonWrapperStyled, ButtonSectionStyled, CloseButtonSectionStyled, ExtraActioButtonWrapperStyled, LinkContainerStyled, LinksContainerStyled, MessageContentStyled, MessageHeaderStyled, MessageStyled, MessageTextStyled, } from './message.styled';
12
13
  const MessageStandAloneComponent = ({ maxContentLength = 246, ariaLive = AriaLiveOptionType.OFF, ...props }, ref) => {
13
14
  const isLargeMessage = (() => typeof props.content.content === 'string' &&
14
15
  props.content.content.length >= maxContentLength)();
@@ -28,7 +29,7 @@ const MessageStandAloneComponent = ({ maxContentLength = 246, ariaLive = AriaLiv
28
29
  const buildContent = () => {
29
30
  return typeof props.content.content === 'string' ? (_jsx(Text, { component: TextComponentType.PARAGRAPH, customTypography: props.styles.description, dataTestId: `${props.dataTestId}Description`, ...props.content, children: props.content.content })) : (props.content.content);
30
31
  };
31
- return (_jsx(_Fragment, { children: props.open && (_jsxs(MessageStyled, { ref: ref, "aria-live": ariaLive, "data-testid": `${props.dataTestId}Message`, id: props.id, role: props.role, styles: props.styles, children: [buildIconOrIllustration(), _jsxs(MessageHeaderStyled, { isLargeMessage: isLargeMessage, styles: props.styles, withIcon: !!props.closeIcon, children: [props.title && (_jsx(MessageTextStyled, { "aria-errormessage": props.ariaMessageId, extraPaddingGap: !!props.closeIcon, styles: props.styles.closeIcon, children: _jsx(Text, { component: TextComponentType.PARAGRAPH, customTypography: props.styles.title, dataTestId: `${props.dataTestId}Title`, ...props.title, children: props.title.content }) })), props.tag?.content && buildTag(), _jsx(MessageContentStyled, { isLargeMessage: isLargeMessage, styles: props.styles, children: buildContent() }), _jsxs(ButtonSectionStyled, { styles: props.styles, children: [buildExtraActionButton(), buildActionButton(), props.closeIcon?.onClick && (_jsx(CloseButtonSectionStyled, { styles: props.styles, children: _jsx(ElementOrIcon, { customIconStyles: props.styles.closeIcon, ...props.closeIcon }) }))] }), props.link?.content && (_jsx(LinkContainerStyled, { styles: props.styles, children: _jsx(Link, { dataTestId: `${props.dataTestId}Link`, decoration: TextDecorationType.UNDERLINE, ...props.link, children: props.link.content }) }))] })] })) }));
32
+ return (_jsx(_Fragment, { children: props.open && (_jsxs(MessageStyled, { ref: ref, "aria-live": ariaLive, as: props.messageContainerProps?.url ? props.linkComponent : 'div', "data-testid": `${props.dataTestId}Message`, id: props.id, role: props.role, styles: props.styles, target: props.messageContainerProps?.target, url: (props.messageContainerProps?.url || undefined), onClick: props.messageContainerProps?.onClick, children: [buildIconOrIllustration(), props.closeIcon?.onClick && (_jsx(CloseButtonSectionStyled, { styles: props.styles, children: _jsx(ElementOrIcon, { customIconStyles: props.styles.closeIcon, ...props.closeIcon }) })), _jsxs(MessageHeaderStyled, { as: props.titleAndContentContainerProps?.url ? props.linkComponent : 'div', isLargeMessage: isLargeMessage, role: props.titleAndContentRole, styles: props.styles, target: props.titleAndContentContainerProps?.target, url: (props.titleAndContentContainerProps?.url || undefined), withIcon: !!props.closeIcon, onClick: props.titleAndContentContainerProps?.onClick, children: [props.title && (_jsx(MessageTextStyled, { "aria-errormessage": props.ariaMessageId, extraPaddingGap: !!props.closeIcon, styles: props.styles.closeIcon, children: _jsx(Text, { component: TextComponentType.PARAGRAPH, customTypography: props.styles.title, dataTestId: `${props.dataTestId}Title`, ...props.title, children: props.title.content }) })), props.tag?.content && buildTag(), _jsxs(MessageContentStyled, { isLargeMessage: isLargeMessage, styles: props.styles, children: [buildContent(), props.inlineLink?.content && (_jsx(Link, { dataTestId: `${props.dataTestId}Link`, decoration: TextDecorationType.UNDERLINE, ...props.inlineLink, children: props.inlineLink.content }))] }), (props.extraActionButton || props.actionButton) && (_jsxs(ButtonSectionStyled, { styles: props.styles, children: [buildExtraActionButton(), buildActionButton()] })), props.link?.content && (_jsx(LinkContainerStyled, { styles: props.styles, children: _jsx(Link, { dataTestId: `${props.dataTestId}Link`, decoration: TextDecorationType.UNDERLINE, ...props.link, children: props.link.content }) })), props.links && props.links.length > 0 && (_jsx(LinksContainerStyled, { styles: props.styles, children: props.links.map((link, index) => link.content ? (_jsx(LinkContainerStyled, { styles: props.styles, children: _jsx(Link, { dataTestId: `${props.dataTestId}Link${index}`, decoration: TextDecorationType.UNDERLINE, ...link, children: link.content }) }, index)) : null) }))] })] })) }));
32
33
  };
33
34
  export const MessageStandAlone = React.forwardRef(MessageStandAloneComponent);
34
35
  //# sourceMappingURL=messageStandAlone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"messageStandAlone.js","sourceRoot":"","sources":["../../../../src/components/message/messageStandAlone.tsx"],"names":[],"mappings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BAAmB,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,aACtC,sBAAsB,EAAE,EACxB,iBAAiB,EAAE,EACnB,KAAK,CAAC,SAAS,EAAE,OAAO,IAAI,CAC3B,KAAC,wBAAwB,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,YAC5C,KAAC,aAAa,IAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS,KAAM,KAAK,CAAC,SAAS,GAAI,GACvD,CAC5B,IACmB,EACrB,KAAK,CAAC,IAAI,EAAE,OAAO,IAAI,CACtB,KAAC,mBAAmB,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,YACvC,KAAC,IAAI,IACH,UAAU,EAAE,GAAG,KAAK,CAAC,UAAU,MAAM,EACrC,UAAU,EAAE,kBAAkB,CAAC,SAAS,KACpC,KAAK,CAAC,IAAI,YAEb,KAAK,CAAC,IAAI,CAAC,OAAO,GACd,GACa,CACvB,IACmB,IACR,CACjB,GACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"messageStandAlone.js","sourceRoot":"","sources":["../../../../src/components/message/messageStandAlone.tsx"],"names":[],"mappings":";AAAA,+BAA+B;AAC/B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,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K,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAC/B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACb,KAAC,mBAAmB,IAAa,MAAM,EAAE,KAAK,CAAC,MAAM,YACnD,KAAC,IAAI,IACH,UAAU,EAAE,GAAG,KAAK,CAAC,UAAU,OAAO,KAAK,EAAE,EAC7C,UAAU,EAAE,kBAAkB,CAAC,SAAS,KACpC,IAAI,YAEP,IAAI,CAAC,OAAO,GACR,IAPiB,KAAK,CAQT,CACvB,CAAC,CAAC,CAAC,IAAI,CACT,GACoB,CACxB,IACmB,IACR,CACjB,GACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- export type { IMessageStandAlone, IMessageControlled, IMessageUnControlled, MessageActionButtonType, MessageExtraActionButtonType, MessageContentType, MessageTitleType, MessageTagType, MessageLinkType, } from './message';
1
+ export type { IMessageStandAlone, IMessageControlled, IMessageUnControlled, MessageActionButtonType, MessageExtraActionButtonType, MessageContentType, MessageTitleType, MessageTagType, MessageLinkType, MessageContainerAsLinkType, } from './message';
2
2
  export type { MessagePropsThemeType, MessageStylesType } from './messageTheme';
@@ -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;
@@ -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.ts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wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,OAAO,GAC5D,IACgC,CAC1C,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAC1D,KAAC,IAAI,IACH,SAAS,EAAE,iBAAiB,CAAC,IAAI,EACjC,gBAAgB,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAuB,KAC1E,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,YAE3D,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,OAAO,GAC7D,CACR,CAAC,CAAC,CAAC,IAAI,IACiC,IACnB,IACP,CACtB,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { IElementOrIcon } from '../../../components/elementOrIcon';
2
+ import { SelectorBoxFilePropsStylesType, SelectorBoxFileStateType, 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,KAAyB,EAAsB,EAAE;IACrF,OAAO,CACL,8BACE,MAAC,gCAAgC,IAAC,EAAE,EAAE,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,aACvE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CACb,KAAC,IAAI,IACH,SAAS,EAAE,iBAAiB,CAAC,EAAE,EAC/B,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,KAChC,KAAK,CAAC,KAAK,YAEd,KAAK,CAAC,KAAK,CAAC,OAAO,GACf,CACR,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAChB,MAAC,kCAAkC,eACjC,KAAC,IAAI,IAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,KAAM,KAAK,CAAC,QAAQ,YAC9D,KAAK,CAAC,QAAQ,CAAC,OAAO,GAClB,EACP,KAAC,sBAAsB,IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,WAAW,EAAE,KAAK,CAAC,WAAW,GAC9B,IACiC,CACtC,CAAC,CAAC,CAAC,IAAI,IACyB,EAClC,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CACtC,MAAC,8BAA8B,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,aAClD,KAAC,IAAI,IAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,WAAW,KAAM,KAAK,CAAC,WAAW,YACpE,KAAK,CAAC,WAAW,EAAE,OAAO,GACtB,EACN,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,IAAI,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC;wBAChD,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,IAAI,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CACzD,KAAC,MAAM,IACL,YAAY,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,OAAO,GAAG,KAAK,EACf,KAAK,GAAG,KAAK,EACb,QAAQ,GAAG,KAAK,EAChB,OAAO,EACP,aAAa,EACb,mBAAmB,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,EACrC,yBAAyB,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,EAC3C,YAAY,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,EAC9B,WAAW,EACX,WAAW,EACX,GAAG,EACH,GAAG,KAAK,EACY,EACtB,GAA0D,EAC7C,EAAE;IACf,MAAM,MAAM,GAAG,SAAS,CACtB,WAAW,CAAC,iBAAiB,EAC7B,OAAO,EACP,GAAG,CACJ,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,KAAK,CA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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,GAA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,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,EAC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KAAK,EAClB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,WAAW,EAAE,KAAK,CAAC,WAAW,GAC9B,CACH,EACD,KAAC,2BAA2B,IAC1B,wBAAwB,EAAE,KAAK,CAAC,wBAAwB,EACxD,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,GACpB,IAC8B,EAClC,KAAC,2BAA2B,IAC1B,YAAY,EAAE,KAAK,CAAC,YAAY,EAChC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,EACxC,cAAc,EAAE,YAAY,EAC5B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,GACpB,IACY,EAChB,KAAC,eAAe,IACd,MAAM,EAAE,KAAK,CAAC,MAAM,sBACF,kBAAkB,EAAE,EACtC,QAAQ,EAAE,KAAK,CAAC,KAAK,KAAK,wBAAwB,CAAC,QAAQ,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"}