@pega/cosmos-react-core 10.0.0-build.1.8 → 10.0.0-build.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (779) hide show
  1. package/lib/components/AIButton/AIButton.d.ts +3 -3
  2. package/lib/components/AIButton/AIButton.d.ts.map +1 -1
  3. package/lib/components/AIButton/AIButton.js +2 -1
  4. package/lib/components/AIButton/AIButton.js.map +1 -1
  5. package/lib/components/AIRewrite/AIRewrite.d.ts +1 -1
  6. package/lib/components/AIRewrite/AIRewrite.d.ts.map +1 -1
  7. package/lib/components/AIRewrite/AIRewrite.js +7 -3
  8. package/lib/components/AIRewrite/AIRewrite.js.map +1 -1
  9. package/lib/components/AIRewrite/AIRewrite.styles.d.ts +43 -7
  10. package/lib/components/AIRewrite/AIRewrite.styles.d.ts.map +1 -1
  11. package/lib/components/AIRewrite/AIRewrite.styles.js +5 -2
  12. package/lib/components/AIRewrite/AIRewrite.styles.js.map +1 -1
  13. package/lib/components/AIRewrite/AIRewrite.types.d.ts +2 -0
  14. package/lib/components/AIRewrite/AIRewrite.types.d.ts.map +1 -1
  15. package/lib/components/AIRewrite/AIRewrite.types.js.map +1 -1
  16. package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
  17. package/lib/components/AppShell/AppHeader.js +90 -9
  18. package/lib/components/AppShell/AppHeader.js.map +1 -1
  19. package/lib/components/AppShell/AppHeader.styles.d.ts +6 -2
  20. package/lib/components/AppShell/AppHeader.styles.d.ts.map +1 -1
  21. package/lib/components/AppShell/AppHeader.styles.js +89 -56
  22. package/lib/components/AppShell/AppHeader.styles.js.map +1 -1
  23. package/lib/components/AppShell/AppNavigationPanel.d.ts.map +1 -1
  24. package/lib/components/AppShell/AppNavigationPanel.js +16 -7
  25. package/lib/components/AppShell/AppNavigationPanel.js.map +1 -1
  26. package/lib/components/AppShell/AppShell.d.ts +3 -2
  27. package/lib/components/AppShell/AppShell.d.ts.map +1 -1
  28. package/lib/components/AppShell/AppShell.js +134 -177
  29. package/lib/components/AppShell/AppShell.js.map +1 -1
  30. package/lib/components/AppShell/AppShell.styles.d.ts +20 -15
  31. package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
  32. package/lib/components/AppShell/AppShell.styles.js +145 -211
  33. package/lib/components/AppShell/AppShell.styles.js.map +1 -1
  34. package/lib/components/AppShell/AppShell.types.d.ts +117 -2
  35. package/lib/components/AppShell/AppShell.types.d.ts.map +1 -1
  36. package/lib/components/AppShell/AppShell.types.js.map +1 -1
  37. package/lib/components/AppShell/AppShellContext.d.ts +3 -0
  38. package/lib/components/AppShell/AppShellContext.d.ts.map +1 -1
  39. package/lib/components/AppShell/AppShellContext.js +1 -0
  40. package/lib/components/AppShell/AppShellContext.js.map +1 -1
  41. package/lib/components/AppShell/AppShellList.d.ts +2 -0
  42. package/lib/components/AppShell/AppShellList.d.ts.map +1 -1
  43. package/lib/components/AppShell/AppShellList.js +8 -4
  44. package/lib/components/AppShell/AppShellList.js.map +1 -1
  45. package/lib/components/AppShell/AppShellList.styles.d.ts +1 -1
  46. package/lib/components/AppShell/AppShellList.styles.d.ts.map +1 -1
  47. package/lib/components/AppShell/AppShellList.styles.js +63 -23
  48. package/lib/components/AppShell/AppShellList.styles.js.map +1 -1
  49. package/lib/components/AppShell/AppTopNav.styles.d.ts.map +1 -1
  50. package/lib/components/AppShell/AppTopNav.styles.js +6 -2
  51. package/lib/components/AppShell/AppTopNav.styles.js.map +1 -1
  52. package/lib/components/AppShell/DocumentTabs.d.ts +6 -0
  53. package/lib/components/AppShell/DocumentTabs.d.ts.map +1 -0
  54. package/lib/components/AppShell/DocumentTabs.js +409 -0
  55. package/lib/components/AppShell/DocumentTabs.js.map +1 -0
  56. package/lib/components/AppShell/DocumentTabs.styles.d.ts +231 -0
  57. package/lib/components/AppShell/DocumentTabs.styles.d.ts.map +1 -0
  58. package/lib/components/AppShell/DocumentTabs.styles.js +564 -0
  59. package/lib/components/AppShell/DocumentTabs.styles.js.map +1 -0
  60. package/lib/components/AppShell/Drawer.d.ts +1 -2
  61. package/lib/components/AppShell/Drawer.d.ts.map +1 -1
  62. package/lib/components/AppShell/Drawer.js +4 -4
  63. package/lib/components/AppShell/Drawer.js.map +1 -1
  64. package/lib/components/AppShell/Drawer.styles.d.ts +1 -13
  65. package/lib/components/AppShell/Drawer.styles.d.ts.map +1 -1
  66. package/lib/components/AppShell/Drawer.styles.js +15 -31
  67. package/lib/components/AppShell/Drawer.styles.js.map +1 -1
  68. package/lib/components/AppShell/HeaderActionButton.d.ts +20 -0
  69. package/lib/components/AppShell/HeaderActionButton.d.ts.map +1 -0
  70. package/lib/components/AppShell/HeaderActionButton.js +78 -0
  71. package/lib/components/AppShell/HeaderActionButton.js.map +1 -0
  72. package/lib/components/AppShell/NavigationList.d.ts.map +1 -1
  73. package/lib/components/AppShell/NavigationList.js +4 -5
  74. package/lib/components/AppShell/NavigationList.js.map +1 -1
  75. package/lib/components/AppShell/NavigationListItemWrapper.d.ts.map +1 -1
  76. package/lib/components/AppShell/NavigationListItemWrapper.js +101 -58
  77. package/lib/components/AppShell/NavigationListItemWrapper.js.map +1 -1
  78. package/lib/components/AppShell/Notifications.d.ts +28 -0
  79. package/lib/components/AppShell/Notifications.d.ts.map +1 -0
  80. package/lib/components/AppShell/Notifications.js +145 -0
  81. package/lib/components/AppShell/Notifications.js.map +1 -0
  82. package/lib/components/AppShell/Operator.d.ts.map +1 -1
  83. package/lib/components/AppShell/Operator.js +8 -5
  84. package/lib/components/AppShell/Operator.js.map +1 -1
  85. package/lib/components/AppShell/Panel/Panel.d.ts +15 -0
  86. package/lib/components/AppShell/Panel/Panel.d.ts.map +1 -0
  87. package/lib/components/AppShell/Panel/Panel.js +80 -0
  88. package/lib/components/AppShell/Panel/Panel.js.map +1 -0
  89. package/lib/components/AppShell/Panel/Panel.styles.d.ts +188 -0
  90. package/lib/components/AppShell/Panel/Panel.styles.d.ts.map +1 -0
  91. package/lib/components/AppShell/Panel/Panel.styles.js +85 -0
  92. package/lib/components/AppShell/Panel/Panel.styles.js.map +1 -0
  93. package/lib/components/AppShell/Panel/Panel.test-ids.d.ts +2 -0
  94. package/lib/components/AppShell/Panel/Panel.test-ids.d.ts.map +1 -0
  95. package/lib/components/AppShell/Panel/Panel.test-ids.js +3 -0
  96. package/lib/components/AppShell/Panel/Panel.test-ids.js.map +1 -0
  97. package/lib/components/AppShell/Panel/Panel.types.d.ts +33 -0
  98. package/lib/components/AppShell/Panel/Panel.types.d.ts.map +1 -0
  99. package/lib/components/AppShell/Panel/Panel.types.js +2 -0
  100. package/lib/components/AppShell/Panel/Panel.types.js.map +1 -0
  101. package/lib/components/AppShell/Panel/PanelHeaderActions.d.ts +8 -0
  102. package/lib/components/AppShell/Panel/PanelHeaderActions.d.ts.map +1 -0
  103. package/lib/components/AppShell/Panel/PanelHeaderActions.js +17 -0
  104. package/lib/components/AppShell/Panel/PanelHeaderActions.js.map +1 -0
  105. package/lib/components/AppShell/Panel/index.d.ts +4 -0
  106. package/lib/components/AppShell/Panel/index.d.ts.map +1 -0
  107. package/lib/components/AppShell/Panel/index.js +4 -0
  108. package/lib/components/AppShell/Panel/index.js.map +1 -0
  109. package/lib/components/AppShell/Panel/usePanel.d.ts +12 -0
  110. package/lib/components/AppShell/Panel/usePanel.d.ts.map +1 -0
  111. package/lib/components/AppShell/Panel/usePanel.js +30 -0
  112. package/lib/components/AppShell/Panel/usePanel.js.map +1 -0
  113. package/lib/components/AppShell/ThemeSwitcher.d.ts +1 -1
  114. package/lib/components/AppShell/ThemeSwitcher.d.ts.map +1 -1
  115. package/lib/components/AppShell/ThemeSwitcher.js +1 -0
  116. package/lib/components/AppShell/ThemeSwitcher.js.map +1 -1
  117. package/lib/components/AppShell/TopNavDrawerProvider.d.ts +11 -0
  118. package/lib/components/AppShell/TopNavDrawerProvider.d.ts.map +1 -0
  119. package/lib/components/AppShell/TopNavDrawerProvider.js +43 -0
  120. package/lib/components/AppShell/TopNavDrawerProvider.js.map +1 -0
  121. package/lib/components/AppShell/TouchAppShell.d.ts +16 -0
  122. package/lib/components/AppShell/TouchAppShell.d.ts.map +1 -0
  123. package/lib/components/AppShell/TouchAppShell.js +161 -0
  124. package/lib/components/AppShell/TouchAppShell.js.map +1 -0
  125. package/lib/components/AppShell/TouchAppShell.styles.d.ts +209 -0
  126. package/lib/components/AppShell/TouchAppShell.styles.d.ts.map +1 -0
  127. package/lib/components/AppShell/TouchAppShell.styles.js +188 -0
  128. package/lib/components/AppShell/TouchAppShell.styles.js.map +1 -0
  129. package/lib/components/AppShell/headerActionUtils.d.ts +12 -0
  130. package/lib/components/AppShell/headerActionUtils.d.ts.map +1 -0
  131. package/lib/components/AppShell/headerActionUtils.js +69 -0
  132. package/lib/components/AppShell/headerActionUtils.js.map +1 -0
  133. package/lib/components/AppShell/index.d.ts +2 -1
  134. package/lib/components/AppShell/index.d.ts.map +1 -1
  135. package/lib/components/AppShell/index.js.map +1 -1
  136. package/lib/components/AppShell/style-utils.d.ts.map +1 -1
  137. package/lib/components/AppShell/style-utils.js +22 -9
  138. package/lib/components/AppShell/style-utils.js.map +1 -1
  139. package/lib/components/Avatar/Avatar.d.ts +4 -4
  140. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  141. package/lib/components/Avatar/Avatar.js +45 -41
  142. package/lib/components/Avatar/Avatar.js.map +1 -1
  143. package/lib/components/Backdrop/Backdrop.d.ts +30 -30
  144. package/lib/components/Backdrop/Backdrop.d.ts.map +1 -1
  145. package/lib/components/Backdrop/Backdrop.js +3 -2
  146. package/lib/components/Backdrop/Backdrop.js.map +1 -1
  147. package/lib/components/Badges/Alert.d.ts +1 -1
  148. package/lib/components/Badges/Count.d.ts +1 -1
  149. package/lib/components/Badges/Keyboard.d.ts +1 -1
  150. package/lib/components/Badges/Selection.d.ts +1 -1
  151. package/lib/components/Badges/Selection.js +1 -1
  152. package/lib/components/Badges/Selection.js.map +1 -1
  153. package/lib/components/Badges/Status.d.ts +1 -1
  154. package/lib/components/Badges/Tag.d.ts +1 -1
  155. package/lib/components/Banner/Banner.d.ts +1 -1
  156. package/lib/components/Banner/Banner.js +1 -5
  157. package/lib/components/Banner/Banner.js.map +1 -1
  158. package/lib/components/Banner/Banner.styles.d.ts +2 -2
  159. package/lib/components/Banner/Banner.styles.d.ts.map +1 -1
  160. package/lib/components/Button/BareRoleButton.d.ts.map +1 -1
  161. package/lib/components/Button/BareRoleButton.js +4 -1
  162. package/lib/components/Button/BareRoleButton.js.map +1 -1
  163. package/lib/components/Button/Button.d.ts.map +1 -1
  164. package/lib/components/Button/Button.js +67 -25
  165. package/lib/components/Button/Button.js.map +1 -1
  166. package/lib/components/Checkbox/Checkbox.d.ts +1 -1
  167. package/lib/components/Checkbox/CheckboxCard.d.ts +1 -1
  168. package/lib/components/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  169. package/lib/components/ClassificationMarking/ClassificationMarking.styles.d.ts.map +1 -1
  170. package/lib/components/ClassificationMarking/ClassificationMarking.styles.js +5 -32
  171. package/lib/components/ClassificationMarking/ClassificationMarking.styles.js.map +1 -1
  172. package/lib/components/ColorPicker/ColorPicker.d.ts +1 -1
  173. package/lib/components/ComboBox/ComboBox.d.ts +1 -1
  174. package/lib/components/ComboBox/ComboBox.d.ts.map +1 -1
  175. package/lib/components/ComboBox/ComboBox.js +5 -8
  176. package/lib/components/ComboBox/ComboBox.js.map +1 -1
  177. package/lib/components/ComboBox/ComboBox.styles.d.ts.map +1 -1
  178. package/lib/components/ComboBox/ComboBox.styles.js +11 -6
  179. package/lib/components/ComboBox/ComboBox.styles.js.map +1 -1
  180. package/lib/components/ComboBox/ComboBox.types.d.ts +3 -3
  181. package/lib/components/ComboBox/ComboBox.types.d.ts.map +1 -1
  182. package/lib/components/ComboBox/ComboBox.types.js.map +1 -1
  183. package/lib/components/ComboBox/ComboBoxInput.d.ts +1 -2
  184. package/lib/components/ComboBox/ComboBoxInput.d.ts.map +1 -1
  185. package/lib/components/ComboBox/ComboBoxInput.js +2 -2
  186. package/lib/components/ComboBox/ComboBoxInput.js.map +1 -1
  187. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.d.ts +4 -6
  188. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.d.ts.map +1 -1
  189. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js +99 -188
  190. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js.map +1 -1
  191. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.styles.d.ts +190 -0
  192. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.styles.d.ts.map +1 -0
  193. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.styles.js +72 -0
  194. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.styles.js.map +1 -0
  195. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.d.ts +5 -7
  196. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.d.ts.map +1 -1
  197. package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.types.js.map +1 -1
  198. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.d.ts.map +1 -1
  199. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js +29 -10
  200. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.js.map +1 -1
  201. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.d.ts +5 -5
  202. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.d.ts.map +1 -1
  203. package/lib/components/ComboBox/SingleSelectInput/SingleSelectInput.types.js.map +1 -1
  204. package/lib/components/CompositeInput/CompositeInput.d.ts +1 -1
  205. package/lib/components/CompositeInput/CompositeInput.d.ts.map +1 -1
  206. package/lib/components/CompositeInput/CompositeInput.js +18 -3
  207. package/lib/components/CompositeInput/CompositeInput.js.map +1 -1
  208. package/lib/components/Configuration/Configuration.d.ts.map +1 -1
  209. package/lib/components/Configuration/Configuration.js +3 -1
  210. package/lib/components/Configuration/Configuration.js.map +1 -1
  211. package/lib/components/CreditCard/CreditCardInput.d.ts +1 -1
  212. package/lib/components/Currency/CurrencyDisplay.d.ts.map +1 -1
  213. package/lib/components/Currency/CurrencyDisplay.js +13 -5
  214. package/lib/components/Currency/CurrencyDisplay.js.map +1 -1
  215. package/lib/components/Currency/CurrencyInput.d.ts +1 -1
  216. package/lib/components/Currency/CurrencyInput.d.ts.map +1 -1
  217. package/lib/components/Currency/CurrencyInput.js +21 -14
  218. package/lib/components/Currency/CurrencyInput.js.map +1 -1
  219. package/lib/components/Currency/utils.d.ts +8 -0
  220. package/lib/components/Currency/utils.d.ts.map +1 -1
  221. package/lib/components/Currency/utils.js +34 -4
  222. package/lib/components/Currency/utils.js.map +1 -1
  223. package/lib/components/DangerButton/DangerButton.d.ts +2 -2
  224. package/lib/components/DangerButton/DangerButton.d.ts.map +1 -1
  225. package/lib/components/DangerButton/DangerButton.js +8 -1
  226. package/lib/components/DangerButton/DangerButton.js.map +1 -1
  227. package/lib/components/DateTime/DateTime.types.d.ts +2 -4
  228. package/lib/components/DateTime/DateTime.types.d.ts.map +1 -1
  229. package/lib/components/DateTime/DateTime.types.js.map +1 -1
  230. package/lib/components/DateTime/DateTimeDisplay.d.ts +9 -2
  231. package/lib/components/DateTime/DateTimeDisplay.d.ts.map +1 -1
  232. package/lib/components/DateTime/DateTimeDisplay.js +34 -8
  233. package/lib/components/DateTime/DateTimeDisplay.js.map +1 -1
  234. package/lib/components/DateTime/Input/DateInput.d.ts +3 -1
  235. package/lib/components/DateTime/Input/DateInput.d.ts.map +1 -1
  236. package/lib/components/DateTime/Input/DateInput.js +36 -21
  237. package/lib/components/DateTime/Input/DateInput.js.map +1 -1
  238. package/lib/components/DateTime/Input/DateRangeInput.d.ts +12 -4
  239. package/lib/components/DateTime/Input/DateRangeInput.d.ts.map +1 -1
  240. package/lib/components/DateTime/Input/DateRangeInput.js +28 -7
  241. package/lib/components/DateTime/Input/DateRangeInput.js.map +1 -1
  242. package/lib/components/DateTime/Input/DateTime.styles.d.ts +3 -0
  243. package/lib/components/DateTime/Input/DateTime.styles.d.ts.map +1 -1
  244. package/lib/components/DateTime/Input/DateTime.styles.js +26 -2
  245. package/lib/components/DateTime/Input/DateTime.styles.js.map +1 -1
  246. package/lib/components/DateTime/Input/DateTimeInput.d.ts +15 -3
  247. package/lib/components/DateTime/Input/DateTimeInput.d.ts.map +1 -1
  248. package/lib/components/DateTime/Input/DateTimeInput.js +164 -53
  249. package/lib/components/DateTime/Input/DateTimeInput.js.map +1 -1
  250. package/lib/components/DateTime/Input/DayOfWeekInput.d.ts +1 -1
  251. package/lib/components/DateTime/Input/Duration/DurationInput.d.ts +1 -1
  252. package/lib/components/DateTime/Input/MonthInput.d.ts +1 -1
  253. package/lib/components/DateTime/Input/MonthInput.d.ts.map +1 -1
  254. package/lib/components/DateTime/Input/MonthInput.js +4 -3
  255. package/lib/components/DateTime/Input/MonthInput.js.map +1 -1
  256. package/lib/components/DateTime/Input/PartInput.d.ts.map +1 -1
  257. package/lib/components/DateTime/Input/PartInput.js +3 -2
  258. package/lib/components/DateTime/Input/PartInput.js.map +1 -1
  259. package/lib/components/DateTime/Input/QuarterInput.d.ts +1 -1
  260. package/lib/components/DateTime/Input/QuarterInput.d.ts.map +1 -1
  261. package/lib/components/DateTime/Input/QuarterInput.js +4 -4
  262. package/lib/components/DateTime/Input/QuarterInput.js.map +1 -1
  263. package/lib/components/DateTime/Input/TimeInput.d.ts +13 -4
  264. package/lib/components/DateTime/Input/TimeInput.d.ts.map +1 -1
  265. package/lib/components/DateTime/Input/TimeInput.js +67 -33
  266. package/lib/components/DateTime/Input/TimeInput.js.map +1 -1
  267. package/lib/components/DateTime/Input/TimeRangeInput.d.ts +12 -4
  268. package/lib/components/DateTime/Input/TimeRangeInput.d.ts.map +1 -1
  269. package/lib/components/DateTime/Input/TimeRangeInput.js +28 -10
  270. package/lib/components/DateTime/Input/TimeRangeInput.js.map +1 -1
  271. package/lib/components/DateTime/Input/WeekInput.d.ts +7 -4
  272. package/lib/components/DateTime/Input/WeekInput.d.ts.map +1 -1
  273. package/lib/components/DateTime/Input/WeekInput.js +31 -18
  274. package/lib/components/DateTime/Input/WeekInput.js.map +1 -1
  275. package/lib/components/DateTime/Input/utils.d.ts +10 -1
  276. package/lib/components/DateTime/Input/utils.d.ts.map +1 -1
  277. package/lib/components/DateTime/Input/utils.js +115 -5
  278. package/lib/components/DateTime/Input/utils.js.map +1 -1
  279. package/lib/components/DateTime/Picker/Calendar.js +2 -6
  280. package/lib/components/DateTime/Picker/Calendar.js.map +1 -1
  281. package/lib/components/DateTime/Picker/Calendar.styles.d.ts.map +1 -1
  282. package/lib/components/DateTime/Picker/Calendar.styles.js +5 -0
  283. package/lib/components/DateTime/Picker/Calendar.styles.js.map +1 -1
  284. package/lib/components/DateTime/Picker/DatePicker.styles.d.ts.map +1 -1
  285. package/lib/components/DateTime/Picker/DatePicker.styles.js +37 -7
  286. package/lib/components/DateTime/Picker/DatePicker.styles.js.map +1 -1
  287. package/lib/components/DateTime/Picker/TimePicker.d.ts.map +1 -1
  288. package/lib/components/DateTime/Picker/TimePicker.js +25 -47
  289. package/lib/components/DateTime/Picker/TimePicker.js.map +1 -1
  290. package/lib/components/DateTime/utils.d.ts +15 -4
  291. package/lib/components/DateTime/utils.d.ts.map +1 -1
  292. package/lib/components/DateTime/utils.js +24 -3
  293. package/lib/components/DateTime/utils.js.map +1 -1
  294. package/lib/components/Dialog/Dialog.types.d.ts +60 -20
  295. package/lib/components/Dialog/Dialog.types.d.ts.map +1 -1
  296. package/lib/components/Dialog/Dialog.types.js.map +1 -1
  297. package/lib/components/Dialog/FormDialog.d.ts.map +1 -1
  298. package/lib/components/Dialog/FormDialog.js +76 -42
  299. package/lib/components/Dialog/FormDialog.js.map +1 -1
  300. package/lib/components/Dialog/FormDialogWrapper.d.ts +5 -0
  301. package/lib/components/Dialog/FormDialogWrapper.d.ts.map +1 -0
  302. package/lib/components/Dialog/FormDialogWrapper.js +13 -0
  303. package/lib/components/Dialog/FormDialogWrapper.js.map +1 -0
  304. package/lib/components/Dialog/InfoDialog.d.ts.map +1 -1
  305. package/lib/components/Dialog/InfoDialog.js +6 -4
  306. package/lib/components/Dialog/InfoDialog.js.map +1 -1
  307. package/lib/components/Dialog/InfoDialogWrapper.d.ts +4 -0
  308. package/lib/components/Dialog/InfoDialogWrapper.d.ts.map +1 -0
  309. package/lib/components/Dialog/InfoDialogWrapper.js +13 -0
  310. package/lib/components/Dialog/InfoDialogWrapper.js.map +1 -0
  311. package/lib/components/Dialog/TouchDialog.d.ts +5 -0
  312. package/lib/components/Dialog/TouchDialog.d.ts.map +1 -0
  313. package/lib/components/Dialog/TouchDialog.js +120 -0
  314. package/lib/components/Dialog/TouchDialog.js.map +1 -0
  315. package/lib/components/Dialog/TouchDialog.styles.d.ts +14 -0
  316. package/lib/components/Dialog/TouchDialog.styles.d.ts.map +1 -0
  317. package/lib/components/Dialog/TouchDialog.styles.js +79 -0
  318. package/lib/components/Dialog/TouchDialog.styles.js.map +1 -0
  319. package/lib/components/Dialog/TouchDialog.test-ids.d.ts +2 -0
  320. package/lib/components/Dialog/TouchDialog.test-ids.d.ts.map +1 -0
  321. package/lib/components/Dialog/TouchDialog.test-ids.js +3 -0
  322. package/lib/components/Dialog/TouchDialog.test-ids.js.map +1 -0
  323. package/lib/components/Dialog/TouchDialog.types.d.ts +57 -0
  324. package/lib/components/Dialog/TouchDialog.types.d.ts.map +1 -0
  325. package/lib/components/Dialog/TouchDialog.types.js +2 -0
  326. package/lib/components/Dialog/TouchDialog.types.js.map +1 -0
  327. package/lib/components/Dialog/TouchFormDialog.d.ts +5 -0
  328. package/lib/components/Dialog/TouchFormDialog.d.ts.map +1 -0
  329. package/lib/components/Dialog/TouchFormDialog.js +53 -0
  330. package/lib/components/Dialog/TouchFormDialog.js.map +1 -0
  331. package/lib/components/Dialog/TouchFormDialog.styles.d.ts +7 -0
  332. package/lib/components/Dialog/TouchFormDialog.styles.d.ts.map +1 -0
  333. package/lib/components/Dialog/TouchFormDialog.styles.js +39 -0
  334. package/lib/components/Dialog/TouchFormDialog.styles.js.map +1 -0
  335. package/lib/components/Dialog/TouchInfoDialog.d.ts +4 -0
  336. package/lib/components/Dialog/TouchInfoDialog.d.ts.map +1 -0
  337. package/lib/components/Dialog/TouchInfoDialog.js +21 -0
  338. package/lib/components/Dialog/TouchInfoDialog.js.map +1 -0
  339. package/lib/components/Dialog/index.d.ts +6 -2
  340. package/lib/components/Dialog/index.d.ts.map +1 -1
  341. package/lib/components/Dialog/index.js +5 -2
  342. package/lib/components/Dialog/index.js.map +1 -1
  343. package/lib/components/Drawer/Drawer.d.ts +12 -1
  344. package/lib/components/Drawer/Drawer.d.ts.map +1 -1
  345. package/lib/components/Drawer/Drawer.js +22 -23
  346. package/lib/components/Drawer/Drawer.js.map +1 -1
  347. package/lib/components/Drawer/ResizeHandle.d.ts +9 -2
  348. package/lib/components/Drawer/ResizeHandle.d.ts.map +1 -1
  349. package/lib/components/Drawer/ResizeHandle.js +44 -20
  350. package/lib/components/Drawer/ResizeHandle.js.map +1 -1
  351. package/lib/components/EmojiPicker/EmojiPicker.styles.d.ts.map +1 -1
  352. package/lib/components/EmojiPicker/EmojiPicker.styles.js +2 -2
  353. package/lib/components/EmojiPicker/EmojiPicker.styles.js.map +1 -1
  354. package/lib/components/EmptyState/EmptyState.d.ts +7 -2
  355. package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
  356. package/lib/components/EmptyState/EmptyState.js +18 -11
  357. package/lib/components/EmptyState/EmptyState.js.map +1 -1
  358. package/lib/components/ExpandCollapse/ExpandCollapseButton.d.ts +2 -2
  359. package/lib/components/ExpandCollapse/ExpandCollapseButton.d.ts.map +1 -1
  360. package/lib/components/FieldGroup/FieldGroup.d.ts +69 -64
  361. package/lib/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  362. package/lib/components/FieldGroup/FieldGroup.js +41 -41
  363. package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
  364. package/lib/components/FieldGroup/FieldGroupList.js +2 -2
  365. package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
  366. package/lib/components/FieldValueList/FieldValueList.d.ts +5 -3
  367. package/lib/components/FieldValueList/FieldValueList.d.ts.map +1 -1
  368. package/lib/components/FieldValueList/FieldValueList.js +17 -8
  369. package/lib/components/FieldValueList/FieldValueList.js.map +1 -1
  370. package/lib/components/File/CompactList.js +1 -1
  371. package/lib/components/File/CompactList.js.map +1 -1
  372. package/lib/components/File/FileInput.d.ts +1 -1
  373. package/lib/components/File/FileInput.styles.js +1 -1
  374. package/lib/components/File/FileInput.styles.js.map +1 -1
  375. package/lib/components/File/FileItem.d.ts +40 -2
  376. package/lib/components/File/FileItem.d.ts.map +1 -1
  377. package/lib/components/File/FileItem.js +167 -23
  378. package/lib/components/File/FileItem.js.map +1 -1
  379. package/lib/components/File/FileList.d.ts +29 -29
  380. package/lib/components/File/FileList.d.ts.map +1 -1
  381. package/lib/components/File/FileList.js +6 -2
  382. package/lib/components/File/FileList.js.map +1 -1
  383. package/lib/components/File/FileUploadItem.js +1 -3
  384. package/lib/components/File/FileUploadItem.js.map +1 -1
  385. package/lib/components/File/FileVisual.js +1 -1
  386. package/lib/components/File/FileVisual.js.map +1 -1
  387. package/lib/components/File/index.d.ts +1 -1
  388. package/lib/components/File/index.d.ts.map +1 -1
  389. package/lib/components/File/index.js.map +1 -1
  390. package/lib/components/File/mimeTypes.json +1 -0
  391. package/lib/components/Form/Form.d.ts +1 -1
  392. package/lib/components/FormControl/FormControl.d.ts +10 -3
  393. package/lib/components/FormControl/FormControl.d.ts.map +1 -1
  394. package/lib/components/FormControl/FormControl.js +2 -11
  395. package/lib/components/FormControl/FormControl.js.map +1 -1
  396. package/lib/components/FormField/FormField.d.ts +10 -2
  397. package/lib/components/FormField/FormField.d.ts.map +1 -1
  398. package/lib/components/FormField/FormField.js +57 -58
  399. package/lib/components/FormField/FormField.js.map +1 -1
  400. package/lib/components/Fullscreen/Fullscreen.d.ts +1 -1
  401. package/lib/components/Fullscreen/Fullscreen.js +2 -2
  402. package/lib/components/Fullscreen/Fullscreen.js.map +1 -1
  403. package/lib/components/Fullscreen/FullscreenButton.d.ts +2 -2
  404. package/lib/components/Fullscreen/FullscreenButton.d.ts.map +1 -1
  405. package/lib/components/HTML/HTML.d.ts +1 -1
  406. package/lib/components/Icon/Icon.d.ts +5 -0
  407. package/lib/components/Icon/Icon.d.ts.map +1 -1
  408. package/lib/components/Icon/Icon.js +46 -4
  409. package/lib/components/Icon/Icon.js.map +1 -1
  410. package/lib/components/Icon/iconNames.d.ts +2 -1
  411. package/lib/components/Icon/iconNames.d.ts.map +1 -1
  412. package/lib/components/Icon/iconNames.js +3 -0
  413. package/lib/components/Icon/iconNames.js.map +1 -1
  414. package/lib/components/Icon/icons/search-solid.icon.d.ts +1 -1
  415. package/lib/components/Icon/icons/search-solid.icon.js +3 -3
  416. package/lib/components/Icon/icons/search-solid.icon.js.map +1 -1
  417. package/lib/components/Icon/icons/share-external-solid.icon.d.ts +5 -0
  418. package/lib/components/Icon/icons/share-external-solid.icon.d.ts.map +1 -0
  419. package/lib/components/Icon/icons/share-external-solid.icon.js +7 -0
  420. package/lib/components/Icon/icons/share-external-solid.icon.js.map +1 -0
  421. package/lib/components/Icon/icons/share-external.icon.d.ts +5 -0
  422. package/lib/components/Icon/icons/share-external.icon.d.ts.map +1 -0
  423. package/lib/components/Icon/icons/share-external.icon.js +7 -0
  424. package/lib/components/Icon/icons/share-external.icon.js.map +1 -0
  425. package/lib/components/Icon/streamline-icons/share-external-solid.icon.d.ts +5 -0
  426. package/lib/components/Icon/streamline-icons/share-external-solid.icon.d.ts.map +1 -0
  427. package/lib/components/Icon/streamline-icons/share-external-solid.icon.js +7 -0
  428. package/lib/components/Icon/streamline-icons/share-external-solid.icon.js.map +1 -0
  429. package/lib/components/Icon/streamline-icons/share-external.icon.d.ts +5 -0
  430. package/lib/components/Icon/streamline-icons/share-external.icon.d.ts.map +1 -0
  431. package/lib/components/Icon/streamline-icons/share-external.icon.js +7 -0
  432. package/lib/components/Icon/streamline-icons/share-external.icon.js.map +1 -0
  433. package/lib/components/Icon/streamlineIconNames.d.ts +2 -1
  434. package/lib/components/Icon/streamlineIconNames.d.ts.map +1 -1
  435. package/lib/components/Icon/streamlineIconNames.js +3 -0
  436. package/lib/components/Icon/streamlineIconNames.js.map +1 -1
  437. package/lib/components/InlineEdit/InlineEdit.d.ts +19 -4
  438. package/lib/components/InlineEdit/InlineEdit.d.ts.map +1 -1
  439. package/lib/components/InlineEdit/InlineEdit.js +45 -4
  440. package/lib/components/InlineEdit/InlineEdit.js.map +1 -1
  441. package/lib/components/InlineEdit/InlineEdit.styles.d.ts +43 -7
  442. package/lib/components/InlineEdit/InlineEdit.styles.d.ts.map +1 -1
  443. package/lib/components/InlineEdit/InlineEdit.styles.js +38 -20
  444. package/lib/components/InlineEdit/InlineEdit.styles.js.map +1 -1
  445. package/lib/components/Input/Input.d.ts +1 -1
  446. package/lib/components/Input/Input.js +3 -3
  447. package/lib/components/Input/Input.js.map +1 -1
  448. package/lib/components/Lightbox/Lightbox.d.ts +1 -1
  449. package/lib/components/Lightbox/Lightbox.js +2 -6
  450. package/lib/components/Lightbox/Lightbox.js.map +1 -1
  451. package/lib/components/Lightbox/Lightbox.styles.d.ts.map +1 -1
  452. package/lib/components/Lightbox/Lightbox.styles.js +1 -0
  453. package/lib/components/Lightbox/Lightbox.styles.js.map +1 -1
  454. package/lib/components/Link/Link.d.ts +20 -17
  455. package/lib/components/Link/Link.d.ts.map +1 -1
  456. package/lib/components/Link/Link.js +89 -9
  457. package/lib/components/Link/Link.js.map +1 -1
  458. package/lib/components/Link/Link.test-ids.d.ts +1 -1
  459. package/lib/components/Link/Link.test-ids.d.ts.map +1 -1
  460. package/lib/components/Link/Link.test-ids.js +2 -1
  461. package/lib/components/Link/Link.test-ids.js.map +1 -1
  462. package/lib/components/List/CommaSeparatedList.js +1 -3
  463. package/lib/components/List/CommaSeparatedList.js.map +1 -1
  464. package/lib/components/List/List.js +1 -5
  465. package/lib/components/List/List.js.map +1 -1
  466. package/lib/components/ListToolbar/ListToolbar.d.ts +1 -1
  467. package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
  468. package/lib/components/ListToolbar/ListToolbar.js +93 -81
  469. package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
  470. package/lib/components/ListToolbar/ListToolbar.styles.d.ts +821 -40
  471. package/lib/components/ListToolbar/ListToolbar.styles.d.ts.map +1 -1
  472. package/lib/components/ListToolbar/ListToolbar.styles.js +341 -83
  473. package/lib/components/ListToolbar/ListToolbar.styles.js.map +1 -1
  474. package/lib/components/ListToolbar/ListToolbar.types.d.ts +2 -1
  475. package/lib/components/ListToolbar/ListToolbar.types.d.ts.map +1 -1
  476. package/lib/components/ListToolbar/ListToolbar.types.js.map +1 -1
  477. package/lib/components/ListToolbar/PresetMenuPopover.d.ts.map +1 -1
  478. package/lib/components/ListToolbar/PresetMenuPopover.js +16 -5
  479. package/lib/components/ListToolbar/PresetMenuPopover.js.map +1 -1
  480. package/lib/components/Location/LocationInput.d.ts +2 -2
  481. package/lib/components/Location/LocationInput.d.ts.map +1 -1
  482. package/lib/components/Location/LocationInput.js.map +1 -1
  483. package/lib/components/Menu/FlyoutMenuList.d.ts.map +1 -1
  484. package/lib/components/Menu/FlyoutMenuList.js +1 -1
  485. package/lib/components/Menu/FlyoutMenuList.js.map +1 -1
  486. package/lib/components/Menu/Menu.d.ts +1 -1
  487. package/lib/components/Menu/Menu.d.ts.map +1 -1
  488. package/lib/components/Menu/Menu.js +12 -4
  489. package/lib/components/Menu/Menu.js.map +1 -1
  490. package/lib/components/Menu/Menu.styles.d.ts.map +1 -1
  491. package/lib/components/Menu/Menu.styles.js +6 -0
  492. package/lib/components/Menu/Menu.styles.js.map +1 -1
  493. package/lib/components/Menu/Menu.test-ids.d.ts +1 -1
  494. package/lib/components/Menu/Menu.test-ids.d.ts.map +1 -1
  495. package/lib/components/Menu/Menu.test-ids.js +1 -1
  496. package/lib/components/Menu/Menu.test-ids.js.map +1 -1
  497. package/lib/components/Menu/Menu.types.d.ts +9 -0
  498. package/lib/components/Menu/Menu.types.d.ts.map +1 -1
  499. package/lib/components/Menu/Menu.types.js.map +1 -1
  500. package/lib/components/Menu/MenuItem.d.ts +1 -1
  501. package/lib/components/Menu/helpers.d.ts +14 -0
  502. package/lib/components/Menu/helpers.d.ts.map +1 -1
  503. package/lib/components/Menu/helpers.js +26 -0
  504. package/lib/components/Menu/helpers.js.map +1 -1
  505. package/lib/components/MenuButton/MenuButton.d.ts +1 -1
  506. package/lib/components/MenuButton/MenuButton.d.ts.map +1 -1
  507. package/lib/components/MenuButton/MenuButton.js +47 -7
  508. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  509. package/lib/components/MetaList/MetaList.d.ts +1 -1
  510. package/lib/components/Modal/DockedModals.d.ts.map +1 -1
  511. package/lib/components/Modal/DockedModals.js +4 -3
  512. package/lib/components/Modal/DockedModals.js.map +1 -1
  513. package/lib/components/Modal/MinimizedModal.d.ts.map +1 -1
  514. package/lib/components/Modal/MinimizedModal.js +4 -0
  515. package/lib/components/Modal/MinimizedModal.js.map +1 -1
  516. package/lib/components/Modal/Modal.styles.d.ts.map +1 -1
  517. package/lib/components/Modal/Modal.styles.js +7 -3
  518. package/lib/components/Modal/Modal.styles.js.map +1 -1
  519. package/lib/components/MultiStepForm/FormProgress.styles.d.ts +25 -1
  520. package/lib/components/MultiStepForm/FormProgress.styles.d.ts.map +1 -1
  521. package/lib/components/MultiStepForm/FormProgress.styles.js +168 -5
  522. package/lib/components/MultiStepForm/FormProgress.styles.js.map +1 -1
  523. package/lib/components/MultiStepForm/HorizontalFormProgress.d.ts +2 -2
  524. package/lib/components/MultiStepForm/HorizontalFormProgress.d.ts.map +1 -1
  525. package/lib/components/MultiStepForm/HorizontalFormProgress.js +48 -22
  526. package/lib/components/MultiStepForm/HorizontalFormProgress.js.map +1 -1
  527. package/lib/components/MultiStepForm/MultiStepForm.d.ts +29 -29
  528. package/lib/components/MultiStepForm/MultiStepForm.d.ts.map +1 -1
  529. package/lib/components/MultiStepForm/MultiStepForm.js +2 -2
  530. package/lib/components/MultiStepForm/MultiStepForm.js.map +1 -1
  531. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts +5 -0
  532. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts.map +1 -1
  533. package/lib/components/MultiStepForm/MultiStepForm.types.js.map +1 -1
  534. package/lib/components/MultiStepForm/VerticalFormProgress.d.ts +2 -2
  535. package/lib/components/MultiStepForm/VerticalFormProgress.d.ts.map +1 -1
  536. package/lib/components/MultiStepForm/VerticalFormProgress.js +45 -20
  537. package/lib/components/MultiStepForm/VerticalFormProgress.js.map +1 -1
  538. package/lib/components/MultiStepForm/useFormProgressOverflow.d.ts +1 -1
  539. package/lib/components/MultiStepForm/useFormProgressOverflow.d.ts.map +1 -1
  540. package/lib/components/MultiStepForm/useFormProgressOverflow.js +17 -9
  541. package/lib/components/MultiStepForm/useFormProgressOverflow.js.map +1 -1
  542. package/lib/components/Number/NumberDisplay.d.ts +5 -0
  543. package/lib/components/Number/NumberDisplay.d.ts.map +1 -1
  544. package/lib/components/Number/NumberDisplay.js +3 -2
  545. package/lib/components/Number/NumberDisplay.js.map +1 -1
  546. package/lib/components/Number/NumberInput.d.ts +1 -1
  547. package/lib/components/Number/NumberInput.d.ts.map +1 -1
  548. package/lib/components/Number/NumberInput.js +10 -5
  549. package/lib/components/Number/NumberInput.js.map +1 -1
  550. package/lib/components/Number/NumberInput.types.d.ts +11 -3
  551. package/lib/components/Number/NumberInput.types.d.ts.map +1 -1
  552. package/lib/components/Number/NumberInput.types.js.map +1 -1
  553. package/lib/components/Number/NumberRangeInput.d.ts +1 -1
  554. package/lib/components/Number/NumberRangeInput.d.ts.map +1 -1
  555. package/lib/components/Number/NumberRangeInput.js +2 -2
  556. package/lib/components/Number/NumberRangeInput.js.map +1 -1
  557. package/lib/components/Number/utils.d.ts +3 -1
  558. package/lib/components/Number/utils.d.ts.map +1 -1
  559. package/lib/components/Number/utils.js +11 -9
  560. package/lib/components/Number/utils.js.map +1 -1
  561. package/lib/components/PageTemplates/CategorySubPage.styles.js +2 -2
  562. package/lib/components/PageTemplates/CategorySubPage.styles.js.map +1 -1
  563. package/lib/components/PageTemplates/DashboardPage.js +1 -1
  564. package/lib/components/PageTemplates/DashboardPage.js.map +1 -1
  565. package/lib/components/PageTemplates/GridLayout/EditorBackground.js +1 -1
  566. package/lib/components/PageTemplates/GridLayout/EditorBackground.js.map +1 -1
  567. package/lib/components/PageTemplates/GridLayout/GridLayoutEditor.d.ts.map +1 -1
  568. package/lib/components/PageTemplates/GridLayout/GridLayoutEditor.js +44 -10
  569. package/lib/components/PageTemplates/GridLayout/GridLayoutEditor.js.map +1 -1
  570. package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.js +2 -9
  571. package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.js.map +1 -1
  572. package/lib/components/PageTemplates/PageTemplates.d.ts +7 -7
  573. package/lib/components/PageTemplates/PageTemplates.js +1 -1
  574. package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
  575. package/lib/components/Phone/PhoneDisplay.d.ts +10 -0
  576. package/lib/components/Phone/PhoneDisplay.d.ts.map +1 -1
  577. package/lib/components/Phone/PhoneDisplay.js +7 -2
  578. package/lib/components/Phone/PhoneDisplay.js.map +1 -1
  579. package/lib/components/Phone/PhoneInput.d.ts +11 -1
  580. package/lib/components/Phone/PhoneInput.d.ts.map +1 -1
  581. package/lib/components/Phone/PhoneInput.js +21 -8
  582. package/lib/components/Phone/PhoneInput.js.map +1 -1
  583. package/lib/components/Phone/utils.d.ts +4 -2
  584. package/lib/components/Phone/utils.d.ts.map +1 -1
  585. package/lib/components/Phone/utils.js +17 -6
  586. package/lib/components/Phone/utils.js.map +1 -1
  587. package/lib/components/Popover/getResolvedTarget.d.ts +11 -0
  588. package/lib/components/Popover/getResolvedTarget.d.ts.map +1 -0
  589. package/lib/components/Popover/getResolvedTarget.js +13 -0
  590. package/lib/components/Popover/getResolvedTarget.js.map +1 -0
  591. package/lib/components/Popover/index.d.ts +1 -0
  592. package/lib/components/Popover/index.d.ts.map +1 -1
  593. package/lib/components/Popover/index.js +1 -0
  594. package/lib/components/Popover/index.js.map +1 -1
  595. package/lib/components/Preview/Preview.types.d.ts +1 -0
  596. package/lib/components/Preview/Preview.types.d.ts.map +1 -1
  597. package/lib/components/Preview/Preview.types.js.map +1 -1
  598. package/lib/components/Preview/PreviewManager.d.ts.map +1 -1
  599. package/lib/components/Preview/PreviewManager.js +10 -1
  600. package/lib/components/Preview/PreviewManager.js.map +1 -1
  601. package/lib/components/Preview/PreviewPanel.d.ts.map +1 -1
  602. package/lib/components/Preview/PreviewPanel.js +8 -3
  603. package/lib/components/Preview/PreviewPanel.js.map +1 -1
  604. package/lib/components/Progress/Progress.d.ts.map +1 -1
  605. package/lib/components/Progress/Progress.js +39 -7
  606. package/lib/components/Progress/Progress.js.map +1 -1
  607. package/lib/components/Progress/Progress.types.d.ts +10 -4
  608. package/lib/components/Progress/Progress.types.d.ts.map +1 -1
  609. package/lib/components/Progress/Progress.types.js.map +1 -1
  610. package/lib/components/QRCode/QRCode.d.ts +6 -1
  611. package/lib/components/QRCode/QRCode.d.ts.map +1 -1
  612. package/lib/components/QRCode/QRCode.js +17 -9
  613. package/lib/components/QRCode/QRCode.js.map +1 -1
  614. package/lib/components/QRCode/index.d.ts +1 -1
  615. package/lib/components/QRCode/index.d.ts.map +1 -1
  616. package/lib/components/QRCode/index.js.map +1 -1
  617. package/lib/components/RadioButton/RadioButton.d.ts +1 -1
  618. package/lib/components/RadioButton/RadioButtonCard.d.ts +1 -1
  619. package/lib/components/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  620. package/lib/components/RadioCheck/RadioCheck.d.ts +5 -3
  621. package/lib/components/RadioCheck/RadioCheck.d.ts.map +1 -1
  622. package/lib/components/RadioCheck/RadioCheck.js +63 -27
  623. package/lib/components/RadioCheck/RadioCheck.js.map +1 -1
  624. package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts +3 -3
  625. package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts.map +1 -1
  626. package/lib/components/RadioCheckGroup/RadioCheckGroup.js +46 -25
  627. package/lib/components/RadioCheckGroup/RadioCheckGroup.js.map +1 -1
  628. package/lib/components/ResponsiveActions/ResponsiveActions.d.ts.map +1 -1
  629. package/lib/components/ResponsiveActions/ResponsiveActions.js +1 -0
  630. package/lib/components/ResponsiveActions/ResponsiveActions.js.map +1 -1
  631. package/lib/components/Scanner/Scanner.d.ts +21 -0
  632. package/lib/components/Scanner/Scanner.d.ts.map +1 -0
  633. package/lib/components/Scanner/Scanner.js +177 -0
  634. package/lib/components/Scanner/Scanner.js.map +1 -0
  635. package/lib/components/Scanner/Scanner.styles.d.ts +4 -0
  636. package/lib/components/Scanner/Scanner.styles.d.ts.map +1 -0
  637. package/lib/components/Scanner/Scanner.styles.js +17 -0
  638. package/lib/components/Scanner/Scanner.styles.js.map +1 -0
  639. package/lib/components/Scanner/Scanner.test-ids.d.ts +2 -0
  640. package/lib/components/Scanner/Scanner.test-ids.d.ts.map +1 -0
  641. package/lib/components/Scanner/Scanner.test-ids.js +3 -0
  642. package/lib/components/Scanner/Scanner.test-ids.js.map +1 -0
  643. package/lib/components/Scanner/index.d.ts +3 -0
  644. package/lib/components/Scanner/index.d.ts.map +1 -0
  645. package/lib/components/Scanner/index.js +2 -0
  646. package/lib/components/Scanner/index.js.map +1 -0
  647. package/lib/components/Select/Select.d.ts +3 -4
  648. package/lib/components/Select/Select.d.ts.map +1 -1
  649. package/lib/components/Select/Select.js +11 -6
  650. package/lib/components/Select/Select.js.map +1 -1
  651. package/lib/components/SelectionCard/SelectionCard.d.ts +2 -2
  652. package/lib/components/SelectionCard/SelectionCard.d.ts.map +1 -1
  653. package/lib/components/SelectionCard/SelectionCard.js +3 -3
  654. package/lib/components/SelectionCard/SelectionCard.js.map +1 -1
  655. package/lib/components/SelectionCard/SelectionCard.styles.js +1 -1
  656. package/lib/components/SelectionCard/SelectionCard.styles.js.map +1 -1
  657. package/lib/components/SelectionCard/SelectionCardDisplay.d.ts +6 -1
  658. package/lib/components/SelectionCard/SelectionCardDisplay.d.ts.map +1 -1
  659. package/lib/components/SelectionCard/SelectionCardDisplay.js +4 -2
  660. package/lib/components/SelectionCard/SelectionCardDisplay.js.map +1 -1
  661. package/lib/components/ShortcutManager/Store.d.ts +1 -1
  662. package/lib/components/ShortcutManager/Store.d.ts.map +1 -1
  663. package/lib/components/Signature/Signature.d.ts +28 -0
  664. package/lib/components/Signature/Signature.d.ts.map +1 -0
  665. package/lib/components/Signature/Signature.js +397 -0
  666. package/lib/components/Signature/Signature.js.map +1 -0
  667. package/lib/components/Signature/Signature.styles.d.ts +197 -0
  668. package/lib/components/Signature/Signature.styles.d.ts.map +1 -0
  669. package/lib/components/Signature/Signature.styles.js +119 -0
  670. package/lib/components/Signature/Signature.styles.js.map +1 -0
  671. package/lib/components/Signature/Signature.test-ids.d.ts +2 -0
  672. package/lib/components/Signature/Signature.test-ids.d.ts.map +1 -0
  673. package/lib/components/Signature/Signature.test-ids.js +3 -0
  674. package/lib/components/Signature/Signature.test-ids.js.map +1 -0
  675. package/lib/components/Signature/index.d.ts +4 -0
  676. package/lib/components/Signature/index.d.ts.map +1 -0
  677. package/lib/components/Signature/index.js +3 -0
  678. package/lib/components/Signature/index.js.map +1 -0
  679. package/lib/components/SkipLinks/SkipLinks.d.ts +1 -1
  680. package/lib/components/SkipLinks/SkipLinks.d.ts.map +1 -1
  681. package/lib/components/Slider/Slider.d.ts +1 -1
  682. package/lib/components/SpeechToTextButton/SpeechToTextButton.d.ts +1 -1
  683. package/lib/components/SpeechToTextButton/SpeechToTextButton.js +1 -1
  684. package/lib/components/SpeechToTextButton/SpeechToTextButton.js.map +1 -1
  685. package/lib/components/SummaryItem/SummaryItem.d.ts +57 -57
  686. package/lib/components/SummaryList/SummaryList.d.ts +1 -1
  687. package/lib/components/SummaryList/SummaryList.d.ts.map +1 -1
  688. package/lib/components/SummaryList/SummaryList.js +8 -4
  689. package/lib/components/SummaryList/SummaryList.js.map +1 -1
  690. package/lib/components/Switch/Switch.js +2 -2
  691. package/lib/components/Switch/Switch.js.map +1 -1
  692. package/lib/components/Tabs/Tab.d.ts +1 -1
  693. package/lib/components/Tabs/Tab.d.ts.map +1 -1
  694. package/lib/components/Tabs/Tab.js +24 -8
  695. package/lib/components/Tabs/Tab.js.map +1 -1
  696. package/lib/components/Tabs/TabPanel.d.ts +28 -28
  697. package/lib/components/Text/Text.d.ts.map +1 -1
  698. package/lib/components/Text/Text.js +2 -0
  699. package/lib/components/Text/Text.js.map +1 -1
  700. package/lib/components/TextArea/TextArea.d.ts +1 -1
  701. package/lib/components/TextArea/TextArea.d.ts.map +1 -1
  702. package/lib/components/TextArea/TextArea.js +10 -24
  703. package/lib/components/TextArea/TextArea.js.map +1 -1
  704. package/lib/components/TextArea/TextArea.styles.d.ts +0 -1
  705. package/lib/components/TextArea/TextArea.styles.d.ts.map +1 -1
  706. package/lib/components/TextArea/TextArea.styles.js +1 -2
  707. package/lib/components/TextArea/TextArea.styles.js.map +1 -1
  708. package/lib/components/Toaster/Toaster.js +2 -6
  709. package/lib/components/Toaster/Toaster.js.map +1 -1
  710. package/lib/components/Tooltip/Tooltip.d.ts +1 -1
  711. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  712. package/lib/components/Tooltip/Tooltip.js +8 -2
  713. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  714. package/lib/components/Tree/StandardTree.js +1 -3
  715. package/lib/components/Tree/StandardTree.js.map +1 -1
  716. package/lib/components/Tree/StandardTree.styles.d.ts +2 -2
  717. package/lib/components/Tree/Tree.d.ts +1 -1
  718. package/lib/hooks/index.d.ts +1 -0
  719. package/lib/hooks/index.d.ts.map +1 -1
  720. package/lib/hooks/index.js +1 -0
  721. package/lib/hooks/index.js.map +1 -1
  722. package/lib/hooks/useAnimatedText.d.ts.map +1 -1
  723. package/lib/hooks/useAnimatedText.js +12 -1
  724. package/lib/hooks/useAnimatedText.js.map +1 -1
  725. package/lib/hooks/useBreakpoint.d.ts.map +1 -1
  726. package/lib/hooks/useBreakpoint.js +3 -1
  727. package/lib/hooks/useBreakpoint.js.map +1 -1
  728. package/lib/hooks/useComputedLengthPx.d.ts +10 -0
  729. package/lib/hooks/useComputedLengthPx.d.ts.map +1 -0
  730. package/lib/hooks/useComputedLengthPx.js +46 -0
  731. package/lib/hooks/useComputedLengthPx.js.map +1 -0
  732. package/lib/hooks/useI18n.d.ts +137 -14
  733. package/lib/hooks/useI18n.d.ts.map +1 -1
  734. package/lib/hooks/useScrollToggle.d.ts +2 -1
  735. package/lib/hooks/useScrollToggle.d.ts.map +1 -1
  736. package/lib/hooks/useScrollToggle.js +26 -8
  737. package/lib/hooks/useScrollToggle.js.map +1 -1
  738. package/lib/i18n/default.d.ts +136 -14
  739. package/lib/i18n/default.d.ts.map +1 -1
  740. package/lib/i18n/default.js +153 -22
  741. package/lib/i18n/default.js.map +1 -1
  742. package/lib/i18n/i18n.d.ts +136 -13
  743. package/lib/i18n/i18n.d.ts.map +1 -1
  744. package/lib/index.d.ts +4 -0
  745. package/lib/index.d.ts.map +1 -1
  746. package/lib/index.js +4 -0
  747. package/lib/index.js.map +1 -1
  748. package/lib/styles/GlobalStyle.d.ts.map +1 -1
  749. package/lib/styles/GlobalStyle.js +3 -3
  750. package/lib/styles/GlobalStyle.js.map +1 -1
  751. package/lib/styles/utils.d.ts +24 -4
  752. package/lib/styles/utils.d.ts.map +1 -1
  753. package/lib/styles/utils.js +59 -13
  754. package/lib/styles/utils.js.map +1 -1
  755. package/lib/theme/index.d.ts +4 -0
  756. package/lib/theme/index.d.ts.map +1 -1
  757. package/lib/theme/index.js +4 -0
  758. package/lib/theme/index.js.map +1 -1
  759. package/lib/theme/theme.d.ts +321 -0
  760. package/lib/theme/theme.d.ts.map +1 -1
  761. package/lib/theme/themeDefinition.json +193 -5
  762. package/lib/theme/themeOverrides.schema.json +188 -1
  763. package/lib/theme/themes/aurigaDarkTheme.json +159 -0
  764. package/lib/theme/themes/aurigaTheme.json +150 -0
  765. package/lib/theme/themes/orionDarkTheme.json +3 -1
  766. package/lib/theme/themes/orionTheme.json +3 -3
  767. package/lib/theme/themes/velaDarkTheme.json +175 -0
  768. package/lib/theme/themes/velaTheme.json +169 -0
  769. package/lib/theme/themes/virgoDarkTheme.json +4 -4
  770. package/lib/theme/themes/virgoTheme.json +5 -5
  771. package/lib/utils/index.d.ts +1 -0
  772. package/lib/utils/index.d.ts.map +1 -1
  773. package/lib/utils/index.js +1 -0
  774. package/lib/utils/index.js.map +1 -1
  775. package/lib/utils/isTouchDevice.d.ts +3 -0
  776. package/lib/utils/isTouchDevice.d.ts.map +1 -0
  777. package/lib/utils/isTouchDevice.js +4 -0
  778. package/lib/utils/isTouchDevice.js.map +1 -0
  779. package/package.json +6 -5
