box-ui-elements 15.0.0-beta.7 → 15.0.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 (508) hide show
  1. package/CONTRIBUTING.md +3 -1
  2. package/dist/explorer.css +1 -1
  3. package/dist/explorer.js +58 -26
  4. package/dist/openwith.css +1 -1
  5. package/dist/openwith.js +10 -17
  6. package/dist/picker.css +1 -1
  7. package/dist/picker.js +12 -19
  8. package/dist/preview.css +1 -1
  9. package/dist/preview.js +56 -24
  10. package/dist/sharing.css +1 -1
  11. package/dist/sharing.js +54 -22
  12. package/dist/sidebar.css +1 -1
  13. package/dist/sidebar.js +56 -24
  14. package/dist/uploader.css +1 -1
  15. package/dist/uploader.js +12 -19
  16. package/es/api/uploads/UploadsReachability.js.flow +2 -2
  17. package/es/api/uploads/UploadsReachability.js.map +1 -1
  18. package/es/common/messages.js +4 -0
  19. package/es/common/messages.js.flow +5 -0
  20. package/es/common/messages.js.map +1 -1
  21. package/es/common/types/core.js.flow +2 -0
  22. package/es/common/types/core.js.map +1 -1
  23. package/es/components/avatar/UnknownUserAvatar.js +6 -9
  24. package/es/components/avatar/UnknownUserAvatar.js.map +1 -1
  25. package/es/components/close-button/CloseButton.js +24 -0
  26. package/es/components/close-button/CloseButton.js.flow +26 -0
  27. package/es/components/close-button/CloseButton.js.map +1 -0
  28. package/es/components/close-button/CloseButton.scss +10 -0
  29. package/es/components/close-button/CloseButton.stories.js +14 -0
  30. package/es/components/close-button/CloseButton.stories.js.map +1 -0
  31. package/es/components/close-button/index.js +2 -0
  32. package/es/components/close-button/index.js.flow +2 -0
  33. package/es/components/close-button/index.js.map +1 -0
  34. package/es/components/date-picker/AccessiblePikaday.js +113 -0
  35. package/es/components/date-picker/AccessiblePikaday.js.map +1 -0
  36. package/es/components/date-picker/DatePicker.js +426 -106
  37. package/es/components/date-picker/DatePicker.js.map +1 -1
  38. package/es/components/date-picker/DatePicker.scss +32 -22
  39. package/es/components/date-picker/DatePicker.stories.js +10 -0
  40. package/es/components/date-picker/DatePicker.stories.js.map +1 -1
  41. package/es/components/date-picker/_pikaday.scss +8 -2
  42. package/es/components/flyout/Flyout.js +13 -3
  43. package/es/components/flyout/Flyout.js.flow +14 -3
  44. package/es/components/flyout/Flyout.js.map +1 -1
  45. package/es/components/flyout/Flyout.scss +40 -0
  46. package/es/components/flyout/FlyoutContext.js +6 -0
  47. package/es/components/flyout/FlyoutContext.js.flow +9 -0
  48. package/es/components/flyout/FlyoutContext.js.map +1 -0
  49. package/es/components/flyout/OverlayHeader.js +33 -0
  50. package/es/components/flyout/OverlayHeader.js.map +1 -0
  51. package/es/components/flyout/OverlayHeader.scss +9 -0
  52. package/es/components/flyout/_variables.scss +1 -0
  53. package/es/components/flyout/index.js +2 -0
  54. package/es/components/flyout/index.js.flow +2 -0
  55. package/es/components/flyout/index.js.map +1 -1
  56. package/es/components/image-tooltip/ImageTooltip.js +1 -2
  57. package/es/components/image-tooltip/ImageTooltip.js.map +1 -1
  58. package/es/components/media-query/constants.js +26 -0
  59. package/es/components/media-query/constants.js.flow +32 -0
  60. package/es/components/media-query/constants.js.map +1 -0
  61. package/es/components/media-query/index.js +3 -0
  62. package/es/components/media-query/index.js.flow +4 -0
  63. package/es/components/media-query/index.js.map +1 -0
  64. package/es/components/media-query/stories/MediaQuery.stories.js +37 -0
  65. package/es/components/media-query/stories/MediaQuery.stories.js.flow +80 -0
  66. package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -0
  67. package/es/components/media-query/types.js +2 -0
  68. package/es/components/media-query/types.js.flow +29 -0
  69. package/es/components/media-query/types.js.map +1 -0
  70. package/es/components/media-query/useMediaQuery.js +91 -0
  71. package/es/components/media-query/useMediaQuery.js.flow +97 -0
  72. package/es/components/media-query/useMediaQuery.js.map +1 -0
  73. package/es/components/media-query/withMediaQuery.js +21 -0
  74. package/es/components/media-query/withMediaQuery.js.flow +23 -0
  75. package/es/components/media-query/withMediaQuery.js.map +1 -0
  76. package/es/components/modal/Modal.scss +27 -0
  77. package/es/components/preview/previewIcons.js +4 -0
  78. package/es/components/preview/previewIcons.js.map +1 -1
  79. package/es/components/search-form/SearchForm.scss +0 -5
  80. package/es/components/selector-dropdown/SelectorDropdown.js +5 -3
  81. package/es/components/selector-dropdown/SelectorDropdown.js.flow +3 -3
  82. package/es/components/selector-dropdown/SelectorDropdown.js.map +1 -1
  83. package/es/components/tab-view/Tabs.scss +0 -4
  84. package/es/components/tooltip/Tooltip.js +21 -4
  85. package/es/components/tooltip/Tooltip.js.map +1 -1
  86. package/es/constants.js +1 -0
  87. package/es/constants.js.flow +1 -0
  88. package/es/constants.js.map +1 -1
  89. package/es/elements/content-open-with/IconFileMap.js +0 -2
  90. package/es/elements/content-open-with/IconFileMap.js.flow +0 -2
  91. package/es/elements/content-open-with/IconFileMap.js.map +1 -1
  92. package/es/elements/content-sidebar/Sidebar.js +2 -1
  93. package/es/elements/content-sidebar/Sidebar.js.flow +1 -1
  94. package/es/elements/content-sidebar/Sidebar.js.map +1 -1
  95. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +3 -3
  96. package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js +14 -4
  97. package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.flow +18 -5
  98. package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.map +1 -1
  99. package/es/elements/content-sidebar/versions/StaticVersionSidebar.js +78 -0
  100. package/es/elements/content-sidebar/versions/StaticVersionSidebar.js.flow +97 -0
  101. package/es/elements/content-sidebar/versions/StaticVersionSidebar.js.map +1 -0
  102. package/es/elements/content-sidebar/versions/StaticVersionsSidebar.scss +67 -0
  103. package/es/elements/content-sidebar/versions/VersionsSidebar.js +12 -4
  104. package/es/elements/content-sidebar/versions/VersionsSidebar.js.flow +16 -3
  105. package/es/elements/content-sidebar/versions/VersionsSidebar.js.map +1 -1
  106. package/es/elements/content-sidebar/versions/VersionsSidebar.scss +5 -0
  107. package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js +42 -10
  108. package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js.flow +42 -7
  109. package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js.map +1 -1
  110. package/es/elements/content-sidebar/versions/flowTypes.js.flow +1 -0
  111. package/es/elements/content-sidebar/versions/messages.js +20 -0
  112. package/es/elements/content-sidebar/versions/messages.js.flow +28 -0
  113. package/es/elements/content-sidebar/versions/messages.js.map +1 -1
  114. package/es/features/classification/constants.js +2 -1
  115. package/es/features/classification/constants.js.flow +2 -0
  116. package/es/features/classification/constants.js.map +1 -1
  117. package/es/features/classification/flowTypes.js +1 -0
  118. package/es/features/classification/flowTypes.js.flow +7 -1
  119. package/es/features/classification/flowTypes.js.map +1 -1
  120. package/es/features/classification/security-controls/SecurityControls.js +3 -4
  121. package/es/features/classification/security-controls/SecurityControls.js.flow +3 -4
  122. package/es/features/classification/security-controls/SecurityControls.js.map +1 -1
  123. package/es/features/classification/security-controls/SecurityControlsItem.js +1 -1
  124. package/es/features/classification/security-controls/SecurityControlsItem.js.flow +20 -17
  125. package/es/features/classification/security-controls/SecurityControlsItem.js.map +1 -1
  126. package/es/features/classification/security-controls/SecurityControlsItem.scss +4 -0
  127. package/es/features/classification/security-controls/SecurityControlsModal.js +2 -2
  128. package/es/features/classification/security-controls/SecurityControlsModal.js.flow +2 -2
  129. package/es/features/classification/security-controls/SecurityControlsModal.js.map +1 -1
  130. package/es/features/classification/security-controls/messages.js +4 -0
  131. package/es/features/classification/security-controls/messages.js.flow +5 -0
  132. package/es/features/classification/security-controls/messages.js.map +1 -1
  133. package/es/features/classification/security-controls/utils.js +56 -35
  134. package/es/features/classification/security-controls/utils.js.flow +51 -27
  135. package/es/features/classification/security-controls/utils.js.map +1 -1
  136. package/es/features/collapsible-sidebar/CollapsibleSidebar.js +9 -3
  137. package/es/features/collapsible-sidebar/CollapsibleSidebar.js.flow +13 -5
  138. package/es/features/collapsible-sidebar/CollapsibleSidebar.js.map +1 -1
  139. package/es/features/collapsible-sidebar/CollapsibleSidebar.scss +35 -3
  140. package/es/features/content-explorer/content-explorer/ContentExplorer.scss +1 -1
  141. package/es/features/content-explorer/item-list/ItemList.js +1 -0
  142. package/es/features/content-explorer/item-list/ItemList.js.flow +1 -0
  143. package/es/features/content-explorer/item-list/ItemList.js.map +1 -1
  144. package/es/features/content-explorer/item-list/ItemListName.js +13 -2
  145. package/es/features/content-explorer/item-list/ItemListName.js.flow +3 -2
  146. package/es/features/content-explorer/item-list/ItemListName.js.map +1 -1
  147. package/es/features/header-flyout/HeaderFlyout.js +8 -10
  148. package/es/features/header-flyout/HeaderFlyout.js.flow +4 -8
  149. package/es/features/header-flyout/HeaderFlyout.js.map +1 -1
  150. package/es/features/header-flyout/styles/HeaderFlyout.scss +54 -15
  151. package/es/features/header-flyout/styles/_variables.scss +4 -0
  152. package/es/features/message-center/components/message-center-modal/MessageCenterModal.js +1 -0
  153. package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.flow +1 -0
  154. package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.map +1 -1
  155. package/es/features/presence/PresenceCollaborator.js +90 -0
  156. package/es/features/presence/PresenceCollaborator.js.flow +81 -0
  157. package/es/features/presence/PresenceCollaborator.js.map +1 -0
  158. package/es/features/presence/PresenceCollaborator.scss +28 -0
  159. package/es/features/presence/PresenceCollaboratorsList.js +9 -57
  160. package/es/features/presence/PresenceCollaboratorsList.js.flow +7 -58
  161. package/es/features/presence/PresenceCollaboratorsList.js.map +1 -1
  162. package/es/features/presence/PresenceCollaboratorsList.scss +8 -35
  163. package/es/features/quick-search/QuickSearch.js +4 -2
  164. package/es/features/quick-search/QuickSearch.js.flow +13 -1
  165. package/es/features/quick-search/QuickSearch.js.map +1 -1
  166. package/es/features/unified-share-modal/SharedLinkSection.js +9 -20
  167. package/es/features/unified-share-modal/SharedLinkSection.js.flow +6 -27
  168. package/es/features/unified-share-modal/SharedLinkSection.js.map +1 -1
  169. package/es/features/unified-share-modal/UnifiedShareForm.js +95 -53
  170. package/es/features/unified-share-modal/UnifiedShareForm.js.flow +70 -14
  171. package/es/features/unified-share-modal/UnifiedShareForm.js.map +1 -1
  172. package/es/features/unified-share-modal/UnifiedShareModal.scss +3 -0
  173. package/es/features/unified-share-modal/flowTypes.js.flow +6 -0
  174. package/es/features/unified-share-modal/flowTypes.js.map +1 -1
  175. package/es/features/unified-share-modal/messages.js +8 -0
  176. package/es/features/unified-share-modal/messages.js.flow +10 -0
  177. package/es/features/unified-share-modal/messages.js.map +1 -1
  178. package/es/features/unified-share-modal/utils/mergeContacts.js +13 -10
  179. package/es/features/unified-share-modal/utils/mergeContacts.js.flow +4 -2
  180. package/es/features/unified-share-modal/utils/mergeContacts.js.map +1 -1
  181. package/es/icon/content/FileXbd32.js +39 -0
  182. package/es/icon/content/FileXbd32.js.flow +38 -0
  183. package/es/icon/content/FileXbd32.js.map +1 -0
  184. package/es/icon/content/FileXbd32.stories.js +13 -0
  185. package/es/icon/content/FileXbd32.stories.js.map +1 -0
  186. package/es/icon/content/FileXdw32.js +39 -0
  187. package/es/icon/content/FileXdw32.js.flow +38 -0
  188. package/es/icon/content/FileXdw32.js.map +1 -0
  189. package/es/icon/content/FileXdw32.stories.js +13 -0
  190. package/es/icon/content/FileXdw32.stories.js.map +1 -0
  191. package/es/icon/content/RetentionPolicyModifiable32.js +36 -0
  192. package/es/icon/content/RetentionPolicyModifiable32.js.flow +31 -0
  193. package/es/icon/content/RetentionPolicyModifiable32.js.map +1 -0
  194. package/es/icon/content/RetentionPolicyModifiable32.stories.js +13 -0
  195. package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -0
  196. package/es/icon/content/RetentionPolicyNonModifiable32.js +36 -0
  197. package/es/icon/content/RetentionPolicyNonModifiable32.js.flow +31 -0
  198. package/es/icon/content/RetentionPolicyNonModifiable32.js.map +1 -0
  199. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +13 -0
  200. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -0
  201. package/es/icons/avatars/UnknownUserAvatar.js +10 -34
  202. package/es/icons/avatars/UnknownUserAvatar.js.map +1 -1
  203. package/es/icons/file-icon/FileIcon.js +8 -2
  204. package/es/icons/file-icon/FileIcon.js.flow +2 -2
  205. package/es/icons/file-icon/FileIcon.js.map +1 -1
  206. package/es/icons/general/IconSearch.js +1 -1
  207. package/es/icons/general/IconSearch.js.flow +1 -1
  208. package/es/icons/general/IconSearch.js.map +1 -1
  209. package/es/icons/general/IconSearchJuicy.js +30 -0
  210. package/es/icons/general/IconSearchJuicy.js.flow +26 -0
  211. package/es/icons/general/IconSearchJuicy.js.map +1 -0
  212. package/es/icons/google-docs/IconGoogle.js +89 -0
  213. package/es/icons/google-docs/IconGoogle.js.flow +57 -0
  214. package/es/icons/google-docs/IconGoogle.js.map +1 -0
  215. package/es/icons/item-icon/ItemIcon.js +4 -0
  216. package/es/icons/item-icon/ItemIcon.js.map +1 -1
  217. package/es/icons/microsoft-office/IconOffice.js +80 -0
  218. package/es/icons/microsoft-office/IconOffice.js.flow +45 -0
  219. package/es/icons/microsoft-office/IconOffice.js.map +1 -0
  220. package/es/illustration/EmailVerification140.js +111 -0
  221. package/es/illustration/EmailVerification140.js.flow +102 -0
  222. package/es/illustration/EmailVerification140.js.map +1 -0
  223. package/es/illustration/EmailVerification140.stories.js +13 -0
  224. package/es/illustration/EmailVerification140.stories.js.map +1 -0
  225. package/es/src/components/close-button/CloseButton.d.ts +9 -0
  226. package/es/src/components/close-button/CloseButton.stories.d.ts +9 -0
  227. package/es/src/components/close-button/__tests__/CloseButton.stories.test.d.ts +0 -0
  228. package/es/src/components/close-button/__tests__/CloseButton.test.d.ts +1 -0
  229. package/es/src/components/close-button/index.d.ts +1 -0
  230. package/es/src/components/date-picker/AccessiblePikaday.d.ts +16 -0
  231. package/es/src/components/date-picker/DatePicker.d.ts +33 -6
  232. package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -1
  233. package/es/src/components/flyout/OverlayHeader.d.ts +10 -0
  234. package/es/src/components/tooltip/Tooltip.d.ts +4 -3
  235. package/es/src/icon/content/FileXbd32.d.ts +13 -0
  236. package/es/src/icon/content/FileXbd32.stories.d.ts +9 -0
  237. package/es/src/icon/content/FileXdw32.d.ts +13 -0
  238. package/es/src/icon/content/FileXdw32.stories.d.ts +9 -0
  239. package/es/src/icon/content/RetentionPolicyModifiable32.d.ts +13 -0
  240. package/es/src/icon/content/RetentionPolicyModifiable32.stories.d.ts +9 -0
  241. package/es/src/icon/content/RetentionPolicyNonModifiable32.d.ts +13 -0
  242. package/es/src/icon/content/RetentionPolicyNonModifiable32.stories.d.ts +9 -0
  243. package/es/src/icons/avatars/UnknownUserAvatar.d.ts +0 -1
  244. package/es/src/icons/general/IconSearchJuicy.d.ts +3 -0
  245. package/es/src/icons/general/__tests__/IconSearchJuicy.test.d.ts +1 -0
  246. package/es/src/icons/google-docs/IconGoogle.d.ts +12 -0
  247. package/es/src/icons/google-docs/__tests__/IconGoogle.test.d.ts +1 -0
  248. package/es/src/icons/item-icon/ItemIcon.d.ts +2 -0
  249. package/es/src/icons/microsoft-office/IconOffice.d.ts +12 -0
  250. package/es/src/icons/microsoft-office/__tests__/IconOffice.test.d.ts +1 -0
  251. package/es/src/illustration/EmailVerification140.d.ts +13 -0
  252. package/es/src/illustration/EmailVerification140.stories.d.ts +9 -0
  253. package/es/src/styles/variables.d.ts +9 -0
  254. package/es/styles/_variables.scss +1 -0
  255. package/es/styles/common/_forms.scss +6 -0
  256. package/es/styles/constants/_layout.scss +3 -0
  257. package/es/styles/constants/_media-queries.scss +15 -0
  258. package/es/styles/variables.js +18 -0
  259. package/es/styles/variables.js.flow +10 -1
  260. package/es/styles/variables.js.map +1 -1
  261. package/es/utils/Browser.js +12 -0
  262. package/es/utils/Browser.js.flow +10 -0
  263. package/es/utils/Browser.js.map +1 -1
  264. package/es/utils/validators.js +26 -4
  265. package/es/utils/validators.js.flow +25 -3
  266. package/es/utils/validators.js.map +1 -1
  267. package/i18n/bn-IN.js +12 -0
  268. package/i18n/bn-IN.properties +24 -0
  269. package/i18n/da-DK.js +12 -0
  270. package/i18n/da-DK.properties +24 -0
  271. package/i18n/de-DE.js +12 -0
  272. package/i18n/de-DE.properties +24 -0
  273. package/i18n/en-AU.js +12 -0
  274. package/i18n/en-AU.properties +24 -0
  275. package/i18n/en-CA.js +12 -0
  276. package/i18n/en-CA.properties +24 -0
  277. package/i18n/en-GB.js +12 -0
  278. package/i18n/en-GB.properties +24 -0
  279. package/i18n/en-US.js +12 -0
  280. package/i18n/en-US.properties +24 -0
  281. package/i18n/en-x-pseudo.js +12 -0
  282. package/i18n/es-419.js +12 -0
  283. package/i18n/es-419.properties +24 -0
  284. package/i18n/es-ES.js +12 -0
  285. package/i18n/es-ES.properties +24 -0
  286. package/i18n/fi-FI.js +12 -0
  287. package/i18n/fi-FI.properties +24 -0
  288. package/i18n/fr-CA.js +12 -0
  289. package/i18n/fr-CA.properties +24 -0
  290. package/i18n/fr-FR.js +12 -0
  291. package/i18n/fr-FR.properties +24 -0
  292. package/i18n/hi-IN.js +12 -0
  293. package/i18n/hi-IN.properties +24 -0
  294. package/i18n/it-IT.js +12 -0
  295. package/i18n/it-IT.properties +24 -0
  296. package/i18n/ja-JP.js +25 -13
  297. package/i18n/ja-JP.properties +37 -13
  298. package/i18n/ko-KR.js +12 -0
  299. package/i18n/ko-KR.properties +24 -0
  300. package/i18n/nb-NO.js +12 -0
  301. package/i18n/nb-NO.properties +24 -0
  302. package/i18n/nl-NL.js +12 -0
  303. package/i18n/nl-NL.properties +24 -0
  304. package/i18n/pl-PL.js +12 -0
  305. package/i18n/pl-PL.properties +24 -0
  306. package/i18n/pt-BR.js +12 -0
  307. package/i18n/pt-BR.properties +24 -0
  308. package/i18n/ru-RU.js +12 -0
  309. package/i18n/ru-RU.properties +24 -0
  310. package/i18n/sv-SE.js +12 -0
  311. package/i18n/sv-SE.properties +24 -0
  312. package/i18n/tr-TR.js +12 -0
  313. package/i18n/tr-TR.properties +24 -0
  314. package/i18n/zh-CN.js +12 -0
  315. package/i18n/zh-CN.properties +24 -0
  316. package/i18n/zh-TW.js +12 -0
  317. package/i18n/zh-TW.properties +24 -0
  318. package/package.json +8 -5
  319. package/src/__mocks__/pikaday.js +1 -0
  320. package/src/api/__tests__/MockOpenWithData.json +2 -25
  321. package/src/api/uploads/UploadsReachability.js +2 -2
  322. package/src/common/messages.js +5 -0
  323. package/src/common/types/core.js +2 -0
  324. package/src/components/avatar/UnknownUserAvatar.tsx +5 -4
  325. package/src/components/close-button/CloseButton.js.flow +26 -0
  326. package/src/components/close-button/CloseButton.scss +10 -0
  327. package/src/components/close-button/CloseButton.stories.md +1 -0
  328. package/src/components/close-button/CloseButton.stories.tsx +14 -0
  329. package/src/components/close-button/CloseButton.tsx +30 -0
  330. package/src/components/close-button/__tests__/CloseButton.stories.test.tsx +6 -0
  331. package/src/components/close-button/__tests__/CloseButton.test.tsx +40 -0
  332. package/src/components/close-button/__tests__/__image_snapshots__/close-button-stories-test-tsx-components-close-button-close-button-looks-visually-correct-when-using-story-components-buttons-closebutton-regular-1-snap.png +0 -0
  333. package/src/components/close-button/index.js.flow +2 -0
  334. package/src/components/close-button/index.ts +1 -0
  335. package/src/components/date-picker/AccessiblePikaday.ts +79 -0
  336. package/src/components/date-picker/DatePicker.scss +32 -22
  337. package/src/components/date-picker/DatePicker.stories.tsx +6 -0
  338. package/src/components/date-picker/DatePicker.tsx +350 -64
  339. package/src/components/date-picker/__tests__/DatePicker.test.tsx +44 -2
  340. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-editing-in-story-components-datepicker-manually-editable-1-snap.png +0 -0
  341. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-keyboard-selection-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
  342. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-closes-calendar-and-clears-date-for-components-datepicker-basic-1-snap.png +0 -0
  343. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
  344. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-basic-1-snap.png +0 -0
  345. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-custom-error-tooltip-position-1-snap.png +0 -0
  346. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-disabled-with-error-message-1-snap.png +0 -0
  347. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-manually-editable-1-snap.png +0 -0
  348. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-description-1-snap.png +0 -0
  349. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-limited-date-range-1-snap.png +0 -0
  350. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-range-1-snap.png +0 -0
  351. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-reflects-changes-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
  352. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-calendar-and-date-for-components-datepicker-basic-1-snap.png +0 -0
  353. package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-limited-range-in-components-datepicker-with-limited-date-range-1-snap.png +0 -0
  354. package/src/components/date-picker/_pikaday.scss +8 -2
  355. package/src/components/flyout/Flyout.js +14 -3
  356. package/src/components/flyout/Flyout.scss +40 -0
  357. package/src/components/flyout/FlyoutContext.js +9 -0
  358. package/src/components/flyout/OverlayHeader.scss +9 -0
  359. package/src/components/flyout/OverlayHeader.tsx +38 -0
  360. package/src/components/flyout/__tests__/Flyout.test.js +15 -0
  361. package/src/components/flyout/__tests__/OverlayHeader.test.js +56 -0
  362. package/src/components/flyout/_variables.scss +1 -0
  363. package/src/components/flyout/index.js +2 -0
  364. package/src/components/image-tooltip/ImageTooltip.tsx +1 -2
  365. package/src/components/media-query/__tests__/useMediaQuery.test.js +48 -0
  366. package/src/components/media-query/__tests__/withMediaQuery.test.js +29 -0
  367. package/src/components/media-query/constants.js +32 -0
  368. package/src/components/media-query/index.js +4 -0
  369. package/src/components/media-query/stories/MediaQuery.stories.js +80 -0
  370. package/src/components/media-query/stories/MediaQuery.stories.md +29 -0
  371. package/src/components/media-query/types.js +29 -0
  372. package/src/components/media-query/useMediaQuery.js +97 -0
  373. package/src/components/media-query/withMediaQuery.js +23 -0
  374. package/src/components/modal/Modal.scss +27 -0
  375. package/src/components/modal/__tests__/Modal.stories.test.js +10 -0
  376. package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-for-small-screens-when-button-is-clicked-in-story-components-modal-basic-1-snap.png +0 -0
  377. package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-for-small-screens-when-button-is-clicked-in-story-components-modal-with-custom-backdrop-click-handler-1-snap.png +0 -0
  378. package/src/components/preview/previewIcons.ts +4 -0
  379. package/src/components/search-form/SearchForm.scss +0 -5
  380. package/src/components/selector-dropdown/SelectorDropdown.js +3 -3
  381. package/src/components/selector-dropdown/__tests__/SelectorDropdown.test.js +5 -1
  382. package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +0 -8
  383. package/src/components/tab-view/Tabs.scss +0 -4
  384. package/src/components/tooltip/Tooltip.tsx +20 -5
  385. package/src/components/tooltip/__tests__/Tooltip.test.tsx +17 -4
  386. package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +0 -2
  387. package/src/constants.js +1 -0
  388. package/src/elements/content-open-with/IconFileMap.js +0 -2
  389. package/src/elements/content-open-with/__tests__/ContentOpenWith.test.js +13 -13
  390. package/src/elements/content-open-with/__tests__/OpenWithButton.test.js +1 -1
  391. package/src/elements/content-open-with/__tests__/OpenWithDropdownMenu.test.js +1 -5
  392. package/src/elements/content-open-with/__tests__/OpenWithDropdownMenuItem.test.js +2 -2
  393. package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +5 -5
  394. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithButton.test.js.snap +1 -1
  395. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -11
  396. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenuItem.test.js.snap +4 -3
  397. package/src/elements/content-sidebar/Sidebar.js +1 -1
  398. package/src/elements/content-sidebar/__tests__/AddTaskButton.test.js +15 -0
  399. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +3 -3
  400. package/src/elements/content-sidebar/activity-feed/task-form/TaskForm.js +18 -5
  401. package/src/elements/content-sidebar/versions/StaticVersionSidebar.js +97 -0
  402. package/src/elements/content-sidebar/versions/StaticVersionsSidebar.scss +67 -0
  403. package/src/elements/content-sidebar/versions/VersionsSidebar.js +16 -3
  404. package/src/elements/content-sidebar/versions/VersionsSidebar.scss +5 -0
  405. package/src/elements/content-sidebar/versions/VersionsSidebarContainer.js +42 -7
  406. package/src/elements/content-sidebar/versions/__tests__/VersionsSidebar.test.js +18 -1
  407. package/src/elements/content-sidebar/versions/__tests__/VersionsSidebarContainer.test.js +51 -2
  408. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +75 -0
  409. package/src/elements/content-sidebar/versions/flowTypes.js +1 -0
  410. package/src/elements/content-sidebar/versions/messages.js +28 -0
  411. package/src/features/classification/constants.js +2 -0
  412. package/src/features/classification/flowTypes.js +7 -1
  413. package/src/features/classification/security-controls/SecurityControls.js +3 -4
  414. package/src/features/classification/security-controls/SecurityControlsItem.js +20 -17
  415. package/src/features/classification/security-controls/SecurityControlsItem.scss +4 -0
  416. package/src/features/classification/security-controls/SecurityControlsModal.js +2 -2
  417. package/src/features/classification/security-controls/__tests__/SecurityControlsItem.test.js +10 -0
  418. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +6 -6
  419. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsItem.test.js.snap +35 -0
  420. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +2 -2
  421. package/src/features/classification/security-controls/__tests__/__snapshots__/utils.test.js.snap +20 -0
  422. package/src/features/classification/security-controls/__tests__/utils.test.js +38 -18
  423. package/src/features/classification/security-controls/messages.js +5 -0
  424. package/src/features/classification/security-controls/utils.js +51 -27
  425. package/src/features/collapsible-sidebar/CollapsibleSidebar.js +13 -5
  426. package/src/features/collapsible-sidebar/CollapsibleSidebar.scss +35 -3
  427. package/src/features/collapsible-sidebar/__tests__/CollapsibleSidebar.test.js +35 -0
  428. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebar.test.js.snap +1 -0
  429. package/src/features/content-explorer/content-explorer/ContentExplorer.scss +1 -1
  430. package/src/features/content-explorer/item-list/ItemList.js +1 -0
  431. package/src/features/content-explorer/item-list/ItemListName.js +3 -2
  432. package/src/features/content-explorer/item-list/__tests__/ItemListName.test.js +16 -2
  433. package/src/features/header-flyout/HeaderFlyout.js +4 -8
  434. package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +14 -11
  435. package/src/features/header-flyout/styles/HeaderFlyout.scss +54 -15
  436. package/src/features/header-flyout/styles/_variables.scss +4 -0
  437. package/src/features/message-center/components/message-center-modal/MessageCenterModal.js +1 -0
  438. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -0
  439. package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +0 -8
  440. package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +0 -16
  441. package/src/features/presence/PresenceCollaborator.js +81 -0
  442. package/src/features/presence/PresenceCollaborator.scss +28 -0
  443. package/src/features/presence/PresenceCollaboratorsList.js +7 -58
  444. package/src/features/presence/PresenceCollaboratorsList.scss +8 -35
  445. package/src/features/presence/__tests__/PresenceCollaborator.test.js +36 -0
  446. package/src/features/presence/__tests__/PresenceCollaboratorsList.test.js +13 -57
  447. package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +5 -0
  448. package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +3 -0
  449. package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +3 -0
  450. package/src/features/quick-search/QuickSearch.js +13 -1
  451. package/src/features/quick-search/__tests__/QuickSearch.test.js +17 -0
  452. package/src/features/unified-share-modal/SharedLinkSection.js +6 -27
  453. package/src/features/unified-share-modal/UnifiedShareForm.js +70 -14
  454. package/src/features/unified-share-modal/UnifiedShareModal.scss +3 -0
  455. package/src/features/unified-share-modal/__tests__/EmailForm.test.js +9 -0
  456. package/src/features/unified-share-modal/__tests__/SharedLinkSection.test.js +14 -4
  457. package/src/features/unified-share-modal/__tests__/UnifiedShareForm.test.js +53 -4
  458. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +9 -0
  459. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +0 -159
  460. package/src/features/unified-share-modal/flowTypes.js +6 -0
  461. package/src/features/unified-share-modal/messages.js +10 -0
  462. package/src/features/unified-share-modal/utils/__tests__/mergeContacts.test.js +23 -0
  463. package/src/features/unified-share-modal/utils/mergeContacts.js +4 -2
  464. package/src/icon/content/FileXbd32.js.flow +38 -0
  465. package/src/icon/content/FileXbd32.stories.tsx +13 -0
  466. package/src/icon/content/FileXbd32.tsx +37 -0
  467. package/src/icon/content/FileXdw32.js.flow +38 -0
  468. package/src/icon/content/FileXdw32.stories.tsx +13 -0
  469. package/src/icon/content/FileXdw32.tsx +37 -0
  470. package/src/icon/content/RetentionPolicyModifiable32.js.flow +31 -0
  471. package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +14 -0
  472. package/src/icon/content/RetentionPolicyModifiable32.tsx +29 -0
  473. package/src/icon/content/RetentionPolicyNonModifiable32.js.flow +31 -0
  474. package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +14 -0
  475. package/src/icon/content/RetentionPolicyNonModifiable32.tsx +29 -0
  476. package/src/icons/adobe-sign/README.md +1 -1
  477. package/src/icons/avatars/UnknownUserAvatar.tsx +7 -15
  478. package/src/icons/file-icon/FileIcon.js.flow +2 -2
  479. package/src/icons/file-icon/FileIcon.tsx +8 -2
  480. package/src/icons/file-icon/__tests__/FileIcon.test.tsx +28 -69
  481. package/src/icons/file-icon/__tests__/__snapshots__/FileIcon.test.tsx.snap +48 -34
  482. package/src/icons/general/IconSearch.js.flow +1 -1
  483. package/src/icons/general/IconSearch.tsx +1 -1
  484. package/src/icons/general/IconSearchJuicy.js.flow +26 -0
  485. package/src/icons/general/IconSearchJuicy.tsx +25 -0
  486. package/src/icons/general/README.md +5 -0
  487. package/src/icons/general/__tests__/IconSearchJuicy.test.tsx +38 -0
  488. package/src/icons/google-docs/IconGoogle.js.flow +57 -0
  489. package/src/icons/google-docs/IconGoogle.tsx +50 -0
  490. package/src/icons/google-docs/__tests__/IconGoogle.test.tsx +44 -0
  491. package/src/icons/item-icon/ItemIcon.tsx +4 -0
  492. package/src/icons/item-icon/__tests__/ItemIcon.test.tsx +47 -115
  493. package/src/icons/item-icon/__tests__/__snapshots__/ItemIcon.test.tsx.snap +229 -229
  494. package/src/icons/microsoft-office/IconOffice.js.flow +45 -0
  495. package/src/icons/microsoft-office/IconOffice.tsx +38 -0
  496. package/src/icons/microsoft-office/__tests__/IconOffice.test.tsx +44 -0
  497. package/src/illustration/EmailVerification140.js.flow +102 -0
  498. package/src/illustration/EmailVerification140.stories.tsx +13 -0
  499. package/src/illustration/EmailVerification140.tsx +100 -0
  500. package/src/styles/_variables.scss +1 -0
  501. package/src/styles/common/_forms.scss +6 -0
  502. package/src/styles/constants/_layout.scss +3 -0
  503. package/src/styles/constants/_media-queries.scss +15 -0
  504. package/src/styles/variables.js +10 -1
  505. package/src/styles/variables.json +10 -1
  506. package/src/styles/variables.ts +9 -0
  507. package/src/utils/Browser.js +10 -0
  508. package/src/utils/validators.js +25 -3
