@pega/cosmos-react-core 4.0.0-dev.14.2 → 4.0.0-dev.15.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 (91) hide show
  1. package/lib/components/AppShell/AppShell.d.ts.map +1 -1
  2. package/lib/components/AppShell/AppShell.js +42 -3
  3. package/lib/components/AppShell/AppShell.js.map +1 -1
  4. package/lib/components/AppShell/utils.d.ts +2 -0
  5. package/lib/components/AppShell/utils.d.ts.map +1 -0
  6. package/lib/components/AppShell/utils.js +15 -0
  7. package/lib/components/AppShell/utils.js.map +1 -0
  8. package/lib/components/Badges/Keyboard.d.ts.map +1 -1
  9. package/lib/components/Badges/Keyboard.js +10 -5
  10. package/lib/components/Badges/Keyboard.js.map +1 -1
  11. package/lib/components/ComboBox/ComboBox.styles.d.ts.map +1 -1
  12. package/lib/components/ComboBox/ComboBox.styles.js +10 -0
  13. package/lib/components/ComboBox/ComboBox.styles.js.map +1 -1
  14. package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
  15. package/lib/components/ListToolbar/ListToolbar.js +10 -40
  16. package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
  17. package/lib/components/ListToolbar/ListToolbar.styles.d.ts.map +1 -1
  18. package/lib/components/ListToolbar/ListToolbar.styles.js +2 -5
  19. package/lib/components/ListToolbar/ListToolbar.styles.js.map +1 -1
  20. package/lib/components/Menu/NavItemsList.d.ts.map +1 -1
  21. package/lib/components/Menu/NavItemsList.js +0 -2
  22. package/lib/components/Menu/NavItemsList.js.map +1 -1
  23. package/lib/components/Modal/MinimizedModal.d.ts.map +1 -1
  24. package/lib/components/Modal/MinimizedModal.js +1 -1
  25. package/lib/components/Modal/MinimizedModal.js.map +1 -1
  26. package/lib/components/Modal/Modal.d.ts.map +1 -1
  27. package/lib/components/Modal/Modal.js +3 -2
  28. package/lib/components/Modal/Modal.js.map +1 -1
  29. package/lib/components/Modal/ModalManager.d.ts.map +1 -1
  30. package/lib/components/Modal/ModalManager.js +3 -2
  31. package/lib/components/Modal/ModalManager.js.map +1 -1
  32. package/lib/components/SearchInput/SearchInput.js +2 -2
  33. package/lib/components/SearchInput/SearchInput.js.map +1 -1
  34. package/lib/components/ShortcutManager/Context.d.ts +8 -0
  35. package/lib/components/ShortcutManager/Context.d.ts.map +1 -0
  36. package/lib/components/ShortcutManager/Context.js +6 -0
  37. package/lib/components/ShortcutManager/Context.js.map +1 -0
  38. package/lib/components/ShortcutManager/ShortcutManager.d.ts +17 -0
  39. package/lib/components/ShortcutManager/ShortcutManager.d.ts.map +1 -0
  40. package/lib/components/ShortcutManager/ShortcutManager.js +88 -0
  41. package/lib/components/ShortcutManager/ShortcutManager.js.map +1 -0
  42. package/lib/components/ShortcutManager/ShortcutManager.types.d.ts +30 -0
  43. package/lib/components/ShortcutManager/ShortcutManager.types.d.ts.map +1 -0
  44. package/lib/components/ShortcutManager/ShortcutManager.types.js +2 -0
  45. package/lib/components/ShortcutManager/ShortcutManager.types.js.map +1 -0
  46. package/lib/components/ShortcutManager/index.d.ts +4 -0
  47. package/lib/components/ShortcutManager/index.d.ts.map +1 -0
  48. package/lib/components/ShortcutManager/index.js +3 -0
  49. package/lib/components/ShortcutManager/index.js.map +1 -0
  50. package/lib/components/SkipLinks/SkipLinks.d.ts.map +1 -1
  51. package/lib/components/SkipLinks/SkipLinks.js +53 -13
  52. package/lib/components/SkipLinks/SkipLinks.js.map +1 -1
  53. package/lib/components/TextArea/TextArea.d.ts +1 -1
  54. package/lib/components/TextArea/TextArea.js +2 -2
  55. package/lib/components/TextArea/TextArea.js.map +1 -1
  56. package/lib/hooks/index.d.ts +2 -0
  57. package/lib/hooks/index.d.ts.map +1 -1
  58. package/lib/hooks/index.js +2 -0
  59. package/lib/hooks/index.js.map +1 -1
  60. package/lib/hooks/useAutoResize.d.ts.map +1 -1
  61. package/lib/hooks/useAutoResize.js +10 -4
  62. package/lib/hooks/useAutoResize.js.map +1 -1
  63. package/lib/hooks/useI18n.d.ts +32 -5
  64. package/lib/hooks/useI18n.d.ts.map +1 -1
  65. package/lib/hooks/useShortcut.d.ts +12 -0
  66. package/lib/hooks/useShortcut.d.ts.map +1 -0
  67. package/lib/hooks/useShortcut.js +23 -0
  68. package/lib/hooks/useShortcut.js.map +1 -0
  69. package/lib/hooks/useShortcutManager.d.ts +4 -0
  70. package/lib/hooks/useShortcutManager.d.ts.map +1 -0
  71. package/lib/hooks/useShortcutManager.js +12 -0
  72. package/lib/hooks/useShortcutManager.js.map +1 -0
  73. package/lib/i18n/default.d.ts +32 -5
  74. package/lib/i18n/default.d.ts.map +1 -1
  75. package/lib/i18n/default.js +40 -11
  76. package/lib/i18n/default.js.map +1 -1
  77. package/lib/i18n/i18n.d.ts +32 -5
  78. package/lib/i18n/i18n.d.ts.map +1 -1
  79. package/lib/index.d.ts +1 -0
  80. package/lib/index.d.ts.map +1 -1
  81. package/lib/index.js +1 -0
  82. package/lib/index.js.map +1 -1
  83. package/lib/register-contexts.js +2 -0
  84. package/lib/register-contexts.js.map +1 -1
  85. package/lib/theme/theme.d.ts +4 -4
  86. package/lib/theme/themeDefinition.json +4 -4
  87. package/lib/utils/focusHeadingOrContainer.d.ts +1 -1
  88. package/lib/utils/focusHeadingOrContainer.d.ts.map +1 -1
  89. package/lib/utils/focusHeadingOrContainer.js +2 -1
  90. package/lib/utils/focusHeadingOrContainer.js.map +1 -1
  91. package/package.json +2 -1