@@ -1 +1 @@
1
- {"version":3,"file":"useAnimatedText.js","sourceRoot":"","sources":["../../src/hooks/useAnimatedText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAE9D,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,MAAM,eAAe,GAAG,CAAC,EACvB,IAAI,EACJ,kBAAkB,GAAG,KAAK,EAC1B,OAAO,GAAG,IAAI,EACd,gBAAgB,GAAG,KAAK,EACxB,gBAAgB,EAOjB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,SAAS,GAAG,EAAE,CAAC;IACrB,MAAM,UAAU,GAAG,CAAC,CAAC;IAErB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc;IACvD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,CA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C9B,CAAC;QACH,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7B,IAAI,kBAAkB,EAAE,CAAC;QACvB,OAAO;YACL,IAAI;YACJ,eAAe,EAAE,IAAI;YACrB,kBAAkB,EAAE,MAAM,CAAC,MAAM;SAClC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,WAAW;QACjB,eAAe;QACf,kBAAkB,EAAE,MAAM;KAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import { useEffect, useState, useRef, useMemo } from 'react';\n\nimport tokenizeWithMarkdown from '../utils/markdownTokenizer';\n\nimport usePrevious from './usePrevious';\n\nconst useAnimatedText = ({\n text,\n allContentReceived = false,\n enabled = true,\n tokenizeMarkdown = false,\n cursorStartIndex\n}: {\n text: string;\n allContentReceived: boolean;\n enabled?: boolean;\n tokenizeMarkdown?: boolean;\n cursorStartIndex?: number;\n}) => {\n const initialTokens = 3;\n const maxTokens = 20;\n const phraseSize = 3;\n\n const [cursor, setCursor] = useState(0); // End pointer\n const [startingCursor, setStartingCursor] = useState(0); // animation starting point\n const [isAnimationDone, setIsAnimationDone] = useState(false);\n\n const currentSpeedRef = useRef(initialTokens);\n const allContentReceivedRef = useRef(allContentReceived);\n allContentReceivedRef.current = allContentReceived;\n\n const prevText = usePrevious(text);\n\n const tokens = useMemo(() => {\n return tokenizeWithMarkdown(text, { tokenizeMarkdown, phraseSize });\n }, [text, tokenizeMarkdown]);\n\n const visibleText = useMemo(() => {\n return tokens.slice(0, cursor).join('');\n }, [tokens, cursor]);\n\n useEffect(() => {\n if (cursorStartIndex) {\n setStartingCursor(cursorStartIndex);\n }\n }, []);\n\n useEffect(() => {\n if (prevText !== undefined && prevText !== text) {\n setIsAnimationDone(false);\n setStartingCursor(text.startsWith(prevText) ? cursor : 0);\n }\n }, [text, cursor, prevText]);\n\n useEffect(() => {\n // If streaming is disabled or all chunks received - return the whole content\n if (!enabled || allContentReceivedRef.current) {\n setCursor(tokens.length);\n setIsAnimationDone(true);\n currentSpeedRef.current = Math.max(currentSpeedRef.current, maxTokens);\n\n return;\n }\n\n const targetLength = tokens.length;\n const charactersToAnimate = targetLength - startingCursor;\n\n // If there are no more characters to animate\n if (charactersToAnimate <= 0) {\n setCursor(targetLength);\n // Only set animation done if we have all content AND no more characters to animate\n if (allContentReceivedRef.current) {\n setIsAnimationDone(true);\n }\n return;\n }\n\n let rafId: number | null = null;\n let startTime: number | null = null;\n let isStopped = false;\n let lastCursor = startingCursor;\n\n const processTextAnimation = (currentTime: number) => {\n if (isStopped) return;\n\n // Stop animation immediately when all content is received\n if (allContentReceivedRef.current) {\n setCursor(tokens.length);\n setIsAnimationDone(true);\n currentSpeedRef.current = Math.max(currentSpeedRef.current, maxTokens);\n return;\n }\n\n // Initialize start time on first frame\n if (startTime === null) {\n startTime = currentTime;\n }\n\n // Smoothly transition to target speed\n const speedDiff = maxTokens - currentSpeedRef.current;\n currentSpeedRef.current += speedDiff * 0.1; // Smooth transition\n\n const elapsed = currentTime - startTime;\n const timeStep = elapsed / 1000;\n\n // Calculate how many tokens we should have shown by now\n const expectedCursor = Math.min(\n startingCursor + timeStep * currentSpeedRef.current,\n targetLength\n );\n const newCursor = Math.min(Math.floor(expectedCursor), targetLength);\n const safeCursor = Math.max(newCursor, lastCursor);\n\n // Skip update if the cursor is at the same token\n if (safeCursor !== lastCursor) {\n setCursor(safeCursor);\n lastCursor = safeCursor;\n }\n\n // End condition - stop when we reach the target\n if (safeCursor >= targetLength && allContentReceivedRef.current) {\n setIsAnimationDone(true);\n return;\n }\n\n // Continue animation if not done\n if (safeCursor < targetLength || !allContentReceivedRef.current) {\n rafId = requestAnimationFrame(processTextAnimation); // Schedule next frame\n }\n };\n\n // Start the animation\n rafId = requestAnimationFrame(processTextAnimation);\n\n return () => {\n isStopped = true;\n\n if (rafId) {\n cancelAnimationFrame(rafId);\n }\n };\n }, [startingCursor, tokens]);\n\n if (allContentReceived) {\n return {\n text,\n isAnimationDone: true,\n animatedTillCursor: tokens.length\n };\n }\n\n return {\n text: visibleText,\n isAnimationDone,\n animatedTillCursor: cursor\n };\n};\n\nexport default useAnimatedText;\n"]}
1
+ {"version":3,"file":"useAnimatedText.js","sourceRoot":"","sources":["../../src/hooks/useAnimatedText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAE9D,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,MAAM,eAAe,GAAG,CAAC,EACvB,IAAI,EACJ,kBAAkB,GAAG,KAAK,EAC1B,OAAO,GAAG,IAAI,EACd,gBAAgB,GAAG,KAAK,EACxB,gBAAgB,EAOjB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,SAAS,GAAG,EAAE,CAAC;IACrB,MAAM,UAAU,GAAG,CAAC,CAAC;IAErB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc;IACvD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,2BAA2B;IACpF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9D,MAAM,eAAe,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;IAC9C,MAAM,qBAAqB,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACzD,qBAAqB,CAAC,OAAO,GAAG,kBAAkB,CAAC;IAEnD,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAEnC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,OAAO,oBAAoB,CAAC,IAAI,E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C,CAAC;IACJ,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7B,IAAI,kBAAkB,EAAE,CAAC;QACvB,OAAO;YACL,IAAI;YACJ,eAAe,EAAE,IAAI;YACrB,kBAAkB,EAAE,MAAM,CAAC,MAAM;SAClC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,WAAW;QACjB,eAAe;QACf,kBAAkB,EAAE,MAAM;KAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import { useEffect, useState, useRef, useMemo } from 'react';\n\nimport tokenizeWithMarkdown from '../utils/markdownTokenizer';\n\nimport usePrevious from './usePrevious';\n\nconst useAnimatedText = ({\n text,\n allContentReceived = false,\n enabled = true,\n tokenizeMarkdown = false,\n cursorStartIndex\n}: {\n text: string;\n allContentReceived: boolean;\n enabled?: boolean;\n tokenizeMarkdown?: boolean;\n cursorStartIndex?: number;\n}) => {\n const initialTokens = 3;\n const maxTokens = 20;\n const phraseSize = 3;\n\n const [cursor, setCursor] = useState(0); // End pointer\n const [startingCursor, setStartingCursor] = useState(0); // animation starting point\n const [isAnimationDone, setIsAnimationDone] = useState(false);\n\n const currentSpeedRef = useRef(initialTokens);\n const allContentReceivedRef = useRef(allContentReceived);\n allContentReceivedRef.current = allContentReceived;\n\n const prevText = usePrevious(text);\n\n const tokens = useMemo(() => {\n return tokenizeWithMarkdown(text, { tokenizeMarkdown, phraseSize });\n }, [text, tokenizeMarkdown]);\n\n const visibleText = useMemo(() => {\n return tokens.slice(0, cursor).join('');\n }, [tokens, cursor]);\n\n useEffect(() => {\n if (cursorStartIndex) {\n setStartingCursor(cursorStartIndex);\n }\n }, []);\n\n useEffect(() => {\n if (prevText !== undefined && prevText !== text) {\n setIsAnimationDone(false);\n setStartingCursor(text.startsWith(prevText) ? cursor : 0);\n }\n }, [text, cursor, prevText]);\n\n useEffect(() => {\n // If streaming is disabled or all chunks received - return the whole content\n if (!enabled || allContentReceivedRef.current) {\n setCursor(tokens.length);\n setIsAnimationDone(true);\n currentSpeedRef.current = Math.max(currentSpeedRef.current, maxTokens);\n\n return;\n }\n\n const targetLength = tokens.length;\n const charactersToAnimate = targetLength - startingCursor;\n\n // If there are no more characters to animate\n if (charactersToAnimate <= 0) {\n setCursor(targetLength);\n // Only set animation done if we have all content AND no more characters to animate\n if (allContentReceivedRef.current) {\n setIsAnimationDone(true);\n return;\n }\n let pollId: ReturnType<typeof setTimeout>;\n const checkForCompletion = () => {\n if (allContentReceivedRef.current) {\n setIsAnimationDone(true);\n } else {\n pollId = setTimeout(checkForCompletion, 50);\n }\n };\n pollId = setTimeout(checkForCompletion, 50);\n return () => clearTimeout(pollId);\n }\n\n let rafId: number | null = null;\n let startTime: number | null = null;\n let isStopped = false;\n let lastCursor = startingCursor;\n\n const processTextAnimation = (currentTime: number) => {\n if (isStopped) return;\n\n // Stop animation immediately when all content is received\n if (allContentReceivedRef.current) {\n setCursor(tokens.length);\n setIsAnimationDone(true);\n currentSpeedRef.current = Math.max(currentSpeedRef.current, maxTokens);\n return;\n }\n\n // Initialize start time on first frame\n if (startTime === null) {\n startTime = currentTime;\n }\n\n // Smoothly transition to target speed\n const speedDiff = maxTokens - currentSpeedRef.current;\n currentSpeedRef.current += speedDiff * 0.1; // Smooth transition\n\n const elapsed = currentTime - startTime;\n const timeStep = elapsed / 1000;\n\n // Calculate how many tokens we should have shown by now\n const expectedCursor = Math.min(\n startingCursor + timeStep * currentSpeedRef.current,\n targetLength\n );\n const newCursor = Math.min(Math.floor(expectedCursor), targetLength);\n const safeCursor = Math.max(newCursor, lastCursor);\n\n // Skip update if the cursor is at the same token\n if (safeCursor !== lastCursor) {\n setCursor(safeCursor);\n lastCursor = safeCursor;\n }\n\n // End condition - stop when we reach the target\n if (safeCursor >= targetLength && allContentReceivedRef.current) {\n setIsAnimationDone(true);\n return;\n }\n\n // Continue animation if not done\n if (safeCursor < targetLength || !allContentReceivedRef.current) {\n rafId = requestAnimationFrame(processTextAnimation); // Schedule next frame\n }\n };\n\n // Start the animation\n rafId = requestAnimationFrame(processTextAnimation);\n\n return () => {\n isStopped = true;\n\n if (rafId) {\n cancelAnimationFrame(rafId);\n }\n };\n }, [startingCursor, tokens]);\n\n if (allContentReceived) {\n return {\n text,\n isAnimationDone: true,\n animatedTillCursor: tokens.length\n };\n }\n\n return {\n text: visibleText,\n isAnimationDone,\n animatedTillCursor: cursor\n };\n};\n\nexport default useAnimatedText;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC;;;;;GAKG;AACH,QAAA,MAAM,aAAa,GACjB,YAAY,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAC5C,6CAIG;IACD,aAAa,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,GAAG,eAAe,CAAC;CACxC,YA4EP,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC;;;;;GAKG;AACH,QAAA,MAAM,aAAa,GACjB,YAAY,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAC5C,6CAIG;IACD,aAAa,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,GAAG,eAAe,CAAC;CACxC,YAiFP,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -24,7 +24,9 @@ const useBreakpoint = (breakpoint, { breakpointRef, defaultValue = false, themeP
24
24
  // Breakpoint handling for contained elements
25
25
  if (breakpointRef && breakpointRef.current) {
26
26
  const debouncedResize = debounce((entries) => {
27
- if (!breakpointRef.current?.checkVisibility())
27
+ // // Ignore stale entries from a container replaced by a portal or remount.(Full screen mode)
28
+ if (!breakpointRef.current?.checkVisibility() ||
29
+ !entries.some(({ target }) => target === breakpointRef.current))
28
30
  return;
29
31
  const matchesBreakpoint = entries.some(({ target, contentRect }) => {
30
32
  if (target !== breakpointRef.current)
@@ -1 +1 @@
1
- {"version":3,"file":"useBreakpoint.js","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7F,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,uHAAuH;AACvH,MAAM,YAAY,GAAG,iBAAiB;IACpC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,IAAI,MAAM;IACtE,CAAC,CAAC,MAAM,CAAC;AAEX;;;;;GAKG;AACH,MAAM,aAAa,GAAG,CACpB,UAA4C,EAC5C,EACE,aAAa,EACb,YAAY,GAAG,KAAK,EACpB,SAAS,GAAG,aAAa,KAKvB,EAAE,EACN,EAAE;IACF,MAAM,EACJ,IAAI,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,EACrD,GAAG,QAAQ,EAAE,CAAC;IACf,MAAM,aAAa,GACjB,SAAS,KAAK,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,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ACH,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAE7B,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import { useState, useLayoutEffect, useCallback } from 'react';\nimport type { RefObject } from 'react';\n\nimport { windowIsAvailable, debounce, testElForOverflow, getScrollbarWidth } from '../utils';\n\nimport useChToPxConversionFactor from './useChToPxConversionFactor';\nimport useTheme from './useTheme';\n\n// We should be able to safely capture once as the computed root font size is unlikely to change during normal runtime.\nconst rootFontSize = windowIsAvailable\n ? window.getComputedStyle(document.documentElement).fontSize || '16px'\n : '16px';\n\n/**\n * @example const breakpointActive = useBreakpoint(breakpoint);\n * @param breakpoint The string indicator for the breakpoint that should be checked for validity.\n * @param options\n * @returns breakpointActive:: A boolean indicating if the given breakpoint is active or not. If false, the breakpoint is too big for the screen size.\n */\nconst useBreakpoint = (\n breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl',\n {\n breakpointRef,\n defaultValue = false,\n themeProp = 'breakpoints'\n }: {\n breakpointRef?: RefObject<Element> | undefined;\n defaultValue?: boolean;\n themeProp?: 'breakpoints' | 'content-width';\n } = {}\n) => {\n const {\n base: { breakpoints, 'content-width': contentWidth }\n } = useTheme();\n const breakpointVal =\n themeProp === 'content-width' ? contentWidth[breakpoint] : breakpoints[breakpoint];\n\n const [matches, setMatches] = useState(\n windowIsAvailable ? window.matchMedia(`(min-width: ${breakpointVal})`).matches : !!defaultValue\n );\n\n const chToPxConversionFactor = useChToPxConversionFactor();\n\n const onResize = useCallback((e: MediaQueryListEvent) => {\n setMatches(e.matches);\n }, []);\n\n useLayoutEffect(() => {\n // Breakpoint handling for contained elements\n if (breakpointRef && breakpointRef.current) {\n const debouncedResize = debounce((entries: ResizeObserverEntry[]) => {\n if (!breakpointRef.current?.checkVisibility()) return;\n const matchesBreakpoint = entries.some(({ target, contentRect }) => {\n if (target !== breakpointRef.current) return;\n\n const scrollbarWidth = testElForOverflow(breakpointRef.current)[1]\n ? getScrollbarWidth()\n : 0;\n const multiplier =\n themeProp === 'breakpoints' ? parseFloat(rootFontSize) : chToPxConversionFactor;\n return (\n Math.ceil(contentRect.width + scrollbarWidth) >= parseFloat(breakpointVal) * multiplier\n );\n });\n\n setMatches(matchesBreakpoint);\n }, 100);\n\n const observer = new ResizeObserver(debouncedResize);\n\n observer.observe(breakpointRef.current);\n\n return () => {\n observer.disconnect();\n };\n }\n\n // Breakpoint handling for viewport\n if (windowIsAvailable) {\n const mediaMatch = window.matchMedia(`(min-width: ${breakpointVal})`);\n const mediaMatchAvailable = 'addEventListener' in mediaMatch;\n const resizeHandler = debounce(() => {\n setMatches(window.innerWidth >= parseInt(breakpointVal, 10));\n }, 100);\n\n // Need to check useMatchMedia in order to support unit testing\n if (mediaMatchAvailable) {\n mediaMatch.addEventListener('change', onResize);\n setMatches(mediaMatch.matches);\n } else {\n window.addEventListener('resize', resizeHandler);\n setMatches(window.innerWidth >= parseInt(breakpointVal, 10));\n }\n\n return () => {\n // Need to check useMatchMedia in order to support unit testing\n if (mediaMatchAvailable) mediaMatch.removeEventListener('change', onResize);\n else {\n window.removeEventListener('resize', resizeHandler);\n }\n };\n }\n }, [breakpointRef?.current]);\n\n return matches;\n};\n\nexport default useBreakpoint;\n"]}
1
+ {"version":3,"file":"useBreakpoint.js","sourceRoot":"","sources":["../../src/hooks/useBreakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7F,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,uHAAuH;AACvH,MAAM,YAAY,GAAG,iBAAiB;IACpC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ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AAE,CAAC;gBACxB,UAAU,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBAChD,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YACjC,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;gBACjD,UAAU,CAAC,MAAM,CAAC,UAAU,IAAI,QAAQ,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,CAAC;YAC/D,CAAC;YAED,OAAO,GAAG,EAAE;gBACV,+DAA+D;gBAC/D,IAAI,mBAAmB;oBAAE,UAAU,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;qBACvE,CAAC;oBACJ,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;gBACtD,CAAC;YACH,CAAC,CAAC;QACJ,CAAC;IACH,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAE7B,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import { useState, useLayoutEffect, useCallback } from 'react';\nimport type { RefObject } from 'react';\n\nimport { windowIsAvailable, debounce, testElForOverflow, getScrollbarWidth } from '../utils';\n\nimport useChToPxConversionFactor from './useChToPxConversionFactor';\nimport useTheme from './useTheme';\n\n// We should be able to safely capture once as the computed root font size is unlikely to change during normal runtime.\nconst rootFontSize = windowIsAvailable\n ? window.getComputedStyle(document.documentElement).fontSize || '16px'\n : '16px';\n\n/**\n * @example const breakpointActive = useBreakpoint(breakpoint);\n * @param breakpoint The string indicator for the breakpoint that should be checked for validity.\n * @param options\n * @returns breakpointActive:: A boolean indicating if the given breakpoint is active or not. If false, the breakpoint is too big for the screen size.\n */\nconst useBreakpoint = (\n breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl',\n {\n breakpointRef,\n defaultValue = false,\n themeProp = 'breakpoints'\n }: {\n breakpointRef?: RefObject<Element> | undefined;\n defaultValue?: boolean;\n themeProp?: 'breakpoints' | 'content-width';\n } = {}\n) => {\n const {\n base: { breakpoints, 'content-width': contentWidth }\n } = useTheme();\n const breakpointVal =\n themeProp === 'content-width' ? contentWidth[breakpoint] : breakpoints[breakpoint];\n\n const [matches, setMatches] = useState(\n windowIsAvailable ? window.matchMedia(`(min-width: ${breakpointVal})`).matches : !!defaultValue\n );\n\n const chToPxConversionFactor = useChToPxConversionFactor();\n\n const onResize = useCallback((e: MediaQueryListEvent) => {\n setMatches(e.matches);\n }, []);\n\n useLayoutEffect(() => {\n // Breakpoint handling for contained elements\n if (breakpointRef && breakpointRef.current) {\n const debouncedResize = debounce((entries: ResizeObserverEntry[]) => {\n // // Ignore stale entries from a container replaced by a portal or remount.(Full screen mode)\n if (\n !breakpointRef.current?.checkVisibility() ||\n !entries.some(({ target }) => target === breakpointRef.current)\n )\n return;\n const matchesBreakpoint = entries.some(({ target, contentRect }) => {\n if (target !== breakpointRef.current) return;\n\n const scrollbarWidth = testElForOverflow(breakpointRef.current)[1]\n ? getScrollbarWidth()\n : 0;\n const multiplier =\n themeProp === 'breakpoints' ? parseFloat(rootFontSize) : chToPxConversionFactor;\n return (\n Math.ceil(contentRect.width + scrollbarWidth) >= parseFloat(breakpointVal) * multiplier\n );\n });\n\n setMatches(matchesBreakpoint);\n }, 100);\n\n const observer = new ResizeObserver(debouncedResize);\n\n observer.observe(breakpointRef.current);\n\n return () => {\n observer.disconnect();\n };\n }\n\n // Breakpoint handling for viewport\n if (windowIsAvailable) {\n const mediaMatch = window.matchMedia(`(min-width: ${breakpointVal})`);\n const mediaMatchAvailable = 'addEventListener' in mediaMatch;\n const resizeHandler = debounce(() => {\n setMatches(window.innerWidth >= parseInt(breakpointVal, 10));\n }, 100);\n\n // Need to check useMatchMedia in order to support unit testing\n if (mediaMatchAvailable) {\n mediaMatch.addEventListener('change', onResize);\n setMatches(mediaMatch.matches);\n } else {\n window.addEventListener('resize', resizeHandler);\n setMatches(window.innerWidth >= parseInt(breakpointVal, 10));\n }\n\n return () => {\n // Need to check useMatchMedia in order to support unit testing\n if (mediaMatchAvailable) mediaMatch.removeEventListener('change', onResize);\n else {\n window.removeEventListener('resize', resizeHandler);\n }\n };\n }\n }, [breakpointRef?.current]);\n\n return matches;\n};\n\nexport default useBreakpoint;\n"]}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Resolves a CSS custom property length to pixels in the context of `element`,
3
+ * and re-reads when the property value changes.
4
+ * @param element - Element whose document and CSS variable context are used for measurement.
5
+ * @param customProperty - CSS custom property name to resolve to pixels.
6
+ * @returns Resolved pixel length for the provided CSS custom property.
7
+ */
8
+ declare const useComputedLengthPx: (element: HTMLElement | null, customProperty: `--${string}`) => number;
9
+ export default useComputedLengthPx;
10
+ //# sourceMappingURL=useComputedLengthPx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComputedLengthPx.d.ts","sourceRoot":"","sources":["../../src/hooks/useComputedLengthPx.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,GACvB,SAAS,WAAW,GAAG,IAAI,EAC3B,gBAAgB,KAAK,MAAM,EAAE,KAC5B,MAkDF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { hideVisually } from 'polished';
2
+ import { useLayoutEffect, useState } from 'react';
3
+ /**
4
+ * Resolves a CSS custom property length to pixels in the context of `element`,
5
+ * and re-reads when the property value changes.
6
+ * @param element - Element whose document and CSS variable context are used for measurement.
7
+ * @param customProperty - CSS custom property name to resolve to pixels.
8
+ * @returns Resolved pixel length for the provided CSS custom property.
9
+ */
10
+ const useComputedLengthPx = (element, customProperty) => {
11
+ const [lengthPx, setLengthPx] = useState(0);
12
+ useLayoutEffect(() => {
13
+ if (!element) {
14
+ setLengthPx(0);
15
+ return;
16
+ }
17
+ const { ownerDocument } = element;
18
+ const win = ownerDocument.defaultView ?? window;
19
+ const ghost = ownerDocument.createElement('div');
20
+ Object.assign(ghost.style, hideVisually(), {
21
+ pointerEvents: 'none',
22
+ insetBlockStart: `var(${customProperty})`,
23
+ transition: `${customProperty} 1ms allow-discrete`
24
+ });
25
+ element.after(ghost);
26
+ const syncLengthPx = () => {
27
+ const pxValue = Number.parseFloat(win.getComputedStyle(ghost).insetBlockStart);
28
+ const nextPx = Number.isFinite(pxValue) ? pxValue : 0;
29
+ setLengthPx(nextPx);
30
+ };
31
+ syncLengthPx();
32
+ const ac = new AbortController();
33
+ ghost.addEventListener('transitionend', event => {
34
+ if (event.target !== ghost || event.propertyName !== customProperty)
35
+ return;
36
+ syncLengthPx();
37
+ }, { signal: ac.signal });
38
+ return () => {
39
+ ac.abort();
40
+ ghost.remove();
41
+ };
42
+ }, [customProperty, element]);
43
+ return lengthPx;
44
+ };
45
+ export default useComputedLengthPx;
46
+ //# sourceMappingURL=useComputedLengthPx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComputedLengthPx.js","sourceRoot":"","sources":["../../src/hooks/useComputedLengthPx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,mBAAmB,GAAG,CAC1B,OAA2B,EAC3B,cAA6B,EACrB,EAAE;IACV,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE5C,eAAe,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,WAAW,CAAC,CAAC,CAAC,CAAC;YACf,OAAO;QACT,CAAC;QAED,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;QAClC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,IAAI,MAAM,CAAC;QAEhD,MAAM,KAAK,GAAG,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAEjD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE;YACzC,aAAa,EAAE,MAAM;YACrB,eAAe,EAAE,OAAO,cAAc,GAAG;YACzC,UAAU,EAAE,GAAG,cAAc,qBAAqB;SACnD,CAAC,CAAC;QAEH,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAErB,MAAM,YAAY,GAAG,GAAG,EAAE;YACxB,MAAM,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,CAAC;YAC/E,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;YAEtD,WAAW,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC,CAAC;QAEF,YAAY,EAAE,CAAC;QAEf,MAAM,EAAE,GAAG,IAAI,eAAe,EAAE,CAAC;QAEjC,KAAK,CAAC,gBAAgB,CACpB,eAAe,EACf,KAAK,CAAC,EAAE;YACN,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,IAAI,KAAK,CAAC,YAAY,KAAK,cAAc;gBAAE,OAAO;YAE5E,YAAY,EAAE,CAAC;QACjB,CAAC,EACD,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CACtB,CAAC;QAEF,OAAO,GAAG,EAAE;YACV,EAAE,CAAC,KAAK,EAAE,CAAC;YACX,KAAK,CAAC,MAAM,EAAE,CAAC;QACjB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC;IAE9B,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["import { hideVisually } from 'polished';\nimport { useLayoutEffect, useState } from 'react';\n\n/**\n * Resolves a CSS custom property length to pixels in the context of `element`,\n * and re-reads when the property value changes.\n * @param element - Element whose document and CSS variable context are used for measurement.\n * @param customProperty - CSS custom property name to resolve to pixels.\n * @returns Resolved pixel length for the provided CSS custom property.\n */\nconst useComputedLengthPx = (\n element: HTMLElement | null,\n customProperty: `--${string}`\n): number => {\n const [lengthPx, setLengthPx] = useState(0);\n\n useLayoutEffect(() => {\n if (!element) {\n setLengthPx(0);\n return;\n }\n\n const { ownerDocument } = element;\n const win = ownerDocument.defaultView ?? window;\n\n const ghost = ownerDocument.createElement('div');\n\n Object.assign(ghost.style, hideVisually(), {\n pointerEvents: 'none',\n insetBlockStart: `var(${customProperty})`,\n transition: `${customProperty} 1ms allow-discrete`\n });\n\n element.after(ghost);\n\n const syncLengthPx = () => {\n const pxValue = Number.parseFloat(win.getComputedStyle(ghost).insetBlockStart);\n const nextPx = Number.isFinite(pxValue) ? pxValue : 0;\n\n setLengthPx(nextPx);\n };\n\n syncLengthPx();\n\n const ac = new AbortController();\n\n ghost.addEventListener(\n 'transitionend',\n event => {\n if (event.target !== ghost || event.propertyName !== customProperty) return;\n\n syncLengthPx();\n },\n { signal: ac.signal }\n );\n\n return () => {\n ac.abort();\n ghost.remove();\n };\n }, [customProperty, element]);\n\n return lengthPx;\n};\n\nexport default useComputedLengthPx;\n"]}
@@ -2,7 +2,7 @@
2
2
  * @example const translator = useI18n();
3
3
  * @returns translator:: The translator function that provides translations for a given key in the translation JSON provided to the Configuration component.
4
4
  */
5
- declare const useI18n: () => import("../i18n/translate").TranslationFunction<Readonly<{
5
+ declare const useI18n: () => import("..").TranslationFunction<Readonly<{
6
6
  yes: string;
7
7
  no: string;
8
8
  always: string;
@@ -78,11 +78,19 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
78
78
  panel: string;
79
79
  other: string;
80
80
  columns: string;
81
+ application: string;
81
82
  remove: string;
82
83
  follow: string;
83
84
  unfollow: string;
84
85
  add: string;
85
86
  cancel: string;
87
+ scanning: string;
88
+ scan: string;
89
+ scan_barcode_or_qr_code: string;
90
+ point_camera_at_barcode: string;
91
+ starting_camera: string;
92
+ barcode_scan_failed: string;
93
+ camera_access_denied: string;
86
94
  try_again: string;
87
95
  update: string;
88
96
  submit: string;
@@ -98,6 +106,17 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
98
106
  collapse: string;
99
107
  accept: string;
100
108
  clear: string;
109
+ signature_captured: string;
110
+ signature_image_alt: string;
111
+ signature_draw_area: string;
112
+ signature_type_placeholder: string;
113
+ signature_type_label: string;
114
+ signature_mode_label: string;
115
+ signature_mode_draw: string;
116
+ signature_mode_type: string;
117
+ signature_mode_upload: string;
118
+ signature_upload_label: string;
119
+ signature_fullscreen_heading: string;
101
120
  use: string;
102
121
  undo: string;
103
122
  redo: string;
@@ -131,6 +150,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
131
150
  clear_all: string;
132
151
  clear_selection: string;
133
152
  link_open_in_tab_text: string;
153
+ link_open_text: string;
134
154
  edit_details: string;
135
155
  add_emoji: string;
136
156
  create_new: string;
@@ -145,6 +165,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
145
165
  close_noun: string;
146
166
  view_all_noun: string;
147
167
  view_less_noun: string;
168
+ show_more_items: string;
148
169
  expand_noun: string;
149
170
  add_noun: string;
150
171
  collapse_noun: string;
@@ -154,6 +175,13 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
154
175
  unselected_noun: string;
155
176
  use_input_value: string;
156
177
  preview_of_noun: string;
178
+ detail: string;
179
+ detail_of_noun: string;
180
+ close_detail: string;
181
+ previous_record: string;
182
+ next_record: string;
183
+ showing_detail_of_noun: string;
184
+ record_position_of_total: string;
157
185
  go_to_noun: string;
158
186
  insert_noun: string;
159
187
  delete_noun: string;
@@ -165,6 +193,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
165
193
  resize_noun: string;
166
194
  search_noun: string;
167
195
  actions_for: string;
196
+ edit_for: string;
168
197
  edited: string;
169
198
  deleted: string;
170
199
  done: string;
@@ -188,12 +217,20 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
188
217
  completed: string;
189
218
  current: string;
190
219
  previous: string;
220
+ previous_value: string;
221
+ current_value: string;
222
+ changes: string;
223
+ value_changes: string;
224
+ view_changes: string;
225
+ plain_changes: string;
191
226
  not_started: string;
192
227
  empty_value: string;
193
228
  no_value: string;
194
229
  delivered: string;
195
230
  sent: string;
196
231
  active: string;
232
+ inactive: string;
233
+ dismissed: string;
197
234
  read_only: string;
198
235
  information: string;
199
236
  error: string;
@@ -286,6 +323,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
286
323
  text_area_characters_remaining: string;
287
324
  text_area_character_limit: string;
288
325
  preview_link_instruction: string;
326
+ open_link_instruction: string;
289
327
  polite_announcements: string;
290
328
  assertive_announcements: string;
291
329
  go_to_main_content: string;
@@ -324,6 +362,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
324
362
  theme_dark: string;
325
363
  theme_system: string;
326
364
  app_shell_share: string;
365
+ app_shell_notifications_mark_all_as_read: string;
327
366
  app_header_help: string;
328
367
  combobox_open_close: string;
329
368
  combobox_search_instructions: string;
@@ -331,7 +370,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
331
370
  combobox_close_list_button_a11y: string;
332
371
  multiselect_instructions: string;
333
372
  multiselect_instructions_with_links: string;
373
+ multiselect_tab_to_input: string;
334
374
  selected_items: string;
375
+ combobox_loading_selected_items: string;
335
376
  composite_input_open_button_a11y: string;
336
377
  composite_input_close_button_a11y: string;
337
378
  list_toolbar_add_view: string;
@@ -345,6 +386,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
345
386
  menu_item_count: string;
346
387
  menu_collapsed: string;
347
388
  menu_expanded: string;
389
+ menu_select_filtered: string;
348
390
  modal_minimize: string;
349
391
  modal_maximize: string;
350
392
  modal_dock: string;
@@ -373,6 +415,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
373
415
  choose_date: string;
374
416
  choose_date_and_time: string;
375
417
  choose_week: string;
418
+ choose_time: string;
376
419
  set_current_week_ally: string;
377
420
  auto_focus_next_input_description: string;
378
421
  year_input_description: string;
@@ -466,8 +509,12 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
466
509
  preview_error: string;
467
510
  case_preview_tabs: string;
468
511
  agent_switcher: string;
512
+ agent_mode_selector: string;
513
+ model_selector_button: string;
469
514
  message_pega_gen_ai_coach: string;
470
515
  write_message: string;
516
+ ask_anything: string;
517
+ what_can_i_help_you_with: string;
471
518
  ai_disclaimer: string;
472
519
  suggestions: string;
473
520
  you: string;
@@ -517,13 +564,16 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
517
564
  user_message: string;
518
565
  active_cases: string;
519
566
  active_cases_trigger: string;
567
+ cases_in_this_chat: string;
520
568
  your_chats: string;
521
569
  reset_width: string;
522
570
  split_width: string;
523
571
  full_width: string;
524
572
  accept_suggestion_button_a11y: string;
525
573
  reject_suggestion_button_a11y: string;
526
- suggestion_info: string;
574
+ suggestion_previous_value: string;
575
+ suggestion_suggested_value: string;
576
+ suggestion_clear: string;
527
577
  suggestion_assist: string;
528
578
  country_code: string;
529
579
  phone_number: string;
@@ -541,6 +591,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
541
591
  shortcut_JumpToToast: string;
542
592
  shortcut_DismissToast: string;
543
593
  configurable_layout_instructions: string;
594
+ configurable_layout_item_moved: string;
595
+ configurable_layout_item_resized: string;
544
596
  page_number: string;
545
597
  dictate: string;
546
598
  stop_dictation: string;
@@ -641,6 +693,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
641
693
  all_predictions: string;
642
694
  learn_more: string;
643
695
  tasks: string;
696
+ task_count: {
697
+ zero: string;
698
+ one: string;
699
+ two: string;
700
+ few: string;
701
+ many: string;
702
+ other: string;
703
+ };
644
704
  tasks_added: {
645
705
  zero: string;
646
706
  one: string;
@@ -976,6 +1036,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
976
1036
  call_panel_heading: string;
977
1037
  call_panel_make_new_call: string;
978
1038
  call_panel_agent_status: string;
1039
+ call_panel_agent_availability: string;
979
1040
  call_panel_pause_call_menu_item: string;
980
1041
  call_panel_resume_call_menu_item: string;
981
1042
  call_panel_mute_mic_menu_item: string;
@@ -1023,6 +1084,11 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1023
1084
  call_panel_expand: string;
1024
1085
  call_panel_collapse: string;
1025
1086
  call_panel_nav_label: string;
1087
+ call_panel_nav_status_available: string;
1088
+ call_panel_nav_status_busy: string;
1089
+ call_panel_nav_status_unavailable: string;
1090
+ call_panel_nav_status_after_work: string;
1091
+ call_panel_nav_status_logout: string;
1026
1092
  call_panel_current_status: string;
1027
1093
  call_panel_status_available: string;
1028
1094
  call_panel_status_busy: string;
@@ -1037,6 +1103,12 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1037
1103
  accept_all: string;
1038
1104
  select_multiple: string;
1039
1105
  dismiss_case: string;
1106
+ document_tabs_overflow_menu: string;
1107
+ document_tabs_pages: string;
1108
+ document_tabs_cases: string;
1109
+ document_tabs_data: string;
1110
+ document_tabs_all: string;
1111
+ document_tabs_close_all: string;
1040
1112
  task_manager_add_case: string;
1041
1113
  task_manager_wrap_up: string;
1042
1114
  task_manager_cases: string;
@@ -1409,6 +1481,16 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1409
1481
  condition_builder_comparator_on_or_before: string;
1410
1482
  condition_builder_logical_and: string;
1411
1483
  condition_builder_logical_or: string;
1484
+ condition_builder_unexpected_words_or_characters: string;
1485
+ condition_builder_unexpected_token_at_the_beginning: string;
1486
+ condition_builder_unexpected_token_at_the_end: string;
1487
+ condition_builder_unexpected_token_after_previous_token: string;
1488
+ condition_builder_mismatched_parentheses: string;
1489
+ condition_builder_undefined_condition_in_logical_string: string;
1490
+ condition_builder_undefined_conditions_in_logical_string: string;
1491
+ condition_builder_unused_condition_in_logical_string: string;
1492
+ condition_builder_unused_conditions_in_logical_string: string;
1493
+ condition_builder_please_provide_a_logic_expression: string;
1412
1494
  dev_mode: string;
1413
1495
  expand_navigation: string;
1414
1496
  collapse_navigation: string;
@@ -1495,6 +1577,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1495
1577
  remove_goto_references: string;
1496
1578
  process_node_task: string;
1497
1579
  process_node_assignment: string;
1580
+ process_node_collect_info: string;
1498
1581
  process_node_automation: string;
1499
1582
  process_node_decision: string;
1500
1583
  process_node_goto: string;
@@ -1505,7 +1588,6 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1505
1588
  process_connector_submit: string;
1506
1589
  process_connector_default: string;
1507
1590
  process_connector_otherwise: string;
1508
- process_decision_description: string;
1509
1591
  process_icon_assignment: string;
1510
1592
  process_icon_automation: string;
1511
1593
  process_icon_decision: string;
@@ -1541,6 +1623,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1541
1623
  dynamicInput_format_DateTime: string;
1542
1624
  dynamicInput_format_Date: string;
1543
1625
  dynamicInput_format_Time: string;
1626
+ format: string;
1544
1627
  zoom_level: string;
1545
1628
  close_configuration_panel: string;
1546
1629
  clear_object_summary: string;
@@ -1579,6 +1662,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1579
1662
  action_return: string;
1580
1663
  action_remove: string;
1581
1664
  action_error_handler: string;
1665
+ disabled: string;
1582
1666
  app_header_notifications_empty: string;
1583
1667
  app_header_notifications_loading: string;
1584
1668
  open_app_header_notifications: string;
@@ -1596,7 +1680,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1596
1680
  add_sort: string;
1597
1681
  drag_to_reorder: string;
1598
1682
  drag_to_reorder_field: string;
1599
- view_in_google_maps: string;
1683
+ refresh_notification_instructions: string;
1684
+ refresh_notification_instructions_with_toolbar_actions: string;
1685
+ get_directions: string;
1600
1686
  location_marker: string;
1601
1687
  action_task: string;
1602
1688
  task_object: string;
@@ -1631,6 +1717,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1631
1717
  append_automation: string;
1632
1718
  automation_object: string;
1633
1719
  ai_object: string;
1720
+ could_not_load_selected_template: string;
1721
+ view_name_already_exists: string;
1722
+ component_template_load_error: string;
1723
+ ui_template_load_error: string;
1724
+ ui_template_invalid_count: string;
1725
+ ui_template_invalid_layout: string;
1726
+ ui_template_definition_load_error: string;
1727
+ ui_template_omitted_overrides_warning: string;
1634
1728
  additional_information: string;
1635
1729
  field_picker_label: string;
1636
1730
  field_picker_placeholder: string;
@@ -1639,6 +1733,10 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1639
1733
  custom_caption: string;
1640
1734
  add_label: string;
1641
1735
  custom_add_label: string;
1736
+ search_label: string;
1737
+ custom_search_label: string;
1738
+ default_label_option: string;
1739
+ field_required_error: string;
1642
1740
  instruction_text_label: string;
1643
1741
  paragraph_already_exists_error: string;
1644
1742
  paragraph_create_modal_heading: string;
@@ -1651,7 +1749,17 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1651
1749
  unsupported_rule_type_label: string;
1652
1750
  unsupported_rule_type_description: string;
1653
1751
  create_new_record_failed: string;
1752
+ format_create_modal_heading: string;
1753
+ format_edit_modal_heading: string;
1754
+ input_format_label: string;
1755
+ format_name_label: string;
1756
+ format_pattern_label: string;
1757
+ format_pattern_helper_text: string;
1758
+ format_already_exists_error: string;
1654
1759
  override_parameters: string;
1760
+ loading_data_pages: string;
1761
+ choose_data_page: string;
1762
+ choose_rule_reference: string;
1655
1763
  component_not_found_error: string;
1656
1764
  component_not_found_error_with_type: string;
1657
1765
  component_not_found_error_with_subtype: string;
@@ -1685,6 +1793,10 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1685
1793
  advanced_settings_toggle_btn: string;
1686
1794
  color_swatch_btn_label: string;
1687
1795
  theme_preview_title: string;
1796
+ theme_css_warning: string;
1797
+ theme_css_label: string;
1798
+ theme_css_modal_heading: string;
1799
+ theme_css_modal_heading_with_name: string;
1688
1800
  default_font_info: string;
1689
1801
  custom_font_family: string;
1690
1802
  custom_font_family_error: string;
@@ -1695,6 +1807,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1695
1807
  first_n_fields: string;
1696
1808
  learn_about_primary_fields: string;
1697
1809
  show_lifecycle: string;
1810
+ show_case_type_in_subheading: string;
1698
1811
  use_only_primary_fields: string;
1699
1812
  use_only_primary_fields_info: string;
1700
1813
  new_tab_heading: string;
@@ -1703,9 +1816,12 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1703
1816
  loading_configure_dialog: string;
1704
1817
  insight_datapage_picker_limited_features: string;
1705
1818
  data_page: string;
1819
+ data_source: string;
1820
+ override_data_source_parameters: string;
1706
1821
  delete_parameter_filter: string;
1707
1822
  insight_field_applied_on: string;
1708
1823
  please_fill_the_required_fields: string;
1824
+ select_at_least_one_item: string;
1709
1825
  please_fix_the_logic_condition: string;
1710
1826
  system_pages: string;
1711
1827
  value_cannot_be_blank: string;
@@ -1793,6 +1909,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1793
1909
  chart_legend_items: string;
1794
1910
  add_to: string;
1795
1911
  namespace: string;
1912
+ selected_view_unavailable: string;
1913
+ choose_view: string;
1796
1914
  decision_rule: string;
1797
1915
  when_rule: string;
1798
1916
  invalid_rule: string;
@@ -1800,6 +1918,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1800
1918
  infinity_stack_overflow_error: string;
1801
1919
  preview_failed: string;
1802
1920
  preview_not_available: string;
1921
+ preview_updating: string;
1803
1922
  decision_table_description: string;
1804
1923
  decision_table_empty_state: string;
1805
1924
  decision_table_add_column: string;
@@ -1841,18 +1960,15 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1841
1960
  decision_table_custom_range_2: string;
1842
1961
  decision_table_custom_range_2_header: string;
1843
1962
  ai_assistant: string;
1844
- app_info_main_branch: string;
1845
- app_info_create_branch: string;
1846
- app_info_view_content: string;
1847
- app_info_switch_branch: string;
1848
- app_info_update_from_main: string;
1849
- app_info_view_branches: string;
1850
- app_info_application_version: string;
1851
1963
  app_preview_loading: string;
1964
+ app_preview_generating: string;
1852
1965
  app_preview_ready: string;
1853
1966
  app_preview_failed: string;
1854
1967
  app_open_preview: string;
1855
1968
  app_view_errors_in_preview: string;
1969
+ app_preview_as: string;
1970
+ app_preview_persona_developer: string;
1971
+ app_preview_persona_save_failed_reverting: string;
1856
1972
  expression_error_incorrect_data_type: string;
1857
1973
  expression_error_with_data_and_object_type: string;
1858
1974
  expression_error_with_data_type: string;
@@ -1882,6 +1998,13 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1882
1998
  ui_inspector_metadata: string;
1883
1999
  ui_inspector_quick_info: string;
1884
2000
  ui_inspector_field_metadata: string;
2001
+ view_widget_error: string;
2002
+ no_data_available: string;
2003
+ open_object_loading: string;
2004
+ open_object_empty: string;
2005
+ open_object_unauthorized: string;
2006
+ open_object_not_found: string;
2007
+ open_object_error: string;
1885
2008
  ai_tracer: string;
1886
2009
  agent_tracer_select_an_event: string;
1887
2010
  agent_tracer_total_processing_time: string;
@@ -1912,9 +2035,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
1912
2035
  library: string;
1913
2036
  Collaborators: string;
1914
2037
  collaborators: string;
1915
- view_collaborators: string;
1916
- close_collaborators: string;
1917
- collaborator_is_mode: string;
2038
+ open_viewers_list: string;
2039
+ open_editors_list: string;
2040
+ hero_banner: string;
1918
2041
  }>>;
1919
2042
  export default useI18n;
1920
2043
  //# sourceMappingURL=useI18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,QAAA,MAAM,OAAO;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,OAAO,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const useScrollToggle: (selector?: string) => {
1
+ import type { RefObject } from 'react';
2
+ declare const useScrollToggle: (param?: string | RefObject<Element | null>) => {
2
3
  enableScroll: () => void;
3
4
  disableScroll: () => void;
4
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollToggle.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollToggle.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe,GAAI,WAAU,MAAgB;wBAKZ,IAAI;yBAMH,IAAI;CAiC3C,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"useScrollToggle.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollToggle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,QAAA,MAAM,eAAe,GAAI,QAAO,MAAM,GAAG,SAAS,CAAC,OAAO,GAAG,IAAI,CAAW;wBASrC,IAAI;yBASH,IAAI;CA2C3C,CAAC;AAEF,eAAe,eAAe,CAAC"}