@dxc-technology/halstack-react 0.0.0-24419df → 0.0.0-2480494

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 (387) hide show
  1. package/BackgroundColorContext.js +50 -0
  2. package/ThemeContext.js +246 -0
  3. package/V3Select/V3Select.js +455 -0
  4. package/V3Select/index.d.ts +27 -0
  5. package/V3Textarea/V3Textarea.js +260 -0
  6. package/V3Textarea/index.d.ts +27 -0
  7. package/accordion/Accordion.d.ts +4 -0
  8. package/accordion/Accordion.js +258 -0
  9. package/accordion/types.d.ts +68 -0
  10. package/accordion/types.js +5 -0
  11. package/accordion-group/AccordionGroup.d.ts +7 -0
  12. package/accordion-group/AccordionGroup.js +170 -0
  13. package/accordion-group/types.d.ts +72 -0
  14. package/accordion-group/types.js +5 -0
  15. package/alert/Alert.d.ts +4 -0
  16. package/alert/Alert.js +290 -0
  17. package/alert/Alert.stories.tsx +170 -0
  18. package/alert/types.d.ts +49 -0
  19. package/alert/types.js +5 -0
  20. package/badge/Badge.js +59 -0
  21. package/box/Box.d.ts +4 -0
  22. package/box/Box.js +126 -0
  23. package/box/Box.stories.tsx +132 -0
  24. package/box/types.d.ts +43 -0
  25. package/box/types.js +5 -0
  26. package/button/Button.d.ts +4 -0
  27. package/button/Button.js +179 -0
  28. package/button/Button.stories.tsx +276 -0
  29. package/button/types.d.ts +57 -0
  30. package/button/types.js +5 -0
  31. package/card/Card.d.ts +4 -0
  32. package/card/Card.js +164 -0
  33. package/card/Card.stories.tsx +201 -0
  34. package/card/ice-cream.jpg +0 -0
  35. package/card/types.d.ts +67 -0
  36. package/card/types.js +5 -0
  37. package/checkbox/Checkbox.d.ts +4 -0
  38. package/checkbox/Checkbox.js +253 -0
  39. package/checkbox/Checkbox.stories.tsx +192 -0
  40. package/checkbox/types.d.ts +60 -0
  41. package/checkbox/types.js +5 -0
  42. package/chip/Chip.js +221 -0
  43. package/chip/Chip.stories.tsx +121 -0
  44. package/chip/index.d.ts +22 -0
  45. package/{dist/common → common}/OpenSans.css +0 -0
  46. package/{dist/common → common}/RequiredComponent.js +5 -19
  47. package/{dist/common → common}/fonts/OpenSans-Bold.ttf +0 -0
  48. package/{dist/common → common}/fonts/OpenSans-BoldItalic.ttf +0 -0
  49. package/{dist/common → common}/fonts/OpenSans-ExtraBold.ttf +0 -0
  50. package/{dist/common → common}/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  51. package/{dist/common → common}/fonts/OpenSans-Italic.ttf +0 -0
  52. package/{dist/common → common}/fonts/OpenSans-Light.ttf +0 -0
  53. package/{dist/common → common}/fonts/OpenSans-LightItalic.ttf +0 -0
  54. package/{dist/common → common}/fonts/OpenSans-Regular.ttf +0 -0
  55. package/{dist/common → common}/fonts/OpenSans-SemiBold.ttf +0 -0
  56. package/{dist/common → common}/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  57. package/common/utils.js +22 -0
  58. package/common/variables.js +1577 -0
  59. package/{dist/date → date}/Date.js +87 -70
  60. package/date/index.d.ts +27 -0
  61. package/date-input/DateInput.d.ts +4 -0
  62. package/date-input/DateInput.js +361 -0
  63. package/date-input/DateInput.stories.tsx +138 -0
  64. package/date-input/types.d.ts +100 -0
  65. package/date-input/types.js +5 -0
  66. package/dialog/Dialog.d.ts +4 -0
  67. package/dialog/Dialog.js +165 -0
  68. package/dialog/Dialog.stories.tsx +212 -0
  69. package/dialog/types.d.ts +43 -0
  70. package/dialog/types.js +5 -0
  71. package/dropdown/Dropdown.d.ts +4 -0
  72. package/dropdown/Dropdown.js +417 -0
  73. package/dropdown/types.d.ts +89 -0
  74. package/dropdown/types.js +5 -0
  75. package/file-input/FileInput.d.ts +4 -0
  76. package/file-input/FileInput.js +511 -0
  77. package/file-input/FileItem.d.ts +14 -0
  78. package/file-input/FileItem.js +182 -0
  79. package/file-input/types.d.ts +87 -0
  80. package/file-input/types.js +5 -0
  81. package/footer/Footer.d.ts +4 -0
  82. package/footer/Footer.js +266 -0
  83. package/footer/Footer.stories.jsx +151 -0
  84. package/footer/Icons.js +77 -0
  85. package/footer/types.d.ts +61 -0
  86. package/footer/types.js +5 -0
  87. package/header/Header.d.ts +7 -0
  88. package/header/Header.js +324 -0
  89. package/header/Header.stories.tsx +162 -0
  90. package/header/Icons.js +34 -0
  91. package/header/types.d.ts +47 -0
  92. package/header/types.js +5 -0
  93. package/heading/Heading.d.ts +4 -0
  94. package/heading/Heading.js +159 -0
  95. package/heading/Heading.stories.tsx +53 -0
  96. package/heading/types.d.ts +33 -0
  97. package/heading/types.js +5 -0
  98. package/input-text/Icons.js +22 -0
  99. package/input-text/InputText.js +611 -0
  100. package/input-text/index.d.ts +36 -0
  101. package/layout/ApplicationLayout.js +235 -0
  102. package/layout/Icons.js +55 -0
  103. package/link/Link.d.ts +3 -0
  104. package/link/Link.js +161 -0
  105. package/link/Link.stories.tsx +146 -0
  106. package/link/types.d.ts +74 -0
  107. package/link/types.js +5 -0
  108. package/main.d.ts +44 -0
  109. package/{dist/main.js → main.js} +137 -53
  110. package/number-input/NumberInput.d.ts +4 -0
  111. package/number-input/NumberInput.js +86 -0
  112. package/number-input/NumberInput.stories.tsx +115 -0
  113. package/number-input/NumberInputContext.d.ts +4 -0
  114. package/{dist/ThemeContext.js → number-input/NumberInputContext.js} +6 -2
  115. package/number-input/numberInputContextTypes.d.ts +19 -0
  116. package/number-input/numberInputContextTypes.js +5 -0
  117. package/number-input/types.d.ts +117 -0
  118. package/number-input/types.js +5 -0
  119. package/package.json +38 -23
  120. package/paginator/Icons.js +66 -0
  121. package/paginator/Paginator.d.ts +4 -0
  122. package/paginator/Paginator.js +198 -0
  123. package/paginator/Paginator.stories.tsx +63 -0
  124. package/paginator/types.d.ts +38 -0
  125. package/paginator/types.js +5 -0
  126. package/password-input/PasswordInput.d.ts +4 -0
  127. package/password-input/PasswordInput.js +164 -0
  128. package/password-input/PasswordInput.stories.tsx +131 -0
  129. package/password-input/types.d.ts +107 -0
  130. package/password-input/types.js +5 -0
  131. package/progress-bar/ProgressBar.d.ts +4 -0
  132. package/progress-bar/ProgressBar.js +170 -0
  133. package/progress-bar/ProgressBar.stories.jsx +58 -0
  134. package/progress-bar/types.d.ts +37 -0
  135. package/progress-bar/types.js +5 -0
  136. package/radio/Radio.d.ts +4 -0
  137. package/radio/Radio.js +174 -0
  138. package/radio/Radio.stories.tsx +192 -0
  139. package/radio/types.d.ts +54 -0
  140. package/radio/types.js +5 -0
  141. package/resultsetTable/ResultsetTable.d.ts +4 -0
  142. package/resultsetTable/ResultsetTable.js +251 -0
  143. package/resultsetTable/types.d.ts +67 -0
  144. package/resultsetTable/types.js +5 -0
  145. package/select/Select.js +865 -0
  146. package/select/Select.stories.tsx +572 -0
  147. package/select/index.d.ts +131 -0
  148. package/sidenav/Sidenav.d.ts +9 -0
  149. package/sidenav/Sidenav.js +136 -0
  150. package/sidenav/Sidenav.stories.tsx +165 -0
  151. package/sidenav/types.d.ts +50 -0
  152. package/sidenav/types.js +5 -0
  153. package/slider/Slider.d.ts +4 -0
  154. package/slider/Slider.js +317 -0
  155. package/slider/Slider.stories.tsx +177 -0
  156. package/slider/types.d.ts +78 -0
  157. package/slider/types.js +5 -0
  158. package/spinner/Spinner.d.ts +4 -0
  159. package/spinner/Spinner.js +250 -0
  160. package/spinner/Spinner.stories.jsx +102 -0
  161. package/spinner/types.d.ts +32 -0
  162. package/spinner/types.js +5 -0
  163. package/switch/Switch.d.ts +4 -0
  164. package/switch/Switch.js +179 -0
  165. package/switch/Switch.stories.tsx +160 -0
  166. package/switch/types.d.ts +58 -0
  167. package/switch/types.js +5 -0
  168. package/table/Table.d.ts +4 -0
  169. package/table/Table.js +118 -0
  170. package/table/Table.stories.jsx +276 -0
  171. package/table/types.d.ts +21 -0
  172. package/table/types.js +5 -0
  173. package/tabs/Tabs.d.ts +4 -0
  174. package/tabs/Tabs.js +213 -0
  175. package/tabs/Tabs.stories.tsx +121 -0
  176. package/tabs/types.d.ts +70 -0
  177. package/tabs/types.js +5 -0
  178. package/tag/Tag.d.ts +4 -0
  179. package/tag/Tag.js +193 -0
  180. package/tag/Tag.stories.tsx +145 -0
  181. package/tag/types.d.ts +60 -0
  182. package/tag/types.js +5 -0
  183. package/text-input/TextInput.d.ts +4 -0
  184. package/text-input/TextInput.js +786 -0
  185. package/text-input/types.d.ts +159 -0
  186. package/text-input/types.js +5 -0
  187. package/textarea/Textarea.js +317 -0
  188. package/textarea/Textarea.stories.jsx +135 -0
  189. package/textarea/index.d.ts +117 -0
  190. package/{dist/toggle → toggle}/Toggle.js +30 -67
  191. package/toggle/index.d.ts +21 -0
  192. package/toggle-group/ToggleGroup.d.ts +4 -0
  193. package/toggle-group/ToggleGroup.js +217 -0
  194. package/toggle-group/ToggleGroup.stories.tsx +178 -0
  195. package/toggle-group/types.d.ts +84 -0
  196. package/toggle-group/types.js +5 -0
  197. package/{dist/upload → upload}/Upload.js +23 -22
  198. package/upload/buttons-upload/ButtonsUpload.js +111 -0
  199. package/upload/buttons-upload/Icons.js +40 -0
  200. package/upload/dragAndDropArea/DragAndDropArea.js +225 -0
  201. package/upload/dragAndDropArea/Icons.js +39 -0
  202. package/upload/file-upload/FileToUpload.js +115 -0
  203. package/upload/file-upload/Icons.js +66 -0
  204. package/upload/files-upload/FilesToUpload.js +109 -0
  205. package/upload/index.d.ts +15 -0
  206. package/upload/transaction/Icons.js +160 -0
  207. package/upload/transaction/Transaction.js +104 -0
  208. package/upload/transactions/Transactions.js +94 -0
  209. package/useTheme.js +22 -0
  210. package/wizard/Icons.js +65 -0
  211. package/wizard/Wizard.d.ts +4 -0
  212. package/wizard/Wizard.js +231 -0
  213. package/wizard/Wizard.stories.jsx +224 -0
  214. package/wizard/types.d.ts +64 -0
  215. package/wizard/types.js +5 -0
  216. package/README.md +0 -66
  217. package/babel.config.js +0 -4
  218. package/dist/accordion/Accordion.js +0 -248
  219. package/dist/accordion/Accordion.stories.js +0 -207
  220. package/dist/accordion/readme.md +0 -96
  221. package/dist/alert/Alert.js +0 -304
  222. package/dist/alert/Alert.stories.js +0 -158
  223. package/dist/alert/close.svg +0 -4
  224. package/dist/alert/error.svg +0 -4
  225. package/dist/alert/info.svg +0 -4
  226. package/dist/alert/readme.md +0 -43
  227. package/dist/alert/success.svg +0 -4
  228. package/dist/alert/warning.svg +0 -4
  229. package/dist/box/Box.js +0 -148
  230. package/dist/button/Button.js +0 -181
  231. package/dist/button/Button.stories.js +0 -224
  232. package/dist/button/readme.md +0 -93
  233. package/dist/card/Card.js +0 -217
  234. package/dist/checkbox/Checkbox.js +0 -240
  235. package/dist/checkbox/Checkbox.stories.js +0 -144
  236. package/dist/checkbox/readme.md +0 -116
  237. package/dist/chip/Chip.js +0 -173
  238. package/dist/common/services/example-service.js +0 -10
  239. package/dist/common/services/example-service.test.js +0 -12
  240. package/dist/common/utils.js +0 -42
  241. package/dist/common/variables.js +0 -438
  242. package/dist/date/Date.stories.js +0 -205
  243. package/dist/date/calendar.svg +0 -1
  244. package/dist/date/calendar_dark.svg +0 -1
  245. package/dist/date/readme.md +0 -73
  246. package/dist/dialog/Dialog.js +0 -197
  247. package/dist/dialog/Dialog.stories.js +0 -217
  248. package/dist/dialog/readme.md +0 -32
  249. package/dist/dropdown/Dropdown.js +0 -416
  250. package/dist/dropdown/Dropdown.stories.js +0 -249
  251. package/dist/dropdown/baseline-arrow_drop_down.svg +0 -1
  252. package/dist/dropdown/baseline-arrow_drop_down_wh.svg +0 -4
  253. package/dist/dropdown/baseline-arrow_drop_up.svg +0 -1
  254. package/dist/dropdown/baseline-arrow_drop_up_wh.svg +0 -4
  255. package/dist/dropdown/readme.md +0 -69
  256. package/dist/footer/Footer.js +0 -346
  257. package/dist/footer/Footer.stories.js +0 -94
  258. package/dist/footer/dxc_logo_wht.png +0 -0
  259. package/dist/footer/readme.md +0 -41
  260. package/dist/header/Header.js +0 -360
  261. package/dist/header/Header.stories.js +0 -176
  262. package/dist/header/close_icon.svg +0 -1
  263. package/dist/header/dxc_logo_black.png +0 -0
  264. package/dist/header/dxc_logo_blk_rgb.svg +0 -6
  265. package/dist/header/dxc_logo_white.png +0 -0
  266. package/dist/header/hamb_menu_black.svg +0 -1
  267. package/dist/header/hamb_menu_white.svg +0 -1
  268. package/dist/header/readme.md +0 -33
  269. package/dist/heading/Heading.js +0 -153
  270. package/dist/input-text/InputText.js +0 -519
  271. package/dist/input-text/InputText.stories.js +0 -209
  272. package/dist/input-text/error.svg +0 -1
  273. package/dist/input-text/readme.md +0 -91
  274. package/dist/layout/ApplicationLayout.js +0 -320
  275. package/dist/layout/SideNav.js +0 -67
  276. package/dist/layout/facebook.svg +0 -45
  277. package/dist/layout/linkedin.svg +0 -50
  278. package/dist/layout/twitter.svg +0 -53
  279. package/dist/link/Link.js +0 -168
  280. package/dist/link/readme.md +0 -51
  281. package/dist/paginator/Paginator.js +0 -196
  282. package/dist/paginator/images/next.svg +0 -3
  283. package/dist/paginator/images/nextPage.svg +0 -3
  284. package/dist/paginator/images/previous.svg +0 -3
  285. package/dist/paginator/images/previousPage.svg +0 -3
  286. package/dist/paginator/readme.md +0 -50
  287. package/dist/progress-bar/ProgressBar.js +0 -185
  288. package/dist/progress-bar/ProgressBar.stories.js +0 -280
  289. package/dist/progress-bar/readme.md +0 -63
  290. package/dist/radio/Radio.js +0 -195
  291. package/dist/radio/Radio.stories.js +0 -166
  292. package/dist/radio/readme.md +0 -70
  293. package/dist/resultsetTable/ResultsetTable.js +0 -333
  294. package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
  295. package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
  296. package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
  297. package/dist/select/Select.js +0 -451
  298. package/dist/select/Select.stories.js +0 -235
  299. package/dist/select/readme.md +0 -72
  300. package/dist/sidenav/Sidenav.js +0 -222
  301. package/dist/sidenav/arrow_icon.svg +0 -3
  302. package/dist/slider/Slider.js +0 -258
  303. package/dist/slider/Slider.stories.js +0 -241
  304. package/dist/slider/readme.md +0 -64
  305. package/dist/spinner/Spinner.js +0 -193
  306. package/dist/spinner/Spinner.stories.js +0 -183
  307. package/dist/spinner/readme.md +0 -65
  308. package/dist/switch/Switch.js +0 -199
  309. package/dist/switch/Switch.stories.js +0 -134
  310. package/dist/switch/readme.md +0 -133
  311. package/dist/table/Table.js +0 -93
  312. package/dist/tabs/Tabs.js +0 -172
  313. package/dist/tabs/Tabs.stories.js +0 -130
  314. package/dist/tabs/readme.md +0 -78
  315. package/dist/tabs-for-sections/TabsForSections.js +0 -107
  316. package/dist/tabs-for-sections/readme.md +0 -78
  317. package/dist/tag/Tag.js +0 -234
  318. package/dist/textarea/Textarea.js +0 -227
  319. package/dist/toggle/Toggle.stories.js +0 -297
  320. package/dist/toggle/readme.md +0 -80
  321. package/dist/toggle-group/ToggleGroup.js +0 -214
  322. package/dist/toggle-group/readme.md +0 -82
  323. package/dist/upload/Upload.stories.js +0 -72
  324. package/dist/upload/buttons-upload/ButtonsUpload.js +0 -122
  325. package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
  326. package/dist/upload/buttons-upload/upload-button.svg +0 -1
  327. package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -279
  328. package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
  329. package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
  330. package/dist/upload/file-upload/FileToUpload.js +0 -158
  331. package/dist/upload/file-upload/audio-icon.svg +0 -4
  332. package/dist/upload/file-upload/close.svg +0 -4
  333. package/dist/upload/file-upload/file-icon.svg +0 -4
  334. package/dist/upload/file-upload/video-icon.svg +0 -4
  335. package/dist/upload/files-upload/FilesToUpload.js +0 -123
  336. package/dist/upload/readme.md +0 -37
  337. package/dist/upload/transaction/Transaction.js +0 -155
  338. package/dist/upload/transaction/audio-icon-err.svg +0 -4
  339. package/dist/upload/transaction/audio-icon.svg +0 -4
  340. package/dist/upload/transaction/error-icon.svg +0 -4
  341. package/dist/upload/transaction/file-icon-err.svg +0 -4
  342. package/dist/upload/transaction/file-icon.svg +0 -4
  343. package/dist/upload/transaction/image-icon-err.svg +0 -4
  344. package/dist/upload/transaction/image-icon.svg +0 -4
  345. package/dist/upload/transaction/success-icon.svg +0 -4
  346. package/dist/upload/transaction/video-icon-err.svg +0 -4
  347. package/dist/upload/transaction/video-icon.svg +0 -4
  348. package/dist/upload/transactions/Transactions.js +0 -120
  349. package/dist/wizard/Wizard.js +0 -327
  350. package/dist/wizard/invalid_icon.svg +0 -6
  351. package/dist/wizard/valid_icon.svg +0 -6
  352. package/dist/wizard/validation-wrong.svg +0 -6
  353. package/test/Accordion.test.js +0 -33
  354. package/test/Alert.test.js +0 -53
  355. package/test/Box.test.js +0 -10
  356. package/test/Button.test.js +0 -18
  357. package/test/Card.test.js +0 -30
  358. package/test/Checkbox.test.js +0 -45
  359. package/test/Chip.test.js +0 -25
  360. package/test/Date.test.js +0 -393
  361. package/test/Dialog.test.js +0 -23
  362. package/test/Dropdown.test.js +0 -130
  363. package/test/Footer.test.js +0 -99
  364. package/test/Header.test.js +0 -39
  365. package/test/Heading.test.js +0 -35
  366. package/test/InputText.test.js +0 -236
  367. package/test/Link.test.js +0 -33
  368. package/test/Paginator.test.js +0 -165
  369. package/test/ProgressBar.test.js +0 -35
  370. package/test/Radio.test.js +0 -37
  371. package/test/ResultsetTable.test.js +0 -282
  372. package/test/Select.test.js +0 -191
  373. package/test/Sidenav.test.js +0 -87
  374. package/test/Slider.test.js +0 -65
  375. package/test/Spinner.test.js +0 -27
  376. package/test/Switch.test.js +0 -45
  377. package/test/Table.test.js +0 -36
  378. package/test/Tabs.test.js +0 -88
  379. package/test/TabsForSections.test.js +0 -34
  380. package/test/Tag.test.js +0 -32
  381. package/test/TextArea.test.js +0 -52
  382. package/test/Toggle.test.js +0 -43
  383. package/test/ToggleGroup.test.js +0 -81
  384. package/test/Upload.test.js +0 -60
  385. package/test/Wizard.test.js +0 -130
  386. package/test/mocks/pngMock.js +0 -1
  387. package/test/mocks/svgMock.js +0 -1
