@pega/cosmos-react-core 3.0.0-dev.9.1 → 3.0.0-rc.10

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 (1045) hide show
  1. package/lib/components/Actions/Actions.d.ts +5 -0
  2. package/lib/components/Actions/Actions.d.ts.map +1 -1
  3. package/lib/components/Actions/Actions.js +2 -2
  4. package/lib/components/Actions/Actions.js.map +1 -1
  5. package/lib/components/AdditionalInfo/AdditionalInfo.d.ts +11 -0
  6. package/lib/components/AdditionalInfo/AdditionalInfo.d.ts.map +1 -0
  7. package/lib/components/AdditionalInfo/AdditionalInfo.js +25 -0
  8. package/lib/components/AdditionalInfo/AdditionalInfo.js.map +1 -0
  9. package/lib/components/AdditionalInfo/index.d.ts +2 -0
  10. package/lib/components/AdditionalInfo/index.d.ts.map +1 -0
  11. package/lib/components/AdditionalInfo/index.js +2 -0
  12. package/lib/components/AdditionalInfo/index.js.map +1 -0
  13. package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
  14. package/lib/components/AppShell/AppHeader.js +17 -8
  15. package/lib/components/AppShell/AppHeader.js.map +1 -1
  16. package/lib/components/AppShell/AppHeader.styles.d.ts +16 -0
  17. package/lib/components/AppShell/AppHeader.styles.d.ts.map +1 -0
  18. package/lib/components/AppShell/AppHeader.styles.js +155 -0
  19. package/lib/components/AppShell/AppHeader.styles.js.map +1 -0
  20. package/lib/components/AppShell/AppShell.d.ts.map +1 -1
  21. package/lib/components/AppShell/AppShell.js +92 -220
  22. package/lib/components/AppShell/AppShell.js.map +1 -1
  23. package/lib/components/AppShell/AppShell.styles.d.ts +7 -48
  24. package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
  25. package/lib/components/AppShell/AppShell.styles.js +54 -527
  26. package/lib/components/AppShell/AppShell.styles.js.map +1 -1
  27. package/lib/components/AppShell/AppShell.types.d.ts +29 -80
  28. package/lib/components/AppShell/AppShell.types.d.ts.map +1 -1
  29. package/lib/components/AppShell/AppShell.types.js.map +1 -1
  30. package/lib/components/AppShell/AppShellContext.d.ts +12 -6
  31. package/lib/components/AppShell/AppShellContext.d.ts.map +1 -1
  32. package/lib/components/AppShell/AppShellContext.js +10 -5
  33. package/lib/components/AppShell/AppShellContext.js.map +1 -1
  34. package/lib/components/AppShell/AppShellList.d.ts +2 -2
  35. package/lib/components/AppShell/AppShellList.d.ts.map +1 -1
  36. package/lib/components/AppShell/AppShellList.js +16 -2
  37. package/lib/components/AppShell/AppShellList.js.map +1 -1
  38. package/lib/components/AppShell/AppShellList.styles.d.ts +19 -0
  39. package/lib/components/AppShell/AppShellList.styles.d.ts.map +1 -0
  40. package/lib/components/AppShell/AppShellList.styles.js +141 -0
  41. package/lib/components/AppShell/AppShellList.styles.js.map +1 -0
  42. package/lib/components/AppShell/AppShellSearch.d.ts +9 -0
  43. package/lib/components/AppShell/AppShellSearch.d.ts.map +1 -0
  44. package/lib/components/AppShell/AppShellSearch.js +39 -0
  45. package/lib/components/AppShell/AppShellSearch.js.map +1 -0
  46. package/lib/components/AppShell/AppShellSearch.styles.d.ts +8 -0
  47. package/lib/components/AppShell/AppShellSearch.styles.d.ts.map +1 -0
  48. package/lib/components/AppShell/AppShellSearch.styles.js +193 -0
  49. package/lib/components/AppShell/AppShellSearch.styles.js.map +1 -0
  50. package/lib/components/AppShell/Drawer.d.ts +3 -1
  51. package/lib/components/AppShell/Drawer.d.ts.map +1 -1
  52. package/lib/components/AppShell/Drawer.js +14 -11
  53. package/lib/components/AppShell/Drawer.js.map +1 -1
  54. package/lib/components/AppShell/Drawer.styles.d.ts +15 -0
  55. package/lib/components/AppShell/Drawer.styles.d.ts.map +1 -0
  56. package/lib/components/AppShell/Drawer.styles.js +153 -0
  57. package/lib/components/AppShell/Drawer.styles.js.map +1 -0
  58. package/lib/components/AppShell/NavigationList.d.ts +6 -0
  59. package/lib/components/AppShell/NavigationList.d.ts.map +1 -0
  60. package/lib/components/AppShell/NavigationList.js +121 -0
  61. package/lib/components/AppShell/NavigationList.js.map +1 -0
  62. package/lib/components/AppShell/NavigationListItemWrapper.d.ts +5 -0
  63. package/lib/components/AppShell/NavigationListItemWrapper.d.ts.map +1 -0
  64. package/lib/components/AppShell/NavigationListItemWrapper.js +160 -0
  65. package/lib/components/AppShell/NavigationListItemWrapper.js.map +1 -0
  66. package/lib/components/AppShell/Operator.js +4 -4
  67. package/lib/components/AppShell/Operator.js.map +1 -1
  68. package/lib/components/AppShell/index.d.ts +2 -3
  69. package/lib/components/AppShell/index.d.ts.map +1 -1
  70. package/lib/components/AppShell/index.js +1 -2
  71. package/lib/components/AppShell/index.js.map +1 -1
  72. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  73. package/lib/components/Avatar/Avatar.js +4 -4
  74. package/lib/components/Avatar/Avatar.js.map +1 -1
  75. package/lib/components/Badges/Count.d.ts.map +1 -1
  76. package/lib/components/Badges/Count.js +37 -1
  77. package/lib/components/Badges/Count.js.map +1 -1
  78. package/lib/components/Badges/Keyboard.d.ts +2 -2
  79. package/lib/components/Badges/Keyboard.d.ts.map +1 -1
  80. package/lib/components/Badges/Keyboard.js +6 -1
  81. package/lib/components/Badges/Keyboard.js.map +1 -1
  82. package/lib/components/Badges/Selection.d.ts +1 -1
  83. package/lib/components/Badges/Selection.d.ts.map +1 -1
  84. package/lib/components/Badges/Selection.js +42 -42
  85. package/lib/components/Badges/Selection.js.map +1 -1
  86. package/lib/components/Badges/Tag.d.ts +9 -3
  87. package/lib/components/Badges/Tag.d.ts.map +1 -1
  88. package/lib/components/Badges/Tag.js +3 -2
  89. package/lib/components/Badges/Tag.js.map +1 -1
  90. package/lib/components/Banner/Banner.d.ts.map +1 -1
  91. package/lib/components/Banner/Banner.js +19 -16
  92. package/lib/components/Banner/Banner.js.map +1 -1
  93. package/lib/components/Boolean/BooleanDisplay.d.ts.map +1 -1
  94. package/lib/components/Boolean/BooleanDisplay.js +4 -12
  95. package/lib/components/Boolean/BooleanDisplay.js.map +1 -1
  96. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  97. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  98. package/lib/components/Breadcrumbs/Breadcrumbs.js +44 -13
  99. package/lib/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  100. package/lib/components/Button/BareButton.d.ts.map +1 -1
  101. package/lib/components/Button/BareButton.js +1 -0
  102. package/lib/components/Button/BareButton.js.map +1 -1
  103. package/lib/components/Button/BareRoleButton.d.ts.map +1 -1
  104. package/lib/components/Button/BareRoleButton.js +3 -1
  105. package/lib/components/Button/BareRoleButton.js.map +1 -1
  106. package/lib/components/Button/Button.d.ts.map +1 -1
  107. package/lib/components/Button/Button.js +3 -1
  108. package/lib/components/Button/Button.js.map +1 -1
  109. package/lib/components/Checkbox/Checkbox.d.ts +3 -1
  110. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  111. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  112. package/lib/components/ColorPicker/ColorPicker.d.ts +2 -0
  113. package/lib/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  114. package/lib/components/ColorPicker/ColorPicker.js +2 -4
  115. package/lib/components/ColorPicker/ColorPicker.js.map +1 -1
  116. package/lib/components/ComboBox/ComboBox.d.ts.map +1 -1
  117. package/lib/components/ComboBox/ComboBox.js +70 -13
  118. package/lib/components/ComboBox/ComboBox.js.map +1 -1
  119. package/lib/components/ComboBox/ComboBox.styles.d.ts +3 -1
  120. package/lib/components/ComboBox/ComboBox.styles.d.ts.map +1 -1
  121. package/lib/components/ComboBox/ComboBox.styles.js +4 -1
  122. package/lib/components/ComboBox/ComboBox.styles.js.map +1 -1
  123. package/lib/components/ComboBox/ComboBox.types.d.ts +11 -1
  124. package/lib/components/ComboBox/ComboBox.types.d.ts.map +1 -1
  125. package/lib/components/ComboBox/ComboBox.types.js.map +1 -1
  126. package/lib/components/ComboBox/ComboBoxInput.d.ts +7 -0
  127. package/lib/components/ComboBox/ComboBoxInput.d.ts.map +1 -1
  128. package/lib/components/ComboBox/ComboBoxInput.js +5 -2
  129. package/lib/components/ComboBox/ComboBoxInput.js.map +1 -1
  130. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.d.ts.map +1 -1
  131. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js +130 -36
  132. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js.map +1 -1
  133. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.d.ts +10 -0
  134. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.d.ts.map +1 -1
  135. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.js.map +1 -1
  136. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.d.ts.map +1 -1
  137. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js +3 -3
  138. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js.map +1 -1
  139. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.d.ts +2 -0
  140. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.d.ts.map +1 -1
  141. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.js.map +1 -1
  142. package/lib/components/CompositeInput/CompositeInput.d.ts +5 -0
  143. package/lib/components/CompositeInput/CompositeInput.d.ts.map +1 -0
  144. package/lib/components/CompositeInput/CompositeInput.js +62 -0
  145. package/lib/components/CompositeInput/CompositeInput.js.map +1 -0
  146. package/lib/components/CompositeInput/CompositeInput.styles.d.ts +5 -0
  147. package/lib/components/CompositeInput/CompositeInput.styles.d.ts.map +1 -0
  148. package/lib/components/CompositeInput/CompositeInput.styles.js +57 -0
  149. package/lib/components/CompositeInput/CompositeInput.styles.js.map +1 -0
  150. package/lib/components/CompositeInput/CompositeInput.types.d.ts +52 -0
  151. package/lib/components/CompositeInput/CompositeInput.types.d.ts.map +1 -0
  152. package/lib/components/CompositeInput/CompositeInput.types.js +2 -0
  153. package/lib/components/CompositeInput/CompositeInput.types.js.map +1 -0
  154. package/lib/components/CompositeInput/index.d.ts +3 -0
  155. package/lib/components/CompositeInput/index.d.ts.map +1 -0
  156. package/lib/components/CompositeInput/index.js +2 -0
  157. package/lib/components/CompositeInput/index.js.map +1 -0
  158. package/lib/components/Configuration/Configuration.d.ts +16 -13
  159. package/lib/components/Configuration/Configuration.d.ts.map +1 -1
  160. package/lib/components/Configuration/Configuration.js +42 -14
  161. package/lib/components/Configuration/Configuration.js.map +1 -1
  162. package/lib/components/Configuration/index.d.ts +0 -1
  163. package/lib/components/Configuration/index.d.ts.map +1 -1
  164. package/lib/components/Configuration/index.js +0 -1
  165. package/lib/components/Configuration/index.js.map +1 -1
  166. package/lib/components/CreditCard/CreditCard.types.d.ts +2 -0
  167. package/lib/components/CreditCard/CreditCard.types.d.ts.map +1 -1
  168. package/lib/components/CreditCard/CreditCard.types.js.map +1 -1
  169. package/lib/components/CreditCard/CreditCardInput.js +1 -1
  170. package/lib/components/CreditCard/CreditCardInput.js.map +1 -1
  171. package/lib/components/Currency/CurrencyDisplay.d.ts.map +1 -1
  172. package/lib/components/Currency/CurrencyDisplay.js +2 -2
  173. package/lib/components/Currency/CurrencyDisplay.js.map +1 -1
  174. package/lib/components/Currency/CurrencyInput.d.ts.map +1 -1
  175. package/lib/components/Currency/CurrencyInput.js +92 -26
  176. package/lib/components/Currency/CurrencyInput.js.map +1 -1
  177. package/lib/components/Currency/CurrencyInput.types.d.ts +9 -1
  178. package/lib/components/Currency/CurrencyInput.types.d.ts.map +1 -1
  179. package/lib/components/Currency/CurrencyInput.types.js.map +1 -1
  180. package/lib/components/Currency/utils.d.ts +7 -17
  181. package/lib/components/Currency/utils.d.ts.map +1 -1
  182. package/lib/components/Currency/utils.js +50 -51
  183. package/lib/components/Currency/utils.js.map +1 -1
  184. package/lib/components/DateTime/DateTime.types.d.ts +15 -9
  185. package/lib/components/DateTime/DateTime.types.d.ts.map +1 -1
  186. package/lib/components/DateTime/DateTime.types.js.map +1 -1
  187. package/lib/components/DateTime/DateTimeDisplay.d.ts.map +1 -1
  188. package/lib/components/DateTime/DateTimeDisplay.js +8 -1
  189. package/lib/components/DateTime/DateTimeDisplay.js.map +1 -1
  190. package/lib/components/DateTime/DurationDisplay.js +3 -3
  191. package/lib/components/DateTime/DurationDisplay.js.map +1 -1
  192. package/lib/components/DateTime/Input/DateInput.d.ts +9 -2
  193. package/lib/components/DateTime/Input/DateInput.d.ts.map +1 -1
  194. package/lib/components/DateTime/Input/DateInput.js +29 -17
  195. package/lib/components/DateTime/Input/DateInput.js.map +1 -1
  196. package/lib/components/DateTime/Input/DateRangeInput.d.ts +18 -23
  197. package/lib/components/DateTime/Input/DateRangeInput.d.ts.map +1 -1
  198. package/lib/components/DateTime/Input/DateRangeInput.js +98 -83
  199. package/lib/components/DateTime/Input/DateRangeInput.js.map +1 -1
  200. package/lib/components/DateTime/Input/DateTimeInput.d.ts +3 -0
  201. package/lib/components/DateTime/Input/DateTimeInput.d.ts.map +1 -1
  202. package/lib/components/DateTime/Input/DateTimeInput.js +30 -14
  203. package/lib/components/DateTime/Input/DateTimeInput.js.map +1 -1
  204. package/lib/components/DateTime/Input/DayOfWeekInput.d.ts +2 -0
  205. package/lib/components/DateTime/Input/DayOfWeekInput.d.ts.map +1 -1
  206. package/lib/components/DateTime/Input/DayOfWeekInput.js.map +1 -1
  207. package/lib/components/DateTime/Input/Duration/DurationInput.d.ts.map +1 -1
  208. package/lib/components/DateTime/Input/Duration/DurationInput.js +10 -2
  209. package/lib/components/DateTime/Input/Duration/DurationInput.js.map +1 -1
  210. package/lib/components/DateTime/Input/Duration/DurationInput.types.d.ts +2 -0
  211. package/lib/components/DateTime/Input/Duration/DurationInput.types.d.ts.map +1 -1
  212. package/lib/components/DateTime/Input/Duration/DurationInput.types.js.map +1 -1
  213. package/lib/components/DateTime/Input/Duration/NumberUnit.d.ts.map +1 -1
  214. package/lib/components/DateTime/Input/Duration/NumberUnit.js +30 -33
  215. package/lib/components/DateTime/Input/Duration/NumberUnit.js.map +1 -1
  216. package/lib/components/DateTime/Input/Duration/Time.d.ts.map +1 -1
  217. package/lib/components/DateTime/Input/Duration/Time.js +5 -4
  218. package/lib/components/DateTime/Input/Duration/Time.js.map +1 -1
  219. package/lib/components/DateTime/Input/MonthInput.d.ts +3 -0
  220. package/lib/components/DateTime/Input/MonthInput.d.ts.map +1 -1
  221. package/lib/components/DateTime/Input/MonthInput.js +30 -26
  222. package/lib/components/DateTime/Input/MonthInput.js.map +1 -1
  223. package/lib/components/DateTime/Input/PartInput.d.ts +1 -0
  224. package/lib/components/DateTime/Input/PartInput.d.ts.map +1 -1
  225. package/lib/components/DateTime/Input/PartInput.js +10 -7
  226. package/lib/components/DateTime/Input/PartInput.js.map +1 -1
  227. package/lib/components/DateTime/Input/QuarterInput.d.ts +3 -0
  228. package/lib/components/DateTime/Input/QuarterInput.d.ts.map +1 -1
  229. package/lib/components/DateTime/Input/QuarterInput.js +31 -25
  230. package/lib/components/DateTime/Input/QuarterInput.js.map +1 -1
  231. package/lib/components/DateTime/Input/TimeInput.d.ts +3 -0
  232. package/lib/components/DateTime/Input/TimeInput.d.ts.map +1 -1
  233. package/lib/components/DateTime/Input/TimeInput.js +21 -9
  234. package/lib/components/DateTime/Input/TimeInput.js.map +1 -1
  235. package/lib/components/DateTime/Input/TimeRangeInput.d.ts +46 -0
  236. package/lib/components/DateTime/Input/TimeRangeInput.d.ts.map +1 -0
  237. package/lib/components/DateTime/Input/TimeRangeInput.js +74 -0
  238. package/lib/components/DateTime/Input/TimeRangeInput.js.map +1 -0
  239. package/lib/components/DateTime/Input/WeekInput.d.ts +3 -2
  240. package/lib/components/DateTime/Input/WeekInput.d.ts.map +1 -1
  241. package/lib/components/DateTime/Input/WeekInput.js +12 -7
  242. package/lib/components/DateTime/Input/WeekInput.js.map +1 -1
  243. package/lib/components/DateTime/Input/usePickerButton.d.ts +1 -1
  244. package/lib/components/DateTime/Input/usePickerButton.d.ts.map +1 -1
  245. package/lib/components/DateTime/Input/utils.d.ts +7 -7
  246. package/lib/components/DateTime/Input/utils.d.ts.map +1 -1
  247. package/lib/components/DateTime/Input/utils.js +19 -6
  248. package/lib/components/DateTime/Input/utils.js.map +1 -1
  249. package/lib/components/DateTime/Picker/Calendar.d.ts.map +1 -1
  250. package/lib/components/DateTime/Picker/Calendar.js +20 -16
  251. package/lib/components/DateTime/Picker/Calendar.js.map +1 -1
  252. package/lib/components/DateTime/Picker/Calendar.styles.d.ts +2 -4
  253. package/lib/components/DateTime/Picker/Calendar.styles.d.ts.map +1 -1
  254. package/lib/components/DateTime/Picker/Calendar.styles.js +13 -55
  255. package/lib/components/DateTime/Picker/Calendar.styles.js.map +1 -1
  256. package/lib/components/DateTime/Picker/DatePicker.d.ts.map +1 -1
  257. package/lib/components/DateTime/Picker/DatePicker.js +2 -1
  258. package/lib/components/DateTime/Picker/DatePicker.js.map +1 -1
  259. package/lib/components/DateTime/Picker/DatePicker.styles.d.ts +3 -0
  260. package/lib/components/DateTime/Picker/DatePicker.styles.d.ts.map +1 -0
  261. package/lib/components/DateTime/Picker/DatePicker.styles.js +39 -0
  262. package/lib/components/DateTime/Picker/DatePicker.styles.js.map +1 -0
  263. package/lib/components/DateTime/Picker/DateRangePicker.js +1 -1
  264. package/lib/components/DateTime/Picker/DateRangePicker.js.map +1 -1
  265. package/lib/components/DateTime/Picker/TimePicker.d.ts +1 -1
  266. package/lib/components/DateTime/Picker/TimePicker.d.ts.map +1 -1
  267. package/lib/components/DateTime/Picker/TimePicker.js +10 -5
  268. package/lib/components/DateTime/Picker/TimePicker.js.map +1 -1
  269. package/lib/components/DateTime/Picker/Weeks.d.ts.map +1 -1
  270. package/lib/components/DateTime/Picker/Weeks.js +14 -6
  271. package/lib/components/DateTime/Picker/Weeks.js.map +1 -1
  272. package/lib/components/DateTime/Picker/utils.d.ts +1 -1
  273. package/lib/components/DateTime/Picker/utils.d.ts.map +1 -1
  274. package/lib/components/DateTime/index.d.ts +4 -0
  275. package/lib/components/DateTime/index.d.ts.map +1 -1
  276. package/lib/components/DateTime/index.js +3 -0
  277. package/lib/components/DateTime/index.js.map +1 -1
  278. package/lib/components/DateTime/utils.d.ts +5 -4
  279. package/lib/components/DateTime/utils.d.ts.map +1 -1
  280. package/lib/components/DateTime/utils.js +21 -8
  281. package/lib/components/DateTime/utils.js.map +1 -1
  282. package/lib/components/Dialog/Dialog.d.ts +32 -0
  283. package/lib/components/Dialog/Dialog.d.ts.map +1 -0
  284. package/lib/components/Dialog/Dialog.js +150 -0
  285. package/lib/components/Dialog/Dialog.js.map +1 -0
  286. package/lib/components/Dialog/index.d.ts +3 -0
  287. package/lib/components/Dialog/index.d.ts.map +1 -0
  288. package/lib/components/Dialog/index.js +3 -0
  289. package/lib/components/Dialog/index.js.map +1 -0
  290. package/lib/components/EmojiPicker/EmojiPicker.styles.d.ts.map +1 -1
  291. package/lib/components/EmojiPicker/EmojiPicker.styles.js +8 -6
  292. package/lib/components/EmojiPicker/EmojiPicker.styles.js.map +1 -1
  293. package/lib/components/FieldGroup/FieldGroup.d.ts +7 -0
  294. package/lib/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  295. package/lib/components/FieldGroup/FieldGroup.js +46 -42
  296. package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
  297. package/lib/components/FieldGroup/FieldGroupList.d.ts.map +1 -1
  298. package/lib/components/FieldGroup/FieldGroupList.js +8 -8
  299. package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
  300. package/lib/components/FieldValueList/FieldValueList.d.ts +13 -7
  301. package/lib/components/FieldValueList/FieldValueList.d.ts.map +1 -1
  302. package/lib/components/FieldValueList/FieldValueList.js +53 -19
  303. package/lib/components/FieldValueList/FieldValueList.js.map +1 -1
  304. package/lib/components/FieldValueList/index.d.ts +3 -5
  305. package/lib/components/FieldValueList/index.d.ts.map +1 -1
  306. package/lib/components/FieldValueList/index.js +2 -4
  307. package/lib/components/FieldValueList/index.js.map +1 -1
  308. package/lib/components/File/FileItem.d.ts +3 -0
  309. package/lib/components/File/FileItem.d.ts.map +1 -1
  310. package/lib/components/File/FileItem.js +18 -14
  311. package/lib/components/File/FileItem.js.map +1 -1
  312. package/lib/components/File/utils.d.ts +1 -1
  313. package/lib/components/File/utils.d.ts.map +1 -1
  314. package/lib/components/File/utils.js.map +1 -1
  315. package/lib/components/Flex/Flex.d.ts +11 -10
  316. package/lib/components/Flex/Flex.d.ts.map +1 -1
  317. package/lib/components/Flex/Flex.js.map +1 -1
  318. package/lib/components/Form/Form.d.ts +5 -16
  319. package/lib/components/Form/Form.d.ts.map +1 -1
  320. package/lib/components/Form/Form.js +14 -11
  321. package/lib/components/Form/Form.js.map +1 -1
  322. package/lib/components/FormControl/FormControl.d.ts +12 -2
  323. package/lib/components/FormControl/FormControl.d.ts.map +1 -1
  324. package/lib/components/FormControl/FormControl.js +60 -35
  325. package/lib/components/FormControl/FormControl.js.map +1 -1
  326. package/lib/components/FormField/FormField.d.ts +5 -0
  327. package/lib/components/FormField/FormField.d.ts.map +1 -1
  328. package/lib/components/FormField/FormField.js +87 -16
  329. package/lib/components/FormField/FormField.js.map +1 -1
  330. package/lib/components/Grid/Grid.d.ts +1 -1
  331. package/lib/components/Grid/Grid.d.ts.map +1 -1
  332. package/lib/components/Grid/Grid.types.d.ts +11 -10
  333. package/lib/components/Grid/Grid.types.d.ts.map +1 -1
  334. package/lib/components/Grid/Grid.types.js.map +1 -1
  335. package/lib/components/HTML/HTML.d.ts +1 -0
  336. package/lib/components/HTML/HTML.d.ts.map +1 -1
  337. package/lib/components/HTML/HTML.js +63 -17
  338. package/lib/components/HTML/HTML.js.map +1 -1
  339. package/lib/components/Icon/Icon.d.ts +7 -7
  340. package/lib/components/Icon/Icon.d.ts.map +1 -1
  341. package/lib/components/Icon/Icon.js +14 -15
  342. package/lib/components/Icon/Icon.js.map +1 -1
  343. package/lib/components/Icon/iconNames.d.ts +2 -2
  344. package/lib/components/Icon/iconNames.d.ts.map +1 -1
  345. package/lib/components/Icon/iconNames.js +2 -1
  346. package/lib/components/Icon/iconNames.js.map +1 -1
  347. package/lib/components/Icon/icons/ai-assist.icon.js +1 -1
  348. package/lib/components/Icon/icons/ai-assist.icon.js.map +1 -1
  349. package/lib/components/Icon/icons/align-center.icon.js +1 -1
  350. package/lib/components/Icon/icons/align-center.icon.js.map +1 -1
  351. package/lib/components/Icon/icons/align-left.icon.js +1 -1
  352. package/lib/components/Icon/icons/align-left.icon.js.map +1 -1
  353. package/lib/components/Icon/icons/align-right.icon.js +1 -1
  354. package/lib/components/Icon/icons/align-right.icon.js.map +1 -1
  355. package/lib/components/Icon/icons/arrow-left.icon.js +1 -1
  356. package/lib/components/Icon/icons/arrow-left.icon.js.map +1 -1
  357. package/lib/components/Icon/icons/arrow-micro-down.icon.js +1 -1
  358. package/lib/components/Icon/icons/arrow-micro-down.icon.js.map +1 -1
  359. package/lib/components/Icon/icons/arrow-micro-left.icon.js +1 -1
  360. package/lib/components/Icon/icons/arrow-micro-left.icon.js.map +1 -1
  361. package/lib/components/Icon/icons/arrow-micro-right.icon.js +1 -1
  362. package/lib/components/Icon/icons/arrow-micro-right.icon.js.map +1 -1
  363. package/lib/components/Icon/icons/arrow-micro-up-down.icon.js +1 -1
  364. package/lib/components/Icon/icons/arrow-micro-up-down.icon.js.map +1 -1
  365. package/lib/components/Icon/icons/arrow-micro-up.icon.js +1 -1
  366. package/lib/components/Icon/icons/arrow-micro-up.icon.js.map +1 -1
  367. package/lib/components/Icon/icons/arrow-up-down.icon.js +1 -1
  368. package/lib/components/Icon/icons/arrow-up-down.icon.js.map +1 -1
  369. package/lib/components/Icon/icons/bars.icon.js +1 -1
  370. package/lib/components/Icon/icons/bars.icon.js.map +1 -1
  371. package/lib/components/Icon/icons/bell-solid.icon.js +1 -1
  372. package/lib/components/Icon/icons/bell-solid.icon.js.map +1 -1
  373. package/lib/components/Icon/icons/bell.icon.js +1 -1
  374. package/lib/components/Icon/icons/bell.icon.js.map +1 -1
  375. package/lib/components/Icon/icons/box-4-solid.icon.js +1 -1
  376. package/lib/components/Icon/icons/box-4-solid.icon.js.map +1 -1
  377. package/lib/components/Icon/icons/box-4.icon.js +1 -1
  378. package/lib/components/Icon/icons/box-4.icon.js.map +1 -1
  379. package/lib/components/Icon/icons/calendar-range.icon.js +1 -1
  380. package/lib/components/Icon/icons/calendar-range.icon.js.map +1 -1
  381. package/lib/components/Icon/icons/calendar-solid.icon.js +1 -1
  382. package/lib/components/Icon/icons/calendar-solid.icon.js.map +1 -1
  383. package/lib/components/Icon/icons/caret-down.icon.js +1 -1
  384. package/lib/components/Icon/icons/caret-down.icon.js.map +1 -1
  385. package/lib/components/Icon/icons/caret-left.icon.js +1 -1
  386. package/lib/components/Icon/icons/caret-left.icon.js.map +1 -1
  387. package/lib/components/Icon/icons/caret-right.icon.js +1 -1
  388. package/lib/components/Icon/icons/caret-right.icon.js.map +1 -1
  389. package/lib/components/Icon/icons/caret-up.icon.js +1 -1
  390. package/lib/components/Icon/icons/caret-up.icon.js.map +1 -1
  391. package/lib/components/Icon/icons/{script-solid.icon.d.ts → carrot.icon.d.ts} +2 -2
  392. package/lib/components/Icon/icons/carrot.icon.d.ts.map +1 -0
  393. package/lib/components/Icon/icons/carrot.icon.js +6 -0
  394. package/lib/components/Icon/icons/carrot.icon.js.map +1 -0
  395. package/lib/components/Icon/icons/case-solid.icon.js +1 -1
  396. package/lib/components/Icon/icons/case-solid.icon.js.map +1 -1
  397. package/lib/components/Icon/icons/case.icon.js +1 -1
  398. package/lib/components/Icon/icons/case.icon.js.map +1 -1
  399. package/lib/components/Icon/icons/chain.icon.js +1 -1
  400. package/lib/components/Icon/icons/chain.icon.js.map +1 -1
  401. package/lib/components/Icon/icons/chat-solid.icon.js +1 -1
  402. package/lib/components/Icon/icons/chat-solid.icon.js.map +1 -1
  403. package/lib/components/Icon/icons/chat.icon.js +1 -1
  404. package/lib/components/Icon/icons/chat.icon.js.map +1 -1
  405. package/lib/components/Icon/icons/check.icon.js +1 -1
  406. package/lib/components/Icon/icons/check.icon.js.map +1 -1
  407. package/lib/components/Icon/icons/clipboard-plus-solid.icon.js +1 -1
  408. package/lib/components/Icon/icons/clipboard-plus-solid.icon.js.map +1 -1
  409. package/lib/components/Icon/icons/clipboard-plus.icon.js +1 -1
  410. package/lib/components/Icon/icons/clipboard-plus.icon.js.map +1 -1
  411. package/lib/components/Icon/icons/clock-solid.icon.js +1 -1
  412. package/lib/components/Icon/icons/clock-solid.icon.js.map +1 -1
  413. package/lib/components/Icon/icons/clock.icon.js +1 -1
  414. package/lib/components/Icon/icons/clock.icon.js.map +1 -1
  415. package/lib/components/Icon/icons/code.icon.js +1 -1
  416. package/lib/components/Icon/icons/code.icon.js.map +1 -1
  417. package/lib/components/Icon/icons/dataviz-string-field.icon.d.ts +1 -1
  418. package/lib/components/Icon/icons/dataviz-string-field.icon.js +2 -2
  419. package/lib/components/Icon/icons/dataviz-string-field.icon.js.map +1 -1
  420. package/lib/components/Icon/icons/dock.icon.js +1 -1
  421. package/lib/components/Icon/icons/dock.icon.js.map +1 -1
  422. package/lib/components/Icon/icons/dot-9-solid.icon.js +1 -1
  423. package/lib/components/Icon/icons/dot-9-solid.icon.js.map +1 -1
  424. package/lib/components/Icon/icons/dot-9.icon.js +1 -1
  425. package/lib/components/Icon/icons/dot-9.icon.js.map +1 -1
  426. package/lib/components/Icon/icons/download.icon.js +1 -1
  427. package/lib/components/Icon/icons/download.icon.js.map +1 -1
  428. package/lib/components/Icon/icons/drag.icon.js +1 -1
  429. package/lib/components/Icon/icons/drag.icon.js.map +1 -1
  430. package/lib/components/Icon/icons/eye-off-solid.icon.js +1 -1
  431. package/lib/components/Icon/icons/eye-off-solid.icon.js.map +1 -1
  432. package/lib/components/Icon/icons/eye-off.icon.js +1 -1
  433. package/lib/components/Icon/icons/eye-off.icon.js.map +1 -1
  434. package/lib/components/Icon/icons/face-blank-solid.icon.d.ts.map +1 -1
  435. package/lib/components/Icon/icons/face-blank-solid.icon.js +1 -1
  436. package/lib/components/Icon/icons/face-blank-solid.icon.js.map +1 -1
  437. package/lib/components/Icon/icons/face-blank.icon.d.ts.map +1 -1
  438. package/lib/components/Icon/icons/face-blank.icon.js +1 -1
  439. package/lib/components/Icon/icons/face-blank.icon.js.map +1 -1
  440. package/lib/components/Icon/icons/face-happy-solid.icon.d.ts.map +1 -1
  441. package/lib/components/Icon/icons/face-happy-solid.icon.js +1 -1
  442. package/lib/components/Icon/icons/face-happy-solid.icon.js.map +1 -1
  443. package/lib/components/Icon/icons/face-happy.icon.d.ts.map +1 -1
  444. package/lib/components/Icon/icons/face-happy.icon.js +1 -1
  445. package/lib/components/Icon/icons/face-happy.icon.js.map +1 -1
  446. package/lib/components/Icon/icons/face-sad-solid.icon.d.ts.map +1 -1
  447. package/lib/components/Icon/icons/face-sad-solid.icon.js +1 -1
  448. package/lib/components/Icon/icons/face-sad-solid.icon.js.map +1 -1
  449. package/lib/components/Icon/icons/face-sad.icon.d.ts.map +1 -1
  450. package/lib/components/Icon/icons/face-sad.icon.js +1 -1
  451. package/lib/components/Icon/icons/face-sad.icon.js.map +1 -1
  452. package/lib/components/Icon/icons/fast-forward-solid.icon.js +1 -1
  453. package/lib/components/Icon/icons/fast-forward-solid.icon.js.map +1 -1
  454. package/lib/components/Icon/icons/filetype-text.icon.d.ts.map +1 -1
  455. package/lib/components/Icon/icons/filetype-text.icon.js +2 -2
  456. package/lib/components/Icon/icons/filetype-text.icon.js.map +1 -1
  457. package/lib/components/Icon/icons/filter-on.icon.js +1 -1
  458. package/lib/components/Icon/icons/filter-on.icon.js.map +1 -1
  459. package/lib/components/Icon/icons/filter.icon.js +1 -1
  460. package/lib/components/Icon/icons/filter.icon.js.map +1 -1
  461. package/lib/components/Icon/icons/folder-hierarchy-solid.icon.js +1 -1
  462. package/lib/components/Icon/icons/folder-hierarchy-solid.icon.js.map +1 -1
  463. package/lib/components/Icon/icons/folder-hierarchy.icon.js +1 -1
  464. package/lib/components/Icon/icons/folder-hierarchy.icon.js.map +1 -1
  465. package/lib/components/Icon/icons/forward-all-solid.icon.js +1 -1
  466. package/lib/components/Icon/icons/forward-all-solid.icon.js.map +1 -1
  467. package/lib/components/Icon/icons/forward-all.icon.js +1 -1
  468. package/lib/components/Icon/icons/forward-all.icon.js.map +1 -1
  469. package/lib/components/Icon/icons/forward-solid.icon.js +1 -1
  470. package/lib/components/Icon/icons/forward-solid.icon.js.map +1 -1
  471. package/lib/components/Icon/icons/forward.icon.js +1 -1
  472. package/lib/components/Icon/icons/forward.icon.js.map +1 -1
  473. package/lib/components/Icon/icons/galaxy.icon.d.ts.map +1 -1
  474. package/lib/components/Icon/icons/galaxy.icon.js +2 -2
  475. package/lib/components/Icon/icons/galaxy.icon.js.map +1 -1
  476. package/lib/components/Icon/icons/globe-solid.icon.js +1 -1
  477. package/lib/components/Icon/icons/globe-solid.icon.js.map +1 -1
  478. package/lib/components/Icon/icons/globe.icon.js +1 -1
  479. package/lib/components/Icon/icons/globe.icon.js.map +1 -1
  480. package/lib/components/Icon/icons/hand.icon.js +1 -1
  481. package/lib/components/Icon/icons/hand.icon.js.map +1 -1
  482. package/lib/components/Icon/icons/help-solid.icon.js +1 -1
  483. package/lib/components/Icon/icons/help-solid.icon.js.map +1 -1
  484. package/lib/components/Icon/icons/help.icon.js +1 -1
  485. package/lib/components/Icon/icons/help.icon.js.map +1 -1
  486. package/lib/components/Icon/icons/home-solid.icon.js +1 -1
  487. package/lib/components/Icon/icons/home-solid.icon.js.map +1 -1
  488. package/lib/components/Icon/icons/home.icon.js +1 -1
  489. package/lib/components/Icon/icons/home.icon.js.map +1 -1
  490. package/lib/components/Icon/icons/information-solid.icon.js +1 -1
  491. package/lib/components/Icon/icons/information-solid.icon.js.map +1 -1
  492. package/lib/components/Icon/icons/information.icon.js +1 -1
  493. package/lib/components/Icon/icons/information.icon.js.map +1 -1
  494. package/lib/components/Icon/icons/list-number.icon.d.ts.map +1 -1
  495. package/lib/components/Icon/icons/list-number.icon.js +2 -2
  496. package/lib/components/Icon/icons/list-number.icon.js.map +1 -1
  497. package/lib/components/Icon/icons/list.icon.d.ts.map +1 -1
  498. package/lib/components/Icon/icons/list.icon.js +2 -2
  499. package/lib/components/Icon/icons/list.icon.js.map +1 -1
  500. package/lib/components/Icon/icons/mail-solid.icon.js +1 -1
  501. package/lib/components/Icon/icons/mail-solid.icon.js.map +1 -1
  502. package/lib/components/Icon/icons/mail.icon.js +1 -1
  503. package/lib/components/Icon/icons/mail.icon.js.map +1 -1
  504. package/lib/components/Icon/icons/minus.icon.js +1 -1
  505. package/lib/components/Icon/icons/minus.icon.js.map +1 -1
  506. package/lib/components/Icon/icons/more.icon.js +1 -1
  507. package/lib/components/Icon/icons/more.icon.js.map +1 -1
  508. package/lib/components/Icon/icons/move-left-solid.icon.js +1 -1
  509. package/lib/components/Icon/icons/move-left-solid.icon.js.map +1 -1
  510. package/lib/components/Icon/icons/move-right-solid.icon.js +1 -1
  511. package/lib/components/Icon/icons/move-right-solid.icon.js.map +1 -1
  512. package/lib/components/Icon/icons/open.icon.js +1 -1
  513. package/lib/components/Icon/icons/open.icon.js.map +1 -1
  514. package/lib/components/Icon/icons/paper-clip.icon.js +1 -1
  515. package/lib/components/Icon/icons/paper-clip.icon.js.map +1 -1
  516. package/lib/components/Icon/icons/phone-solid.icon.js +1 -1
  517. package/lib/components/Icon/icons/phone-solid.icon.js.map +1 -1
  518. package/lib/components/Icon/icons/phone.icon.js +1 -1
  519. package/lib/components/Icon/icons/phone.icon.js.map +1 -1
  520. package/lib/components/Icon/icons/picture-solid.icon.js +1 -1
  521. package/lib/components/Icon/icons/picture-solid.icon.js.map +1 -1
  522. package/lib/components/Icon/icons/picture.icon.js +1 -1
  523. package/lib/components/Icon/icons/picture.icon.js.map +1 -1
  524. package/lib/components/Icon/icons/placeholder.icon.d.ts +4 -0
  525. package/lib/components/Icon/icons/placeholder.icon.d.ts.map +1 -0
  526. package/lib/components/Icon/icons/placeholder.icon.js +6 -0
  527. package/lib/components/Icon/icons/placeholder.icon.js.map +1 -0
  528. package/lib/components/Icon/icons/plus.icon.js +1 -1
  529. package/lib/components/Icon/icons/plus.icon.js.map +1 -1
  530. package/lib/components/Icon/icons/polaris-solid.icon.js +1 -1
  531. package/lib/components/Icon/icons/polaris-solid.icon.js.map +1 -1
  532. package/lib/components/Icon/icons/polaris.icon.js +1 -1
  533. package/lib/components/Icon/icons/polaris.icon.js.map +1 -1
  534. package/lib/components/Icon/icons/qr.icon.js +1 -1
  535. package/lib/components/Icon/icons/qr.icon.js.map +1 -1
  536. package/lib/components/Icon/icons/reply-all-solid.icon.js +1 -1
  537. package/lib/components/Icon/icons/reply-all-solid.icon.js.map +1 -1
  538. package/lib/components/Icon/icons/reply-all.icon.js +1 -1
  539. package/lib/components/Icon/icons/reply-all.icon.js.map +1 -1
  540. package/lib/components/Icon/icons/reply-solid.icon.js +1 -1
  541. package/lib/components/Icon/icons/reply-solid.icon.js.map +1 -1
  542. package/lib/components/Icon/icons/reply.icon.js +1 -1
  543. package/lib/components/Icon/icons/reply.icon.js.map +1 -1
  544. package/lib/components/Icon/icons/reset.icon.js +1 -1
  545. package/lib/components/Icon/icons/reset.icon.js.map +1 -1
  546. package/lib/components/Icon/icons/robot-happy-solid.icon.js +1 -1
  547. package/lib/components/Icon/icons/robot-happy-solid.icon.js.map +1 -1
  548. package/lib/components/Icon/icons/robot-happy.icon.js +1 -1
  549. package/lib/components/Icon/icons/robot-happy.icon.js.map +1 -1
  550. package/lib/components/Icon/icons/row-insert.icon.js +1 -1
  551. package/lib/components/Icon/icons/row-insert.icon.js.map +1 -1
  552. package/lib/components/Icon/icons/row.icon.js +1 -1
  553. package/lib/components/Icon/icons/row.icon.js.map +1 -1
  554. package/lib/components/Icon/icons/scale-down.icon.js +1 -1
  555. package/lib/components/Icon/icons/scale-down.icon.js.map +1 -1
  556. package/lib/components/Icon/icons/scale-up-solid.icon.js +1 -1
  557. package/lib/components/Icon/icons/scale-up-solid.icon.js.map +1 -1
  558. package/lib/components/Icon/icons/scale-up.icon.js +1 -1
  559. package/lib/components/Icon/icons/scale-up.icon.js.map +1 -1
  560. package/lib/components/Icon/icons/script.icon.js +1 -1
  561. package/lib/components/Icon/icons/script.icon.js.map +1 -1
  562. package/lib/components/Icon/icons/search-analytics-solid.icon.js +1 -1
  563. package/lib/components/Icon/icons/search-analytics-solid.icon.js.map +1 -1
  564. package/lib/components/Icon/icons/search-analytics.icon.js +1 -1
  565. package/lib/components/Icon/icons/search-analytics.icon.js.map +1 -1
  566. package/lib/components/Icon/icons/search.icon.js +1 -1
  567. package/lib/components/Icon/icons/search.icon.js.map +1 -1
  568. package/lib/components/Icon/icons/send-solid.icon.js +1 -1
  569. package/lib/components/Icon/icons/send-solid.icon.js.map +1 -1
  570. package/lib/components/Icon/icons/send.icon.js +1 -1
  571. package/lib/components/Icon/icons/send.icon.js.map +1 -1
  572. package/lib/components/Icon/icons/slideshow-solid.icon.js +1 -1
  573. package/lib/components/Icon/icons/slideshow-solid.icon.js.map +1 -1
  574. package/lib/components/Icon/icons/slideshow.icon.js +1 -1
  575. package/lib/components/Icon/icons/slideshow.icon.js.map +1 -1
  576. package/lib/components/Icon/icons/snow.icon.js +1 -1
  577. package/lib/components/Icon/icons/snow.icon.js.map +1 -1
  578. package/lib/components/Icon/icons/speaker-solid.icon.js +1 -1
  579. package/lib/components/Icon/icons/speaker-solid.icon.js.map +1 -1
  580. package/lib/components/Icon/icons/speaker.icon.js +1 -1
  581. package/lib/components/Icon/icons/speaker.icon.js.map +1 -1
  582. package/lib/components/Icon/icons/star-solid.icon.js +1 -1
  583. package/lib/components/Icon/icons/star-solid.icon.js.map +1 -1
  584. package/lib/components/Icon/icons/star.icon.js +1 -1
  585. package/lib/components/Icon/icons/star.icon.js.map +1 -1
  586. package/lib/components/Icon/icons/target-solid.icon.js +1 -1
  587. package/lib/components/Icon/icons/target-solid.icon.js.map +1 -1
  588. package/lib/components/Icon/icons/target.icon.js +1 -1
  589. package/lib/components/Icon/icons/target.icon.js.map +1 -1
  590. package/lib/components/Icon/icons/thumbs-up-solid.icon.js +1 -1
  591. package/lib/components/Icon/icons/thumbs-up-solid.icon.js.map +1 -1
  592. package/lib/components/Icon/icons/thumbs-up.icon.js +1 -1
  593. package/lib/components/Icon/icons/thumbs-up.icon.js.map +1 -1
  594. package/lib/components/Icon/icons/times.icon.js +1 -1
  595. package/lib/components/Icon/icons/times.icon.js.map +1 -1
  596. package/lib/components/Icon/icons/trash-solid.icon.js +1 -1
  597. package/lib/components/Icon/icons/trash-solid.icon.js.map +1 -1
  598. package/lib/components/Icon/icons/trash.icon.js +1 -1
  599. package/lib/components/Icon/icons/trash.icon.js.map +1 -1
  600. package/lib/components/Icon/icons/twitter.icon.js +1 -1
  601. package/lib/components/Icon/icons/twitter.icon.js.map +1 -1
  602. package/lib/components/Icon/icons/undock.icon.js +1 -1
  603. package/lib/components/Icon/icons/undock.icon.js.map +1 -1
  604. package/lib/components/Icon/icons/user-solid.icon.js +1 -1
  605. package/lib/components/Icon/icons/user-solid.icon.js.map +1 -1
  606. package/lib/components/Icon/icons/user-star-solid.icon.js +1 -1
  607. package/lib/components/Icon/icons/user-star-solid.icon.js.map +1 -1
  608. package/lib/components/Icon/icons/user-star.icon.js +1 -1
  609. package/lib/components/Icon/icons/user-star.icon.js.map +1 -1
  610. package/lib/components/Icon/icons/user.icon.js +1 -1
  611. package/lib/components/Icon/icons/user.icon.js.map +1 -1
  612. package/lib/components/Icon/icons/warn-solid.icon.js +1 -1
  613. package/lib/components/Icon/icons/warn-solid.icon.js.map +1 -1
  614. package/lib/components/Icon/icons/warn.icon.js +1 -1
  615. package/lib/components/Icon/icons/warn.icon.js.map +1 -1
  616. package/lib/components/Icon/index.d.ts +1 -1
  617. package/lib/components/Icon/index.d.ts.map +1 -1
  618. package/lib/components/Icon/index.js.map +1 -1
  619. package/lib/components/Input/Input.d.ts +3 -1
  620. package/lib/components/Input/Input.d.ts.map +1 -1
  621. package/lib/components/Input/Input.js +16 -2
  622. package/lib/components/Input/Input.js.map +1 -1
  623. package/lib/components/Input/Input.styles.d.ts +1 -0
  624. package/lib/components/Input/Input.styles.d.ts.map +1 -1
  625. package/lib/components/Input/Input.styles.js +31 -0
  626. package/lib/components/Input/Input.styles.js.map +1 -1
  627. package/lib/components/Link/Link.d.ts +4 -1
  628. package/lib/components/Link/Link.d.ts.map +1 -1
  629. package/lib/components/Link/Link.js +87 -30
  630. package/lib/components/Link/Link.js.map +1 -1
  631. package/lib/components/List/CommaSeparatedList.d.ts.map +1 -1
  632. package/lib/components/List/CommaSeparatedList.js +6 -14
  633. package/lib/components/List/CommaSeparatedList.js.map +1 -1
  634. package/lib/components/List/List.d.ts +2 -2
  635. package/lib/components/List/List.d.ts.map +1 -1
  636. package/lib/components/List/List.js.map +1 -1
  637. package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
  638. package/lib/components/ListToolbar/ListToolbar.js +108 -53
  639. package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
  640. package/lib/components/ListToolbar/ListToolbar.styles.d.ts +1 -0
  641. package/lib/components/ListToolbar/ListToolbar.styles.d.ts.map +1 -1
  642. package/lib/components/ListToolbar/ListToolbar.styles.js +38 -2
  643. package/lib/components/ListToolbar/ListToolbar.styles.js.map +1 -1
  644. package/lib/components/ListToolbar/ListToolbar.types.d.ts +28 -10
  645. package/lib/components/ListToolbar/ListToolbar.types.d.ts.map +1 -1
  646. package/lib/components/ListToolbar/ListToolbar.types.js.map +1 -1
  647. package/lib/components/ListToolbar/PresetMenuPopover.d.ts +12 -0
  648. package/lib/components/ListToolbar/PresetMenuPopover.d.ts.map +1 -0
  649. package/lib/components/ListToolbar/PresetMenuPopover.js +36 -0
  650. package/lib/components/ListToolbar/PresetMenuPopover.js.map +1 -0
  651. package/lib/components/ListToolbar/QueryOptionPopover.d.ts.map +1 -1
  652. package/lib/components/ListToolbar/QueryOptionPopover.js +14 -44
  653. package/lib/components/ListToolbar/QueryOptionPopover.js.map +1 -1
  654. package/lib/components/Location/LocationInput.d.ts +3 -1
  655. package/lib/components/Location/LocationInput.d.ts.map +1 -1
  656. package/lib/components/Location/LocationInput.js +2 -2
  657. package/lib/components/Location/LocationInput.js.map +1 -1
  658. package/lib/components/Location/LocationView.d.ts +1 -1
  659. package/lib/components/Location/LocationView.d.ts.map +1 -1
  660. package/lib/components/Location/LocationView.js +16 -10
  661. package/lib/components/Location/LocationView.js.map +1 -1
  662. package/lib/components/Location/utils.d.ts +3 -2
  663. package/lib/components/Location/utils.d.ts.map +1 -1
  664. package/lib/components/Location/utils.js +17 -9
  665. package/lib/components/Location/utils.js.map +1 -1
  666. package/lib/components/Menu/FlyoutMenuList.d.ts.map +1 -1
  667. package/lib/components/Menu/FlyoutMenuList.js +11 -7
  668. package/lib/components/Menu/FlyoutMenuList.js.map +1 -1
  669. package/lib/components/Menu/Menu.context.d.ts.map +1 -1
  670. package/lib/components/Menu/Menu.context.js +2 -1
  671. package/lib/components/Menu/Menu.context.js.map +1 -1
  672. package/lib/components/Menu/Menu.d.ts.map +1 -1
  673. package/lib/components/Menu/Menu.js +42 -15
  674. package/lib/components/Menu/Menu.js.map +1 -1
  675. package/lib/components/Menu/Menu.styles.d.ts.map +1 -1
  676. package/lib/components/Menu/Menu.styles.js +4 -2
  677. package/lib/components/Menu/Menu.styles.js.map +1 -1
  678. package/lib/components/Menu/Menu.types.d.ts +14 -0
  679. package/lib/components/Menu/Menu.types.d.ts.map +1 -1
  680. package/lib/components/Menu/Menu.types.js.map +1 -1
  681. package/lib/components/Menu/MenuGroup.d.ts.map +1 -1
  682. package/lib/components/Menu/MenuGroup.js +3 -3
  683. package/lib/components/Menu/MenuGroup.js.map +1 -1
  684. package/lib/components/Menu/MenuItem.d.ts.map +1 -1
  685. package/lib/components/Menu/MenuItem.js +4 -8
  686. package/lib/components/Menu/MenuItem.js.map +1 -1
  687. package/lib/components/Menu/MenuList.d.ts.map +1 -1
  688. package/lib/components/Menu/MenuList.js +23 -14
  689. package/lib/components/Menu/MenuList.js.map +1 -1
  690. package/lib/components/Menu/NavItemsList.d.ts +2 -2
  691. package/lib/components/Menu/NavItemsList.d.ts.map +1 -1
  692. package/lib/components/Menu/NavItemsList.js +12 -7
  693. package/lib/components/Menu/NavItemsList.js.map +1 -1
  694. package/lib/components/Menu/helpers.d.ts +9 -7
  695. package/lib/components/Menu/helpers.d.ts.map +1 -1
  696. package/lib/components/Menu/helpers.js +16 -13
  697. package/lib/components/Menu/helpers.js.map +1 -1
  698. package/lib/components/Menu/index.d.ts +1 -1
  699. package/lib/components/Menu/index.d.ts.map +1 -1
  700. package/lib/components/Menu/index.js +1 -1
  701. package/lib/components/Menu/index.js.map +1 -1
  702. package/lib/components/MenuButton/MenuButton.d.ts.map +1 -1
  703. package/lib/components/MenuButton/MenuButton.js +13 -11
  704. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  705. package/lib/components/MetaList/MetaList.d.ts.map +1 -1
  706. package/lib/components/MetaList/MetaList.js +13 -10
  707. package/lib/components/MetaList/MetaList.js.map +1 -1
  708. package/lib/components/Modal/Contexts.d.ts.map +1 -1
  709. package/lib/components/Modal/Contexts.js +2 -3
  710. package/lib/components/Modal/Contexts.js.map +1 -1
  711. package/lib/components/Modal/MinimizedModal.d.ts.map +1 -1
  712. package/lib/components/Modal/MinimizedModal.js +2 -5
  713. package/lib/components/Modal/MinimizedModal.js.map +1 -1
  714. package/lib/components/Modal/Modal.d.ts.map +1 -1
  715. package/lib/components/Modal/Modal.js +7 -9
  716. package/lib/components/Modal/Modal.js.map +1 -1
  717. package/lib/components/Modal/Modal.types.d.ts +2 -6
  718. package/lib/components/Modal/Modal.types.d.ts.map +1 -1
  719. package/lib/components/Modal/Modal.types.js +1 -2
  720. package/lib/components/Modal/Modal.types.js.map +1 -1
  721. package/lib/components/Modal/ModalManager.d.ts +8 -2
  722. package/lib/components/Modal/ModalManager.d.ts.map +1 -1
  723. package/lib/components/Modal/ModalManager.js +21 -20
  724. package/lib/components/Modal/ModalManager.js.map +1 -1
  725. package/lib/components/Modal/index.d.ts +0 -1
  726. package/lib/components/Modal/index.d.ts.map +1 -1
  727. package/lib/components/Modal/index.js +0 -1
  728. package/lib/components/Modal/index.js.map +1 -1
  729. package/lib/components/MultiStepForm/FormProgress.d.ts +10 -0
  730. package/lib/components/MultiStepForm/FormProgress.d.ts.map +1 -0
  731. package/lib/components/{MultiStep/MultiStep.js → MultiStepForm/FormProgress.js} +8 -22
  732. package/lib/components/MultiStepForm/FormProgress.js.map +1 -0
  733. package/lib/components/{MultiStep/MultiStep.styles.d.ts → MultiStepForm/FormProgress.styles.d.ts} +2 -4
  734. package/lib/components/MultiStepForm/FormProgress.styles.d.ts.map +1 -0
  735. package/lib/components/{MultiStep/MultiStep.styles.js → MultiStepForm/FormProgress.styles.js} +4 -8
  736. package/lib/components/MultiStepForm/FormProgress.styles.js.map +1 -0
  737. package/lib/components/MultiStepForm/MultiStepForm.d.ts +9 -0
  738. package/lib/components/MultiStepForm/MultiStepForm.d.ts.map +1 -0
  739. package/lib/components/MultiStepForm/MultiStepForm.js +50 -0
  740. package/lib/components/MultiStepForm/MultiStepForm.js.map +1 -0
  741. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts +48 -0
  742. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts.map +1 -0
  743. package/lib/components/MultiStepForm/MultiStepForm.types.js +2 -0
  744. package/lib/components/MultiStepForm/MultiStepForm.types.js.map +1 -0
  745. package/lib/components/MultiStepForm/index.d.ts +2 -0
  746. package/lib/components/MultiStepForm/index.d.ts.map +1 -0
  747. package/lib/components/MultiStepForm/index.js +2 -0
  748. package/lib/components/MultiStepForm/index.js.map +1 -0
  749. package/lib/components/Number/NumberDisplay.d.ts +0 -5
  750. package/lib/components/Number/NumberDisplay.d.ts.map +1 -1
  751. package/lib/components/Number/NumberDisplay.js +8 -12
  752. package/lib/components/Number/NumberDisplay.js.map +1 -1
  753. package/lib/components/Number/NumberInput.d.ts +1 -1
  754. package/lib/components/Number/NumberInput.d.ts.map +1 -1
  755. package/lib/components/Number/NumberInput.js +51 -25
  756. package/lib/components/Number/NumberInput.js.map +1 -1
  757. package/lib/components/Number/NumberInput.styles.d.ts +8 -5
  758. package/lib/components/Number/NumberInput.styles.d.ts.map +1 -1
  759. package/lib/components/Number/NumberInput.styles.js +8 -3
  760. package/lib/components/Number/NumberInput.styles.js.map +1 -1
  761. package/lib/components/Number/NumberInput.types.d.ts +56 -21
  762. package/lib/components/Number/NumberInput.types.d.ts.map +1 -1
  763. package/lib/components/Number/NumberInput.types.js.map +1 -1
  764. package/lib/components/Number/NumberRangeInput.d.ts +6 -0
  765. package/lib/components/Number/NumberRangeInput.d.ts.map +1 -0
  766. package/lib/components/Number/NumberRangeInput.js +30 -0
  767. package/lib/components/Number/NumberRangeInput.js.map +1 -0
  768. package/lib/components/Number/index.d.ts +3 -2
  769. package/lib/components/Number/index.d.ts.map +1 -1
  770. package/lib/components/Number/index.js +1 -0
  771. package/lib/components/Number/index.js.map +1 -1
  772. package/lib/components/Number/utils.d.ts +3 -4
  773. package/lib/components/Number/utils.d.ts.map +1 -1
  774. package/lib/components/Number/utils.js +41 -22
  775. package/lib/components/Number/utils.js.map +1 -1
  776. package/lib/components/PageTemplates/CategorySubPage.d.ts +3 -3
  777. package/lib/components/PageTemplates/CategorySubPage.d.ts.map +1 -1
  778. package/lib/components/PageTemplates/CategorySubPage.js.map +1 -1
  779. package/lib/components/PageTemplates/DashboardPage.d.ts.map +1 -1
  780. package/lib/components/PageTemplates/DashboardPage.js +1 -4
  781. package/lib/components/PageTemplates/DashboardPage.js.map +1 -1
  782. package/lib/components/PageTemplates/PageTemplates.d.ts +1 -2
  783. package/lib/components/PageTemplates/PageTemplates.d.ts.map +1 -1
  784. package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
  785. package/lib/components/Phone/PhoneDisplay.d.ts +8 -0
  786. package/lib/components/Phone/PhoneDisplay.d.ts.map +1 -1
  787. package/lib/components/Phone/PhoneDisplay.js +2 -2
  788. package/lib/components/Phone/PhoneDisplay.js.map +1 -1
  789. package/lib/components/Phone/PhoneInput.d.ts.map +1 -1
  790. package/lib/components/Phone/PhoneInput.js +19 -9
  791. package/lib/components/Phone/PhoneInput.js.map +1 -1
  792. package/lib/components/Phone/utils.d.ts +4 -1
  793. package/lib/components/Phone/utils.d.ts.map +1 -1
  794. package/lib/components/Phone/utils.js +4 -2
  795. package/lib/components/Phone/utils.js.map +1 -1
  796. package/lib/components/Popover/Popover.d.ts +4 -1
  797. package/lib/components/Popover/Popover.d.ts.map +1 -1
  798. package/lib/components/Popover/Popover.js +26 -12
  799. package/lib/components/Popover/Popover.js.map +1 -1
  800. package/lib/components/Popover/Popover.styles.d.ts +1 -0
  801. package/lib/components/Popover/Popover.styles.d.ts.map +1 -1
  802. package/lib/components/Popover/Popover.styles.js +19 -58
  803. package/lib/components/Popover/Popover.styles.js.map +1 -1
  804. package/lib/components/Popover/PopoverContext.d.ts +1 -0
  805. package/lib/components/Popover/PopoverContext.d.ts.map +1 -1
  806. package/lib/components/Popover/PopoverContext.js +2 -1
  807. package/lib/components/Popover/PopoverContext.js.map +1 -1
  808. package/lib/components/Popover/PopoverManager.d.ts.map +1 -1
  809. package/lib/components/Popover/PopoverManager.js +2 -1
  810. package/lib/components/Popover/PopoverManager.js.map +1 -1
  811. package/lib/components/Popover/modifiers.d.ts +2 -0
  812. package/lib/components/Popover/modifiers.d.ts.map +1 -1
  813. package/lib/components/Popover/modifiers.js +32 -1
  814. package/lib/components/Popover/modifiers.js.map +1 -1
  815. package/lib/components/Progress/Ring.js +2 -2
  816. package/lib/components/Progress/Ring.js.map +1 -1
  817. package/lib/components/RadioButton/RadioButton.d.ts +3 -1
  818. package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
  819. package/lib/components/RadioButton/RadioButton.js.map +1 -1
  820. package/lib/components/RadioCheck/RadioCheck.d.ts +2 -0
  821. package/lib/components/RadioCheck/RadioCheck.d.ts.map +1 -1
  822. package/lib/components/RadioCheck/RadioCheck.js +7 -5
  823. package/lib/components/RadioCheck/RadioCheck.js.map +1 -1
  824. package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts +3 -0
  825. package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts.map +1 -1
  826. package/lib/components/RadioCheckGroup/RadioCheckGroup.js +2 -2
  827. package/lib/components/RadioCheckGroup/RadioCheckGroup.js.map +1 -1
  828. package/lib/components/RadioCheckGroup/index.d.ts +1 -1
  829. package/lib/components/RadioCheckGroup/index.d.ts.map +1 -1
  830. package/lib/components/RadioCheckGroup/index.js +1 -1
  831. package/lib/components/RadioCheckGroup/index.js.map +1 -1
  832. package/lib/components/SearchInput/SearchInput.d.ts +24 -8
  833. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  834. package/lib/components/SearchInput/SearchInput.js +127 -94
  835. package/lib/components/SearchInput/SearchInput.js.map +1 -1
  836. package/lib/components/SearchInput/SearchInput.styles.d.ts +16 -0
  837. package/lib/components/SearchInput/SearchInput.styles.d.ts.map +1 -0
  838. package/lib/components/SearchInput/SearchInput.styles.js +133 -0
  839. package/lib/components/SearchInput/SearchInput.styles.js.map +1 -0
  840. package/lib/components/SearchInput/index.d.ts +1 -1
  841. package/lib/components/SearchInput/index.d.ts.map +1 -1
  842. package/lib/components/SearchInput/index.js +1 -1
  843. package/lib/components/SearchInput/index.js.map +1 -1
  844. package/lib/components/Select/Select.d.ts +5 -0
  845. package/lib/components/Select/Select.d.ts.map +1 -1
  846. package/lib/components/Select/Select.js +18 -8
  847. package/lib/components/Select/Select.js.map +1 -1
  848. package/lib/components/Sentiment/Sentiment.d.ts.map +1 -1
  849. package/lib/components/Sentiment/Sentiment.js +1 -1
  850. package/lib/components/Sentiment/Sentiment.js.map +1 -1
  851. package/lib/components/Skeleton/ParagraphSkeleton.d.ts.map +1 -1
  852. package/lib/components/Skeleton/ParagraphSkeleton.js +2 -2
  853. package/lib/components/Skeleton/ParagraphSkeleton.js.map +1 -1
  854. package/lib/components/SkipLinks/SkipLinks.d.ts +15 -0
  855. package/lib/components/SkipLinks/SkipLinks.d.ts.map +1 -0
  856. package/lib/components/SkipLinks/SkipLinks.js +67 -0
  857. package/lib/components/SkipLinks/SkipLinks.js.map +1 -0
  858. package/lib/components/SkipLinks/index.d.ts +4 -0
  859. package/lib/components/SkipLinks/index.d.ts.map +1 -0
  860. package/lib/components/SkipLinks/index.js +3 -0
  861. package/lib/components/SkipLinks/index.js.map +1 -0
  862. package/lib/components/Slider/Slider.styles.d.ts +1 -1
  863. package/lib/components/SummaryItem/SummaryItem.d.ts +2 -2
  864. package/lib/components/SummaryList/ViewAll.d.ts.map +1 -1
  865. package/lib/components/SummaryList/ViewAll.js +6 -2
  866. package/lib/components/SummaryList/ViewAll.js.map +1 -1
  867. package/lib/components/Tabs/Tab.d.ts.map +1 -1
  868. package/lib/components/Tabs/Tab.js +11 -4
  869. package/lib/components/Tabs/Tab.js.map +1 -1
  870. package/lib/components/Tabs/TabPanel.d.ts.map +1 -1
  871. package/lib/components/Tabs/TabPanel.js +1 -7
  872. package/lib/components/Tabs/TabPanel.js.map +1 -1
  873. package/lib/components/Tabs/Tabs.d.ts.map +1 -1
  874. package/lib/components/Tabs/Tabs.js +1 -1
  875. package/lib/components/Tabs/Tabs.js.map +1 -1
  876. package/lib/components/Text/Text.js +2 -2
  877. package/lib/components/Text/Text.js.map +1 -1
  878. package/lib/components/TextArea/TextArea.d.ts.map +1 -1
  879. package/lib/components/TextArea/TextArea.js +8 -3
  880. package/lib/components/TextArea/TextArea.js.map +1 -1
  881. package/lib/components/Toaster/Context.d.ts +7 -0
  882. package/lib/components/Toaster/Context.d.ts.map +1 -0
  883. package/lib/components/Toaster/Context.js +6 -0
  884. package/lib/components/Toaster/Context.js.map +1 -0
  885. package/lib/components/Toaster/Toaster.d.ts +8 -40
  886. package/lib/components/Toaster/Toaster.d.ts.map +1 -1
  887. package/lib/components/Toaster/Toaster.js +12 -12
  888. package/lib/components/Toaster/Toaster.js.map +1 -1
  889. package/lib/components/Toaster/Toaster.types.d.ts +31 -0
  890. package/lib/components/Toaster/Toaster.types.d.ts.map +1 -0
  891. package/lib/components/Toaster/Toaster.types.js +2 -0
  892. package/lib/components/Toaster/Toaster.types.js.map +1 -0
  893. package/lib/components/Toaster/index.d.ts +1 -2
  894. package/lib/components/Toaster/index.d.ts.map +1 -1
  895. package/lib/components/Toaster/index.js +0 -1
  896. package/lib/components/Toaster/index.js.map +1 -1
  897. package/lib/components/Tooltip/Tooltip.d.ts +6 -1
  898. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  899. package/lib/components/Tooltip/Tooltip.js +24 -5
  900. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  901. package/lib/components/Tree/StandardTree.d.ts.map +1 -1
  902. package/lib/components/Tree/StandardTree.js +27 -13
  903. package/lib/components/Tree/StandardTree.js.map +1 -1
  904. package/lib/components/Tree/StandardTree.styles.js +3 -3
  905. package/lib/components/Tree/StandardTree.styles.js.map +1 -1
  906. package/lib/components/Tree/StandardTree.types.d.ts +1 -0
  907. package/lib/components/Tree/StandardTree.types.d.ts.map +1 -1
  908. package/lib/components/Tree/StandardTree.types.js.map +1 -1
  909. package/lib/hooks/index.d.ts +3 -0
  910. package/lib/hooks/index.d.ts.map +1 -1
  911. package/lib/hooks/index.js +3 -0
  912. package/lib/hooks/index.js.map +1 -1
  913. package/lib/hooks/useActiveDescendant.d.ts +5 -1
  914. package/lib/hooks/useActiveDescendant.d.ts.map +1 -1
  915. package/lib/hooks/useActiveDescendant.js +179 -100
  916. package/lib/hooks/useActiveDescendant.js.map +1 -1
  917. package/lib/hooks/useAutoResize.d.ts +1 -1
  918. package/lib/hooks/useAutoResize.d.ts.map +1 -1
  919. package/lib/hooks/useAutoResize.js +14 -6
  920. package/lib/hooks/useAutoResize.js.map +1 -1
  921. package/lib/hooks/useBreakpoint.d.ts +3 -2
  922. package/lib/hooks/useBreakpoint.d.ts.map +1 -1
  923. package/lib/hooks/useBreakpoint.js +12 -15
  924. package/lib/hooks/useBreakpoint.js.map +1 -1
  925. package/lib/hooks/useConfiguration.d.ts +1 -0
  926. package/lib/hooks/useConfiguration.d.ts.map +1 -1
  927. package/lib/hooks/useConfiguration.js +9 -2
  928. package/lib/hooks/useConfiguration.js.map +1 -1
  929. package/lib/hooks/useDraggable.d.ts +1 -1
  930. package/lib/hooks/useDraggable.d.ts.map +1 -1
  931. package/lib/hooks/useDraggable.js +35 -8
  932. package/lib/hooks/useDraggable.js.map +1 -1
  933. package/lib/hooks/useFocusTrap.d.ts.map +1 -1
  934. package/lib/hooks/useFocusTrap.js +4 -5
  935. package/lib/hooks/useFocusTrap.js.map +1 -1
  936. package/lib/hooks/useFocusWithin.d.ts.map +1 -1
  937. package/lib/hooks/useFocusWithin.js +0 -8
  938. package/lib/hooks/useFocusWithin.js.map +1 -1
  939. package/lib/hooks/useI18n.d.ts +148 -38
  940. package/lib/hooks/useI18n.d.ts.map +1 -1
  941. package/lib/hooks/useI18n.js +2 -1
  942. package/lib/hooks/useI18n.js.map +1 -1
  943. package/lib/hooks/useInputFormatter.d.ts.map +1 -1
  944. package/lib/hooks/useInputFormatter.js +5 -0
  945. package/lib/hooks/useInputFormatter.js.map +1 -1
  946. package/lib/hooks/useLongPress.d.ts +1 -1
  947. package/lib/hooks/useLongPress.d.ts.map +1 -1
  948. package/lib/hooks/useModalContext.d.ts +7 -0
  949. package/lib/hooks/useModalContext.d.ts.map +1 -0
  950. package/lib/hooks/useModalContext.js +12 -0
  951. package/lib/hooks/useModalContext.js.map +1 -0
  952. package/lib/hooks/useModalManager.d.ts +8 -0
  953. package/lib/hooks/useModalManager.d.ts.map +1 -0
  954. package/lib/hooks/useModalManager.js +16 -0
  955. package/lib/hooks/useModalManager.js.map +1 -0
  956. package/lib/hooks/useOS.d.ts.map +1 -1
  957. package/lib/hooks/useOS.js +1 -2
  958. package/lib/hooks/useOS.js.map +1 -1
  959. package/lib/hooks/useScrollStick.d.ts +1 -1
  960. package/lib/hooks/useScrollStick.d.ts.map +1 -1
  961. package/lib/hooks/useToaster.d.ts +8 -0
  962. package/lib/hooks/useToaster.d.ts.map +1 -0
  963. package/lib/hooks/useToaster.js +16 -0
  964. package/lib/hooks/useToaster.js.map +1 -0
  965. package/lib/hooks/useTransitionState.js +1 -1
  966. package/lib/hooks/useTransitionState.js.map +1 -1
  967. package/lib/i18n/default.d.ts +148 -38
  968. package/lib/i18n/default.d.ts.map +1 -1
  969. package/lib/i18n/default.js +175 -53
  970. package/lib/i18n/default.js.map +1 -1
  971. package/lib/i18n/i18n.d.ts +144 -702
  972. package/lib/i18n/i18n.d.ts.map +1 -1
  973. package/lib/i18n/translate.d.ts +4 -2
  974. package/lib/i18n/translate.d.ts.map +1 -1
  975. package/lib/i18n/translate.js.map +1 -1
  976. package/lib/index.d.ts +9 -2
  977. package/lib/index.d.ts.map +1 -1
  978. package/lib/index.js +9 -2
  979. package/lib/index.js.map +1 -1
  980. package/lib/init.d.ts +8 -0
  981. package/lib/init.d.ts.map +1 -0
  982. package/lib/init.js +5 -0
  983. package/lib/init.js.map +1 -0
  984. package/lib/register-contexts.d.ts +2 -0
  985. package/lib/register-contexts.d.ts.map +1 -0
  986. package/lib/register-contexts.js +10 -0
  987. package/lib/register-contexts.js.map +1 -0
  988. package/lib/styles/GlobalStyle.d.ts.map +1 -1
  989. package/lib/styles/GlobalStyle.js +12 -2
  990. package/lib/styles/GlobalStyle.js.map +1 -1
  991. package/lib/styles/utils.d.ts +1 -1
  992. package/lib/styles/utils.d.ts.map +1 -1
  993. package/lib/styles/utils.js.map +1 -1
  994. package/lib/theme/ThemeMachine.d.ts +11 -3
  995. package/lib/theme/ThemeMachine.d.ts.map +1 -1
  996. package/lib/theme/ThemeMachine.js +28 -26
  997. package/lib/theme/ThemeMachine.js.map +1 -1
  998. package/lib/theme/index.d.ts +1 -0
  999. package/lib/theme/index.d.ts.map +1 -1
  1000. package/lib/theme/index.js +1 -0
  1001. package/lib/theme/index.js.map +1 -1
  1002. package/lib/theme/theme.d.ts +56 -2
  1003. package/lib/theme/theme.d.ts.map +1 -1
  1004. package/lib/theme/themeDefinition.json +37 -5
  1005. package/lib/theme/themeOverrides.schema.json +9 -0
  1006. package/lib/theme/themes/buildTheme.json +0 -3
  1007. package/lib/theme/themes/darkTheme.json +3 -1
  1008. package/lib/theme/themes/legacyBuildTheme.json +0 -3
  1009. package/lib/theme/themes/wssTheme.json +6 -0
  1010. package/lib/types/types.d.ts +3 -0
  1011. package/lib/types/types.d.ts.map +1 -1
  1012. package/lib/types/types.js.map +1 -1
  1013. package/lib/utils/utils.d.ts +11 -0
  1014. package/lib/utils/utils.d.ts.map +1 -1
  1015. package/lib/utils/utils.js +39 -0
  1016. package/lib/utils/utils.js.map +1 -1
  1017. package/package.json +13 -10
  1018. package/lib/components/AppShell/SkipNavigation.d.ts +0 -4
  1019. package/lib/components/AppShell/SkipNavigation.d.ts.map +0 -1
  1020. package/lib/components/AppShell/SkipNavigation.js +0 -61
  1021. package/lib/components/AppShell/SkipNavigation.js.map +0 -1
  1022. package/lib/components/Currency/currencyCodes.d.ts +0 -3
  1023. package/lib/components/Currency/currencyCodes.d.ts.map +0 -1
  1024. package/lib/components/Currency/currencyCodes.js +0 -182
  1025. package/lib/components/Currency/currencyCodes.js.map +0 -1
  1026. package/lib/components/DateTime/types.d.ts +0 -9
  1027. package/lib/components/DateTime/types.d.ts.map +0 -1
  1028. package/lib/components/DateTime/types.js +0 -2
  1029. package/lib/components/DateTime/types.js.map +0 -1
  1030. package/lib/components/Icon/icons/script-solid.icon.d.ts.map +0 -1
  1031. package/lib/components/Icon/icons/script-solid.icon.js +0 -6
  1032. package/lib/components/Icon/icons/script-solid.icon.js.map +0 -1
  1033. package/lib/components/MultiStep/MultiStep.d.ts +0 -6
  1034. package/lib/components/MultiStep/MultiStep.d.ts.map +0 -1
  1035. package/lib/components/MultiStep/MultiStep.js.map +0 -1
  1036. package/lib/components/MultiStep/MultiStep.styles.d.ts.map +0 -1
  1037. package/lib/components/MultiStep/MultiStep.styles.js.map +0 -1
  1038. package/lib/components/MultiStep/MultiStep.types.d.ts +0 -36
  1039. package/lib/components/MultiStep/MultiStep.types.d.ts.map +0 -1
  1040. package/lib/components/MultiStep/MultiStep.types.js +0 -2
  1041. package/lib/components/MultiStep/MultiStep.types.js.map +0 -1
  1042. package/lib/components/MultiStep/index.d.ts +0 -3
  1043. package/lib/components/MultiStep/index.d.ts.map +0 -1
  1044. package/lib/components/MultiStep/index.js +0 -2
  1045. package/lib/components/MultiStep/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.styles.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,IAAI,EAAE,EAAa,UAAU,EAAE,MA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AAI,CACpD,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE;IACpB,OAAO,GAAG,CAAA;QACN,UAAU;mBACC,MAAM;QACf,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC;QAC1C,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC;;KAE/C,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,2BAA2B,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;IAC7C,gBAAgB;;;;;;CAMnB,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAChE,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,EAAE,CAChC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,CACpE,CAAC;IAEF,OAAO,GAAG,CAAA;kCACsB,WAAW;;;GAG1C,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,yBAAyB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE1D,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAC/D,OAAO,GAAG,CAAA;;;eAGG,KAAK,CAAC,IAAI,CAAC,OAAO,aAAa,KAAK,CAAC,IAAI,CAAC,OAAO;;;GAG7D,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,yBAAyB,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\nimport { lighten, mix, readableColor, rgba } from 'polished';\nimport { useContext } from 'react';\n\nimport { StyledAvatar } from '../Avatar';\nimport { StyledIcon } from '../Icon';\nimport { StyledImage } from '../Image/Image';\nimport {\n StyledSearchInput,\n StyledSearchIcon,\n StyledSearchTextInput\n} from '../SearchInput/SearchInput';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils/utils';\nimport { DrawerProps } from '../Drawer';\nimport Flex from '../Flex';\nimport { StyledSummaryItem } from '../SummaryItem';\nimport { readableHue, calculateFontSize, getHoverColors } from '../../styles';\nimport { StyledPopover } from '../Popover';\nimport { StyledEmptyState } from '../EmptyState';\nimport { StyledMenuListContainer } from '../Menu/Menu.styles';\nimport Text, { TextProps, StyledText } from '../Text';\nimport { useDirection } from '../../hooks';\nimport { StyledBareButton } from '../Button/BareButton';\nimport { StyledAlert } from '../Badges/Alert';\n\nimport AppShellContext from './AppShellContext';\n\nconst navWidth = '4rem';\nconst navOpenWidth = '18.75rem';\nconst headerHeight = '3rem';\n\n/* AppShell styles */\n\nexport const StyledAppEnvironment = styled(Flex)<{ color: string }>(\n ({\n color,\n theme: {\n base: {\n spacing,\n 'font-weight': { bold }\n },\n components: {\n 'app-shell': {\n nav: { 'background-color': navColor }\n }\n }\n }\n }) => {\n const foreground = tryCatch(\n () => readableHue(color, color),\n () => readableHue(navColor, navColor)\n );\n\n const shadow = tryCatch(() => rgba(foreground, 0.1));\n\n return css`\n background-color: ${color};\n color: ${foreground};\n box-shadow: inset 0 0 0 0.0625rem ${shadow};\n height: calc(${spacing} * 2.5);\n padding: 0 ${spacing};\n text-align: center;\n text-transform: uppercase;\n font-weight: ${bold};\n overflow: hidden;\n text-overflow: ellipsis;\n `;\n }\n);\n\nStyledAppEnvironment.defaultProps = defaultThemeProp;\n\nexport const StyledAppInfo = styled.a(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n const hoverColor = tryCatch(() =>\n lighten(0.05, theme.components['app-shell'].nav['background-color'])\n );\n\n return css`\n padding: ${theme.base.spacing} calc(${navWidth} / 4);\n grid-template-columns: calc(${navWidth} / 2) auto;\n column-gap: calc(${navWidth} / 4);\n\n a&:hover,\n button&:hover {\n background-color: ${hoverColor};\n text-decoration: none;\n }\n\n &:focus:not([disabled]) {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n\n ${StyledImage} {\n display: inline-block;\n width: calc(${navWidth} / 2);\n }\n\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n span:last-of-type {\n font-size: ${fontSize.xs};\n color: rgba(255, 255, 255, 0.7);\n }\n\n span:first-of-type {\n font-size: ${fontSize.s};\n color: ${theme.base.colors.white};\n }\n `;\n});\n\nStyledAppInfo.defaultProps = defaultThemeProp;\n\nexport const StyledScrollWrap = styled.div(() => {\n const { navOpen } = useContext(AppShellContext);\n\n return css`\n flex-grow: 1;\n overflow-x: hidden;\n overflow-y: ${navOpen ? 'auto' : 'hidden'};\n `;\n});\n\nStyledScrollWrap.defaultProps = defaultThemeProp;\n\nexport const StyledCountIcon = styled.span(\n ({\n theme: {\n base: { spacing }\n }\n }) => {\n return css`\n position: absolute;\n inset-inline-start: calc(4 * ${spacing});\n top: calc(0.5 * ${spacing});\n padding: 0 calc(0.5 * ${spacing});\n `;\n }\n);\n\nStyledCountIcon.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellNavIcon = styled.svg``;\nexport const StyledUtilIconCount = styled.span`\n flex-shrink: 0;\n`;\n\nexport const StyledAppNav = styled.nav<{ appHeader: boolean; showEnv: boolean }>(\n ({ appHeader, showEnv, theme }) => {\n const { navOpen, navState } = useContext(AppShellContext);\n\n return css`\n position: fixed;\n z-index: ${navState !== 'closed'\n ? css`calc(${theme.base['z-index'].backdrop} - 1) `\n : 'auto'};\n background: ${theme.components['app-shell'].nav['background-color']};\n max-width: calc(100vw - ${theme.base['hit-area']['mouse-min']});\n width: ${navOpen ? navOpenWidth : navWidth};\n height: calc(100vh - ${appHeader ? headerHeight : '0rem'});\n overflow: hidden;\n white-space: nowrap;\n transition: width ${`${theme.base.animation.speed} ${theme.base.animation.timing.ease}`};\n padding-block-end: ${theme.base.spacing};\n\n ${!showEnv &&\n css`\n padding-block-start: ${theme.base.spacing};\n `}\n\n @media (min-width: ${theme.base.breakpoints.xl}) {\n z-index: auto;\n\n /* Setting width here keeps the nav width transition in sync with main's margin transition on resize which is also in a media query. */\n width: ${navOpenWidth};\n }\n\n @media (pointer: coarse) {\n max-width: calc(100vw - ${theme.base['hit-area']['finger-min']});\n }\n\n ${theme.base['custom-scrollbar'] &&\n css`\n * {\n scrollbar-color: rgba(255, 255, 255, 0.6) rgba(0, 0, 0, 0.2);\n scrollbar-width: thin;\n }\n\n @supports not ((scrollbar-width: thin) or (scrollbar-color: black white)) {\n /* stylelint-disable unit-allowed-list */\n\n *::-webkit-scrollbar {\n width: 12px;\n height: 12px;\n }\n\n *::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.2);\n }\n\n *::-webkit-scrollbar-corner {\n background-color: rgba(0, 0, 0, 0.2);\n border-bottom-right-radius: inherit;\n }\n\n *::-webkit-scrollbar-thumb {\n background-color: transparent;\n border: 3px solid transparent;\n border-radius: calc(1.125 * ${theme.base['border-radius']});\n box-shadow: inset 0 0 2px 4px rgba(255, 255, 255, 0.6);\n }\n\n *::-webkit-scrollbar-thumb:hover {\n box-shadow: inset 0 0 2px 4px rgba(255, 255, 255, 0.7);\n }\n\n *::-webkit-scrollbar-track:horizontal {\n border-bottom-left-radius: inherit;\n }\n\n *::-webkit-scrollbar-track:vertical {\n border-top-right-radius: inherit;\n }\n\n /* stylelint-disable-next-line selector-pseudo-class-no-unknown */\n *::-webkit-scrollbar-track:not(:corner-present) {\n border-bottom-right-radius: inherit;\n }\n\n /* stylelint-enable unit-allowed-list */\n }\n `}\n `;\n }\n);\n\nStyledAppNav.defaultProps = defaultThemeProp;\n\nexport const StyledSearchForm = styled.form(({ theme }) => {\n const borderColor = tryCatch(() =>\n lighten(0.1, theme.components['app-shell'].nav['background-color'])\n );\n\n return css`\n flex-shrink: 0;\n padding: ${theme.base.spacing} 0;\n\n ${StyledSearchInput} {\n margin: 0 calc((${navWidth} - ${theme.base['hit-area']['mouse-min']}) / 2);\n\n &:focus-within {\n box-shadow: ${theme.base.shadow['focus-inverted']};\n\n ${StyledSearchIcon} {\n color: rgba(255, 255, 255, 0.9);\n }\n }\n\n input {\n border-color: ${borderColor};\n\n &::placeholder {\n color: rgba(255, 255, 255, 0.4);\n }\n\n &:focus:not([disabled]) {\n border-color: ${borderColor};\n }\n }\n\n input,\n ${StyledSearchIcon} {\n background: ${borderColor};\n color: rgba(255, 255, 255, 0.7);\n }\n }\n `;\n});\n\nStyledSearchForm.defaultProps = defaultThemeProp;\n\nexport const StyledNavListMenuButton = styled.button(({ theme }) => {\n return css`\n & + ${StyledPopover} {\n &,\n ${StyledMenuListContainer} {\n background-color: ${theme.components['app-shell'].nav['background-color']};\n }\n\n ${StyledMenuListContainer} li {\n color: rgba(255, 255, 255, 0.7);\n background-color: transparent;\n\n &:hover,\n &[data-current='true'] {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.05);\n }\n }\n }\n `;\n});\n\nStyledNavListMenuButton.defaultProps = defaultThemeProp;\n\nexport const StyledCaseClose = styled.button``;\n\nexport const StyledNavListItem = styled.li<{\n nestedListCollapsed: boolean;\n}>(({ theme, nestedListCollapsed }) => {\n const { navOpen } = useContext(AppShellContext);\n const activeBackground = tryCatch(() =>\n rgba('#000000', theme.base.transparency['transparent-4'])\n );\n\n const { rtl } = useDirection();\n\n return css`\n display: block;\n position: relative;\n ${StyledIcon} {\n font-size: 1.25rem;\n }\n\n ${StyledCaseClose} {\n display: flex;\n position: absolute;\n left: ${navOpen ? 'auto' : '100%'};\n opacity: 0;\n &:hover,\n &:focus {\n ${navOpen &&\n css`\n opacity: 1;\n `}\n }\n ${navOpen &&\n css`\n inset-inline-end: 1rem;\n `}\n top: 50%;\n bottom: 50%;\n margin: auto 0;\n color: rgba(255, 255, 255, 0.7);\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n }\n\n > :first-child {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: calc(1.25 * ${theme.base.spacing}) 0;\n white-space: nowrap;\n color: rgba(255, 255, 255, 0.7);\n cursor: pointer;\n font-weight: ${theme.base['font-weight']['semi-bold']};\n text-decoration: none;\n\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n color: inherit;\n white-space: nowrap;\n }\n\n &:hover,\n &:focus {\n color: #ffffff;\n background: rgba(255, 255, 255, 0.05);\n }\n\n &:hover + ${StyledCaseClose}, &:focus + ${StyledCaseClose} {\n ${navOpen &&\n css`\n opacity: 1;\n `}\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n\n ${StyledAppShellNavIcon}:last-child {\n position: absolute;\n left: ${navOpen ? 'auto' : '100%'};\n ${navOpen &&\n css`\n inset-inline-end: 1rem;\n `}\n margin: 0;\n opacity: ${navOpen ? '1' : '0'};\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n\n ${!nestedListCollapsed &&\n css`\n transform: rotateZ(${rtl ? '-90deg' : '90deg'});\n `}\n }\n\n ${StyledAppShellNavIcon}:first-child {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - 1.125rem) / 2);\n }\n }\n\n &[aria-current='page'] > :first-child {\n color: ${theme.base.colors.blue.light};\n background-color: ${activeBackground};\n }\n `;\n});\n\nStyledNavListItem.defaultProps = defaultThemeProp;\n\nexport const StyledNavList = styled.ul``;\n\nexport const StyledNavCasesList = styled.div(({ theme }) => {\n return css`\n ${StyledNavListItem} {\n > :first-child {\n padding: ${theme.base.spacing} 0;\n }\n }\n `;\n});\n\nStyledNavCasesList.defaultProps = defaultThemeProp;\n\nexport const StyledNestedNavList = styled(StyledNavList)(({ theme }) => {\n const background = tryCatch(() => rgba('#000000', theme.base.transparency['transparent-4']));\n return css`\n background: ${background};\n\n ${StyledNavListItem} {\n > :first-child {\n padding-inline-start: ${navWidth};\n font-weight: ${theme.base['font-weight'].normal};\n }\n }\n `;\n});\n\nStyledNestedNavList.defaultProps = defaultThemeProp;\n\nexport const StyledCaseTypes = styled.div(props => {\n const {\n theme: {\n base: {\n animation: {\n speed,\n timing: { ease: acceleration }\n }\n }\n }\n } = props;\n\n return css`\n button {\n ${StyledIcon}:first-of-type {\n transition: transform ${speed} ${acceleration};\n }\n\n &[aria-expanded='false'] ${StyledIcon}:first-of-type {\n transform: none;\n }\n\n &[aria-expanded='true'] ${StyledIcon}:first-of-type {\n transform: rotateZ(45deg);\n }\n }\n `;\n});\n\nStyledCaseTypes.defaultProps = defaultThemeProp;\n\nexport const StyledUtils = styled.div(({ theme }) => {\n const borderColor = tryCatch(() =>\n lighten(0.1, theme.components['app-shell'].nav['background-color'])\n );\n return css`\n border-top: 0.0625rem solid ${borderColor};\n li ${StyledAvatar} {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - ${theme.base['hit-area']['mouse-min']}) / 2);\n font-weight: ${theme.base['font-weight'].normal};\n }\n\n ${StyledBareButton} > ${StyledIcon}:first-child, ${StyledBareButton} > ${StyledUtilIconCount} {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - 1.125rem) / 2);\n }\n `;\n});\n\nStyledUtils.defaultProps = defaultThemeProp;\n\n/* AppHeader styles */\n\nexport const StyledAppHeaderInfo = styled.div<{ centerLogo: boolean }>(({ centerLogo, theme }) => {\n return css`\n & > :first-child {\n vertical-align: top;\n }\n\n & > a,\n & > button {\n cursor: pointer;\n text-decoration: none;\n user-select: none;\n -webkit-user-select: none;\n }\n\n ${StyledImage} {\n height: 1.625rem;\n\n ${centerLogo &&\n css`\n padding-inline-start: ${theme.base.spacing};\n `}\n }\n `;\n});\n\nStyledAppHeaderInfo.defaultProps = defaultThemeProp;\n\nexport const StyledAppHeaderSearchForm = styled.form<{ isMediumOrAbove: boolean }>(\n ({ isMediumOrAbove, theme }) => {\n const backgroundColor = theme.base.palette['app-background'];\n const headerColor = theme.components['app-shell'].header['background-color'];\n const contrastColor = tryCatch(() => readableColor(headerColor));\n\n return css`\n max-width: 33vw;\n min-width: 10rem;\n width: 100%;\n justify-self: center;\n margin-inline-start: 0;\n margin-inline-end: auto;\n transition: max-width ${theme.base.animation.speed} ${theme.base.animation.timing.ease};\n\n ${StyledSearchInput} {\n ${StyledSearchIcon} {\n background: ${backgroundColor};\n }\n\n ${StyledSearchTextInput} {\n background: ${backgroundColor};\n border-color: ${backgroundColor};\n }\n }\n\n ${!isMediumOrAbove &&\n css`\n max-width: 2rem;\n min-width: 2rem;\n margin-inline-start: auto;\n margin-inline-end: 0;\n\n &:not([focused]) {\n ${StyledSearchInput} {\n ${StyledSearchIcon} {\n background: ${headerColor};\n color: ${contrastColor};\n }\n\n ${StyledSearchTextInput} {\n background: ${headerColor};\n border-color: ${headerColor};\n\n &:hover:not(:focus) {\n border-color: ${headerColor};\n }\n }\n }\n }\n\n &:focus-within {\n max-width: 100%;\n min-width: 10rem;\n\n ${StyledSearchInput} {\n ${StyledSearchIcon} {\n background: ${backgroundColor};\n }\n\n ${StyledSearchTextInput} {\n background: ${backgroundColor};\n border-color: ${backgroundColor};\n\n &:hover:not(:focus) {\n border-color: ${contrastColor};\n }\n }\n }\n }\n `}\n `;\n }\n);\n\nStyledAppHeaderSearchForm.defaultProps = defaultThemeProp;\n\nexport const StyledAppHeaderSpacer = styled.div`\n margin: auto;\n`;\n\nexport const StyledAppHeaderText = styled(Text)<{ variant: TextProps['variant'] }>(\n ({ theme, variant }) => {\n const contrastColor = tryCatch(() =>\n readableColor(theme.components['app-shell'].header['background-color'])\n );\n const secondaryColor = tryCatch(() =>\n rgba(\n contrastColor ?? theme.base.palette['foreground-color'],\n theme.base.transparency['transparent-2']\n )\n );\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n color: ${variant === 'secondary' ? secondaryColor : contrastColor};\n font-size: ${fontSize.s};\n\n ${variant !== 'secondary' &&\n css`\n font-weight: ${theme.base['font-weight']['semi-bold']};\n `}\n `;\n }\n);\n\nStyledAppHeaderText.defaultProps = defaultThemeProp;\n\nexport const StyledAppHeaderOperator = styled.button(\n ({ theme }) => css`\n border-radius: 50%;\n\n :focus {\n box-shadow: ${theme.base.shadow.focus};\n }\n `\n);\n\nStyledAppHeaderOperator.defaultProps = defaultThemeProp;\n\nexport const StyledAppHeader = styled.header<{ hideTitle: boolean }>(({ hideTitle, theme }) => {\n const headerColor = theme.components['app-shell'].header['background-color'];\n const contrastColor = tryCatch(() => readableColor(headerColor));\n const hoverColors = getHoverColors(mix(0.01, theme.base.palette.interactive, headerColor));\n\n return css`\n position: sticky;\n z-index: ${theme.base['z-index'].drawer};\n top: 0;\n gap: ${theme.base.spacing};\n max-width: 100%;\n height: ${headerHeight};\n background-color: ${headerColor};\n border-bottom: solid 0.0625rem ${theme.base.palette['border-line']};\n\n > :first-child {\n justify-self: flex-start;\n min-width: 33vw;\n\n ${hideTitle &&\n css`\n min-width: fit-content;\n `}\n }\n\n > ${StyledAppHeaderOperator} {\n justify-self: flex-end;\n\n + ${StyledPopover} {\n &,\n ${StyledMenuListContainer} {\n background-color: ${headerColor};\n }\n\n ${StyledMenuListContainer} li {\n color: ${contrastColor};\n background-color: transparent;\n\n &:hover,\n &[data-current='true'] {\n color: ${hoverColors.foreground};\n background-color: ${hoverColors.background};\n }\n }\n }\n }\n `;\n});\n\nStyledAppHeader.defaultProps = defaultThemeProp;\n\n/* Mobile AppShell styles */\n\nexport const StyledMobileNav = styled.header(({ theme }) => {\n const mobileNavColor = theme.base.palette['brand-primary'];\n\n const contrastColor = tryCatch(() => readableColor(mobileNavColor));\n\n return css`\n min-width: 100%;\n min-height: ${headerHeight};\n z-index: ${theme.base['z-index'].drawer};\n background-color: ${mobileNavColor};\n color: ${contrastColor};\n position: sticky;\n top: 0;\n padding-inline-start: ${theme.base.spacing};\n\n @media (pointer: coarse) {\n padding-inline-start: 0;\n }\n `;\n});\n\nStyledMobileNav.defaultProps = defaultThemeProp;\n\n/* AppShell Drawer styles */\n\nexport const StyledDrawerWrapper = styled.div<DrawerProps>(({ theme, open }) => {\n return css`\n background: ${theme.components['app-shell'].nav['background-color']};\n width: 100%;\n height: 100%;\n color: rgba(255, 255, 255, 0.7);\n opacity: ${open ? 1 : 0};\n `;\n});\n\nStyledDrawerWrapper.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerHeading = styled.header(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});\n line-height: 1;\n\n span {\n font-size: ${fontSize.s};\n font-weight: ${theme.base['font-weight']['semi-bold']};\n margin: 0 auto;\n position: relative;\n left: -0.7rem;\n }\n\n svg {\n font-size: ${fontSize.xxl};\n cursor: pointer;\n color: rgba(255, 255, 255, 0.7);\n }\n `;\n});\n\nStyledDrawerHeading.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerBackButton = styled.button(({ theme }) => {\n return css`\n height: ${theme.base['hit-area']['mouse-min']};\n width: ${theme.base['hit-area']['mouse-min']};\n border-radius: calc(\n ${`${theme.base['border-radius']} * ${theme.components.button['border-radius']}`}\n );\n\n &:hover,\n &:focus {\n color: ${theme.base.colors.white};\n background-color: rgba(255, 255, 255, 0.05);\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n `;\n});\n\nStyledDrawerBackButton.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerList = styled.ul<{ displayPins: boolean }>(() => {\n return css``;\n});\n\nStyledDrawerList.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerMetaList = styled.ul`\n li {\n color: inherit;\n }\n`;\n\nexport const StyledDrawerPinButton = styled.button(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n const { ltr } = useDirection();\n\n return css`\n color: inherit;\n padding: calc(2 * ${theme.base.spacing});\n cursor: pointer;\n font-size: ${fontSize.xxl};\n\n ${StyledIcon} {\n display: block;\n ${ltr &&\n css`\n transform: scaleX(-1);\n `}\n }\n\n &:hover,\n &:focus {\n color: ${theme.base.colors.white};\n background-color: rgba(255, 255, 255, 0.05);\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n `;\n});\n\nStyledDrawerPinButton.defaultProps = defaultThemeProp;\n\nexport const EmptyDrawerVisual = styled.div(({ theme }) => {\n return css`\n width: calc(4 * ${theme.base.spacing});\n height: calc(4 * ${theme.base.spacing});\n `;\n});\n\nEmptyDrawerVisual.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerListHeading = styled.h3(({ theme }) => {\n return css`\n position: sticky;\n top: 0;\n padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});\n background-color: hsl(207 14% 13% / 1);\n z-index: 1;\n `;\n});\n\nStyledDrawerListHeading.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerViewAll = styled.a(({ theme }) => {\n return css`\n position: sticky;\n bottom: 0;\n padding: ${theme.base.spacing} 0;\n color: inherit;\n background-color: ${theme.components['app-shell'].nav['background-color']};\n text-align: center;\n margin-top: 0.0625rem;\n\n &:hover,\n &:focus {\n color: ${theme.base.colors.white};\n box-shadow: unset;\n }\n `;\n});\n\nStyledDrawerViewAll.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerListSection = styled.div(({ theme }) => {\n const borderColor = tryCatch(() =>\n lighten(0.1, theme.components['app-shell'].nav['background-color'])\n );\n\n return css`\n border-top: 0.0625rem solid ${borderColor};\n min-height: max(20%, 8rem);\n overflow-y: auto;\n `;\n});\n\nStyledDrawerListSection.defaultProps = defaultThemeProp;\n\nexport const StyledDrawerListContainer = styled.div(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n\n return css`\n height: calc(100% - 4 * ${theme.base.spacing} - ${fontSize.xxl});\n overflow: auto;\n `;\n});\n\nStyledDrawerListContainer.defaultProps = defaultThemeProp;\n\nexport const StyledLoading = styled.div`\n font-size: 2rem;\n`;\n\n/* Main content region styles */\n\nexport const StyledAppMain = styled.main<{\n appHeader: boolean;\n mobileNav: boolean;\n headerOffset?: number;\n}>(({ appHeader, mobileNav, headerOffset = 0, theme }) => {\n const heightOffset = appHeader || mobileNav ? headerHeight : '0rem';\n\n return css`\n --appshell-offset: ${headerOffset}px;\n position: relative;\n margin-inline-start: ${mobileNav ? 0 : navWidth};\n min-height: calc(100vh - ${heightOffset});\n background-color: ${theme.base.palette['app-background']};\n\n :focus {\n outline: none;\n }\n\n @media (min-width: ${theme.base.breakpoints.xl}) {\n margin-inline-start: ${navOpenWidth};\n }\n\n ${!mobileNav &&\n css`\n transition: margin-inline-start\n ${`${theme.base.animation.speed} ${theme.base.animation.timing.ease}`};\n `}\n `;\n});\n\nStyledAppMain.defaultProps = defaultThemeProp;\n\nexport const StyledBannerRegion = styled.div(({ theme }) => {\n return css`\n padding: calc(2 * ${theme.base.spacing});\n `;\n});\n\nStyledBannerRegion.defaultProps = defaultThemeProp;\n\n/* AppShellList styles */\nexport const StyledAppShellListWrapper = styled.div(({ theme }) => {\n return css`\n max-height: 100%;\n white-space: nowrap;\n\n ${StyledSummaryItem} {\n position: relative;\n &::after {\n content: '';\n position: absolute;\n top: calc(100% - 0.03125rem);\n inset-inline-end: 1rem;\n inset-inline-start: 1rem;\n height: 0.0625rem;\n background-color: ${theme.base.colors.gray['extra-dark']};\n }\n }\n `;\n});\n\nStyledAppShellListWrapper.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellList = styled.ul``;\n\nStyledAppShellList.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellSummaryItem = styled.div(({ theme }) => {\n return css`\n padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});\n color: inherit;\n background-color: transparent;\n border: none;\n text-decoration: none;\n cursor: pointer;\n text-align: start;\n white-space: normal;\n\n &:hover,\n &:focus {\n color: ${theme.base.colors.white};\n background-color: rgba(255, 255, 255, 0.05);\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n `;\n});\n\nStyledAppShellSummaryItem.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellMetaList = styled.ul`\n li {\n color: inherit;\n }\n`;\n\nexport const StyledAppShellPinButton = styled.button(({ theme }) => {\n return css`\n color: inherit;\n border: none;\n background-color: transparent;\n\n &:hover,\n &:focus {\n color: ${theme.base.colors.white};\n background-color: rgba(255, 255, 255, 0.05);\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n `;\n});\n\nStyledAppShellPinButton.defaultProps = defaultThemeProp;\n\nexport const StyledNotificationVisual = styled.span<{ unread?: boolean; visualIncluded?: boolean }>(\n ({ theme, unread, visualIncluded }) => {\n return css`\n position: relative;\n ${StyledAlert} {\n display: ${unread ? 'auto' : 'none'};\n position: absolute;\n inset-inline-start: -0.65625rem;\n top: ${visualIncluded ? 'calc(50% - 0.15625rem)' : '0.5rem'};\n background-color: ${theme.base.palette.light};\n height: 0.3125rem;\n width: 0.3125rem;\n } ;\n `;\n }\n);\n\nStyledNotificationVisual.defaultProps = defaultThemeProp;\n\nexport const StyledNotificationPrimary = styled.span<{ unread?: boolean }>(({ theme, unread }) => {\n return css`\n font-weight: ${unread\n ? theme.base['font-weight'].bold\n : theme.base['font-weight']['semi-bold']};\n color: ${unread ? theme.base.palette.light : 'inherit'};\n `;\n});\n\nStyledNotificationPrimary.defaultProps = defaultThemeProp;\n\nexport const StyledNotificationSecondary = styled.span<{ unread?: boolean }>(\n ({ theme, unread }) => {\n return css`\n ${StyledText} {\n opacity: ${unread\n ? theme.base.transparency['transparent-1']\n : theme.base.transparency['transparent-3']};\n }\n `;\n }\n);\n\nStyledNotificationSecondary.defaultProps = defaultThemeProp;\n\nexport const EmptyStateColorContrast = styled.div`\n ${StyledEmptyState} {\n span,\n svg {\n color: rgba(255, 255, 255, 0.7);\n }\n }\n`;\n\nexport const StyledAppShellListSection = styled.div(({ theme }) => {\n const borderColor = tryCatch(() =>\n lighten(0.1, theme.components['app-shell'].nav['background-color'])\n );\n\n return css`\n border-top: 0.0625rem solid ${borderColor};\n min-height: max(20%, 8rem);\n overflow-y: auto;\n `;\n});\n\nStyledAppShellListSection.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellListHeading = styled.h3(({ theme }) => {\n return css`\n position: sticky;\n top: 0;\n padding: ${theme.base.spacing} calc(2 * ${theme.base.spacing});\n background-color: hsl(207 14% 13% / 1);\n z-index: 1;\n `;\n});\n\nStyledAppShellListHeading.defaultProps = defaultThemeProp;\n"]}
1
+ {"version":3,"file":"AppShell.styles.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B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;GACvC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,kBAAkB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEnD,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACvE,OAAO,GAAG,CAAA;wBACY,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;;;;;MAK9D,cAAc;0BACM,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;eACvD,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK;;;;4BAIX,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;sBAClD,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;;;GAGtD,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,qBAAqB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEtD,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC,CAAoB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAC9F,OAAO,GAAG,CAAA;wBACY,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI;aAClC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK;;2BAEV,KAAK,CAAC,IAAI,CAAC,OAAO;MACvC,IAAI;QACN,GAAG,CAAA;;KAEF;;MAEC,UAAU;;;;;;;;oBAQI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;;GAEpD,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,0BAA0B,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\nimport { lighten, readableColor, rgba } from 'polished';\nimport { useContext } from 'react';\n\nimport { StyledAvatar } from '../Avatar';\nimport { StyledIcon } from '../Icon';\nimport { StyledImage } from '../Image/Image';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils/utils';\nimport Flex from '../Flex';\nimport { readableHue, calculateFontSize } from '../../styles';\nimport { StyledMenuItem } from '../Menu/Menu.styles';\nimport { useDirection } from '../../hooks';\nimport { StyledBareButton } from '../Button/BareButton';\nimport Button from '../Button';\nimport { StyledTooltip } from '../Tooltip';\n\nimport AppShellContext from './AppShellContext';\n\nexport const navWidth = '4rem';\nexport const navOpenWidth = '18.75rem';\nexport const headerHeight = '3rem';\n\n/* AppShell styles */\n\nexport const StyledAppEnvironment = styled(Flex)<{ color: string }>(\n ({\n color,\n theme: {\n base: {\n spacing,\n 'font-weight': { bold }\n },\n components: {\n 'app-shell': {\n nav: { 'background-color': navColor }\n }\n }\n }\n }) => {\n const foreground = tryCatch(\n () => readableHue(color, color),\n () => readableHue(navColor, navColor)\n );\n\n const shadow = tryCatch(() => rgba(foreground, 0.1));\n\n return css`\n background-color: ${color};\n color: ${foreground};\n box-shadow: inset 0 0 0 0.0625rem ${shadow};\n height: calc(${spacing} * 2.5);\n padding: 0 ${spacing};\n text-align: center;\n text-transform: uppercase;\n font-weight: ${bold};\n overflow: hidden;\n text-overflow: ellipsis;\n `;\n }\n);\n\nStyledAppEnvironment.defaultProps = defaultThemeProp;\n\nexport const StyledAppInfo = styled.a(({ theme }) => {\n const fontSize = calculateFontSize(theme.base['font-size'], theme.base['font-scale']);\n const hoverColor = tryCatch(() =>\n lighten(0.05, theme.components['app-shell'].nav['background-color'])\n );\n\n return css`\n padding: ${theme.base.spacing} calc(${navWidth} / 4);\n grid-template-columns: calc(${navWidth} / 2) auto;\n column-gap: calc(${navWidth} / 4);\n\n a&:hover,\n button&:hover {\n background-color: ${hoverColor};\n text-decoration: none;\n }\n\n &:focus:not([disabled]) {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n\n ${StyledImage} {\n display: inline-block;\n width: calc(${navWidth} / 2);\n }\n\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n span:last-of-type {\n font-size: ${fontSize.xs};\n color: rgba(255, 255, 255, 0.7);\n }\n\n span:first-of-type {\n font-size: ${fontSize.s};\n color: ${theme.base.colors.white};\n }\n `;\n});\n\nStyledAppInfo.defaultProps = defaultThemeProp;\n\nexport const StyledScrollWrap = styled.div(() => {\n return css`\n flex-grow: 1;\n overflow-x: hidden;\n overflow-y: auto;\n `;\n});\n\nStyledScrollWrap.defaultProps = defaultThemeProp;\n\nexport const StyledCountIcon = styled.span(\n ({\n theme: {\n base: { spacing }\n }\n }) => {\n return css`\n position: absolute;\n inset-inline-start: calc(4 * ${spacing});\n top: calc(0.5 * ${spacing});\n padding: 0 calc(0.5 * ${spacing});\n `;\n }\n);\n\nStyledCountIcon.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellNavIcon = styled.svg``;\nexport const StyledUtilIconCount = styled.span`\n flex-shrink: 0;\n`;\n\nexport const StyledAppNav = styled.nav<{ appHeader: boolean; showEnv: boolean }>(\n ({ appHeader, showEnv, theme }) => {\n const { navOpen } = useContext(AppShellContext);\n\n return css`\n position: fixed;\n z-index: calc(${theme.base['z-index'].backdrop} - 1);\n background: ${theme.components['app-shell'].nav['background-color']};\n max-width: calc(100vw - ${theme.base['hit-area']['mouse-min']});\n width: ${navOpen ? navOpenWidth : navWidth};\n height: calc(100vh - ${appHeader ? headerHeight : '0rem'});\n overflow: hidden;\n white-space: nowrap;\n transition: width ${`${theme.base.animation.speed} ${theme.base.animation.timing.ease}`};\n padding-block-end: ${theme.base.spacing};\n\n ${!showEnv &&\n css`\n padding-block-start: ${theme.base.spacing};\n `}\n\n @media (pointer: coarse) {\n max-width: calc(100vw - ${theme.base['hit-area']['finger-min']});\n }\n\n ${theme.base['custom-scrollbar'] &&\n css`\n * {\n scrollbar-color: rgba(255, 255, 255, 0.6) rgba(0, 0, 0, 0.2);\n scrollbar-width: thin;\n }\n\n @supports not ((scrollbar-width: thin) or (scrollbar-color: black white)) {\n /* stylelint-disable unit-allowed-list */\n\n *::-webkit-scrollbar {\n width: 12px;\n height: 12px;\n }\n\n *::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.2);\n }\n\n *::-webkit-scrollbar-corner {\n background-color: rgba(0, 0, 0, 0.2);\n border-bottom-right-radius: inherit;\n }\n\n *::-webkit-scrollbar-thumb {\n background-color: transparent;\n border: 3px solid transparent;\n border-radius: calc(1.125 * ${theme.base['border-radius']});\n box-shadow: inset 0 0 2px 4px rgba(255, 255, 255, 0.6);\n }\n\n *::-webkit-scrollbar-thumb:hover {\n box-shadow: inset 0 0 2px 4px rgba(255, 255, 255, 0.7);\n }\n\n *::-webkit-scrollbar-track:horizontal {\n border-bottom-left-radius: inherit;\n }\n\n *::-webkit-scrollbar-track:vertical {\n border-top-right-radius: inherit;\n }\n\n /* stylelint-disable-next-line selector-pseudo-class-no-unknown */\n *::-webkit-scrollbar-track:not(:corner-present) {\n border-bottom-right-radius: inherit;\n }\n\n /* stylelint-enable unit-allowed-list */\n }\n `}\n `;\n }\n);\n\nStyledAppNav.defaultProps = defaultThemeProp;\n\nexport const StyledCaseClose = styled.button``;\n\nexport const StyledNavListItem = styled.li<{\n nestedListCollapsed: boolean;\n}>(({ theme, nestedListCollapsed }) => {\n const { navOpen } = useContext(AppShellContext);\n const activeBackground = tryCatch(() =>\n rgba('#000000', theme.base.transparency['transparent-4'])\n );\n\n const { rtl } = useDirection();\n\n return css`\n display: block;\n position: relative;\n ${StyledIcon} {\n font-size: 1.25rem;\n }\n\n ${StyledCaseClose} {\n display: flex;\n position: absolute;\n left: ${navOpen ? 'auto' : '100%'};\n opacity: 0;\n &:hover,\n &:focus {\n ${navOpen &&\n css`\n opacity: 1;\n `}\n }\n ${navOpen &&\n css`\n inset-inline-end: 1rem;\n `}\n top: 50%;\n bottom: 50%;\n margin: auto 0;\n color: rgba(255, 255, 255, 0.7);\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n }\n\n > :first-child {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: calc(1.25 * ${theme.base.spacing}) 0;\n white-space: nowrap;\n color: rgba(255, 255, 255, 0.7);\n cursor: pointer;\n font-weight: ${theme.base['font-weight']['semi-bold']};\n text-decoration: none;\n\n span:not(${StyledCountIcon}) {\n overflow: hidden;\n text-overflow: ellipsis;\n color: inherit;\n white-space: nowrap;\n }\n\n &:hover,\n &:focus {\n color: #ffffff;\n background: rgba(255, 255, 255, 0.05);\n }\n\n &:hover + ${StyledCaseClose}, &:focus + ${StyledCaseClose} {\n ${navOpen &&\n css`\n opacity: 1;\n `}\n }\n\n &:focus {\n outline: none;\n box-shadow: inset ${theme.base.shadow['focus-inverted']};\n }\n\n ${StyledAppShellNavIcon}:last-child {\n position: absolute;\n left: ${navOpen ? 'auto' : '100%'};\n ${navOpen &&\n css`\n inset-inline-end: 1rem;\n `}\n margin: 0;\n opacity: ${navOpen ? '1' : '0'};\n transition-property: transform, opacity;\n transition-duration: ${theme.base.animation.speed};\n transition-timing-function: ${theme.base.animation.timing.ease};\n\n ${!nestedListCollapsed &&\n css`\n transform: rotateZ(${rtl ? '-90deg' : '90deg'});\n `}\n }\n\n ${StyledAppShellNavIcon}:first-child {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - 1.125rem) / 2);\n }\n }\n\n &[aria-current='page'] > :first-child {\n color: ${theme.base.colors.blue.light};\n background-color: ${activeBackground};\n }\n `;\n});\n\nStyledNavListItem.defaultProps = defaultThemeProp;\n\nexport const StyledNavList = styled.ul``;\n\nexport const StyledNavCasesList = styled.div(({ theme }) => {\n return css`\n ${StyledNavListItem} {\n > :first-child {\n padding: ${theme.base.spacing} 0;\n }\n }\n `;\n});\n\nStyledNavCasesList.defaultProps = defaultThemeProp;\n\nexport const StyledNestedNavList = styled(StyledNavList)(({ theme }) => {\n const background = tryCatch(() => rgba('#000000', theme.base.transparency['transparent-4']));\n return css`\n background: ${background};\n\n ${StyledNavListItem} {\n > :first-child {\n padding-inline-start: ${navWidth};\n font-weight: ${theme.base['font-weight'].normal};\n }\n }\n `;\n});\n\nStyledNestedNavList.defaultProps = defaultThemeProp;\n\nexport const StyledCaseTypes = styled.div(props => {\n const {\n theme: {\n base: {\n animation: {\n speed,\n timing: { ease: acceleration }\n }\n }\n }\n } = props;\n\n return css`\n button {\n ${StyledIcon}:first-of-type {\n transition: transform ${speed} ${acceleration};\n }\n\n &[aria-expanded='false'] ${StyledIcon}:first-of-type {\n transform: none;\n }\n\n &[aria-expanded='true'] ${StyledIcon}:first-of-type {\n transform: rotateZ(45deg);\n }\n }\n `;\n});\n\nStyledCaseTypes.defaultProps = defaultThemeProp;\n\nexport const StyledUtils = styled.div(({ theme }) => {\n const borderColor = tryCatch(() =>\n lighten(0.1, theme.components['app-shell'].nav['background-color'])\n );\n return css`\n border-top: 0.0625rem solid ${borderColor};\n li ${StyledAvatar} {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - ${theme.base['hit-area']['mouse-min']}) / 2);\n font-weight: ${theme.base['font-weight'].normal};\n }\n\n ${StyledBareButton} > ${StyledIcon}:first-child, ${StyledBareButton} > ${StyledUtilIconCount} {\n flex-shrink: 0;\n margin: 0 calc((${navWidth} - 1.125rem) / 2);\n }\n `;\n});\n\nStyledUtils.defaultProps = defaultThemeProp;\n\n/* Mobile AppShell styles */\n\nexport const StyledMobileNav = styled.header(({ theme }) => {\n const mobileNavColor = theme.base.palette['brand-primary'];\n\n const contrastColor = tryCatch(() => readableColor(mobileNavColor));\n\n return css`\n min-width: 100%;\n min-height: ${headerHeight};\n z-index: ${theme.base['z-index'].drawer};\n background-color: ${mobileNavColor};\n color: ${contrastColor};\n position: sticky;\n top: 0;\n padding-inline-start: ${theme.base.spacing};\n\n @media (pointer: coarse) {\n padding-inline-start: 0;\n }\n `;\n});\n\nStyledMobileNav.defaultProps = defaultThemeProp;\n\nexport const StyledLoading = styled.div`\n font-size: 2rem;\n`;\n\n/* Main content region styles */\n\nexport const StyledAppMain = styled.main<{\n appHeader: boolean;\n mobileNav: boolean;\n navOpen: boolean;\n headerOffset?: number;\n}>(({ appHeader, mobileNav, navOpen, headerOffset = 0, theme }) => {\n const heightOffset = appHeader || mobileNav ? headerHeight : '0rem';\n\n return css`\n --appshell-offset: ${headerOffset}px;\n\n /* stylelint-disable-next-line length-zero-no-unit */\n --appshell-horizontal-offset: 0rem;\n\n @media (min-width: ${theme.base.breakpoints.sm}) {\n --appshell-horizontal-offset: ${navOpen ? navOpenWidth : navWidth};\n }\n position: relative;\n margin-inline-start: ${mobileNav ? 0 : navWidth};\n min-height: calc(100vh - ${heightOffset});\n background-color: ${theme.base.palette['app-background']};\n\n :focus {\n outline: none;\n }\n\n ${navOpen &&\n !mobileNav &&\n css`\n margin-inline-start: ${navOpenWidth};\n `}\n\n ${!mobileNav &&\n css`\n transition: margin-inline-start\n ${`${theme.base.animation.speed} ${theme.base.animation.timing.ease}`};\n `}\n `;\n});\n\nStyledAppMain.defaultProps = defaultThemeProp;\n\nexport const StyledBannerRegion = styled.div(({ theme }) => {\n return css`\n padding: calc(2 * ${theme.base.spacing});\n `;\n});\n\nStyledBannerRegion.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellTooltip = styled(StyledTooltip)(({ theme }) => {\n return css`\n background-color: ${theme.components.tooltip['background-color']};\n padding: 0;\n header {\n border-bottom: none;\n }\n ${StyledMenuItem} {\n background-color: ${theme.components.tooltip['background-color']};\n color: ${theme.base.palette.light};\n\n &:hover,\n &:focus {\n background-color: ${theme.components.tooltip['background-color']};\n box-shadow: ${theme.base.shadow['focus-inverted']};\n }\n }\n `;\n});\n\nStyledAppShellTooltip.defaultProps = defaultThemeProp;\n\nexport const StyledAppShellToggleButton = styled(Button)<{ open: boolean }>(({ theme, open }) => {\n return css`\n background-color: ${theme.base.palette.dark};\n color: ${theme.base.palette.light};\n border: none;\n margin-top: calc(1 * ${theme.base.spacing});\n ${open &&\n css`\n padding-inline: 1rem;\n `}\n\n ${StyledIcon} {\n width: 1.25rem;\n height: 1.25rem;\n font-weight: bold;\n }\n\n &:enabled:focus,\n :not([disabled]):focus {\n box-shadow: ${theme.base.shadow['focus-inverted']};\n }\n `;\n});\n\nStyledAppShellToggleButton.defaultProps = defaultThemeProp;\n"]}
@@ -1,11 +1,13 @@
1
- import { KeyboardEvent, MouseEvent, MouseEventHandler, ReactNode, Ref } from 'react';
2
- import { Action, AsProp, BaseProps, ForwardProps, NoChildrenProp } from '../../types';
1
+ import { KeyboardEvent, MouseEvent, MouseEventHandler, ReactElement, ReactNode, Ref, RefObject } from 'react';
2
+ import { AsProp, BaseProps, ForwardProps, NoChildrenProp } from '../../types';
3
3
  import { ImageProps } from '../Image';
