@pega/cosmos-react-core 3.0.0-dev.4.2 → 3.0.0-dev.7.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 (1974) hide show
  1. package/lib/components/Actions/Actions.js +3 -3
  2. package/lib/components/Actions/Actions.js.map +1 -1
  3. package/lib/components/AppShell/AppHeader.js +1 -1
  4. package/lib/components/AppShell/AppHeader.js.map +1 -1
  5. package/lib/components/AppShell/AppShell.js +18 -18
  6. package/lib/components/AppShell/AppShell.js.map +1 -1
  7. package/lib/components/AppShell/AppShellList.js +5 -5
  8. package/lib/components/AppShell/AppShellList.js.map +1 -1
  9. package/lib/components/AppShell/Drawer.js +1 -1
  10. package/lib/components/AppShell/Drawer.js.map +1 -1
  11. package/lib/components/AppShell/Operator.js +2 -2
  12. package/lib/components/AppShell/Operator.js.map +1 -1
  13. package/lib/components/AppShell/SkipNavigation.js +1 -1
  14. package/lib/components/AppShell/SkipNavigation.js.map +1 -1
  15. package/lib/components/Avatar/Avatar.js +3 -3
  16. package/lib/components/Avatar/Avatar.js.map +1 -1
  17. package/lib/components/Backdrop/Backdrop.js +1 -1
  18. package/lib/components/Backdrop/Backdrop.js.map +1 -1
  19. package/lib/components/Badges/Alert.js +1 -1
  20. package/lib/components/Badges/Alert.js.map +1 -1
  21. package/lib/components/Badges/Count.js +1 -1
  22. package/lib/components/Badges/Count.js.map +1 -1
  23. package/lib/components/Badges/Selection.d.ts +2 -5
  24. package/lib/components/Badges/Selection.d.ts.map +1 -1
  25. package/lib/components/Badges/Selection.js +2 -3
  26. package/lib/components/Badges/Selection.js.map +1 -1
  27. package/lib/components/Badges/Status.js +1 -1
  28. package/lib/components/Badges/Status.js.map +1 -1
  29. package/lib/components/Badges/Tag.js +1 -1
  30. package/lib/components/Badges/Tag.js.map +1 -1
  31. package/lib/components/Banner/Banner.js +3 -3
  32. package/lib/components/Banner/Banner.js.map +1 -1
  33. package/lib/components/Boolean/BooleanDisplay.js +1 -1
  34. package/lib/components/Boolean/BooleanDisplay.js.map +1 -1
  35. package/lib/components/Breadcrumbs/Breadcrumbs.js +3 -3
  36. package/lib/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  37. package/lib/components/Button/BareButton.js +1 -1
  38. package/lib/components/Button/BareButton.js.map +1 -1
  39. package/lib/components/Button/BareRoleButton.js +1 -1
  40. package/lib/components/Button/BareRoleButton.js.map +1 -1
  41. package/lib/components/Button/Button.js +1 -1
  42. package/lib/components/Button/Button.js.map +1 -1
  43. package/lib/components/Card/Card.js +1 -1
  44. package/lib/components/Card/Card.js.map +1 -1
  45. package/lib/components/Card/CardContent.js +1 -1
  46. package/lib/components/Card/CardContent.js.map +1 -1
  47. package/lib/components/Card/CardFooter.js +1 -1
  48. package/lib/components/Card/CardFooter.js.map +1 -1
  49. package/lib/components/Card/CardHeader.js +1 -1
  50. package/lib/components/Card/CardHeader.js.map +1 -1
  51. package/lib/components/Card/CardMedia.js +1 -1
  52. package/lib/components/Card/CardMedia.js.map +1 -1
  53. package/lib/components/Card/CollapsibleCard.js +1 -1
  54. package/lib/components/Card/CollapsibleCard.js.map +1 -1
  55. package/lib/components/Card/SelectableCard.js +1 -1
  56. package/lib/components/Card/SelectableCard.js.map +1 -1
  57. package/lib/components/Checkbox/Checkbox.js +1 -1
  58. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  59. package/lib/components/ColorPicker/ColorPicker.js +2 -2
  60. package/lib/components/ColorPicker/ColorPicker.js.map +1 -1
  61. package/lib/components/ComboBox/ComboBox.js +5 -5
  62. package/lib/components/ComboBox/ComboBox.js.map +1 -1
  63. package/lib/components/ComboBox/ComboBoxInput.js +1 -1
  64. package/lib/components/ComboBox/ComboBoxInput.js.map +1 -1
  65. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.d.ts.map +1 -1
  66. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js +11 -9
  67. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js.map +1 -1
  68. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js +2 -2
  69. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js.map +1 -1
  70. package/lib/components/Configuration/Configuration.js +2 -2
  71. package/lib/components/Configuration/Configuration.js.map +1 -1
  72. package/lib/components/CreditCard/CreditCard.types.d.ts +23 -0
  73. package/lib/components/CreditCard/CreditCard.types.d.ts.map +1 -0
  74. package/lib/components/CreditCard/CreditCard.types.js +2 -0
  75. package/lib/components/CreditCard/CreditCard.types.js.map +1 -0
  76. package/lib/components/CreditCard/CreditCardDisplay.d.ts +6 -0
  77. package/lib/components/CreditCard/CreditCardDisplay.d.ts.map +1 -0
  78. package/lib/components/CreditCard/CreditCardDisplay.js +13 -0
  79. package/lib/components/CreditCard/CreditCardDisplay.js.map +1 -0
  80. package/lib/components/CreditCard/index.d.ts +3 -0
  81. package/lib/components/CreditCard/index.d.ts.map +1 -0
  82. package/lib/components/CreditCard/index.js +2 -0
  83. package/lib/components/CreditCard/index.js.map +1 -0
  84. package/lib/components/CreditCard/utils.d.ts +3 -0
  85. package/lib/components/CreditCard/utils.d.ts.map +1 -0
  86. package/lib/components/CreditCard/utils.js +25 -0
  87. package/lib/components/CreditCard/utils.js.map +1 -0
  88. package/lib/components/Currency/CurrencyDisplay.d.ts.map +1 -1
  89. package/lib/components/Currency/CurrencyDisplay.js +6 -7
  90. package/lib/components/Currency/CurrencyDisplay.js.map +1 -1
  91. package/lib/components/Currency/CurrencyInput.js +2 -2
  92. package/lib/components/Currency/CurrencyInput.js.map +1 -1
  93. package/lib/components/Currency/index.d.ts +1 -0
  94. package/lib/components/Currency/index.d.ts.map +1 -1
  95. package/lib/components/Currency/index.js +1 -0
  96. package/lib/components/Currency/index.js.map +1 -1
  97. package/lib/components/Currency/utils.d.ts +5 -0
  98. package/lib/components/Currency/utils.d.ts.map +1 -1
  99. package/lib/components/Currency/utils.js +4 -0
  100. package/lib/components/Currency/utils.js.map +1 -1
  101. package/lib/components/DateTime/DateTime.types.d.ts +3 -0
  102. package/lib/components/DateTime/DateTime.types.d.ts.map +1 -1
  103. package/lib/components/DateTime/DateTime.types.js.map +1 -1
  104. package/lib/components/DateTime/DateTimeDisplay.d.ts +1 -3
  105. package/lib/components/DateTime/DateTimeDisplay.d.ts.map +1 -1
  106. package/lib/components/DateTime/DateTimeDisplay.js +3 -101
  107. package/lib/components/DateTime/DateTimeDisplay.js.map +1 -1
  108. package/lib/components/DateTime/DurationDisplay.d.ts.map +1 -1
  109. package/lib/components/DateTime/DurationDisplay.js +2 -26
  110. package/lib/components/DateTime/DurationDisplay.js.map +1 -1
  111. package/lib/components/DateTime/Input/DateInput.js +5 -5
  112. package/lib/components/DateTime/Input/DateInput.js.map +1 -1
  113. package/lib/components/DateTime/Input/DateRangeInput.js +3 -3
  114. package/lib/components/DateTime/Input/DateRangeInput.js.map +1 -1
  115. package/lib/components/DateTime/Input/DateTimeInput.js +6 -6
  116. package/lib/components/DateTime/Input/DateTimeInput.js.map +1 -1
  117. package/lib/components/DateTime/Input/DayOfWeekInput.js +1 -1
  118. package/lib/components/DateTime/Input/DayOfWeekInput.js.map +1 -1
  119. package/lib/components/DateTime/Input/Duration/DurationInput.js +2 -2
  120. package/lib/components/DateTime/Input/Duration/DurationInput.js.map +1 -1
  121. package/lib/components/DateTime/Input/Duration/NumberUnit.js +1 -1
  122. package/lib/components/DateTime/Input/Duration/NumberUnit.js.map +1 -1
  123. package/lib/components/DateTime/Input/Duration/Time.js +1 -1
  124. package/lib/components/DateTime/Input/Duration/Time.js.map +1 -1
  125. package/lib/components/DateTime/Input/MonthInput.js +2 -2
  126. package/lib/components/DateTime/Input/MonthInput.js.map +1 -1
  127. package/lib/components/DateTime/Input/PartInput.js +1 -1
  128. package/lib/components/DateTime/Input/PartInput.js.map +1 -1
  129. package/lib/components/DateTime/Input/QuarterInput.js +2 -2
  130. package/lib/components/DateTime/Input/QuarterInput.js.map +1 -1
  131. package/lib/components/DateTime/Input/TimeInput.js +5 -5
  132. package/lib/components/DateTime/Input/TimeInput.js.map +1 -1
  133. package/lib/components/DateTime/Input/WeekInput.js +4 -4
  134. package/lib/components/DateTime/Input/WeekInput.js.map +1 -1
  135. package/lib/components/DateTime/Picker/Calendar.js +7 -7
  136. package/lib/components/DateTime/Picker/Calendar.js.map +1 -1
  137. package/lib/components/DateTime/Picker/DatePicker.js +4 -4
  138. package/lib/components/DateTime/Picker/DatePicker.js.map +1 -1
  139. package/lib/components/DateTime/Picker/DateRangePicker.js +4 -4
  140. package/lib/components/DateTime/Picker/DateRangePicker.js.map +1 -1
  141. package/lib/components/DateTime/Picker/TimePicker.js +3 -3
  142. package/lib/components/DateTime/Picker/TimePicker.js.map +1 -1
  143. package/lib/components/DateTime/Picker/Weeks.js +2 -2
  144. package/lib/components/DateTime/Picker/Weeks.js.map +1 -1
  145. package/lib/components/DateTime/index.d.ts +1 -0
  146. package/lib/components/DateTime/index.d.ts.map +1 -1
  147. package/lib/components/DateTime/index.js +1 -0
  148. package/lib/components/DateTime/index.js.map +1 -1
  149. package/lib/components/DateTime/utils.d.ts +18 -0
  150. package/lib/components/DateTime/utils.d.ts.map +1 -0
  151. package/lib/components/DateTime/utils.js +126 -0
  152. package/lib/components/DateTime/utils.js.map +1 -0
  153. package/lib/components/Drawer/Drawer.d.ts.map +1 -1
  154. package/lib/components/Drawer/Drawer.js +1 -1
  155. package/lib/components/Drawer/Drawer.js.map +1 -1
  156. package/lib/components/Email/EmailDisplay.js +2 -2
  157. package/lib/components/Email/EmailDisplay.js.map +1 -1
  158. package/lib/components/EmojiPicker/EmojiDisplay.js +2 -2
  159. package/lib/components/EmojiPicker/EmojiDisplay.js.map +1 -1
  160. package/lib/components/EmojiPicker/EmojiPicker.js +1 -1
  161. package/lib/components/EmojiPicker/EmojiPicker.js.map +1 -1
  162. package/lib/components/EmptyState/EmptyState.js +1 -1
  163. package/lib/components/EmptyState/EmptyState.js.map +1 -1
  164. package/lib/components/ErrorState/ErrorState.js +1 -1
  165. package/lib/components/ErrorState/ErrorState.js.map +1 -1
  166. package/lib/components/ExpandCollapse/ExpandCollapse.js +1 -1
  167. package/lib/components/ExpandCollapse/ExpandCollapse.js.map +1 -1
  168. package/lib/components/FieldGroup/FieldGroup.js +3 -3
  169. package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
  170. package/lib/components/FieldGroup/FieldGroupList.js +1 -1
  171. package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
  172. package/lib/components/FieldValueList/FieldValueList.d.ts.map +1 -1
  173. package/lib/components/FieldValueList/FieldValueList.js +6 -5
  174. package/lib/components/FieldValueList/FieldValueList.js.map +1 -1
  175. package/lib/components/File/FileDisplay.js +3 -3
  176. package/lib/components/File/FileDisplay.js.map +1 -1
  177. package/lib/components/File/FileInput.js +8 -8
  178. package/lib/components/File/FileInput.js.map +1 -1
  179. package/lib/components/File/FileItem.js +1 -1
  180. package/lib/components/File/FileItem.js.map +1 -1
  181. package/lib/components/File/FileUploadItem.js +7 -7
  182. package/lib/components/File/FileUploadItem.js.map +1 -1
  183. package/lib/components/File/FileVisual.js +1 -1
  184. package/lib/components/File/FileVisual.js.map +1 -1
  185. package/lib/components/Flex/Flex.js +1 -1
  186. package/lib/components/Flex/Flex.js.map +1 -1
  187. package/lib/components/Form/Form.js +1 -1
  188. package/lib/components/Form/Form.js.map +1 -1
  189. package/lib/components/FormControl/FormControl.js +1 -1
  190. package/lib/components/FormControl/FormControl.js.map +1 -1
  191. package/lib/components/FormField/FormField.js +5 -5
  192. package/lib/components/FormField/FormField.js.map +1 -1
  193. package/lib/components/Grid/Grid.js +1 -1
  194. package/lib/components/Grid/Grid.js.map +1 -1
  195. package/lib/components/HTML/HTML.js +1 -1
  196. package/lib/components/HTML/HTML.js.map +1 -1
  197. package/lib/components/Icon/Icon.js +1 -1
  198. package/lib/components/Icon/Icon.js.map +1 -1
  199. package/lib/components/Icon/icons/1-1-solid.icon.js +1 -1
  200. package/lib/components/Icon/icons/1-1-solid.icon.js.map +1 -1
  201. package/lib/components/Icon/icons/1-1.icon.js +1 -1
  202. package/lib/components/Icon/icons/1-1.icon.js.map +1 -1
  203. package/lib/components/Icon/icons/a11y.icon.js +1 -1
  204. package/lib/components/Icon/icons/a11y.icon.js.map +1 -1
  205. package/lib/components/Icon/icons/ai-assist.icon.js +1 -1
  206. package/lib/components/Icon/icons/ai-assist.icon.js.map +1 -1
  207. package/lib/components/Icon/icons/align-center.icon.js +1 -1
  208. package/lib/components/Icon/icons/align-center.icon.js.map +1 -1
  209. package/lib/components/Icon/icons/align-item-center-solid.icon.js +1 -1
  210. package/lib/components/Icon/icons/align-item-center-solid.icon.js.map +1 -1
  211. package/lib/components/Icon/icons/align-item-center.icon.js +1 -1
  212. package/lib/components/Icon/icons/align-item-center.icon.js.map +1 -1
  213. package/lib/components/Icon/icons/align-item-down-solid.icon.js +1 -1
  214. package/lib/components/Icon/icons/align-item-down-solid.icon.js.map +1 -1
  215. package/lib/components/Icon/icons/align-item-down.icon.js +1 -1
  216. package/lib/components/Icon/icons/align-item-down.icon.js.map +1 -1
  217. package/lib/components/Icon/icons/align-item-left-solid.icon.js +1 -1
  218. package/lib/components/Icon/icons/align-item-left-solid.icon.js.map +1 -1
  219. package/lib/components/Icon/icons/align-item-left.icon.js +1 -1
  220. package/lib/components/Icon/icons/align-item-left.icon.js.map +1 -1
  221. package/lib/components/Icon/icons/align-item-right-solid.icon.js +1 -1
  222. package/lib/components/Icon/icons/align-item-right-solid.icon.js.map +1 -1
  223. package/lib/components/Icon/icons/align-item-right.icon.js +1 -1
  224. package/lib/components/Icon/icons/align-item-right.icon.js.map +1 -1
  225. package/lib/components/Icon/icons/align-item-up-solid.icon.js +1 -1
  226. package/lib/components/Icon/icons/align-item-up-solid.icon.js.map +1 -1
  227. package/lib/components/Icon/icons/align-item-up.icon.js +1 -1
  228. package/lib/components/Icon/icons/align-item-up.icon.js.map +1 -1
  229. package/lib/components/Icon/icons/align-item-vert-center-solid.icon.js +1 -1
  230. package/lib/components/Icon/icons/align-item-vert-center-solid.icon.js.map +1 -1
  231. package/lib/components/Icon/icons/align-item-vert-center.icon.js +1 -1
  232. package/lib/components/Icon/icons/align-item-vert-center.icon.js.map +1 -1
  233. package/lib/components/Icon/icons/align-left.icon.js +1 -1
  234. package/lib/components/Icon/icons/align-left.icon.js.map +1 -1
  235. package/lib/components/Icon/icons/align-right.icon.js +1 -1
  236. package/lib/components/Icon/icons/align-right.icon.js.map +1 -1
  237. package/lib/components/Icon/icons/amazon.icon.js +1 -1
  238. package/lib/components/Icon/icons/amazon.icon.js.map +1 -1
  239. package/lib/components/Icon/icons/ambulance-solid.icon.js +1 -1
  240. package/lib/components/Icon/icons/ambulance-solid.icon.js.map +1 -1
  241. package/lib/components/Icon/icons/ambulance.icon.js +1 -1
  242. package/lib/components/Icon/icons/ambulance.icon.js.map +1 -1
  243. package/lib/components/Icon/icons/analytics-bad-solid.icon.js +1 -1
  244. package/lib/components/Icon/icons/analytics-bad-solid.icon.js.map +1 -1
  245. package/lib/components/Icon/icons/analytics-bad.icon.js +1 -1
  246. package/lib/components/Icon/icons/analytics-bad.icon.js.map +1 -1
  247. package/lib/components/Icon/icons/analytics-good-solid.icon.js +1 -1
  248. package/lib/components/Icon/icons/analytics-good-solid.icon.js.map +1 -1
  249. package/lib/components/Icon/icons/analytics-good.icon.js +1 -1
  250. package/lib/components/Icon/icons/analytics-good.icon.js.map +1 -1
  251. package/lib/components/Icon/icons/analytics-neutral-solid.icon.js +1 -1
  252. package/lib/components/Icon/icons/analytics-neutral-solid.icon.js.map +1 -1
  253. package/lib/components/Icon/icons/analytics-neutral.icon.js +1 -1
  254. package/lib/components/Icon/icons/analytics-neutral.icon.js.map +1 -1
  255. package/lib/components/Icon/icons/antenna.icon.js +1 -1
  256. package/lib/components/Icon/icons/antenna.icon.js.map +1 -1
  257. package/lib/components/Icon/icons/app-solid.icon.js +1 -1
  258. package/lib/components/Icon/icons/app-solid.icon.js.map +1 -1
  259. package/lib/components/Icon/icons/app.icon.js +1 -1
  260. package/lib/components/Icon/icons/app.icon.js.map +1 -1
  261. package/lib/components/Icon/icons/archery.icon.js +1 -1
  262. package/lib/components/Icon/icons/archery.icon.js.map +1 -1
  263. package/lib/components/Icon/icons/archive-solid.icon.js +1 -1
  264. package/lib/components/Icon/icons/archive-solid.icon.js.map +1 -1
  265. package/lib/components/Icon/icons/archive.icon.js +1 -1
  266. package/lib/components/Icon/icons/archive.icon.js.map +1 -1
  267. package/lib/components/Icon/icons/arrow-above-or.icon.js +1 -1
  268. package/lib/components/Icon/icons/arrow-above-or.icon.js.map +1 -1
  269. package/lib/components/Icon/icons/arrow-above-row-left.icon.js +1 -1
  270. package/lib/components/Icon/icons/arrow-above-row-left.icon.js.map +1 -1
  271. package/lib/components/Icon/icons/arrow-above-row-right.icon.js +1 -1
  272. package/lib/components/Icon/icons/arrow-above-row-right.icon.js.map +1 -1
  273. package/lib/components/Icon/icons/arrow-below-or.icon.js +1 -1
  274. package/lib/components/Icon/icons/arrow-below-or.icon.js.map +1 -1
  275. package/lib/components/Icon/icons/arrow-below-row-left.icon.js +1 -1
  276. package/lib/components/Icon/icons/arrow-below-row-left.icon.js.map +1 -1
  277. package/lib/components/Icon/icons/arrow-below-row-right.icon.js +1 -1
  278. package/lib/components/Icon/icons/arrow-below-row-right.icon.js.map +1 -1
  279. package/lib/components/Icon/icons/arrow-bend-left.icon.js +1 -1
  280. package/lib/components/Icon/icons/arrow-bend-left.icon.js.map +1 -1
  281. package/lib/components/Icon/icons/arrow-bend-right.icon.js +1 -1
  282. package/lib/components/Icon/icons/arrow-bend-right.icon.js.map +1 -1
  283. package/lib/components/Icon/icons/arrow-between-column-down.icon.js +1 -1
  284. package/lib/components/Icon/icons/arrow-between-column-down.icon.js.map +1 -1
  285. package/lib/components/Icon/icons/arrow-down-between-left-column.icon.js +1 -1
  286. package/lib/components/Icon/icons/arrow-down-between-left-column.icon.js.map +1 -1
  287. package/lib/components/Icon/icons/arrow-down-between-right-column.icon.js +1 -1
  288. package/lib/components/Icon/icons/arrow-down-between-right-column.icon.js.map +1 -1
  289. package/lib/components/Icon/icons/arrow-down-row.icon.js +1 -1
  290. package/lib/components/Icon/icons/arrow-down-row.icon.js.map +1 -1
  291. package/lib/components/Icon/icons/arrow-down.icon.js +1 -1
  292. package/lib/components/Icon/icons/arrow-down.icon.js.map +1 -1
  293. package/lib/components/Icon/icons/arrow-in.icon.js +1 -1
  294. package/lib/components/Icon/icons/arrow-in.icon.js.map +1 -1
  295. package/lib/components/Icon/icons/arrow-left-column.icon.js +1 -1
  296. package/lib/components/Icon/icons/arrow-left-column.icon.js.map +1 -1
  297. package/lib/components/Icon/icons/arrow-left-right.icon.js +1 -1
  298. package/lib/components/Icon/icons/arrow-left-right.icon.js.map +1 -1
  299. package/lib/components/Icon/icons/arrow-left.icon.js +1 -1
  300. package/lib/components/Icon/icons/arrow-left.icon.js.map +1 -1
  301. package/lib/components/Icon/icons/arrow-micro-down.icon.js +1 -1
  302. package/lib/components/Icon/icons/arrow-micro-down.icon.js.map +1 -1
  303. package/lib/components/Icon/icons/arrow-micro-left.icon.js +1 -1
  304. package/lib/components/Icon/icons/arrow-micro-left.icon.js.map +1 -1
  305. package/lib/components/Icon/icons/arrow-micro-right.icon.js +1 -1
  306. package/lib/components/Icon/icons/arrow-micro-right.icon.js.map +1 -1
  307. package/lib/components/Icon/icons/arrow-micro-up-down.icon.js +1 -1
  308. package/lib/components/Icon/icons/arrow-micro-up-down.icon.js.map +1 -1
  309. package/lib/components/Icon/icons/arrow-micro-up.icon.js +1 -1
  310. package/lib/components/Icon/icons/arrow-micro-up.icon.js.map +1 -1
  311. package/lib/components/Icon/icons/arrow-out.icon.js +1 -1
  312. package/lib/components/Icon/icons/arrow-out.icon.js.map +1 -1
  313. package/lib/components/Icon/icons/arrow-right-between-rows.icon.js +1 -1
  314. package/lib/components/Icon/icons/arrow-right-between-rows.icon.js.map +1 -1
  315. package/lib/components/Icon/icons/arrow-right-column.icon.js +1 -1
  316. package/lib/components/Icon/icons/arrow-right-column.icon.js.map +1 -1
  317. package/lib/components/Icon/icons/arrow-right.icon.js +1 -1
  318. package/lib/components/Icon/icons/arrow-right.icon.js.map +1 -1
  319. package/lib/components/Icon/icons/arrow-up-down.icon.js +1 -1
  320. package/lib/components/Icon/icons/arrow-up-down.icon.js.map +1 -1
  321. package/lib/components/Icon/icons/arrow-up-row.icon.js +1 -1
  322. package/lib/components/Icon/icons/arrow-up-row.icon.js.map +1 -1
  323. package/lib/components/Icon/icons/arrow-up.icon.js +1 -1
  324. package/lib/components/Icon/icons/arrow-up.icon.js.map +1 -1
  325. package/lib/components/Icon/icons/atom.icon.js +1 -1
  326. package/lib/components/Icon/icons/atom.icon.js.map +1 -1
  327. package/lib/components/Icon/icons/backspace-solid.icon.js +1 -1
  328. package/lib/components/Icon/icons/backspace-solid.icon.js.map +1 -1
  329. package/lib/components/Icon/icons/backspace.icon.js +1 -1
  330. package/lib/components/Icon/icons/backspace.icon.js.map +1 -1
  331. package/lib/components/Icon/icons/badge-solid.icon.js +1 -1
  332. package/lib/components/Icon/icons/badge-solid.icon.js.map +1 -1
  333. package/lib/components/Icon/icons/badge.icon.js +1 -1
  334. package/lib/components/Icon/icons/badge.icon.js.map +1 -1
  335. package/lib/components/Icon/icons/bank-solid.icon.js +1 -1
  336. package/lib/components/Icon/icons/bank-solid.icon.js.map +1 -1
  337. package/lib/components/Icon/icons/bank.icon.js +1 -1
  338. package/lib/components/Icon/icons/bank.icon.js.map +1 -1
  339. package/lib/components/Icon/icons/bars.icon.js +1 -1
  340. package/lib/components/Icon/icons/bars.icon.js.map +1 -1
  341. package/lib/components/Icon/icons/battery-charge-solid.icon.js +1 -1
  342. package/lib/components/Icon/icons/battery-charge-solid.icon.js.map +1 -1
  343. package/lib/components/Icon/icons/battery-charge.icon.js +1 -1
  344. package/lib/components/Icon/icons/battery-charge.icon.js.map +1 -1
  345. package/lib/components/Icon/icons/battery-solid.icon.js +1 -1
  346. package/lib/components/Icon/icons/battery-solid.icon.js.map +1 -1
  347. package/lib/components/Icon/icons/battery.icon.js +1 -1
  348. package/lib/components/Icon/icons/battery.icon.js.map +1 -1
  349. package/lib/components/Icon/icons/bell-off-solid.icon.js +1 -1
  350. package/lib/components/Icon/icons/bell-off-solid.icon.js.map +1 -1
  351. package/lib/components/Icon/icons/bell-off.icon.js +1 -1
  352. package/lib/components/Icon/icons/bell-off.icon.js.map +1 -1
  353. package/lib/components/Icon/icons/bell-solid.icon.js +1 -1
  354. package/lib/components/Icon/icons/bell-solid.icon.js.map +1 -1
  355. package/lib/components/Icon/icons/bell.icon.js +1 -1
  356. package/lib/components/Icon/icons/bell.icon.js.map +1 -1
  357. package/lib/components/Icon/icons/blocks-solid.icon.js +1 -1
  358. package/lib/components/Icon/icons/blocks-solid.icon.js.map +1 -1
  359. package/lib/components/Icon/icons/blocks.icon.js +1 -1
  360. package/lib/components/Icon/icons/blocks.icon.js.map +1 -1
  361. package/lib/components/Icon/icons/bluetooth.icon.js +1 -1
  362. package/lib/components/Icon/icons/bluetooth.icon.js.map +1 -1
  363. package/lib/components/Icon/icons/bolt-solid.icon.js +1 -1
  364. package/lib/components/Icon/icons/bolt-solid.icon.js.map +1 -1
  365. package/lib/components/Icon/icons/bolt.icon.js +1 -1
  366. package/lib/components/Icon/icons/bolt.icon.js.map +1 -1
  367. package/lib/components/Icon/icons/book-open-solid.icon.js +1 -1
  368. package/lib/components/Icon/icons/book-open-solid.icon.js.map +1 -1
  369. package/lib/components/Icon/icons/book-open.icon.js +1 -1
  370. package/lib/components/Icon/icons/book-open.icon.js.map +1 -1
  371. package/lib/components/Icon/icons/book-solid.icon.js +1 -1
  372. package/lib/components/Icon/icons/book-solid.icon.js.map +1 -1
  373. package/lib/components/Icon/icons/book.icon.js +1 -1
  374. package/lib/components/Icon/icons/book.icon.js.map +1 -1
  375. package/lib/components/Icon/icons/bookmark-solid.icon.js +1 -1
  376. package/lib/components/Icon/icons/bookmark-solid.icon.js.map +1 -1
  377. package/lib/components/Icon/icons/bookmark.icon.js +1 -1
  378. package/lib/components/Icon/icons/bookmark.icon.js.map +1 -1
  379. package/lib/components/Icon/icons/bounding-box-solid.icon.js +1 -1
  380. package/lib/components/Icon/icons/bounding-box-solid.icon.js.map +1 -1
  381. package/lib/components/Icon/icons/bounding-box.icon.js +1 -1
  382. package/lib/components/Icon/icons/bounding-box.icon.js.map +1 -1
  383. package/lib/components/Icon/icons/box-3-solid.icon.js +1 -1
  384. package/lib/components/Icon/icons/box-3-solid.icon.js.map +1 -1
  385. package/lib/components/Icon/icons/box-3.icon.js +1 -1
  386. package/lib/components/Icon/icons/box-3.icon.js.map +1 -1
  387. package/lib/components/Icon/icons/box-4-solid.icon.js +1 -1
  388. package/lib/components/Icon/icons/box-4-solid.icon.js.map +1 -1
  389. package/lib/components/Icon/icons/box-4.icon.js +1 -1
  390. package/lib/components/Icon/icons/box-4.icon.js.map +1 -1
  391. package/lib/components/Icon/icons/box-crosshair.icon.js +1 -1
  392. package/lib/components/Icon/icons/box-crosshair.icon.js.map +1 -1
  393. package/lib/components/Icon/icons/box-dashed-labeled-solid.icon.js +1 -1
  394. package/lib/components/Icon/icons/box-dashed-labeled-solid.icon.js.map +1 -1
  395. package/lib/components/Icon/icons/box-dashed-labeled.icon.js +1 -1
  396. package/lib/components/Icon/icons/box-dashed-labeled.icon.js.map +1 -1
  397. package/lib/components/Icon/icons/box-grid.icon.js +1 -1
  398. package/lib/components/Icon/icons/box-grid.icon.js.map +1 -1
  399. package/lib/components/Icon/icons/box-lines-2-solid.icon.js +1 -1
  400. package/lib/components/Icon/icons/box-lines-2-solid.icon.js.map +1 -1
  401. package/lib/components/Icon/icons/box-lines-2.icon.js +1 -1
  402. package/lib/components/Icon/icons/box-lines-2.icon.js.map +1 -1
  403. package/lib/components/Icon/icons/box.icon.js +1 -1
  404. package/lib/components/Icon/icons/box.icon.js.map +1 -1
  405. package/lib/components/Icon/icons/browser-solid.icon.js +1 -1
  406. package/lib/components/Icon/icons/browser-solid.icon.js.map +1 -1
  407. package/lib/components/Icon/icons/browser.icon.js +1 -1
  408. package/lib/components/Icon/icons/browser.icon.js.map +1 -1
  409. package/lib/components/Icon/icons/bug-solid.icon.js +1 -1
  410. package/lib/components/Icon/icons/bug-solid.icon.js.map +1 -1
  411. package/lib/components/Icon/icons/bug.icon.js +1 -1
  412. package/lib/components/Icon/icons/bug.icon.js.map +1 -1
  413. package/lib/components/Icon/icons/building-2-solid.icon.js +1 -1
  414. package/lib/components/Icon/icons/building-2-solid.icon.js.map +1 -1
  415. package/lib/components/Icon/icons/building-2.icon.js +1 -1
  416. package/lib/components/Icon/icons/building-2.icon.js.map +1 -1
  417. package/lib/components/Icon/icons/building-3-solid.icon.js +1 -1
  418. package/lib/components/Icon/icons/building-3-solid.icon.js.map +1 -1
  419. package/lib/components/Icon/icons/building-3.icon.js +1 -1
  420. package/lib/components/Icon/icons/building-3.icon.js.map +1 -1
  421. package/lib/components/Icon/icons/building-solid.icon.js +1 -1
  422. package/lib/components/Icon/icons/building-solid.icon.js.map +1 -1
  423. package/lib/components/Icon/icons/building.icon.js +1 -1
  424. package/lib/components/Icon/icons/building.icon.js.map +1 -1
  425. package/lib/components/Icon/icons/bulb-solid.icon.js +1 -1
  426. package/lib/components/Icon/icons/bulb-solid.icon.js.map +1 -1
  427. package/lib/components/Icon/icons/bulb.icon.js +1 -1
  428. package/lib/components/Icon/icons/bulb.icon.js.map +1 -1
  429. package/lib/components/Icon/icons/calculator-solid.icon.js +1 -1
  430. package/lib/components/Icon/icons/calculator-solid.icon.js.map +1 -1
  431. package/lib/components/Icon/icons/calculator.icon.js +1 -1
  432. package/lib/components/Icon/icons/calculator.icon.js.map +1 -1
  433. package/lib/components/Icon/icons/calendar-empty-solid.icon.js +1 -1
  434. package/lib/components/Icon/icons/calendar-empty-solid.icon.js.map +1 -1
  435. package/lib/components/Icon/icons/calendar-empty.icon.js +1 -1
  436. package/lib/components/Icon/icons/calendar-empty.icon.js.map +1 -1
  437. package/lib/components/Icon/icons/calendar-plus-solid.icon.js +1 -1
  438. package/lib/components/Icon/icons/calendar-plus-solid.icon.js.map +1 -1
  439. package/lib/components/Icon/icons/calendar-plus.icon.js +1 -1
  440. package/lib/components/Icon/icons/calendar-plus.icon.js.map +1 -1
  441. package/lib/components/Icon/icons/calendar-range.icon.js +1 -1
  442. package/lib/components/Icon/icons/calendar-range.icon.js.map +1 -1
  443. package/lib/components/Icon/icons/calendar-solid.icon.js +1 -1
  444. package/lib/components/Icon/icons/calendar-solid.icon.js.map +1 -1
  445. package/lib/components/Icon/icons/calendar.icon.js +1 -1
  446. package/lib/components/Icon/icons/calendar.icon.js.map +1 -1
  447. package/lib/components/Icon/icons/camera-solid.icon.js +1 -1
  448. package/lib/components/Icon/icons/camera-solid.icon.js.map +1 -1
  449. package/lib/components/Icon/icons/camera.icon.js +1 -1
  450. package/lib/components/Icon/icons/camera.icon.js.map +1 -1
  451. package/lib/components/Icon/icons/cancel.icon.js +1 -1
  452. package/lib/components/Icon/icons/cancel.icon.js.map +1 -1
  453. package/lib/components/Icon/icons/car-solid.icon.js +1 -1
  454. package/lib/components/Icon/icons/car-solid.icon.js.map +1 -1
  455. package/lib/components/Icon/icons/car.icon.js +1 -1
  456. package/lib/components/Icon/icons/car.icon.js.map +1 -1
  457. package/lib/components/Icon/icons/card-stack-solid.icon.js +1 -1
  458. package/lib/components/Icon/icons/card-stack-solid.icon.js.map +1 -1
  459. package/lib/components/Icon/icons/card-stack.icon.js +1 -1
  460. package/lib/components/Icon/icons/card-stack.icon.js.map +1 -1
  461. package/lib/components/Icon/icons/caret-2-left.icon.js +1 -1
  462. package/lib/components/Icon/icons/caret-2-left.icon.js.map +1 -1
  463. package/lib/components/Icon/icons/caret-2-right.icon.js +1 -1
  464. package/lib/components/Icon/icons/caret-2-right.icon.js.map +1 -1
  465. package/lib/components/Icon/icons/caret-down.icon.js +1 -1
  466. package/lib/components/Icon/icons/caret-down.icon.js.map +1 -1
  467. package/lib/components/Icon/icons/caret-left.icon.js +1 -1
  468. package/lib/components/Icon/icons/caret-left.icon.js.map +1 -1
  469. package/lib/components/Icon/icons/caret-right.icon.js +1 -1
  470. package/lib/components/Icon/icons/caret-right.icon.js.map +1 -1
  471. package/lib/components/Icon/icons/caret-up.icon.js +1 -1
  472. package/lib/components/Icon/icons/caret-up.icon.js.map +1 -1
  473. package/lib/components/Icon/icons/cart-close-solid.icon.js +1 -1
  474. package/lib/components/Icon/icons/cart-close-solid.icon.js.map +1 -1
  475. package/lib/components/Icon/icons/cart-close.icon.js +1 -1
  476. package/lib/components/Icon/icons/cart-close.icon.js.map +1 -1
  477. package/lib/components/Icon/icons/cart-solid.icon.js +1 -1
  478. package/lib/components/Icon/icons/cart-solid.icon.js.map +1 -1
  479. package/lib/components/Icon/icons/cart.icon.js +1 -1
  480. package/lib/components/Icon/icons/cart.icon.js.map +1 -1
  481. package/lib/components/Icon/icons/case-medical-solid.icon.js +1 -1
  482. package/lib/components/Icon/icons/case-medical-solid.icon.js.map +1 -1
  483. package/lib/components/Icon/icons/case-medical.icon.js +1 -1
  484. package/lib/components/Icon/icons/case-medical.icon.js.map +1 -1
  485. package/lib/components/Icon/icons/case-solid.icon.js +1 -1
  486. package/lib/components/Icon/icons/case-solid.icon.js.map +1 -1
  487. package/lib/components/Icon/icons/case.icon.js +1 -1
  488. package/lib/components/Icon/icons/case.icon.js.map +1 -1
  489. package/lib/components/Icon/icons/chain-solid.icon.js +1 -1
  490. package/lib/components/Icon/icons/chain-solid.icon.js.map +1 -1
  491. package/lib/components/Icon/icons/chain-up.icon.js +1 -1
  492. package/lib/components/Icon/icons/chain-up.icon.js.map +1 -1
  493. package/lib/components/Icon/icons/chain.icon.js +1 -1
  494. package/lib/components/Icon/icons/chain.icon.js.map +1 -1
  495. package/lib/components/Icon/icons/chat-help-solid.icon.js +1 -1
  496. package/lib/components/Icon/icons/chat-help-solid.icon.js.map +1 -1
  497. package/lib/components/Icon/icons/chat-help.icon.js +1 -1
  498. package/lib/components/Icon/icons/chat-help.icon.js.map +1 -1
  499. package/lib/components/Icon/icons/chat-sentiment-solid.icon.js +1 -1
  500. package/lib/components/Icon/icons/chat-sentiment-solid.icon.js.map +1 -1
  501. package/lib/components/Icon/icons/chat-sentiment.icon.js +1 -1
  502. package/lib/components/Icon/icons/chat-sentiment.icon.js.map +1 -1
  503. package/lib/components/Icon/icons/chat-solid.icon.js +1 -1
  504. package/lib/components/Icon/icons/chat-solid.icon.js.map +1 -1
  505. package/lib/components/Icon/icons/chat-typing-solid.icon.js +1 -1
  506. package/lib/components/Icon/icons/chat-typing-solid.icon.js.map +1 -1
  507. package/lib/components/Icon/icons/chat-typing.icon.js +1 -1
  508. package/lib/components/Icon/icons/chat-typing.icon.js.map +1 -1
  509. package/lib/components/Icon/icons/chat.icon.js +1 -1
  510. package/lib/components/Icon/icons/chat.icon.js.map +1 -1
  511. package/lib/components/Icon/icons/chats-solid.icon.js +1 -1
  512. package/lib/components/Icon/icons/chats-solid.icon.js.map +1 -1
  513. package/lib/components/Icon/icons/chats.icon.js +1 -1
  514. package/lib/components/Icon/icons/chats.icon.js.map +1 -1
  515. package/lib/components/Icon/icons/check.icon.js +1 -1
  516. package/lib/components/Icon/icons/check.icon.js.map +1 -1
  517. package/lib/components/Icon/icons/checkbook.icon.js +1 -1
  518. package/lib/components/Icon/icons/checkbook.icon.js.map +1 -1
  519. package/lib/components/Icon/icons/chevron-solid.icon.js +1 -1
  520. package/lib/components/Icon/icons/chevron-solid.icon.js.map +1 -1
  521. package/lib/components/Icon/icons/chevron.icon.js +1 -1
  522. package/lib/components/Icon/icons/chevron.icon.js.map +1 -1
  523. package/lib/components/Icon/icons/church-solid.icon.js +1 -1
  524. package/lib/components/Icon/icons/church-solid.icon.js.map +1 -1
  525. package/lib/components/Icon/icons/church.icon.js +1 -1
  526. package/lib/components/Icon/icons/church.icon.js.map +1 -1
  527. package/lib/components/Icon/icons/circle-mixed-down.icon.js +1 -1
  528. package/lib/components/Icon/icons/circle-mixed-down.icon.js.map +1 -1
  529. package/lib/components/Icon/icons/circle-mixed-left.icon.js +1 -1
  530. package/lib/components/Icon/icons/circle-mixed-left.icon.js.map +1 -1
  531. package/lib/components/Icon/icons/circle-mixed-up.icon.js +1 -1
  532. package/lib/components/Icon/icons/circle-mixed-up.icon.js.map +1 -1
  533. package/lib/components/Icon/icons/circle-solid.icon.js +1 -1
  534. package/lib/components/Icon/icons/circle-solid.icon.js.map +1 -1
  535. package/lib/components/Icon/icons/circle-stacked-mixed.icon.js +1 -1
  536. package/lib/components/Icon/icons/circle-stacked-mixed.icon.js.map +1 -1
  537. package/lib/components/Icon/icons/circle-stacked-solid.icon.js +1 -1
  538. package/lib/components/Icon/icons/circle-stacked-solid.icon.js.map +1 -1
  539. package/lib/components/Icon/icons/circle-stacked.icon.js +1 -1
  540. package/lib/components/Icon/icons/circle-stacked.icon.js.map +1 -1
  541. package/lib/components/Icon/icons/circle.icon.js +1 -1
  542. package/lib/components/Icon/icons/circle.icon.js.map +1 -1
  543. package/lib/components/Icon/icons/city-solid.icon.js +1 -1
  544. package/lib/components/Icon/icons/city-solid.icon.js.map +1 -1
  545. package/lib/components/Icon/icons/city.icon.js +1 -1
  546. package/lib/components/Icon/icons/city.icon.js.map +1 -1
  547. package/lib/components/Icon/icons/clipboard-check-solid.icon.js +1 -1
  548. package/lib/components/Icon/icons/clipboard-check-solid.icon.js.map +1 -1
  549. package/lib/components/Icon/icons/clipboard-check.icon.js +1 -1
  550. package/lib/components/Icon/icons/clipboard-check.icon.js.map +1 -1
  551. package/lib/components/Icon/icons/clipboard-data-solid.icon.js +1 -1
  552. package/lib/components/Icon/icons/clipboard-data-solid.icon.js.map +1 -1
  553. package/lib/components/Icon/icons/clipboard-data.icon.js +1 -1
  554. package/lib/components/Icon/icons/clipboard-data.icon.js.map +1 -1
  555. package/lib/components/Icon/icons/clipboard-medical-solid.icon.js +1 -1
  556. package/lib/components/Icon/icons/clipboard-medical-solid.icon.js.map +1 -1
  557. package/lib/components/Icon/icons/clipboard-medical.icon.js +1 -1
  558. package/lib/components/Icon/icons/clipboard-medical.icon.js.map +1 -1
  559. package/lib/components/Icon/icons/clipboard-plus-solid.icon.js +1 -1
  560. package/lib/components/Icon/icons/clipboard-plus-solid.icon.js.map +1 -1
  561. package/lib/components/Icon/icons/clipboard-plus.icon.js +1 -1
  562. package/lib/components/Icon/icons/clipboard-plus.icon.js.map +1 -1
  563. package/lib/components/Icon/icons/clipboard-solid.icon.js +1 -1
  564. package/lib/components/Icon/icons/clipboard-solid.icon.js.map +1 -1
  565. package/lib/components/Icon/icons/clipboard.icon.js +1 -1
  566. package/lib/components/Icon/icons/clipboard.icon.js.map +1 -1
  567. package/lib/components/Icon/icons/clock-solid.icon.js +1 -1
  568. package/lib/components/Icon/icons/clock-solid.icon.js.map +1 -1
  569. package/lib/components/Icon/icons/clock.icon.js +1 -1
  570. package/lib/components/Icon/icons/clock.icon.js.map +1 -1
  571. package/lib/components/Icon/icons/cloud-down.icon.js +1 -1
  572. package/lib/components/Icon/icons/cloud-down.icon.js.map +1 -1
  573. package/lib/components/Icon/icons/cloud-issue-solid.icon.js +1 -1
  574. package/lib/components/Icon/icons/cloud-issue-solid.icon.js.map +1 -1
  575. package/lib/components/Icon/icons/cloud-issue.icon.js +1 -1
  576. package/lib/components/Icon/icons/cloud-issue.icon.js.map +1 -1
  577. package/lib/components/Icon/icons/cloud-solid.icon.js +1 -1
  578. package/lib/components/Icon/icons/cloud-solid.icon.js.map +1 -1
  579. package/lib/components/Icon/icons/cloud-up.icon.js +1 -1
  580. package/lib/components/Icon/icons/cloud-up.icon.js.map +1 -1
  581. package/lib/components/Icon/icons/cloud.icon.js +1 -1
  582. package/lib/components/Icon/icons/cloud.icon.js.map +1 -1
  583. package/lib/components/Icon/icons/cloudy-solid.icon.js +1 -1
  584. package/lib/components/Icon/icons/cloudy-solid.icon.js.map +1 -1
  585. package/lib/components/Icon/icons/cloudy.icon.js +1 -1
  586. package/lib/components/Icon/icons/cloudy.icon.js.map +1 -1
  587. package/lib/components/Icon/icons/code.icon.js +1 -1
  588. package/lib/components/Icon/icons/code.icon.js.map +1 -1
  589. package/lib/components/Icon/icons/column-delete.icon.js +1 -1
  590. package/lib/components/Icon/icons/column-delete.icon.js.map +1 -1
  591. package/lib/components/Icon/icons/column-insert.icon.js +1 -1
  592. package/lib/components/Icon/icons/column-insert.icon.js.map +1 -1
  593. package/lib/components/Icon/icons/column-no-left.icon.js +1 -1
  594. package/lib/components/Icon/icons/column-no-left.icon.js.map +1 -1
  595. package/lib/components/Icon/icons/column-no-right.icon.js +1 -1
  596. package/lib/components/Icon/icons/column-no-right.icon.js.map +1 -1
  597. package/lib/components/Icon/icons/column-top-fill.icon.js +1 -1
  598. package/lib/components/Icon/icons/column-top-fill.icon.js.map +1 -1
  599. package/lib/components/Icon/icons/columns-solid.icon.js +1 -1
  600. package/lib/components/Icon/icons/columns-solid.icon.js.map +1 -1
  601. package/lib/components/Icon/icons/columns.icon.js +1 -1
  602. package/lib/components/Icon/icons/columns.icon.js.map +1 -1
  603. package/lib/components/Icon/icons/command.icon.js +1 -1
  604. package/lib/components/Icon/icons/command.icon.js.map +1 -1
  605. package/lib/components/Icon/icons/compass-solid.icon.js +1 -1
  606. package/lib/components/Icon/icons/compass-solid.icon.js.map +1 -1
  607. package/lib/components/Icon/icons/compass.icon.js +1 -1
  608. package/lib/components/Icon/icons/compass.icon.js.map +1 -1
  609. package/lib/components/Icon/icons/controller-solid.icon.js +1 -1
  610. package/lib/components/Icon/icons/controller-solid.icon.js.map +1 -1
  611. package/lib/components/Icon/icons/controller.icon.js +1 -1
  612. package/lib/components/Icon/icons/controller.icon.js.map +1 -1
  613. package/lib/components/Icon/icons/copy-solid.icon.js +1 -1
  614. package/lib/components/Icon/icons/copy-solid.icon.js.map +1 -1
  615. package/lib/components/Icon/icons/copy.icon.js +1 -1
  616. package/lib/components/Icon/icons/copy.icon.js.map +1 -1
  617. package/lib/components/Icon/icons/credit-solid.icon.js +1 -1
  618. package/lib/components/Icon/icons/credit-solid.icon.js.map +1 -1
  619. package/lib/components/Icon/icons/credit.icon.js +1 -1
  620. package/lib/components/Icon/icons/credit.icon.js.map +1 -1
  621. package/lib/components/Icon/icons/crop.icon.js +1 -1
  622. package/lib/components/Icon/icons/crop.icon.js.map +1 -1
  623. package/lib/components/Icon/icons/crosshairs.icon.js +1 -1
  624. package/lib/components/Icon/icons/crosshairs.icon.js.map +1 -1
  625. package/lib/components/Icon/icons/cuppa-solid.icon.js +1 -1
  626. package/lib/components/Icon/icons/cuppa-solid.icon.js.map +1 -1
  627. package/lib/components/Icon/icons/cuppa.icon.js +1 -1
  628. package/lib/components/Icon/icons/cuppa.icon.js.map +1 -1
  629. package/lib/components/Icon/icons/dataviz-area-multi.icon.js +1 -1
  630. package/lib/components/Icon/icons/dataviz-area-multi.icon.js.map +1 -1
  631. package/lib/components/Icon/icons/dataviz-area-stacked.icon.js +1 -1
  632. package/lib/components/Icon/icons/dataviz-area-stacked.icon.js.map +1 -1
  633. package/lib/components/Icon/icons/dataviz-area.icon.js +1 -1
  634. package/lib/components/Icon/icons/dataviz-area.icon.js.map +1 -1
  635. package/lib/components/Icon/icons/dataviz-bar-clustered.icon.js +1 -1
  636. package/lib/components/Icon/icons/dataviz-bar-clustered.icon.js.map +1 -1
  637. package/lib/components/Icon/icons/dataviz-bar-stacked.icon.js +1 -1
  638. package/lib/components/Icon/icons/dataviz-bar-stacked.icon.js.map +1 -1
  639. package/lib/components/Icon/icons/dataviz-bar.icon.js +1 -1
  640. package/lib/components/Icon/icons/dataviz-bar.icon.js.map +1 -1
  641. package/lib/components/Icon/icons/dataviz-bubble.icon.js +1 -1
  642. package/lib/components/Icon/icons/dataviz-bubble.icon.js.map +1 -1
  643. package/lib/components/Icon/icons/dataviz-column-clustered.icon.js +1 -1
  644. package/lib/components/Icon/icons/dataviz-column-clustered.icon.js.map +1 -1
  645. package/lib/components/Icon/icons/dataviz-column-stacked.icon.js +1 -1
  646. package/lib/components/Icon/icons/dataviz-column-stacked.icon.js.map +1 -1
  647. package/lib/components/Icon/icons/dataviz-column.icon.js +1 -1
  648. package/lib/components/Icon/icons/dataviz-column.icon.js.map +1 -1
  649. package/lib/components/Icon/icons/dataviz-combo.icon.js +1 -1
  650. package/lib/components/Icon/icons/dataviz-combo.icon.js.map +1 -1
  651. package/lib/components/Icon/icons/dataviz-datetime-field.icon.js +1 -1
  652. package/lib/components/Icon/icons/dataviz-datetime-field.icon.js.map +1 -1
  653. package/lib/components/Icon/icons/dataviz-donut.icon.js +1 -1
  654. package/lib/components/Icon/icons/dataviz-donut.icon.js.map +1 -1
  655. package/lib/components/Icon/icons/dataviz-flip-counter.icon.js +1 -1
  656. package/lib/components/Icon/icons/dataviz-flip-counter.icon.js.map +1 -1
  657. package/lib/components/Icon/icons/dataviz-forecast.icon.js +1 -1
  658. package/lib/components/Icon/icons/dataviz-forecast.icon.js.map +1 -1
  659. package/lib/components/Icon/icons/dataviz-funnel-solid.icon.js +1 -1
  660. package/lib/components/Icon/icons/dataviz-funnel-solid.icon.js.map +1 -1
  661. package/lib/components/Icon/icons/dataviz-funnel.icon.js +1 -1
  662. package/lib/components/Icon/icons/dataviz-funnel.icon.js.map +1 -1
  663. package/lib/components/Icon/icons/dataviz-gauge.icon.js +1 -1
  664. package/lib/components/Icon/icons/dataviz-gauge.icon.js.map +1 -1
  665. package/lib/components/Icon/icons/dataviz-geo-choropleth.icon.js +1 -1
  666. package/lib/components/Icon/icons/dataviz-geo-choropleth.icon.js.map +1 -1
  667. package/lib/components/Icon/icons/dataviz-line-multi.icon.js +1 -1
  668. package/lib/components/Icon/icons/dataviz-line-multi.icon.js.map +1 -1
  669. package/lib/components/Icon/icons/dataviz-line.icon.js +1 -1
  670. package/lib/components/Icon/icons/dataviz-line.icon.js.map +1 -1
  671. package/lib/components/Icon/icons/dataviz-numeric-field.icon.js +1 -1
  672. package/lib/components/Icon/icons/dataviz-numeric-field.icon.js.map +1 -1
  673. package/lib/components/Icon/icons/dataviz-pareto.icon.js +1 -1
  674. package/lib/components/Icon/icons/dataviz-pareto.icon.js.map +1 -1
  675. package/lib/components/Icon/icons/dataviz-pie.icon.js +1 -1
  676. package/lib/components/Icon/icons/dataviz-pie.icon.js.map +1 -1
  677. package/lib/components/Icon/icons/dataviz-pivot-table.icon.js +1 -1
  678. package/lib/components/Icon/icons/dataviz-pivot-table.icon.js.map +1 -1
  679. package/lib/components/Icon/icons/dataviz-radar.icon.js +1 -1
  680. package/lib/components/Icon/icons/dataviz-radar.icon.js.map +1 -1
  681. package/lib/components/Icon/icons/dataviz-scatter.icon.js +1 -1
  682. package/lib/components/Icon/icons/dataviz-scatter.icon.js.map +1 -1
  683. package/lib/components/Icon/icons/dataviz-spark.icon.js +1 -1
  684. package/lib/components/Icon/icons/dataviz-spark.icon.js.map +1 -1
  685. package/lib/components/Icon/icons/dataviz-string-field.icon.js +1 -1
  686. package/lib/components/Icon/icons/dataviz-string-field.icon.js.map +1 -1
  687. package/lib/components/Icon/icons/dataviz-table-with-bars.icon.js +1 -1
  688. package/lib/components/Icon/icons/dataviz-table-with-bars.icon.js.map +1 -1
  689. package/lib/components/Icon/icons/dataviz-table-with-cross.icon.js +1 -1
  690. package/lib/components/Icon/icons/dataviz-table-with-cross.icon.js.map +1 -1
  691. package/lib/components/Icon/icons/dataviz-waterfall.icon.js +1 -1
  692. package/lib/components/Icon/icons/dataviz-waterfall.icon.js.map +1 -1
  693. package/lib/components/Icon/icons/desktop-solid.icon.js +1 -1
  694. package/lib/components/Icon/icons/desktop-solid.icon.js.map +1 -1
  695. package/lib/components/Icon/icons/desktop.icon.js +1 -1
  696. package/lib/components/Icon/icons/desktop.icon.js.map +1 -1
  697. package/lib/components/Icon/icons/diamond-solid.icon.js +1 -1
  698. package/lib/components/Icon/icons/diamond-solid.icon.js.map +1 -1
  699. package/lib/components/Icon/icons/diamond.icon.js +1 -1
  700. package/lib/components/Icon/icons/diamond.icon.js.map +1 -1
  701. package/lib/components/Icon/icons/disc-stack-solid.icon.js +1 -1
  702. package/lib/components/Icon/icons/disc-stack-solid.icon.js.map +1 -1
  703. package/lib/components/Icon/icons/disc-stack.icon.js +1 -1
  704. package/lib/components/Icon/icons/disc-stack.icon.js.map +1 -1
  705. package/lib/components/Icon/icons/distribute-item-center-solid.icon.js +1 -1
  706. package/lib/components/Icon/icons/distribute-item-center-solid.icon.js.map +1 -1
  707. package/lib/components/Icon/icons/distribute-item-center.icon.js +1 -1
  708. package/lib/components/Icon/icons/distribute-item-center.icon.js.map +1 -1
  709. package/lib/components/Icon/icons/distribute-item-vert-center-solid.icon.js +1 -1
  710. package/lib/components/Icon/icons/distribute-item-vert-center-solid.icon.js.map +1 -1
  711. package/lib/components/Icon/icons/distribute-item-vert-center.icon.js +1 -1
  712. package/lib/components/Icon/icons/distribute-item-vert-center.icon.js.map +1 -1
  713. package/lib/components/Icon/icons/dna.icon.js +1 -1
  714. package/lib/components/Icon/icons/dna.icon.js.map +1 -1
  715. package/lib/components/Icon/icons/dock.icon.js +1 -1
  716. package/lib/components/Icon/icons/dock.icon.js.map +1 -1
  717. package/lib/components/Icon/icons/document-check-solid.icon.js +1 -1
  718. package/lib/components/Icon/icons/document-check-solid.icon.js.map +1 -1
  719. package/lib/components/Icon/icons/document-check.icon.js +1 -1
  720. package/lib/components/Icon/icons/document-check.icon.js.map +1 -1
  721. package/lib/components/Icon/icons/document-compress-solid.icon.js +1 -1
  722. package/lib/components/Icon/icons/document-compress-solid.icon.js.map +1 -1
  723. package/lib/components/Icon/icons/document-compress.icon.js +1 -1
  724. package/lib/components/Icon/icons/document-compress.icon.js.map +1 -1
  725. package/lib/components/Icon/icons/document-data-solid.icon.js +1 -1
  726. package/lib/components/Icon/icons/document-data-solid.icon.js.map +1 -1
  727. package/lib/components/Icon/icons/document-doc.icon.js +1 -1
  728. package/lib/components/Icon/icons/document-doc.icon.js.map +1 -1
  729. package/lib/components/Icon/icons/document-download-solid.icon.js +1 -1
  730. package/lib/components/Icon/icons/document-download-solid.icon.js.map +1 -1
  731. package/lib/components/Icon/icons/document-download.icon.js +1 -1
  732. package/lib/components/Icon/icons/document-download.icon.js.map +1 -1
  733. package/lib/components/Icon/icons/document-minus-solid.icon.js +1 -1
  734. package/lib/components/Icon/icons/document-minus-solid.icon.js.map +1 -1
  735. package/lib/components/Icon/icons/document-minus.icon.js +1 -1
  736. package/lib/components/Icon/icons/document-minus.icon.js.map +1 -1
  737. package/lib/components/Icon/icons/document-pdf.icon.js +1 -1
  738. package/lib/components/Icon/icons/document-pdf.icon.js.map +1 -1
  739. package/lib/components/Icon/icons/document-plus-solid.icon.js +1 -1
  740. package/lib/components/Icon/icons/document-plus-solid.icon.js.map +1 -1
  741. package/lib/components/Icon/icons/document-plus.icon.js +1 -1
  742. package/lib/components/Icon/icons/document-plus.icon.js.map +1 -1
  743. package/lib/components/Icon/icons/document-solid.icon.js +1 -1
  744. package/lib/components/Icon/icons/document-solid.icon.js.map +1 -1
  745. package/lib/components/Icon/icons/document-upload-solid.icon.js +1 -1
  746. package/lib/components/Icon/icons/document-upload-solid.icon.js.map +1 -1
  747. package/lib/components/Icon/icons/document-upload.icon.js +1 -1
  748. package/lib/components/Icon/icons/document-upload.icon.js.map +1 -1
  749. package/lib/components/Icon/icons/document-xls.icon.js +1 -1
  750. package/lib/components/Icon/icons/document-xls.icon.js.map +1 -1
  751. package/lib/components/Icon/icons/document.icon.js +1 -1
  752. package/lib/components/Icon/icons/document.icon.js.map +1 -1
  753. package/lib/components/Icon/icons/documents-check-solid.icon.js +1 -1
  754. package/lib/components/Icon/icons/documents-check-solid.icon.js.map +1 -1
  755. package/lib/components/Icon/icons/documents-check.icon.js +1 -1
  756. package/lib/components/Icon/icons/documents-check.icon.js.map +1 -1
  757. package/lib/components/Icon/icons/documents-data-solid.icon.js +1 -1
  758. package/lib/components/Icon/icons/documents-data-solid.icon.js.map +1 -1
  759. package/lib/components/Icon/icons/documents-data.icon.js +1 -1
  760. package/lib/components/Icon/icons/documents-data.icon.js.map +1 -1
  761. package/lib/components/Icon/icons/documents-solid.icon.js +1 -1
  762. package/lib/components/Icon/icons/documents-solid.icon.js.map +1 -1
  763. package/lib/components/Icon/icons/documents.icon.js +1 -1
  764. package/lib/components/Icon/icons/documents.icon.js.map +1 -1
  765. package/lib/components/Icon/icons/docusign.icon.js +1 -1
  766. package/lib/components/Icon/icons/docusign.icon.js.map +1 -1
  767. package/lib/components/Icon/icons/dollar-sign-solid.icon.js +1 -1
  768. package/lib/components/Icon/icons/dollar-sign-solid.icon.js.map +1 -1
  769. package/lib/components/Icon/icons/dollar-sign.icon.js +1 -1
  770. package/lib/components/Icon/icons/dollar-sign.icon.js.map +1 -1
  771. package/lib/components/Icon/icons/dot-9-solid.icon.js +1 -1
  772. package/lib/components/Icon/icons/dot-9-solid.icon.js.map +1 -1
  773. package/lib/components/Icon/icons/dot-9.icon.js +1 -1
  774. package/lib/components/Icon/icons/dot-9.icon.js.map +1 -1
  775. package/lib/components/Icon/icons/download.icon.js +1 -1
  776. package/lib/components/Icon/icons/download.icon.js.map +1 -1
  777. package/lib/components/Icon/icons/drag.icon.js +1 -1
  778. package/lib/components/Icon/icons/drag.icon.js.map +1 -1
  779. package/lib/components/Icon/icons/drink-solid.icon.js +1 -1
  780. package/lib/components/Icon/icons/drink-solid.icon.js.map +1 -1
  781. package/lib/components/Icon/icons/drink.icon.js +1 -1
  782. package/lib/components/Icon/icons/drink.icon.js.map +1 -1
  783. package/lib/components/Icon/icons/earth-solid.icon.js +1 -1
  784. package/lib/components/Icon/icons/earth-solid.icon.js.map +1 -1
  785. package/lib/components/Icon/icons/earth.icon.js +1 -1
  786. package/lib/components/Icon/icons/earth.icon.js.map +1 -1
  787. package/lib/components/Icon/icons/edit-shape-solid.icon.js +1 -1
  788. package/lib/components/Icon/icons/edit-shape-solid.icon.js.map +1 -1
  789. package/lib/components/Icon/icons/edit-shape.icon.js +1 -1
  790. package/lib/components/Icon/icons/edit-shape.icon.js.map +1 -1
  791. package/lib/components/Icon/icons/erase-solid.icon.js +1 -1
  792. package/lib/components/Icon/icons/erase-solid.icon.js.map +1 -1
  793. package/lib/components/Icon/icons/erase.icon.js +1 -1
  794. package/lib/components/Icon/icons/erase.icon.js.map +1 -1
  795. package/lib/components/Icon/icons/eye-off-solid.icon.js +1 -1
  796. package/lib/components/Icon/icons/eye-off-solid.icon.js.map +1 -1
  797. package/lib/components/Icon/icons/eye-off.icon.js +1 -1
  798. package/lib/components/Icon/icons/eye-off.icon.js.map +1 -1
  799. package/lib/components/Icon/icons/eye-solid.icon.js +1 -1
  800. package/lib/components/Icon/icons/eye-solid.icon.js.map +1 -1
  801. package/lib/components/Icon/icons/eye.icon.js +1 -1
  802. package/lib/components/Icon/icons/eye.icon.js.map +1 -1
  803. package/lib/components/Icon/icons/face-blank-solid.icon.js +1 -1
  804. package/lib/components/Icon/icons/face-blank-solid.icon.js.map +1 -1
  805. package/lib/components/Icon/icons/face-blank.icon.js +1 -1
  806. package/lib/components/Icon/icons/face-blank.icon.js.map +1 -1
  807. package/lib/components/Icon/icons/face-happy-solid.icon.js +1 -1
  808. package/lib/components/Icon/icons/face-happy-solid.icon.js.map +1 -1
  809. package/lib/components/Icon/icons/face-happy.icon.js +1 -1
  810. package/lib/components/Icon/icons/face-happy.icon.js.map +1 -1
  811. package/lib/components/Icon/icons/face-sad-solid.icon.js +1 -1
  812. package/lib/components/Icon/icons/face-sad-solid.icon.js.map +1 -1
  813. package/lib/components/Icon/icons/face-sad.icon.js +1 -1
  814. package/lib/components/Icon/icons/face-sad.icon.js.map +1 -1
  815. package/lib/components/Icon/icons/facebook.icon.js +1 -1
  816. package/lib/components/Icon/icons/facebook.icon.js.map +1 -1
  817. package/lib/components/Icon/icons/farm-solid.icon.js +1 -1
  818. package/lib/components/Icon/icons/farm-solid.icon.js.map +1 -1
  819. package/lib/components/Icon/icons/farm.icon.js +1 -1
  820. package/lib/components/Icon/icons/farm.icon.js.map +1 -1
  821. package/lib/components/Icon/icons/fast-forward-solid.icon.js +1 -1
  822. package/lib/components/Icon/icons/fast-forward-solid.icon.js.map +1 -1
  823. package/lib/components/Icon/icons/fast-forward.icon.js +1 -1
  824. package/lib/components/Icon/icons/fast-forward.icon.js.map +1 -1
  825. package/lib/components/Icon/icons/filetype-text.icon.js +1 -1
  826. package/lib/components/Icon/icons/filetype-text.icon.js.map +1 -1
  827. package/lib/components/Icon/icons/filter-on.icon.js +1 -1
  828. package/lib/components/Icon/icons/filter-on.icon.js.map +1 -1
  829. package/lib/components/Icon/icons/filter.icon.js +1 -1
  830. package/lib/components/Icon/icons/filter.icon.js.map +1 -1
  831. package/lib/components/Icon/icons/fire-solid.icon.js +1 -1
  832. package/lib/components/Icon/icons/fire-solid.icon.js.map +1 -1
  833. package/lib/components/Icon/icons/fire.icon.js +1 -1
  834. package/lib/components/Icon/icons/fire.icon.js.map +1 -1
  835. package/lib/components/Icon/icons/flag-finish.icon.js +1 -1
  836. package/lib/components/Icon/icons/flag-finish.icon.js.map +1 -1
  837. package/lib/components/Icon/icons/flag-solid.icon.js +1 -1
  838. package/lib/components/Icon/icons/flag-solid.icon.js.map +1 -1
  839. package/lib/components/Icon/icons/flag-wave-solid.icon.js +1 -1
  840. package/lib/components/Icon/icons/flag-wave-solid.icon.js.map +1 -1
  841. package/lib/components/Icon/icons/flag-wave.icon.js +1 -1
  842. package/lib/components/Icon/icons/flag-wave.icon.js.map +1 -1
  843. package/lib/components/Icon/icons/flag.icon.js +1 -1
  844. package/lib/components/Icon/icons/flag.icon.js.map +1 -1
  845. package/lib/components/Icon/icons/flashlight-solid.icon.js +1 -1
  846. package/lib/components/Icon/icons/flashlight-solid.icon.js.map +1 -1
  847. package/lib/components/Icon/icons/flashlight.icon.js +1 -1
  848. package/lib/components/Icon/icons/flashlight.icon.js.map +1 -1
  849. package/lib/components/Icon/icons/folder-close-solid.icon.js +1 -1
  850. package/lib/components/Icon/icons/folder-close-solid.icon.js.map +1 -1
  851. package/lib/components/Icon/icons/folder-close.icon.js +1 -1
  852. package/lib/components/Icon/icons/folder-close.icon.js.map +1 -1
  853. package/lib/components/Icon/icons/folder-closed-solid.icon.js +1 -1
  854. package/lib/components/Icon/icons/folder-closed-solid.icon.js.map +1 -1
  855. package/lib/components/Icon/icons/folder-closed.icon.js +1 -1
  856. package/lib/components/Icon/icons/folder-closed.icon.js.map +1 -1
  857. package/lib/components/Icon/icons/folder-dollar-solid.icon.js +1 -1
  858. package/lib/components/Icon/icons/folder-dollar-solid.icon.js.map +1 -1
  859. package/lib/components/Icon/icons/folder-dollar.icon.js +1 -1
  860. package/lib/components/Icon/icons/folder-dollar.icon.js.map +1 -1
  861. package/lib/components/Icon/icons/folder-hierarchy-solid.icon.js +1 -1
  862. package/lib/components/Icon/icons/folder-hierarchy-solid.icon.js.map +1 -1
  863. package/lib/components/Icon/icons/folder-hierarchy.icon.js +1 -1
  864. package/lib/components/Icon/icons/folder-hierarchy.icon.js.map +1 -1
  865. package/lib/components/Icon/icons/folder-nested-solid.icon.js +1 -1
  866. package/lib/components/Icon/icons/folder-nested-solid.icon.js.map +1 -1
  867. package/lib/components/Icon/icons/folder-nested.icon.js +1 -1
  868. package/lib/components/Icon/icons/folder-nested.icon.js.map +1 -1
  869. package/lib/components/Icon/icons/folder-plus-solid.icon.js +1 -1
  870. package/lib/components/Icon/icons/folder-plus-solid.icon.js.map +1 -1
  871. package/lib/components/Icon/icons/folder-plus.icon.js +1 -1
  872. package/lib/components/Icon/icons/folder-plus.icon.js.map +1 -1
  873. package/lib/components/Icon/icons/folder-solid.icon.js +1 -1
  874. package/lib/components/Icon/icons/folder-solid.icon.js.map +1 -1
  875. package/lib/components/Icon/icons/folder.icon.js +1 -1
  876. package/lib/components/Icon/icons/folder.icon.js.map +1 -1
  877. package/lib/components/Icon/icons/folders-solid.icon.js +1 -1
  878. package/lib/components/Icon/icons/folders-solid.icon.js.map +1 -1
  879. package/lib/components/Icon/icons/folders.icon.js +1 -1
  880. package/lib/components/Icon/icons/folders.icon.js.map +1 -1
  881. package/lib/components/Icon/icons/forward-all-solid.icon.js +1 -1
  882. package/lib/components/Icon/icons/forward-all-solid.icon.js.map +1 -1
  883. package/lib/components/Icon/icons/forward-all.icon.js +1 -1
  884. package/lib/components/Icon/icons/forward-all.icon.js.map +1 -1
  885. package/lib/components/Icon/icons/forward-solid.icon.js +1 -1
  886. package/lib/components/Icon/icons/forward-solid.icon.js.map +1 -1
  887. package/lib/components/Icon/icons/forward.icon.js +1 -1
  888. package/lib/components/Icon/icons/forward.icon.js.map +1 -1
  889. package/lib/components/Icon/icons/freeze-column.icon.js +1 -1
  890. package/lib/components/Icon/icons/freeze-column.icon.js.map +1 -1
  891. package/lib/components/Icon/icons/function.icon.js +1 -1
  892. package/lib/components/Icon/icons/function.icon.js.map +1 -1
  893. package/lib/components/Icon/icons/galaxy.icon.js +1 -1
  894. package/lib/components/Icon/icons/galaxy.icon.js.map +1 -1
  895. package/lib/components/Icon/icons/gauge-solid.icon.js +1 -1
  896. package/lib/components/Icon/icons/gauge-solid.icon.js.map +1 -1
  897. package/lib/components/Icon/icons/gauge.icon.js +1 -1
  898. package/lib/components/Icon/icons/gauge.icon.js.map +1 -1
  899. package/lib/components/Icon/icons/gear-solid.icon.js +1 -1
  900. package/lib/components/Icon/icons/gear-solid.icon.js.map +1 -1
  901. package/lib/components/Icon/icons/gear.icon.js +1 -1
  902. package/lib/components/Icon/icons/gear.icon.js.map +1 -1
  903. package/lib/components/Icon/icons/glasses-solid.icon.js +1 -1
  904. package/lib/components/Icon/icons/glasses-solid.icon.js.map +1 -1
  905. package/lib/components/Icon/icons/glasses.icon.js +1 -1
  906. package/lib/components/Icon/icons/glasses.icon.js.map +1 -1
  907. package/lib/components/Icon/icons/globe-solid.icon.js +1 -1
  908. package/lib/components/Icon/icons/globe-solid.icon.js.map +1 -1
  909. package/lib/components/Icon/icons/globe.icon.js +1 -1
  910. package/lib/components/Icon/icons/globe.icon.js.map +1 -1
  911. package/lib/components/Icon/icons/google.icon.js +1 -1
  912. package/lib/components/Icon/icons/google.icon.js.map +1 -1
  913. package/lib/components/Icon/icons/government-solid.icon.js +1 -1
  914. package/lib/components/Icon/icons/government-solid.icon.js.map +1 -1
  915. package/lib/components/Icon/icons/government.icon.js +1 -1
  916. package/lib/components/Icon/icons/government.icon.js.map +1 -1
  917. package/lib/components/Icon/icons/grad-solid.icon.js +1 -1
  918. package/lib/components/Icon/icons/grad-solid.icon.js.map +1 -1
  919. package/lib/components/Icon/icons/grad.icon.js +1 -1
  920. package/lib/components/Icon/icons/grad.icon.js.map +1 -1
  921. package/lib/components/Icon/icons/grid-solid.icon.js +1 -1
  922. package/lib/components/Icon/icons/grid-solid.icon.js.map +1 -1
  923. package/lib/components/Icon/icons/grid.icon.js +1 -1
  924. package/lib/components/Icon/icons/grid.icon.js.map +1 -1
  925. package/lib/components/Icon/icons/hand-solid.icon.js +1 -1
  926. package/lib/components/Icon/icons/hand-solid.icon.js.map +1 -1
  927. package/lib/components/Icon/icons/hand.icon.js +1 -1
  928. package/lib/components/Icon/icons/hand.icon.js.map +1 -1
  929. package/lib/components/Icon/icons/handshake-solid.icon.js +1 -1
  930. package/lib/components/Icon/icons/handshake-solid.icon.js.map +1 -1
  931. package/lib/components/Icon/icons/handshake.icon.js +1 -1
  932. package/lib/components/Icon/icons/handshake.icon.js.map +1 -1
  933. package/lib/components/Icon/icons/hanger.icon.js +1 -1
  934. package/lib/components/Icon/icons/hanger.icon.js.map +1 -1
  935. package/lib/components/Icon/icons/header.icon.js +1 -1
  936. package/lib/components/Icon/icons/header.icon.js.map +1 -1
  937. package/lib/components/Icon/icons/headline-solid.icon.js +1 -1
  938. package/lib/components/Icon/icons/headline-solid.icon.js.map +1 -1
  939. package/lib/components/Icon/icons/headline.icon.js +1 -1
  940. package/lib/components/Icon/icons/headline.icon.js.map +1 -1
  941. package/lib/components/Icon/icons/headphone-solid.icon.js +1 -1
  942. package/lib/components/Icon/icons/headphone-solid.icon.js.map +1 -1
  943. package/lib/components/Icon/icons/headphone.icon.js +1 -1
  944. package/lib/components/Icon/icons/headphone.icon.js.map +1 -1
  945. package/lib/components/Icon/icons/headset.icon.js +1 -1
  946. package/lib/components/Icon/icons/headset.icon.js.map +1 -1
  947. package/lib/components/Icon/icons/heart-mixed.icon.js +1 -1
  948. package/lib/components/Icon/icons/heart-mixed.icon.js.map +1 -1
  949. package/lib/components/Icon/icons/heart-pulse-solid.icon.js +1 -1
  950. package/lib/components/Icon/icons/heart-pulse-solid.icon.js.map +1 -1
  951. package/lib/components/Icon/icons/heart-pulse.icon.js +1 -1
  952. package/lib/components/Icon/icons/heart-pulse.icon.js.map +1 -1
  953. package/lib/components/Icon/icons/heart-solid.icon.js +1 -1
  954. package/lib/components/Icon/icons/heart-solid.icon.js.map +1 -1
  955. package/lib/components/Icon/icons/heart.icon.js +1 -1
  956. package/lib/components/Icon/icons/heart.icon.js.map +1 -1
  957. package/lib/components/Icon/icons/help-solid.icon.js +1 -1
  958. package/lib/components/Icon/icons/help-solid.icon.js.map +1 -1
  959. package/lib/components/Icon/icons/help.icon.js +1 -1
  960. package/lib/components/Icon/icons/help.icon.js.map +1 -1
  961. package/lib/components/Icon/icons/history-solid.icon.js +1 -1
  962. package/lib/components/Icon/icons/history-solid.icon.js.map +1 -1
  963. package/lib/components/Icon/icons/history.icon.js +1 -1
  964. package/lib/components/Icon/icons/history.icon.js.map +1 -1
  965. package/lib/components/Icon/icons/home-alt-solid.icon.js +1 -1
  966. package/lib/components/Icon/icons/home-alt-solid.icon.js.map +1 -1
  967. package/lib/components/Icon/icons/home-alt.icon.js +1 -1
  968. package/lib/components/Icon/icons/home-alt.icon.js.map +1 -1
  969. package/lib/components/Icon/icons/home-solid.icon.js +1 -1
  970. package/lib/components/Icon/icons/home-solid.icon.js.map +1 -1
  971. package/lib/components/Icon/icons/home.icon.js +1 -1
  972. package/lib/components/Icon/icons/home.icon.js.map +1 -1
  973. package/lib/components/Icon/icons/inbox-data-solid.icon.js +1 -1
  974. package/lib/components/Icon/icons/inbox-data-solid.icon.js.map +1 -1
  975. package/lib/components/Icon/icons/inbox-data.icon.js +1 -1
  976. package/lib/components/Icon/icons/inbox-data.icon.js.map +1 -1
  977. package/lib/components/Icon/icons/inbox-empty.icon.js +1 -1
  978. package/lib/components/Icon/icons/inbox-empty.icon.js.map +1 -1
  979. package/lib/components/Icon/icons/inbox-solid.icon.js +1 -1
  980. package/lib/components/Icon/icons/inbox-solid.icon.js.map +1 -1
  981. package/lib/components/Icon/icons/indent.icon.js +1 -1
  982. package/lib/components/Icon/icons/indent.icon.js.map +1 -1
  983. package/lib/components/Icon/icons/infinity.icon.js +1 -1
  984. package/lib/components/Icon/icons/infinity.icon.js.map +1 -1
  985. package/lib/components/Icon/icons/information-solid.icon.js +1 -1
  986. package/lib/components/Icon/icons/information-solid.icon.js.map +1 -1
  987. package/lib/components/Icon/icons/information.icon.js +1 -1
  988. package/lib/components/Icon/icons/information.icon.js.map +1 -1
  989. package/lib/components/Icon/icons/ink-solid.icon.js +1 -1
  990. package/lib/components/Icon/icons/ink-solid.icon.js.map +1 -1
  991. package/lib/components/Icon/icons/ink.icon.js +1 -1
  992. package/lib/components/Icon/icons/ink.icon.js.map +1 -1
  993. package/lib/components/Icon/icons/inspect.icon.js +1 -1
  994. package/lib/components/Icon/icons/inspect.icon.js.map +1 -1
  995. package/lib/components/Icon/icons/interact.icon.js +1 -1
  996. package/lib/components/Icon/icons/interact.icon.js.map +1 -1
  997. package/lib/components/Icon/icons/ios-face-id.icon.js +1 -1
  998. package/lib/components/Icon/icons/ios-face-id.icon.js.map +1 -1
  999. package/lib/components/Icon/icons/ios-finger-id.icon.js +1 -1
  1000. package/lib/components/Icon/icons/ios-finger-id.icon.js.map +1 -1
  1001. package/lib/components/Icon/icons/key.icon.js +1 -1
  1002. package/lib/components/Icon/icons/key.icon.js.map +1 -1
  1003. package/lib/components/Icon/icons/keyboard-solid.icon.js +1 -1
  1004. package/lib/components/Icon/icons/keyboard-solid.icon.js.map +1 -1
  1005. package/lib/components/Icon/icons/keyboard.icon.js +1 -1
  1006. package/lib/components/Icon/icons/keyboard.icon.js.map +1 -1
  1007. package/lib/components/Icon/icons/knight-solid.icon.js +1 -1
  1008. package/lib/components/Icon/icons/knight-solid.icon.js.map +1 -1
  1009. package/lib/components/Icon/icons/knight.icon.js +1 -1
  1010. package/lib/components/Icon/icons/knight.icon.js.map +1 -1
  1011. package/lib/components/Icon/icons/knobs-alt-solid.icon.js +1 -1
  1012. package/lib/components/Icon/icons/knobs-alt-solid.icon.js.map +1 -1
  1013. package/lib/components/Icon/icons/knobs-alt.icon.js +1 -1
  1014. package/lib/components/Icon/icons/knobs-alt.icon.js.map +1 -1
  1015. package/lib/components/Icon/icons/knobs-solid.icon.js +1 -1
  1016. package/lib/components/Icon/icons/knobs-solid.icon.js.map +1 -1
  1017. package/lib/components/Icon/icons/knobs.icon.js +1 -1
  1018. package/lib/components/Icon/icons/knobs.icon.js.map +1 -1
  1019. package/lib/components/Icon/icons/laptop-solid.icon.js +1 -1
  1020. package/lib/components/Icon/icons/laptop-solid.icon.js.map +1 -1
  1021. package/lib/components/Icon/icons/laptop.icon.js +1 -1
  1022. package/lib/components/Icon/icons/laptop.icon.js.map +1 -1
  1023. package/lib/components/Icon/icons/layers-solid.icon.js +1 -1
  1024. package/lib/components/Icon/icons/layers-solid.icon.js.map +1 -1
  1025. package/lib/components/Icon/icons/layers.icon.js +1 -1
  1026. package/lib/components/Icon/icons/layers.icon.js.map +1 -1
  1027. package/lib/components/Icon/icons/layout-solid.icon.js +1 -1
  1028. package/lib/components/Icon/icons/layout-solid.icon.js.map +1 -1
  1029. package/lib/components/Icon/icons/layout.icon.js +1 -1
  1030. package/lib/components/Icon/icons/layout.icon.js.map +1 -1
  1031. package/lib/components/Icon/icons/leaf-solid.icon.js +1 -1
  1032. package/lib/components/Icon/icons/leaf-solid.icon.js.map +1 -1
  1033. package/lib/components/Icon/icons/leaf.icon.js +1 -1
  1034. package/lib/components/Icon/icons/leaf.icon.js.map +1 -1
  1035. package/lib/components/Icon/icons/legal.icon.js +1 -1
  1036. package/lib/components/Icon/icons/legal.icon.js.map +1 -1
  1037. package/lib/components/Icon/icons/letter-solid.icon.js +1 -1
  1038. package/lib/components/Icon/icons/letter-solid.icon.js.map +1 -1
  1039. package/lib/components/Icon/icons/letter.icon.js +1 -1
  1040. package/lib/components/Icon/icons/letter.icon.js.map +1 -1
  1041. package/lib/components/Icon/icons/life-ring-solid.icon.js +1 -1
  1042. package/lib/components/Icon/icons/life-ring-solid.icon.js.map +1 -1
  1043. package/lib/components/Icon/icons/life-ring.icon.js +1 -1
  1044. package/lib/components/Icon/icons/life-ring.icon.js.map +1 -1
  1045. package/lib/components/Icon/icons/linkedin.icon.js +1 -1
  1046. package/lib/components/Icon/icons/linkedin.icon.js.map +1 -1
  1047. package/lib/components/Icon/icons/list-number.icon.js +1 -1
  1048. package/lib/components/Icon/icons/list-number.icon.js.map +1 -1
  1049. package/lib/components/Icon/icons/list.icon.js +1 -1
  1050. package/lib/components/Icon/icons/list.icon.js.map +1 -1
  1051. package/lib/components/Icon/icons/location-check-solid.icon.js +1 -1
  1052. package/lib/components/Icon/icons/location-check-solid.icon.js.map +1 -1
  1053. package/lib/components/Icon/icons/location-check.icon.js +1 -1
  1054. package/lib/components/Icon/icons/location-check.icon.js.map +1 -1
  1055. package/lib/components/Icon/icons/location-solid.icon.js +1 -1
  1056. package/lib/components/Icon/icons/location-solid.icon.js.map +1 -1
  1057. package/lib/components/Icon/icons/location.icon.js +1 -1
  1058. package/lib/components/Icon/icons/location.icon.js.map +1 -1
  1059. package/lib/components/Icon/icons/locations-solid.icon.js +1 -1
  1060. package/lib/components/Icon/icons/locations-solid.icon.js.map +1 -1
  1061. package/lib/components/Icon/icons/locations.icon.js +1 -1
  1062. package/lib/components/Icon/icons/locations.icon.js.map +1 -1
  1063. package/lib/components/Icon/icons/lock-closed-solid.icon.js +1 -1
  1064. package/lib/components/Icon/icons/lock-closed-solid.icon.js.map +1 -1
  1065. package/lib/components/Icon/icons/lock-closed.icon.js +1 -1
  1066. package/lib/components/Icon/icons/lock-closed.icon.js.map +1 -1
  1067. package/lib/components/Icon/icons/lock-open-solid.icon.js +1 -1
  1068. package/lib/components/Icon/icons/lock-open-solid.icon.js.map +1 -1
  1069. package/lib/components/Icon/icons/lock-open.icon.js +1 -1
  1070. package/lib/components/Icon/icons/lock-open.icon.js.map +1 -1
  1071. package/lib/components/Icon/icons/magnet-solid.icon.js +1 -1
  1072. package/lib/components/Icon/icons/magnet-solid.icon.js.map +1 -1
  1073. package/lib/components/Icon/icons/magnet.icon.js +1 -1
  1074. package/lib/components/Icon/icons/magnet.icon.js.map +1 -1
  1075. package/lib/components/Icon/icons/mail-check-solid.icon.js +1 -1
  1076. package/lib/components/Icon/icons/mail-check-solid.icon.js.map +1 -1
  1077. package/lib/components/Icon/icons/mail-check.icon.js +1 -1
  1078. package/lib/components/Icon/icons/mail-check.icon.js.map +1 -1
  1079. package/lib/components/Icon/icons/mail-plus-solid.icon.js +1 -1
  1080. package/lib/components/Icon/icons/mail-plus-solid.icon.js.map +1 -1
  1081. package/lib/components/Icon/icons/mail-plus.icon.js +1 -1
  1082. package/lib/components/Icon/icons/mail-plus.icon.js.map +1 -1
  1083. package/lib/components/Icon/icons/mail-solid.icon.js +1 -1
  1084. package/lib/components/Icon/icons/mail-solid.icon.js.map +1 -1
  1085. package/lib/components/Icon/icons/mail.icon.js +1 -1
  1086. package/lib/components/Icon/icons/mail.icon.js.map +1 -1
  1087. package/lib/components/Icon/icons/mailbox-solid.icon.js +1 -1
  1088. package/lib/components/Icon/icons/mailbox-solid.icon.js.map +1 -1
  1089. package/lib/components/Icon/icons/mailbox.icon.js +1 -1
  1090. package/lib/components/Icon/icons/mailbox.icon.js.map +1 -1
  1091. package/lib/components/Icon/icons/map-sigma-solid.icon.js +1 -1
  1092. package/lib/components/Icon/icons/map-sigma-solid.icon.js.map +1 -1
  1093. package/lib/components/Icon/icons/map-sigma.icon.js +1 -1
  1094. package/lib/components/Icon/icons/map-sigma.icon.js.map +1 -1
  1095. package/lib/components/Icon/icons/map-solid.icon.js +1 -1
  1096. package/lib/components/Icon/icons/map-solid.icon.js.map +1 -1
  1097. package/lib/components/Icon/icons/map.icon.js +1 -1
  1098. package/lib/components/Icon/icons/map.icon.js.map +1 -1
  1099. package/lib/components/Icon/icons/material-finger.icon.js +1 -1
  1100. package/lib/components/Icon/icons/material-finger.icon.js.map +1 -1
  1101. package/lib/components/Icon/icons/medal.icon.js +1 -1
  1102. package/lib/components/Icon/icons/medal.icon.js.map +1 -1
  1103. package/lib/components/Icon/icons/megaphone-solid.icon.js +1 -1
  1104. package/lib/components/Icon/icons/megaphone-solid.icon.js.map +1 -1
  1105. package/lib/components/Icon/icons/megaphone.icon.js +1 -1
  1106. package/lib/components/Icon/icons/megaphone.icon.js.map +1 -1
  1107. package/lib/components/Icon/icons/mic-off-solid.icon.js +1 -1
  1108. package/lib/components/Icon/icons/mic-off-solid.icon.js.map +1 -1
  1109. package/lib/components/Icon/icons/mic-off.icon.js +1 -1
  1110. package/lib/components/Icon/icons/mic-off.icon.js.map +1 -1
  1111. package/lib/components/Icon/icons/mic-solid.icon.js +1 -1
  1112. package/lib/components/Icon/icons/mic-solid.icon.js.map +1 -1
  1113. package/lib/components/Icon/icons/mic.icon.js +1 -1
  1114. package/lib/components/Icon/icons/mic.icon.js.map +1 -1
  1115. package/lib/components/Icon/icons/minus.icon.js +1 -1
  1116. package/lib/components/Icon/icons/minus.icon.js.map +1 -1
  1117. package/lib/components/Icon/icons/mobile-phone-solid.icon.js +1 -1
  1118. package/lib/components/Icon/icons/mobile-phone-solid.icon.js.map +1 -1
  1119. package/lib/components/Icon/icons/mobile-phone.icon.js +1 -1
  1120. package/lib/components/Icon/icons/mobile-phone.icon.js.map +1 -1
  1121. package/lib/components/Icon/icons/money-send-solid.icon.js +1 -1
  1122. package/lib/components/Icon/icons/money-send-solid.icon.js.map +1 -1
  1123. package/lib/components/Icon/icons/money-send.icon.js +1 -1
  1124. package/lib/components/Icon/icons/money-send.icon.js.map +1 -1
  1125. package/lib/components/Icon/icons/money-solid.icon.js +1 -1
  1126. package/lib/components/Icon/icons/money-solid.icon.js.map +1 -1
  1127. package/lib/components/Icon/icons/money.icon.js +1 -1
  1128. package/lib/components/Icon/icons/money.icon.js.map +1 -1
  1129. package/lib/components/Icon/icons/monkey-solid.icon.js +1 -1
  1130. package/lib/components/Icon/icons/monkey-solid.icon.js.map +1 -1
  1131. package/lib/components/Icon/icons/monkey.icon.js +1 -1
  1132. package/lib/components/Icon/icons/monkey.icon.js.map +1 -1
  1133. package/lib/components/Icon/icons/moon-solid.icon.js +1 -1
  1134. package/lib/components/Icon/icons/moon-solid.icon.js.map +1 -1
  1135. package/lib/components/Icon/icons/moon.icon.js +1 -1
  1136. package/lib/components/Icon/icons/moon.icon.js.map +1 -1
  1137. package/lib/components/Icon/icons/more-alt.icon.js +1 -1
  1138. package/lib/components/Icon/icons/more-alt.icon.js.map +1 -1
  1139. package/lib/components/Icon/icons/more.icon.js +1 -1
  1140. package/lib/components/Icon/icons/more.icon.js.map +1 -1
  1141. package/lib/components/Icon/icons/move-left-solid.icon.js +1 -1
  1142. package/lib/components/Icon/icons/move-left-solid.icon.js.map +1 -1
  1143. package/lib/components/Icon/icons/move-right-solid.icon.js +1 -1
  1144. package/lib/components/Icon/icons/move-right-solid.icon.js.map +1 -1
  1145. package/lib/components/Icon/icons/move-up-solid.icon.js +1 -1
  1146. package/lib/components/Icon/icons/move-up-solid.icon.js.map +1 -1
  1147. package/lib/components/Icon/icons/moving.icon.js +1 -1
  1148. package/lib/components/Icon/icons/moving.icon.js.map +1 -1
  1149. package/lib/components/Icon/icons/multi-device-solid.icon.js +1 -1
  1150. package/lib/components/Icon/icons/multi-device-solid.icon.js.map +1 -1
  1151. package/lib/components/Icon/icons/multi-device.icon.js +1 -1
  1152. package/lib/components/Icon/icons/multi-device.icon.js.map +1 -1
  1153. package/lib/components/Icon/icons/music-solid.icon.js +1 -1
  1154. package/lib/components/Icon/icons/music-solid.icon.js.map +1 -1
  1155. package/lib/components/Icon/icons/music.icon.js +1 -1
  1156. package/lib/components/Icon/icons/music.icon.js.map +1 -1
  1157. package/lib/components/Icon/icons/navigation-solid.icon.js +1 -1
  1158. package/lib/components/Icon/icons/navigation-solid.icon.js.map +1 -1
  1159. package/lib/components/Icon/icons/navigation.icon.js +1 -1
  1160. package/lib/components/Icon/icons/navigation.icon.js.map +1 -1
  1161. package/lib/components/Icon/icons/node-solid.icon.js +1 -1
  1162. package/lib/components/Icon/icons/node-solid.icon.js.map +1 -1
  1163. package/lib/components/Icon/icons/node.icon.js +1 -1
  1164. package/lib/components/Icon/icons/node.icon.js.map +1 -1
  1165. package/lib/components/Icon/icons/nodes-down-solid.icon.js +1 -1
  1166. package/lib/components/Icon/icons/nodes-down-solid.icon.js.map +1 -1
  1167. package/lib/components/Icon/icons/nodes-down.icon.js +1 -1
  1168. package/lib/components/Icon/icons/nodes-down.icon.js.map +1 -1
  1169. package/lib/components/Icon/icons/nodes-left-solid.icon.js +1 -1
  1170. package/lib/components/Icon/icons/nodes-left-solid.icon.js.map +1 -1
  1171. package/lib/components/Icon/icons/nodes-left.icon.js +1 -1
  1172. package/lib/components/Icon/icons/nodes-left.icon.js.map +1 -1
  1173. package/lib/components/Icon/icons/nodes-right-solid.icon.js +1 -1
  1174. package/lib/components/Icon/icons/nodes-right-solid.icon.js.map +1 -1
  1175. package/lib/components/Icon/icons/nodes-right.icon.js +1 -1
  1176. package/lib/components/Icon/icons/nodes-right.icon.js.map +1 -1
  1177. package/lib/components/Icon/icons/nodes-up-solid.icon.js +1 -1
  1178. package/lib/components/Icon/icons/nodes-up-solid.icon.js.map +1 -1
  1179. package/lib/components/Icon/icons/nodes-up.icon.js +1 -1
  1180. package/lib/components/Icon/icons/nodes-up.icon.js.map +1 -1
  1181. package/lib/components/Icon/icons/notepad-empty-solid.icon.js +1 -1
  1182. package/lib/components/Icon/icons/notepad-empty-solid.icon.js.map +1 -1
  1183. package/lib/components/Icon/icons/notepad-empty.icon.js +1 -1
  1184. package/lib/components/Icon/icons/notepad-empty.icon.js.map +1 -1
  1185. package/lib/components/Icon/icons/notepad-solid.icon.js +1 -1
  1186. package/lib/components/Icon/icons/notepad-solid.icon.js.map +1 -1
  1187. package/lib/components/Icon/icons/notepad.icon.js +1 -1
  1188. package/lib/components/Icon/icons/notepad.icon.js.map +1 -1
  1189. package/lib/components/Icon/icons/notes-solid.icon.js +1 -1
  1190. package/lib/components/Icon/icons/notes-solid.icon.js.map +1 -1
  1191. package/lib/components/Icon/icons/notes.icon.js +1 -1
  1192. package/lib/components/Icon/icons/notes.icon.js.map +1 -1
  1193. package/lib/components/Icon/icons/open.icon.js +1 -1
  1194. package/lib/components/Icon/icons/open.icon.js.map +1 -1
  1195. package/lib/components/Icon/icons/opportunity-solid.icon.js +1 -1
  1196. package/lib/components/Icon/icons/opportunity-solid.icon.js.map +1 -1
  1197. package/lib/components/Icon/icons/opportunity.icon.js +1 -1
  1198. package/lib/components/Icon/icons/opportunity.icon.js.map +1 -1
  1199. package/lib/components/Icon/icons/or-delete.icon.js +1 -1
  1200. package/lib/components/Icon/icons/or-delete.icon.js.map +1 -1
  1201. package/lib/components/Icon/icons/os-android.icon.js +1 -1
  1202. package/lib/components/Icon/icons/os-android.icon.js.map +1 -1
  1203. package/lib/components/Icon/icons/os-apple.icon.js +1 -1
  1204. package/lib/components/Icon/icons/os-apple.icon.js.map +1 -1
  1205. package/lib/components/Icon/icons/os-windows.icon.js +1 -1
  1206. package/lib/components/Icon/icons/os-windows.icon.js.map +1 -1
  1207. package/lib/components/Icon/icons/paper-clip.icon.js +1 -1
  1208. package/lib/components/Icon/icons/paper-clip.icon.js.map +1 -1
  1209. package/lib/components/Icon/icons/passbook-solid.icon.js +1 -1
  1210. package/lib/components/Icon/icons/passbook-solid.icon.js.map +1 -1
  1211. package/lib/components/Icon/icons/passbook.icon.js +1 -1
  1212. package/lib/components/Icon/icons/passbook.icon.js.map +1 -1
  1213. package/lib/components/Icon/icons/pause-solid.icon.js +1 -1
  1214. package/lib/components/Icon/icons/pause-solid.icon.js.map +1 -1
  1215. package/lib/components/Icon/icons/pause.icon.js +1 -1
  1216. package/lib/components/Icon/icons/pause.icon.js.map +1 -1
  1217. package/lib/components/Icon/icons/paypal.icon.js +1 -1
  1218. package/lib/components/Icon/icons/paypal.icon.js.map +1 -1
  1219. package/lib/components/Icon/icons/peekpanel-arrow-left-solid.icon.js +1 -1
  1220. package/lib/components/Icon/icons/peekpanel-arrow-left-solid.icon.js.map +1 -1
  1221. package/lib/components/Icon/icons/peekpanel-arrow-left.icon.js +1 -1
  1222. package/lib/components/Icon/icons/peekpanel-arrow-left.icon.js.map +1 -1
  1223. package/lib/components/Icon/icons/peekpanel-arrow-right-solid.icon.js +1 -1
  1224. package/lib/components/Icon/icons/peekpanel-arrow-right-solid.icon.js.map +1 -1
  1225. package/lib/components/Icon/icons/peekpanel-arrow-right.icon.js +1 -1
  1226. package/lib/components/Icon/icons/peekpanel-arrow-right.icon.js.map +1 -1
  1227. package/lib/components/Icon/icons/pega.icon.js +1 -1
  1228. package/lib/components/Icon/icons/pega.icon.js.map +1 -1
  1229. package/lib/components/Icon/icons/pegasus.icon.js +1 -1
  1230. package/lib/components/Icon/icons/pegasus.icon.js.map +1 -1
  1231. package/lib/components/Icon/icons/pen-solid.icon.js +1 -1
  1232. package/lib/components/Icon/icons/pen-solid.icon.js.map +1 -1
  1233. package/lib/components/Icon/icons/pen.icon.js +1 -1
  1234. package/lib/components/Icon/icons/pen.icon.js.map +1 -1
  1235. package/lib/components/Icon/icons/pencil-solid.icon.js +1 -1
  1236. package/lib/components/Icon/icons/pencil-solid.icon.js.map +1 -1
  1237. package/lib/components/Icon/icons/pencil.icon.js +1 -1
  1238. package/lib/components/Icon/icons/pencil.icon.js.map +1 -1
  1239. package/lib/components/Icon/icons/person-solid.icon.js +1 -1
  1240. package/lib/components/Icon/icons/person-solid.icon.js.map +1 -1
  1241. package/lib/components/Icon/icons/person.icon.js +1 -1
  1242. package/lib/components/Icon/icons/person.icon.js.map +1 -1
  1243. package/lib/components/Icon/icons/phone-call-solid.icon.js +1 -1
  1244. package/lib/components/Icon/icons/phone-call-solid.icon.js.map +1 -1
  1245. package/lib/components/Icon/icons/phone-call.icon.js +1 -1
  1246. package/lib/components/Icon/icons/phone-call.icon.js.map +1 -1
  1247. package/lib/components/Icon/icons/phone-disabled-solid.icon.js +1 -1
  1248. package/lib/components/Icon/icons/phone-disabled-solid.icon.js.map +1 -1
  1249. package/lib/components/Icon/icons/phone-disabled.icon.js +1 -1
  1250. package/lib/components/Icon/icons/phone-disabled.icon.js.map +1 -1
  1251. package/lib/components/Icon/icons/phone-hangup-solid.icon.js +1 -1
  1252. package/lib/components/Icon/icons/phone-hangup-solid.icon.js.map +1 -1
  1253. package/lib/components/Icon/icons/phone-hangup.icon.js +1 -1
  1254. package/lib/components/Icon/icons/phone-hangup.icon.js.map +1 -1
  1255. package/lib/components/Icon/icons/phone-in-solid.icon.js +1 -1
  1256. package/lib/components/Icon/icons/phone-in-solid.icon.js.map +1 -1
  1257. package/lib/components/Icon/icons/phone-in.icon.js +1 -1
  1258. package/lib/components/Icon/icons/phone-in.icon.js.map +1 -1
  1259. package/lib/components/Icon/icons/phone-list-solid.icon.js +1 -1
  1260. package/lib/components/Icon/icons/phone-list-solid.icon.js.map +1 -1
  1261. package/lib/components/Icon/icons/phone-list.icon.js +1 -1
  1262. package/lib/components/Icon/icons/phone-list.icon.js.map +1 -1
  1263. package/lib/components/Icon/icons/phone-out-solid.icon.js +1 -1
  1264. package/lib/components/Icon/icons/phone-out-solid.icon.js.map +1 -1
  1265. package/lib/components/Icon/icons/phone-out.icon.js +1 -1
  1266. package/lib/components/Icon/icons/phone-out.icon.js.map +1 -1
  1267. package/lib/components/Icon/icons/phone-pause-solid.icon.js +1 -1
  1268. package/lib/components/Icon/icons/phone-pause-solid.icon.js.map +1 -1
  1269. package/lib/components/Icon/icons/phone-pause.icon.js +1 -1
  1270. package/lib/components/Icon/icons/phone-pause.icon.js.map +1 -1
  1271. package/lib/components/Icon/icons/phone-solid.icon.js +1 -1
  1272. package/lib/components/Icon/icons/phone-solid.icon.js.map +1 -1
  1273. package/lib/components/Icon/icons/phone-split-solid.icon.js +1 -1
  1274. package/lib/components/Icon/icons/phone-split-solid.icon.js.map +1 -1
  1275. package/lib/components/Icon/icons/phone-split.icon.js +1 -1
  1276. package/lib/components/Icon/icons/phone-split.icon.js.map +1 -1
  1277. package/lib/components/Icon/icons/phone.icon.js +1 -1
  1278. package/lib/components/Icon/icons/phone.icon.js.map +1 -1
  1279. package/lib/components/Icon/icons/picture-solid.icon.js +1 -1
  1280. package/lib/components/Icon/icons/picture-solid.icon.js.map +1 -1
  1281. package/lib/components/Icon/icons/picture.icon.js +1 -1
  1282. package/lib/components/Icon/icons/picture.icon.js.map +1 -1
  1283. package/lib/components/Icon/icons/piggybank-solid.icon.js +1 -1
  1284. package/lib/components/Icon/icons/piggybank-solid.icon.js.map +1 -1
  1285. package/lib/components/Icon/icons/piggybank.icon.js +1 -1
  1286. package/lib/components/Icon/icons/piggybank.icon.js.map +1 -1
  1287. package/lib/components/Icon/icons/pin-solid.icon.js +1 -1
  1288. package/lib/components/Icon/icons/pin-solid.icon.js.map +1 -1
  1289. package/lib/components/Icon/icons/pin.icon.js +1 -1
  1290. package/lib/components/Icon/icons/pin.icon.js.map +1 -1
  1291. package/lib/components/Icon/icons/pipeline-solid.icon.js +1 -1
  1292. package/lib/components/Icon/icons/pipeline-solid.icon.js.map +1 -1
  1293. package/lib/components/Icon/icons/pipeline.icon.js +1 -1
  1294. package/lib/components/Icon/icons/pipeline.icon.js.map +1 -1
  1295. package/lib/components/Icon/icons/plane-solid.icon.js +1 -1
  1296. package/lib/components/Icon/icons/plane-solid.icon.js.map +1 -1
  1297. package/lib/components/Icon/icons/plane.icon.js +1 -1
  1298. package/lib/components/Icon/icons/plane.icon.js.map +1 -1
  1299. package/lib/components/Icon/icons/plant-solid.icon.js +1 -1
  1300. package/lib/components/Icon/icons/plant-solid.icon.js.map +1 -1
  1301. package/lib/components/Icon/icons/plant.icon.js +1 -1
  1302. package/lib/components/Icon/icons/plant.icon.js.map +1 -1
  1303. package/lib/components/Icon/icons/play-solid.icon.js +1 -1
  1304. package/lib/components/Icon/icons/play-solid.icon.js.map +1 -1
  1305. package/lib/components/Icon/icons/play.icon.js +1 -1
  1306. package/lib/components/Icon/icons/play.icon.js.map +1 -1
  1307. package/lib/components/Icon/icons/playbook-solid.icon.js +1 -1
  1308. package/lib/components/Icon/icons/playbook-solid.icon.js.map +1 -1
  1309. package/lib/components/Icon/icons/playbook.icon.js +1 -1
  1310. package/lib/components/Icon/icons/playbook.icon.js.map +1 -1
  1311. package/lib/components/Icon/icons/plug-solid.icon.js +1 -1
  1312. package/lib/components/Icon/icons/plug-solid.icon.js.map +1 -1
  1313. package/lib/components/Icon/icons/plug.icon.js +1 -1
  1314. package/lib/components/Icon/icons/plug.icon.js.map +1 -1
  1315. package/lib/components/Icon/icons/plus-between-left-column.icon.js +1 -1
  1316. package/lib/components/Icon/icons/plus-between-left-column.icon.js.map +1 -1
  1317. package/lib/components/Icon/icons/plus-between-right-column.icon.js +1 -1
  1318. package/lib/components/Icon/icons/plus-between-right-column.icon.js.map +1 -1
  1319. package/lib/components/Icon/icons/plus-line-above-below.icon.js +1 -1
  1320. package/lib/components/Icon/icons/plus-line-above-below.icon.js.map +1 -1
  1321. package/lib/components/Icon/icons/plus-line-above.icon.js +1 -1
  1322. package/lib/components/Icon/icons/plus-line-above.icon.js.map +1 -1
  1323. package/lib/components/Icon/icons/plus-line-below.icon.js +1 -1
  1324. package/lib/components/Icon/icons/plus-line-below.icon.js.map +1 -1
  1325. package/lib/components/Icon/icons/plus-line-left.icon.js +1 -1
  1326. package/lib/components/Icon/icons/plus-line-left.icon.js.map +1 -1
  1327. package/lib/components/Icon/icons/plus-line-right.icon.js +1 -1
  1328. package/lib/components/Icon/icons/plus-line-right.icon.js.map +1 -1
  1329. package/lib/components/Icon/icons/plus.icon.js +1 -1
  1330. package/lib/components/Icon/icons/plus.icon.js.map +1 -1
  1331. package/lib/components/Icon/icons/podium-solid.icon.js +1 -1
  1332. package/lib/components/Icon/icons/podium-solid.icon.js.map +1 -1
  1333. package/lib/components/Icon/icons/podium.icon.js +1 -1
  1334. package/lib/components/Icon/icons/podium.icon.js.map +1 -1
  1335. package/lib/components/Icon/icons/polaris-solid.icon.js +1 -1
  1336. package/lib/components/Icon/icons/polaris-solid.icon.js.map +1 -1
  1337. package/lib/components/Icon/icons/polaris.icon.js +1 -1
  1338. package/lib/components/Icon/icons/polaris.icon.js.map +1 -1
  1339. package/lib/components/Icon/icons/pong-solid.icon.js +1 -1
  1340. package/lib/components/Icon/icons/pong-solid.icon.js.map +1 -1
  1341. package/lib/components/Icon/icons/pong.icon.js +1 -1
  1342. package/lib/components/Icon/icons/pong.icon.js.map +1 -1
  1343. package/lib/components/Icon/icons/potion-solid.icon.js +1 -1
  1344. package/lib/components/Icon/icons/potion-solid.icon.js.map +1 -1
  1345. package/lib/components/Icon/icons/potion.icon.js +1 -1
  1346. package/lib/components/Icon/icons/potion.icon.js.map +1 -1
  1347. package/lib/components/Icon/icons/power.icon.js +1 -1
  1348. package/lib/components/Icon/icons/power.icon.js.map +1 -1
  1349. package/lib/components/Icon/icons/print-solid.icon.js +1 -1
  1350. package/lib/components/Icon/icons/print-solid.icon.js.map +1 -1
  1351. package/lib/components/Icon/icons/print.icon.js +1 -1
  1352. package/lib/components/Icon/icons/print.icon.js.map +1 -1
  1353. package/lib/components/Icon/icons/processor-solid.icon.js +1 -1
  1354. package/lib/components/Icon/icons/processor-solid.icon.js.map +1 -1
  1355. package/lib/components/Icon/icons/processor.icon.js +1 -1
  1356. package/lib/components/Icon/icons/processor.icon.js.map +1 -1
  1357. package/lib/components/Icon/icons/progress-solid.icon.js +1 -1
  1358. package/lib/components/Icon/icons/progress-solid.icon.js.map +1 -1
  1359. package/lib/components/Icon/icons/progress.icon.js +1 -1
  1360. package/lib/components/Icon/icons/progress.icon.js.map +1 -1
  1361. package/lib/components/Icon/icons/puzzle-solid.icon.js +1 -1
  1362. package/lib/components/Icon/icons/puzzle-solid.icon.js.map +1 -1
  1363. package/lib/components/Icon/icons/puzzle.icon.js +1 -1
  1364. package/lib/components/Icon/icons/puzzle.icon.js.map +1 -1
  1365. package/lib/components/Icon/icons/qr.icon.js +1 -1
  1366. package/lib/components/Icon/icons/qr.icon.js.map +1 -1
  1367. package/lib/components/Icon/icons/quill.icon.js +1 -1
  1368. package/lib/components/Icon/icons/quill.icon.js.map +1 -1
  1369. package/lib/components/Icon/icons/rabbit.icon.js +1 -1
  1370. package/lib/components/Icon/icons/rabbit.icon.js.map +1 -1
  1371. package/lib/components/Icon/icons/radio-solid.icon.js +1 -1
  1372. package/lib/components/Icon/icons/radio-solid.icon.js.map +1 -1
  1373. package/lib/components/Icon/icons/radio.icon.js +1 -1
  1374. package/lib/components/Icon/icons/radio.icon.js.map +1 -1
  1375. package/lib/components/Icon/icons/rain-solid.icon.js +1 -1
  1376. package/lib/components/Icon/icons/rain-solid.icon.js.map +1 -1
  1377. package/lib/components/Icon/icons/rain.icon.js +1 -1
  1378. package/lib/components/Icon/icons/rain.icon.js.map +1 -1
  1379. package/lib/components/Icon/icons/receipt-solid.icon.js +1 -1
  1380. package/lib/components/Icon/icons/receipt-solid.icon.js.map +1 -1
  1381. package/lib/components/Icon/icons/receipt.icon.js +1 -1
  1382. package/lib/components/Icon/icons/receipt.icon.js.map +1 -1
  1383. package/lib/components/Icon/icons/rectangle-solid.icon.js +1 -1
  1384. package/lib/components/Icon/icons/rectangle-solid.icon.js.map +1 -1
  1385. package/lib/components/Icon/icons/rectangle.icon.js +1 -1
  1386. package/lib/components/Icon/icons/rectangle.icon.js.map +1 -1
  1387. package/lib/components/Icon/icons/reply-all-solid.icon.js +1 -1
  1388. package/lib/components/Icon/icons/reply-all-solid.icon.js.map +1 -1
  1389. package/lib/components/Icon/icons/reply-all.icon.js +1 -1
  1390. package/lib/components/Icon/icons/reply-all.icon.js.map +1 -1
  1391. package/lib/components/Icon/icons/reply-solid.icon.js +1 -1
  1392. package/lib/components/Icon/icons/reply-solid.icon.js.map +1 -1
  1393. package/lib/components/Icon/icons/reply.icon.js +1 -1
  1394. package/lib/components/Icon/icons/reply.icon.js.map +1 -1
  1395. package/lib/components/Icon/icons/reset.icon.js +1 -1
  1396. package/lib/components/Icon/icons/reset.icon.js.map +1 -1
  1397. package/lib/components/Icon/icons/retweet.icon.js +1 -1
  1398. package/lib/components/Icon/icons/retweet.icon.js.map +1 -1
  1399. package/lib/components/Icon/icons/rewind-solid.icon.js +1 -1
  1400. package/lib/components/Icon/icons/rewind-solid.icon.js.map +1 -1
  1401. package/lib/components/Icon/icons/rewind.icon.js +1 -1
  1402. package/lib/components/Icon/icons/rewind.icon.js.map +1 -1
  1403. package/lib/components/Icon/icons/robot-happy-solid.icon.js +1 -1
  1404. package/lib/components/Icon/icons/robot-happy-solid.icon.js.map +1 -1
  1405. package/lib/components/Icon/icons/robot-happy.icon.js +1 -1
  1406. package/lib/components/Icon/icons/robot-happy.icon.js.map +1 -1
  1407. package/lib/components/Icon/icons/robot-sad-solid.icon.js +1 -1
  1408. package/lib/components/Icon/icons/robot-sad-solid.icon.js.map +1 -1
  1409. package/lib/components/Icon/icons/robot-sad.icon.js +1 -1
  1410. package/lib/components/Icon/icons/robot-sad.icon.js.map +1 -1
  1411. package/lib/components/Icon/icons/robot-solid.icon.js +1 -1
  1412. package/lib/components/Icon/icons/robot-solid.icon.js.map +1 -1
  1413. package/lib/components/Icon/icons/robot.icon.js +1 -1
  1414. package/lib/components/Icon/icons/robot.icon.js.map +1 -1
  1415. package/lib/components/Icon/icons/rocket-solid.icon.js +1 -1
  1416. package/lib/components/Icon/icons/rocket-solid.icon.js.map +1 -1
  1417. package/lib/components/Icon/icons/rocket.icon.js +1 -1
  1418. package/lib/components/Icon/icons/rocket.icon.js.map +1 -1
  1419. package/lib/components/Icon/icons/roller-solid.icon.js +1 -1
  1420. package/lib/components/Icon/icons/roller-solid.icon.js.map +1 -1
  1421. package/lib/components/Icon/icons/roller.icon.js +1 -1
  1422. package/lib/components/Icon/icons/roller.icon.js.map +1 -1
  1423. package/lib/components/Icon/icons/route-solid.icon.js +1 -1
  1424. package/lib/components/Icon/icons/route-solid.icon.js.map +1 -1
  1425. package/lib/components/Icon/icons/route.icon.js +1 -1
  1426. package/lib/components/Icon/icons/route.icon.js.map +1 -1
  1427. package/lib/components/Icon/icons/row-delete.icon.js +1 -1
  1428. package/lib/components/Icon/icons/row-delete.icon.js.map +1 -1
  1429. package/lib/components/Icon/icons/row-insert.icon.js +1 -1
  1430. package/lib/components/Icon/icons/row-insert.icon.js.map +1 -1
  1431. package/lib/components/Icon/icons/row-left-fill.icon.js +1 -1
  1432. package/lib/components/Icon/icons/row-left-fill.icon.js.map +1 -1
  1433. package/lib/components/Icon/icons/row-right-fill.icon.js +1 -1
  1434. package/lib/components/Icon/icons/row-right-fill.icon.js.map +1 -1
  1435. package/lib/components/Icon/icons/row.icon.js +1 -1
  1436. package/lib/components/Icon/icons/row.icon.js.map +1 -1
  1437. package/lib/components/Icon/icons/scale-down.icon.js +1 -1
  1438. package/lib/components/Icon/icons/scale-down.icon.js.map +1 -1
  1439. package/lib/components/Icon/icons/scale-up-solid.icon.js +1 -1
  1440. package/lib/components/Icon/icons/scale-up-solid.icon.js.map +1 -1
  1441. package/lib/components/Icon/icons/scale-up.icon.js +1 -1
  1442. package/lib/components/Icon/icons/scale-up.icon.js.map +1 -1
  1443. package/lib/components/Icon/icons/school-solid.icon.js +1 -1
  1444. package/lib/components/Icon/icons/school-solid.icon.js.map +1 -1
  1445. package/lib/components/Icon/icons/school.icon.js +1 -1
  1446. package/lib/components/Icon/icons/school.icon.js.map +1 -1
  1447. package/lib/components/Icon/icons/scissors.icon.js +1 -1
  1448. package/lib/components/Icon/icons/scissors.icon.js.map +1 -1
  1449. package/lib/components/Icon/icons/script-solid.icon.js +1 -1
  1450. package/lib/components/Icon/icons/script-solid.icon.js.map +1 -1
  1451. package/lib/components/Icon/icons/script.icon.js +1 -1
  1452. package/lib/components/Icon/icons/script.icon.js.map +1 -1
  1453. package/lib/components/Icon/icons/search-analytics-solid.icon.js +1 -1
  1454. package/lib/components/Icon/icons/search-analytics-solid.icon.js.map +1 -1
  1455. package/lib/components/Icon/icons/search-analytics.icon.js +1 -1
  1456. package/lib/components/Icon/icons/search-analytics.icon.js.map +1 -1
  1457. package/lib/components/Icon/icons/search-case.icon.js +1 -1
  1458. package/lib/components/Icon/icons/search-case.icon.js.map +1 -1
  1459. package/lib/components/Icon/icons/search-check.icon.js +1 -1
  1460. package/lib/components/Icon/icons/search-check.icon.js.map +1 -1
  1461. package/lib/components/Icon/icons/search-close.icon.js +1 -1
  1462. package/lib/components/Icon/icons/search-close.icon.js.map +1 -1
  1463. package/lib/components/Icon/icons/search-minus.icon.js +1 -1
  1464. package/lib/components/Icon/icons/search-minus.icon.js.map +1 -1
  1465. package/lib/components/Icon/icons/search-org.icon.js +1 -1
  1466. package/lib/components/Icon/icons/search-org.icon.js.map +1 -1
  1467. package/lib/components/Icon/icons/search-plus.icon.js +1 -1
  1468. package/lib/components/Icon/icons/search-plus.icon.js.map +1 -1
  1469. package/lib/components/Icon/icons/search-solid.icon.js +1 -1
  1470. package/lib/components/Icon/icons/search-solid.icon.js.map +1 -1
  1471. package/lib/components/Icon/icons/search-table.icon.js +1 -1
  1472. package/lib/components/Icon/icons/search-table.icon.js.map +1 -1
  1473. package/lib/components/Icon/icons/search.icon.js +1 -1
  1474. package/lib/components/Icon/icons/search.icon.js.map +1 -1
  1475. package/lib/components/Icon/icons/send-solid.icon.js +1 -1
  1476. package/lib/components/Icon/icons/send-solid.icon.js.map +1 -1
  1477. package/lib/components/Icon/icons/send.icon.js +1 -1
  1478. package/lib/components/Icon/icons/send.icon.js.map +1 -1
  1479. package/lib/components/Icon/icons/server-cloud-solid.icon.js +1 -1
  1480. package/lib/components/Icon/icons/server-cloud-solid.icon.js.map +1 -1
  1481. package/lib/components/Icon/icons/server-cloud.icon.js +1 -1
  1482. package/lib/components/Icon/icons/server-cloud.icon.js.map +1 -1
  1483. package/lib/components/Icon/icons/server-solid.icon.js +1 -1
  1484. package/lib/components/Icon/icons/server-solid.icon.js.map +1 -1
  1485. package/lib/components/Icon/icons/server.icon.js +1 -1
  1486. package/lib/components/Icon/icons/server.icon.js.map +1 -1
  1487. package/lib/components/Icon/icons/sextant.icon.js +1 -1
  1488. package/lib/components/Icon/icons/sextant.icon.js.map +1 -1
  1489. package/lib/components/Icon/icons/share-point-up-solid.icon.js +1 -1
  1490. package/lib/components/Icon/icons/share-point-up-solid.icon.js.map +1 -1
  1491. package/lib/components/Icon/icons/share-point-up.icon.js +1 -1
  1492. package/lib/components/Icon/icons/share-point-up.icon.js.map +1 -1
  1493. package/lib/components/Icon/icons/share-solid.icon.js +1 -1
  1494. package/lib/components/Icon/icons/share-solid.icon.js.map +1 -1
  1495. package/lib/components/Icon/icons/share.icon.js +1 -1
  1496. package/lib/components/Icon/icons/share.icon.js.map +1 -1
  1497. package/lib/components/Icon/icons/shield-solid.icon.js +1 -1
  1498. package/lib/components/Icon/icons/shield-solid.icon.js.map +1 -1
  1499. package/lib/components/Icon/icons/shield.icon.js +1 -1
  1500. package/lib/components/Icon/icons/shield.icon.js.map +1 -1
  1501. package/lib/components/Icon/icons/shoe-solid.icon.js +1 -1
  1502. package/lib/components/Icon/icons/shoe-solid.icon.js.map +1 -1
  1503. package/lib/components/Icon/icons/shoe.icon.js +1 -1
  1504. package/lib/components/Icon/icons/shoe.icon.js.map +1 -1
  1505. package/lib/components/Icon/icons/shuffle.icon.js +1 -1
  1506. package/lib/components/Icon/icons/shuffle.icon.js.map +1 -1
  1507. package/lib/components/Icon/icons/sigma.icon.js +1 -1
  1508. package/lib/components/Icon/icons/sigma.icon.js.map +1 -1
  1509. package/lib/components/Icon/icons/signpost-solid.icon.js +1 -1
  1510. package/lib/components/Icon/icons/signpost-solid.icon.js.map +1 -1
  1511. package/lib/components/Icon/icons/signpost.icon.js +1 -1
  1512. package/lib/components/Icon/icons/signpost.icon.js.map +1 -1
  1513. package/lib/components/Icon/icons/slideshow-solid.icon.js +1 -1
  1514. package/lib/components/Icon/icons/slideshow-solid.icon.js.map +1 -1
  1515. package/lib/components/Icon/icons/slideshow.icon.js +1 -1
  1516. package/lib/components/Icon/icons/slideshow.icon.js.map +1 -1
  1517. package/lib/components/Icon/icons/snail.icon.js +1 -1
  1518. package/lib/components/Icon/icons/snail.icon.js.map +1 -1
  1519. package/lib/components/Icon/icons/snow.icon.js +1 -1
  1520. package/lib/components/Icon/icons/snow.icon.js.map +1 -1
  1521. package/lib/components/Icon/icons/social-solid.icon.js +1 -1
  1522. package/lib/components/Icon/icons/social-solid.icon.js.map +1 -1
  1523. package/lib/components/Icon/icons/social.icon.js +1 -1
  1524. package/lib/components/Icon/icons/social.icon.js.map +1 -1
  1525. package/lib/components/Icon/icons/speaker-mute-solid.icon.js +1 -1
  1526. package/lib/components/Icon/icons/speaker-mute-solid.icon.js.map +1 -1
  1527. package/lib/components/Icon/icons/speaker-mute.icon.js +1 -1
  1528. package/lib/components/Icon/icons/speaker-mute.icon.js.map +1 -1
  1529. package/lib/components/Icon/icons/speaker-on-solid.icon.js +1 -1
  1530. package/lib/components/Icon/icons/speaker-on-solid.icon.js.map +1 -1
  1531. package/lib/components/Icon/icons/speaker-on.icon.js +1 -1
  1532. package/lib/components/Icon/icons/speaker-on.icon.js.map +1 -1
  1533. package/lib/components/Icon/icons/speaker-solid.icon.js +1 -1
  1534. package/lib/components/Icon/icons/speaker-solid.icon.js.map +1 -1
  1535. package/lib/components/Icon/icons/speaker.icon.js +1 -1
  1536. package/lib/components/Icon/icons/speaker.icon.js.map +1 -1
  1537. package/lib/components/Icon/icons/spellcheck.icon.js +1 -1
  1538. package/lib/components/Icon/icons/spellcheck.icon.js.map +1 -1
  1539. package/lib/components/Icon/icons/square-solid.icon.js +1 -1
  1540. package/lib/components/Icon/icons/square-solid.icon.js.map +1 -1
  1541. package/lib/components/Icon/icons/square.icon.js +1 -1
  1542. package/lib/components/Icon/icons/square.icon.js.map +1 -1
  1543. package/lib/components/Icon/icons/star-mixed.icon.js +1 -1
  1544. package/lib/components/Icon/icons/star-mixed.icon.js.map +1 -1
  1545. package/lib/components/Icon/icons/star-solid.icon.js +1 -1
  1546. package/lib/components/Icon/icons/star-solid.icon.js.map +1 -1
  1547. package/lib/components/Icon/icons/star.icon.js +1 -1
  1548. package/lib/components/Icon/icons/star.icon.js.map +1 -1
  1549. package/lib/components/Icon/icons/steps-solid.icon.js +1 -1
  1550. package/lib/components/Icon/icons/steps-solid.icon.js.map +1 -1
  1551. package/lib/components/Icon/icons/steps.icon.js +1 -1
  1552. package/lib/components/Icon/icons/steps.icon.js.map +1 -1
  1553. package/lib/components/Icon/icons/stethoscope-solid.icon.js +1 -1
  1554. package/lib/components/Icon/icons/stethoscope-solid.icon.js.map +1 -1
  1555. package/lib/components/Icon/icons/stethoscope.icon.js +1 -1
  1556. package/lib/components/Icon/icons/stethoscope.icon.js.map +1 -1
  1557. package/lib/components/Icon/icons/stoplight-solid.icon.js +1 -1
  1558. package/lib/components/Icon/icons/stoplight-solid.icon.js.map +1 -1
  1559. package/lib/components/Icon/icons/stoplight.icon.js +1 -1
  1560. package/lib/components/Icon/icons/stoplight.icon.js.map +1 -1
  1561. package/lib/components/Icon/icons/stopwatch-solid.icon.js +1 -1
  1562. package/lib/components/Icon/icons/stopwatch-solid.icon.js.map +1 -1
  1563. package/lib/components/Icon/icons/stopwatch.icon.js +1 -1
  1564. package/lib/components/Icon/icons/stopwatch.icon.js.map +1 -1
  1565. package/lib/components/Icon/icons/store-solid.icon.js +1 -1
  1566. package/lib/components/Icon/icons/store-solid.icon.js.map +1 -1
  1567. package/lib/components/Icon/icons/store.icon.js +1 -1
  1568. package/lib/components/Icon/icons/store.icon.js.map +1 -1
  1569. package/lib/components/Icon/icons/sun-solid.icon.js +1 -1
  1570. package/lib/components/Icon/icons/sun-solid.icon.js.map +1 -1
  1571. package/lib/components/Icon/icons/sun.icon.js +1 -1
  1572. package/lib/components/Icon/icons/sun.icon.js.map +1 -1
  1573. package/lib/components/Icon/icons/swipe-left-solid.icon.js +1 -1
  1574. package/lib/components/Icon/icons/swipe-left-solid.icon.js.map +1 -1
  1575. package/lib/components/Icon/icons/swipe-left.icon.js +1 -1
  1576. package/lib/components/Icon/icons/swipe-left.icon.js.map +1 -1
  1577. package/lib/components/Icon/icons/swipe-right-solid.icon.js +1 -1
  1578. package/lib/components/Icon/icons/swipe-right-solid.icon.js.map +1 -1
  1579. package/lib/components/Icon/icons/swipe-right.icon.js +1 -1
  1580. package/lib/components/Icon/icons/swipe-right.icon.js.map +1 -1
  1581. package/lib/components/Icon/icons/table.icon.js +1 -1
  1582. package/lib/components/Icon/icons/table.icon.js.map +1 -1
  1583. package/lib/components/Icon/icons/tablet-solid.icon.js +1 -1
  1584. package/lib/components/Icon/icons/tablet-solid.icon.js.map +1 -1
  1585. package/lib/components/Icon/icons/tablet.icon.js +1 -1
  1586. package/lib/components/Icon/icons/tablet.icon.js.map +1 -1
  1587. package/lib/components/Icon/icons/tag-check-solid.icon.js +1 -1
  1588. package/lib/components/Icon/icons/tag-check-solid.icon.js.map +1 -1
  1589. package/lib/components/Icon/icons/tag-check.icon.js +1 -1
  1590. package/lib/components/Icon/icons/tag-check.icon.js.map +1 -1
  1591. package/lib/components/Icon/icons/tag-close-solid.icon.js +1 -1
  1592. package/lib/components/Icon/icons/tag-close-solid.icon.js.map +1 -1
  1593. package/lib/components/Icon/icons/tag-close.icon.js +1 -1
  1594. package/lib/components/Icon/icons/tag-close.icon.js.map +1 -1
  1595. package/lib/components/Icon/icons/tag-solid.icon.js +1 -1
  1596. package/lib/components/Icon/icons/tag-solid.icon.js.map +1 -1
  1597. package/lib/components/Icon/icons/tag.icon.js +1 -1
  1598. package/lib/components/Icon/icons/tag.icon.js.map +1 -1
  1599. package/lib/components/Icon/icons/target-solid.icon.js +1 -1
  1600. package/lib/components/Icon/icons/target-solid.icon.js.map +1 -1
  1601. package/lib/components/Icon/icons/target.icon.js +1 -1
  1602. package/lib/components/Icon/icons/target.icon.js.map +1 -1
  1603. package/lib/components/Icon/icons/temp-solid.icon.js +1 -1
  1604. package/lib/components/Icon/icons/temp-solid.icon.js.map +1 -1
  1605. package/lib/components/Icon/icons/temp.icon.js +1 -1
  1606. package/lib/components/Icon/icons/temp.icon.js.map +1 -1
  1607. package/lib/components/Icon/icons/thumbs-down-solid.icon.js +1 -1
  1608. package/lib/components/Icon/icons/thumbs-down-solid.icon.js.map +1 -1
  1609. package/lib/components/Icon/icons/thumbs-down.icon.js +1 -1
  1610. package/lib/components/Icon/icons/thumbs-down.icon.js.map +1 -1
  1611. package/lib/components/Icon/icons/thumbs-up-solid.icon.js +1 -1
  1612. package/lib/components/Icon/icons/thumbs-up-solid.icon.js.map +1 -1
  1613. package/lib/components/Icon/icons/thumbs-up.icon.js +1 -1
  1614. package/lib/components/Icon/icons/thumbs-up.icon.js.map +1 -1
  1615. package/lib/components/Icon/icons/times.icon.js +1 -1
  1616. package/lib/components/Icon/icons/times.icon.js.map +1 -1
  1617. package/lib/components/Icon/icons/todo-solid.icon.js +1 -1
  1618. package/lib/components/Icon/icons/todo-solid.icon.js.map +1 -1
  1619. package/lib/components/Icon/icons/todo.icon.js +1 -1
  1620. package/lib/components/Icon/icons/todo.icon.js.map +1 -1
  1621. package/lib/components/Icon/icons/tow-truck-solid.icon.js +1 -1
  1622. package/lib/components/Icon/icons/tow-truck-solid.icon.js.map +1 -1
  1623. package/lib/components/Icon/icons/tow-truck.icon.js +1 -1
  1624. package/lib/components/Icon/icons/tow-truck.icon.js.map +1 -1
  1625. package/lib/components/Icon/icons/tracer-solid.icon.js +1 -1
  1626. package/lib/components/Icon/icons/tracer-solid.icon.js.map +1 -1
  1627. package/lib/components/Icon/icons/tracer.icon.js +1 -1
  1628. package/lib/components/Icon/icons/tracer.icon.js.map +1 -1
  1629. package/lib/components/Icon/icons/transform.icon.js +1 -1
  1630. package/lib/components/Icon/icons/transform.icon.js.map +1 -1
  1631. package/lib/components/Icon/icons/trash-solid.icon.js +1 -1
  1632. package/lib/components/Icon/icons/trash-solid.icon.js.map +1 -1
  1633. package/lib/components/Icon/icons/trash.icon.js +1 -1
  1634. package/lib/components/Icon/icons/trash.icon.js.map +1 -1
  1635. package/lib/components/Icon/icons/triangle-mixed-left.icon.js +1 -1
  1636. package/lib/components/Icon/icons/triangle-mixed-left.icon.js.map +1 -1
  1637. package/lib/components/Icon/icons/triangle-mixed-right.icon.js +1 -1
  1638. package/lib/components/Icon/icons/triangle-mixed-right.icon.js.map +1 -1
  1639. package/lib/components/Icon/icons/triangle-solid.icon.js +1 -1
  1640. package/lib/components/Icon/icons/triangle-solid.icon.js.map +1 -1
  1641. package/lib/components/Icon/icons/triangle.icon.js +1 -1
  1642. package/lib/components/Icon/icons/triangle.icon.js.map +1 -1
  1643. package/lib/components/Icon/icons/tribox-solid.icon.js +1 -1
  1644. package/lib/components/Icon/icons/tribox-solid.icon.js.map +1 -1
  1645. package/lib/components/Icon/icons/tribox.icon.js +1 -1
  1646. package/lib/components/Icon/icons/tribox.icon.js.map +1 -1
  1647. package/lib/components/Icon/icons/trophy-solid.icon.js +1 -1
  1648. package/lib/components/Icon/icons/trophy-solid.icon.js.map +1 -1
  1649. package/lib/components/Icon/icons/trophy.icon.js +1 -1
  1650. package/lib/components/Icon/icons/trophy.icon.js.map +1 -1
  1651. package/lib/components/Icon/icons/truck-solid.icon.js +1 -1
  1652. package/lib/components/Icon/icons/truck-solid.icon.js.map +1 -1
  1653. package/lib/components/Icon/icons/truck.icon.js +1 -1
  1654. package/lib/components/Icon/icons/truck.icon.js.map +1 -1
  1655. package/lib/components/Icon/icons/tv-solid.icon.js +1 -1
  1656. package/lib/components/Icon/icons/tv-solid.icon.js.map +1 -1
  1657. package/lib/components/Icon/icons/tv.icon.js +1 -1
  1658. package/lib/components/Icon/icons/tv.icon.js.map +1 -1
  1659. package/lib/components/Icon/icons/twitter.icon.js +1 -1
  1660. package/lib/components/Icon/icons/twitter.icon.js.map +1 -1
  1661. package/lib/components/Icon/icons/umbrella-solid.icon.js +1 -1
  1662. package/lib/components/Icon/icons/umbrella-solid.icon.js.map +1 -1
  1663. package/lib/components/Icon/icons/umbrella.icon.js +1 -1
  1664. package/lib/components/Icon/icons/umbrella.icon.js.map +1 -1
  1665. package/lib/components/Icon/icons/undo.icon.js +1 -1
  1666. package/lib/components/Icon/icons/undo.icon.js.map +1 -1
  1667. package/lib/components/Icon/icons/undock.icon.js +1 -1
  1668. package/lib/components/Icon/icons/undock.icon.js.map +1 -1
  1669. package/lib/components/Icon/icons/unindent.icon.js +1 -1
  1670. package/lib/components/Icon/icons/unindent.icon.js.map +1 -1
  1671. package/lib/components/Icon/icons/upload.icon.js +1 -1
  1672. package/lib/components/Icon/icons/upload.icon.js.map +1 -1
  1673. package/lib/components/Icon/icons/user-check-solid.icon.js +1 -1
  1674. package/lib/components/Icon/icons/user-check-solid.icon.js.map +1 -1
  1675. package/lib/components/Icon/icons/user-check.icon.js +1 -1
  1676. package/lib/components/Icon/icons/user-check.icon.js.map +1 -1
  1677. package/lib/components/Icon/icons/user-close-solid.icon.js +1 -1
  1678. package/lib/components/Icon/icons/user-close-solid.icon.js.map +1 -1
  1679. package/lib/components/Icon/icons/user-close.icon.js +1 -1
  1680. package/lib/components/Icon/icons/user-close.icon.js.map +1 -1
  1681. package/lib/components/Icon/icons/user-female-solid.icon.js +1 -1
  1682. package/lib/components/Icon/icons/user-female-solid.icon.js.map +1 -1
  1683. package/lib/components/Icon/icons/user-female.icon.js +1 -1
  1684. package/lib/components/Icon/icons/user-female.icon.js.map +1 -1
  1685. package/lib/components/Icon/icons/user-list-solid.icon.js +1 -1
  1686. package/lib/components/Icon/icons/user-list-solid.icon.js.map +1 -1
  1687. package/lib/components/Icon/icons/user-list.icon.js +1 -1
  1688. package/lib/components/Icon/icons/user-list.icon.js.map +1 -1
  1689. package/lib/components/Icon/icons/user-plus-solid.icon.js +1 -1
  1690. package/lib/components/Icon/icons/user-plus-solid.icon.js.map +1 -1
  1691. package/lib/components/Icon/icons/user-plus.icon.js +1 -1
  1692. package/lib/components/Icon/icons/user-plus.icon.js.map +1 -1
  1693. package/lib/components/Icon/icons/user-search-solid.icon.js +1 -1
  1694. package/lib/components/Icon/icons/user-search-solid.icon.js.map +1 -1
  1695. package/lib/components/Icon/icons/user-search.icon.js +1 -1
  1696. package/lib/components/Icon/icons/user-search.icon.js.map +1 -1
  1697. package/lib/components/Icon/icons/user-solid.icon.js +1 -1
  1698. package/lib/components/Icon/icons/user-solid.icon.js.map +1 -1
  1699. package/lib/components/Icon/icons/user-star-solid.icon.js +1 -1
  1700. package/lib/components/Icon/icons/user-star-solid.icon.js.map +1 -1
  1701. package/lib/components/Icon/icons/user-star.icon.js +1 -1
  1702. package/lib/components/Icon/icons/user-star.icon.js.map +1 -1
  1703. package/lib/components/Icon/icons/user.icon.js +1 -1
  1704. package/lib/components/Icon/icons/user.icon.js.map +1 -1
  1705. package/lib/components/Icon/icons/users-solid.icon.js +1 -1
  1706. package/lib/components/Icon/icons/users-solid.icon.js.map +1 -1
  1707. package/lib/components/Icon/icons/users.icon.js +1 -1
  1708. package/lib/components/Icon/icons/users.icon.js.map +1 -1
  1709. package/lib/components/Icon/icons/video-solid.icon.js +1 -1
  1710. package/lib/components/Icon/icons/video-solid.icon.js.map +1 -1
  1711. package/lib/components/Icon/icons/video.icon.js +1 -1
  1712. package/lib/components/Icon/icons/video.icon.js.map +1 -1
  1713. package/lib/components/Icon/icons/voicemail.icon.js +1 -1
  1714. package/lib/components/Icon/icons/voicemail.icon.js.map +1 -1
  1715. package/lib/components/Icon/icons/vr-solid.icon.js +1 -1
  1716. package/lib/components/Icon/icons/vr-solid.icon.js.map +1 -1
  1717. package/lib/components/Icon/icons/vr.icon.js +1 -1
  1718. package/lib/components/Icon/icons/vr.icon.js.map +1 -1
  1719. package/lib/components/Icon/icons/walkie-solid.icon.js +1 -1
  1720. package/lib/components/Icon/icons/walkie-solid.icon.js.map +1 -1
  1721. package/lib/components/Icon/icons/walkie.icon.js +1 -1
  1722. package/lib/components/Icon/icons/walkie.icon.js.map +1 -1
  1723. package/lib/components/Icon/icons/wallet-solid.icon.js +1 -1
  1724. package/lib/components/Icon/icons/wallet-solid.icon.js.map +1 -1
  1725. package/lib/components/Icon/icons/wallet.icon.js +1 -1
  1726. package/lib/components/Icon/icons/wallet.icon.js.map +1 -1
  1727. package/lib/components/Icon/icons/wand.icon.js +1 -1
  1728. package/lib/components/Icon/icons/wand.icon.js.map +1 -1
  1729. package/lib/components/Icon/icons/warn-solid.icon.js +1 -1
  1730. package/lib/components/Icon/icons/warn-solid.icon.js.map +1 -1
  1731. package/lib/components/Icon/icons/warn.icon.js +1 -1
  1732. package/lib/components/Icon/icons/warn.icon.js.map +1 -1
  1733. package/lib/components/Icon/icons/watch-solid.icon.js +1 -1
  1734. package/lib/components/Icon/icons/watch-solid.icon.js.map +1 -1
  1735. package/lib/components/Icon/icons/watch.icon.js +1 -1
  1736. package/lib/components/Icon/icons/watch.icon.js.map +1 -1
  1737. package/lib/components/Icon/icons/waypoint-solid.icon.js +1 -1
  1738. package/lib/components/Icon/icons/waypoint-solid.icon.js.map +1 -1
  1739. package/lib/components/Icon/icons/waypoint.icon.js +1 -1
  1740. package/lib/components/Icon/icons/waypoint.icon.js.map +1 -1
  1741. package/lib/components/Icon/icons/webcam-solid.icon.js +1 -1
  1742. package/lib/components/Icon/icons/webcam-solid.icon.js.map +1 -1
  1743. package/lib/components/Icon/icons/webcam.icon.js +1 -1
  1744. package/lib/components/Icon/icons/webcam.icon.js.map +1 -1
  1745. package/lib/components/Icon/icons/whatsapp.icon.js +1 -1
  1746. package/lib/components/Icon/icons/whatsapp.icon.js.map +1 -1
  1747. package/lib/components/Icon/icons/wifi-none.icon.js +1 -1
  1748. package/lib/components/Icon/icons/wifi-none.icon.js.map +1 -1
  1749. package/lib/components/Icon/icons/wifi-off.icon.js +1 -1
  1750. package/lib/components/Icon/icons/wifi-off.icon.js.map +1 -1
  1751. package/lib/components/Icon/icons/wifi.icon.js +1 -1
  1752. package/lib/components/Icon/icons/wifi.icon.js.map +1 -1
  1753. package/lib/components/Icon/icons/wizard-solid.icon.js +1 -1
  1754. package/lib/components/Icon/icons/wizard-solid.icon.js.map +1 -1
  1755. package/lib/components/Icon/icons/wizard.icon.js +1 -1
  1756. package/lib/components/Icon/icons/wizard.icon.js.map +1 -1
  1757. package/lib/components/Icon/icons/wrench-solid.icon.js +1 -1
  1758. package/lib/components/Icon/icons/wrench-solid.icon.js.map +1 -1
  1759. package/lib/components/Icon/icons/wrench.icon.js +1 -1
  1760. package/lib/components/Icon/icons/wrench.icon.js.map +1 -1
  1761. package/lib/components/Icon/icons/youtube.icon.js +1 -1
  1762. package/lib/components/Icon/icons/youtube.icon.js.map +1 -1
  1763. package/lib/components/IconPicker/IconPicker.js +2 -2
  1764. package/lib/components/IconPicker/IconPicker.js.map +1 -1
  1765. package/lib/components/Image/Image.js +1 -1
  1766. package/lib/components/Image/Image.js.map +1 -1
  1767. package/lib/components/Input/Input.js +2 -2
  1768. package/lib/components/Input/Input.js.map +1 -1
  1769. package/lib/components/Label/Label.js +1 -1
  1770. package/lib/components/Label/Label.js.map +1 -1
  1771. package/lib/components/Lightbox/Lightbox.d.ts.map +1 -1
  1772. package/lib/components/Lightbox/Lightbox.js +11 -34
  1773. package/lib/components/Lightbox/Lightbox.js.map +1 -1
  1774. package/lib/components/Link/Link.js +1 -1
  1775. package/lib/components/Link/Link.js.map +1 -1
  1776. package/lib/components/List/CommaSeparatedList.js +3 -3
  1777. package/lib/components/List/CommaSeparatedList.js.map +1 -1
  1778. package/lib/components/List/List.js +2 -2
  1779. package/lib/components/List/List.js.map +1 -1
  1780. package/lib/components/List/OrderedList.js +1 -1
  1781. package/lib/components/List/OrderedList.js.map +1 -1
  1782. package/lib/components/List/UnorderedList.js +1 -1
  1783. package/lib/components/List/UnorderedList.js.map +1 -1
  1784. package/lib/components/ListToolbar/ListToolbar.js +11 -11
  1785. package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
  1786. package/lib/components/ListToolbar/QueryOptionPopover.js +3 -3
  1787. package/lib/components/ListToolbar/QueryOptionPopover.js.map +1 -1
  1788. package/lib/components/Location/CurrentLocationButton.js +1 -1
  1789. package/lib/components/Location/CurrentLocationButton.js.map +1 -1
  1790. package/lib/components/Location/LocationDisplay.js +3 -3
  1791. package/lib/components/Location/LocationDisplay.js.map +1 -1
  1792. package/lib/components/Location/LocationInput.js +5 -5
  1793. package/lib/components/Location/LocationInput.js.map +1 -1
  1794. package/lib/components/Location/LocationView.js +1 -1
  1795. package/lib/components/Location/LocationView.js.map +1 -1
  1796. package/lib/components/Location/PoweredByGoogleImage.js +1 -1
  1797. package/lib/components/Location/PoweredByGoogleImage.js.map +1 -1
  1798. package/lib/components/Mark/Mark.d.ts +6 -0
  1799. package/lib/components/Mark/Mark.d.ts.map +1 -0
  1800. package/lib/components/Mark/Mark.js +16 -0
  1801. package/lib/components/Mark/Mark.js.map +1 -0
  1802. package/lib/components/Mark/index.d.ts +3 -0
  1803. package/lib/components/Mark/index.d.ts.map +1 -0
  1804. package/lib/components/Mark/index.js +3 -0
  1805. package/lib/components/Mark/index.js.map +1 -0
  1806. package/lib/components/Menu/FlyoutMenuList.js +4 -4
  1807. package/lib/components/Menu/FlyoutMenuList.js.map +1 -1
  1808. package/lib/components/Menu/Menu.js +1 -1
  1809. package/lib/components/Menu/Menu.js.map +1 -1
  1810. package/lib/components/Menu/Menu.styles.js +1 -1
  1811. package/lib/components/Menu/Menu.styles.js.map +1 -1
  1812. package/lib/components/Menu/MenuGroup.js +2 -2
  1813. package/lib/components/Menu/MenuGroup.js.map +1 -1
  1814. package/lib/components/Menu/MenuItem.d.ts.map +1 -1
  1815. package/lib/components/Menu/MenuItem.js +11 -9
  1816. package/lib/components/Menu/MenuItem.js.map +1 -1
  1817. package/lib/components/Menu/MenuList.js +5 -5
  1818. package/lib/components/Menu/MenuList.js.map +1 -1
  1819. package/lib/components/Menu/MenuListHeader.js +1 -1
  1820. package/lib/components/Menu/MenuListHeader.js.map +1 -1
  1821. package/lib/components/MenuButton/MenuButton.js +2 -2
  1822. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  1823. package/lib/components/MetaList/MetaList.js +1 -1
  1824. package/lib/components/MetaList/MetaList.js.map +1 -1
  1825. package/lib/components/Modal/DockedModals.js +1 -1
  1826. package/lib/components/Modal/DockedModals.js.map +1 -1
  1827. package/lib/components/Modal/MinimizedModal.js +4 -4
  1828. package/lib/components/Modal/MinimizedModal.js.map +1 -1
  1829. package/lib/components/Modal/Modal.d.ts.map +1 -1
  1830. package/lib/components/Modal/Modal.js +9 -33
  1831. package/lib/components/Modal/Modal.js.map +1 -1
  1832. package/lib/components/Modal/ModalManager.js +5 -5
  1833. package/lib/components/Modal/ModalManager.js.map +1 -1
  1834. package/lib/components/MultiStep/MultiStep.js +4 -4
  1835. package/lib/components/MultiStep/MultiStep.js.map +1 -1
  1836. package/lib/components/Number/NumberDisplay.d.ts.map +1 -1
  1837. package/lib/components/Number/NumberDisplay.js +6 -4
  1838. package/lib/components/Number/NumberDisplay.js.map +1 -1
  1839. package/lib/components/Number/NumberInput.js +5 -5
  1840. package/lib/components/Number/NumberInput.js.map +1 -1
  1841. package/lib/components/Number/index.d.ts +1 -0
  1842. package/lib/components/Number/index.d.ts.map +1 -1
  1843. package/lib/components/Number/index.js +1 -0
  1844. package/lib/components/Number/index.js.map +1 -1
  1845. package/lib/components/Number/utils.d.ts +6 -0
  1846. package/lib/components/Number/utils.d.ts.map +1 -1
  1847. package/lib/components/Number/utils.js +4 -0
  1848. package/lib/components/Number/utils.js.map +1 -1
  1849. package/lib/components/PageTemplates/CategorySubPage.js +10 -10
  1850. package/lib/components/PageTemplates/CategorySubPage.js.map +1 -1
  1851. package/lib/components/PageTemplates/DashboardPage.js +4 -4
  1852. package/lib/components/PageTemplates/DashboardPage.js.map +1 -1
  1853. package/lib/components/PageTemplates/PageTemplates.js +15 -15
  1854. package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
  1855. package/lib/components/Pagination/Pagination.js +2 -2
  1856. package/lib/components/Pagination/Pagination.js.map +1 -1
  1857. package/lib/components/Paragraph/ParagraphDisplay.js +1 -1
  1858. package/lib/components/Paragraph/ParagraphDisplay.js.map +1 -1
  1859. package/lib/components/Phone/PhoneDisplay.d.ts.map +1 -1
  1860. package/lib/components/Phone/PhoneDisplay.js +3 -3
  1861. package/lib/components/Phone/PhoneDisplay.js.map +1 -1
  1862. package/lib/components/Phone/PhoneInput.js +3 -3
  1863. package/lib/components/Phone/PhoneInput.js.map +1 -1
  1864. package/lib/components/Phone/index.d.ts +1 -0
  1865. package/lib/components/Phone/index.d.ts.map +1 -1
  1866. package/lib/components/Phone/index.js +1 -0
  1867. package/lib/components/Phone/index.js.map +1 -1
  1868. package/lib/components/Phone/utils.d.ts +1 -0
  1869. package/lib/components/Phone/utils.d.ts.map +1 -1
  1870. package/lib/components/Phone/utils.js +4 -1
  1871. package/lib/components/Phone/utils.js.map +1 -1
  1872. package/lib/components/Popover/Popover.js +1 -1
  1873. package/lib/components/Popover/Popover.js.map +1 -1
  1874. package/lib/components/Popover/PopoverManager.js +1 -1
  1875. package/lib/components/Popover/PopoverManager.js.map +1 -1
  1876. package/lib/components/Progress/Bar.js +1 -1
  1877. package/lib/components/Progress/Bar.js.map +1 -1
  1878. package/lib/components/Progress/Ellipsis.js +1 -1
  1879. package/lib/components/Progress/Ellipsis.js.map +1 -1
  1880. package/lib/components/Progress/Progress.js +2 -2
  1881. package/lib/components/Progress/Progress.js.map +1 -1
  1882. package/lib/components/Progress/Ring.js +1 -1
  1883. package/lib/components/Progress/Ring.js.map +1 -1
  1884. package/lib/components/RadioButton/RadioButton.js +1 -1
  1885. package/lib/components/RadioButton/RadioButton.js.map +1 -1
  1886. package/lib/components/RadioCheck/RadioCheck.js +2 -2
  1887. package/lib/components/RadioCheck/RadioCheck.js.map +1 -1
  1888. package/lib/components/RadioCheckGroup/RadioCheckGroup.js +1 -1
  1889. package/lib/components/RadioCheckGroup/RadioCheckGroup.js.map +1 -1
  1890. package/lib/components/Rating/Rating.js +2 -2
  1891. package/lib/components/Rating/Rating.js.map +1 -1
  1892. package/lib/components/SearchInput/SearchInput.js +2 -2
  1893. package/lib/components/SearchInput/SearchInput.js.map +1 -1
  1894. package/lib/components/Select/Option.js +1 -1
  1895. package/lib/components/Select/Option.js.map +1 -1
  1896. package/lib/components/Select/Select.js +2 -2
  1897. package/lib/components/Select/Select.js.map +1 -1
  1898. package/lib/components/Sentiment/Sentiment.js +1 -1
  1899. package/lib/components/Sentiment/Sentiment.js.map +1 -1
  1900. package/lib/components/Skeleton/LineSkeleton.js +1 -1
  1901. package/lib/components/Skeleton/LineSkeleton.js.map +1 -1
  1902. package/lib/components/Skeleton/ParagraphSkeleton.js +1 -1
  1903. package/lib/components/Skeleton/ParagraphSkeleton.js.map +1 -1
  1904. package/lib/components/Skeleton/RectangleSkeleton.js +1 -1
  1905. package/lib/components/Skeleton/RectangleSkeleton.js.map +1 -1
  1906. package/lib/components/Slider/Slider.js +3 -3
  1907. package/lib/components/Slider/Slider.js.map +1 -1
  1908. package/lib/components/Slider/SliderTicks.js +2 -2
  1909. package/lib/components/Slider/SliderTicks.js.map +1 -1
  1910. package/lib/components/SummaryItem/SummaryItem.js +1 -1
  1911. package/lib/components/SummaryItem/SummaryItem.js.map +1 -1
  1912. package/lib/components/SummaryList/SummaryList.js +6 -6
  1913. package/lib/components/SummaryList/SummaryList.js.map +1 -1
  1914. package/lib/components/SummaryList/ViewAll.js +1 -1
  1915. package/lib/components/SummaryList/ViewAll.js.map +1 -1
  1916. package/lib/components/Switch/Switch.js +1 -1
  1917. package/lib/components/Switch/Switch.js.map +1 -1
  1918. package/lib/components/Table/Table.js +2 -2
  1919. package/lib/components/Table/Table.js.map +1 -1
  1920. package/lib/components/Tabs/Tab.js +1 -1
  1921. package/lib/components/Tabs/Tab.js.map +1 -1
  1922. package/lib/components/Tabs/TabPanel.js +1 -1
  1923. package/lib/components/Tabs/TabPanel.js.map +1 -1
  1924. package/lib/components/Tabs/Tabs.js +2 -2
  1925. package/lib/components/Tabs/Tabs.js.map +1 -1
  1926. package/lib/components/Text/Text.js +1 -1
  1927. package/lib/components/Text/Text.js.map +1 -1
  1928. package/lib/components/TextArea/TextArea.js +3 -3
  1929. package/lib/components/TextArea/TextArea.js.map +1 -1
  1930. package/lib/components/Toaster/Toaster.js +4 -4
  1931. package/lib/components/Toaster/Toaster.js.map +1 -1
  1932. package/lib/components/Tooltip/Tooltip.js +1 -1
  1933. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  1934. package/lib/components/Tree/StandardTree.js +6 -6
  1935. package/lib/components/Tree/StandardTree.js.map +1 -1
  1936. package/lib/components/Tree/Tree.js +4 -4
  1937. package/lib/components/Tree/Tree.js.map +1 -1
  1938. package/lib/components/URL/URLDisplay.js +2 -2
  1939. package/lib/components/URL/URLDisplay.js.map +1 -1
  1940. package/lib/components/VisuallyHiddenText/VisuallyHiddenText.js +1 -1
  1941. package/lib/components/VisuallyHiddenText/VisuallyHiddenText.js.map +1 -1
  1942. package/lib/hooks/index.d.ts +3 -0
  1943. package/lib/hooks/index.d.ts.map +1 -1
  1944. package/lib/hooks/index.js +3 -0
  1945. package/lib/hooks/index.js.map +1 -1
  1946. package/lib/hooks/useEscape.d.ts +10 -0
  1947. package/lib/hooks/useEscape.d.ts.map +1 -0
  1948. package/lib/hooks/useEscape.js +17 -0
  1949. package/lib/hooks/useEscape.js.map +1 -0
  1950. package/lib/hooks/useEvent.d.ts +27 -0
  1951. package/lib/hooks/useEvent.d.ts.map +1 -0
  1952. package/lib/hooks/useEvent.js +15 -0
  1953. package/lib/hooks/useEvent.js.map +1 -0
  1954. package/lib/hooks/useFocusTrap.d.ts +10 -0
  1955. package/lib/hooks/useFocusTrap.d.ts.map +1 -0
  1956. package/lib/hooks/useFocusTrap.js +30 -0
  1957. package/lib/hooks/useFocusTrap.js.map +1 -0
  1958. package/lib/hooks/useI18n.d.ts +1 -1
  1959. package/lib/i18n/default.d.ts +1 -1
  1960. package/lib/i18n/default.js +1 -1
  1961. package/lib/i18n/default.js.map +1 -1
  1962. package/lib/i18n/i18n.d.ts +2 -2
  1963. package/lib/index.d.ts +3 -0
  1964. package/lib/index.d.ts.map +1 -1
  1965. package/lib/index.js +3 -0
  1966. package/lib/index.js.map +1 -1
  1967. package/lib/theme/theme.d.ts +60 -6
  1968. package/lib/theme/theme.d.ts.map +1 -1
  1969. package/lib/theme/themeDefinition.json +17 -0
  1970. package/lib/utils/utils.d.ts +2 -2
  1971. package/lib/utils/utils.d.ts.map +1 -1
  1972. package/lib/utils/utils.js +2 -2
  1973. package/lib/utils/utils.js.map +1 -1
  1974. package/package.json +4 -2