@@ -0,0 +1,178 @@
1
+ import React from "react";
2
+ import { userEvent, within } from "@storybook/testing-library";
3
+ import DxcToggleGroup from "./ToggleGroup";
4
+ import Title from "../../.storybook/components/Title";
5
+ import ExampleContainer from "../../.storybook/components/ExampleContainer";
6
+
7
+ export default {
8
+ title: "ToggleGroup",
9
+ component: DxcToggleGroup,
10
+ };
11
+
12
+ const ethernetSVG = () => {
13
+ return (
14
+ <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
15
+ <path d="M0 0h24v24H0V0z" fill="none" />
16
+ <path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z" />
17
+ </svg>
18
+ );
19
+ };
20
+ const gMobileSVG = () => {
21
+ return (
22
+ <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
23
+ <g>
24
+ <path d="M0,0h24v24H0V0z" fill="none" />
25
+ </g>
26
+ <g>
27
+ <g>
28
+ <path d="M3,7v2h5v2H4v2h4v2H3v2h5c1.1,0,2-0.9,2-2v-1.5c0-0.83-0.67-1.5-1.5-1.5c0.83,0,1.5-0.67,1.5-1.5V9c0-1.1-0.9-2-2-2H3z M21,11v4c0,1.1-0.9,2-2,2h-5c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h5c1.1,0,2,0.9,2,2h-7v6h5v-2h-2.5v-2H21z" />
29
+ </g>
30
+ </g>
31
+ </svg>
32
+ );
33
+ };
34
+ const wifiSVG = () => {
35
+ return (
36
+ <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
37
+ <path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none" />
38
+ <path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z" />
39
+ </svg>
40
+ );
41
+ };
42
+ const options = [
43
+ {
44
+ value: 1,
45
+ label: "Facebook",
46
+ },
47
+ {
48
+ value: 2,
49
+ label: "Twitter",
50
+ },
51
+ {
52
+ value: 3,
53
+ label: "Linkedin",
54
+ },
55
+ ];
56
+ const optionsWithIcon = [
57
+ {
58
+ value: 1,
59
+ icon: wifiSVG,
60
+ },
61
+ {
62
+ value: 2,
63
+ icon: ethernetSVG,
64
+ },
65
+ {
66
+ value: 3,
67
+ icon: gMobileSVG,
68
+ },
69
+ ];
70
+ const optionsWithIconAndLabel = [
71
+ {
72
+ value: 1,
73
+ label: "Wi-fi",
74
+ icon: wifiSVG,
75
+ },
76
+ {
77
+ value: 2,
78
+ label: "Ethernet",
79
+ icon: ethernetSVG,
80
+ },
81
+ {
82
+ value: 3,
83
+ label: "3G Mobile",
84
+ icon: gMobileSVG,
85
+ },
86
+ ];
87
+ const twoOptions = [
88
+ {
89
+ value: 1,
90
+ label: "Facebook",
91
+ },
92
+ {
93
+ value: 2,
94
+ label: "Twitter",
95
+ },
96
+ ];
97
+ export const Chromatic = () => (
98
+ <>
99
+ <ExampleContainer>
100
+ <Title title="Basic toggle group" theme="light" level={4} />
101
+ <DxcToggleGroup label="Toggle group" helperText="HelperText" options={options} />
102
+ </ExampleContainer>
103
+ <ExampleContainer>
104
+ <Title title="Selected" theme="light" level={4} />
105
+ <DxcToggleGroup label="Selected" helperText="HelperText" value={2} options={options} />
106
+ </ExampleContainer>
107
+ <ExampleContainer>
108
+ <Title title="Icons toggle group" theme="light" level={4} />
109
+ <DxcToggleGroup label="Icons group" options={optionsWithIcon} />
110
+ </ExampleContainer>
111
+ <ExampleContainer>
112
+ <Title title="Icons & label toggle group" theme="light" level={4} />
113
+ <DxcToggleGroup label="Icons & label" options={optionsWithIconAndLabel} />
114
+ </ExampleContainer>
115
+ <ExampleContainer>
116
+ <Title title="Disabled" theme="light" level={4} />
117
+ <DxcToggleGroup label="Disabled" value={2} options={options} disabled />
118
+ </ExampleContainer>
119
+ <ExampleContainer pseudoState="pseudo-hover">
120
+ <Title title="Hovered" theme="light" level={4} />
121
+ <DxcToggleGroup label="Hovered" options={twoOptions} value={2} />
122
+ </ExampleContainer>
123
+ <ExampleContainer>
124
+ <Title title="Multiple toggleGroup" theme="light" level={4} />
125
+ <DxcToggleGroup
126
+ label="Toggle group"
127
+ helperText="Please select one or more"
128
+ options={options}
129
+ value={[1, 3]}
130
+ multiple
131
+ ></DxcToggleGroup>
132
+ </ExampleContainer>
133
+ <Title title="Margins" theme="light" level={2} />
134
+ <ExampleContainer>
135
+ <Title title="xxSmall" theme="light" level={4} />
136
+ <DxcToggleGroup label="xxSmall margin" options={options} margin="xxsmall" />
137
+ </ExampleContainer>
138
+ <ExampleContainer>
139
+ <Title title="xSmall" theme="light" level={4} />
140
+ <DxcToggleGroup label="xSmall margin" options={options} margin="xsmall" />
141
+ </ExampleContainer>
142
+ <ExampleContainer>
143
+ <Title title="Small" theme="light" level={4} />
144
+ <DxcToggleGroup label="Small margin" options={options} margin="small" />
145
+ </ExampleContainer>
146
+ <ExampleContainer>
147
+ <Title title="Medium" theme="light" level={4} />
148
+ <DxcToggleGroup label="Medium margin" options={options} margin="medium" />
149
+ </ExampleContainer>
150
+ <ExampleContainer>
151
+ <Title title="Large" theme="light" level={4} />
152
+ <DxcToggleGroup label="Large margin" options={options} margin="large" />
153
+ </ExampleContainer>
154
+ <ExampleContainer>
155
+ <Title title="xLarge" theme="light" level={4} />
156
+ <DxcToggleGroup label="xLarge margin" options={options} margin="xlarge" />
157
+ </ExampleContainer>
158
+ <ExampleContainer>
159
+ <Title title="xxLarge" theme="light" level={4} />
160
+ <DxcToggleGroup label="xxLarge margin" options={options} margin="xxlarge" />
161
+ </ExampleContainer>
162
+ </>
163
+ );
164
+ const OptionSelected = () => <DxcToggleGroup label="Toggle group" helperText="HelperText" options={options} />;
165
+
166
+ export const ToggleGroupSelectedActived = OptionSelected.bind({});
167
+ ToggleGroupSelectedActived.play = async ({ canvasElement }) => {
168
+ const canvas = within(canvasElement);
169
+ const option = canvas.getByText("Linkedin");
170
+ await userEvent.click(option);
171
+ };
172
+ export const ToggleGroupUnselectedActived = OptionSelected.bind({});
173
+ ToggleGroupUnselectedActived.play = async ({ canvasElement }) => {
174
+ const canvas = within(canvasElement);
175
+ const option = canvas.getByText("Twitter");
176
+ await userEvent.click(option);
177
+ userEvent.tab();
178
+ };
@@ -0,0 +1,84 @@
1
+ /// <reference types="react" />
2
+ declare type Space = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
3
+ declare type Margin = {
4
+ top?: Space;
5
+ bottom?: Space;
6
+ left?: Space;
7
+ right?: Space;
8
+ };
9
+ declare type SVG = React.SVGProps<SVGSVGElement> | React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
10
+ declare type OptionCommons = {
11
+ /**
12
+ * Number with the option inner value.
13
+ */
14
+ value: string;
15
+ /**
16
+ * @deprecated URL of the icon that will be placed. IconSrc and label can't be used at same time.
17
+ */
18
+ iconSrc?: string;
19
+ };
20
+ declare type OptionIcon = OptionCommons & {
21
+ /**
22
+ * String with the option display value.
23
+ */
24
+ label?: string;
25
+ /**
26
+ * Element used as the icon. Icon and label can't be used at same time.
27
+ */
28
+ icon: SVG;
29
+ };
30
+ declare type OptionLabel = OptionCommons & {
31
+ /**
32
+ * String with the option display value.
33
+ */
34
+ label: string;
35
+ /**
36
+ * Element used as the icon. Icon and label can't be used at same time.
37
+ */
38
+ icon?: SVG;
39
+ };
40
+ declare type Option = OptionIcon | OptionLabel;
41
+ declare type Props = {
42
+ /**
43
+ * Text to be placed above the component.
44
+ */
45
+ label?: string;
46
+ /**
47
+ * Helper text to be placed above the component.
48
+ */
49
+ helperText?: string;
50
+ /**
51
+ * The key(s) of the selected value(s). If the toggle group component doesn't allow multiple selection,
52
+ * it must be one unique value. If the component allows multiple selection, value must be an array.
53
+ * If undefined, the component will be uncontrolled and the value will be managed internally by the component.
54
+ */
55
+ value?: string | string[];
56
+ /**
57
+ * This function will be called every time the selection changes. The number with the key of the selected
58
+ * value will be passed as a parameter to this function.
59
+ * If multiple selection is allowed, an array of keys will be passed.
60
+ */
61
+ onChange?: (optionIndex: number | number[]) => void;
62
+ /**
63
+ * If true, the component will be disabled.
64
+ */
65
+ disabled?: boolean;
66
+ /**
67
+ * An array of objects representing the selectable options.
68
+ */
69
+ options: [Option, ...Option[]];
70
+ /**
71
+ * If true, the toggle group will support multiple selection. In that case, value must be an array of numbers with the keys of the selected values.
72
+ */
73
+ multiple?: boolean;
74
+ /**
75
+ * Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
76
+ * You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
77
+ */
78
+ margin?: Space | Margin;
79
+ /**
80
+ * Value of the tabindex.
81
+ */
82
+ tabIndex?: number;
83
+ };
84
+ export default Props;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
4
-
5
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
4
 
