@transferwise/components 46.37.0 → 46.38.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 (300) hide show
  1. package/README.md +1 -1
  2. package/build/index.js +159 -317
  3. package/build/index.js.map +1 -1
  4. package/build/index.mjs +154 -311
  5. package/build/index.mjs.map +1 -1
  6. package/build/main.css +127 -108
  7. package/build/styles/main.css +127 -108
  8. package/build/styles/uploadInput/UploadInput.css +25 -27
  9. package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -38
  10. package/build/styles/uploadInput/uploadItem/UploadItem.css +81 -46
  11. package/build/types/actionButton/ActionButton.d.ts +2 -2
  12. package/build/types/actionButton/ActionButton.d.ts.map +1 -1
  13. package/build/types/actionOption/ActionOption.d.ts +0 -1
  14. package/build/types/actionOption/ActionOption.d.ts.map +1 -1
  15. package/build/types/alert/Alert.d.ts +0 -1
  16. package/build/types/alert/Alert.d.ts.map +1 -1
  17. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +4 -11
  18. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -1
  19. package/build/types/alert/inlineMarkdown/index.d.ts +2 -1
  20. package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -1
  21. package/build/types/avatar/Avatar.d.ts +0 -1
  22. package/build/types/avatar/Avatar.d.ts.map +1 -1
  23. package/build/types/avatar/colors/colors.d.ts.map +1 -1
  24. package/build/types/avatarWrapper/AvatarWrapper.d.ts +0 -1
  25. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -1
  26. package/build/types/body/Body.d.ts +2 -2
  27. package/build/types/body/Body.d.ts.map +1 -1
  28. package/build/types/button/Button.d.ts +0 -1
  29. package/build/types/button/Button.d.ts.map +1 -1
  30. package/build/types/button/Button.messages.d.ts +3 -3
  31. package/build/types/button/classMap.d.ts +6 -6
  32. package/build/types/card/Card.d.ts +16 -20
  33. package/build/types/card/Card.d.ts.map +1 -1
  34. package/build/types/card/index.d.ts +2 -1
  35. package/build/types/card/index.d.ts.map +1 -1
  36. package/build/types/checkbox/Checkbox.d.ts +15 -20
  37. package/build/types/checkbox/Checkbox.d.ts.map +1 -1
  38. package/build/types/checkbox/index.d.ts +2 -2
  39. package/build/types/checkbox/index.d.ts.map +1 -1
  40. package/build/types/checkboxOption/CheckboxOption.d.ts +2 -3
  41. package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -1
  42. package/build/types/chevron/Chevron.d.ts +0 -1
  43. package/build/types/chevron/Chevron.d.ts.map +1 -1
  44. package/build/types/chips/Chip.d.ts +0 -1
  45. package/build/types/chips/Chip.d.ts.map +1 -1
  46. package/build/types/chips/Chips.d.ts +0 -1
  47. package/build/types/chips/Chips.d.ts.map +1 -1
  48. package/build/types/circularButton/CircularButton.d.ts +0 -1
  49. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  50. package/build/types/common/RadioButton/RadioButton.d.ts +0 -1
  51. package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -1
  52. package/build/types/common/action/Action.d.ts +0 -1
  53. package/build/types/common/action/Action.d.ts.map +1 -1
  54. package/build/types/common/closeButton/CloseButton.d.ts +4 -5
  55. package/build/types/common/closeButton/CloseButton.d.ts.map +1 -1
  56. package/build/types/common/commonProps.d.ts +0 -1
  57. package/build/types/common/commonProps.d.ts.map +1 -1
  58. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -1
  59. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -1
  60. package/build/types/common/focusBoundary/FocusBoundary.d.ts +0 -1
  61. package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -1
  62. package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -1
  63. package/build/types/common/hooks/useResizeObserver.d.ts +0 -1
  64. package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -1
  65. package/build/types/common/panel/Panel.d.ts +8 -8
  66. package/build/types/common/panel/Panel.d.ts.map +1 -1
  67. package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -1
  68. package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -1
  69. package/build/types/common/responsivePanel/ResponsivePanel.d.ts +8 -9
  70. package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -1
  71. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +0 -1
  72. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  73. package/build/types/dateInput/DateInput.d.ts +0 -1
  74. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  75. package/build/types/dateLookup/DateLookup.d.ts +1 -1
  76. package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
  77. package/build/types/dateLookup/dateHeader/DateHeader.d.ts +0 -1
  78. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
  79. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +0 -1
  80. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -1
  81. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +0 -1
  82. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -1
  83. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +0 -1
  84. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -1
  85. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +0 -1
  86. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -1
  87. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +0 -1
  88. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -1
  89. package/build/types/dateLookup/tableLink/TableLink.d.ts +0 -1
  90. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -1
  91. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +0 -1
  92. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -1
  93. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +0 -1
  94. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -1
  95. package/build/types/decision/Decision.d.ts +1 -2
  96. package/build/types/decision/Decision.d.ts.map +1 -1
  97. package/build/types/definitionList/DefinitionList.d.ts +19 -24
  98. package/build/types/definitionList/DefinitionList.d.ts.map +1 -1
  99. package/build/types/definitionList/index.d.ts +2 -1
  100. package/build/types/definitionList/index.d.ts.map +1 -1
  101. package/build/types/dimmer/Dimmer.d.ts.map +1 -1
  102. package/build/types/drawer/Drawer.d.ts +18 -36
  103. package/build/types/drawer/Drawer.d.ts.map +1 -1
  104. package/build/types/drawer/index.d.ts +2 -1
  105. package/build/types/drawer/index.d.ts.map +1 -1
  106. package/build/types/dropFade/DropFade.d.ts.map +1 -1
  107. package/build/types/emphasis/Emphasis.d.ts +0 -1
  108. package/build/types/emphasis/Emphasis.d.ts.map +1 -1
  109. package/build/types/field/Field.d.ts +0 -1
  110. package/build/types/field/Field.d.ts.map +1 -1
  111. package/build/types/flowNavigation/FlowNavigation.d.ts +0 -1
  112. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
  113. package/build/types/flowNavigation/backButton/BackButton.d.ts +3 -3
  114. package/build/types/flowNavigation/backButton/index.d.ts +1 -1
  115. package/build/types/flowNavigation/backButton/index.d.ts.map +1 -1
  116. package/build/types/header/Header.d.ts +0 -1
  117. package/build/types/header/Header.d.ts.map +1 -1
  118. package/build/types/image/Image.d.ts +0 -1
  119. package/build/types/image/Image.d.ts.map +1 -1
  120. package/build/types/index.d.ts +4 -0
  121. package/build/types/index.d.ts.map +1 -1
  122. package/build/types/info/Info.d.ts +0 -1
  123. package/build/types/info/Info.d.ts.map +1 -1
  124. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +0 -1
  125. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -1
  126. package/build/types/inputs/Input.d.ts +0 -1
  127. package/build/types/inputs/Input.d.ts.map +1 -1
  128. package/build/types/inputs/InputGroup.d.ts +0 -1
  129. package/build/types/inputs/InputGroup.d.ts.map +1 -1
  130. package/build/types/inputs/SearchInput.d.ts +0 -1
  131. package/build/types/inputs/SearchInput.d.ts.map +1 -1
  132. package/build/types/inputs/SelectInput.d.ts +0 -1
  133. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  134. package/build/types/inputs/TextArea.d.ts +0 -1
  135. package/build/types/inputs/TextArea.d.ts.map +1 -1
  136. package/build/types/inputs/_BottomSheet.d.ts +0 -1
  137. package/build/types/inputs/_BottomSheet.d.ts.map +1 -1
  138. package/build/types/inputs/_ButtonInput.d.ts +0 -1
  139. package/build/types/inputs/_ButtonInput.d.ts.map +1 -1
  140. package/build/types/inputs/_Popover.d.ts +0 -1
  141. package/build/types/inputs/_Popover.d.ts.map +1 -1
  142. package/build/types/inputs/contexts.d.ts +0 -1
  143. package/build/types/inputs/contexts.d.ts.map +1 -1
  144. package/build/types/label/Label.d.ts +0 -1
  145. package/build/types/label/Label.d.ts.map +1 -1
  146. package/build/types/loader/Loader.d.ts +0 -1
  147. package/build/types/loader/Loader.d.ts.map +1 -1
  148. package/build/types/logo/Logo.d.ts +15 -23
  149. package/build/types/logo/Logo.d.ts.map +1 -1
  150. package/build/types/logo/index.d.ts +1 -2
  151. package/build/types/logo/index.d.ts.map +1 -1
  152. package/build/types/markdown/Markdown.d.ts +0 -1
  153. package/build/types/markdown/Markdown.d.ts.map +1 -1
  154. package/build/types/money/Money.d.ts +0 -1
  155. package/build/types/money/Money.d.ts.map +1 -1
  156. package/build/types/moneyInput/MoneyInput.d.ts +0 -1
  157. package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
  158. package/build/types/navigationOption/NavigationOption.d.ts +0 -1
  159. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
  160. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +0 -1
  161. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
  162. package/build/types/popover/Popover.d.ts +0 -1
  163. package/build/types/popover/Popover.d.ts.map +1 -1
  164. package/build/types/progress/Progress.d.ts +0 -1
  165. package/build/types/progress/Progress.d.ts.map +1 -1
  166. package/build/types/progressBar/ProgressBar.d.ts +0 -1
  167. package/build/types/progressBar/ProgressBar.d.ts.map +1 -1
  168. package/build/types/provider/Provider.d.ts +0 -1
  169. package/build/types/provider/Provider.d.ts.map +1 -1
  170. package/build/types/radio/Radio.d.ts +0 -1
  171. package/build/types/radio/Radio.d.ts.map +1 -1
  172. package/build/types/radioGroup/RadioGroup.d.ts +0 -1
  173. package/build/types/radioGroup/RadioGroup.d.ts.map +1 -1
  174. package/build/types/radioOption/RadioOption.d.ts +0 -1
  175. package/build/types/radioOption/RadioOption.d.ts.map +1 -1
  176. package/build/types/segmentedControl/SegmentedControl.d.ts +0 -1
  177. package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -1
  178. package/build/types/select/index.d.ts +1 -1
  179. package/build/types/select/index.d.ts.map +1 -1
  180. package/build/types/select/option/index.d.ts +1 -1
  181. package/build/types/select/option/index.d.ts.map +1 -1
  182. package/build/types/select/searchBox/SearchBox.d.ts +3 -3
  183. package/build/types/select/searchBox/SearchBox.d.ts.map +1 -1
  184. package/build/types/slidingPanel/SlidingPanel.d.ts +1 -1
  185. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  186. package/build/types/snackbar/Snackbar.d.ts +2 -1
  187. package/build/types/snackbar/Snackbar.d.ts.map +1 -1
  188. package/build/types/snackbar/SnackbarContext.d.ts +0 -1
  189. package/build/types/snackbar/SnackbarContext.d.ts.map +1 -1
  190. package/build/types/snackbar/SnackbarProvider.d.ts +0 -1
  191. package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -1
  192. package/build/types/statusIcon/StatusIcon.d.ts +0 -1
  193. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  194. package/build/types/sticky/Sticky.d.ts +32 -4
  195. package/build/types/sticky/Sticky.d.ts.map +1 -1
  196. package/build/types/switchOption/SwitchOption.d.ts +0 -1
  197. package/build/types/switchOption/SwitchOption.d.ts.map +1 -1
  198. package/build/types/tabs/TabList.d.ts +1 -1
  199. package/build/types/tabs/TabPanel.d.ts +4 -4
  200. package/build/types/tabs/Tabs.d.ts.map +1 -1
  201. package/build/types/test-utils/story-config.d.ts +8 -0
  202. package/build/types/test-utils/story-config.d.ts.map +1 -1
  203. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +0 -1
  204. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -1
  205. package/build/types/tile/Tile.d.ts +16 -37
  206. package/build/types/tile/Tile.d.ts.map +1 -1
  207. package/build/types/tile/index.d.ts +1 -1
  208. package/build/types/tile/index.d.ts.map +1 -1
  209. package/build/types/typeahead/Typeahead.d.ts.map +1 -1
  210. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +0 -1
  211. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -1
  212. package/build/types/typeahead/util/highlight.d.ts +0 -1
  213. package/build/types/typeahead/util/highlight.d.ts.map +1 -1
  214. package/build/types/upload/Upload.d.ts.map +1 -1
  215. package/build/types/upload/Upload.messages.d.ts +20 -20
  216. package/build/types/upload/steps/completeStep/completeStep.d.ts +10 -10
  217. package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +8 -8
  218. package/build/types/upload/steps/processingStep/processingStep.d.ts +8 -8
  219. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +9 -9
  220. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -1
  221. package/build/types/uploadInput/UploadInput.d.ts +0 -1
  222. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  223. package/build/types/uploadInput/types.d.ts +9 -1
  224. package/build/types/uploadInput/types.d.ts.map +1 -1
  225. package/build/types/uploadInput/uploadButton/UploadButton.d.ts +1 -6
  226. package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -1
  227. package/build/types/uploadInput/uploadItem/UploadItem.d.ts +0 -1
  228. package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -1
  229. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  230. package/build/types/withNextPortal/withNextPortal.d.ts +0 -1
  231. package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -1
  232. package/package.json +1 -2
  233. package/src/alert/inlineMarkdown/InlineMarkdown.tsx +13 -0
  234. package/src/alert/inlineMarkdown/index.ts +2 -0
  235. package/src/card/{Card.story.js → Card.story.tsx} +6 -15
  236. package/src/card/{Card.js → Card.tsx} +23 -34
  237. package/src/card/index.ts +2 -0
  238. package/src/checkbox/{Checkbox.spec.js → Checkbox.spec.tsx} +5 -5
  239. package/src/checkbox/{Checkbox.js → Checkbox.tsx} +19 -41
  240. package/src/checkbox/index.ts +2 -0
  241. package/src/decision/Decision.tsx +1 -1
  242. package/src/definitionList/{DefinitionList.story.js → DefinitionList.story.tsx} +22 -2
  243. package/src/definitionList/DefinitionList.tsx +95 -0
  244. package/src/definitionList/index.ts +2 -0
  245. package/src/drawer/{Drawer.rtl.spec.js → Drawer.rtl.spec.tsx} +4 -2
  246. package/src/drawer/{Drawer.story.js → Drawer.story.tsx} +20 -28
  247. package/src/drawer/{Drawer.js → Drawer.tsx} +26 -31
  248. package/src/drawer/index.ts +2 -0
  249. package/src/index.ts +4 -0
  250. package/src/logo/Logo.story.tsx +3 -6
  251. package/src/logo/{Logo.js → Logo.tsx} +25 -35
  252. package/src/logo/index.ts +1 -0
  253. package/src/main.css +127 -108
  254. package/src/section/Section.story.tsx +0 -2
  255. package/src/slidingPanel/SlidingPanel.spec.js +2 -1
  256. package/src/slidingPanel/SlidingPanel.tsx +3 -0
  257. package/src/snackbar/Snackbar.story.tsx +20 -100
  258. package/src/snackbar/Snackbar.tests.story.tsx +281 -0
  259. package/src/snackbar/Snackbar.tsx +8 -12
  260. package/src/sticky/Sticky.spec.tsx +71 -0
  261. package/src/sticky/Sticky.story.tsx +72 -15
  262. package/src/sticky/Sticky.tsx +49 -5
  263. package/src/test-utils/Parameters.d.ts +8 -0
  264. package/src/test-utils/story-config.ts +5 -0
  265. package/src/tile/{Tile.spec.js → Tile.spec.tsx} +1 -1
  266. package/src/tile/{Tile.js → Tile.tsx} +24 -35
  267. package/src/uploadInput/UploadInput.css +25 -27
  268. package/src/uploadInput/UploadInput.less +24 -23
  269. package/src/uploadInput/UploadInput.story.tsx +60 -10
  270. package/src/uploadInput/UploadInput.tsx +1 -4
  271. package/src/uploadInput/types.ts +11 -1
  272. package/src/uploadInput/uploadButton/UploadButton.css +24 -38
  273. package/src/uploadInput/uploadButton/UploadButton.less +27 -40
  274. package/src/uploadInput/uploadButton/UploadButton.spec.tsx +0 -1
  275. package/src/uploadInput/uploadButton/UploadButton.tsx +12 -37
  276. package/src/uploadInput/uploadItem/UploadItem.css +81 -46
  277. package/src/uploadInput/uploadItem/UploadItem.less +75 -40
  278. package/src/uploadInput/uploadItem/UploadItem.tsx +30 -25
  279. package/src/uploadInput/uploadItem/UploadItemBody.tsx +1 -1
  280. package/build/types/logo/logoTypes.d.ts +0 -6
  281. package/build/types/logo/logoTypes.d.ts.map +0 -1
  282. package/src/alert/inlineMarkdown/InlineMarkdown.js +0 -21
  283. package/src/alert/inlineMarkdown/index.js +0 -1
  284. package/src/card/index.js +0 -1
  285. package/src/checkbox/index.js +0 -3
  286. package/src/definitionList/DefinitionList.js +0 -100
  287. package/src/definitionList/index.js +0 -1
  288. package/src/drawer/index.js +0 -1
  289. package/src/logo/index.js +0 -2
  290. package/src/logo/logoTypes.ts +0 -6
  291. package/src/snackbar/Snackbar.spec.js +0 -112
  292. package/src/sticky/Sticky.spec.js +0 -34
  293. /package/src/card/{Card.spec.js → Card.spec.tsx} +0 -0
  294. /package/src/checkbox/__snapshots__/{Checkbox.spec.js.snap → Checkbox.spec.tsx.snap} +0 -0
  295. /package/src/drawer/__snapshots__/{Drawer.rtl.spec.js.snap → Drawer.rtl.spec.tsx.snap} +0 -0
  296. /package/src/logo/{Logo.spec.js → Logo.spec.tsx} +0 -0
  297. /package/src/logo/__snapshots__/{Logo.spec.js.snap → Logo.spec.tsx.snap} +0 -0
  298. /package/src/tile/{Tile.story.js → Tile.story.tsx} +0 -0
  299. /package/src/tile/__snapshots__/{Tile.spec.js.snap → Tile.spec.tsx.snap} +0 -0
  300. /package/src/tile/{index.js → index.ts} +0 -0