@@ -1 +1 @@
1
- {"version":3,"file":"Toaster.js","sourceRoot":"","sources":["../../../src/components/Toaster/Toaster.tsx"],"names":[],"mappings":";;AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,UAAU,EACV,OAAO,EACP,eAAe,EAMf,MAAM,EACN,QAAQ,EACR,UAAU,EAGV,SAAS,EAEV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,IAAI,EAAE,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,YAAY,CAAC,SAAS,CAAC,CAAC;AAEx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OAAO,CAAC","sourcesContent":["import {\n createContext,\n useContext,\n useReducer,\n useMemo,\n useLayoutEffect,\n FunctionComponent,\n ReactNode,\n CSSProperties,\n TransitionEvent,\n Context,\n useRef,\n useState,\n forwardRef,\n PropsWithoutRef,\n Ref,\n useEffect,\n Dispatch\n} from 'react';\nimport { createPortal } from 'react-dom';\nimport styled, { css } from 'styled-components';\n\nimport Button from '../Button';\nimport Icon, { registerIcon } from '../Icon';\nimport * as timesIcon from '../Icon/icons/times.icon';\nimport { createUID } from '../../utils';\nimport { useConfiguration, useI18n } from '../../hooks';\nimport { defaultThemeProp } from '../../theme';\nimport Flex from '../Flex';\n\nregisterIcon(timesIcon);\n\nexport const initializedKey = Symbol.for('@pega/cosmos-react-core.toaster.initialized');\n\nexport interface ToasterContextValue {\n push: (message: ToastMessage) => void;\n [initializedKey]: boolean;\n}\n\nexport const ToasterContext = createContext<ToasterContextValue>({\n push: () => {},\n [initializedKey]: false\n});\n\nexport interface ToastMessage {\n /** String to identify the specific message. Used as onDismiss callback arg. */\n id?: string;\n /** A short message to provide feedback based upon a user action. */\n content: string;\n /**\n * Time in milliseconds to automatically dismiss toast.\n * Can be set globally on Toaster and overridden individually at a message level.\n * @default Infinity\n */\n dismissAfter?: number;\n /** Called when user or timer dismisses toasts. Callback is passed the message id and boolean indicating if the dismissal was timed. */\n onDismiss?: ({ id, timeout }: { id: ToastState['id']; timeout: boolean }) => void;\n}\n\nexport interface ToasterProps {\n /** The element(s) responsible for handling the Toaster state. */\n children: ReactNode;\n /**\n * Time in milliseconds to automatically dismiss Toast.\n * Can be set globally on Toaster and overridden individually at a message level.\n * @default Infinity\n */\n dismissAfter?: ToastMessage['dismissAfter'];\n /** Called when user or timer dismisses Toasts. Callback is passed the message id and boolean indicating if the dismissal was timed. */\n onDismiss?: ToastMessage['onDismiss'];\n /** Context to read previous values from. */\n context?: Context<ToasterContextValue>;\n}\n\ninterface ToastState extends ToastMessage {\n id: NonNullable<ToastMessage['id']>;\n}\n\ntype ToastReducerAction =\n | { type: 'push'; payload: ToastState }\n | { type: 'unmount'; payload: ToastState['id'] };\n\ninterface ToastProps extends ToastState {\n topLevelDismiss: ToasterProps['onDismiss'];\n translateY: number;\n dispatch: Dispatch<ToastReducerAction>;\n ref: Ref<HTMLDivElement>;\n}\n\nconst StyledToastButton = styled.button(\n ({ theme }) => css`\n border: none;\n color: inherit;\n padding: 0;\n font-size: 1rem;\n\n &:enabled:hover {\n background: #ffffff19;\n }\n\n &:enabled:focus {\n box-shadow: ${theme.base.shadow['focus-inverted']};\n }\n `\n);\n\nStyledToastButton.defaultProps = defaultThemeProp;\n\nconst StyledToastContent = styled.div(({ theme }) => {\n return css`\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: ${theme.base['font-size']};\n margin-inline-start: calc(${theme.base['border-radius']} / 2);\n `;\n});\n\nStyledToastContent.defaultProps = defaultThemeProp;\n\nconst StyledToast = styled.div(({ theme }) => {\n return css`\n position: absolute;\n inset-block-start: 0;\n inset-inline-start: 0;\n width: 100%;\n padding: calc(${theme.base.spacing} / 2);\n background: ${theme.base.colors.slate['extra-dark']};\n color: ${theme.base.colors.white};\n border-radius: calc(${theme.base['border-radius']} / 2);\n opacity: var(--opacity);\n transform: translateY(var(--translateY)) scale(var(--scale));\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n `;\n});\n\nStyledToast.defaultProps = defaultThemeProp;\n\nconst StyledToaster = styled.div`\n position: fixed;\n z-index: ${({ theme }) => theme.base['z-index'].toast};\n width: min(40ch, calc(100% - 1rem));\n inset-inline-start: 50%;\n transform: translateX(-50%);\n top: 100%;\n`;\n\nStyledToaster.defaultProps = defaultThemeProp;\n\nfunction reducer(current: ToastState[], action: ToastReducerAction) {\n switch (action.type) {\n case 'push':\n return [\n ...current,\n {\n ...action.payload\n }\n ];\n\n case 'unmount':\n return current.filter(m => m.id !== action.payload);\n\n default:\n return current;\n }\n}\n\nconst Toast: FunctionComponent<ToastProps> = forwardRef(\n (\n { dispatch, topLevelDismiss, dismissAfter, ...message }: PropsWithoutRef<ToastProps>,\n ref: ToastProps['ref']\n ) => {\n const { content, translateY } = message;\n const [dismissed, setDismissed] = useState(false);\n const timeoutRef = useRef(NaN);\n const t = useI18n();\n\n const onTransitionEnd = (e: TransitionEvent<HTMLDivElement>) => {\n if (dismissed && e.propertyName === 'opacity' && e.target === e.currentTarget) {\n dispatch({ type: 'unmount', payload: message.id });\n }\n };\n\n const dismiss = () => {\n clearTimeout(timeoutRef.current);\n if (dismissed) return;\n setDismissed(true);\n topLevelDismiss?.({ id: message.id, timeout: false });\n };\n\n useEffect(() => {\n if (Number.isFinite(dismissAfter)) {\n timeoutRef.current = setTimeout(dismiss, dismissAfter);\n }\n\n return () => {\n clearTimeout(timeoutRef.current);\n };\n }, []);\n\n return (\n <Flex\n container={{ alignItems: 'center', gap: 0.25 }}\n as={StyledToast}\n ref={ref}\n style={\n {\n '--translateY': `${-translateY}px`,\n '--opacity': dismissed ? '0' : '1',\n '--scale': dismissed ? '0' : '1'\n } as CSSProperties\n }\n onTransitionEnd={onTransitionEnd}\n >\n <Flex item={{ grow: 1 }} as={StyledToastContent}>\n {content}\n </Flex>\n <Button\n as={StyledToastButton}\n variant='simple'\n onClick={dismiss}\n icon\n aria-label={t('dismiss_label')}\n >\n <Icon name='times' />\n </Button>\n </Flex>\n );\n }\n);\n\nconst Toaster: FunctionComponent<ToasterProps> = ({\n children,\n dismissAfter = Infinity,\n onDismiss,\n context = ToasterContext\n}: ToasterProps) => {\n const { portalTarget } = useConfiguration();\n const [messages, dispatch] = useReducer(reducer, []);\n const [yOffsets, setYOffsets] = useState<number[]>([]);\n const heightHashRef = useRef<{\n [id: string]: number;\n }>({});\n\n // This effect will cause a re-render with a translateY value set for each toast.\n useLayoutEffect(() => {\n const heights = [...messages].reverse().map(({ id }) => heightHashRef.current[id]);\n\n setYOffsets(\n heights\n .map((_, i) => heights.slice(0, i + 1).reduce((sum, cur) => sum + cur + 4, 0))\n .reverse()\n );\n }, [messages.length]);\n\n const providerValue = useMemo(\n () => ({\n push(incoming: ToastMessage) {\n const message: ToastState = {\n ...incoming,\n id: incoming.id ?? createUID()\n };\n\n dispatch({\n type: 'push',\n payload: message\n });\n },\n [initializedKey]: true\n }),\n [onDismiss, dismissAfter]\n );\n\n // Don't create additional ToasterContext.Providers.\n const priorCtx = useContext(context);\n if (priorCtx[initializedKey]) {\n return <ToasterContext.Provider value={priorCtx}>{children}</ToasterContext.Provider>;\n }\n\n return (\n <>\n <ToasterContext.Provider value={providerValue}>{children}</ToasterContext.Provider>\n {!!messages.length &&\n portalTarget &&\n createPortal(\n <StyledToaster>\n {messages.map((message, i) => {\n return (\n <Toast\n {...message}\n translateY={yOffsets[i] ?? 0}\n topLevelDismiss={onDismiss}\n dismissAfter={message.dismissAfter ?? dismissAfter}\n key={message.id}\n dispatch={dispatch}\n ref={el => {\n if (el) {\n heightHashRef.current[message.id] = el.offsetHeight;\n } else {\n delete heightHashRef.current[message.id];\n }\n }}\n />\n );\n })}\n </StyledToaster>,\n portalTarget\n )}\n </>\n );\n};\n\nexport default Toaster;\n"]}
1
+ {"version":3,"file":"Toaster.js","sourceRoot":"","sources":["../../../src/components/Toaster/Toaster.tsx"],"names":[],"mappings":";;AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,UAAU,EACV,OAAO,EACP,eAAe,EAMf,MAAM,EACN,QAAQ,EACR,UAAU,EAGV,SAAS,EAEV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,IAAI,EAAE,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,0BAA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C,EAAE,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC;iCACrD;qCAAM;oCACL,OAAO,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;iCAC1C;4BACH,CAAC,GACD,CACH,CAAC;oBACJ,CAAC,CAAC,GACY,EAChB,YAAY,CACb,IACF,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import {\n createContext,\n useContext,\n useReducer,\n useMemo,\n useLayoutEffect,\n FunctionComponent,\n ReactNode,\n CSSProperties,\n TransitionEvent,\n Context,\n useRef,\n useState,\n forwardRef,\n PropsWithoutRef,\n Ref,\n useEffect,\n Dispatch\n} from 'react';\nimport { createPortal } from 'react-dom';\nimport styled, { css } from 'styled-components';\n\nimport Button from '../Button';\nimport Icon, { registerIcon } from '../Icon';\nimport * as timesIcon from '../Icon/icons/times.icon';\nimport { createUID } from '../../utils';\nimport { useConfiguration, useI18n } from '../../hooks';\nimport { defaultThemeProp } from '../../theme';\nimport Flex from '../Flex';\n\nregisterIcon(timesIcon);\n\nexport const initializedKey = Symbol.for('@pega/cosmos-react-core.toaster.initialized');\n\nexport interface ToasterContextValue {\n push: (message: ToastMessage) => void;\n [initializedKey]: boolean;\n}\n\nexport const ToasterContext = createContext<ToasterContextValue>({\n push: () => {},\n [initializedKey]: false\n});\n\nexport interface ToastMessage {\n /** String to identify the specific message. Used as onDismiss callback arg. */\n id?: string;\n /** A short message to provide feedback based upon a user action. */\n content: string;\n /**\n * Time in milliseconds to automatically dismiss toast.\n * Can be set globally on Toaster and overridden individually at a message level.\n * @default Infinity\n */\n dismissAfter?: number;\n /** Called when user or timer dismisses toasts. Callback is passed the message id and boolean indicating if the dismissal was timed. */\n onDismiss?: ({ id, timeout }: { id: ToastState['id']; timeout: boolean }) => void;\n}\n\nexport interface ToasterProps {\n /** The element(s) responsible for handling the Toaster state. */\n children: ReactNode;\n /**\n * Time in milliseconds to automatically dismiss Toast.\n * Can be set globally on Toaster and overridden individually at a message level.\n * @default Infinity\n */\n dismissAfter?: ToastMessage['dismissAfter'];\n /** Called when user or timer dismisses Toasts. Callback is passed the message id and boolean indicating if the dismissal was timed. */\n onDismiss?: ToastMessage['onDismiss'];\n /** Context to read previous values from. */\n context?: Context<ToasterContextValue>;\n}\n\ninterface ToastState extends ToastMessage {\n id: NonNullable<ToastMessage['id']>;\n}\n\ntype ToastReducerAction =\n | { type: 'push'; payload: ToastState }\n | { type: 'unmount'; payload: ToastState['id'] };\n\ninterface ToastProps extends ToastState {\n topLevelDismiss: ToasterProps['onDismiss'];\n translateY: number;\n dispatch: Dispatch<ToastReducerAction>;\n ref: Ref<HTMLDivElement>;\n}\n\nconst StyledToastButton = styled.button(\n ({ theme }) => css`\n border: none;\n color: inherit;\n padding: 0;\n font-size: 1rem;\n\n &:enabled:hover {\n background: #ffffff19;\n }\n\n &:enabled:focus {\n box-shadow: ${theme.base.shadow['focus-inverted']};\n }\n `\n);\n\nStyledToastButton.defaultProps = defaultThemeProp;\n\nconst StyledToastContent = styled.div(({ theme }) => {\n return css`\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: ${theme.base['font-size']};\n margin-inline-start: calc(${theme.base['border-radius']} / 2);\n `;\n});\n\nStyledToastContent.defaultProps = defaultThemeProp;\n\nconst StyledToast = styled.div(({ theme }) => {\n return css`\n position: absolute;\n inset-block-start: 0;\n inset-inline-start: 0;\n width: 100%;\n padding: calc(${theme.base.spacing} / 2);\n background: ${theme.base.colors.slate['extra-dark']};\n color: ${theme.base.colors.white};\n border-radius: calc(${theme.base['border-radius']} / 2);\n opacity: var(--opacity);\n transform: translateY(var(--translateY)) scale(var(--scale));\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n `;\n});\n\nStyledToast.defaultProps = defaultThemeProp;\n\nconst StyledToaster = styled.div`\n position: fixed;\n z-index: ${({ theme }) => theme.base['z-index'].toast};\n width: min(40ch, calc(100% - 1rem));\n inset-inline-start: 50%;\n transform: translateX(-50%);\n top: 100%;\n`;\n\nStyledToaster.defaultProps = defaultThemeProp;\n\nfunction reducer(current: ToastState[], action: ToastReducerAction) {\n switch (action.type) {\n case 'push':\n return [\n ...current,\n {\n ...action.payload\n }\n ];\n\n case 'unmount':\n return current.filter(m => m.id !== action.payload);\n\n default:\n return current;\n }\n}\n\nconst Toast: FunctionComponent<ToastProps> = forwardRef(\n (\n { dispatch, topLevelDismiss, dismissAfter, ...message }: PropsWithoutRef<ToastProps>,\n ref: ToastProps['ref']\n ) => {\n const { content, translateY } = message;\n const [dismissed, setDismissed] = useState(false);\n const timeoutRef = useRef(NaN);\n const t = useI18n();\n\n const onTransitionEnd = (e: TransitionEvent<HTMLDivElement>) => {\n if (dismissed && e.propertyName === 'opacity' && e.target === e.currentTarget) {\n dispatch({ type: 'unmount', payload: message.id });\n }\n };\n\n const dismiss = () => {\n clearTimeout(timeoutRef.current);\n if (dismissed) return;\n setDismissed(true);\n topLevelDismiss?.({ id: message.id, timeout: false });\n };\n\n useEffect(() => {\n if (Number.isFinite(dismissAfter)) {\n timeoutRef.current = setTimeout(dismiss, dismissAfter);\n }\n\n return () => {\n clearTimeout(timeoutRef.current);\n };\n }, []);\n\n return (\n <Flex\n container={{ alignItems: 'center', gap: 0.25 }}\n as={StyledToast}\n ref={ref}\n style={\n {\n '--translateY': `${-translateY}px`,\n '--opacity': dismissed ? '0' : '1',\n '--scale': dismissed ? '0' : '1'\n } as CSSProperties\n }\n onTransitionEnd={onTransitionEnd}\n >\n <Flex item={{ grow: 1 }} as={StyledToastContent}>\n {content}\n </Flex>\n <Button\n as={StyledToastButton}\n variant='simple'\n onClick={dismiss}\n icon\n aria-label={t('dismiss_label')}\n >\n <Icon name='times' />\n </Button>\n </Flex>\n );\n }\n);\n\nconst Toaster: FunctionComponent<ToasterProps> = ({\n children,\n dismissAfter = Infinity,\n onDismiss,\n context = ToasterContext\n}: ToasterProps) => {\n const { portalTarget } = useConfiguration();\n const [messages, dispatch] = useReducer(reducer, []);\n const [yOffsets, setYOffsets] = useState<number[]>([]);\n const heightHashRef = useRef<{\n [id: string]: number;\n }>({});\n\n // This effect will cause a re-render with a translateY value set for each toast.\n useLayoutEffect(() => {\n const heights = [...messages].reverse().map(({ id }) => heightHashRef.current[id]);\n\n setYOffsets(\n heights\n .map((_, i) => heights.slice(0, i + 1).reduce((sum, cur) => sum + cur + 4, 0))\n .reverse()\n );\n }, [messages.length]);\n\n const providerValue = useMemo(\n () => ({\n push(incoming: ToastMessage) {\n const message: ToastState = {\n ...incoming,\n id: incoming.id ?? createUID()\n };\n\n dispatch({\n type: 'push',\n payload: message\n });\n },\n [initializedKey]: true\n }),\n [onDismiss, dismissAfter]\n );\n\n // Don't create additional ToasterContext.Providers.\n const priorCtx = useContext(context);\n if (priorCtx[initializedKey]) {\n return <ToasterContext.Provider value={priorCtx}>{children}</ToasterContext.Provider>;\n }\n\n return (\n <>\n <ToasterContext.Provider value={providerValue}>{children}</ToasterContext.Provider>\n {!!messages.length &&\n portalTarget &&\n createPortal(\n <StyledToaster>\n {messages.map((message, i) => {\n return (\n <Toast\n {...message}\n translateY={yOffsets[i] ?? 0}\n topLevelDismiss={onDismiss}\n dismissAfter={message.dismissAfter ?? dismissAfter}\n key={message.id}\n dispatch={dispatch}\n ref={el => {\n if (el) {\n heightHashRef.current[message.id] = el.offsetHeight;\n } else {\n delete heightHashRef.current[message.id];\n }\n }}\n />\n );\n })}\n </StyledToaster>,\n portalTarget\n )}\n </>\n );\n};\n\nexport default Toaster;\n"]}
@@ -74,7 +74,7 @@ const Tooltip = forwardRef(({ children, target, showDelay = 'short', hideDelay =
74
74
  target.setAttribute('aria-describedby', id);
75
75
  }
76
76
  }, [describeTarget, target]);