5
+ var _typeof3 = require("@babel/runtime/helpers/typeof");
6
+
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
@@ -21,8 +21,6 @@ var _react = _interopRequireWildcard(require("react"));
21
21
 
22
22
  var _styledComponents = _interopRequireDefault(require("styled-components"));
23
23
 
24
- require("../common/OpenSans.css");
25
-
26
24
  var _propTypes = _interopRequireDefault(require("prop-types"));
27
25
 
28
26
  var _DragAndDropArea = _interopRequireDefault(require("./dragAndDropArea/DragAndDropArea"));
@@ -33,19 +31,17 @@ var _Transactions = _interopRequireDefault(require("./transactions/Transactions"
33
31
 
34
32
  var _variables = require("../common/variables.js");
35
33
 
36
- function _templateObject() {
37
- var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: \"Open Sans\", sans-serif;\n max-width: 100%;\n height: 400px;\n box-shadow: 0px 3px 6px #00000029;\n border-radius: 4px;\n display: flex;\n flex-direction: row;\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n"]);
34
+ var _templateObject;
38
35
 
39
- _templateObject = function _templateObject() {
40
- return data;
41
- };
36
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
42
37
 
43
- return data;
44
- }
38
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
45
39
 
46
40
  var DxcUpload = function DxcUpload(_ref) {
47
41
  var callbackUpload = _ref.callbackUpload,
48
- margin = _ref.margin;
42
+ margin = _ref.margin,
43
+ _ref$tabIndex = _ref.tabIndex,
44
+ tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex;
49
45
 
50
46
  var _useState = (0, _react.useState)([]),
51
47
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
@@ -157,20 +153,24 @@ var DxcUpload = function DxcUpload(_ref) {
157
153
 
158
154
  var filesToUpload = getFilesToUpload();
159
155
  var transactionFiles = getTransactionsFiles();
160
- return _react["default"].createElement(DXCUpload, {
156
+ return /*#__PURE__*/_react["default"].createElement(DXCUpload, {
161
157
  margin: margin
162
- }, transactionFiles && transactionFiles.length !== 0 && _react["default"].createElement(_Transactions["default"], {
158
+ }, transactionFiles && transactionFiles.length !== 0 && /*#__PURE__*/_react["default"].createElement(_Transactions["default"], {
159
+ tabIndexValue: tabIndex,
163
160
  transactions: transactionFiles
164
- }), filesToUpload && filesToUpload.length === 0 && transactionFiles && transactionFiles.length === 0 && _react["default"].createElement(_DragAndDropArea["default"], {
161
+ }), filesToUpload && filesToUpload.length === 0 && transactionFiles && transactionFiles.length === 0 && /*#__PURE__*/_react["default"].createElement(_DragAndDropArea["default"], {
165
162
  dashed: false,
166
- addFile: onDragHandler
167
- }) || filesToUpload && filesToUpload.length === 0 && transactionFiles && transactionFiles.length !== 0 && _react["default"].createElement(_DragAndDropArea["default"], {
163
+ addFile: onDragHandler,
164
+ tabIndexValue: tabIndex
165
+ }) || filesToUpload && filesToUpload.length === 0 && transactionFiles && transactionFiles.length !== 0 && /*#__PURE__*/_react["default"].createElement(_DragAndDropArea["default"], {
168
166
  dashed: true,
169
- addFile: onDragHandler
170
- }), filesToUpload && filesToUpload.length !== 0 && _react["default"].createElement(_FilesToUpload["default"], {
167
+ addFile: onDragHandler,
168
+ tabIndexValue: tabIndex
169
+ }), filesToUpload && filesToUpload.length !== 0 && /*#__PURE__*/_react["default"].createElement(_FilesToUpload["default"], {
171
170
  filesToUpload: filesToUpload,
172
171
  addFile: onDragHandler,
173
- onUpload: onUploadHandler
172
+ onUpload: onUploadHandler,
173
+ tabIndexValue: tabIndex
174
174
  }));
175
175
  };
176
176
 
@@ -181,10 +181,11 @@ DxcUpload.propTypes = {
181
181
  bottom: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
182
182
  left: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
183
183
  right: _propTypes["default"].oneOf(Object.keys(_variables.spaces))
184
- }), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))])
184
+ }), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))]),
185
+ tabIndex: _propTypes["default"].number
185
186
  };
