@openedx/paragon 21.11.4 → 21.12.1

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 (103) hide show
  1. package/dist/Container/index.js +6 -2
  2. package/dist/Container/index.js.map +1 -1
  3. package/dist/DataTable/index.js +1 -0
  4. package/dist/DataTable/index.js.map +1 -1
  5. package/dist/DataTable/selection/BaseSelectionStatus.js +3 -2
  6. package/dist/DataTable/selection/BaseSelectionStatus.js.map +1 -1
  7. package/dist/Dropdown/index.js.map +1 -1
  8. package/dist/Form/FormSwitch.js +3 -0
  9. package/dist/Form/FormSwitch.js.map +1 -1
  10. package/dist/Hyperlink/index.js +7 -6
  11. package/dist/Hyperlink/index.js.map +1 -1
  12. package/dist/Icon/index.js +17 -10
  13. package/dist/Icon/index.js.map +1 -1
  14. package/dist/IconButton/index.js +1 -1
  15. package/dist/IconButton/index.js.map +1 -1
  16. package/dist/Layout/index.js.map +1 -1
  17. package/dist/Modal/ModalDialog.js +3 -0
  18. package/dist/Modal/ModalDialog.js.map +1 -1
  19. package/dist/Modal/index.js +11 -6
  20. package/dist/Modal/index.js.map +1 -1
  21. package/dist/Popover/index.js +8 -8
  22. package/dist/Popover/index.js.map +1 -1
  23. package/dist/ProductTour/Checkpoint.js +10 -8
  24. package/dist/ProductTour/Checkpoint.js.map +1 -1
  25. package/dist/ProductTour/messages.js +16 -0
  26. package/dist/SearchField/SearchFieldAdvanced.js +12 -7
  27. package/dist/SearchField/SearchFieldAdvanced.js.map +1 -1
  28. package/dist/SearchField/SearchFieldLabel.js +3 -3
  29. package/dist/SearchField/SearchFieldLabel.js.map +1 -1
  30. package/dist/SearchField/index.js +0 -1
  31. package/dist/SearchField/index.js.map +1 -1
  32. package/dist/Tabs/index.js +13 -13
  33. package/dist/Tabs/index.js.map +1 -1
  34. package/dist/hooks/useIndexOfLastVisibleChild.js +33 -38
  35. package/dist/hooks/useIndexOfLastVisibleChild.js.map +1 -1
  36. package/dist/i18n/messages/ar.json +2 -1
  37. package/dist/i18n/messages/ca.json +2 -1
  38. package/dist/i18n/messages/es_419.json +2 -1
  39. package/dist/i18n/messages/es_AR.json +2 -1
  40. package/dist/i18n/messages/es_ES.json +2 -1
  41. package/dist/i18n/messages/fr.json +2 -1
  42. package/dist/i18n/messages/he.json +2 -1
  43. package/dist/i18n/messages/id.json +2 -1
  44. package/dist/i18n/messages/it_IT.json +2 -1
  45. package/dist/i18n/messages/ko_KR.json +2 -1
  46. package/dist/i18n/messages/pl.json +2 -1
  47. package/dist/i18n/messages/pt_BR.json +2 -1
  48. package/dist/i18n/messages/pt_PT.json +2 -1
  49. package/dist/i18n/messages/ru.json +2 -1
  50. package/dist/i18n/messages/th.json +2 -1
  51. package/dist/i18n/messages/tr_TR.json +2 -1
  52. package/dist/i18n/messages/uk.json +2 -1
  53. package/dist/i18n/messages/zh_CN.json +2 -1
  54. package/icons/es5/RightSidebarFilled.js +15 -0
  55. package/icons/es5/RightSidebarOutlined.js +15 -0
  56. package/icons/es5/index.js +2 -0
  57. package/icons/jsx/RightSidebarFilled.jsx +19 -0
  58. package/icons/jsx/RightSidebarOutlined.jsx +19 -0
  59. package/icons/jsx/index.jsx +2 -0
  60. package/icons/svg/right_sidebar_filled.svg +3 -0
  61. package/icons/svg/right_sidebar_outlined.svg +3 -0
  62. package/package.json +1 -1
  63. package/src/Container/index.jsx +4 -0
  64. package/src/DataTable/index.jsx +1 -0
  65. package/src/DataTable/selection/BaseSelectionStatus.jsx +2 -2
  66. package/src/DataTable/tests/DataTable.test.jsx +31 -0
  67. package/src/Dropdown/index.jsx +4 -0
  68. package/src/Form/FormSwitch.jsx +3 -0
  69. package/src/Hyperlink/index.jsx +7 -6
  70. package/src/Icon/index.jsx +17 -10
  71. package/src/IconButton/index.jsx +1 -1
  72. package/src/Layout/index.jsx +1 -4
  73. package/src/Modal/ModalDialog.jsx +3 -0
  74. package/src/Modal/index.jsx +11 -6
  75. package/src/Popover/README.md +0 -1
  76. package/src/Popover/index.jsx +11 -11
  77. package/src/ProductTour/Checkpoint.jsx +9 -6
  78. package/src/ProductTour/messages.js +16 -0
  79. package/src/SearchField/SearchFieldAdvanced.jsx +12 -7
  80. package/src/SearchField/SearchFieldLabel.jsx +3 -3
  81. package/src/SearchField/index.jsx +0 -1
  82. package/src/Tabs/index.jsx +19 -13
  83. package/src/hooks/tests/useIndexOfLastVisibleChild.test.jsx +3 -3
  84. package/src/hooks/useIndexOfLastVisibleChild.jsx +36 -38
  85. package/src/hooks/useIndexOfLastVisibleChild.mdx +3 -3
  86. package/src/i18n/messages/ar.json +2 -1
  87. package/src/i18n/messages/ca.json +2 -1
  88. package/src/i18n/messages/es_419.json +2 -1
  89. package/src/i18n/messages/es_AR.json +2 -1
  90. package/src/i18n/messages/es_ES.json +2 -1
  91. package/src/i18n/messages/fr.json +2 -1
  92. package/src/i18n/messages/he.json +2 -1
  93. package/src/i18n/messages/id.json +2 -1
  94. package/src/i18n/messages/it_IT.json +2 -1
  95. package/src/i18n/messages/ko_KR.json +2 -1
  96. package/src/i18n/messages/pl.json +2 -1
  97. package/src/i18n/messages/pt_BR.json +2 -1
  98. package/src/i18n/messages/pt_PT.json +2 -1
  99. package/src/i18n/messages/ru.json +2 -1
  100. package/src/i18n/messages/th.json +2 -1
  101. package/src/i18n/messages/tr_TR.json +2 -1
  102. package/src/i18n/messages/uk.json +2 -1
  103. package/src/i18n/messages/zh_CN.json +2 -1