77
- return (_jsx(Popover, { id: id, ...restProps, show: show, showDelay: showDelay, hideDelay: hideDelay, groupId: 'tooltip', strategy: 'fixed', portal: portal, as: StyledTooltip, role: 'tooltip', target: target, arrow: true, placement: 'bottom', onMouseDown: onMouseDown, hideOnTargetHidden: true, ref: tooltipRef, children: children }, void 0));
77
+ return (_jsx(Popover, { id: id, ...restProps, show: show, showDelay: showDelay, hideDelay: hideDelay, groupId: 'tooltip', strategy: 'fixed', portal: portal, as: StyledTooltip, role: 'tooltip', target: target, arrow: true, placement: 'bottom', onMouseDown: onMouseDown, hideOnTargetHidden: true, ref: tooltipRef, children: children }));
78
78
  });
79
79
  export default Tooltip;
80
80
  //# sourceMappingURL=Tooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EAKV,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,OAAgC,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AA8BjD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACpD,MAAM,QAAQ,GAAG,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAEtF,OAAO,GAAG,CAAA;wBACY,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;aACvD,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;iBACxC,QAAQ,CAAC,GAAG;;eAEd,KAAK,CAAC,IAAI,CAAC,OA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,mBAAmB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;YACvD,MAAM,CAAC,mBAAmB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QACzD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC;IAE5E,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,kBAAkB,CAAC,IAAI,cAAc,EAAE;YACxE,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;SAC7C;IACH,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7B,OAAO,CACL,KAAC,OAAO,IACN,EAAE,EAAE,EAAE,KACF,SAAS,EACb,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAC,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,aAAa,EACjB,IAAI,EAAC,SAAS,EACd,MAAM,EAAE,MAAM,EACd,KAAK,QACL,SAAS,EAAC,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,kBAAkB,QAClB,GAAG,EAAE,UAAU,YAEd,QAAQ,WACD,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import {\n forwardRef,\n FunctionComponent,\n MutableRefObject,\n PropsWithoutRef,\n Ref,\n useCallback,\n useEffect,\n useRef,\n useState\n} from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { BaseProps, ForwardProps } from '../../types';\nimport { defaultThemeProp } from '../../theme';\nimport Popover, { Delay, PopoverProps } from '../Popover';\nimport { useConsolidatedRef, useUID } from '../../hooks';\nimport { calculateFontSize } from '../../styles';\n\nexport interface TooltipProps extends BaseProps {\n /** Text content for the tooltip. */\n children: string | string[];\n /** Element to serve as the tooltip's target. */\n target: Element | null;\n /**\n * Delay showing the tooltip on mouseenter.\n * @default \"short\"\n */\n showDelay?: Delay;\n /**\n * Delay hiding the tooltip on mouseleave.\n * @default \"long\"\n */\n hideDelay?: Delay;\n /**\n * If true, the Tooltip will render outside of the current DOM hierarchy in a [portal](https://reactjs.org/docs/portals.html).\n * @default false\n */\n portal?: PopoverProps['portal'];\n /**\n * If true, the Tooltip will automatically apply an aria-describedby attribute to its target.\n * @default true\n */\n describeTarget?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\nexport const StyledTooltip = styled.div(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n background-color: ${theme.components.tooltip['background-color']};\n color: ${theme.components.tooltip['foreground-color']};\n font-size: ${fontSize.xxs};\n max-width: 40ch;\n padding: ${theme.base.spacing};\n white-space: pre-line;\n word-break: break-word;\n `;\n});\n\nStyledTooltip.defaultProps = defaultThemeProp;\n\nconst Tooltip: FunctionComponent<TooltipProps & ForwardProps> = forwardRef(\n (\n {\n children,\n target,\n showDelay = 'short',\n hideDelay = 'long',\n portal = false,\n describeTarget = true,\n ...restProps\n }: PropsWithoutRef<TooltipProps>,\n ref: Ref<HTMLDivElement>\n ) => {\n const id = useUID();\n const [show, setShow] = useState(false);\n const tooltipRef = useConsolidatedRef(ref);\n const lastClickedRef: MutableRefObject<EventTarget | null> = useRef(null);\n\n const showTooltip = useCallback(() => {\n setShow(true);\n }, []);\n\n const onMouseDown = useCallback(\n ({ target: eTarget }: MouseEvent) => {\n lastClickedRef.current = eTarget;\n if (eTarget === tooltipRef.current || eTarget === target) return;\n setShow(false);\n },\n [target]\n );\n\n const onFocusOut = useCallback(() => {\n if (lastClickedRef.current !== tooltipRef.current) {\n setShow(false);\n }\n lastClickedRef.current = null;\n }, []);\n\n const onMouseEnter = useCallback(() => {\n setShow(true);\n }, [target]);\n\n const onMouseLeave = useCallback(() => {\n if (document.activeElement !== target) {\n setShow(false);\n }\n }, [target]);\n\n const onKeyDown = useCallback(\n ({ key }: KeyboardEvent) => {\n if (key === 'Escape' && document.activeElement === target) {\n setShow(false);\n }\n },\n [target]\n );\n\n useEffect(() => {\n if (!target) return;\n\n document.addEventListener('keydown', onKeyDown);\n document.addEventListener('mousedown', onMouseDown);\n\n target.addEventListener('focusin', showTooltip);\n target.addEventListener('focusout', onFocusOut);\n\n target.addEventListener('mouseenter', onMouseEnter);\n target.addEventListener('mouseleave', onMouseLeave);\n\n return () => {\n document.removeEventListener('keydown', onKeyDown);\n document.removeEventListener('mousedown', onMouseDown);\n\n target.removeEventListener('focusin', showTooltip);\n target.removeEventListener('focusout', onFocusOut);\n\n target.removeEventListener('mouseenter', onMouseEnter);\n target.removeEventListener('mouseleave', onMouseLeave);\n };\n }, [target, showTooltip, onMouseDown, onFocusOut, onMouseLeave, onKeyDown]);\n\n useEffect(() => {\n if (target && !target.getAttribute('aria-describedby') && describeTarget) {\n target.setAttribute('aria-describedby', id);\n }\n }, [describeTarget, target]);\n\n return (\n <Popover\n id={id}\n {...restProps}\n show={show}\n showDelay={showDelay}\n hideDelay={hideDelay}\n groupId='tooltip'\n strategy='fixed'\n portal={portal}\n as={StyledTooltip}\n role='tooltip'\n target={target}\n arrow\n placement='bottom'\n onMouseDown={onMouseDown}\n hideOnTargetHidden\n ref={tooltipRef}\n >\n {children}\n </Popover>\n );\n }\n);\n\nexport default Tooltip;\n"]}