4
4
  import { SearchInputProps } from '../SearchInput';
5
5
  /** AppShell props */
6
6
  export interface AppInfoProps {
7
7
  /** The primary text to render in the header. */
8
8
  appName: string;
9
+ /** If true, the appName will not be visibly displayed on screen. */
10
+ appNameHidden?: boolean;
9
11
  /** The source for a small application image or logo that is rendered in the nav bar. */
10
12
  imageSrc: ImageProps['src'];
11
13
  /** The source for the full size application image or logo that is rendered in the app header, if enabled. */
@@ -19,7 +21,7 @@ export interface AppInfoProps {
19
21
  /** Specifies where to open the link href. */
20
22
  target?: string;
21
23
  }
22
- export interface AppShellProps extends BaseProps, AppShellDrawerProps, NoChildrenProp {
24
+ export interface AppShellProps extends BaseProps, NoChildrenProp {
23
25
  /** Props related to the App Shell header. */
24
26
  appInfo: AppInfoProps;
25
27
  /** The content of the application. */
@@ -28,6 +30,8 @@ export interface AppShellProps extends BaseProps, AppShellDrawerProps, NoChildre
28
30
  operator: OperatorProps;
29
31
  /** If true, a header will render containing the logo and name of the app as well as search and operator regions. */
30
32
  appHeader?: boolean;
33
+ /** If true, the search results page will replace the search input in the app header with its own */
34
+ searchPage?: boolean;
31
35
  /** Props related to the Search Input. */
32
36
  searchInput?: SearchInputProps;
33
37
  /**
@@ -48,9 +52,12 @@ export interface AppShellProps extends BaseProps, AppShellDrawerProps, NoChildre
48
52
  color?: string;
49
53
  };
50
54
  /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */
51
- utils?: UtilItemProps[];
55
+ utils?: (UtilItemProps | ReactElement)[];
52
56
  /** Banners will render above the main content if they are provided. */
53
57
  banners?: ReactNode;
58
+ defaultExpanded?: boolean;
59
+ /** When the navigation is collapsed menus will be shown on hover instead of on click */
60
+ collapsedHoverMenus?: boolean;
54
61
  }
55
62
  export interface CaseTypeProps {
56
63
  /** The display name of the case. */
@@ -86,15 +93,15 @@ export interface CaseProps extends ForwardProps {
86
93
  /** Determines if the case represents the active page. */
87
94
  active?: boolean;
88
95
  /** Click handler for the case . */
89
- onClick?: MouseEventHandler<HTMLButtonElement>;
96
+ onClick?: MouseEventHandler<HTMLElement>;
90
97
  /** Dismiss handler for the case. */
91
- onDismiss?: MouseEventHandler<HTMLButtonElement>;
98
+ onDismiss?: MouseEventHandler<HTMLElement>;
92
99
  }
93
100
  export interface OperatorProps {
94
101
  /** A visual element identifying the operator. */
95
102
  avatar: ReactNode;
96
103
  /** A list of actions that will populate a menu attached to the operator. */
97
- actions: Action[];
104
+ actions: Pick<NavListItemProps, 'id' | 'primary' | 'href' | 'onClick' | 'visual'>[];
98
105
  /** The name of the operator. */
99
106
  name: string;
100
107
  }
@@ -115,27 +122,35 @@ export interface UtilsProps {
115
122
  /** The active user of the application. */
116
123
  operator: AppShellProps['operator'];
117
124
  /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */
118
- items?: UtilItemProps[];
125
+ items?: (UtilItemProps | ReactElement)[];
119
126
  appHeader?: boolean;
120
127
  }
121
128
  export interface NavListProps extends AsProp, BaseProps {
122
- items?: NavListItemProps[];
129
+ items?: (NavListItemProps | ReactElement)[];
123
130
  nestedList?: boolean;
124
131
  collapsed?: boolean;
125
132
  id?: string;
126
133
  }
127
- export interface NavListItemProps extends AsProp, BaseProps, ForwardProps {
134
+ export interface NavListItemWrapperProps extends ForwardProps {
135
+ label: string;
136
+ tooltipLabel: string;
137
+ content?: ReactNode;
138
+ items?: NavListItemProps[];
139
+ onMenuToggle?: (state: 'open' | 'close') => void;
140
+ childElementRef: RefObject<HTMLElement>;
141
+ }
142
+ export interface NavListItemProps extends AsProp, BaseProps, ForwardProps, NoChildrenProp {
128
143
  id?: string;
129
144
  visual?: ReactNode;
130
145
  primary: string;
131
146
  secondary?: string;
132
147
  href?: string;
133
148
  onClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement>;
134
- active?: boolean;
135
- items?: NavListProps['items'];
149
+ items?: NavListItemProps[];
150
+ collapseItems?: boolean;
136
151
  actions?: OperatorProps['actions'];
137
152
  dismissible?: boolean;
138
- onDismiss?: MouseEventHandler<HTMLButtonElement>;
153
+ onDismiss?: MouseEventHandler<HTMLElement>;
139
154
  forwardedRef?: Ref<HTMLAnchorElement | HTMLDivElement | HTMLButtonElement>;
140
155
  isMenuItem?: boolean;
141
156
  }
@@ -147,6 +162,7 @@ export interface AppHeaderProps extends BaseProps, AppInfoProps {
147
162
  operator: AppShellProps['operator'];
148
163
  searchInput?: AppShellProps['searchInput'];
149
164
  searchLabel?: AppShellProps['searchLabel'];
165
+ searchPage?: AppShellProps['searchPage'];
150
166
  }
151
167
  /** Drawer props */
152
168
  export interface DrawerListProps {
@@ -162,73 +178,6 @@ export interface DrawerListProps {
162
178
  onDrawerOpen?: () => void;
163
179
  onDrawerClose?: () => void;
164
180
  }
165
- export interface NotificationListProps {
166
- /** A list of notification items. */
167
- items: DrawerListProps['items'];
168
- /**
169
- * If true, a loading indicator will render in place of the list.
170
- * @default false
171
- * */
172
- loading?: DrawerListProps['loading'];
173
- /**
174
- * A set of callback functions for the view all functionality, if provided.
175
- * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */
176
- viewAll?: DrawerListProps['viewAll'];
177
- /** Number of new notifications. */
178
- newNotifications?: DrawerListProps['newNotifications'];
179
- /** Callback function run when an item is clicked on. */
180
- onItemClick?: DrawerListProps['onItemClick'];
181
- /** Callback function that runs after the Drawer opens. */
182
- onDrawerOpen?: DrawerListProps['onDrawerOpen'];
183
- /** Callback function that runs after the Drawer closes. */
184
- onDrawerClose?: DrawerListProps['onDrawerClose'];
185
- }
186
- export interface RecentsListProps {
187
- /** A list of recent activity items. */
188
- items: DrawerListProps['items'];
189
- /**
190
- * If true, a loading indicator will render in place of the list.
191
- * @default false
192
- * */
193
- loading?: DrawerListProps['loading'];
194
- /**
195
- * A set of callback functions for the view all functionality, if provided.
196
- * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */
197
- viewAll?: DrawerListProps['viewAll'];
198
- /** Callback function that runs when an item pin is clicked. */
199
- onItemPinToggle?: DrawerListProps['onItemPinToggle'];
200
- /** Callback function that runs when an item is clicked on. */
201
- onItemClick?: DrawerListProps['onItemClick'];
202
- /** Callback function that runs after the Drawer opens. */
203
- onDrawerOpen?: DrawerListProps['onDrawerOpen'];
204
- /** Callback function that runs after the Drawer closes. */
205
- onDrawerClose?: DrawerListProps['onDrawerClose'];
206
- }
207
- export interface PinsListProps {
208
- /** A list of pinned items. */
209
- items: DrawerListProps['items'];
210
- /**
211
- * If true, a loading indicator will render in place of the list.
212
- * @default false
213
- * */
214
- loading?: DrawerListProps['loading'];
215
- /**
216
- * A set of callback functions for the view all functionality, if provided.
217
- * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */
218
- viewAll?: DrawerListProps['viewAll'];
219
- /** Callback function that runs when an item pin is clicked. */
220
- onItemPinToggle?: DrawerListProps['onItemPinToggle'];
221
- /** Callback function that runs when an item is clicked on. */
222
- onItemClick?: DrawerListProps['onItemClick'];
223
- }
224
- export interface AppShellDrawerProps {
225
- /** A list of notifications and handler functions. */
226
- notifications?: NotificationListProps;
227
- /** A list of recently visited items and handler functions. */
228
- recents?: RecentsListProps;
229
- /** A list of pinned items to display above recent items and handler functions. */
230
- pins?: PinsListProps;
231
- }
232
181
  export interface DrawerItemProps extends BaseProps {
233
182
  /** An id representing the item. */
234
183
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"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AED,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"AppShell.types.d.ts","sourceRoot":"","sources":["../../../src/components/AppShell/AppShell.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,SAAS,EACT,GAAG,EACH,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,qBAAqB;AAErB,MAAM,WAAW,YAAY;IAC3B,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,wFAAwF;IACxF,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5B,6GAA6G;IAC7G,YAAY,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS,EAAE,cAAc;IAC9D,6CAA6C;IAC7C,OAAO,EAAE,YAAY,CAAC;IACtB,sCAAsC;IACtC,IAAI,EAAE,SAAS,CAAC;IAChB,0CAA0C;IAC1C,QAA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rC,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,yCAAyC;IACzC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mDAAmD;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC5F,uEAAuE;IACvE,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.types.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShell.types.ts"],"names":[],"mappings":"","sourcesContent":["import { KeyboardEvent, MouseEvent, MouseEventHandler, ReactNode, Ref } from 'react';\n\nimport { Action, AsProp, BaseProps, ForwardProps, NoChildrenProp } from '../../types';\nimport { ImageProps } from '../Image';\nimport { SearchInputProps } from '../SearchInput';\n\n/** AppShell props */\n\nexport interface AppInfoProps {\n /** The primary text to render in the header. */\n appName: string;\n /** The source for a small application image or logo that is rendered in the nav bar. */\n imageSrc: ImageProps['src'];\n /** The source for the full size application image or logo that is rendered in the app header, if enabled. */\n fullImageSrc?: ImageProps['src'];\n /** URL or DOM id to navigate to. */\n href?: string;\n /** Click handler for the header. */\n onClick?: MouseEventHandler<HTMLAnchorElement>;\n /** The secondary text to render in the header. */\n portalName?: string;\n /** Specifies where to open the link href. */\n target?: string;\n}\n\nexport interface AppShellProps extends BaseProps, AppShellDrawerProps, NoChildrenProp {\n /** Props related to the App Shell header. */\n appInfo: AppInfoProps;\n /** The content of the application. */\n main: ReactNode;\n /** The active user of the application. */\n operator: OperatorProps;\n /** If true, a header will render containing the logo and name of the app as well as search and operator regions. */\n appHeader?: boolean;\n /** Props related to the Search Input. */\n searchInput?: SearchInputProps;\n /**\n * The aria-label for the search input.\n * @default \"Sitewide\"\n */\n searchLabel?: string;\n /** A set of cases that will render in an expanded list within the App Shell. */\n caseTypes?: CaseTypeProps[];\n /** A set of links that will render as a flat list in the App Shell. */\n links?: LinkProps[];\n /** A set of cases that will render as a flat list in the App Shell. */\n cases?: CaseProps[];\n /** Used for alternate environments, such as \"dev\" or \"staging\". */\n environment?: {\n name: string;\n /** @default theme.base.colors.red['extra-light'] */\n color?: string;\n };\n /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */\n utils?: UtilItemProps[];\n /** Banners will render above the main content if they are provided. */\n banners?: ReactNode;\n}\nexport interface CaseTypeProps {\n /** The display name of the case. */\n name: string;\n /** Click handler for the case. */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n}\n\nexport interface LinkProps extends ForwardProps {\n /** Unique id */\n id: string;\n /** The display name of the link. */\n name: string;\n /** URL or DOM id to navigate to. */\n href: string;\n /** The name of the Cosmos Icon to render as a visual. */\n icon?: string;\n /** Determines if the link represents the active page. */\n active?: boolean;\n /** A set of nested links. */\n links?: LinkProps[];\n /** Click handler for the link. */\n onClick?: MouseEventHandler<HTMLAnchorElement>;\n}\n\nexport interface CaseProps extends ForwardProps {\n /** Unique id */\n id: string;\n /** Name of the case or some primary information like title. */\n primary: string;\n /** Additional info of a case like timestamp. */\n secondary?: string;\n /** A visual element identifying the case. If not passed will render case-solid icon */\n visual?: ReactNode;\n /** Determines if the case represents the active page. */\n active?: boolean;\n /** Click handler for the case . */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n /** Dismiss handler for the case. */\n onDismiss?: MouseEventHandler<HTMLButtonElement>;\n}\n\nexport interface OperatorProps {\n /** A visual element identifying the operator. */\n avatar: ReactNode;\n /** A list of actions that will populate a menu attached to the operator. */\n actions: Action[];\n /** The name of the operator. */\n name: string;\n}\n\nexport interface UtilItemProps extends Pick<NavListItemProps, 'visual' | 'actions' | 'onClick'> {\n /** The display name of an utility item. */\n name: string;\n /* Number when given displays on top-right of a given icon. */\n count?: number;\n /** View that renders on an appShell drawer onClick of an item */\n drawerView?: ReactNode;\n /** Heading for view that renders */\n drawerHeader?: string;\n /** Callback that fires on appshell drawer open */\n onDrawerOpen?: () => void;\n /** Callback that fires on appshell drawer close */\n onDrawerClose?: () => void;\n}\nexport interface UtilsProps {\n /** The active user of the application. */\n operator: AppShellProps['operator'];\n /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */\n items?: UtilItemProps[];\n appHeader?: boolean;\n}\n\nexport interface NavListProps extends AsProp, BaseProps {\n items?: NavListItemProps[];\n nestedList?: boolean;\n collapsed?: boolean;\n id?: string;\n}\n\nexport interface NavListItemProps extends AsProp, BaseProps, ForwardProps {\n id?: string;\n visual?: ReactNode;\n primary: string;\n secondary?: string;\n href?: string;\n onClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement>;\n active?: boolean;\n items?: NavListProps['items'];\n actions?: OperatorProps['actions'];\n dismissible?: boolean;\n onDismiss?: MouseEventHandler<HTMLButtonElement>;\n forwardedRef?: Ref<HTMLAnchorElement | HTMLDivElement | HTMLButtonElement>;\n isMenuItem?: boolean;\n}\n\nexport interface NavMenuProps extends NavListItemProps {\n forwardedRef?: Ref<HTMLButtonElement>;\n}\n\n/** AppHeader props */\n\nexport interface AppHeaderProps extends BaseProps, AppInfoProps {\n operator: AppShellProps['operator'];\n searchInput?: AppShellProps['searchInput'];\n searchLabel?: AppShellProps['searchLabel'];\n}\n\n/** Drawer props */\n\nexport interface DrawerListProps {\n items: (DrawerItemProps & ForwardProps)[];\n loading?: boolean;\n viewAll?: {\n onClick?: MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n href?: string;\n } & ForwardProps;\n newNotifications?: number;\n onItemClick?: (id: string, event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n onItemPinToggle?: (id: string) => void;\n onDrawerOpen?: () => void;\n onDrawerClose?: () => void;\n}\n\nexport interface NotificationListProps {\n /** A list of notification items. */\n items: DrawerListProps['items'];\n /**\n * If true, a loading indicator will render in place of the list.\n * @default false\n * */\n loading?: DrawerListProps['loading'];\n /**\n * A set of callback functions for the view all functionality, if provided.\n * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */\n viewAll?: DrawerListProps['viewAll'];\n /** Number of new notifications. */\n newNotifications?: DrawerListProps['newNotifications'];\n /** Callback function run when an item is clicked on. */\n onItemClick?: DrawerListProps['onItemClick'];\n /** Callback function that runs after the Drawer opens. */\n onDrawerOpen?: DrawerListProps['onDrawerOpen'];\n /** Callback function that runs after the Drawer closes. */\n onDrawerClose?: DrawerListProps['onDrawerClose'];\n}\n\nexport interface RecentsListProps {\n /** A list of recent activity items. */\n items: DrawerListProps['items'];\n /**\n * If true, a loading indicator will render in place of the list.\n * @default false\n * */\n loading?: DrawerListProps['loading'];\n /**\n * A set of callback functions for the view all functionality, if provided.\n * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */\n viewAll?: DrawerListProps['viewAll'];\n /** Callback function that runs when an item pin is clicked. */\n onItemPinToggle?: DrawerListProps['onItemPinToggle'];\n /** Callback function that runs when an item is clicked on. */\n onItemClick?: DrawerListProps['onItemClick'];\n /** Callback function that runs after the Drawer opens. */\n onDrawerOpen?: DrawerListProps['onDrawerOpen'];\n /** Callback function that runs after the Drawer closes. */\n onDrawerClose?: DrawerListProps['onDrawerClose'];\n}\n\nexport interface PinsListProps {\n /** A list of pinned items. */\n items: DrawerListProps['items'];\n /**\n * If true, a loading indicator will render in place of the list.\n * @default false\n * */\n loading?: DrawerListProps['loading'];\n /**\n * A set of callback functions for the view all functionality, if provided.\n * The onClick callback is for button use, and the href for link use. If provided both, defaults to link. */\n viewAll?: DrawerListProps['viewAll'];\n /** Callback function that runs when an item pin is clicked. */\n onItemPinToggle?: DrawerListProps['onItemPinToggle'];\n /** Callback function that runs when an item is clicked on. */\n onItemClick?: DrawerListProps['onItemClick'];\n}\n\nexport interface AppShellDrawerProps {\n /** A list of notifications and handler functions. */\n notifications?: NotificationListProps;\n /** A list of recently visited items and handler functions. */\n recents?: RecentsListProps;\n /** A list of pinned items to display above recent items and handler functions. */\n pins?: PinsListProps;\n}\n\nexport interface DrawerItemProps extends BaseProps {\n /** An id representing the item. */\n id: string;\n /** The primary text for the item. */\n primary: string;\n /** Secondary text that will be rendered as a Meta List. */\n secondary?: string[];\n /** A visual associated with the item. */\n visual?: ReactNode;\n /** A flag indicating if the item has been read. */\n unread?: boolean;\n /** A flag indicating if the item has been pinned or not. */\n pinned?: boolean;\n /** URL or DOM id to navigate to. */\n href?: string;\n /** The onClick handler for the item. */\n onClick?: (id: string, event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void;\n /** The handler hat is called when a pin icon is toggled on an item. */\n onPinToggle?: (id: string) => void;\n}\n\nexport interface ListProps extends DrawerListProps {\n headingText?: string;\n emptyText: string;\n displayRecents: boolean;\n displayPins?: boolean;\n}\n"]}
1
+ {"version":3,"file":"AppShell.types.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShell.types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n KeyboardEvent,\n MouseEvent,\n MouseEventHandler,\n ReactElement,\n ReactNode,\n Ref,\n RefObject\n} from 'react';\n\nimport { AsProp, BaseProps, ForwardProps, NoChildrenProp } from '../../types';\nimport { ImageProps } from '../Image';\nimport { SearchInputProps } from '../SearchInput';\n\n/** AppShell props */\n\nexport interface AppInfoProps {\n /** The primary text to render in the header. */\n appName: string;\n /** If true, the appName will not be visibly displayed on screen. */\n appNameHidden?: boolean;\n /** The source for a small application image or logo that is rendered in the nav bar. */\n imageSrc: ImageProps['src'];\n /** The source for the full size application image or logo that is rendered in the app header, if enabled. */\n fullImageSrc?: ImageProps['src'];\n /** URL or DOM id to navigate to. */\n href?: string;\n /** Click handler for the header. */\n onClick?: MouseEventHandler<HTMLAnchorElement>;\n /** The secondary text to render in the header. */\n portalName?: string;\n /** Specifies where to open the link href. */\n target?: string;\n}\n\nexport interface AppShellProps extends BaseProps, NoChildrenProp {\n /** Props related to the App Shell header. */\n appInfo: AppInfoProps;\n /** The content of the application. */\n main: ReactNode;\n /** The active user of the application. */\n operator: OperatorProps;\n /** If true, a header will render containing the logo and name of the app as well as search and operator regions. */\n appHeader?: boolean;\n /** If true, the search results page will replace the search input in the app header with its own */\n searchPage?: boolean;\n /** Props related to the Search Input. */\n searchInput?: SearchInputProps;\n /**\n * The aria-label for the search input.\n * @default \"Sitewide\"\n */\n searchLabel?: string;\n /** A set of cases that will render in an expanded list within the App Shell. */\n caseTypes?: CaseTypeProps[];\n /** A set of links that will render as a flat list in the App Shell. */\n links?: LinkProps[];\n /** A set of cases that will render as a flat list in the App Shell. */\n cases?: CaseProps[];\n /** Used for alternate environments, such as \"dev\" or \"staging\". */\n environment?: {\n name: string;\n /** @default theme.base.colors.red['extra-light'] */\n color?: string;\n };\n /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */\n utils?: (UtilItemProps | ReactElement)[];\n /** Banners will render above the main content if they are provided. */\n banners?: ReactNode;\n defaultExpanded?: boolean;\n /** When the navigation is collapsed menus will be shown on hover instead of on click */\n collapsedHoverMenus?: boolean;\n}\nexport interface CaseTypeProps {\n /** The display name of the case. */\n name: string;\n /** Click handler for the case. */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n}\n\nexport interface LinkProps extends ForwardProps {\n /** Unique id */\n id: string;\n /** The display name of the link. */\n name: string;\n /** URL or DOM id to navigate to. */\n href: string;\n /** The name of the Cosmos Icon to render as a visual. */\n icon?: string;\n /** Determines if the link represents the active page. */\n active?: boolean;\n /** A set of nested links. */\n links?: LinkProps[];\n /** Click handler for the link. */\n onClick?: MouseEventHandler<HTMLAnchorElement>;\n}\n\nexport interface CaseProps extends ForwardProps {\n /** Unique id */\n id: string;\n /** Name of the case or some primary information like title. */\n primary: string;\n /** Additional info of a case like timestamp. */\n secondary?: string;\n /** A visual element identifying the case. If not passed will render case-solid icon */\n visual?: ReactNode;\n /** Determines if the case represents the active page. */\n active?: boolean;\n /** Click handler for the case . */\n onClick?: MouseEventHandler<HTMLElement>;\n /** Dismiss handler for the case. */\n onDismiss?: MouseEventHandler<HTMLElement>;\n}\n\nexport interface OperatorProps {\n /** A visual element identifying the operator. */\n avatar: ReactNode;\n /** A list of actions that will populate a menu attached to the operator. */\n actions: Pick<NavListItemProps, 'id' | 'primary' | 'href' | 'onClick' | 'visual'>[];\n /** The name of the operator. */\n name: string;\n}\n\nexport interface UtilItemProps extends Pick<NavListItemProps, 'visual' | 'actions' | 'onClick'> {\n /** The display name of an utility item. */\n name: string;\n /* Number when given displays on top-right of a given icon. */\n count?: number;\n /** View that renders on an appShell drawer onClick of an item */\n drawerView?: ReactNode;\n /** Heading for view that renders */\n drawerHeader?: string;\n /** Callback that fires on appshell drawer open */\n onDrawerOpen?: () => void;\n /** Callback that fires on appshell drawer close */\n onDrawerClose?: () => void;\n}\n\nexport interface UtilsProps {\n /** The active user of the application. */\n operator: AppShellProps['operator'];\n /** A set of app utilities like notifications, recents that renders at the bottom of AppShell */\n items?: (UtilItemProps | ReactElement)[];\n appHeader?: boolean;\n}\n\nexport interface NavListProps extends AsProp, BaseProps {\n items?: (NavListItemProps | ReactElement)[];\n nestedList?: boolean;\n collapsed?: boolean;\n id?: string;\n}\n\nexport interface NavListItemWrapperProps extends ForwardProps {\n label: string;\n tooltipLabel: string;\n content?: ReactNode;\n items?: NavListItemProps[];\n onMenuToggle?: (state: 'open' | 'close') => void;\n childElementRef: RefObject<HTMLElement>;\n}\n\nexport interface NavListItemProps extends AsProp, BaseProps, ForwardProps, NoChildrenProp {\n id?: string;\n visual?: ReactNode;\n primary: string;\n secondary?: string;\n href?: string;\n onClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement>;\n items?: NavListItemProps[];\n collapseItems?: boolean;\n actions?: OperatorProps['actions'];\n dismissible?: boolean;\n onDismiss?: MouseEventHandler<HTMLElement>;\n forwardedRef?: Ref<HTMLAnchorElement | HTMLDivElement | HTMLButtonElement>;\n isMenuItem?: boolean;\n}\n\nexport interface NavMenuProps extends NavListItemProps {\n forwardedRef?: Ref<HTMLButtonElement>;\n}\n\n/** AppHeader props */\n\nexport interface AppHeaderProps extends BaseProps, AppInfoProps {\n operator: AppShellProps['operator'];\n searchInput?: AppShellProps['searchInput'];\n searchLabel?: AppShellProps['searchLabel'];\n searchPage?: AppShellProps['searchPage'];\n}\n\n/** Drawer props */\n\nexport interface DrawerListProps {\n items: (DrawerItemProps & ForwardProps)[];\n loading?: boolean;\n viewAll?: {\n onClick?: MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n href?: string;\n } & ForwardProps;\n newNotifications?: number;\n onItemClick?: (id: string, event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;\n onItemPinToggle?: (id: string) => void;\n onDrawerOpen?: () => void;\n onDrawerClose?: () => void;\n}\n\nexport interface DrawerItemProps extends BaseProps {\n /** An id representing the item. */\n id: string;\n /** The primary text for the item. */\n primary: string;\n /** Secondary text that will be rendered as a Meta List. */\n secondary?: string[];\n /** A visual associated with the item. */\n visual?: ReactNode;\n /** A flag indicating if the item has been read. */\n unread?: boolean;\n /** A flag indicating if the item has been pinned or not. */\n pinned?: boolean;\n /** URL or DOM id to navigate to. */\n href?: string;\n /** The onClick handler for the item. */\n onClick?: (id: string, event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void;\n /** The handler hat is called when a pin icon is toggled on an item. */\n onPinToggle?: (id: string) => void;\n}\n\nexport interface ListProps extends DrawerListProps {\n headingText?: string;\n emptyText: string;\n displayRecents: boolean;\n displayPins?: boolean;\n}\n"]}
@@ -1,17 +1,23 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { openCloseStates } from '../../hooks/useTransitionState';
3
- interface AppShellContextValue {
3
+ import { AppShellProps, UtilItemProps } from './AppShell.types';
4
+ export interface AppShellDrawerContextValue {
5
+ drawerOpen: boolean;
6
+ openDrawer: (item: UtilItemProps) => void;
7
+ closeDrawer: () => void;
8
+ }
9
+ export declare const AppShellDrawerContext: import("react").Context<AppShellDrawerContextValue>;
10
+ export interface AppShellContextValue {
4
11
  navOpen: boolean;
5
12
  navState: typeof openCloseStates[keyof typeof openCloseStates];
6
- drawerOpen: boolean;
7
- setDrawerOpen: (open: boolean) => void;
8
- refocusEl: HTMLButtonElement | null;
9
- setRefocusEl: (el: HTMLButtonElement | null) => void;
10
13
  focusedImperatively: MutableRefObject<boolean>;
11
14
  headerEl: HTMLDivElement | null;
12
15
  previewTriggerRef: MutableRefObject<HTMLElement | null>;
16
+ searchContainerEl: HTMLElement | null;
17
+ setSearchContainerEl: (el: HTMLElement | null) => void;
18
+ collapsedHoverMenus?: AppShellProps['collapsedHoverMenus'];
19
+ mobileNavOpen: boolean;
13
20
  }
14
- export declare type DrawerContent = 'notifications' | 'recents';
15
21
  declare const AppShellContext: import("react").Context<AppShellContextValue>;
16
22
  export default AppShellContext;
17
23
  //# sourceMappingURL=AppShellContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppShellContext.d.ts","sourceRoot":"","sources":["../../../src/components/AppShell/AppShellContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,a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AI,CAAC;IACtC,oBAAoB,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,mBAAmB,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAC3D,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,eAAe,+CAoBnB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import { createContext } from 'react';
2
+ export const AppShellDrawerContext = createContext({
3
+ drawerOpen: false,
4
+ openDrawer: () => { },
5
+ closeDrawer: () => { }
6
+ });
2
7
  const AppShellContext = createContext({
3
8
  navOpen: false,
4
9
  navState: 'closed',
5
- drawerOpen: false,
6
- setDrawerOpen: () => { },
7
- refocusEl: null,
8
- setRefocusEl: () => { },
10
+ collapsedHoverMenus: false,
9
11
  focusedImperatively: {
10
12
  get current() {
11
13
  return false;
@@ -18,7 +20,10 @@ const AppShellContext = createContext({
18
20
  },
19
21
  // eslint-disable-next-line @typescript-eslint/no-empty-function
20
22
  set current(val) { }
21
- }
23
+ },
24
+ searchContainerEl: null,
25
+ setSearchContainerEl: () => { },
26
+ mobileNavOpen: false
22
27
  });
23
28
  export default AppShellContext;
24
29
  //# sourceMappingURL=AppShellContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppShellContext.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShellContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoB,MAAM,OAAO,CAAC;AAkBxD,MAAM,eAAe,GAAG,aAAa,CAAuB;IAC1D,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,KAAK;IACjB,aAAa,EAAE,GAAG,EAAE,GAAE,CAAC;IACvB,SAAS,EAAE,IAAI;IACf,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;IACtB,mBAAmB,EAAE;QACnB,IAAI,OAAO;YACT,OAAO,KAAK,CAAC;QACf,CAAC;KACF;IACD,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE;QACjB,IAAI,OAAO;YACT,OAAO,IAAI,CAAC;QACd,CAAC;QACD,gEAAgE;QAChE,IAAI,OAAO,CAAC,GAAG,IAAG,CAAC;KACpB;CACF,CAAC,CAAC;AAEH,eAAe,eAAe,CAAC","sourcesContent":["import { createContext, MutableRefObject } from 'react';\n\nimport { openCloseStates } from '../../hooks/useTransitionState';\n\ninterface AppShellContextValue {\n navOpen: boolean;\n navState: typeof openCloseStates[keyof typeof openCloseStates];\n drawerOpen: boolean;\n setDrawerOpen: (open: boolean) => void;\n refocusEl: HTMLButtonElement | null;\n setRefocusEl: (el: HTMLButtonElement | null) => void;\n focusedImperatively: MutableRefObject<boolean>;\n headerEl: HTMLDivElement | null;\n previewTriggerRef: MutableRefObject<HTMLElement | null>;\n}\n\nexport type DrawerContent = 'notifications' | 'recents';\n\nconst AppShellContext = createContext<AppShellContextValue>({\n navOpen: false,\n navState: 'closed',\n drawerOpen: false,\n setDrawerOpen: () => {},\n refocusEl: null,\n setRefocusEl: () => {},\n focusedImperatively: {\n get current() {\n return false;\n }\n },\n headerEl: null,\n previewTriggerRef: {\n get current() {\n return null;\n },\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n set current(val) {}\n }\n});\n\nexport default AppShellContext;\n"]}
1
+ {"version":3,"file":"AppShellContext.js","sourceRoot":"","sources":["../../../src/components/AppShell/AppShellContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoB,MAAM,OAAO,CAAC;AAYxD,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAA6B;IAC7E,UAAU,EAAE,KAAK;IACjB,UAAU,EAAE,GAAG,EAAE,GAAE,CAAC;IACpB,WAAW,EAAE,GAAG,EAAE,GAAE,CAAC;CACtB,CAAC,CAAC;AAcH,MAAM,eAAe,GAAG,aAAa,CAAuB;IAC1D,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,QAAQ;IAClB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE;QACnB,IAAI,OAAO;YACT,OAAO,KAAK,CAAC;QACf,CAAC;KACF;IACD,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE;QACjB,IAAI,OAAO;YACT,OAAO,IAAI,CAAC;QACd,CAAC;QACD,gEAAgE;QAChE,IAAI,OAAO,CAAC,GAAG,IAAG,CAAC;KACpB;IACD,iBAAiB,EAAE,IAAI;IACvB,oBAAoB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC9B,aAAa,EAAE,KAAK;CACrB,CAAC,CAAC;AAEH,eAAe,eAAe,CAAC","sourcesContent":["import { createContext, MutableRefObject } from 'react';\n\nimport { openCloseStates } from '../../hooks/useTransitionState';\n\nimport { AppShellProps, UtilItemProps } from './AppShell.types';\n\nexport interface AppShellDrawerContextValue {\n drawerOpen: boolean;\n openDrawer: (item: UtilItemProps) => void;\n closeDrawer: () => void;\n}\n\nexport const AppShellDrawerContext = createContext<AppShellDrawerContextValue>({\n drawerOpen: false,\n openDrawer: () => {},\n closeDrawer: () => {}\n});\n\nexport interface AppShellContextValue {\n navOpen: boolean;\n navState: typeof openCloseStates[keyof typeof openCloseStates];\n focusedImperatively: MutableRefObject<boolean>;\n headerEl: HTMLDivElement | null;\n previewTriggerRef: MutableRefObject<HTMLElement | null>;\n searchContainerEl: HTMLElement | null;\n setSearchContainerEl: (el: HTMLElement | null) => void;\n collapsedHoverMenus?: AppShellProps['collapsedHoverMenus'];\n mobileNavOpen: boolean;\n}\n\nconst AppShellContext = createContext<AppShellContextValue>({\n navOpen: false,\n navState: 'closed',\n collapsedHoverMenus: false,\n focusedImperatively: {\n get current() {\n return false;\n }\n },\n headerEl: null,\n previewTriggerRef: {\n get current() {\n return null;\n },\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n set current(val) {}\n },\n searchContainerEl: null,\n setSearchContainerEl: () => {},\n mobileNavOpen: false\n});\n\nexport default AppShellContext;\n"]}
@@ -1,7 +1,7 @@
1
1
  import { FunctionComponent, Ref, MouseEvent, ReactNode, KeyboardEvent } from 'react';
2
2
  import { BaseProps, ForwardProps } from '../../types';
3
- declare type ListInteractionEvent = MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>;
4
- interface ListProps {
3
+ export declare type ListInteractionEvent = MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>;
4
+ export interface ListProps {
5
5
  /** An id representing the item. */
6
6
  id: string;
7
7
  ref?: Ref<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"AppShellList.d.ts","sourceRoot":"","sources":["../../../src/components/AppShell/AppShellList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAgCtD,aAAK,oBAAoB,GAAG,UAAU,CAAC,WAAW,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AACjF,UAAU,SAAS;IACjB,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,KAAK,EAAE,CAAC,qBAAqB,GAAG,YAAY,CAAC,EAAE,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QAClC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GAAG,YAAY,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAChE,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AACD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,EAAE,CAAC;CACvB;AACD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,yCAAyC;IACzC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mDAAmD;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,uEAAuE;IACvE,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAwHD,QAAA,MAAM,YAAY,EAAE,iBAAiB,CAAC,iBAAiB,CAQtD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"AppShellList.d.ts","sourceRoot":"","sources":["../../../src/components/AppShell/AppShellList.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,GAAG,EACH,UAAU,EACV,SAAS,EACT,aAAa,EAGd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAiCtD,oBAAY,oBAAoB,GAAG,UAAU,CAAC,WAAW,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AACxF,MAAM,WAAW,SAAS;IACxB,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG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AI,CAAC;CACpC;AAmID,QAAA,MAAM,YAAY,EAAE,iBAAiB,CAAC,iBAAiB,CAQtD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { createElement as _createElement } from "react";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useContext, useRef } from 'react';
3
4
  import Alert from '../Badges/Alert';
4
5
  import Button from '../Button';
5
6
  import Flex from '../Flex';
@@ -12,16 +13,29 @@ import Progress from '../Progress';
12
13
  import SummaryItem from '../SummaryItem';
13
14
  import Text from '../Text';
14
15
  import { useI18n } from '../../hooks';
15
- import { StyledAppShellListWrapper, StyledAppShellList, StyledAppShellSummaryItem, StyledAppShellMetaList, StyledNotificationPrimary, StyledNotificationSecondary, StyledAppShellPinButton, EmptyStateColorContrast, StyledAppShellListSection, StyledAppShellListHeading, StyledLoading, StyledDrawerViewAll, StyledNotificationVisual } from './AppShell.styles';
16
+ import { StyledLoading } from './AppShell.styles';
17
+ import { StyledAppShellListWrapper, StyledAppShellList, StyledAppShellSummaryItem, StyledAppShellMetaList, StyledNotificationPrimary, StyledNotificationSecondary, StyledAppShellPinButton, EmptyStateColorContrast, StyledAppShellListSection, StyledAppShellListHeading, StyledNotificationVisual } from './AppShellList.styles';
18
+ import { StyledDrawerViewAll } from './Drawer.styles';
19
+ import { AppShellDrawerContext } from './AppShellContext';
16
20
  registerIcon(pinIcon, pinSolidIcon);
17
21
  const List = ({ headingText, emptyText, items, loading = false, displayPins = false, onItemClick, onItemPinToggle, viewAll: viewAllProps }) => {
18
22
  const t = useI18n();
23
+ const { closeDrawer } = useContext(AppShellDrawerContext);
24
+ const pinButtons = useRef({});
19
25
  const renderContent = items.length ? (_jsx(Flex, { as: StyledAppShellList, item: { grow: 1 }, children: items.map(({ id, primary, secondary, visual, unread, href, onClick, pinned, onPinToggle, ...restProps }) => {
20
26
  const onSummaryItemClick = (e) => {
21
27
  onClick?.(id, e);
22
28
  onItemClick?.(id, e);
29
+ if (!pinButtons.current[id]?.contains(e.target)) {
30
+ closeDrawer();
31
+ }
23
32
  };
24
- return (_jsx("li", { children: _jsx(SummaryItem, { ...restProps, as: StyledAppShellSummaryItem, forwardedAs: href ? 'a' : 'button', primary: _jsx(StyledNotificationPrimary, { unread: unread, children: primary }), secondary: secondary?.length ? (_jsx(StyledNotificationSecondary, { unread: unread, children: _jsx(MetaList, { as: StyledAppShellMetaList, items: secondary }) })) : undefined, visual: visual || unread ? (_jsxs(StyledNotificationVisual, { unread: unread, visualIncluded: !!visual, children: [visual, " ", _jsx(Alert, { variant: 'urgent' })] })) : undefined, href: href, onClick: onSummaryItemClick, actions: displayPins ? (_jsx(Button, { icon: true, as: StyledAppShellPinButton, forwardedAs: 'div', onClick: () => {
33
+ return (_jsx("li", { children: _jsx(SummaryItem, { ...restProps, as: StyledAppShellSummaryItem, forwardedAs: href ? 'a' : 'button', primary: _jsx(StyledNotificationPrimary, { unread: unread, children: primary }), secondary: secondary?.length ? (_jsx(StyledNotificationSecondary, { unread: unread, children: _jsx(MetaList, { as: StyledAppShellMetaList, items: secondary }) })) : undefined, visual: visual || unread ? (_jsxs(StyledNotificationVisual, { unread: unread, visualIncluded: !!visual, children: [visual, " ", _jsx(Alert, { variant: 'urgent' })] })) : undefined, href: href, onClick: onSummaryItemClick, actions: displayPins ? (_jsx(Button, { ref: el => {
34
+ if (!el)
35
+ delete pinButtons.current[id];
36
+ else
37
+ pinButtons.current[id] = el;
38
+ }, icon: true, as: StyledAppShellPinButton, forwardedAs: 'div', onClick: () => {
25
39
  onPinToggle?.(id);
26
40
  onItemPinToggle?.(id);
27
41
  }, onKeyDown: (e) => {