186
187
 
187
- var DXCUpload = _styledComponents["default"].div(_templateObject(), function (props) {
188
+ var DXCUpload = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n max-width: 100%;\n height: 400px;\n box-shadow: 0px 3px 6px #00000029;\n border-radius: 4px;\n display: flex;\n flex-direction: row;\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n"])), function (props) {
188
189
  return props.margin && (0, _typeof2["default"])(props.margin) !== "object" ? _variables.spaces[props.margin] : "0px";
189
190
  }, function (props) {
190
191
  return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.top ? _variables.spaces[props.margin.top] : "";
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports["default"] = void 0;
11
+
12
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
+
14
+ var _react = _interopRequireDefault(require("react"));
15
+
16
+ var _propTypes = _interopRequireDefault(require("prop-types"));
17
+
18
+ var _styledComponents = _interopRequireWildcard(require("styled-components"));
19
+
20
+ var _Button = _interopRequireDefault(require("../../button/Button"));
21
+
22
+ var _Icons = require("./Icons");
23
+
24
+ var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
25
+
26
+ var _BackgroundColorContext = require("../../BackgroundColorContext.js");
27
+
28
+ var _templateObject, _templateObject2, _templateObject3;
29
+
30
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
+
32
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
+
34
+ var DxcButtonsUpload = function DxcButtonsUpload(_ref) {
35
+ var addFile = _ref.addFile,
36
+ onUpload = _ref.onUpload;
37
+ var colorsTheme = (0, _useTheme["default"])();
38
+
39
+ var selectFile = function selectFile(e) {
40
+ var filesObject = e.target.files;
41
+
42
+ if (filesObject && filesObject.length > 0) {
43
+ var filesArray = Object.keys(filesObject).map(function (key) {
44
+ return filesObject[key];
45
+ });
46
+ addFile(filesArray);
47
+ }
48
+ };
49
+
50
+ var handleClick = function handleClick() {
51
+ document.getElementById("chooseFiles").click();
52
+ };
53
+
54
+ return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
55
+ theme: colorsTheme.upload
56
+ }, /*#__PURE__*/_react["default"].createElement(_BackgroundColorContext.BackgroundColorProvider, {
57
+ color: colorsTheme.upload.backgroundColor
58
+ }, /*#__PURE__*/_react["default"].createElement(DXCButtonsUpload, null, /*#__PURE__*/_react["default"].createElement(DragAndDropLabel, null, /*#__PURE__*/_react["default"].createElement(DragAndDropIconContainer, null, _Icons.dragAndDropIcon), "Drag and Drop area"), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
59
+ margin: {
60
+ right: "small"
61
+ },
62
+ mode: "text",
63
+ label: "CHOOSE FILES",
64
+ onClick: handleClick
65
+ }), /*#__PURE__*/_react["default"].createElement("input", {
66
+ id: "chooseFiles",
67
+ type: "file",
68
+ multiple: true,
69
+ onChange: selectFile,
70
+ style: {
71
+ display: "none"
72
+ }
73
+ }), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
74
+ label: "UPLOAD",
75
+ iconPosition: "after",
76
+ icon: _Icons.uploadIcon,
77
+ onClick: onUpload
78
+ }))));
79
+ };
80
+
81
+ DxcButtonsUpload.propTypes = {
82
+ addFile: _propTypes["default"].func,
83
+ onUpload: _propTypes["default"].func
84
+ };
85
+
86
+ var DXCButtonsUpload = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n margin-right: 80px;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n"])));
87
+
88
+ var DragAndDropLabel = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n align-items: center;\n font-family: ", ";\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-right: 50px;\n"])), function (props) {
89
+ return props.theme.fontFamily;
90
+ }, function (props) {
91
+ return props.theme.dragAndDropAreaTextFontSize;
92
+ }, function (props) {
93
+ return props.theme.dragAndDropAreaTextFontStyle;
94
+ }, function (props) {
95
+ return props.theme.dragAndDropAreaTextFontWeight;
96
+ }, function (props) {
97
+ return props.theme.dragAndDropAreaTextFontTextTransform;
98
+ }, function (props) {
99
+ return props.theme.dragAndDropAreaTextFontColor;
100
+ });
101
+
102
+ var DragAndDropIconContainer = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n height: ", ";\n width: ", ";\n margin-right: 5px;\n & svg {\n fill: ", ";\n }\n"])), function (props) {
103
+ return props.theme.dragAndDropAreaIconSize;
104
+ }, function (props) {
105
+ return props.theme.dragAndDropAreaIconSize;
106
+ }, function (props) {
107
+ return props.theme.dragAndDropAreaIconColor;
108
+ });
109
+
110
+ var _default = DxcButtonsUpload;
111
+ exports["default"] = _default;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.uploadIcon = exports.dragAndDropIcon = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var uploadIcon = /*#__PURE__*/_react["default"].createElement("svg", {
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ width: "24",
15
+ height: "24",
16
+ viewBox: "0 0 24 24",
17
+ fill: "#FFFFFF"
18
+ }, /*#__PURE__*/_react["default"].createElement("path", {
19
+ d: "M0 0h24v24H0z",
20
+ fill: "none"
21
+ }), /*#__PURE__*/_react["default"].createElement("path", {
22
+ d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"
23
+ }));
24
+
25
+ exports.uploadIcon = uploadIcon;
26
+
27
+ var dragAndDropIcon = /*#__PURE__*/_react["default"].createElement("svg", {
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: "24",
30
+ height: "24",
31
+ viewBox: "0 0 24 24",
32
+ fill: "#666666"
33
+ }, /*#__PURE__*/_react["default"].createElement("path", {
34
+ fill: "none",
35
+ d: "M0 0h24v24H0V0z"
36
+ }), /*#__PURE__*/_react["default"].createElement("path", {
37
+ d: "M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"
38
+ }));
39
+
40
+ exports.dragAndDropIcon = dragAndDropIcon;