1
+ {"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EAKV,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,OAAgC,MAAM,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E,MAAM,EACd,EAAE,EAAE,aAAa,EACjB,IAAI,EAAC,SAAS,EACd,MAAM,EAAE,MAAM,EACd,KAAK,QACL,SAAS,EAAC,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,kBAAkB,QAClB,GAAG,EAAE,UAAU,YAEd,QAAQ,GACD,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import {\n forwardRef,\n FunctionComponent,\n MutableRefObject,\n PropsWithoutRef,\n Ref,\n useCallback,\n useEffect,\n useRef,\n useState\n} from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { BaseProps, ForwardProps } from '../../types';\nimport { defaultThemeProp } from '../../theme';\nimport Popover, { Delay, PopoverProps } from '../Popover';\nimport { useConsolidatedRef, useUID } from '../../hooks';\nimport { calculateFontSize } from '../../styles';\n\nexport interface TooltipProps extends BaseProps {\n /** Text content for the tooltip. */\n children: string | string[];\n /** Element to serve as the tooltip's target. */\n target: Element | null;\n /**\n * Delay showing the tooltip on mouseenter.\n * @default \"short\"\n */\n showDelay?: Delay;\n /**\n * Delay hiding the tooltip on mouseleave.\n * @default \"long\"\n */\n hideDelay?: Delay;\n /**\n * If true, the Tooltip will render outside of the current DOM hierarchy in a [portal](https://reactjs.org/docs/portals.html).\n * @default false\n */\n portal?: PopoverProps['portal'];\n /**\n * If true, the Tooltip will automatically apply an aria-describedby attribute to its target.\n * @default true\n */\n describeTarget?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\nexport const StyledTooltip = styled.div(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n background-color: ${theme.components.tooltip['background-color']};\n color: ${theme.components.tooltip['foreground-color']};\n font-size: ${fontSize.xxs};\n max-width: 40ch;\n padding: ${theme.base.spacing};\n white-space: pre-line;\n word-break: break-word;\n `;\n});\n\nStyledTooltip.defaultProps = defaultThemeProp;\n\nconst Tooltip: FunctionComponent<TooltipProps & ForwardProps> = forwardRef(\n (\n {\n children,\n target,\n showDelay = 'short',\n hideDelay = 'long',\n portal = false,\n describeTarget = true,\n ...restProps\n }: PropsWithoutRef<TooltipProps>,\n ref: Ref<HTMLDivElement>\n ) => {\n const id = useUID();\n const [show, setShow] = useState(false);\n const tooltipRef = useConsolidatedRef(ref);\n const lastClickedRef: MutableRefObject<EventTarget | null> = useRef(null);\n\n const showTooltip = useCallback(() => {\n setShow(true);\n }, []);\n\n const onMouseDown = useCallback(\n ({ target: eTarget }: MouseEvent) => {\n lastClickedRef.current = eTarget;\n if (eTarget === tooltipRef.current || eTarget === target) return;\n setShow(false);\n },\n [target]\n );\n\n const onFocusOut = useCallback(() => {\n if (lastClickedRef.current !== tooltipRef.current) {\n setShow(false);\n }\n lastClickedRef.current = null;\n }, []);\n\n const onMouseEnter = useCallback(() => {\n setShow(true);\n }, [target]);\n\n const onMouseLeave = useCallback(() => {\n if (document.activeElement !== target) {\n setShow(false);\n }\n }, [target]);\n\n const onKeyDown = useCallback(\n ({ key }: KeyboardEvent) => {\n if (key === 'Escape' && document.activeElement === target) {\n setShow(false);\n }\n },\n [target]\n );\n\n useEffect(() => {\n if (!target) return;\n\n document.addEventListener('keydown', onKeyDown);\n document.addEventListener('mousedown', onMouseDown);\n\n target.addEventListener('focusin', showTooltip);\n target.addEventListener('focusout', onFocusOut);\n\n target.addEventListener('mouseenter', onMouseEnter);\n target.addEventListener('mouseleave', onMouseLeave);\n\n return () => {\n document.removeEventListener('keydown', onKeyDown);\n document.removeEventListener('mousedown', onMouseDown);\n\n target.removeEventListener('focusin', showTooltip);\n target.removeEventListener('focusout', onFocusOut);\n\n target.removeEventListener('mouseenter', onMouseEnter);\n target.removeEventListener('mouseleave', onMouseLeave);\n };\n }, [target, showTooltip, onMouseDown, onFocusOut, onMouseLeave, onKeyDown]);\n\n useEffect(() => {\n if (target && !target.getAttribute('aria-describedby') && describeTarget) {\n target.setAttribute('aria-describedby', id);\n }\n }, [describeTarget, target]);\n\n return (\n <Popover\n id={id}\n {...restProps}\n show={show}\n showDelay={showDelay}\n hideDelay={hideDelay}\n groupId='tooltip'\n strategy='fixed'\n portal={portal}\n as={StyledTooltip}\n role='tooltip'\n target={target}\n arrow\n placement='bottom'\n onMouseDown={onMouseDown}\n hideOnTargetHidden\n ref={tooltipRef}\n >\n {children}\n </Popover>\n );\n }\n);\n\nexport default Tooltip;\n"]}
@@ -99,17 +99,17 @@ const NodeRenderer = ({ id, label, icon, depth, hasParentSibling, nodes, expande
99
99
  action?.onClick?.(actionId, e);
100
100
  }
101
101
  };