@@ -1,4 +1,10 @@
1
- import React, { useEffect, useMemo, useRef } from 'react';
1
+ import React, {
2
+ useEffect,
3
+ useMemo,
4
+ useRef,
5
+ useState,
6
+ useCallback,
7
+ } from 'react';
2
8
  import classNames from 'classnames';
3
9
  import PropTypes from 'prop-types';
4
10
  import BaseTabs from 'react-bootstrap/Tabs';
@@ -18,15 +24,15 @@ function Tabs({
18
24
  activeKey,
19
25
  ...props
20
26
  }) {
21
- const containerElementRef = useRef(null);
27
+ const [containerElementRef, setContainerElementRef] = useState(null);
22
28
  const overflowElementRef = useRef(null);
23
29
  const indexOfLastVisibleChild = useIndexOfLastVisibleChild(
24
- containerElementRef.current?.children[0],
30
+ containerElementRef?.firstChild,
25
31
  overflowElementRef.current?.parentNode,
26
32
  );
27
33
 
28
34
  useEffect(() => {
29
- if (containerElementRef.current) {
35
+ if (containerElementRef) {
30
36
  const observer = new MutationObserver((mutations => {
31
37
  mutations.forEach(mutation => {
32
38
  // React-Bootstrap attribute 'data-rb-event-key' is responsible for the tab identification
@@ -35,8 +41,8 @@ function Tabs({
35
41
  const isActive = mutation.target.getAttribute('aria-selected') === 'true';
36
42
  // datakey attribute is added manually to the dropdown
37
43
  // elements so that they correspond to the native tabs' eventKey
38
- const element = containerElementRef.current.querySelector(`[datakey='${eventKey}']`);
39
- const moreTab = containerElementRef.current.querySelector('.pgn__tab_more');
44
+ const element = containerElementRef.querySelector(`[datakey='${eventKey}']`);
45
+ const moreTab = containerElementRef.querySelector('.pgn__tab_more');
40
46
  if (isActive) {
41
47
  element?.classList.add('active');
42
48
  // Here we add active class to the 'More Tab' if element exists in the dropdown
@@ -50,13 +56,13 @@ function Tabs({
50
56
  }
51
57
  });
52
58
  }));
53
- observer.observe(containerElementRef.current, {
59
+ observer.observe(containerElementRef, {
54
60
  attributes: true, subtree: true, attributeFilter: ['aria-selected'],
55
61
  });
56
62
  return () => observer.disconnect();
57
63
  }
58
64
  return undefined;
59
- }, []);
65
+ }, [containerElementRef]);
60
66
 
61
67
  useEffect(() => {
62
68
  if (overflowElementRef.current?.parentNode) {
@@ -64,10 +70,10 @@ function Tabs({
64
70
  }
65
71
  }, [overflowElementRef.current?.parentNode]);
66
72
 
67
- const handleDropdownTabClick = (eventKey) => {
68
- const hiddenTab = containerElementRef.current.querySelector(`[data-rb-event-key='${eventKey}']`);
73
+ const handleDropdownTabClick = useCallback((eventKey) => {
74
+ const hiddenTab = containerElementRef.querySelector(`[data-rb-event-key='${eventKey}']`);
69
75
  hiddenTab.click();
70
- };
76
+ }, [containerElementRef]);
71
77
 
72
78
  const tabsChildren = useMemo(() => {
73
79
  const indexOfOverflowStart = indexOfLastVisibleChild + 1;
@@ -165,10 +171,10 @@ function Tabs({
165
171
  />
166
172
  ));
167
173
  return childrenList;
168
- }, [activeKey, children, defaultActiveKey, indexOfLastVisibleChild, moreTabText]);
174
+ }, [activeKey, children, defaultActiveKey, indexOfLastVisibleChild, moreTabText, handleDropdownTabClick]);
169
175
 
170
176
  return (
171
- <div ref={containerElementRef}>
177
+ <div ref={setContainerElementRef}>
172
178
  <BaseTabs
173
179
  defaultActiveKey={defaultActiveKey}
174
180
  activeKey={activeKey}
@@ -12,12 +12,12 @@ window.ResizeObserver = window.ResizeObserver
12
12
  }));
13
13
 
14
14
  function TestComponent() {
15
- const containerElementRef = React.useRef(null);
15
+ const [containerElementRef, setContainerElementRef] = React.useState(null);
16
16
  const overflowElementRef = React.useRef(null);
17
- const indexOfLastVisibleChild = useIndexOfLastVisibleChild(containerElementRef.current, overflowElementRef.current);
17
+ const indexOfLastVisibleChild = useIndexOfLastVisibleChild(containerElementRef, overflowElementRef.current);
18
18
 
19
19
  return (
20
- <div ref={containerElementRef} style={{ display: 'flex' }}>
20
+ <div ref={setContainerElementRef} style={{ display: 'flex' }}>
21
21
  <div style={{ width: '250px' }} className="element">Element 1</div>
22
22
  <div style={{ width: '250px' }} className="element">Element 2</div>
23
23
  <div style={{ width: '250px' }} className="element">Element 3</div>
@@ -1,7 +1,5 @@
1
1
  import { useLayoutEffect, useState } from 'react';
2
2
 
3
- import useWindowSize from './useWindowSize';
4
-
5
3
  /**
6
4
  * This hook will find the index of the last child of a containing element
7
5
  * that fits within its bounding rectangle. This is done by summing the widths
@@ -10,48 +8,48 @@ import useWindowSize from './useWindowSize';
10
8
  * @param {Element} containerElementRef - container element
11
9
  * @param {Element} overflowElementRef - overflow element
12
10
  *
13
- * The hook returns an array containing:
14
- * [indexOfLastVisibleChild, containerElementRef, overflowElementRef]
15
- *
16
- * indexOfLastVisibleChild - the index of the last visible child
17
- * containerElementRef - a ref to be added to the containing html node
18
- * overflowElementRef - a ref to be added to an html node inside the container
19
- * that is likely to be used to contain a "More" type dropdown or other
20
- * mechanism to reveal hidden children. The width of this element is always
21
- * included when determining which children will fit or not. Usage of this ref
22
- * is optional.
11
+ * The hook returns the index of the last visible child.
23
12
  */
24
13
  const useIndexOfLastVisibleChild = (containerElementRef, overflowElementRef) => {
25
14
  const [indexOfLastVisibleChild, setIndexOfLastVisibleChild] = useState(-1);
26
- const windowSize = useWindowSize();
27
15
 
28
16
  useLayoutEffect(() => {
29
- if (!containerElementRef) {
30
- return;
17
+ function updateLastVisibleChildIndex() {
18
+ // Get array of child nodes from NodeList form
19
+ const childNodesArr = Array.prototype.slice.call(containerElementRef.children);
20
+ const { nextIndexOfLastVisibleChild } = childNodesArr
21
+ // filter out the overflow element
22
+ .filter(childNode => childNode !== overflowElementRef)
23
+ // sum the widths to find the last visible element's index
24
+ .reduce((acc, childNode, index) => {
25
+ acc.sumWidth += childNode.getBoundingClientRect().width;
26
+ if (acc.sumWidth <= containerElementRef.getBoundingClientRect().width) {
27
+ acc.nextIndexOfLastVisibleChild = index;
28
+ }
29
+ return acc;
30
+ }, {
31
+ // Include the overflow element's width to begin with. Doing this means
32
+ // sometimes we'll show a dropdown with one item in it when it would fit,
33
+ // but allowing this case dramatically simplifies the calculations we need
34
+ // to do above.
35
+ sumWidth: overflowElementRef ? overflowElementRef.getBoundingClientRect().width : 0,
36
+ nextIndexOfLastVisibleChild: -1,
37
+ });
38
+
39
+ setIndexOfLastVisibleChild(nextIndexOfLastVisibleChild);
40
+ }
41
+
42
+ if (containerElementRef) {
43
+ updateLastVisibleChildIndex();
44
+
45
+ const resizeObserver = new ResizeObserver(() => updateLastVisibleChildIndex());
46
+ resizeObserver.observe(containerElementRef);
47
+
48
+ return () => resizeObserver.disconnect();
31
49
  }
32
- // Get array of child nodes from NodeList form
33
- const childNodesArr = Array.prototype.slice.call(containerElementRef.children);
34
- const { nextIndexOfLastVisibleChild } = childNodesArr
35
- // filter out the overflow element
36
- .filter(childNode => childNode !== overflowElementRef)
37
- // sum the widths to find the last visible element's index
38
- .reduce((acc, childNode, index) => {
39
- acc.sumWidth += childNode.getBoundingClientRect().width;
40
- if (acc.sumWidth <= containerElementRef.getBoundingClientRect().width) {
41
- acc.nextIndexOfLastVisibleChild = index;
42
- }
43
- return acc;
44
- }, {
45
- // Include the overflow element's width to begin with. Doing this means
46
- // sometimes we'll show a dropdown with one item in it when it would fit,
47
- // but allowing this case dramatically simplifies the calculations we need
48
- // to do above.
49
- sumWidth: overflowElementRef ? overflowElementRef.getBoundingClientRect().width : 0,
50
- nextIndexOfLastVisibleChild: -1,
51
- });
52
-
53
- setIndexOfLastVisibleChild(nextIndexOfLastVisibleChild);
54
- }, [windowSize, containerElementRef, overflowElementRef]);
50
+
51
+ return undefined;
52
+ }, [containerElementRef, overflowElementRef]);
55
53
 
56
54
  return indexOfLastVisibleChild;
57
55
  };
@@ -25,10 +25,10 @@ of the children until they exceed the width of the container.
25
25
  pointerEvents: 'none',
26
26
  visibility: 'hidden',
27
27
  };
28
- const containerElementRef = React.useRef(null);
28
+ const [containerElementRef, setContainerElementRef] = React.useState(null);
29
29
  const overflowElementRef = React.useRef(null);
30
30
  const indexOfLastVisibleChild = useIndexOfLastVisibleChild(
31
- containerElementRef.current,
31
+ containerElementRef,
32
32
  overflowElementRef.current,
33
33
  );
34
34
  const elements = ['Element 1', 'Element 2', 'Element 3', 'Element 4', 'Element 5', 'Element 6', 'Element 7'];
@@ -71,7 +71,7 @@ of the children until they exceed the width of the container.
71
71
  }, [indexOfLastVisibleChild]);
72
72
 
73
73
  return (
74
- <div className="d-flex" ref={containerElementRef}>
74
+ <div className="d-flex" ref={setContainerElementRef}>
75
75
  {children}
76
76
  </div>
77
77
  )
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "إغلاق قائمة الخيارات",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "فتح قائمة الخيارات",
30
30
  "pgn.Toast.closeLabel": "إغلاق ",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Cerrar el menú de opciones",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Abre el menú de opciones",
30
30
  "pgn.Toast.closeLabel": "Cerrar",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Cerrar el menú de opciones",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Abre el menú de opciones",
30
30
  "pgn.Toast.closeLabel": "Cerrar",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Cerrar el menú de opciones",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Abre el menú de opciones",
30
30
  "pgn.Toast.closeLabel": "Cerrar",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Chiudi",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Zamknij",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Fechar o menu de opções",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Abrir o menu de opções",
30
30
  "pgn.Toast.closeLabel": "Fechar",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Seçenekler menüsünü kapat",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Seçenekler menüsünü aç",
30
30
  "pgn.Toast.closeLabel": "Kapat",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }
@@ -28,5 +28,6 @@
28
28
  "pgn.FormAutosuggest.iconButtonClosed": "Close the options menu",
29
29
  "pgn.FormAutosuggest.iconButtonOpened": "Open the options menu",
30
30
  "pgn.Toast.closeLabel": "Close",
31
- "pgn.ProductTour.Checkpoint.position-text": "Top of step {step}"
31
+ "pgn.ProductTour.Checkpoint.top-position-text": "Top of step {step}",
32
+ "pgn.ProductTour.Checkpoint.bottom-position-text": "Bottom of step {step}"
32
33
  }