@@ -22,7 +22,9 @@ const useAutoResize = (maxHeight, minHeightProp) => {
22
22
  if (element.current) {
23
23
  let newMinHeight = minHeight;
24
24
  if (!minHeight) {
25
- newMinHeight = scrollHeightElement.scrollHeight;
25
+ newMinHeight =
26
+ scrollHeightElement.scrollHeight +
27
+ (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight);
26
28
  setMinHeight(newMinHeight);
27
29
  }
28
30
  // Reset the heights to the base height so there is an overflow / or none to calculate the new height
@@ -30,15 +32,19 @@ const useAutoResize = (maxHeight, minHeightProp) => {
30
32
  if (maxHeight) {
31
33
  scrollHeightElement.style.overflowY =
32
34
  scrollHeightElement.scrollHeight > maxHeight ? 'auto' : 'hidden';
33
- const height = `${Math.min(scrollHeightElement.scrollHeight, maxHeight)}px`;
35
+ const height = `${Math.min(scrollHeightElement.scrollHeight +
36
+ (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight), maxHeight)}px`;
34
37
  scrollHeightElement.style.height = height;
35
38
  if (iframe)
36
39
  iframe.style.height = height;
37
40
  }
38
41
  else {
39
- scrollHeightElement.style.height = `${scrollHeightElement.scrollHeight}px`;
42
+ scrollHeightElement.style.overflowY = 'hidden';
43
+ const height = scrollHeightElement.scrollHeight +
44
+ (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight);
45
+ scrollHeightElement.style.height = `${height}px`;
40
46
  if (iframe)
41
- iframe.style.height = `${scrollHeightElement.scrollHeight}px`;
47
+ iframe.style.height = `${height}px`;
42
48
  }
43
49
  }
44
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoResize.js","sourceRoot":"","sources":["../../src/hooks/useAutoResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAoB,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC;;;;;;;GAOG;AACH,MAAM,aAAa,GAAG,CACpB,SAAkB,EAClB,aAAsB,EACoB,EAAE;IAC5C,MAAM,OAAO,GAAG,MAAM,CAAW,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,aAAa,IAAI,CAAC,CAAC,CAAC;IAE/D,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,IAAI,mBAAmB,GAAgB,OAAO,CAAC,OAAsB,CAAC;QACtE,IAAI,MAAqC,CAAC;QAC1C,IAAI,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,YAAY,iBAAiB,EAAE;YACnE,MAAM,GAAG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ableRefObject } from 'react';\n\nimport { debounce } from '../utils';\n\n/**\n * @example const [ref, resizeFunction] = useAutoResize();\n * maxHeight should be provided in pixels without units\n * minHeight should be provided in pixels without units\n * @returns * ref:: A reference for the element that the resize functionality should be applied to. [React RefObject](https://reactjs.org/docs/refs-and-the-dom.html)\n * * resizeFunction:: The function to call to automatically resize the element.\n * element refers to auto resizable element\n */\nconst useAutoResize = <T extends HTMLElement = HTMLElement>(\n maxHeight?: number,\n minHeightProp?: number\n): [MutableRefObject<T | null>, () => void] => {\n const element = useRef<T | null>(null);\n const [minHeight, setMinHeight] = useState(minHeightProp || 0);\n\n const autoResize = () => {\n let scrollHeightElement: HTMLElement = element.current as HTMLElement;\n let iframe: HTMLIFrameElement | undefined;\n if (element.current && element.current instanceof HTMLIFrameElement) {\n iframe = element.current;\n scrollHeightElement =\n element.current.contentDocument?.querySelector('body') ?? element.current;\n }\n if (element.current) {\n let newMinHeight = minHeight;\n if (!minHeight) {\n newMinHeight = scrollHeightElement.scrollHeight;\n setMinHeight(newMinHeight);\n }\n // Reset the heights to the base height so there is an overflow / or none to calculate the new height\n scrollHeightElement.style.height = `${newMinHeight}px`;\n\n if (maxHeight) {\n scrollHeightElement.style.overflowY =\n scrollHeightElement.scrollHeight > maxHeight ? 'auto' : 'hidden';\n const height = `${Math.min(scrollHeightElement.scrollHeight, maxHeight)}px`;\n scrollHeightElement.style.height = height;\n if (iframe) iframe.style.height = height;\n } else {\n scrollHeightElement.style.height = `${scrollHeightElement.scrollHeight}px`;\n if (iframe) iframe.style.height = `${scrollHeightElement.scrollHeight}px`;\n }\n }\n };\n\n const debouncedAutoResize = debounce(autoResize, 100);\n\n return [element, debouncedAutoResize];\n};\n\nexport default useAutoResize;\n"]}
1
+ {"version":3,"file":"useAutoResize.js","sourceRoot":"","sources":["../../src/hooks/useAutoResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAoB,MAAM,OAAO,CAAC;AAE3D,OAAO,EAA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AAmB,CAAC,YAAY,CAAC,EACvE,SAAS,CACV,IAAI,CAAC;gBACN,mBAAmB,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;gBAC1C,IAAI,MAAM;oBAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;aAC1C;iBAAM;gBACL,mBAAmB,CAAC,KAAK,CAAC,SAAS,GAAG,QAAQ,CAAC;gBAC/C,MAAM,MAAM,GACV,mBAAmB,CAAC,YAAY;oBAChC,CAAC,mBAAmB,CAAC,YAAY,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;gBACxE,mBAAmB,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC;gBACjD,IAAI,MAAM;oBAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC;aACjD;SACF;IACH,CAAC,CAAC;IAEF,MAAM,mBAAmB,GAAG,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IAEtD,OAAO,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;AACxC,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import { useRef, useState, MutableRefObject } from 'react';\n\nimport { debounce } from '../utils';\n\n/**\n * @example const [ref, resizeFunction] = useAutoResize();\n * maxHeight should be provided in pixels without units\n * minHeight should be provided in pixels without units\n * @returns * ref:: A reference for the element that the resize functionality should be applied to. [React RefObject](https://reactjs.org/docs/refs-and-the-dom.html)\n * * resizeFunction:: The function to call to automatically resize the element.\n * element refers to auto resizable element\n */\nconst useAutoResize = <T extends HTMLElement = HTMLElement>(\n maxHeight?: number,\n minHeightProp?: number\n): [MutableRefObject<T | null>, () => void] => {\n const element = useRef<T | null>(null);\n const [minHeight, setMinHeight] = useState(minHeightProp || 0);\n\n const autoResize = () => {\n let scrollHeightElement: HTMLElement = element.current as HTMLElement;\n let iframe: HTMLIFrameElement | undefined;\n if (element.current && element.current instanceof HTMLIFrameElement) {\n iframe = element.current;\n scrollHeightElement =\n element.current.contentDocument?.querySelector('body') ?? element.current;\n }\n if (element.current) {\n let newMinHeight = minHeight;\n if (!minHeight) {\n newMinHeight =\n scrollHeightElement.scrollHeight +\n (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight);\n setMinHeight(newMinHeight);\n }\n // Reset the heights to the base height so there is an overflow / or none to calculate the new height\n scrollHeightElement.style.height = `${newMinHeight}px`;\n\n if (maxHeight) {\n scrollHeightElement.style.overflowY =\n scrollHeightElement.scrollHeight > maxHeight ? 'auto' : 'hidden';\n const height = `${Math.min(\n scrollHeightElement.scrollHeight +\n (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight),\n maxHeight\n )}px`;\n scrollHeightElement.style.height = height;\n if (iframe) iframe.style.height = height;\n } else {\n scrollHeightElement.style.overflowY = 'hidden';\n const height =\n scrollHeightElement.scrollHeight +\n (scrollHeightElement.offsetHeight - scrollHeightElement.clientHeight);\n scrollHeightElement.style.height = `${height}px`;\n if (iframe) iframe.style.height = `${height}px`;\n }\n }\n };\n\n const debouncedAutoResize = debounce(autoResize, 100);\n\n return [element, debouncedAutoResize];\n};\n\nexport default useAutoResize;\n"]}
@@ -23,6 +23,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
23
23
  menu: string;
24
24
  new: string;
25
25
  info: string;
26
+ shortcuts: string;
26
27
  remove: string;
27
28
  follow: string;
28
29
  unfollow: string;
@@ -81,7 +82,6 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
81
82
  delete_noun: string;
82
83
  actions_for: string;
83
84
  edited: string;
84
- done: string;
85
85
  uploading: string;
86
86
  loading: string;
87
87
  submitting: string;
@@ -176,6 +176,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
176
176
  main_content: string;
177
177
  app_shell_create: string;
178
178
  app_shell_open_nav: string;
179
+ app_shell_main_navigation_label: string;
180
+ shortcut_NextRegion: string;
181
+ shortcut_PrevRegion: string;
179
182
  combobox_open_close: string;
180
183
  combobox_search_instructions: string;
181
184
  combobox_open_list_button_a11y: string;
@@ -231,6 +234,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
231
234
  search_instructions: string;
232
235
  action_from_summarylist_heading: string;
233
236
  selected_search_filter: string;
237
+ utilities_label: string;
234
238
  utilities_summary: string;
235
239
  expand_summary: string;
236
240
  collapse_summary: string;
@@ -244,6 +248,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
244
248
  suggestion_assist: string;
245
249
  select_country_code: string;
246
250
  enter_a_number: string;
251
+ skip_navigation_menu_label: string;
247
252
  close_preview: string;
248
253
  confirmation_details: string;
249
254
  confirmation_whats_next: string;
@@ -281,6 +286,22 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
281
286
  predictions: string;
282
287
  all_predictions: string;
283
288
  learn_more: string;
289
+ tasks_added: {
290
+ zero: string;
291
+ one: string;
292
+ two: string;
293
+ few: string;
294
+ many: string;
295
+ other: string;
296
+ };
297
+ tasks_removed: {
298
+ zero: string;
299
+ one: string;
300
+ two: string;
301
+ few: string;
302
+ many: string;
303
+ other: string;
304
+ };
284
305
  rte_heading_style: string;
285
306
  rte_bold: string;
286
307
  rte_italic: string;
@@ -524,6 +545,10 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
524
545
  many: string;
525
546
  other: string;
526
547
  };
548
+ interaction_shortcut_goto_info: string;
549
+ interaction_shortcut_dismiss_info: string;
550
+ shortcut_GoToIncomingInteraction: string;
551
+ shortcut_DismissIncomingInteraction: string;
527
552
  select_multiple: string;
528
553
  dismiss_case: string;
529
554
  task_manager_add_task: string;
@@ -532,8 +557,10 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
532
557
  add_tasks: string;
533
558
  open_tasks: string;
534
559
  resolved_tasks: string;
535
- selected_tasks: string;
536
- no_selected_tasks: string;
560
+ no_picker_items: string;
561
+ selected_picker_items: string;
562
+ no_selected_picker_items: string;
563
+ search_picker_items: string;
537
564
  task_picker_close: string;
538
565
  task_manager_overflow_menu: string;
539
566
  continue_label: string;
@@ -542,8 +569,6 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
542
569
  review_label_a11y: string;
543
570
  dismiss_label: string;
544
571
  dismiss_label_a11y: string;
545
- task_manager_search_results_empty_text: string;
546
- search_tasks: string;
547
572
  task_manager_picker_add_label: {
548
573
  zero: string;
549
574
  one: string;
@@ -556,6 +581,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
556
581
  nothing_detected_yet: string;
557
582
  ai_detected_entities: string;
558
583
  close_conversation: string;
584
+ shortcut_AddTask: string;
585
+ shortcut_WrapUp: string;
559
586
  sentiment_positive: string;
560
587
  sentiment_negative: string;
561
588
  sentiment_neutral: string;
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ShortcutAction } from '../components/ShortcutManager/ShortcutManager.types';
2
+ /**
3
+ * Hook to attach a callback to the keyboard shortcut action.
4
+ * @param actionId the identifier of the action to attach the callback to
5
+ * @param callback function that should be invoked when given action gets triggered
6
+ * @returns current shortcut bound to the given action in form of accelerator
7
+ */
8
+ declare const useShortcut: (actionId: ShortcutAction['id'], callback: (e: ShortcutEvent) => void) => {
9
+ binding?: string | undefined;
10
+ };
11
+ export default useShortcut;
12
+ //# sourceMappingURL=useShortcut.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useShortcut.d.ts","sourceRoot":"","sources":["../../src/hooks/useShortcut.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAK1F;;;;;GAKG;AACH,QAAA,MAAM,WAAW,aACL,cAAc,CAAC,IAAI,CAAC,gBAChB,aAAa,KAAK,IAAI;;CAiBrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { Shortcut } from 'shortcuts';
2
+ import useEvent from './useEvent';
3
+ import useShortcutManager from './useShortcutManager';
4
+ /**
5
+ * Hook to attach a callback to the keyboard shortcut action.
6
+ * @param actionId the identifier of the action to attach the callback to
7
+ * @param callback function that should be invoked when given action gets triggered
8
+ * @returns current shortcut bound to the given action in form of accelerator
9
+ */
10
+ const useShortcut = (actionId, callback) => {
11
+ const { [actionId]: binding } = useShortcutManager().bindings;
12
+ useEvent('shortcut', e => {
13
+ if (e.detail.actionId === actionId)
14
+ callback(e);
15
+ }, {
16
+ dependencies: [actionId, callback]
17
+ });
18
+ return {
19
+ binding: binding ? Shortcut.shortcut2accelerator(binding) : undefined
20
+ };
21
+ };
22
+ export default useShortcut;
23
+ //# sourceMappingURL=useShortcut.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useShortcut.js","sourceRoot":"","sources":["../../src/hooks/useShortcut.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,GAAG,CAClB,QAA8B,EAC9B,QAAoC,EACd,EAAE;IACxB,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,kBAAkB,EAAE,CAAC,QAAQ,CAAC;IAE9D,QAAQ,CACN,UAAU,EACV,CAAC,CAAC,EAAE;QACF,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,KAAK,QAAQ;YAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClD,CAAC,EACD;QACE,YAAY,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;KACnC,CACF,CAAC;IAEF,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;KACtE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC","sourcesContent":["import { Shortcut } from 'shortcuts';\n\nimport type { ShortcutAction } from '../components/ShortcutManager/ShortcutManager.types';\n\nimport useEvent from './useEvent';\nimport useShortcutManager from './useShortcutManager';\n\n/**\n * Hook to attach a callback to the keyboard shortcut action.\n * @param actionId the identifier of the action to attach the callback to\n * @param callback function that should be invoked when given action gets triggered\n * @returns current shortcut bound to the given action in form of accelerator\n */\nconst useShortcut = (\n actionId: ShortcutAction['id'],\n callback: (e: ShortcutEvent) => void\n): { binding?: string } => {\n const { [actionId]: binding } = useShortcutManager().bindings;\n\n useEvent(\n 'shortcut',\n e => {\n if (e.detail.actionId === actionId) callback(e);\n },\n {\n dependencies: [actionId, callback]\n }\n );\n\n return {\n binding: binding ? Shortcut.shortcut2accelerator(binding) : undefined\n };\n};\n\nexport default useShortcut;\n"]}
@@ -0,0 +1,4 @@
1
+ import '../init';
2
+ declare const useShortcutManager: () => import("../components/ShortcutManager/Context").ShortcutManagerContextValue;
3
+ export default useShortcutManager;
4
+ //# sourceMappingURL=useShortcutManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useShortcutManager.d.ts","sourceRoot":"","sources":["../../src/hooks/useShortcutManager.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,CAAC;AAIjB,QAAA,MAAM,kBAAkB,mFAMvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { useContext } from 'react';
2
+ import '../init';
3
+ import { windowIsAvailable } from '../utils';
4
+ import { ShortcutManagerContext } from '../components/ShortcutManager/Context';
5
+ const useShortcutManager = () => {
6
+ const context = windowIsAvailable
7
+ ? window.cosmos.shortcutManagerContext ?? ShortcutManagerContext
8
+ : ShortcutManagerContext;
9
+ return useContext(context);
10
+ };
11
+ export default useShortcutManager;
12
+ //# sourceMappingURL=useShortcutManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useShortcutManager.js","sourceRoot":"","sources":["../../src/hooks/useShortcutManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,SAAS,CAAC;AACjB,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC9B,MAAM,OAAO,GAAG,iBAAiB;QAC/B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,sBAAsB,IAAI,sBAAsB;QAChE,CAAC,CAAC,sBAAsB,CAAC;IAE3B,OAAO,UAAU,CAAC,OAAO,CAAC,CAAC;AAC7B,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import { useContext } from 'react';\n\nimport '../init';\nimport { windowIsAvailable } from '../utils';\nimport { ShortcutManagerContext } from '../components/ShortcutManager/Context';\n\nconst useShortcutManager = () => {\n const context = windowIsAvailable\n ? window.cosmos.shortcutManagerContext ?? ShortcutManagerContext\n : ShortcutManagerContext;\n\n return useContext(context);\n};\n\nexport default useShortcutManager;\n"]}
@@ -19,6 +19,7 @@ declare const _default: {
19
19
  menu: string;
20
20
  new: string;
21
21
  info: string;
22
+ shortcuts: string;
22
23
  remove: string;
23
24
  follow: string;
24
25
  unfollow: string;
@@ -77,7 +78,6 @@ declare const _default: {
77
78
  delete_noun: string;
78
79
  actions_for: string;
79
80
  edited: string;
80
- done: string;
81
81
  uploading: string;
82
82
  loading: string;
83
83
  submitting: string;
@@ -172,6 +172,9 @@ declare const _default: {
172
172
  main_content: string;
173
173
  app_shell_create: string;
174
174
  app_shell_open_nav: string;
175
+ app_shell_main_navigation_label: string;
176
+ shortcut_NextRegion: string;
177
+ shortcut_PrevRegion: string;
175
178
  combobox_open_close: string;
176
179
  combobox_search_instructions: string;
177
180
  combobox_open_list_button_a11y: string;
@@ -227,6 +230,7 @@ declare const _default: {
227
230
  search_instructions: string;
228
231
  action_from_summarylist_heading: string;
229
232
  selected_search_filter: string;
233
+ utilities_label: string;
230
234
  utilities_summary: string;
231
235
  expand_summary: string;
232
236
  collapse_summary: string;
@@ -240,6 +244,7 @@ declare const _default: {
240
244
  suggestion_assist: string;
241
245
  select_country_code: string;
242
246
  enter_a_number: string;
247
+ skip_navigation_menu_label: string;
243
248
  close_preview: string;
244
249
  confirmation_details: string;
245
250
  confirmation_whats_next: string;
@@ -277,6 +282,22 @@ declare const _default: {
277
282
  predictions: string;
278
283
  all_predictions: string;
279
284
  learn_more: string;
285
+ tasks_added: {
286
+ zero: string;
287
+ one: string;
288
+ two: string;
289
+ few: string;
290
+ many: string;
291
+ other: string;
292
+ };
293
+ tasks_removed: {
294
+ zero: string;
295
+ one: string;
296
+ two: string;
297
+ few: string;
298
+ many: string;
299
+ other: string;
300
+ };
280
301
  rte_heading_style: string;
281
302
  rte_bold: string;
282
303
  rte_italic: string;
@@ -520,6 +541,10 @@ declare const _default: {
520
541
  many: string;
521
542
  other: string;
522
543
  };
544
+ interaction_shortcut_goto_info: string;
545
+ interaction_shortcut_dismiss_info: string;
546
+ shortcut_GoToIncomingInteraction: string;
547
+ shortcut_DismissIncomingInteraction: string;
523
548
  select_multiple: string;
524
549
  dismiss_case: string;
525
550
  task_manager_add_task: string;
@@ -528,8 +553,10 @@ declare const _default: {
528
553
  add_tasks: string;
529
554
  open_tasks: string;
530
555
  resolved_tasks: string;
531
- selected_tasks: string;
532
- no_selected_tasks: string;
556
+ no_picker_items: string;
557
+ selected_picker_items: string;
558
+ no_selected_picker_items: string;
559
+ search_picker_items: string;
533
560
  task_picker_close: string;
534
561
  task_manager_overflow_menu: string;
535
562
  continue_label: string;
@@ -538,8 +565,6 @@ declare const _default: {
538
565
  review_label_a11y: string;
539
566
  dismiss_label: string;
540
567
  dismiss_label_a11y: string;
541
- task_manager_search_results_empty_text: string;
542
- search_tasks: string;
543
568
  task_manager_picker_add_label: {
544
569
  zero: string;
545
570
  one: string;
@@ -552,6 +577,8 @@ declare const _default: {
552
577
  nothing_detected_yet: string;
553
578
  ai_detected_entities: string;
554
579
  close_conversation: string;
580
+ shortcut_AddTask: string;
581
+ shortcut_WrapUp: string;
555
582
  sentiment_positive: string;
556
583
  sentiment_negative: string;
557
584
  sentiment_neutral: string;
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;AAAA,wBAyiCE"}
@@ -23,6 +23,7 @@ export default {
23
23
  menu: 'menu',
24
24
  new: 'New',
25
25
  info: 'info',
26
+ shortcuts: 'Shortcuts',
26
27
  /* Verbs */
27
28
  remove: 'Remove',
28
29
  follow: 'Follow',
@@ -85,7 +86,6 @@ export default {
85
86
  actions_for: 'Actions for {0}',
86
87
  /* States */
87
88
  edited: 'Edited {0}',
88
- done: 'Done',
89
89
  uploading: 'Uploading',
90
90
  loading: 'Loading…',
91
91
  submitting: 'Submitting…',
@@ -94,12 +94,12 @@ export default {
94
94
  image_load_error: 'Error loading image',
95
95
  selected: 'Selected',
96
96
  selected_count: {
97
- zero: '{0} of {1} selected',
98
- one: '{0} of {1} selected',
99
- two: '{0} of {1} selected',
100
- few: '{0} of {1} selected',
101
- many: '{0} of {1} selected',
102
- other: '{0} of {1} selected'
97
+ zero: '{0} selected',
98
+ one: '{0} selected',
99
+ two: '{0} selected',
100
+ few: '{0} selected',
101
+ many: '{0} selected',
102
+ other: '{0} selected'
103
103
  },
104
104
  completed: 'Completed',
105
105
  current: 'Current',
@@ -192,6 +192,9 @@ export default {
192
192
  /* core:AppShell */
193
193
  app_shell_create: 'Create',
194
194
  app_shell_open_nav: 'Open navigation menu',
195
+ app_shell_main_navigation_label: 'Main navigation',
196
+ shortcut_NextRegion: 'Next region',
197
+ shortcut_PrevRegion: 'Previous region',
195
198
  /* core:ComboBox */
196
199
  combobox_open_close: 'Arrow down to open, press escape to close.',
197
200
  combobox_search_instructions: 'Start typing to search',
@@ -260,6 +263,7 @@ export default {
260
263
  action_from_summarylist_heading: '{0} from {1}',
261
264
  selected_search_filter: 'Filter search by: {0}',
262
265
  /* work:CaseView */
266
+ utilities_label: 'Utilities',
263
267
  utilities_summary: 'Utilities summary',
264
268
  expand_summary: 'Expand summary',
265
269
  collapse_summary: 'Collapse summary',
@@ -275,6 +279,8 @@ export default {
275
279
  /* core:Phone Input */
276
280
  select_country_code: 'Select country code',
277
281
  enter_a_number: 'Enter a number',
282
+ /* core:SkipLinks */
283
+ skip_navigation_menu_label: 'Skip navigation menu',
278
284
  /* work:CasePreview */
279
285
  close_preview: 'Close preview',
280
286
  /* work:Confirmation */
@@ -321,6 +327,23 @@ export default {
321
327
  predictions: 'Predictions',
322
328
  all_predictions: 'All predictions',
323
329
  learn_more: 'Learn more',
330
+ /* work:TaskList */
331
+ tasks_added: {
332
+ zero: 'No tasks added',
333
+ one: '{0} task added',
334
+ two: '{0} tasks added',
335
+ few: '{0} tasks added',
336
+ many: '{0} tasks added',
337
+ other: '{0} tasks added'
338
+ },
339
+ tasks_removed: {
340
+ zero: 'No tasks removed',
341
+ one: '{0} task removed',
342
+ two: '{0} tasks removed',
343
+ few: '{0} tasks removed',
344
+ many: '{0} tasks removed',
345
+ other: '{0} tasks removed'
346
+ },
324
347
  /* rte:RichTextEditor */
325
348
  rte_heading_style: 'Heading style',
326
349
  rte_bold: 'Bold',
@@ -573,6 +596,10 @@ export default {
573
596
  many: '{0} seconds remaining to accept the interaction.',
574
597
  other: '{0} seconds remaining to accept the interaction.'
575
598
  },
599
+ interaction_shortcut_goto_info: 'Press {0} to review.',
600
+ interaction_shortcut_dismiss_info: 'Press {0} to dismiss.',
601
+ shortcut_GoToIncomingInteraction: 'Go to incoming interaction popup.',
602
+ shortcut_DismissIncomingInteraction: 'Dismiss incoming interaction popup.',
576
603
  /* cs:TaskManager */
577
604
  select_multiple: 'Select multiple',
578
605
  dismiss_case: 'Dismiss case',
@@ -582,8 +609,10 @@ export default {
582
609
  add_tasks: 'Add tasks',
583
610
  open_tasks: 'Open tasks',
584
611
  resolved_tasks: 'Resolved tasks',
585
- selected_tasks: 'Selected tasks',
586
- no_selected_tasks: 'No selected tasks',
612
+ no_picker_items: 'No {0}',
613
+ selected_picker_items: 'Selected {0}',
614
+ no_selected_picker_items: 'No selected {0}',
615
+ search_picker_items: 'Search {0}',
587
616
  task_picker_close: 'Close task picker',
588
617
  task_manager_overflow_menu: 'All tasks',
589
618
  continue_label: 'Continue',
@@ -592,8 +621,6 @@ export default {
592
621
  review_label_a11y: 'Review {0}',
593
622
  dismiss_label: 'Dismiss',
594
623
  dismiss_label_a11y: 'Dismiss {0}',
595
- task_manager_search_results_empty_text: 'No tasks',
596
- search_tasks: 'Search tasks…',
597
624
  task_manager_picker_add_label: {
598
625
  zero: 'No items to add',
599
626
  one: 'Add {0} new item',
@@ -606,6 +633,8 @@ export default {
606
633
  nothing_detected_yet: 'Nothing detected yet',
607
634
  ai_detected_entities: 'AI detected entities',
608
635
  close_conversation: 'Close conversation',
636
+ shortcut_AddTask: 'Open task picker',
637
+ shortcut_WrapUp: 'Wrap up interaction',
609
638
  /* cs:Sentiment */
610
639
  sentiment_positive: 'Positive',
611
640
  sentiment_negative: 'Negative',