102
- }), menuAt: 3 }, void 0) }, void 0)) : null;
102
+ }), menuAt: 3 }) })) : null;
103
103
  }, [actions]);
104
104
  const labelContent = useMemo(() => {
105
105
  const internal = (
106
106
  // Wrapping in a div for handling of flex space-between when there are node actions.
107
- _jsxs(Flex, { container: { alignItems: 'center', gap: 0.5 }, as: StyledLabelContent, children: [icon && _jsx(StyledNodeIcon, { name: icon }, void 0), _jsx(StyledNodeText, { children: label }, void 0)] }, void 0));
107
+ _jsxs(Flex, { container: { alignItems: 'center', gap: 0.5 }, as: StyledLabelContent, children: [icon && _jsx(StyledNodeIcon, { name: icon }), _jsx(StyledNodeText, { children: label })] }));
108
108
  return !nodes && (onClick ?? onNodeClick) ? (_jsxs(Flex, { container: { alignItems: 'center', justify: 'between', gap: 2 }, as: StyledNodeInteraction, role: 'treeitem', "aria-current": current ? 'true' : undefined, tabIndex: tabIndex, onClick: (e) => {
109
109
  onClick?.(id, e);
110
110
  onNodeClick?.(id, e);
111
111
  changeFocusedNodeId(id);
112
- }, onKeyDown: onKeyDown, ref: focusedEl ? (focusedRef) => focusedRef?.focus() : undefined, children: [internal, actionsJSX] }, void 0)) : (internal);
112
+ }, onKeyDown: onKeyDown, ref: focusedEl ? (focusedRef) => focusedRef?.focus() : undefined, children: [internal, actionsJSX] })) : (internal);
113
113
  }, [
114
114
  id,
115
115
  label,
@@ -124,7 +124,7 @@ const NodeRenderer = ({ id, label, icon, depth, hasParentSibling, nodes, expande
124
124
  changeFocusedNodeId,
125
125
  onKeyDown
126
126
  ]);
127
- return (_jsx(StyledStandardTreeNode, { id: id, style: { '--depth': depth, '--has-parent-sibling': Number(hasParentSibling) }, "aria-busy": loading, children: nodes ? (_jsxs(_Fragment, { children: [_jsxs(Flex, { container: { alignItems: 'center', justify: 'between', gap: 2 }, as: StyledStandardTreeParent, role: 'treeitem', "aria-current": current ? 'true' : undefined, tabIndex: tabIndex, variant: 'text', onClick: handleToggleClick, "aria-expanded": expanded ? 'true' : 'false', "aria-label": t(expanded ? 'collapse_noun' : 'expand_noun', [label]), onKeyDown: onKeyDown, ref: focusedEl ? (focusedElRef) => focusedElRef?.focus() : undefined, children: [_jsxs(Flex, { container: { alignItems: 'center', gap: 1 }, as: 'span', children: [_jsx(StyledToggleIcon, { name: 'caret-right' }, void 0), labelContent] }, void 0), actionsJSX] }, void 0), _jsxs(StyledStandardTreeItemSubTree, { lined: lined, children: [subTree, loading && _jsx(Progress, { variant: 'ring', placement: 'inline' }, void 0)] }, void 0)] }, void 0)) : (_jsx(StyledStandardTreeLeaf, { children: labelContent }, void 0)) }, void 0));
127
+ return (_jsx(StyledStandardTreeNode, { id: id, style: { '--depth': depth, '--has-parent-sibling': Number(hasParentSibling) }, "aria-busy": loading, children: nodes ? (_jsxs(_Fragment, { children: [_jsxs(Flex, { container: { alignItems: 'center', justify: 'between', gap: 2 }, as: StyledStandardTreeParent, role: 'treeitem', "aria-current": current ? 'true' : undefined, tabIndex: tabIndex, variant: 'text', onClick: handleToggleClick, "aria-expanded": expanded ? 'true' : 'false', "aria-label": t(expanded ? 'collapse_noun' : 'expand_noun', [label]), onKeyDown: onKeyDown, ref: focusedEl ? (focusedElRef) => focusedElRef?.focus() : undefined, children: [_jsxs(Flex, { container: { alignItems: 'center', gap: 1 }, as: 'span', children: [_jsx(StyledToggleIcon, { name: 'caret-right' }), labelContent] }), actionsJSX] }), _jsxs(StyledStandardTreeItemSubTree, { lined: lined, children: [subTree, loading && _jsx(Progress, { variant: 'ring', placement: 'inline' })] })] })) : (_jsx(StyledStandardTreeLeaf, { children: labelContent })) }));
128
128
  };