@@ -0,0 +1,31 @@
1
+ // @flow
2
+ /* eslint-disable react/jsx-sort-props */
3
+ import * as React from 'react';
4
+ import * as vars from '../../styles/variables';
5
+ import AccessibleSVG from '../../icons/accessible-svg';
6
+ import type { Icon } from '../../icons/flowTypes';
7
+
8
+ /**
9
+ * This is an auto-generated component and should not be edited
10
+ * manually in contributor pull requests.
11
+ *
12
+ * If you have problems with this component:
13
+ * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
14
+ *
15
+ * If there are missing features in this component:
16
+ * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
17
+ */
18
+
19
+ const RetentionPolicyNonModifiable32 = (props: Icon) => (
20
+ <AccessibleSVG width={32} height={32} viewBox="0 0 32 32" {...props}>
21
+ <g fill="none" fillRule="evenodd">
22
+ <path d="M6 0h20a6 6 0 016 6v20a6 6 0 01-6 6H6a6 6 0 01-6-6V6a6 6 0 016-6z" fill={vars.bdlLightBlue} />
23
+ <path
24
+ d="M21.5 15c1.607 0 2.918 1.203 2.996 2.715l.004.142v1.377c.886.406 1.5 1.3 1.5 2.337v1.858A2.571 2.571 0 0123.429 26H19.57A2.571 2.571 0 0117 23.429V21.57c0-1.037.615-1.932 1.5-2.338v-1.376c0-1.578 1.343-2.857 3-2.857zm-.653-7C21.484 8 22 8.551 22 9.23v4.802l-.248-.024L21.5 14l-.23.007-.228.02c-1.965.23-3.513 1.928-3.611 4.033l-.005.211v.258l-.079.064-.187.174a4.003 4.003 0 00-1.153 2.612l-.007.235V23.1l.006.23c.033.604.196 1.172.459 1.672L9.165 25c-.175-.007-.271-.423.026-.514.342-.13.814-.828.814-1.462V9.231c0-.68.593-1.231 1.23-1.231h9.612zM9 20v3.003A.985.985 0 018 24c-.568 0-1-.486-1-.997V20h2zm13.5 2h-2a.5.5 0 00-.09.992l.09.008h2a.5.5 0 100-1zm-1-5.571c-.79 0-1.439.582-1.496 1.322l-.004.106V19h3v-1.143c0-.789-.672-1.428-1.5-1.428z"
25
+ fill={vars.white}
26
+ />
27
+ </g>
28
+ </AccessibleSVG>
29
+ );
30
+
31
+ export default RetentionPolicyNonModifiable32;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icon/content/RetentionPolicyNonModifiable32.tsx"],"names":["React","vars","AccessibleSVG","RetentionPolicyNonModifiable32","props","bdlLightBlue","white"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,8BAA8B,GAAG,SAAjCA,8BAAiC,CAACC,KAAD;AAAA,SACnC,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AAAG,IAAA,IAAI,EAAC,MAAR;AAAe,IAAA,QAAQ,EAAC;AAAxB,KACI;AAAM,IAAA,CAAC,EAAC,mEAAR;AAA4E,IAAA,IAAI,EAAEH,IAAI,CAACI;AAAvF,IADJ,EAEI;AACI,IAAA,CAAC,EAAC,2uBADN;AAEI,IAAA,IAAI,EAAEJ,IAAI,CAACK;AAFf,IAFJ,CADJ,CADmC;AAAA,CAAvC;;AAYA,eAAeH,8BAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst RetentionPolicyNonModifiable32 = (props: SVGProps) => (\n <AccessibleSVG width={32} height={32} viewBox=\"0 0 32 32\" {...props}>\n <g fill=\"none\" fillRule=\"evenodd\">\n <path d=\"M6 0h20a6 6 0 016 6v20a6 6 0 01-6 6H6a6 6 0 01-6-6V6a6 6 0 016-6z\" fill={vars.bdlLightBlue} />\n <path\n d=\"M21.5 15c1.607 0 2.918 1.203 2.996 2.715l.004.142v1.377c.886.406 1.5 1.3 1.5 2.337v1.858A2.571 2.571 0 0123.429 26H19.57A2.571 2.571 0 0117 23.429V21.57c0-1.037.615-1.932 1.5-2.338v-1.376c0-1.578 1.343-2.857 3-2.857zm-.653-7C21.484 8 22 8.551 22 9.23v4.802l-.248-.024L21.5 14l-.23.007-.228.02c-1.965.23-3.513 1.928-3.611 4.033l-.005.211v.258l-.079.064-.187.174a4.003 4.003 0 00-1.153 2.612l-.007.235V23.1l.006.23c.033.604.196 1.172.459 1.672L9.165 25c-.175-.007-.271-.423.026-.514.342-.13.814-.828.814-1.462V9.231c0-.68.593-1.231 1.23-1.231h9.612zM9 20v3.003A.985.985 0 018 24c-.568 0-1-.486-1-.997V20h2zm13.5 2h-2a.5.5 0 00-.09.992l.09.008h2a.5.5 0 100-1zm-1-5.571c-.79 0-1.439.582-1.496 1.322l-.004.106V19h3v-1.143c0-.789-.672-1.428-1.5-1.428z\"\n fill={vars.white}\n />\n </g>\n </AccessibleSVG>\n);\n\nexport default RetentionPolicyNonModifiable32;\n"],"file":"RetentionPolicyNonModifiable32.js"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import RetentionPolicyNonModifiable32 from './RetentionPolicyNonModifiable32';
3
+ export var retentionPolicyNonModifiable32 = function retentionPolicyNonModifiable32() {
4
+ return React.createElement(RetentionPolicyNonModifiable32, null);
5
+ };
6
+ export default {
7
+ title: 'Icon|Content|RetentionPolicyNonModifiable32',
8
+ component: RetentionPolicyNonModifiable32,
9
+ parameters: {
10
+ notes: "`import RetentionPolicyNonModifiable32 from 'box-ui-elements/es/icon/content/RetentionPolicyNonModifiable32';`"
11
+ }
12
+ };
13
+ //# sourceMappingURL=RetentionPolicyNonModifiable32.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icon/content/RetentionPolicyNonModifiable32.stories.tsx"],"names":["React","RetentionPolicyNonModifiable32","retentionPolicyNonModifiable32","title","component","parameters","notes"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,8BAAP,MAA2C,kCAA3C;AAEA,OAAO,IAAMC,8BAA8B,GAAG,SAAjCA,8BAAiC;AAAA,SAAM,oBAAC,8BAAD,OAAN;AAAA,CAAvC;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,6CADI;AAEXC,EAAAA,SAAS,EAAEH,8BAFA;AAGXI,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EACD;AAFI;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport RetentionPolicyNonModifiable32 from './RetentionPolicyNonModifiable32';\n\nexport const retentionPolicyNonModifiable32 = () => <RetentionPolicyNonModifiable32 />;\n\nexport default {\n title: 'Icon|Content|RetentionPolicyNonModifiable32',\n component: RetentionPolicyNonModifiable32,\n parameters: {\n notes:\n \"`import RetentionPolicyNonModifiable32 from 'box-ui-elements/es/icon/content/RetentionPolicyNonModifiable32';`\",\n },\n};\n"],"file":"RetentionPolicyNonModifiable32.stories.js"}
@@ -8,10 +8,10 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
8
8
 