@@ -1,46 +1,40 @@
1
- .np-upload-input {
2
- border: 1px solid #c9cbce;
3
- border: 1px solid var(--color-interactive-secondary);
4
- border-radius: 10px;
5
- border-radius: var(--radius-small);
6
- }
7
- .np-upload-input:has(:focus-visible) {
8
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
9
- outline-offset: var(--ring-outline-offset);
10
- }
11
1
  .np-upload-input.form-control {
12
2
  height: auto;
13
3
  padding: 0;
14
4
  padding: initial;
15
5
  }
16
- .np-theme-personal .np-upload-input {
17
- border-radius: 10px;
18
- border-radius: var(--radius-small);
6
+ .np-upload-input > div:first-child,
7
+ .np-upload-input > div:first-child .np-upload-item--single-file,
8
+ .np-upload-input > div:first-child .np-upload-item--link {
9
+ border-top-left-radius: 10px;
10
+ border-top-left-radius: var(--radius-small);
11
+ border-top-right-radius: 10px;
12
+ border-top-right-radius: var(--radius-small);
13
+ }
14
+ .np-upload-input > div:last-child {
15
+ border-bottom-left-radius: 10px;
16
+ border-bottom-left-radius: var(--radius-small);
17
+ border-bottom-right-radius: 10px;
18
+ border-bottom-right-radius: var(--radius-small);
19
19
  }
20
20
  .np-theme-personal .np-upload-input.disabled .btn {
21
21
  cursor: inherit;
22
22
  }
23
- .np-theme-personal .np-upload-input .np-upload-button {
24
- border-radius: calc(10px - 1px);
25
- border-radius: calc(var(--radius-small) - 1px);
26
- padding: 16px;
27
- padding: var(--padding-small);
28
- }
29
- .np-theme-personal .np-upload-input .np-upload-input--square-top {
30
- border-top-right-radius: 0px;
31
- border-top-left-radius: 0px;
32
- }
33
- .np-theme-personal .np-upload-input .np-upload-item__remove-button {
34
- border-radius: 0;
35
- border-radius: initial;
36
- }
37
23
  .np-theme-personal .np-upload-input .np-upload-icon {
38
24
  color: var(--color-interactive-primary);
39
25
  }
40
26
  .np-theme-personal .np-upload-input .media-body {
27
+ padding-right: 32px;
28
+ padding-right: var(--size-32);
41
29
  color: var(--color-content-link);
42
30
  white-space: break-spaces;
43
31
  }
32
+ @media (max-width: 320px) {
33
+ .np-theme-personal .np-upload-input .media-body {
34
+ padding-right: 64px;
35
+ padding-right: var(--size-64);
36
+ }
37
+ }
44
38
  .np-theme-personal .np-upload-input .media-body .np-text-body-large-bold {
45
39
  -webkit-text-decoration: underline;
46
40
  text-decoration: underline;
@@ -55,6 +49,10 @@
55
49
  .np-theme-personal .np-upload-input .media-body .text-negative {
56
50
  color: var(--color-sentiment-negative) !important;
57
51
  }
52
+ .np-theme-personal .np-upload-input-errors {
53
+ padding-left: 0;
54
+ list-style-position: inside;
55
+ }
58
56
  .np-theme-personal .np-upload-input .status-circle {
59
57
  width: 24px;
60
58
  width: var(--size-x-small);
@@ -1,49 +1,35 @@
1
- .np-upload-button {
2
- width: 100%;
3
- border: 0 !important;
4
- padding: 12px 16px;
5
- padding: var(--size-12) var(--size-16);
6
- }
7
- .np-upload-button.np-upload-accent {
8
- color: #00a2dd;
9
- color: var(--color-interactive-accent);
10
- }
11
- label.np-upload-button:not(.disabled):hover,
12
- label.np-upload-button:not(.disabled):focus-visible,
13
- label.np-upload-button:not(.disabled):active {
14
- background-color: rgba(134,167,189,0.10196);
15
- background-color: var(--color-background-neutral);
16
- }
17
- .np-theme-personal label.np-upload-button:not(.disabled):hover,
18
- .np-theme-personal label.np-upload-button:not(.disabled):focus-visible,
19
- .np-theme-personal label.np-upload-button:not(.disabled):active {
20
- background-color: var(--color-background-screen-hover);
21
- }
22
- .np-theme-personal .disabled label.np-upload-button:not(.disabled):hover,
23
- .np-theme-personal .disabled label.np-upload-button:not(.disabled):focus-visible,
24
- .np-theme-personal .disabled label.np-upload-button:not(.disabled):active {
25
- background-color: transparent;
26
- }
27
- .np-upload-button .np-upload-icon {
28
- display: flex;
29
- align-items: center;
30
- }
31
- .np-upload-button-container.droppable {
32
- border: 0;
1
+ .np-upload-button-container {
2
+ border-style: solid;
33
3
  }
34
4
  .np-upload-button-container .droppable-card-content {
35
5
  display: flex;
36
6
  }
37
- .np-theme-personal .np-upload-button-container .droppable-card-content {
38
- border-radius: calc(10px - 1px);
39
- border-radius: calc(var(--radius-small) - 1px);
7
+ .np-upload-button-container.droppable-dropping {
8
+ border-color: #c9cbce !important;
9
+ border-color: var(--color-interactive-secondary) !important;
40
10
  }
41
11
  .np-upload-button-container input[type="file"] {
42
12
  opacity: 0;
43
13
  z-index: -1;
44
14
  position: absolute;
45
15
  }
46
- .np-upload-button-container input[type="file"]:focus-visible + label {
47
- background-color: rgba(134,167,189,0.10196);
48
- background-color: var(--color-background-neutral);
16
+ .np-upload-button-container .np-upload-button {
17
+ border: none;
18
+ }
19
+ .np-upload-button {
20
+ width: 100%;
21
+ padding: 16px;
22
+ padding: var(--padding-small);
23
+ border-radius: 0;
24
+ }
25
+ label.np-upload-button:not(.disabled):hover,
26
+ label.np-upload-button:not(.disabled):active {
27
+ background-color: var(--color-background-screen-hover);
28
+ }
29
+ .disabled label.np-upload-button:not(.disabled):hover,
30
+ .disabled label.np-upload-button:not(.disabled):active {
31
+ background-color: transparent;
32
+ }
33
+ .np-upload-button .media {
34
+ align-items: flex-start;
49
35
  }
@@ -1,74 +1,109 @@
1
- .np-upload-item:not(:last-child)::after {
1
+ .np-upload-item {
2
+ border: 1px solid #c9cbce;
3
+ border: 1px solid var(--color-interactive-secondary);
4
+ }
5
+ .np-upload-item:first-child ~ div:before {
2
6
  display: block;
3
7
  position: relative;
4
- border-bottom: 1px solid rgba(0,0,0,0.10196);
5
- border-bottom: 1px solid var(--color-border-neutral);
8
+ height: 1px;
9
+ background-color: rgba(0,0,0,0.10196);
10
+ background-color: var(--color-border-neutral);
6
11
  content: " ";
7
12
  margin: 0 16px;
8
13
  margin: 0 var(--size-16);
9
14
  }
10
- .np-theme-personal .np-upload-item:first-child a:hover,
11
- .np-theme-personal .np-upload-item:first-child a:focus-visible,
12
- .np-theme-personal .np-upload-item:first-child a:active {
13
- border-top-left-radius: calc(10px - 1px);
14
- border-top-left-radius: calc(var(--radius-small) - 1px);
15
+ .np-upload-item:first-child ~ div {
16
+ border-top: 0;
17
+ }
18
+ .np-upload-item:not(:last-child) {
19
+ border-bottom: 0;
20
+ }
21
+ .np-upload-item.np-upload-item__link:hover:before,
22
+ .np-upload-button-container:hover:before {
23
+ margin: 0 !important;
24
+ }
25
+ .np-upload-item.np-upload-item__link:hover + div:before,
26
+ .np-upload-button-container:hover + div:before {
27
+ margin: 0 !important;
28
+ }
29
+ .np-upload-button-container:has(:focus-visible) {
30
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
31
+ outline-offset: var(--ring-outline-offset);
32
+ border-color: transparent;
33
+ outline-offset: -3px;
15
34
  }
16
- .np-theme-personal .np-upload-item:first-child a:hover ~ .np-upload-item__remove-button,
17
- .np-theme-personal .np-upload-item:first-child a:focus-visible ~ .np-upload-item__remove-button,
18
- .np-theme-personal .np-upload-item:first-child a:active ~ .np-upload-item__remove-button {
19
- border-top-right-radius: calc(10px - 1px);
20
- border-top-right-radius: calc(var(--radius-small) - 1px);
35
+ .np-upload-item--single-file:focus-visible,
36
+ .np-upload-item--link:focus-visible,
37
+ .np-upload-button-container:has(:focus-visible) {
38
+ outline-width: 3px;
21
39
  }
22
40
  .np-upload-item__link a {
23
41
  flex: 1;
24
42
  -webkit-text-decoration: none;
25
43
  text-decoration: none;
26
- outline: none;
27
- border-top-right-radius: 0;
28
- border-bottom-right-radius: 0;
44
+ border-radius: inherit;
29
45
  }
30
- .np-theme-personal .np-upload-item__link a {
31
- border-radius: 0;
32
- border-radius: initial;
33
- }
34
- .np-upload-item__link a.np-upload-item--single-file {
35
- border-bottom-left-radius: calc(10px - 1px);
36
- border-bottom-left-radius: calc(var(--radius-small) - 1px);
46
+ .np-upload-item__link a:focus-visible {
47
+ outline-offset: -2px;
37
48
  }
38
49
  .np-upload-item__link a:hover,
39
- .np-upload-item__link a:focus-visible,
40
50
  .np-upload-item__link a:active {
41
51
  -webkit-text-decoration: none;
42
52
  text-decoration: none;
43
53
  background-color: rgba(134,167,189,0.10196);
44
54
  background-color: var(--color-background-neutral);
45
55
  }
46
- .np-upload-item__link a:hover ~ .np-upload-item__remove-button,
47
- .np-upload-item__link a:focus-visible ~ .np-upload-item__remove-button,
48
- .np-upload-item__link a:active ~ .np-upload-item__remove-button {
49
- background-color: rgba(134,167,189,0.10196);
50
- background-color: var(--color-background-neutral);
51
- }
52
- .np-upload-item__link .np-upload-item__remove-button.np-upload-item--single-file {
53
- border-bottom-right-radius: calc(10px - 1px);
54
- border-bottom-right-radius: calc(var(--radius-small) - 1px);
55
- }
56
56
  .np-upload-item__body {
57
57
  display: flex;
58
58
  align-items: center;
59
59
  justify-content: space-between;
60
+ position: relative;
61
+ border-radius: inherit;
60
62
  }
61
63
  .np-upload-item__remove-button {
62
- flex-shrink: 0;
63
- align-self: stretch;
64
- padding: 12px 16px;
65
- padding: var(--size-12) var(--size-16);
66
- color: #c9cbce;
67
- color: var(--color-interactive-secondary);
68
- background: transparent;
69
- }
70
- .np-upload-item__remove-button:hover,
71
- .np-upload-item__remove-button:focus {
72
- color: #d03238 !important;
73
- color: var(--color-interactive-negative-hover) !important;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ align-self: flex-start;
68
+ position: absolute;
69
+ height: 24px;
70
+ height: var(--size-24);
71
+ min-height: 0;
72
+ width: 24px;
73
+ width: var(--size-24);
74
+ padding: 0;
75
+ border-radius: 50% !important;
76
+ outline-offset: 0 !important;
77
+ background-color: rgba(134,167,189,0.10196);
78
+ background-color: var(--color-background-neutral);
79
+ color: var(--color-interactive-primary);
80
+ right: 16px;
81
+ right: var(--size-16);
82
+ top: 16px;
83
+ top: var(--size-16);
84
+ transition: color, background-color 0.15s ease-in-out;
85
+ }
86
+ @media (max-width: 320px) {
87
+ .np-upload-item__remove-button {
88
+ top: 16px;
89
+ top: var(--size-16);
90
+ right: 16px;
91
+ right: var(--size-16);
92
+ height: 48px;
93
+ height: var(--size-48);
94
+ width: 48px;
95
+ width: var(--size-48);
96
+ }
97
+ }
98
+ .np-upload-item__remove-button:hover {
99
+ background-color: var(--color-sentiment-negative);
100
+ color: var(--color-contrast-overlay) !important;
101
+ }
102
+ .np-upload-item__remove-button:before {
103
+ display: block;
104
+ width: 44px;
105
+ height: 44px;
106
+ content: '';
107
+ border-radius: 50%;
108
+ position: absolute;
74
109
  }
@@ -8,11 +8,11 @@ export type ActionButtonProps = {
8
8
  text?: string;
9
9
  } & ButtonHTMLAttributes<HTMLButtonElement>;
10
10
  declare const ActionButton: import("react").ForwardRefExoticComponent<{
11
- priority?: "primary" | "secondary" | undefined;
11
+ priority?: PriorityPrimary | PrioritySecondary;
12
12
  /**
13
13
  * @deprecated use `children` instead
14
14
  */
15
- text?: string | undefined;
15
+ text?: string;
16
16
  } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
17
17
  export default ActionButton;
18
18
  //# sourceMappingURL=ActionButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/actionButton/ActionButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAc,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAY,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,QAAA,MAAM,YAAY;;IANhB;;OAEG;;+FAiCJ,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/actionButton/ActionButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAc,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAY,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,QAAA,MAAM,YAAY;eAPL,eAAe,GAAG,iBAAiB;IAC9C;;OAEG;WACI,MAAM;+FAgCd,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps, PriorityPrimary, PrioritySecondary } from '../common';
3
2
  export type ActionOptionProps = {
4
3
  complex?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionOption.d.ts","sourceRoot":"","sources":["../../../src/actionOption/ActionOption.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAY,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGtF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IAC/C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,GAAG,WAAW,CAAC;AAEhB,QAAA,MAAM,YAAY,kJAaf,iBAAiB,gCA0CnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ActionOption.d.ts","sourceRoot":"","sources":["../../../src/actionOption/ActionOption.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAY,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGtF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IAC/C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,GAAG,WAAW,CAAC;AAEhB,QAAA,MAAM,YAAY,kJAaf,iBAAiB,gCA0CnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Sentiment, Size, Variant } from '../common';
3
2
  export type AlertAction = {
4
3
  'aria-label'?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/alert/Alert.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAc,OAAO,EAAE,MAAM,WAA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AAe;CAC5B;AAED,MAAM,WAAW,UAAU;IACzB,yIAAyI;IACzI,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wGAAwG;IACxG,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACvD,2DAA2D;IAC3D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;IACvB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAChC,oHAAoH;IACpH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2FAA2F;IAC3F,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;CAClB;AAeD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,IAAI,EACJ,KAAK,EACL,IAAgB,EAChB,OAAmB,GACpB,EAAE,UAAU,+BAqGZ"}
@@ -1,13 +1,6 @@
1
- export default InlineMarkdown;
2
- declare function InlineMarkdown(props: any): import("react").JSX.Element;
3
- declare namespace InlineMarkdown {
4
- namespace propTypes {
5
- const children: any;
6
- const className: any;
7
- }
8
- namespace defaultProps {
9
- const className_1: undefined;
10
- export { className_1 as className };
11
- }
1
+ export interface InlineMarkdownProps {
2
+ children?: string;
3
+ className?: string;
12
4
  }
5
+ export default function InlineMarkdown(props: InlineMarkdownProps): import("react").JSX.Element;
13
6
  //# sourceMappingURL=InlineMarkdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../src/alert/inlineMarkdown/InlineMarkdown.js"],"names":[],"mappings":";AAOA,yEAEC"}
1
+ {"version":3,"file":"InlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../src/alert/inlineMarkdown/InlineMarkdown.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAEhE"}
@@ -1,2 +1,3 @@
1
- export { default } from "./InlineMarkdown";
1
+ export { default } from './InlineMarkdown';
2
+ export type { InlineMarkdownProps } from './InlineMarkdown';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/alert/inlineMarkdown/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/alert/inlineMarkdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type NumericAvatarSize = 24 | 40 | 48 | 56 | 72;
3
2
  type LegacyAvatarSize = 'sm' | 'md' | 'lg';
4
3
  export type AvatarSize = NumericAvatarSize | LegacyAvatarSize;
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/avatar/Avatar.tsx"],"names":[],"mappings":";AAOA,KAAK,iBAAiB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEhD,KAAK,gBAAgB,G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AK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAkBD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAsCjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/avatar/colors/colors.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,YAAY,2GAKR,CAAC;AAuBX,eAAO,MAAM,sBAAsB,SAAU,MAAM,KAAG,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAEjF,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/avatar/colors/colors.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,YAAY,2GAKR,CAAC;AAuBX,eAAO,MAAM,sBAAsB,SAAU,MAAM,KAAG,CAAC,OAAO,YAAY,EAAE,MAAM,CAEjF,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from '../avatar';
3
2
  import { BadgeProps } from '../badge';
4
3
  import { ProfileTypePersonal, ProfileTypeBusiness, Sentiment } from '../common';
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarWrapper.d.ts","sourceRoot":"","sources":["../../../src/avatarWrapper/AvatarWrapper.tsx"],"names":[],"mappings":";AAGA,OAAe,EAAE,WAAW,EAAc,MAAM,WAAW,CAAC;AAC5D,OAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAe,mBAAmB,EAAE,mBAAmB,EAAQ,SAAS,EAAE,MAAM,WAAW,CAAC;AA2BnG,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,CAAC,EAAE,MAA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M,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,eAAe,EAAE,SAAS,CAAC;CAC5B,GACD;IACE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,CACJ,CAAC;AAEF,QAAA,MAAM,aAAa,6GAUhB,kBAAkB,gCA+CpB,CAAC;AAgBF,eAAe,aAAa,CAAC"}
@@ -4,11 +4,11 @@ declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTM
4
4
  /**
5
5
  * Default value: {@link DEFAULT_TYPE}
6
6
  */
7
- type?: BodyTypes | undefined;
7
+ type?: BodyTypes;
8
8
  /**
9
9
  * Default value: `div`
10
10
  */
11
- as?: "span" | "p" | "div" | undefined;
11
+ as?: "span" | "p" | "div";
12
12
  } & import("react").RefAttributes<HTMLSpanElement | HTMLParagraphElement | HTMLDivElement | null>>;
13
13
  export default Body;
14
14
  //# sourceMappingURL=Body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/body/Body.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAsBzE,QAAA,MAAM,IAAI;IAVR;;OAEG;;IAEH;;OAEG;;kGAuBH,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/body/Body.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAsBzE,QAAA,MAAM,IAAI;IAVR;;OAEG;WACI,SAAS;IAChB;;OAEG;SACE,MAAM,GAAG,GAAG,GAAG,KAAK;kGAsBzB,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ControlTypeAccent, ControlTypeNegative, ControlTypePositive, PriorityPrimary, PrioritySecondary, PriorityTertiary, SizeExtraSmall, SizeSmall, SizeMedium, SizeLarge } from '../common';
3
2
  /** @deprecated */
4
3
  type DeprecatedTypes = 'primary' | 'pay' | 'secondary' | 'danger' | 'link';
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/button/Button.tsx"],"names":[],"mappings":";AAIA,OAAO,EAIL,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACV,MAAM,WAAW,CAAC;AAOnB,kBAAkB;AAClB,KAAK,eAAe,GAAG,SAAS,GAAG,KAAK,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3E,kBAAkB;AAClB,KAAK,eAAe,GAAG,cAAc,CAAC;AAEtC,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,eAAe,CAAC;IACvF,QAAQ,CAAC,EAAE,eAAe,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;IAClE,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,eAAe,CAAC;CAC7D,CAAC;AAEF,KAAK,WAAW,GAAG,WAAW,GAC5B,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACpD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qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACpD,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;CAC1C,CAAC;AAEJ,KAAK,WAAW,GAAG,WAAW,GAC5B,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,GAAG;IACjC,EAAE,CAAC,EAAE,GAAG,CAAC;CACV,CAAC;AAEJ,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,WAAW,CAAC;AAE9C,KAAK,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AAEjE,QAAA,MAAM,MAAM,uJA4EX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,8 +1,8 @@
1
1
  declare namespace _default {
2
2
  namespace loadingAriaLabel {
3
- const id: string;
4
- const defaultMessage: string;
5
- const description: string;
3
+ let id: string;
4
+ let defaultMessage: string;
5
+ let description: string;
6
6
  }
7
7
  }
8
8
  export default _default;
@@ -1,11 +1,11 @@
1
1
  export namespace typeClassMap {
2
- const accent: string;
3
- const positive: string;
4
- const negative: string;
2
+ let accent: string;
3
+ let positive: string;
4
+ let negative: string;
5
5
  }
6
6
  export namespace priorityClassMap {
7
- const primary: string;
8
- const secondary: string;
9
- const tertiary: string;
7
+ let primary: string;
8
+ let secondary: string;
9
+ let tertiary: string;
10
10
  }
11
11
  //# sourceMappingURL=classMap.d.ts.map
@@ -1,20 +1,16 @@
1
- import * as React from 'react';
2
-
3
- export interface CardProps {
4
- "aria-label"?: string;
5
- as?: string;
6
- isExpanded?: any;
7
- title: React.ReactNode;
8
- details: React.ReactNode;
9
- onClick?: any;
10
- icon?: React.ReactNode;
11
- children?: React.ReactNode;
12
- id?: string;
13
- className?: string;
14
- "data-testid"?: string;
15
- }
16
-
17
- declare const Card: React.FC<CardProps>;
18
-
19
- export default Card;
20
-
1
+ export interface CardProps {
2
+ 'aria-label'?: string;
3
+ as?: React.ElementType;
4
+ isExpanded?: boolean;
5
+ title: React.ReactNode;
6
+ details: React.ReactNode;
7
+ icon?: React.ReactNode;
8
+ children?: React.ReactNode;
9
+ id?: string;
10
+ className?: string;
11
+ 'data-testid'?: string;
12
+ onClick?: (nextIsExpanded: boolean) => void;
13
+ }
14
+ declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<unknown>>;
15
+ export default Card;
16
+ //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/card/Card.js"],"names":[],"mappings":";AAUA,kGAkDG"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/card/Card.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,SAAS;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C;AAED,QAAA,MAAM,IAAI,+FAoDR,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -1,2 +1,3 @@
1
- export { default } from "./Card";
1
+ export { default } from './Card';
2
+ export type { CardProps } from './Card';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/card/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,20 +1,15 @@
1
- import * as React from 'react';
2
-
3
- export interface CheckboxProps {
4
- id?: string;
5
- checked?: boolean;
6
- required?: boolean;
7
- disabled?: boolean;
8
- readOnly?: boolean;
9
- label: React.ReactNode;
10
- secondary?: string;
11
- onFocus?: (...args: any[])=>any;
12
- onChange: (...args: any[])=>any;
13
- onBlur?: (...args: any[])=>any;
14
- className?: string;
15
- }
16
-
17
- declare const Checkbox: React.FC<CheckboxProps>;
18
-
19
- export default Checkbox;
20
-
1
+ export interface CheckboxProps {
2
+ id?: string;
3
+ checked?: boolean;
4
+ required?: boolean;
5
+ disabled?: boolean;
6
+ readOnly?: boolean;
7
+ label: React.ReactNode;
8
+ secondary?: string;
9
+ onFocus?: React.FocusEventHandler<HTMLInputElement>;
10
+ onChange: (checked: boolean) => void;
11
+ onBlur?: React.FocusEventHandler<HTMLInputElement>;
12
+ className?: string;
13
+ }
14
+ export default function Checkbox({ id, checked, required, disabled, readOnly, label, className, secondary, onChange, onFocus, onBlur, }: CheckboxProps): import("react").JSX.Element;
15
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/checkbox/Checkbox.js"],"names":[],"mappings":";AAQA;;;;;;;;;;;;gCAsDC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/checkbox/Checkbox.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACpD,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,EAAE,EACF,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,MAAM,GACP,EAAE,aAAa,+BAoCf"}
@@ -1,3 +1,3 @@
1
- export default Checkbox;
2
- import Checkbox from "./Checkbox";
1
+ export { default } from './Checkbox';
2
+ export type { CheckboxProps } from './Checkbox';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkbox/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ReferenceType } from '../common/Option/Option';
3
2
  import { BaseOptionProps } from '../common/Option/Option';
4
3
  export type CheckboxOptionProps = Omit<BaseOptionProps, 'onChange'> & {
@@ -15,11 +14,11 @@ declare const CheckboxOption: import("react").ForwardRefExoticComponent<Omit<Bas
15
14
  /**
16
15
  * The checked state of the checkbox.
17
16
  */
18
- checked?: boolean | undefined;
17
+ checked?: boolean;
19
18
  /**
20
19
  * Function to call when the checkbox option is clicked
21
20
  */
22
- onChange?: ((value: boolean) => void) | undefined;
21
+ onChange?: (value: boolean) => void;
23
22
  } & import("react").RefAttributes<ReferenceType>>;
24
23
  export default CheckboxOption;
25
24
  //# sourceMappingURL=CheckboxOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxOption.d.ts","sourceRoot":"","sources":["../../../src/checkboxOption/CheckboxOption.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IACpE;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,cAAc;IAVlB;;OAEG;;IAEH;;OAEG;wBACgB,OAAO,KAAK,IAAI;iDAoBpC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"CheckboxOption.d.ts","sourceRoot":"","sources":["../../../src/checkboxOption/CheckboxOption.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IACpE;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,cAAc;IAVlB;;OAEG;cACO,OAAO;IACjB;;OAEG;eACQ,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;iDAoBpC,CAAC;AAEF,eAAe,cAAc,CAAC"}