129
129
  const StandardTreeWithNodes = forwardRef(({ nodes, currentNodeId, onNodeClick, lined = false, ...restProps }, ref) => {
130
130
  const [focusedNodeId, setFocusedNodedId] = useState();
@@ -169,10 +169,10 @@ const StandardTreeWithNodes = forwardRef(({ nodes, currentNodeId, onNodeClick, l
169
169
  changeFocusedNodeId,
170
170
  onNodeClick,
171
171
  lined
172
- }), [currentNodeId, onNodeClick, lined, focusedNodeId, lastNodeId]), children: _jsx(StyledStandardTree, { ...restProps, ref: ref, nodes: nodes, nodeRenderer: NodeRenderer }, void 0) }, void 0));
172
+ }), [currentNodeId, onNodeClick, lined, focusedNodeId, lastNodeId]), children: _jsx(StyledStandardTree, { ...restProps, ref: ref, nodes: nodes, nodeRenderer: NodeRenderer }) }));
173
173
  });
174
174
  const StandardTree = forwardRef((props, ref) => {
175
- return props.nodes.length > 0 ? _jsx(StandardTreeWithNodes, { ...props, ref: ref }, void 0) : null;
175
+ return props.nodes.length > 0 ? _jsx(StandardTreeWithNodes, { ...props, ref: ref }) : null;
176
176
  });
177
177
  export default StandardTree;