9
9
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
10
10
 
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
-
13
11
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
12
 
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
+
15
15
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
16
 
17
17
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -19,8 +19,8 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
19
19
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
20
 
21
21
  import * as React from 'react';
22
- import uniqueId from 'lodash/uniqueId';
23
22
  import AccessibleSVG from '../accessible-svg';
23
+ import * as vars from '../../styles/variables';
24
24
  var ICON_CLASS = 'unknown-user-avatar';
25
25
 
26
26
  var UnknownUserAvatar =
@@ -29,21 +29,9 @@ function (_React$PureComponent) {
29
29
  _inherits(UnknownUserAvatar, _React$PureComponent);
30
30
 
31
31
  function UnknownUserAvatar() {
32
- var _getPrototypeOf2;
33
-
34
- var _this;
35
-
36
32
  _classCallCheck(this, UnknownUserAvatar);
37
33
 
38
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
39
- args[_key] = arguments[_key];
40
- }
41
-
42
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(UnknownUserAvatar)).call.apply(_getPrototypeOf2, [this].concat(args)));
43
-
44
- _defineProperty(_assertThisInitialized(_this), "idPrefix", "".concat(uniqueId(ICON_CLASS), "-"));
45
-
46
- return _this;
34
+ return _possibleConstructorReturn(this, _getPrototypeOf(UnknownUserAvatar).apply(this, arguments));
47
35
  }
48
36
 
49
37
  _createClass(UnknownUserAvatar, [{
@@ -58,25 +46,13 @@ function (_React$PureComponent) {
58
46
  className: "".concat(ICON_CLASS, " ").concat(className),
59
47
  height: height,
60
48
  title: title,
61
- viewBox: "0 0 28 28",
49
+ viewBox: "0 0 16 16",
62
50
  width: width
63
- }, React.createElement("defs", null, React.createElement("circle", {
64
- cx: "14",
65
- cy: "14",
66
- id: "".concat(this.idPrefix, "a"),
67
- r: "14"
68
- })), React.createElement("g", {
69
- fill: "none",
70
- fillRule: "evenodd"
71
- }, React.createElement("use", {
72
- className: "background-fill-color",
73
- fill: "#EDEDED",
74
- xlinkHref: "#".concat(this.idPrefix, "a")
75
- }), React.createElement("path", {
76
- className: "fill-color",
77
- d: "M5.5 25.1C6.7 21 10 18 14 18s7.3 3 8.5 7.1a14 14 0 0 1-17 0zM14 16a5 5 0 1 1 0-10 5 5 0 0 1 0 10z",
78
- fill: "#C3C3C3"
79
- })));
51
+ }, React.createElement("path", {
52
+ fill: vars.bdlGray50,
53
+ fillRule: "evenodd",
54
+ d: "M8 0a8 8 0 110 16A8 8 0 018 0zm0 9.5c-1.21 0-2.293.413-3.232 1.096-.56.407-.953.817-1.168 1.104a.5.5 0 00.8.6c.035-.047.114-.141.234-.267.205-.214.447-.428.722-.629.78-.567 1.665-.904 2.644-.904.979 0 1.865.337 2.644.904.275.2.517.415.722.63.12.125.199.219.234.266a.5.5 0 00.8-.6c-.215-.287-.607-.697-1.168-1.104C10.293 9.913 9.21 9.5 8 9.5zm0-6a2.5 2.5 0 000 5 2.5 2.5 0 000-5zm0 1a1.5 1.5 0 11-.001 3.001A1.5 1.5 0 018 4.5z"
55
+ }));
80
56
  }
81
57
  }]);