178
178
  //# sourceMappingURL=StandardTree.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardTree.js","sourceRoot":"","sources":["../../../src/components/Tree/StandardTree.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,aAAa,EACb,OAAO,EACP,UAAU,EACV,WAAW,EACX,QAAQ,EAET,MAAM,OAAO,CAAC;AAGf,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,OAAO,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EACL,wBAAwB,EACxB,gBAAgB,E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;YACD,KAAK,OAAO,CAAC,CAAC;gBACZ,MAAM,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBACvD,IAAI,SAAS;oBAAE,iBAAiB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;gBAC/C,MAAM;aACP;YACD;gBACE,iBAAiB,CAAC,EAAE,CAAC,CAAC;SACzB;IACH,CAAC,EACD,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,OAAO,CACL,KAAC,mBAAmB,CAAC,QAAQ,IAC3B,KAAK,EAAE,OAAO,CACZ,GAAG,EAAE,CAAC,CAAC;YACL,aAAa;YACb,aAAa;YACb,UAAU;YACV,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;YACxB,mBAAmB;YACnB,WAAW;YACX,KAAK;SACN,CAAC,EACF,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,CAAC,CAC/D,YAGD,KAAC,kBAAkB,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,WAAI,WAC5D,CAChC,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAwD,UAAU,CAClF,CAAC,KAAyC,EAAE,GAA6B,EAAE,EAAE;IAC3E,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAC,qBAAqB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,WAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AACxF,CAAC,CACF,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["import {\n forwardRef,\n createContext,\n useMemo,\n useContext,\n useCallback,\n useState,\n KeyboardEvent\n} from 'react';\nimport type { FunctionComponent, PropsWithoutRef, CSSProperties, MouseEvent } from 'react';\n\nimport Progress from '../Progress';\nimport { useDirection, useI18n } from '../../hooks';\nimport Flex from '../Flex';\nimport Actions from '../Actions';\nimport type { Action, ForwardProps } from '../../types';\nimport { cap } from '../../utils';\n\nimport {\n StyledStandardTreeParent,\n StyledToggleIcon,\n StyledStandardTreeItemSubTree,\n StyledStandardTreeLeaf,\n StyledStandardTree,\n StyledNodeInteraction,\n StyledStandardTreeNode,\n StyledNodeActions,\n StyledLabelContent,\n StyledNodeIcon,\n StyledNodeText\n} from './StandardTree.styles';\nimport type { TreeProps } from './Tree';\nimport type {\n StandardTreeContextProps,\n StandardTreeNode,\n StandardTreeProps,\n StandardTreePropsWithDefaults\n} from './StandardTree.types';\nimport helpers from './helpers';\n\nconst StandardTreeContext = createContext<\n Pick<\n StandardTreePropsWithDefaults,\n | 'currentNodeId'\n | 'lined'\n | 'onNodeClick'\n | 'firstNodeId'\n | 'lastNodeId'\n | 'focusedNodeId'\n | 'changeFocusedNodeId'\n >\n>({\n currentNodeId: undefined,\n lined: false,\n onNodeClick: () => {},\n firstNodeId: undefined,\n lastNodeId: undefined,\n focusedNodeId: undefined,\n changeFocusedNodeId: () => {}\n});\n\nconst NodeRenderer: TreeProps<StandardTreeNode>['nodeRenderer'] = ({\n id,\n label,\n icon,\n depth,\n hasParentSibling,\n nodes,\n expanded = false,\n loading = false,\n subTree,\n actions,\n onClick\n}) => {\n const {\n currentNodeId,\n onNodeClick,\n lined,\n focusedNodeId,\n changeFocusedNodeId,\n firstNodeId,\n lastNodeId\n } = useContext(StandardTreeContext);\n const current = currentNodeId === id;\n const focusedEl = focusedNodeId === id;\n const firstNode = firstNodeId === id;\n const { start, end } = useDirection();\n const t = useI18n();\n\n const tabIndex = useMemo(() => {\n let index = -1;\n if (focusedNodeId) {\n index = focusedEl ? 0 : -1;\n } else if (currentNodeId) {\n index = current ? 0 : -1;\n } else {\n index = firstNode ? 0 : -1;\n }\n return index;\n }, [focusedNodeId, currentNodeId, current, focusedEl]);\n\n const handleToggleClick = useCallback(\n (e: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => {\n onNodeClick?.(id, e);\n changeFocusedNodeId(id);\n },\n [id, onNodeClick, changeFocusedNodeId]\n );\n\n const onKeyDown = useCallback(\n (e: KeyboardEvent<HTMLElement>) => {\n if (['ArrowUp', 'ArrowDown', 'Enter', 'Home', 'End'].includes(e.key)) e.preventDefault();\n switch (e.key) {\n case 'ArrowUp':\n changeFocusedNodeId(id, 'up');\n break;\n case 'ArrowDown':\n changeFocusedNodeId(id, 'down');\n break;\n case `Arrow${cap(end)}`:\n if (nodes) {\n if (expanded) {\n changeFocusedNodeId(id, 'right');\n } else {\n handleToggleClick(e);\n }\n }\n break;\n case `Arrow${cap(start)}`:\n if (expanded) {\n handleToggleClick(e);\n } else {\n changeFocusedNodeId(id, 'left');\n }\n break;\n case 'Enter':\n if (onClick) {\n onClick(id, e);\n } else {\n handleToggleClick(e);\n }\n break;\n case 'Home':\n if (firstNodeId) changeFocusedNodeId(firstNodeId);\n break;\n case 'End':\n if (lastNodeId) changeFocusedNodeId(lastNodeId);\n break;\n default:\n }\n },\n [id, end, nodes, expanded, actions, firstNodeId, lastNodeId, changeFocusedNodeId]\n );\n\n const actionsJSX = useMemo(() => {\n return actions ? (\n // Wrapping in a div since Actions may render a frag of buttons and we need a wrapper for flex space-between.\n <StyledNodeActions>\n <Actions\n items={actions.map(action => {\n return {\n ...action,\n tabIndex: -1,\n onClick: (\n actionId: Action['id'],\n e: MouseEvent<HTMLButtonElement | HTMLAnchorElement | HTMLInputElement>\n ) => {\n e.stopPropagation();\n action?.onClick?.(actionId, e);\n }\n };\n })}\n menuAt={3}\n />\n </StyledNodeActions>\n ) : null;\n }, [actions]);\n\n const labelContent = useMemo(() => {\n const internal = (\n // Wrapping in a div for handling of flex space-between when there are node actions.\n <Flex container={{ alignItems: 'center', gap: 0.5 }} as={StyledLabelContent}>\n {icon && <StyledNodeIcon name={icon} />}\n <StyledNodeText>{label}</StyledNodeText>\n </Flex>\n );\n\n return !nodes && (onClick ?? onNodeClick) ? (\n <Flex\n container={{ alignItems: 'center', justify: 'between', gap: 2 }}\n as={StyledNodeInteraction}\n role='treeitem'\n aria-current={current ? 'true' : undefined}\n tabIndex={tabIndex}\n onClick={(e: MouseEvent<HTMLElement>) => {\n onClick?.(id, e);\n onNodeClick?.(id, e);\n changeFocusedNodeId(id);\n }}\n onKeyDown={onKeyDown}\n ref={focusedEl ? (focusedRef: HTMLDivElement) => focusedRef?.focus() : undefined}\n >\n {internal}\n {actionsJSX}\n </Flex>\n ) : (\n internal\n );\n }, [\n id,\n label,\n icon,\n nodes,\n actions,\n onClick,\n onNodeClick,\n current,\n focusedEl,\n tabIndex,\n changeFocusedNodeId,\n onKeyDown\n ]);\n\n return (\n <StyledStandardTreeNode\n id={id}\n style={\n { '--depth': depth, '--has-parent-sibling': Number(hasParentSibling) } as CSSProperties\n }\n aria-busy={loading}\n >\n {nodes ? (\n <>\n <Flex\n container={{ alignItems: 'center', justify: 'between', gap: 2 }}\n as={StyledStandardTreeParent}\n role='treeitem'\n aria-current={current ? 'true' : undefined}\n tabIndex={tabIndex}\n variant='text'\n onClick={handleToggleClick}\n aria-expanded={expanded ? 'true' : 'false'}\n aria-label={t(expanded ? 'collapse_noun' : 'expand_noun', [label])}\n onKeyDown={onKeyDown}\n ref={focusedEl ? (focusedElRef: HTMLDivElement) => focusedElRef?.focus() : undefined}\n >\n <Flex container={{ alignItems: 'center', gap: 1 }} as='span'>\n <StyledToggleIcon name='caret-right' />\n {labelContent}\n </Flex>\n {actionsJSX}\n </Flex>\n <StyledStandardTreeItemSubTree lined={lined}>\n {subTree}\n {loading && <Progress variant='ring' placement='inline' />}\n </StyledStandardTreeItemSubTree>\n </>\n ) : (\n <StyledStandardTreeLeaf>{labelContent}</StyledStandardTreeLeaf>\n )}\n </StyledStandardTreeNode>\n );\n};\n\nconst StandardTreeWithNodes: FunctionComponent<StandardTreeProps & ForwardProps> = forwardRef(\n (\n {\n nodes,\n currentNodeId,\n onNodeClick,\n lined = false,\n ...restProps\n }: PropsWithoutRef<StandardTreeProps>,\n ref: StandardTreeProps['ref']\n ) => {\n const [focusedNodeId, setFocusedNodedId] = useState<string | undefined>();\n\n const lastNodeId = useMemo(() => {\n return helpers.getDeepestNode(nodes, nodes[nodes.length - 1].id)?.id;\n }, [nodes]);\n\n const changeFocusedNodeId: StandardTreeContextProps['changeFocusedNodeId'] = useCallback(\n (id, type) => {\n switch (type) {\n case 'up': {\n const previousNode = helpers.getPreviousNode(nodes, id);\n if (previousNode) setFocusedNodedId(previousNode.id);\n break;\n }\n case 'down': {\n const nextNode = helpers.getNextNode(nodes, id);\n if (nextNode) setFocusedNodedId(nextNode.id);\n break;\n }\n case 'left': {\n const parentNode = helpers.getParentNode(nodes, id);\n if (parentNode) setFocusedNodedId(parentNode.id);\n break;\n }\n case 'right': {\n const childNode = helpers.getFirstChildNode(nodes, id);\n if (childNode) setFocusedNodedId(childNode.id);\n break;\n }\n default:\n setFocusedNodedId(id);\n }\n },\n [nodes]\n );\n\n return (\n <StandardTreeContext.Provider\n value={useMemo(\n () => ({\n currentNodeId,\n focusedNodeId,\n lastNodeId,\n firstNodeId: nodes[0].id,\n changeFocusedNodeId,\n onNodeClick,\n lined\n }),\n [currentNodeId, onNodeClick, lined, focusedNodeId, lastNodeId]\n )}\n >\n {/* FIXME: Types are having issues when styled(Tree) is typeof Tree. */}\n <StyledStandardTree {...restProps} ref={ref} nodes={nodes} nodeRenderer={NodeRenderer} />\n </StandardTreeContext.Provider>\n );\n }\n);\n\nconst StandardTree: FunctionComponent<StandardTreeProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<StandardTreeProps>, ref: StandardTreeProps['ref']) => {\n return props.nodes.length > 0 ? <StandardTreeWithNodes {...props} ref={ref} /> : null;\n }\n);\n\nexport default StandardTree;\n"]}
1
+ {"version":3,"file":"StandardTree.js","sourceRoot":"","sources":["../../../src/components/Tree/StandardTree.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,aAAa,EACb,OAAO,EACP,UAAU,EACV,WAAW,EACX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E,GAAG,EAAE,GAAG,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AACxF,CAAC,CACF,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["import {\n forwardRef,\n createContext,\n useMemo,\n useContext,\n useCallback,\n useState,\n KeyboardEvent\n} from 'react';\nimport type { FunctionComponent, PropsWithoutRef, CSSProperties, MouseEvent } from 'react';\n\nimport Progress from '../Progress';\nimport { useDirection, useI18n } from '../../hooks';\nimport Flex from '../Flex';\nimport Actions from '../Actions';\nimport type { Action, ForwardProps } from '../../types';\nimport { cap } from '../../utils';\n\nimport {\n StyledStandardTreeParent,\n StyledToggleIcon,\n StyledStandardTreeItemSubTree,\n StyledStandardTreeLeaf,\n StyledStandardTree,\n StyledNodeInteraction,\n StyledStandardTreeNode,\n StyledNodeActions,\n StyledLabelContent,\n StyledNodeIcon,\n StyledNodeText\n} from './StandardTree.styles';\nimport type { TreeProps } from './Tree';\nimport type {\n StandardTreeContextProps,\n StandardTreeNode,\n StandardTreeProps,\n StandardTreePropsWithDefaults\n} from './StandardTree.types';\nimport helpers from './helpers';\n\nconst StandardTreeContext = createContext<\n Pick<\n StandardTreePropsWithDefaults,\n | 'currentNodeId'\n | 'lined'\n | 'onNodeClick'\n | 'firstNodeId'\n | 'lastNodeId'\n | 'focusedNodeId'\n | 'changeFocusedNodeId'\n >\n>({\n currentNodeId: undefined,\n lined: false,\n onNodeClick: () => {},\n firstNodeId: undefined,\n lastNodeId: undefined,\n focusedNodeId: undefined,\n changeFocusedNodeId: () => {}\n});\n\nconst NodeRenderer: TreeProps<StandardTreeNode>['nodeRenderer'] = ({\n id,\n label,\n icon,\n depth,\n hasParentSibling,\n nodes,\n expanded = false,\n loading = false,\n subTree,\n actions,\n onClick\n}) => {\n const {\n currentNodeId,\n onNodeClick,\n lined,\n focusedNodeId,\n changeFocusedNodeId,\n firstNodeId,\n lastNodeId\n } = useContext(StandardTreeContext);\n const current = currentNodeId === id;\n const focusedEl = focusedNodeId === id;\n const firstNode = firstNodeId === id;\n const { start, end } = useDirection();\n const t = useI18n();\n\n const tabIndex = useMemo(() => {\n let index = -1;\n if (focusedNodeId) {\n index = focusedEl ? 0 : -1;\n } else if (currentNodeId) {\n index = current ? 0 : -1;\n } else {\n index = firstNode ? 0 : -1;\n }\n return index;\n }, [focusedNodeId, currentNodeId, current, focusedEl]);\n\n const handleToggleClick = useCallback(\n (e: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => {\n onNodeClick?.(id, e);\n changeFocusedNodeId(id);\n },\n [id, onNodeClick, changeFocusedNodeId]\n );\n\n const onKeyDown = useCallback(\n (e: KeyboardEvent<HTMLElement>) => {\n if (['ArrowUp', 'ArrowDown', 'Enter', 'Home', 'End'].includes(e.key)) e.preventDefault();\n switch (e.key) {\n case 'ArrowUp':\n changeFocusedNodeId(id, 'up');\n break;\n case 'ArrowDown':\n changeFocusedNodeId(id, 'down');\n break;\n case `Arrow${cap(end)}`:\n if (nodes) {\n if (expanded) {\n changeFocusedNodeId(id, 'right');\n } else {\n handleToggleClick(e);\n }\n }\n break;\n case `Arrow${cap(start)}`:\n if (expanded) {\n handleToggleClick(e);\n } else {\n changeFocusedNodeId(id, 'left');\n }\n break;\n case 'Enter':\n if (onClick) {\n onClick(id, e);\n } else {\n handleToggleClick(e);\n }\n break;\n case 'Home':\n if (firstNodeId) changeFocusedNodeId(firstNodeId);\n break;\n case 'End':\n if (lastNodeId) changeFocusedNodeId(lastNodeId);\n break;\n default:\n }\n },\n [id, end, nodes, expanded, actions, firstNodeId, lastNodeId, changeFocusedNodeId]\n );\n\n const actionsJSX = useMemo(() => {\n return actions ? (\n // Wrapping in a div since Actions may render a frag of buttons and we need a wrapper for flex space-between.\n <StyledNodeActions>\n <Actions\n items={actions.map(action => {\n return {\n ...action,\n tabIndex: -1,\n onClick: (\n actionId: Action['id'],\n e: MouseEvent<HTMLButtonElement | HTMLAnchorElement | HTMLInputElement>\n ) => {\n e.stopPropagation();\n action?.onClick?.(actionId, e);\n }\n };\n })}\n menuAt={3}\n />\n </StyledNodeActions>\n ) : null;\n }, [actions]);\n\n const labelContent = useMemo(() => {\n const internal = (\n // Wrapping in a div for handling of flex space-between when there are node actions.\n <Flex container={{ alignItems: 'center', gap: 0.5 }} as={StyledLabelContent}>\n {icon && <StyledNodeIcon name={icon} />}\n <StyledNodeText>{label}</StyledNodeText>\n </Flex>\n );\n\n return !nodes && (onClick ?? onNodeClick) ? (\n <Flex\n container={{ alignItems: 'center', justify: 'between', gap: 2 }}\n as={StyledNodeInteraction}\n role='treeitem'\n aria-current={current ? 'true' : undefined}\n tabIndex={tabIndex}\n onClick={(e: MouseEvent<HTMLElement>) => {\n onClick?.(id, e);\n onNodeClick?.(id, e);\n changeFocusedNodeId(id);\n }}\n onKeyDown={onKeyDown}\n ref={focusedEl ? (focusedRef: HTMLDivElement) => focusedRef?.focus() : undefined}\n >\n {internal}\n {actionsJSX}\n </Flex>\n ) : (\n internal\n );\n }, [\n id,\n label,\n icon,\n nodes,\n actions,\n onClick,\n onNodeClick,\n current,\n focusedEl,\n tabIndex,\n changeFocusedNodeId,\n onKeyDown\n ]);\n\n return (\n <StyledStandardTreeNode\n id={id}\n style={\n { '--depth': depth, '--has-parent-sibling': Number(hasParentSibling) } as CSSProperties\n }\n aria-busy={loading}\n >\n {nodes ? (\n <>\n <Flex\n container={{ alignItems: 'center', justify: 'between', gap: 2 }}\n as={StyledStandardTreeParent}\n role='treeitem'\n aria-current={current ? 'true' : undefined}\n tabIndex={tabIndex}\n variant='text'\n onClick={handleToggleClick}\n aria-expanded={expanded ? 'true' : 'false'}\n aria-label={t(expanded ? 'collapse_noun' : 'expand_noun', [label])}\n onKeyDown={onKeyDown}\n ref={focusedEl ? (focusedElRef: HTMLDivElement) => focusedElRef?.focus() : undefined}\n >\n <Flex container={{ alignItems: 'center', gap: 1 }} as='span'>\n <StyledToggleIcon name='caret-right' />\n {labelContent}\n </Flex>\n {actionsJSX}\n </Flex>\n <StyledStandardTreeItemSubTree lined={lined}>\n {subTree}\n {loading && <Progress variant='ring' placement='inline' />}\n </StyledStandardTreeItemSubTree>\n </>\n ) : (\n <StyledStandardTreeLeaf>{labelContent}</StyledStandardTreeLeaf>\n )}\n </StyledStandardTreeNode>\n );\n};\n\nconst StandardTreeWithNodes: FunctionComponent<StandardTreeProps & ForwardProps> = forwardRef(\n (\n {\n nodes,\n currentNodeId,\n onNodeClick,\n lined = false,\n ...restProps\n }: PropsWithoutRef<StandardTreeProps>,\n ref: StandardTreeProps['ref']\n ) => {\n const [focusedNodeId, setFocusedNodedId] = useState<string | undefined>();\n\n const lastNodeId = useMemo(() => {\n return helpers.getDeepestNode(nodes, nodes[nodes.length - 1].id)?.id;\n }, [nodes]);\n\n const changeFocusedNodeId: StandardTreeContextProps['changeFocusedNodeId'] = useCallback(\n (id, type) => {\n switch (type) {\n case 'up': {\n const previousNode = helpers.getPreviousNode(nodes, id);\n if (previousNode) setFocusedNodedId(previousNode.id);\n break;\n }\n case 'down': {\n const nextNode = helpers.getNextNode(nodes, id);\n if (nextNode) setFocusedNodedId(nextNode.id);\n break;\n }\n case 'left': {\n const parentNode = helpers.getParentNode(nodes, id);\n if (parentNode) setFocusedNodedId(parentNode.id);\n break;\n }\n case 'right': {\n const childNode = helpers.getFirstChildNode(nodes, id);\n if (childNode) setFocusedNodedId(childNode.id);\n break;\n }\n default:\n setFocusedNodedId(id);\n }\n },\n [nodes]\n );\n\n return (\n <StandardTreeContext.Provider\n value={useMemo(\n () => ({\n currentNodeId,\n focusedNodeId,\n lastNodeId,\n firstNodeId: nodes[0].id,\n changeFocusedNodeId,\n onNodeClick,\n lined\n }),\n [currentNodeId, onNodeClick, lined, focusedNodeId, lastNodeId]\n )}\n >\n {/* FIXME: Types are having issues when styled(Tree) is typeof Tree. */}\n <StyledStandardTree {...restProps} ref={ref} nodes={nodes} nodeRenderer={NodeRenderer} />\n </StandardTreeContext.Provider>\n );\n }\n);\n\nconst StandardTree: FunctionComponent<StandardTreeProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<StandardTreeProps>, ref: StandardTreeProps['ref']) => {\n return props.nodes.length > 0 ? <StandardTreeWithNodes {...props} ref={ref} /> : null;\n }\n);\n\nexport default StandardTree;\n"]}
@@ -15,18 +15,18 @@ export const StyledTreeList = styled.ul `
15
15
  }
16
16
  `;
17
17
  const DefaultNodeRenderer = ({ data, subTree }) => {
18
- return (_jsxs(_Fragment, { children: [data, subTree] }, void 0));
18
+ return (_jsxs(_Fragment, { children: [data, subTree] }));
19
19
  };
20
20
  let TreeList;
21
21
  const TreeItem = ({ listItemProps, depth, nodes, nodeRenderer: NodeRenderer, ...restProps }) => {
22
- return (_jsx(StyledTreeListItem, { ...listItemProps, children: _jsx(NodeRenderer, { ...restProps, depth: depth, nodes: nodes, subTree: nodes && _jsx(TreeList, { depth: depth + 1, nodes: nodes, nodeRenderer: NodeRenderer }, void 0) }, void 0) }, void 0));
22
+ return (_jsx(StyledTreeListItem, { ...listItemProps, children: _jsx(NodeRenderer, { ...restProps, depth: depth, nodes: nodes, subTree: nodes && _jsx(TreeList, { depth: depth + 1, nodes: nodes, nodeRenderer: NodeRenderer }) }) }));
23
23
  };
24
24
  TreeList = forwardRef(({ nodes, depth, nodeRenderer, ...restProps }, ref) => {
25
25
  const hasParentSibling = nodes.some(node => !!node.nodes);
26
- return nodes.length > 0 ? (_jsx(StyledTreeList, { ...restProps, ref: ref, role: depth === 0 ? 'tree' : 'group', children: nodes.map(node => (_createElement(TreeItem, { ...node, key: node.id, depth: depth, nodeRenderer: nodeRenderer, hasParentSibling: hasParentSibling }))) }, void 0)) : null;
26
+ return nodes.length > 0 ? (_jsx(StyledTreeList, { ...restProps, ref: ref, role: depth === 0 ? 'tree' : 'group', children: nodes.map(node => (_createElement(TreeItem, { ...node, key: node.id, depth: depth, nodeRenderer: nodeRenderer, hasParentSibling: hasParentSibling }))) })) : null;
27
27
  });
28
28
  const Tree = forwardRef(({ nodeRenderer = DefaultNodeRenderer, ...restProps }, ref) => {
29
- return _jsx(TreeList, { ...restProps, ref: ref, depth: 0, nodeRenderer: nodeRenderer }, void 0);
29
+ return _jsx(TreeList, { ...restProps, ref: ref, depth: 0, nodeRenderer: nodeRenderer });
30
30
  });
31
31
  export default Tree;
32
32
  //# sourceMappingURL=Tree.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.js","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAkD,MAAM,OAAO,CAAC;AACnF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAyCvC,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CAAA,EAAE,CAAC;AAE9C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;IAOnC,kBAAkB;;;CAGrB,CAAC;AAEF,MAAM,mBAAmB,GAA8B,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,8BACG,IAAI,EACJ,OAAO,YACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAaF,IAAI,QAAsC,CAAC;AAE3C,MAAM,QAAQ,GAAG,CAAC,EAChB,aAAa,EACb,KAAK,EACL,KAAK,EACL,YAAY,EAAE,YAAY,EAC1B,GAAG,SAAS,EACE,EAAE,EAAE;IAClB,OAAO,CACL,KAAC,kBAAkB,OAAK,aAAa,YACnC,KAAC,YAAY,OACP,SAAS,EACb,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,IAAI,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,WAAI,WAC1F,WACiB,CACtB,CAAC;AACJ,CAAC,CAAC;AAEF,QAAQ,GAAG,UAAU,CACnB,CACE,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,SAAS,EAAkC,EAC5E,GAAsB,EACtB,EAAE;IACF,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1D,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACxB,KAAC,cAAc,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,YAC1E,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACjB,eAAC,QAAQ,OACH,IAAI,EACR,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAC,WACa,CAClB,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,IAAI,GAAG,UAAU,CACrB,CACE,EAAE,YAAY,GAAG,mBAAmB,EAAE,GAAG,SAAS,EAA8B,EAChF,GAAqB,EACrB,EAAE;IACF,OAAO,KAAC,QAAQ,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,YAAY,WAAI,CAAC;AACrF,CAAC,CAC2F,CAAC;AAE/F,eAAe,IAAI,CAAC","sourcesContent":["import { forwardRef, PropsWithoutRef, Ref, ComponentType, ReactNode } from 'react';\nimport styled from 'styled-components';\n\nimport { BaseProps, NoChildrenProp, ForwardProps } from '../../types';\n\nexport type OldTreeNode<T extends object = Record<string, unknown>> = {\n /** The id of the Node. Used as the key for the li element wrapping the Node. */\n id: string;\n /** Child nodes. */\n nodes?: OldTreeNode<T>[];\n /** Props to apply to the li. */\n listItemProps?: ForwardProps;\n\n [key: string]: unknown;\n} & T;\n\nexport type TreeNode = {\n /** The id of the Node. Used as the key for the li element wrapping the Node. */\n id: string;\n /** Child nodes. */\n nodes?: TreeNode[];\n /** Props to apply to the li. */\n listItemProps?: ForwardProps;\n\n [key: string]: unknown;\n};\n\nexport interface TreeProps<T extends TreeNode = TreeNode> extends BaseProps, NoChildrenProp {\n /** An array of ParentNodes and Nodes that compose the layout of the Tree. */\n nodes: T[];\n /** A function that allows custom styling and behavior for all Nodes. */\n nodeRenderer?: ComponentType<\n {\n depth: number;\n subTree?: ReactNode;\n hasParentSibling: TreeItemProps['hasParentSibling'];\n } & Exclude<T, 'listItemProps'>\n >;\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLUListElement>;\n}\n\nexport const StyledTreeListItem = styled.li``;\n\nexport const StyledTreeList = styled.ul`\n &,\n & & {\n list-style: none;\n position: relative;\n }\n\n ${StyledTreeListItem} {\n position: relative;\n }\n`;\n\nconst DefaultNodeRenderer: TreeProps['nodeRenderer'] = ({ data, subTree }) => {\n return (\n <>\n {data}\n {subTree}\n </>\n );\n};\n\ninterface TreeItemProps extends TreeNode {\n nodeRenderer: NonNullable<TreeProps['nodeRenderer']>;\n depth: number;\n hasParentSibling: boolean;\n}\n\ninterface TreeListProps extends Pick<TreeProps, 'nodes' | 'ref'> {\n nodeRenderer: NonNullable<TreeProps['nodeRenderer']>;\n depth: number;\n}\n\nlet TreeList: ComponentType<TreeListProps>;\n\nconst TreeItem = ({\n listItemProps,\n depth,\n nodes,\n nodeRenderer: NodeRenderer,\n ...restProps\n}: TreeItemProps) => {\n return (\n <StyledTreeListItem {...listItemProps}>\n <NodeRenderer\n {...restProps}\n depth={depth}\n nodes={nodes}\n subTree={nodes && <TreeList depth={depth + 1} nodes={nodes} nodeRenderer={NodeRenderer} />}\n />\n </StyledTreeListItem>\n );\n};\n\nTreeList = forwardRef(\n (\n { nodes, depth, nodeRenderer, ...restProps }: PropsWithoutRef<TreeListProps>,\n ref?: TreeProps['ref']\n ) => {\n const hasParentSibling = nodes.some(node => !!node.nodes);\n return nodes.length > 0 ? (\n <StyledTreeList {...restProps} ref={ref} role={depth === 0 ? 'tree' : 'group'}>\n {nodes.map(node => (\n <TreeItem\n {...node}\n key={node.id}\n depth={depth}\n nodeRenderer={nodeRenderer}\n hasParentSibling={hasParentSibling}\n />\n ))}\n </StyledTreeList>\n ) : null;\n }\n);\n\nconst Tree = forwardRef(\n (\n { nodeRenderer = DefaultNodeRenderer, ...restProps }: PropsWithoutRef<TreeProps>,\n ref: TreeProps['ref']\n ) => {\n return <TreeList {...restProps} ref={ref} depth={0} nodeRenderer={nodeRenderer} />;\n }\n) as <T extends TreeNode = TreeNode>(props: TreeProps<T> & ForwardProps) => JSX.Element | null;\n\nexport default Tree;\n"]}
1
+ {"version":3,"file":"Tree.js","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAkD,MAAM,OAAO,CAAC;AACnF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAyCvC,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CAAA,EAAE,CAAC;AAE9C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;IAOnC,kBAAkB;;;CAGrB,CAAC;AAEF,MAAM,mBAAmB,GAA8B,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,8BACG,IAAI,EACJ,OAAO,IACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAaF,IAAI,QAAsC,CAAC;AAE3C,MAAM,QAAQ,GAAG,CAAC,EAChB,aAAa,EACb,KAAK,EACL,KAAK,EACL,YAAY,EAAE,YAAY,EAC1B,GAAG,SAAS,EACE,EAAE,EAAE;IAClB,OAAO,CACL,KAAC,kBAAkB,OAAK,aAAa,YACnC,KAAC,YAAY,OACP,SAAS,EACb,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,IAAI,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,GAAI,GAC1F,GACiB,CACtB,CAAC;AACJ,CAAC,CAAC;AAEF,QAAQ,GAAG,UAAU,CACnB,CACE,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,SAAS,EAAkC,EAC5E,GAAsB,EACtB,EAAE;IACF,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1D,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACxB,KAAC,cAAc,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,YAC1E,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACjB,eAAC,QAAQ,OACH,IAAI,EACR,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAC,GACa,CAClB,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,IAAI,GAAG,UAAU,CACrB,CACE,EAAE,YAAY,GAAG,mBAAmB,EAAE,GAAG,SAAS,EAA8B,EAChF,GAAqB,EACrB,EAAE;IACF,OAAO,KAAC,QAAQ,OAAK,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,YAAY,GAAI,CAAC;AACrF,CAAC,CAC2F,CAAC;AAE/F,eAAe,IAAI,CAAC","sourcesContent":["import { forwardRef, PropsWithoutRef, Ref, ComponentType, ReactNode } from 'react';\nimport styled from 'styled-components';\n\nimport { BaseProps, NoChildrenProp, ForwardProps } from '../../types';\n\nexport type OldTreeNode<T extends object = Record<string, unknown>> = {\n /** The id of the Node. Used as the key for the li element wrapping the Node. */\n id: string;\n /** Child nodes. */\n nodes?: OldTreeNode<T>[];\n /** Props to apply to the li. */\n listItemProps?: ForwardProps;\n\n [key: string]: unknown;\n} & T;\n\nexport type TreeNode = {\n /** The id of the Node. Used as the key for the li element wrapping the Node. */\n id: string;\n /** Child nodes. */\n nodes?: TreeNode[];\n /** Props to apply to the li. */\n listItemProps?: ForwardProps;\n\n [key: string]: unknown;\n};\n\nexport interface TreeProps<T extends TreeNode = TreeNode> extends BaseProps, NoChildrenProp {\n /** An array of ParentNodes and Nodes that compose the layout of the Tree. */\n nodes: T[];\n /** A function that allows custom styling and behavior for all Nodes. */\n nodeRenderer?: ComponentType<\n {\n depth: number;\n subTree?: ReactNode;\n hasParentSibling: TreeItemProps['hasParentSibling'];\n } & Exclude<T, 'listItemProps'>\n >;\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLUListElement>;\n}\n\nexport const StyledTreeListItem = styled.li``;\n\nexport const StyledTreeList = styled.ul`\n &,\n & & {\n list-style: none;\n position: relative;\n }\n\n ${StyledTreeListItem} {\n position: relative;\n }\n`;\n\nconst DefaultNodeRenderer: TreeProps['nodeRenderer'] = ({ data, subTree }) => {\n return (\n <>\n {data}\n {subTree}\n </>\n );\n};\n\ninterface TreeItemProps extends TreeNode {\n nodeRenderer: NonNullable<TreeProps['nodeRenderer']>;\n depth: number;\n hasParentSibling: boolean;\n}\n\ninterface TreeListProps extends Pick<TreeProps, 'nodes' | 'ref'> {\n nodeRenderer: NonNullable<TreeProps['nodeRenderer']>;\n depth: number;\n}\n\nlet TreeList: ComponentType<TreeListProps>;\n\nconst TreeItem = ({\n listItemProps,\n depth,\n nodes,\n nodeRenderer: NodeRenderer,\n ...restProps\n}: TreeItemProps) => {\n return (\n <StyledTreeListItem {...listItemProps}>\n <NodeRenderer\n {...restProps}\n depth={depth}\n nodes={nodes}\n subTree={nodes && <TreeList depth={depth + 1} nodes={nodes} nodeRenderer={NodeRenderer} />}\n />\n </StyledTreeListItem>\n );\n};\n\nTreeList = forwardRef(\n (\n { nodes, depth, nodeRenderer, ...restProps }: PropsWithoutRef<TreeListProps>,\n ref?: TreeProps['ref']\n ) => {\n const hasParentSibling = nodes.some(node => !!node.nodes);\n return nodes.length > 0 ? (\n <StyledTreeList {...restProps} ref={ref} role={depth === 0 ? 'tree' : 'group'}>\n {nodes.map(node => (\n <TreeItem\n {...node}\n key={node.id}\n depth={depth}\n nodeRenderer={nodeRenderer}\n hasParentSibling={hasParentSibling}\n />\n ))}\n </StyledTreeList>\n ) : null;\n }\n);\n\nconst Tree = forwardRef(\n (\n { nodeRenderer = DefaultNodeRenderer, ...restProps }: PropsWithoutRef<TreeProps>,\n ref: TreeProps['ref']\n ) => {\n return <TreeList {...restProps} ref={ref} depth={0} nodeRenderer={nodeRenderer} />;\n }\n) as <T extends TreeNode = TreeNode>(props: TreeProps<T> & ForwardProps) => JSX.Element | null;\n\nexport default Tree;\n"]}
@@ -26,8 +26,8 @@ const generateUrlMarkup = (url) => {
26
26
  }, []);
27
27
  };
28
28
  const URLDisplay = forwardRef(({ value, displayText, variant = 'link', ...restProps }, ref) => {
29
- const displayValue = value ? (displayText || generateUrlMarkup(value)) : (_jsx("span", { "aria-hidden": 'true', children: "\u2013\u2013" }, void 0));
30
- return variant === 'text' || !value ? (_jsx("span", { ref: ref, ...restProps, children: displayValue }, void 0)) : (_jsx(Link, { ref: ref, ...restProps, href: value, children: displayValue }, void 0));
29
+ const displayValue = value ? (displayText || generateUrlMarkup(value)) : (_jsx("span", { "aria-hidden": 'true', children: "\u2013\u2013" }));
30
+ return variant === 'text' || !value ? (_jsx("span", { ref: ref, ...restProps, children: displayValue })) : (_jsx(Link, { ref: ref, ...restProps, href: value, children: displayValue }));
31
31
  });
32
32
  export default URLDisplay;
33
33
  //# sourceMappingURL=URLDisplay.js.map
@@ -1 +1 @@
1
- {"version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M,SAAS,YAClD,YAAY,WACR,CACR,CAAC,CAAC,CAAC,CACF,KAAC,IAAI,IAAC,GAAG,EAAE,GAA6B,KAAM,SAAS,EAAE,IAAI,EAAE,KAAK,YACjE,YAAY,WACR,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import { forwardRef, FunctionComponent, PropsWithoutRef, ReactNode, Ref } from 'react';\n\nimport Link from '../Link';\nimport { BaseProps, ForwardProps, NoChildrenProp } from '../../types';\n\nexport interface URLDisplayProps extends BaseProps, NoChildrenProp {\n /** URL address, includes scheme, 'http://', 'https://' */\n value?: string;\n /** The text to be displayed. */\n displayText?: string;\n /**\n * Controls styling of the field.\n * @default \"link\"\n */\n variant?: 'link' | 'text';\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLAnchorElement | HTMLSpanElement>;\n}\n\n/**\n * Function gets the url as a string and converts it to a HTML markup with whitespace opportunity elements.\n * It helps breaking a long url correctly to avoid parent container overflow issues\n * according to \"The Chicago Manual of Style\" copywriting standard.\n * @param url input url to construct markup for\n * @returns array of nodes\n */\nconst generateUrlMarkup = (url: string): ReactNode => {\n const markedUrl = url\n .split('//')\n /* Insert \\x1f (unit separator) char as a placeholder at correct position. */\n .map(str => {\n return str\n .replace(/:/giu, '$&\\x1f')\n .replace(/[/~.,\\\\-_?#%]/giu, '\\x1f$&')\n .replace(/[=&]/giu, '\\x1f$&\\x1f');\n })\n .join('//\\x1f');\n\n /* Replace unit separator character with <wbr /> element. Create an array of nodes in place of string to pass tags escaping. */\n return markedUrl.split('\\x1f').reduce<ReactNode[]>((urlFragments, part) => {\n urlFragments.push(part, <wbr key={urlFragments.length} />);\n return urlFragments;\n }, []);\n};\n\nconst URLDisplay: FunctionComponent<URLDisplayProps & ForwardProps> = forwardRef(\n (\n { value, displayText, variant = 'link', ...restProps }: PropsWithoutRef<URLDisplayProps>,\n ref: URLDisplayProps['ref']\n ) => {\n const displayValue = value ? (\n displayText || generateUrlMarkup(value)\n ) : (\n <span aria-hidden='true'>&ndash;&ndash;</span>\n );\n return variant === 'text' || !value ? (\n <span ref={ref as Ref<HTMLSpanElement>} {...restProps}>\n {displayValue}\n </span>\n ) : (\n <Link ref={ref as Ref<HTMLAnchorElement>} {...restProps} href={value}>\n {displayValue}\n </Link>\n );\n }\n);\n\nexport default URLDisplay;\n"]}
1
+ {"version":3,"file":"URLDisplay.js","sourceRoot":"","sources":["../../../src/components/URL/URLDisplay.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAsD,MAAM,OAAO,CAAC;AAEvF,OAAO,IAAI,MAAM,SAAS,CAAC;AAiB3B;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,CAAC,GAAW,EAAa,EAAE;IACnD,MAAM,SAAS,GAAG,GAAG;SAClB,KAAK,CAAC,IAAI,CAAC;QACZ,6EAA6E;SAC5E,GAAG,CAAC,GAAG,CAAC,EAAE;QACT,OAAO,GAAG;aACP,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;aACzB,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC;aACrC,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;IACtC,CAAC,CAAC;SACD,IAAI,CAAC,QAAQ,CAAC,CAAC;IAElB,+HAA+H;IAC/H,OAAO,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAc,CAAC,YAAY,EAAE,IAAI,EAAE,EAAE;QACxE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,gBAAU,YAAY,CAAC,MAAM,CAAI,CAAC,CAAC;QAC3D,OAAO,YAAY,CAAC;IACtB,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CAAC;AAEF,MAAM,UAAU,GAAsD,UAAU,CAC9E,CACE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE,GAAG,SAAS,EAAoC,EACxF,GAA2B,EAC3B,EAAE;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC,CAC3B,WAAW,IAAI,iBAAiB,CAAC,KAAK,CAAC,CACxC,CAAC,CAAC,CAAC,CACF,8BAAkB,MAAM,6BAAsB,CAC/C,CAAC;IACF,OAAO,OAAO,KAAK,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACpC,eAAM,GAAG,EAAE,GAA2B,KAAM,SAAS,YAClD,YAAY,GACR,CACR,CAAC,CAAC,CAAC,CACF,KAAC,IAAI,IAAC,GAAG,EAAE,GAA6B,KAAM,SAAS,EAAE,IAAI,EAAE,KAAK,YACjE,YAAY,GACR,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import { forwardRef, FunctionComponent, PropsWithoutRef, ReactNode, Ref } from 'react';\n\nimport Link from '../Link';\nimport { BaseProps, ForwardProps, NoChildrenProp } from '../../types';\n\nexport interface URLDisplayProps extends BaseProps, NoChildrenProp {\n /** URL address, includes scheme, 'http://', 'https://' */\n value?: string;\n /** The text to be displayed. */\n displayText?: string;\n /**\n * Controls styling of the field.\n * @default \"link\"\n */\n variant?: 'link' | 'text';\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLAnchorElement | HTMLSpanElement>;\n}\n\n/**\n * Function gets the url as a string and converts it to a HTML markup with whitespace opportunity elements.\n * It helps breaking a long url correctly to avoid parent container overflow issues\n * according to \"The Chicago Manual of Style\" copywriting standard.\n * @param url input url to construct markup for\n * @returns array of nodes\n */\nconst generateUrlMarkup = (url: string): ReactNode => {\n const markedUrl = url\n .split('//')\n /* Insert \\x1f (unit separator) char as a placeholder at correct position. */\n .map(str => {\n return str\n .replace(/:/giu, '$&\\x1f')\n .replace(/[/~.,\\\\-_?#%]/giu, '\\x1f$&')\n .replace(/[=&]/giu, '\\x1f$&\\x1f');\n })\n .join('//\\x1f');\n\n /* Replace unit separator character with <wbr /> element. Create an array of nodes in place of string to pass tags escaping. */\n return markedUrl.split('\\x1f').reduce<ReactNode[]>((urlFragments, part) => {\n urlFragments.push(part, <wbr key={urlFragments.length} />);\n return urlFragments;\n }, []);\n};\n\nconst URLDisplay: FunctionComponent<URLDisplayProps & ForwardProps> = forwardRef(\n (\n { value, displayText, variant = 'link', ...restProps }: PropsWithoutRef<URLDisplayProps>,\n ref: URLDisplayProps['ref']\n ) => {\n const displayValue = value ? (\n displayText || generateUrlMarkup(value)\n ) : (\n <span aria-hidden='true'>&ndash;&ndash;</span>\n );\n return variant === 'text' || !value ? (\n <span ref={ref as Ref<HTMLSpanElement>} {...restProps}>\n {displayValue}\n </span>\n ) : (\n <Link ref={ref as Ref<HTMLAnchorElement>} {...restProps} href={value}>\n {displayValue}\n </Link>\n );\n }\n);\n\nexport default URLDisplay;\n"]}
@@ -5,6 +5,6 @@ import { hideVisually } from 'polished';
5
5
  export const StyledVisuallyHiddenText = styled.span `
6
6
  ${hideVisually}
7
7
  `;
8
- const VisuallyHiddenText = forwardRef((props, ref) => (_jsx(StyledVisuallyHiddenText, { ...props, ref: ref }, void 0)));
8
+ const VisuallyHiddenText = forwardRef((props, ref) => (_jsx(StyledVisuallyHiddenText, { ...props, ref: ref, hidden: true })));
9
9
  export default VisuallyHiddenText;
10
10
  //# sourceMappingURL=VisuallyHiddenText.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VisuallyHiddenText.js","sourceRoot":"","sources":["../../../src/components/VisuallyHiddenText/VisuallyHiddenText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,UAAU,EAAwB,MAAM,OAAO,CAAC;AAC5E,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AASxC,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAA;IAC/C,YAAY;CACf,CAAC;AAEF,MAAM,kBAAkB,GAA8D,UAAU,CAC9F,CAAC,KAA+C,EAAE,GAAmC,EAAE,EAAE,CAAC,CACxF,KAAC,wBAAwB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,WAAI,CAClD,CACF,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import { FunctionComponent, forwardRef, Ref, PropsWithoutRef } from 'react';\nimport styled from 'styled-components';\nimport { hideVisually } from 'polished';\n\nimport { ForwardProps } from '../../types';\n\ninterface VisuallyHiddenTextProps {\n children: string;\n ref?: Ref<HTMLSpanElement>;\n}\n\nexport const StyledVisuallyHiddenText = styled.span`\n ${hideVisually}\n`;\n\nconst VisuallyHiddenText: FunctionComponent<VisuallyHiddenTextProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<VisuallyHiddenTextProps>, ref: VisuallyHiddenTextProps['ref']) => (\n <StyledVisuallyHiddenText {...props} ref={ref} />\n )\n);\n\nexport default VisuallyHiddenText;\n"]}
1
+ {"version":3,"file":"VisuallyHiddenText.js","sourceRoot":"","sources":["../../../src/components/VisuallyHiddenText/VisuallyHiddenText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,UAAU,EAAwB,MAAM,OAAO,CAAC;AAC5E,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AASxC,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAA;IAC/C,YAAY;CACf,CAAC;AAEF,MAAM,kBAAkB,GAA8D,UAAU,CAC9F,CAAC,KAA+C,EAAE,GAAmC,EAAE,EAAE,CAAC,CACxF,KAAC,wBAAwB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,SAAG,CACzD,CACF,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import { FunctionComponent, forwardRef, Ref, PropsWithoutRef } from 'react';\nimport styled from 'styled-components';\nimport { hideVisually } from 'polished';\n\nimport { ForwardProps } from '../../types';\n\ninterface VisuallyHiddenTextProps {\n children: string;\n ref?: Ref<HTMLSpanElement>;\n}\n\nexport const StyledVisuallyHiddenText = styled.span`\n ${hideVisually}\n`;\n\nconst VisuallyHiddenText: FunctionComponent<VisuallyHiddenTextProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<VisuallyHiddenTextProps>, ref: VisuallyHiddenTextProps['ref']) => (\n <StyledVisuallyHiddenText {...props} ref={ref} hidden />\n )\n);\n\nexport default VisuallyHiddenText;\n"]}
@@ -8,6 +8,9 @@ export { default as useConsolidatedRef } from './useConsolidatedRef';
8
8
  export { default as useDirection } from './useDirection';
9
9
  export { default as useDraggable } from './useDraggable';
10
10
  export { default as useElement } from './useElement';
11
+ export { default as useEscape } from './useEscape';
12
+ export { default as useEvent } from './useEvent';
13
+ export { default as useFocusTrap } from './useFocusTrap';
11
14
  export { default as useFocusWithin } from './useFocusWithin';
12
15
  export { default as useI18n } from './useI18n';
13
16
  export { default as useItemIntersection } from './useItemIntersection';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,mBAAmB,EAC9B,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OA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AC;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -8,6 +8,9 @@ export { default as useConsolidatedRef } from './useConsolidatedRef';
8
8
  export { default as useDirection } from './useDirection';
9
9
  export { default as useDraggable } from './useDraggable';
10
10
  export { default as useElement } from './useElement';
11
+ export { default as useEscape } from './useEscape';
12
+ export { default as useEvent } from './useEvent';
13
+ export { default as useFocusTrap } from './useFocusTrap';
11
14
  export { default as useFocusWithin } from './useFocusWithin';
12
15
  export { default as useI18n } from './useI18n';
13
16
  export { default as useItemIntersection } from './useItemIntersection';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,mBAAmB,EAE9B,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["export {\n default as useActiveDescendant,\n UseActiveDescendantConfig,\n useLazyDescendant\n} from './useActiveDescendant';\nexport { default as useAfterInitialEffect } from './useAfterInitialEffect';\nexport { default as useArrows } from './useArrows';\nexport { default as useAutoResize } from './useAutoResize';\nexport { default as useBreakpoint } from './useBreakpoint';\nexport { default as useConfiguration } from './useConfiguration';\nexport { default as useConsolidatedRef } from './useConsolidatedRef';\nexport { default as useDirection } from './useDirection';\nexport { default as useDraggable } from './useDraggable';\nexport { default as useElement } from './useElement';\nexport { default as useFocusWithin } from './useFocusWithin';\nexport { default as useI18n } from './useI18n';\nexport { default as useItemIntersection } from './useItemIntersection';\nexport { default as useLongPress } from './useLongPress';\nexport { default as useOuterEvent } from './useOuterEvent';\nexport { default as useOverride } from './useOverride';\nexport { default as usePrevious } from './usePrevious';\nexport { default as useScrollStick } from './useScrollStick';\nexport { default as useScrollToggle } from './useScrollToggle';\nexport { default as useTheme } from './useTheme';\nexport { default as useTransitionState } from './useTransitionState';\nexport { default as useTriggerableEffect } from './useTriggerableEffect';\nexport { default as useTriggerableLayoutEffect } from './useTriggerableLayoutEffect';\nexport { default as useUID } from './useUID';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,mBAAmB,EAE9B,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["export {\n default as useActiveDescendant,\n UseActiveDescendantConfig,\n useLazyDescendant\n} from './useActiveDescendant';\nexport { default as useAfterInitialEffect } from './useAfterInitialEffect';\nexport { default as useArrows } from './useArrows';\nexport { default as useAutoResize } from './useAutoResize';\nexport { default as useBreakpoint } from './useBreakpoint';\nexport { default as useConfiguration } from './useConfiguration';\nexport { default as useConsolidatedRef } from './useConsolidatedRef';\nexport { default as useDirection } from './useDirection';\nexport { default as useDraggable } from './useDraggable';\nexport { default as useElement } from './useElement';\nexport { default as useEscape } from './useEscape';\nexport { default as useEvent } from './useEvent';\nexport { default as useFocusTrap } from './useFocusTrap';\nexport { default as useFocusWithin } from './useFocusWithin';\nexport { default as useI18n } from './useI18n';\nexport { default as useItemIntersection } from './useItemIntersection';\nexport { default as useLongPress } from './useLongPress';\nexport { default as useOuterEvent } from './useOuterEvent';\nexport { default as useOverride } from './useOverride';\nexport { default as usePrevious } from './usePrevious';\nexport { default as useScrollStick } from './useScrollStick';\nexport { default as useScrollToggle } from './useScrollToggle';\nexport { default as useTheme } from './useTheme';\nexport { default as useTransitionState } from './useTransitionState';\nexport { default as useTriggerableEffect } from './useTriggerableEffect';\nexport { default as useTriggerableLayoutEffect } from './useTriggerableLayoutEffect';\nexport { default as useUID } from './useUID';\n"]}
@@ -0,0 +1,10 @@
1
+ import { DependencyList, RefObject } from 'react';
2
+ /**
3
+ * @example useEscape((event) => { do something });
4
+ * @param cb The function that should be executed on keydown keyevent.
5
+ * @param target To which esc event to be attached - Defaults to document
6
+ * @param dependencies List of dependencies
7
+ */
8
+ declare const useEscape: (cb: (e: KeyboardEvent) => void, target?: HTMLElement | RefObject<HTMLElement> | Document | null, dependencies?: DependencyList) => void;
9
+ export default useEscape;
10
+ //# sourceMappingURL=useEscape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEscape.d.ts","sourceRoot":"","sources":["../../src/hooks/useEscape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAI/D;;;;;GAKG;AAEH,QAAA,MAAM,SAAS,WACL,aAAa,KAAK,IAAI,WACtB,WAAW,GAAG,UAAU,WAAW,CAAC,GAAG,QAAQ,GAAG,IAAI,wCAW/D,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { useCallback } from 'react';
2
+ import useEvent from './useEvent';
3
+ /**
4
+ * @example useEscape((event) => { do something });
5
+ * @param cb The function that should be executed on keydown keyevent.
6
+ * @param target To which esc event to be attached - Defaults to document
7
+ * @param dependencies List of dependencies
8
+ */
9
+ const useEscape = (cb, target = document, dependencies = []) => {
10
+ const onKeydown = useCallback((e) => {
11
+ if (e.key === 'Escape')
12
+ cb(e);
13
+ }, [cb, ...dependencies]);
14
+ useEvent('keydown', onKeydown, { target });
15
+ };
16
+ export default useEscape;
17
+ //# sourceMappingURL=useEscape.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEscape.js","sourceRoot":"","sources":["../../src/hooks/useEscape.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,WAAW,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC;;;;;GAKG;AAEH,MAAM,SAAS,GAAG,CAChB,EAA8B,EAC9B,SAAiE,QAAQ,EACzE,eAA+B,EAAE,EACjC,EAAE;IACF,MAAM,SAAS,GAAG,WAAW,CAC3B,CAAC,CAAgB,EAAE,EAAE;QACnB,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC,EACD,CAAC,EAAE,EAAE,GAAG,YAAY,CAAC,CACtB,CAAC;IAEF,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;AAC7C,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["import { DependencyList, RefObject, useCallback } from 'react';\n\nimport useEvent from './useEvent';\n\n/**\n * @example useEscape((event) => { do something });\n * @param cb The function that should be executed on keydown keyevent.\n * @param target To which esc event to be attached - Defaults to document\n * @param dependencies List of dependencies\n */\n\nconst useEscape = (\n cb: (e: KeyboardEvent) => void,\n target: HTMLElement | RefObject<HTMLElement> | Document | null = document,\n dependencies: DependencyList = []\n) => {\n const onKeydown = useCallback(\n (e: KeyboardEvent) => {\n if (e.key === 'Escape') cb(e);\n },\n [cb, ...dependencies]\n );\n\n useEvent('keydown', onKeydown, { target });\n};\n\nexport default useEscape;\n"]}
@@ -0,0 +1,27 @@
1
+ import { DependencyList, RefObject } from 'react';
2
+ declare type EventMapForTarget<Target extends EventTarget> = Target extends HTMLElement ? HTMLElementEventMap : Target extends SVGElement ? SVGElementEventMap : Target extends Document ? DocumentEventMap : Target extends Window ? WindowEventMap : {
3
+ [eventType: string]: Event;
4
+ };
5
+ declare type EventNamesForTarget<T extends EventTarget> = keyof EventMapForTarget<T> & string;
6
+ /**
7
+ * @example useEvent('keydown', (event) => { do something });
8
+ * @param cb The function that should be executed on keydown keyevent.
9
+ * @param options
10
+ */
11
+ declare function useEvent<Target extends Document, EventName extends EventNamesForTarget<Target>>(eventName: EventName, cb: (e: EventMapForTarget<Target>[EventName]) => void, opts?: {
12
+ target?: undefined;
13
+ eventOptions?: AddEventListenerOptions | boolean;
14
+ dependencies: DependencyList;
15
+ }): void;
16
+ declare function useEvent<Target extends EventTarget, EventName extends EventNamesForTarget<Target>>(eventName: EventName, cb: (e: EventMapForTarget<Target>[EventName]) => void, opts: {
17
+ target: Target | RefObject<Target> | null;
18
+ eventOptions?: AddEventListenerOptions | boolean;
19
+ dependencies?: DependencyList;
20
+ }): void;
21
+ declare function useEvent<Target extends EventTarget, EventName extends EventNamesForTarget<Target | Document>>(eventName: EventName, cb: (e: EventMapForTarget<Target | Document>[EventName]) => void, opts: {
22
+ target?: Target | RefObject<Target> | null | undefined;
23
+ eventOptions?: AddEventListenerOptions | boolean;
24
+ dependencies?: DependencyList;
25
+ }): void;
26
+ export default useEvent;
27
+ //# sourceMappingURL=useEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAK7D,aAAK,iBAAiB,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AAC,EAExD,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,CAAC,CAAC,EAAE,iBAAiB,CAAC,MAAM,GAAG,QAAQ,CAAC,CAAC,SAAS,CAAC,KAAK,IAAI,EAChE,IAAI,EAAE;IACJ,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,YAAY,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC;IACjD,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B,GACA,IAAI,CAAC;AA2BR,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { useEffect } from 'react';
2
+ import { normalizeElements } from '../utils';
3
+ function useEvent(eventName, cb, { target = document, eventOptions, dependencies = [] } = {}) {
4
+ useEffect(() => {
5
+ const [element] = normalizeElements([target]);
6
+ if (!element)
7
+ return;
8
+ element.addEventListener(eventName, cb, eventOptions);
9
+ return () => {
10
+ element.removeEventListener(eventName, cb, eventOptions);
11
+ };
12
+ }, [eventName, target, cb, eventOptions, ...dependencies]);
13
+ }
14
+ export default useEvent;
15
+ //# sourceMappingURL=useEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEvent.js","sourceRoot":"","sources":["../../src/hooks/useEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAsD7C,SAAS,QAAQ,CACf,SAAoB,EACpB,EAAqD,EACrD,EACE,MAAM,GAAG,QAA6B,EACtC,YAAY,EACZ,YAAY,GAAG,EAAE,KAKf,EAAE;IAEN,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,gBAAgB,CAAC,SAAS,EAAE,EAAmB,EAAE,YAAY,CAAC,CAAC;QAEvE,OAAO,GAAG,EAAE;YACV,OAAO,CAAC,mBAAmB,CAAC,SAAS,EAAE,EAAmB,EAAE,YAAY,CAAC,CAAC;QAC5E,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED,eAAe,QAAQ,CAAC","sourcesContent":["import { DependencyList, RefObject, useEffect } from 'react';\n\nimport { normalizeElements } from '../utils';\n\n// Based on https://github.com/microsoft/TypeScript/issues/33047#issuecomment-704005614\ntype EventMapForTarget<Target extends EventTarget> = Target extends HTMLElement\n ? HTMLElementEventMap\n : Target extends SVGElement\n ? SVGElementEventMap\n : Target extends Document\n ? DocumentEventMap\n : Target extends Window\n ? WindowEventMap\n : {\n [eventType: string]: Event;\n };\ntype EventNamesForTarget<T extends EventTarget> = keyof EventMapForTarget<T> & string;\n\n/**\n * @example useEvent('keydown', (event) => { do something });\n * @param cb The function that should be executed on keydown keyevent.\n * @param options\n */\nfunction useEvent<Target extends Document, EventName extends EventNamesForTarget<Target>>(\n eventName: EventName,\n cb: (e: EventMapForTarget<Target>[EventName]) => void,\n opts?: {\n target?: undefined;\n eventOptions?: AddEventListenerOptions | boolean;\n dependencies: DependencyList;\n }\n): void;\n\nfunction useEvent<Target extends EventTarget, EventName extends EventNamesForTarget<Target>>(\n eventName: EventName,\n cb: (e: EventMapForTarget<Target>[EventName]) => void,\n opts: {\n target: Target | RefObject<Target> | null;\n eventOptions?: AddEventListenerOptions | boolean;\n dependencies?: DependencyList;\n }\n): void;\n\nfunction useEvent<\n Target extends EventTarget,\n EventName extends EventNamesForTarget<Target | Document>\n>(\n eventName: EventName,\n cb: (e: EventMapForTarget<Target | Document>[EventName]) => void,\n opts: {\n target?: Target | RefObject<Target> | null | undefined;\n eventOptions?: AddEventListenerOptions | boolean;\n dependencies?: DependencyList;\n }\n): void;\n\nfunction useEvent<Target extends EventTarget, EventName extends EventNamesForTarget<Target>>(\n eventName: EventName,\n cb: (e: EventMapForTarget<Target>[EventName]) => void,\n {\n target = document as unknown as Target,\n eventOptions,\n dependencies = []\n }: {\n target?: Target | RefObject<Target> | null;\n eventOptions?: AddEventListenerOptions | boolean;\n dependencies?: DependencyList;\n } = {}\n) {\n useEffect(() => {\n const [element] = normalizeElements([target]);\n if (!element) return;\n\n element.addEventListener(eventName, cb as EventListener, eventOptions);\n\n return () => {\n element.removeEventListener(eventName, cb as EventListener, eventOptions);\n };\n }, [eventName, target, cb, eventOptions, ...dependencies]);\n}\n\nexport default useEvent;\n"]}
@@ -0,0 +1,10 @@
1
+ import { RefObject, DependencyList } from 'react';
2
+ /**
3
+ * @example useFocusTrap(elementRef)
4
+ * @param elementRef ref of the element in which focus needs to be retained
5
+ * @param addToDocument boolean value to specify if event to be attached to document or to be taken from elementRef, defaults to true
6
+ * @param dependencies list of variables or functions that will initiate this hook when they are updated.
7
+ */
8
+ declare const useFocusTrap: (elementRef: RefObject<HTMLElement>, attachToDocument?: boolean, dependencies?: DependencyList) => void;
9
+ export default useFocusTrap;
10
+ //# sourceMappingURL=useFocusTrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusTrap.d.ts","sourceRoot":"","sources":["../../src/hooks/useFocusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAM/D;;;;;GAKG;AACH,QAAA,MAAM,YAAY,eACJ,UAAU,WAAW,CAAC,qBAChB,OAAO,wCAyB1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { useCallback } from 'react';
2
+ import { getFocusables } from '../utils';
3
+ import useEvent from './useEvent';
4
+ /**
5
+ * @example useFocusTrap(elementRef)
6
+ * @param elementRef ref of the element in which focus needs to be retained
7
+ * @param addToDocument boolean value to specify if event to be attached to document or to be taken from elementRef, defaults to true
8
+ * @param dependencies list of variables or functions that will initiate this hook when they are updated.
9
+ */
10
+ const useFocusTrap = (elementRef, attachToDocument = true, dependencies = []) => {
11
+ const onKeydown = useCallback((e) => {
12
+ if (e.key === 'Tab') {
13
+ const focusables = getFocusables(elementRef);
14
+ const { 0: firstFocusable, [focusables.length - 1]: lastFocusable } = focusables;
15
+ if (!e.shiftKey &&
16
+ (document.activeElement === elementRef.current || document.activeElement === lastFocusable)) {
17
+ firstFocusable?.focus();
18
+ e.preventDefault();
19
+ }
20
+ else if (e.shiftKey &&
21
+ (document.activeElement === elementRef.current || document.activeElement === firstFocusable)) {
22
+ lastFocusable?.focus();
23
+ e.preventDefault();
24
+ }
25
+ }
26
+ }, dependencies);
27
+ useEvent('keydown', onKeydown, { target: attachToDocument ? undefined : elementRef });
28
+ };
29
+ export default useFocusTrap;
30
+ //# sourceMappingURL=useFocusTrap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusTrap.js","sourceRoot":"","sources":["../../src/hooks/useFocusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,WAAW,EAAkB,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC;;;;;GAKG;AACH,MAAM,YAAY,GAAG,CACnB,UAAkC,EAClC,mBAA4B,IAAI,EAChC,eAA+B,EAAE,EACjC,EAAE;IACF,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,CAAgB,EAAE,EAAE;QACjD,IAAI,CAAC,CAAC,GAAG,KAAK,KAAK,EAAE;YACnB,MAAM,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;YAC7C,MAAM,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;YAEjF,IACE,CAAC,CAAC,CAAC,QAAQ;gBACX,CAAC,QAAQ,CAAC,aAAa,KAAK,UAAU,CAAC,OAAO,IAAI,QAAQ,CAAC,aAAa,KAAK,aAAa,CAAC,EAC3F;gBACA,cAAc,EAAE,KAAK,EAAE,CAAC;gBACxB,CAAC,CAAC,cAAc,EAAE,CAAC;aACpB;iBAAM,IACL,CAAC,CAAC,QAAQ;gBACV,CAAC,QAAQ,CAAC,aAAa,KAAK,UAAU,CAAC,OAAO,IAAI,QAAQ,CAAC,aAAa,KAAK,cAAc,CAAC,EAC5F;gBACA,aAAa,EAAE,KAAK,EAAE,CAAC;gBACvB,CAAC,CAAC,cAAc,EAAE,CAAC;aACpB;SACF;IACH,CAAC,EAAE,YAAY,CAAC,CAAC;IAEjB,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["import { RefObject, useCallback, DependencyList } from 'react';\n\nimport { getFocusables } from '../utils';\n\nimport useEvent from './useEvent';\n\n/**\n * @example useFocusTrap(elementRef)\n * @param elementRef ref of the element in which focus needs to be retained\n * @param addToDocument boolean value to specify if event to be attached to document or to be taken from elementRef, defaults to true\n * @param dependencies list of variables or functions that will initiate this hook when they are updated.\n */\nconst useFocusTrap = (\n elementRef: RefObject<HTMLElement>,\n attachToDocument: boolean = true,\n dependencies: DependencyList = []\n) => {\n const onKeydown = useCallback((e: KeyboardEvent) => {\n if (e.key === 'Tab') {\n const focusables = getFocusables(elementRef);\n const { 0: firstFocusable, [focusables.length - 1]: lastFocusable } = focusables;\n\n if (\n !e.shiftKey &&\n (document.activeElement === elementRef.current || document.activeElement === lastFocusable)\n ) {\n firstFocusable?.focus();\n e.preventDefault();\n } else if (\n e.shiftKey &&\n (document.activeElement === elementRef.current || document.activeElement === firstFocusable)\n ) {\n lastFocusable?.focus();\n e.preventDefault();\n }\n }\n }, dependencies);\n\n useEvent('keydown', onKeydown, { target: attachToDocument ? undefined : elementRef });\n};\n\nexport default useFocusTrap;\n"]}