82
58
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icons/avatars/UnknownUserAvatar.tsx"],"names":["React","uniqueId","AccessibleSVG","ICON_CLASS","UnknownUserAvatar","props","className","height","title","width","idPrefix","PureComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,iBAArB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AAIA,IAAMC,UAAU,GAAG,qBAAnB;;IAEMC,iB;;;;;;;;;;;;;;;;;;yEAOYH,QAAQ,CAACE,UAAD,C;;;;;;;6BAEb;AAAA,wBACuC,KAAKE,KAD5C;AAAA,UACGC,SADH,eACGA,SADH;AAAA,UACcC,MADd,eACcA,MADd;AAAA,UACsBC,KADtB,eACsBA,KADtB;AAAA,UAC6BC,KAD7B,eAC6BA,KAD7B;AAEL,aACI,oBAAC,aAAD;AACI,QAAA,SAAS,YAAKN,UAAL,cAAmBG,SAAnB,CADb;AAEI,QAAA,MAAM,EAAEC,MAFZ;AAGI,QAAA,KAAK,EAAEC,KAHX;AAII,QAAA,OAAO,EAAC,WAJZ;AAKI,QAAA,KAAK,EAAEC;AALX,SAOI,kCACI;AAAQ,QAAA,EAAE,EAAC,IAAX;AAAgB,QAAA,EAAE,EAAC,IAAnB;AAAwB,QAAA,EAAE,YAAK,KAAKC,QAAV,MAA1B;AAAiD,QAAA,CAAC,EAAC;AAAnD,QADJ,CAPJ,EAUI;AAAG,QAAA,IAAI,EAAC,MAAR;AAAe,QAAA,QAAQ,EAAC;AAAxB,SACI;AAAK,QAAA,SAAS,EAAC,uBAAf;AAAuC,QAAA,IAAI,EAAC,SAA5C;AAAsD,QAAA,SAAS,aAAM,KAAKA,QAAX;AAA/D,QADJ,EAEI;AACI,QAAA,SAAS,EAAC,YADd;AAEI,QAAA,CAAC,EAAC,mGAFN;AAGI,QAAA,IAAI,EAAC;AAHT,QAFJ,CAVJ,CADJ;AAqBH;;;;EAhC2BV,KAAK,CAACW,a;;gBAAhCP,iB,kBACoB;AAClBE,EAAAA,SAAS,EAAE,EADO;AAElBC,EAAAA,MAAM,EAAE,EAFU;AAGlBE,EAAAA,KAAK,EAAE;AAHW,C;;AAkC1B,eAAeL,iBAAf","sourcesContent":["import * as React from 'react';\nimport uniqueId from 'lodash/uniqueId';\n\nimport AccessibleSVG from '../accessible-svg';\n\nimport { TwoTonedIcon } from '../iconTypes';\n\nconst ICON_CLASS = 'unknown-user-avatar';\n\nclass UnknownUserAvatar extends React.PureComponent<TwoTonedIcon> {\n static defaultProps = {\n className: '',\n height: 28,\n width: 28,\n };\n\n idPrefix = `${uniqueId(ICON_CLASS)}-`;\n\n render() {\n const { className, height, title, width } = this.props;\n return (\n <AccessibleSVG\n className={`${ICON_CLASS} ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 28 28\"\n width={width}\n >\n <defs>\n <circle cx=\"14\" cy=\"14\" id={`${this.idPrefix}a`} r=\"14\" />\n </defs>\n <g fill=\"none\" fillRule=\"evenodd\">\n <use className=\"background-fill-color\" fill=\"#EDEDED\" xlinkHref={`#${this.idPrefix}a`} />\n <path\n className=\"fill-color\"\n d=\"M5.5 25.1C6.7 21 10 18 14 18s7.3 3 8.5 7.1a14 14 0 0 1-17 0zM14 16a5 5 0 1 1 0-10 5 5 0 0 1 0 10z\"\n fill=\"#C3C3C3\"\n />\n </g>\n </AccessibleSVG>\n );\n }\n}\n\nexport default UnknownUserAvatar;\n"],"file":"UnknownUserAvatar.js"}
1
+ {"version":3,"sources":["../../../src/icons/avatars/UnknownUserAvatar.tsx"],"names":["React","AccessibleSVG","vars","ICON_CLASS","UnknownUserAvatar","props","className","height","title","width","bdlGray50","PureComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AAGA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AAEA,IAAMC,UAAU,GAAG,qBAAnB;;IAEMC,iB;;;;;;;;;;;;;6BAOO;AAAA,wBACuC,KAAKC,KAD5C;AAAA,UACGC,SADH,eACGA,SADH;AAAA,UACcC,MADd,eACcA,MADd;AAAA,UACsBC,KADtB,eACsBA,KADtB;AAAA,UAC6BC,KAD7B,eAC6BA,KAD7B;AAEL,aACI,oBAAC,aAAD;AACI,QAAA,SAAS,YAAKN,UAAL,cAAmBG,SAAnB,CADb;AAEI,QAAA,MAAM,EAAEC,MAFZ;AAGI,QAAA,KAAK,EAAEC,KAHX;AAII,QAAA,OAAO,EAAC,WAJZ;AAKI,QAAA,KAAK,EAAEC;AALX,SAOI;AACI,QAAA,IAAI,EAAEP,IAAI,CAACQ,SADf;AAEI,QAAA,QAAQ,EAAC,SAFb;AAGI,QAAA,CAAC,EAAC;AAHN,QAPJ,CADJ;AAeH;;;;EAxB2BV,KAAK,CAACW,a;;gBAAhCP,iB,kBACoB;AAClBE,EAAAA,SAAS,EAAE,EADO;AAElBC,EAAAA,MAAM,EAAE,EAFU;AAGlBE,EAAAA,KAAK,EAAE;AAHW,C;;AA0B1B,eAAeL,iBAAf","sourcesContent":["import * as React from 'react';\n\nimport AccessibleSVG from '../accessible-svg';\n\nimport { TwoTonedIcon } from '../iconTypes';\nimport * as vars from '../../styles/variables';\n\nconst ICON_CLASS = 'unknown-user-avatar';\n\nclass UnknownUserAvatar extends React.PureComponent<TwoTonedIcon> {\n static defaultProps = {\n className: '',\n height: 28,\n width: 28,\n };\n\n render() {\n const { className, height, title, width } = this.props;\n return (\n <AccessibleSVG\n className={`${ICON_CLASS} ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 16 16\"\n width={width}\n >\n <path\n fill={vars.bdlGray50}\n fillRule=\"evenodd\"\n d=\"M8 0a8 8 0 110 16A8 8 0 018 0zm0 9.5c-1.21 0-2.293.413-3.232 1.096-.56.407-.953.817-1.168 1.104a.5.5 0 00.8.6c.035-.047.114-.141.234-.267.205-.214.447-.428.722-.629.78-.567 1.665-.904 2.644-.904.979 0 1.865.337 2.644.904.275.2.517.415.722.63.12.125.199.219.234.266a.5.5 0 00.8-.6c-.215-.287-.607-.697-1.168-1.104C10.293 9.913 9.21 9.5 8 9.5zm0-6a2.5 2.5 0 000 5 2.5 2.5 0 000-5zm0 1a1.5 1.5 0 11-.001 3.001A1.5 1.5 0 018 4.5z\"\n />\n </AccessibleSVG>\n );\n }\n}\n\nexport default UnknownUserAvatar;\n"],"file":"UnknownUserAvatar.js"}
@@ -24,6 +24,8 @@ import IconFileThreeD from '../../icon/content/FileThreeD32';
24
24
  import IconFileVector from '../../icon/content/FileVector32';
25
25
  import IconFileVideo from '../../icon/content/FileVideo32';
26
26
  import IconFileWordDocument from '../../icon/content/FileWord32';
27
+ import IconFileXbd from '../../icon/content/FileXbd32';
28
+ import IconFileXdw from '../../icon/content/FileXdw32';
27
29
  import IconFileZip from '../../icon/content/FileZip32';
28
30
  var Components = {
29
31
  IconFileAudio: IconFileAudio,
@@ -52,6 +54,8 @@ var Components = {
52
54
  IconFileVector: IconFileVector,
53
55
  IconFileVideo: IconFileVideo,
54
56
  IconFileWordDocument: IconFileWordDocument,
57
+ IconFileXbd: IconFileXbd,
58
+ IconFileXdw: IconFileXdw,
55
59
  IconFileZip: IconFileZip
56
60
  };
57
61
 
@@ -66,7 +70,7 @@ var EXTENSIONS = {
66
70
  IconFileAudio: mirror(['aac', 'aif', 'aifc', 'aiff', 'amr', 'au', 'flac', 'm3u', 'm4a', 'mid', 'mp3', 'ra', 'wav', 'wma', 'wpl']),
67
71
  IconFileBoxNote: mirror(['boxnote']),
68
72
  IconFileCode: mirror(['as', 'as3', 'asm', 'aspx', 'c', 'cpp', 'bat', 'c', 'cc', 'cmake', 'cs', 'css', 'cxx', 'db', 'diff', 'erb', 'groovy', 'h', 'haml', 'hh', 'htm', 'html', 'java', 'js', 'less', 'm', 'make', 'md', 'ml', 'mm', 'php', 'pl', 'plist', 'properties', 'py', 'rb', 'sass', 'scala', 'script', 'scm', 'sml', 'sql', 'sh', 'wabba', 'yaml']),
69
- IconFileDocument: mirror(['csv', 'dot', 'dotx', 'msg', 'odt', 'rtf', 'tsv', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),
73
+ IconFileDocument: mirror(['dot', 'dotx', 'msg', 'odt', 'rtf', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),
70
74
  IconFileDwg: mirror(['dwg', 'dwgzip']),
71
75
  IconFileExcelSpreadsheet: mirror(['xls', 'xlsx', 'xlsm', 'xlsb']),
72
76
  IconFileGoogleDocs: mirror(['gdoc']),
@@ -83,11 +87,13 @@ var EXTENSIONS = {
83
87
  IconFilePresentation: mirror(['odp', 'otp', 'pot', 'potx']),
84
88
  IconFilePowerpointPresentation: mirror(['ppt', 'pptx', 'pptm']),
85
89
  IconFilePhotoshop: mirror(['psd']),
86
- IconFileSpreadsheet: mirror(['ods', 'xlt', 'xltx']),
90
+ IconFileSpreadsheet: mirror(['csv', 'ods', 'tsv', 'xlt', 'xltx']),
87
91
  IconFileText: mirror(['txt', 'vi', 'vim', 'webdoc']),
88
92
  IconFileThreeD: mirror(['3ds', 'dae', 'fbx', 'obj', 'ply', 'stl']),
89
93
  IconFileVideo: mirror(['3g2', '3gp', 'avi', 'flv', 'm2v', 'm2ts', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'ogg', 'mts', 'qt', 'wmv']),
90
94
  IconFileWordDocument: mirror(['docx', 'doc', 'docm']),
95
+ IconFileXbd: mirror(['xbd']),
96
+ IconFileXdw: mirror(['xdw']),
91
97
  IconFileZip: mirror(['rar', 'tgz', 'zip'])
92
98
  };
93
99
 
@@ -130,7 +130,7 @@ const EXTENSIONS = {
130
130
  'wabba',
131
131
  'yaml',
132
132
  ]),
133
- IconFileDocument: mirror(['csv', 'dot', 'dotx', 'msg', 'odt', 'rtf', 'tsv', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),
133
+ IconFileDocument: mirror(['dot', 'dotx', 'msg', 'odt', 'rtf', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),
134
134
  IconFileDwg: mirror(['dwg', 'dwgzip']),
135
135
  IconFileExcelSpreadsheet: mirror(['xls', 'xlsx', 'xlsm', 'xlsb']),
136
136
  IconFileGoogleDocs: mirror(['gdoc']),
@@ -161,7 +161,7 @@ const EXTENSIONS = {
161
161
  IconFilePresentation: mirror(['odp', 'otp', 'pot', 'potx']),
162
162
  IconFilePowerpointPresentation: mirror(['ppt', 'pptx', 'pptm']),
163
163
  IconFilePhotoshop: mirror(['psd']),
164
- IconFileSpreadsheet: mirror(['ods', 'xlt', 'xltx']),
164
+ IconFileSpreadsheet: mirror(['csv', 'ods', 'tsv', 'xlt', 'xltx']),
165
165
  IconFileText: mirror(['txt', 'vi', 'vim', 'webdoc']),
166
166
  IconFileThreeD: mirror(['3ds', 'dae', 'fbx', 'obj', 'ply', 'stl']),
167
167
  IconFileVideo: mirror([
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icons/file-icon/FileIcon.tsx"],"names":["React","IconFileAudio","IconFileBoxNote","IconFileCode","IconFileDefault","IconFileDwg","IconFileExcelSpreadsheet","IconFileGoogleDocs","IconFileGoogleSheets","IconFileGoogleSlides","IconFileIllustrator","IconFileImage","IconFileIndesign","IconFileKeynote","IconFileNumbers","IconFilePages","IconFilePDF","IconFilePhotoshop","IconFilePowerpointPresentation","IconFilePresentation","IconFileSpreadsheet","IconFileText","IconFileThreeD","IconFileVector","IconFileVideo","IconFileWordDocument","IconFileZip","Components","IconFileDocument","mirror","values","reduce","prev","cur","EXTENSIONS","getFileIconComponent","extension","extensionComponentName","Object","keys","filter","extensionComponent","toLowerCase","FileIcon","dimension","title","IconComponent"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAIA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,YAAP,MAAyB,+BAAzB;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,WAAP,MAAwB,8BAAxB;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AACA,OAAOC,kBAAP,MAA+B,+BAA/B;AACA,OAAOC,oBAAP,MAAiC,iCAAjC;AACA,OAAOC,oBAAP,MAAiC,iCAAjC;AACA,OAAOC,mBAAP,MAAgC,sCAAhC;AACA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,gBAAP,MAA6B,mCAA7B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,WAAP,MAAwB,8BAAxB;AACA,OAAOC,iBAAP,MAA8B,oCAA9B;AACA,OAAOC,8BAAP,MAA2C,qCAA3C;AACA,OAAOC,oBAAP,MAAiC,uCAAjC;AACA,OAAOC,mBAAP,MAAgC,sCAAhC;AACA,OAAOC,YAAP,MAAyB,+BAAzB;AACA,OAAOC,cAAP,MAA2B,iCAA3B;AACA,OAAOC,cAAP,MAA2B,iCAA3B;AACA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,oBAAP,MAAiC,+BAAjC;AACA,OAAOC,WAAP,MAAwB,8BAAxB;AAEA,IAAMC,UAA+D,GAAG;AACpE1B,EAAAA,aAAa,EAAbA,aADoE;AAEpEC,EAAAA,eAAe,EAAfA,eAFoE;AAGpEC,EAAAA,YAAY,EAAZA,YAHoE;AAIpEC,E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MAAM,CAACC,IAAP,CAAYL,UAAZ,EAAwBM,MAAxB,CAC3B,UAAAC,kBAAkB;AAAA,WAAI,CAAC,CAACP,UAAU,CAACO,kBAAD,CAAV,CAA+BL,SAAS,CAACM,WAAV,EAA/B,CAAN;AAAA,GADS,EAE7B,CAF6B,CAA/B;AAGA,SAAOL,sBAAsB,IAAI,iBAAjC;AACH,CALD;;AAgBA,IAAMM,QAAQ,GAAG,SAAXA,QAAW,OAA8D;AAAA,4BAA3DC,SAA2D;AAAA,MAA3DA,SAA2D,+BAA/C,EAA+C;AAAA,4BAA3CR,SAA2C;AAAA,MAA3CA,SAA2C,+BAA/B,EAA+B;AAAA,MAA3BS,KAA2B,QAA3BA,KAA2B;AAC3E,MAAMC,aAAa,GAAGnB,UAAU,CAACQ,oBAAoB,CAACC,SAAD,CAArB,CAAhC;AACA,SAAO,oBAAC,aAAD;AAAe,IAAA,MAAM,EAAEQ,SAAvB;AAAkC,IAAA,KAAK,EAAEC,KAAzC;AAAgD,IAAA,KAAK,EAAED;AAAvD,IAAP;AACH,CAHD;;AAKA,eAAeD,QAAf","sourcesContent":["import * as React from 'react';\n\nimport { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\nimport IconFileAudio from '../../icon/content/FileAudio32';\nimport IconFileBoxNote from '../../icon/content/FileBoxNote32';\nimport IconFileCode from '../../icon/content/FileCode32';\nimport IconFileDefault from '../../icon/content/FileDefault32';\nimport IconFileDwg from '../../icon/content/FileDwg32';\nimport IconFileExcelSpreadsheet from '../../icon/content/FileExcel32';\nimport IconFileGoogleDocs from '../../icon/content/FileDocs32';\nimport IconFileGoogleSheets from '../../icon/content/FileSheets32';\nimport IconFileGoogleSlides from '../../icon/content/FileSlides32';\nimport IconFileIllustrator from '../../icon/content/FileIllustrator32';\nimport IconFileImage from '../../icon/content/FileImage32';\nimport IconFileIndesign from '../../icon/content/FileIndesign32';\nimport IconFileKeynote from '../../icon/content/FileKeynote32';\nimport IconFileNumbers from '../../icon/content/FileNumbers32';\nimport IconFilePages from '../../icon/content/FilePages32';\nimport IconFilePDF from '../../icon/content/FilePdf32';\nimport IconFilePhotoshop from '../../icon/content/FilePhotoshop32';\nimport IconFilePowerpointPresentation from '../../icon/content/FilePowerpoint32';\nimport IconFilePresentation from '../../icon/content/FilePresentation32';\nimport IconFileSpreadsheet from '../../icon/content/FileSpreadsheet32';\nimport IconFileText from '../../icon/content/FileText32';\nimport IconFileThreeD from '../../icon/content/FileThreeD32';\nimport IconFileVector from '../../icon/content/FileVector32';\nimport IconFileVideo from '../../icon/content/FileVideo32';\nimport IconFileWordDocument from '../../icon/content/FileWord32';\nimport IconFileZip from '../../icon/content/FileZip32';\n\nconst Components: { [key: string]: (props: SVGProps) => JSX.Element } = {\n IconFileAudio,\n IconFileBoxNote,\n IconFileCode,\n IconFileDefault,\n IconFileDocument: IconFileText,\n IconFileDwg,\n IconFileExcelSpreadsheet,\n IconFileGoogleDocs,\n IconFileGoogleSheets,\n IconFileGoogleSlides,\n IconFileIllustrator,\n IconFileImage,\n IconFileIndesign,\n IconFileKeynote,\n IconFileNumbers,\n IconFilePages,\n IconFilePDF,\n IconFilePhotoshop,\n IconFilePowerpointPresentation,\n IconFilePresentation,\n IconFileSpreadsheet,\n IconFileText,\n IconFileThreeD,\n IconFileVector,\n IconFileVideo,\n IconFileWordDocument,\n IconFileZip,\n};\n\nconst mirror = (values: Array<string>) =>\n values.reduce((prev: { [key: string]: string }, cur: string) => {\n prev[cur] = cur;\n return prev;\n }, {});\n\nconst EXTENSIONS: { [key: string]: { [key: string]: string } } = {\n IconFileAudio: mirror([\n 'aac',\n 'aif',\n 'aifc',\n 'aiff',\n 'amr',\n 'au',\n 'flac',\n 'm3u',\n 'm4a',\n 'mid',\n 'mp3',\n 'ra',\n 'wav',\n 'wma',\n 'wpl',\n ]),\n IconFileBoxNote: mirror(['boxnote']),\n IconFileCode: mirror([\n 'as',\n 'as3',\n 'asm',\n 'aspx',\n 'c',\n 'cpp',\n 'bat',\n 'c',\n 'cc',\n 'cmake',\n 'cs',\n 'css',\n 'cxx',\n 'db',\n 'diff',\n 'erb',\n 'groovy',\n 'h',\n 'haml',\n 'hh',\n 'htm',\n 'html',\n 'java',\n 'js',\n 'less',\n 'm',\n 'make',\n 'md',\n 'ml',\n 'mm',\n 'php',\n 'pl',\n 'plist',\n 'properties',\n 'py',\n 'rb',\n 'sass',\n 'scala',\n 'script',\n 'scm',\n 'sml',\n 'sql',\n 'sh',\n 'wabba',\n 'yaml',\n ]),\n IconFileDocument: mirror(['csv', 'dot', 'dotx', 'msg', 'odt', 'rtf', 'tsv', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),\n IconFileDwg: mirror(['dwg', 'dwgzip']),\n IconFileExcelSpreadsheet: mirror(['xls', 'xlsx', 'xlsm', 'xlsb']),\n IconFileGoogleDocs: mirror(['gdoc']),\n IconFileGoogleSheets: mirror(['gsheet']),\n IconFileGoogleSlides: mirror(['gslide', 'gslides']),\n IconFileVector: mirror(['eps']),\n IconFileIllustrator: mirror(['ai']),\n IconFileIndesign: mirror(['idml', 'indd', 'indt', 'inx']),\n IconFileKeynote: mirror(['key']),\n IconFileNumbers: mirror(['numbers']),\n IconFilePages: mirror(['pages']),\n IconFileImage: mirror([\n 'bmp',\n 'gif',\n 'gdraw',\n 'jpeg',\n 'jpg',\n 'png',\n 'ps',\n 'svs',\n 'svg',\n 'tif',\n 'tiff',\n 'heic',\n 'heif',\n ]),\n IconFilePDF: mirror(['pdf']),\n IconFilePresentation: mirror(['odp', 'otp', 'pot', 'potx']),\n IconFilePowerpointPresentation: mirror(['ppt', 'pptx', 'pptm']),\n IconFilePhotoshop: mirror(['psd']),\n IconFileSpreadsheet: mirror(['ods', 'xlt', 'xltx']),\n IconFileText: mirror(['txt', 'vi', 'vim', 'webdoc']),\n IconFileThreeD: mirror(['3ds', 'dae', 'fbx', 'obj', 'ply', 'stl']),\n IconFileVideo: mirror([\n '3g2',\n '3gp',\n 'avi',\n 'flv',\n 'm2v',\n 'm2ts',\n 'm4v',\n 'mkv',\n 'mov',\n 'mp4',\n 'mpeg',\n 'mpg',\n 'ogg',\n 'mts',\n 'qt',\n 'wmv',\n ]),\n IconFileWordDocument: mirror(['docx', 'doc', 'docm']),\n IconFileZip: mirror(['rar', 'tgz', 'zip']),\n};\n\nconst getFileIconComponent = (extension = '') => {\n const extensionComponentName = Object.keys(EXTENSIONS).filter(\n extensionComponent => !!EXTENSIONS[extensionComponent][extension.toLowerCase()],\n )[0];\n return extensionComponentName || 'IconFileDefault';\n};\n\ninterface FileIconProps {\n /** Dimension of the icon. */\n dimension?: number;\n /** Extension of file to display icon for. Defaults to generic icon */\n extension?: string;\n /** A text-only string describing the icon if it's not purely decorative for accessibility */\n title?: string | React.ReactElement<string>;\n}\n\nconst FileIcon = ({ dimension = 32, extension = '', title }: FileIconProps) => {\n const IconComponent = Components[getFileIconComponent(extension)];\n return <IconComponent height={dimension} title={title} width={dimension} />;\n};\n\nexport default FileIcon;\n"],"file":"FileIcon.js"}
1
+ {"version":3,"sources":["../../../src/icons/file-icon/FileIcon.tsx"],"names":["React","IconFileAudio","IconFileBoxNote","IconFileCode","IconFileDefault","IconFileDwg","IconFileExcelSpreadsheet","IconFileGoogleDocs","IconFileGoogleSheets","IconFileGoogleSlides","IconFileIllustrator","IconFileImage","IconFileIndesign","IconFileKeynote","IconFileNumbers","IconFilePages","IconFilePDF","IconFilePhotoshop","IconFilePowerpointPresentation","IconFilePresentation","IconFileSpreadsheet","IconFileText","IconFileThreeD","IconFileVector","IconFileVideo","IconFileWordDocument","IconFileXbd","IconFileXdw","IconFileZip","Components","IconFileDocument","mirror","values","reduce","prev","cur","EXTENSIONS","getFileIconComponent","extension","extensionComponentName","Object","keys","filter","extensionComponent","toLowerCase","FileIcon","dimension","title","IconComponent"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAIA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAO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,GAAGC,MAAM,CAACC,IAAP,CAAYL,UAAZ,EAAwBM,MAAxB,CAC3B,UAAAC,kBAAkB;AAAA,WAAI,CAAC,CAACP,UAAU,CAACO,kBAAD,CAAV,CAA+BL,SAAS,CAACM,WAAV,EAA/B,CAAN;AAAA,GADS,EAE7B,CAF6B,CAA/B;AAGA,SAAOL,sBAAsB,IAAI,iBAAjC;AACH,CALD;;AAgBA,IAAMM,QAAQ,GAAG,SAAXA,QAAW,OAA8D;AAAA,4BAA3DC,SAA2D;AAAA,MAA3DA,SAA2D,+BAA/C,EAA+C;AAAA,4BAA3CR,SAA2C;AAAA,MAA3CA,SAA2C,+BAA/B,EAA+B;AAAA,MAA3BS,KAA2B,QAA3BA,KAA2B;AAC3E,MAAMC,aAAa,GAAGnB,UAAU,CAACQ,oBAAoB,CAACC,SAAD,CAArB,CAAhC;AACA,SAAO,oBAAC,aAAD;AAAe,IAAA,MAAM,EAAEQ,SAAvB;AAAkC,IAAA,KAAK,EAAEC,KAAzC;AAAgD,IAAA,KAAK,EAAED;AAAvD,IAAP;AACH,CAHD;;AAKA,eAAeD,QAAf","sourcesContent":["import * as React from 'react';\n\nimport { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\nimport IconFileAudio from '../../icon/content/FileAudio32';\nimport IconFileBoxNote from '../../icon/content/FileBoxNote32';\nimport IconFileCode from '../../icon/content/FileCode32';\nimport IconFileDefault from '../../icon/content/FileDefault32';\nimport IconFileDwg from '../../icon/content/FileDwg32';\nimport IconFileExcelSpreadsheet from '../../icon/content/FileExcel32';\nimport IconFileGoogleDocs from '../../icon/content/FileDocs32';\nimport IconFileGoogleSheets from '../../icon/content/FileSheets32';\nimport IconFileGoogleSlides from '../../icon/content/FileSlides32';\nimport IconFileIllustrator from '../../icon/content/FileIllustrator32';\nimport IconFileImage from '../../icon/content/FileImage32';\nimport IconFileIndesign from '../../icon/content/FileIndesign32';\nimport IconFileKeynote from '../../icon/content/FileKeynote32';\nimport IconFileNumbers from '../../icon/content/FileNumbers32';\nimport IconFilePages from '../../icon/content/FilePages32';\nimport IconFilePDF from '../../icon/content/FilePdf32';\nimport IconFilePhotoshop from '../../icon/content/FilePhotoshop32';\nimport IconFilePowerpointPresentation from '../../icon/content/FilePowerpoint32';\nimport IconFilePresentation from '../../icon/content/FilePresentation32';\nimport IconFileSpreadsheet from '../../icon/content/FileSpreadsheet32';\nimport IconFileText from '../../icon/content/FileText32';\nimport IconFileThreeD from '../../icon/content/FileThreeD32';\nimport IconFileVector from '../../icon/content/FileVector32';\nimport IconFileVideo from '../../icon/content/FileVideo32';\nimport IconFileWordDocument from '../../icon/content/FileWord32';\nimport IconFileXbd from '../../icon/content/FileXbd32';\nimport IconFileXdw from '../../icon/content/FileXdw32';\nimport IconFileZip from '../../icon/content/FileZip32';\n\nconst Components: { [key: string]: (props: SVGProps) => JSX.Element } = {\n IconFileAudio,\n IconFileBoxNote,\n IconFileCode,\n IconFileDefault,\n IconFileDocument: IconFileText,\n IconFileDwg,\n IconFileExcelSpreadsheet,\n IconFileGoogleDocs,\n IconFileGoogleSheets,\n IconFileGoogleSlides,\n IconFileIllustrator,\n IconFileImage,\n IconFileIndesign,\n IconFileKeynote,\n IconFileNumbers,\n IconFilePages,\n IconFilePDF,\n IconFilePhotoshop,\n IconFilePowerpointPresentation,\n IconFilePresentation,\n IconFileSpreadsheet,\n IconFileText,\n IconFileThreeD,\n IconFileVector,\n IconFileVideo,\n IconFileWordDocument,\n IconFileXbd,\n IconFileXdw,\n IconFileZip,\n};\n\nconst mirror = (values: Array<string>) =>\n values.reduce((prev: { [key: string]: string }, cur: string) => {\n prev[cur] = cur;\n return prev;\n }, {});\n\nconst EXTENSIONS: { [key: string]: { [key: string]: string } } = {\n IconFileAudio: mirror([\n 'aac',\n 'aif',\n 'aifc',\n 'aiff',\n 'amr',\n 'au',\n 'flac',\n 'm3u',\n 'm4a',\n 'mid',\n 'mp3',\n 'ra',\n 'wav',\n 'wma',\n 'wpl',\n ]),\n IconFileBoxNote: mirror(['boxnote']),\n IconFileCode: mirror([\n 'as',\n 'as3',\n 'asm',\n 'aspx',\n 'c',\n 'cpp',\n 'bat',\n 'c',\n 'cc',\n 'cmake',\n 'cs',\n 'css',\n 'cxx',\n 'db',\n 'diff',\n 'erb',\n 'groovy',\n 'h',\n 'haml',\n 'hh',\n 'htm',\n 'html',\n 'java',\n 'js',\n 'less',\n 'm',\n 'make',\n 'md',\n 'ml',\n 'mm',\n 'php',\n 'pl',\n 'plist',\n 'properties',\n 'py',\n 'rb',\n 'sass',\n 'scala',\n 'script',\n 'scm',\n 'sml',\n 'sql',\n 'sh',\n 'wabba',\n 'yaml',\n ]),\n IconFileDocument: mirror(['dot', 'dotx', 'msg', 'odt', 'rtf', 'wpd', 'xhtml', 'xml', 'xsd', 'xsl']),\n IconFileDwg: mirror(['dwg', 'dwgzip']),\n IconFileExcelSpreadsheet: mirror(['xls', 'xlsx', 'xlsm', 'xlsb']),\n IconFileGoogleDocs: mirror(['gdoc']),\n IconFileGoogleSheets: mirror(['gsheet']),\n IconFileGoogleSlides: mirror(['gslide', 'gslides']),\n IconFileVector: mirror(['eps']),\n IconFileIllustrator: mirror(['ai']),\n IconFileIndesign: mirror(['idml', 'indd', 'indt', 'inx']),\n IconFileKeynote: mirror(['key']),\n IconFileNumbers: mirror(['numbers']),\n IconFilePages: mirror(['pages']),\n IconFileImage: mirror([\n 'bmp',\n 'gif',\n 'gdraw',\n 'jpeg',\n 'jpg',\n 'png',\n 'ps',\n 'svs',\n 'svg',\n 'tif',\n 'tiff',\n 'heic',\n 'heif',\n ]),\n IconFilePDF: mirror(['pdf']),\n IconFilePresentation: mirror(['odp', 'otp', 'pot', 'potx']),\n IconFilePowerpointPresentation: mirror(['ppt', 'pptx', 'pptm']),\n IconFilePhotoshop: mirror(['psd']),\n IconFileSpreadsheet: mirror(['csv', 'ods', 'tsv', 'xlt', 'xltx']),\n IconFileText: mirror(['txt', 'vi', 'vim', 'webdoc']),\n IconFileThreeD: mirror(['3ds', 'dae', 'fbx', 'obj', 'ply', 'stl']),\n IconFileVideo: mirror([\n '3g2',\n '3gp',\n 'avi',\n 'flv',\n 'm2v',\n 'm2ts',\n 'm4v',\n 'mkv',\n 'mov',\n 'mp4',\n 'mpeg',\n 'mpg',\n 'ogg',\n 'mts',\n 'qt',\n 'wmv',\n ]),\n IconFileWordDocument: mirror(['docx', 'doc', 'docm']),\n IconFileXbd: mirror(['xbd']),\n IconFileXdw: mirror(['xdw']),\n IconFileZip: mirror(['rar', 'tgz', 'zip']),\n};\n\nconst getFileIconComponent = (extension = '') => {\n const extensionComponentName = Object.keys(EXTENSIONS).filter(\n extensionComponent => !!EXTENSIONS[extensionComponent][extension.toLowerCase()],\n )[0];\n return extensionComponentName || 'IconFileDefault';\n};\n\ninterface FileIconProps {\n /** Dimension of the icon. */\n dimension?: number;\n /** Extension of file to display icon for. Defaults to generic icon */\n extension?: string;\n /** A text-only string describing the icon if it's not purely decorative for accessibility */\n title?: string | React.ReactElement<string>;\n}\n\nconst FileIcon = ({ dimension = 32, extension = '', title }: FileIconProps) => {\n const IconComponent = Components[getFileIconComponent(extension)];\n return <IconComponent height={dimension} title={title} width={dimension} />;\n};\n\nexport default FileIcon;\n"],"file":"FileIcon.js"}
@@ -4,7 +4,7 @@ import { bdlGray40 } from '../../styles/variables';
4
4
 
5
5
  var IconSearch = function IconSearch(_ref) {
6
6
  var _ref$className = _ref.className,
7
- className = _ref$className === void 0 ? 'icon-search' : _ref$className,
7
+ className = _ref$className === void 0 ? '' : _ref$className,
8
8
  _ref$color = _ref.color,
9
9
  color = _ref$color === void 0 ? bdlGray40 : _ref$color,
10
10
  _ref$height = _ref.height,
@@ -6,7 +6,7 @@ import { bdlGray40 } from '../../styles/variables';
6
6
 
7
7
  import type { Icon } from '../flowTypes';
8
8
 
9
- const IconSearch = ({ className = 'icon-search', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (
9
+ const IconSearch = ({ className = '', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (
10
10
  <AccessibleSVG
11
11
  className={`icon-search ${className}`}
12
12
  height={height}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icons/general/IconSearch.tsx"],"names":["React","AccessibleSVG","bdlGray40","IconSearch","className","color","height","title","width"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;;AAIA,IAAMC,UAAU,GAAG,SAAbA,UAAa;AAAA,4BAAGC,SAAH;AAAA,MAAGA,SAAH,+BAAe,aAAf;AAAA,wBAA8BC,KAA9B;AAAA,MAA8BA,KAA9B,2BAAsCH,SAAtC;AAAA,yBAAiDI,MAAjD;AAAA,MAAiDA,MAAjD,4BAA0D,EAA1D;AAAA,MAA8DC,KAA9D,QAA8DA,KAA9D;AAAA,wBAAqEC,KAArE;AAAA,MAAqEA,KAArE,2BAA6E,EAA7E;AAAA,SACf,oBAAC,aAAD;AACI,IAAA,SAAS,wBAAiBJ,SAAjB,CADb;AAEI,IAAA,MAAM,EAAEE,MAFZ;AAGI,IAAA,KAAK,EAAEC,KAHX;AAII,IAAA,OAAO,EAAC,WAJZ;AAKI,IAAA,KAAK,EAAEC;AALX,KAOI;AACI,IAAA,SAAS,EAAC,YADd;AAEI,IAAA,CAAC,EAAC,kQAFN;AAGI,IAAA,IAAI,EAAEH,KAHV;AAII,IAAA,QAAQ,EAAC;AAJb,IAPJ,CADe;AAAA,CAAnB;;AAiBA,eAAeF,UAAf","sourcesContent":["import * as React from 'react';\n\nimport AccessibleSVG from '../accessible-svg';\nimport { bdlGray40 } from '../../styles/variables';\n\nimport { Icon } from '../iconTypes';\n\nconst IconSearch = ({ className = 'icon-search', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (\n <AccessibleSVG\n className={`icon-search ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 14 14\"\n width={width}\n >\n <path\n className=\"fill-color\"\n d=\"M13.7,12.1L11.6,10l-1.1-0.2c0.9-1,1.4-2.4,1.4-3.9c0-3.3-2.7-6-6-6C2.7,0,0,2.7,0,6s2.7,6,6,6 c1.5,0,2.9-0.6,4-1.5l0.2,1l2.1,2.1c0.4,0.4,1,0.4,1.4,0l0,0C14.1,13.1,14.1,12.5,13.7,12.1z M6,10.4c-2.5,0-4.5-2-4.5-4.5 s2-4.5,4.5-4.5s4.5,2,4.5,4.5S8.4,10.4,6,10.4z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n </AccessibleSVG>\n);\n\nexport default IconSearch;\n"],"file":"IconSearch.js"}
1
+ {"version":3,"sources":["../../../src/icons/general/IconSearch.tsx"],"names":["React","AccessibleSVG","bdlGray40","IconSearch","className","color","height","title","width"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;;AAIA,IAAMC,UAAU,GAAG,SAAbA,UAAa;AAAA,4BAAGC,SAAH;AAAA,MAAGA,SAAH,+BAAe,EAAf;AAAA,wBAAmBC,KAAnB;AAAA,MAAmBA,KAAnB,2BAA2BH,SAA3B;AAAA,yBAAsCI,MAAtC;AAAA,MAAsCA,MAAtC,4BAA+C,EAA/C;AAAA,MAAmDC,KAAnD,QAAmDA,KAAnD;AAAA,wBAA0DC,KAA1D;AAAA,MAA0DA,KAA1D,2BAAkE,EAAlE;AAAA,SACf,oBAAC,aAAD;AACI,IAAA,SAAS,wBAAiBJ,SAAjB,CADb;AAEI,IAAA,MAAM,EAAEE,MAFZ;AAGI,IAAA,KAAK,EAAEC,KAHX;AAII,IAAA,OAAO,EAAC,WAJZ;AAKI,IAAA,KAAK,EAAEC;AALX,KAOI;AACI,IAAA,SAAS,EAAC,YADd;AAEI,IAAA,CAAC,EAAC,kQAFN;AAGI,IAAA,IAAI,EAAEH,KAHV;AAII,IAAA,QAAQ,EAAC;AAJb,IAPJ,CADe;AAAA,CAAnB;;AAiBA,eAAeF,UAAf","sourcesContent":["import * as React from 'react';\n\nimport AccessibleSVG from '../accessible-svg';\nimport { bdlGray40 } from '../../styles/variables';\n\nimport { Icon } from '../iconTypes';\n\nconst IconSearch = ({ className = '', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (\n <AccessibleSVG\n className={`icon-search ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 14 14\"\n width={width}\n >\n <path\n className=\"fill-color\"\n d=\"M13.7,12.1L11.6,10l-1.1-0.2c0.9-1,1.4-2.4,1.4-3.9c0-3.3-2.7-6-6-6C2.7,0,0,2.7,0,6s2.7,6,6,6 c1.5,0,2.9-0.6,4-1.5l0.2,1l2.1,2.1c0.4,0.4,1,0.4,1.4,0l0,0C14.1,13.1,14.1,12.5,13.7,12.1z M6,10.4c-2.5,0-4.5-2-4.5-4.5 s2-4.5,4.5-4.5s4.5,2,4.5,4.5S8.4,10.4,6,10.4z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n </AccessibleSVG>\n);\n\nexport default IconSearch;\n"],"file":"IconSearch.js"}
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import AccessibleSVG from '../accessible-svg';
3
+ import { bdlGray40 } from '../../styles/variables';
4
+
5
+ var IconSearchJuicy = function IconSearchJuicy(_ref) {
6
+ var _ref$className = _ref.className,
7
+ className = _ref$className === void 0 ? '' : _ref$className,
8
+ _ref$color = _ref.color,
9
+ color = _ref$color === void 0 ? bdlGray40 : _ref$color,
10
+ _ref$height = _ref.height,
11
+ height = _ref$height === void 0 ? 14 : _ref$height,
12
+ title = _ref.title,
13
+ _ref$width = _ref.width,
14
+ width = _ref$width === void 0 ? 14 : _ref$width;
15
+ return React.createElement(AccessibleSVG, {
16
+ className: "icon-search-juicy ".concat(className),
17
+ height: height,
18
+ title: title,
19
+ viewBox: "0 0 24 24",
20
+ width: width
21
+ }, React.createElement("path", {
22
+ className: "fill-color",
23
+ d: "M10.491 1.5a8.99 8.99 0 0 1 7.359 14.157l4.21 4.21a1.5 1.5 0 0 1 0 2.123l-.07.07a1.5 1.5 0 0 1-2.122 0l-4.211-4.21A8.99 8.99 0 1 1 10.491 1.5zm0 2.997a5.994 5.994 0 1 0 0 11.988 5.994 5.994 0 0 0 0-11.988z",
24
+ fill: color,
25
+ fillRule: "evenodd"
26
+ }));
27
+ };
28
+
29
+ export default IconSearchJuicy;
30
+ //# sourceMappingURL=IconSearchJuicy.js.map
@@ -0,0 +1,26 @@
1
+ // @flow
2
+ import * as React from 'react';
3
+
4
+ import AccessibleSVG from '../accessible-svg';
5
+ import { bdlGray40 } from '../../styles/variables';
6
+
7
+ import type { Icon } from '../flowTypes';
8
+
9
+ const IconSearchJuicy = ({ className = '', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (
10
+ <AccessibleSVG
11
+ className={`icon-search-juicy ${className}`}
12
+ height={height}
13
+ title={title}
14
+ viewBox="0 0 24 24"
15
+ width={width}
16
+ >
17
+ <path
18
+ className="fill-color"
19
+ d="M10.491 1.5a8.99 8.99 0 0 1 7.359 14.157l4.21 4.21a1.5 1.5 0 0 1 0 2.123l-.07.07a1.5 1.5 0 0 1-2.122 0l-4.211-4.21A8.99 8.99 0 1 1 10.491 1.5zm0 2.997a5.994 5.994 0 1 0 0 11.988 5.994 5.994 0 0 0 0-11.988z"
20
+ fill={color}
21
+ fillRule="evenodd"
22
+ />
23
+ </AccessibleSVG>
24
+ );
25
+
26
+ export default IconSearchJuicy;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icons/general/IconSearchJuicy.tsx"],"names":["React","AccessibleSVG","bdlGray40","IconSearchJuicy","className","color","height","title","width"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;;AAIA,IAAMC,eAAe,GAAG,SAAlBA,eAAkB;AAAA,4BAAGC,SAAH;AAAA,MAAGA,SAAH,+BAAe,EAAf;AAAA,wBAAmBC,KAAnB;AAAA,MAAmBA,KAAnB,2BAA2BH,SAA3B;AAAA,yBAAsCI,MAAtC;AAAA,MAAsCA,MAAtC,4BAA+C,EAA/C;AAAA,MAAmDC,KAAnD,QAAmDA,KAAnD;AAAA,wBAA0DC,KAA1D;AAAA,MAA0DA,KAA1D,2BAAkE,EAAlE;AAAA,SACpB,oBAAC,aAAD;AACI,IAAA,SAAS,8BAAuBJ,SAAvB,CADb;AAEI,IAAA,MAAM,EAAEE,MAFZ;AAGI,IAAA,KAAK,EAAEC,KAHX;AAII,IAAA,OAAO,EAAC,WAJZ;AAKI,IAAA,KAAK,EAAEC;AALX,KAOI;AACI,IAAA,SAAS,EAAC,YADd;AAEI,IAAA,CAAC,EAAC,+MAFN;AAGI,IAAA,IAAI,EAAEH,KAHV;AAII,IAAA,QAAQ,EAAC;AAJb,IAPJ,CADoB;AAAA,CAAxB;;AAiBA,eAAeF,eAAf","sourcesContent":["import * as React from 'react';\n\nimport AccessibleSVG from '../accessible-svg';\nimport { bdlGray40 } from '../../styles/variables';\n\nimport { Icon } from '../iconTypes';\n\nconst IconSearchJuicy = ({ className = '', color = bdlGray40, height = 14, title, width = 14 }: Icon) => (\n <AccessibleSVG\n className={`icon-search-juicy ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 24 24\"\n width={width}\n >\n <path\n className=\"fill-color\"\n d=\"M10.491 1.5a8.99 8.99 0 0 1 7.359 14.157l4.21 4.21a1.5 1.5 0 0 1 0 2.123l-.07.07a1.5 1.5 0 0 1-2.122 0l-4.211-4.21A8.99 8.99 0 1 1 10.491 1.5zm0 2.997a5.994 5.994 0 1 0 0 11.988 5.994 5.994 0 0 0 0-11.988z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n </AccessibleSVG>\n);\n\nexport default IconSearchJuicy;\n"],"file":"IconSearchJuicy.js"}
@@ -0,0 +1,89 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2
+
3
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
+
5
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
6
+
7
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
8
+
9
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
10
+
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+
13
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
+
15
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
+
17
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
18
+
19
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
+
21
+ import * as React from 'react';
22
+ import uniqueId from 'lodash/uniqueId';
23
+ import AccessibleSVG from '../accessible-svg';
24
+ var ICON_CLASS = 'icon-google';
25
+
26
+ var IconGoogle =
27
+ /*#__PURE__*/
28
+ function (_React$Component) {
29
+ _inherits(IconGoogle, _React$Component);
30
+
31
+ function IconGoogle() {
32
+ var _getPrototypeOf2;
33
+
34
+ var _this;
35
+
36
+ _classCallCheck(this, IconGoogle);
37
+
38
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
39
+ args[_key] = arguments[_key];
40
+ }
41
+
42
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(IconGoogle)).call.apply(_getPrototypeOf2, [this].concat(args)));
43
+
44
+ _defineProperty(_assertThisInitialized(_this), "idPrefix", "".concat(uniqueId(ICON_CLASS), "-"));
45
+
46
+ return _this;
47
+ }
48
+
49
+ _createClass(IconGoogle, [{
50
+ key: "render",
51
+ value: function render() {
52
+ var _this$props = this.props,
53
+ className = _this$props.className,
54
+ height = _this$props.height,
55
+ title = _this$props.title,
56
+ width = _this$props.width;
57
+ return React.createElement(AccessibleSVG, {
58
+ className: "".concat(ICON_CLASS, " ").concat(className),
59
+ height: height,
60
+ title: title,
61
+ viewBox: "0 0 14 14",
62
+ width: width
63
+ }, React.createElement("path", {
64
+ d: "M13.3684 7.12062C13.3684 6.59531 13.3258 6.21198 13.2336 5.81445H7.23511V8.18542H10.7561C10.6851 8.77463 10.3018 9.66198 9.44991 10.2582L9.43797 10.3376L11.3346 11.8069L11.466 11.82C12.6727 10.7055 13.3684 9.06567 13.3684 7.12062Z",
65
+ fill: "#4285F4"
66
+ }), React.createElement("path", {
67
+ d: "M7.23502 13.3675C8.95999 13.3675 10.4081 12.7996 11.4659 11.82L9.44982 10.2582C8.91032 10.6344 8.18623 10.8971 7.23502 10.8971C5.54552 10.8971 4.11158 9.78262 3.60042 8.24219L3.52549 8.24855L1.55338 9.77479L1.52759 9.84648C2.5782 11.9335 4.73623 13.3675 7.23502 13.3675Z",
68
+ fill: "#34A853"
69
+ }), React.createElement("path", {
70
+ d: "M3.60049 8.24224C3.46561 7.84472 3.38756 7.41876 3.38756 6.97866C3.38756 6.53851 3.46561 6.1126 3.59339 5.71507L3.58982 5.63041L1.59299 4.07965L1.52766 4.11073C1.09465 4.97679 0.846191 5.94934 0.846191 6.97866C0.846191 8.00798 1.09465 8.98048 1.52766 9.84654L3.60049 8.24224Z",
71
+ fill: "#FBBC05"
72
+ }), React.createElement("path", {
73
+ d: "M7.23502 3.06008C8.43469 3.06008 9.24394 3.57829 9.70537 4.01134L11.5085 2.25083C10.4011 1.22152 8.96 0.589722 7.23502 0.589722C4.73623 0.589722 2.5782 2.02366 1.52759 4.11069L3.59332 5.71503C4.11158 4.1746 5.54552 3.06008 7.23502 3.06008Z",
74
+ fill: "#EB4335"
75
+ }));
76
+ }
77
+ }]);
78
+
79
+ return IconGoogle;
80
+ }(React.Component);
81
+
82
+ _defineProperty(IconGoogle, "defaultProps", {
83
+ className: '',
84
+ height: 30,
85
+ width: 30
86
+ });
87
+
88
+ export default IconGoogle;
89
+ //# sourceMappingURL=IconGoogle.js.map
@@ -0,0 +1,57 @@
1
+ // @flow
2
+ import * as React from 'react';
3
+ import uniqueId from 'lodash/uniqueId';
4
+
5
+ import AccessibleSVG from '../accessible-svg';
6
+
7
+ const ICON_CLASS = 'icon-google';
8
+
9
+ type Props = {
10
+ className: string,
11
+ height?: number,
12
+ /** A text-only string describing the icon if it's not purely decorative for accessibility */
13
+ title?: string | React.Element<any>,
14
+ width?: number,
15
+ };
16
+
17
+ class IconGoogleDefault extends React.Component<Props> {
18
+ static defaultProps = {
19
+ className: '',
20
+ height: 30,
21
+ width: 30,
22
+ };
23
+
24
+ idPrefix = `${uniqueId(ICON_CLASS)}-`;
25
+
26
+ render() {
27
+ const { className, height, title, width } = this.props;
28
+ return (
29
+ <AccessibleSVG
30
+ className={`${ICON_CLASS} ${className}`}
31
+ height={height}
32
+ title={title}
33
+ viewBox="0 0 14 14"
34
+ width={width}
35
+ >
36
+ <path
37
+ d="M13.3684 7.12062C13.3684 6.59531 13.3258 6.21198 13.2336 5.81445H7.23511V8.18542H10.7561C10.6851 8.77463 10.3018 9.66198 9.44991 10.2582L9.43797 10.3376L11.3346 11.8069L11.466 11.82C12.6727 10.7055 13.3684 9.06567 13.3684 7.12062Z"
38
+ fill="#4285F4"
39
+ />
40
+ <path
41
+ d="M7.23502 13.3675C8.95999 13.3675 10.4081 12.7996 11.4659 11.82L9.44982 10.2582C8.91032 10.6344 8.18623 10.8971 7.23502 10.8971C5.54552 10.8971 4.11158 9.78262 3.60042 8.24219L3.52549 8.24855L1.55338 9.77479L1.52759 9.84648C2.5782 11.9335 4.73623 13.3675 7.23502 13.3675Z"
42
+ fill="#34A853"
43
+ />
44
+ <path
45
+ d="M3.60049 8.24224C3.46561 7.84472 3.38756 7.41876 3.38756 6.97866C3.38756 6.53851 3.46561 6.1126 3.59339 5.71507L3.58982 5.63041L1.59299 4.07965L1.52766 4.11073C1.09465 4.97679 0.846191 5.94934 0.846191 6.97866C0.846191 8.00798 1.09465 8.98048 1.52766 9.84654L3.60049 8.24224Z"
46
+ fill="#FBBC05"
47
+ />
48
+ <path
49
+ d="M7.23502 3.06008C8.43469 3.06008 9.24394 3.57829 9.70537 4.01134L11.5085 2.25083C10.4011 1.22152 8.96 0.589722 7.23502 0.589722C4.73623 0.589722 2.5782 2.02366 1.52759 4.11069L3.59332 5.71503C4.11158 4.1746 5.54552 3.06008 7.23502 3.06008Z"
50
+ fill="#EB4335"
51
+ />
52
+ </AccessibleSVG>
53
+ );
54
+ }
55
+ }
56
+
57
+ export default IconGoogleDefault;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icons/google-docs/IconGoogle.tsx"],"names":["React","uniqueId","AccessibleSVG","ICON_CLASS","IconGoogle","props","className","height","title","width","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,iBAArB;AAEA,OAAOC,aAAP,MAA0B,mBAA1B;AAIA,IAAMC,UAAU,GAAG,aAAnB;;IAEMC,U;;;;;;;;;;;;;;;;;;yEAOYH,QAAQ,CAACE,UAAD,C;;;;;;;6BAEb;AAAA,wBACuC,KAAKE,KAD5C;AAAA,UACGC,SADH,eACGA,SADH;AAAA,UACcC,MADd,eACcA,MADd;AAAA,UACsBC,KADtB,eACsBA,KADtB;AAAA,UAC6BC,KAD7B,eAC6BA,KAD7B;AAEL,aACI,oBAAC,aAAD;AACI,QAAA,SAAS,YAAKN,UAAL,cAAmBG,SAAnB,CADb;AAEI,QAAA,MAAM,EAAEC,MAFZ;AAGI,QAAA,KAAK,EAAEC,KAHX;AAII,QAAA,OAAO,EAAC,WAJZ;AAKI,QAAA,KAAK,EAAEC;AALX,SAOI;AACI,QAAA,CAAC,EAAC,wOADN;AAEI,QAAA,IAAI,EAAC;AAFT,QAPJ,EAWI;AACI,QAAA,CAAC,EAAC,gRADN;AAEI,QAAA,IAAI,EAAC;AAFT,QAXJ,EAeI;AACI,QAAA,CAAC,EAAC,qRADN;AAEI,QAAA,IAAI,EAAC;AAFT,QAfJ,EAmBI;AACI,QAAA,CAAC,EAAC,iPADN;AAEI,QAAA,IAAI,EAAC;AAFT,QAnBJ,CADJ;AA0BH;;;;EArCoBT,KAAK,CAACU,S;;gBAAzBN,U,kBACoB;AAClBE,EAAAA,SAAS,EAAE,EADO;AAElBC,EAAAA,MAAM,EAAE,EAFU;AAGlBE,EAAAA,KAAK,EAAE;AAHW,C;;AAuC1B,eAAeL,UAAf","sourcesContent":["import * as React from 'react';\nimport uniqueId from 'lodash/uniqueId';\n\nimport AccessibleSVG from '../accessible-svg';\n\nimport { TwoTonedIcon } from '../iconTypes';\n\nconst ICON_CLASS = 'icon-google';\n\nclass IconGoogle extends React.Component<TwoTonedIcon> {\n static defaultProps = {\n className: '',\n height: 30,\n width: 30,\n };\n\n idPrefix = `${uniqueId(ICON_CLASS)}-`;\n\n render() {\n const { className, height, title, width } = this.props;\n return (\n <AccessibleSVG\n className={`${ICON_CLASS} ${className}`}\n height={height}\n title={title}\n viewBox=\"0 0 14 14\"\n width={width}\n >\n <path\n d=\"M13.3684 7.12062C13.3684 6.59531 13.3258 6.21198 13.2336 5.81445H7.23511V8.18542H10.7561C10.6851 8.77463 10.3018 9.66198 9.44991 10.2582L9.43797 10.3376L11.3346 11.8069L11.466 11.82C12.6727 10.7055 13.3684 9.06567 13.3684 7.12062Z\"\n fill=\"#4285F4\"\n />\n <path\n d=\"M7.23502 13.3675C8.95999 13.3675 10.4081 12.7996 11.4659 11.82L9.44982 10.2582C8.91032 10.6344 8.18623 10.8971 7.23502 10.8971C5.54552 10.8971 4.11158 9.78262 3.60042 8.24219L3.52549 8.24855L1.55338 9.77479L1.52759 9.84648C2.5782 11.9335 4.73623 13.3675 7.23502 13.3675Z\"\n fill=\"#34A853\"\n />\n <path\n d=\"M3.60049 8.24224C3.46561 7.84472 3.38756 7.41876 3.38756 6.97866C3.38756 6.53851 3.46561 6.1126 3.59339 5.71507L3.58982 5.63041L1.59299 4.07965L1.52766 4.11073C1.09465 4.97679 0.846191 5.94934 0.846191 6.97866C0.846191 8.00798 1.09465 8.98048 1.52766 9.84654L3.60049 8.24224Z\"\n fill=\"#FBBC05\"\n />\n <path\n d=\"M7.23502 3.06008C8.43469 3.06008 9.24394 3.57829 9.70537 4.01134L11.5085 2.25083C10.4011 1.22152 8.96 0.589722 7.23502 0.589722C4.73623 0.589722 2.5782 2.02366 1.52759 4.11069L3.59332 5.71503C4.11158 4.1746 5.54552 3.06008 7.23502 3.06008Z\"\n fill=\"#EB4335\"\n />\n </AccessibleSVG>\n );\n }\n}\n\nexport default IconGoogle;\n"],"file":"IconGoogle.js"}
@@ -24,6 +24,8 @@ import IconFileThreeD from '../../icon/content/FileThreeD32';
24
24
  import IconFileVector from '../../icon/content/FileVector32';
25
25
  import IconFileVideo from '../../icon/content/FileVideo32';
26
26
  import IconFileWordDocument from '../../icon/content/FileWord32';
27
+ import IconFileXbd from '../../icon/content/FileXbd32';
28
+ import IconFileXdw from '../../icon/content/FileXdw32';
27
29
  import IconFileZip from '../../icon/content/FileZip32';
28
30
  import BookmarkIcon from '../../icon/content/FileBookmark32';
29
31
  import IconFolderCollab from '../../icon/content/FolderShared32';
@@ -36,6 +38,8 @@ var itemIconTable = {
36
38
  code: IconFileCode,
37
39
  default: IconFileDefault,
38
40
  document: IconFileText,
41
+ 'docuworks-binder': IconFileXbd,
42
+ 'docuworks-file': IconFileXdw,
39
43
  dwg: IconFileDwg,
40
44
  'excel-spreadsheet': IconFileExcelSpreadsheet,
41
45
  'folder-collab': IconFolderCollab,