@atlaskit/help 7.11.4 → 7.11.6
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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -3
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -3
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/RelatedArticles/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -3
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 7.11.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.11.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#172708](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/172708)
|
|
14
|
+
[`c52ae1a7bd78c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c52ae1a7bd78c) -
|
|
15
|
+
add styling to negative feedback section legend and aria-labelledby attribute to buttons
|
|
16
|
+
|
|
3
17
|
## 7.11.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
14
14
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
15
15
|
componentName: 'help',
|
|
16
16
|
packageName: "@atlaskit/help",
|
|
17
|
-
packageVersion: "7.11.
|
|
17
|
+
packageVersion: "7.11.6"
|
|
18
18
|
};
|
|
@@ -15,7 +15,7 @@ var _styled = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticleLoadingFail',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.11.
|
|
18
|
+
packageVersion: "7.11.6"
|
|
19
19
|
};
|
|
20
20
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
21
21
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.6"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.6"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -42,7 +42,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
42
42
|
var ANALYTICS_CONTEXT_DATA = {
|
|
43
43
|
componentName: 'ArticleWasHelpfulForm',
|
|
44
44
|
packageName: "@atlaskit/help",
|
|
45
|
-
packageVersion: "7.11.
|
|
45
|
+
packageVersion: "7.11.6"
|
|
46
46
|
};
|
|
47
47
|
var buttonStyles = (0, _react2.css)({
|
|
48
48
|
padding: '0',
|
|
@@ -183,7 +183,25 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
|
|
|
183
183
|
return (0, _react2.jsx)("form", (0, _extends2.default)({}, formProps, {
|
|
184
184
|
name: "form-example"
|
|
185
185
|
}), !wasHelpful && (0, _react2.jsx)("fieldset", null, (0, _react2.jsx)("legend", {
|
|
186
|
-
|
|
186
|
+
id: "feedbackReason-label",
|
|
187
|
+
style: {
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
189
|
+
position: 'absolute',
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
191
|
+
width: '1px',
|
|
192
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
193
|
+
height: '1px',
|
|
194
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
195
|
+
margin: '-1px',
|
|
196
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
197
|
+
padding: '0',
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
199
|
+
border: '0',
|
|
200
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
201
|
+
clip: 'rect(0, 0, 0, 0)',
|
|
202
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
203
|
+
overflow: 'hidden'
|
|
204
|
+
}
|
|
187
205
|
}, formatMessage(_messages.messages.help_article_rating_form_title)), (0, _react2.jsx)(_form.Field, {
|
|
188
206
|
name: "feedbackReason",
|
|
189
207
|
isRequired: true
|
|
@@ -191,7 +209,8 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
|
|
|
191
209
|
var fieldProps = _ref3.fieldProps;
|
|
192
210
|
return (0, _react2.jsx)(_radio.RadioGroup, (0, _extends2.default)({}, fieldProps, {
|
|
193
211
|
options: negativeFeedbackReason,
|
|
194
|
-
onChange: radioGroupReasonOnChange
|
|
212
|
+
onChange: radioGroupReasonOnChange,
|
|
213
|
+
"aria-labelledby": "feedbackReason-label"
|
|
195
214
|
}));
|
|
196
215
|
})), (0, _react2.jsx)(_form.Field, {
|
|
197
216
|
name: "feedbackReasonText",
|
|
@@ -65,7 +65,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
|
|
|
65
65
|
analyticsEvent.payload.attributes = {
|
|
66
66
|
componentName: 'Article',
|
|
67
67
|
packageName: "@atlaskit/help",
|
|
68
|
-
packageVersion: "7.11.
|
|
68
|
+
packageVersion: "7.11.6"
|
|
69
69
|
};
|
|
70
70
|
if (onRelatedArticlesShowMoreClick) {
|
|
71
71
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
22
22
|
var analyticsContextData = {
|
|
23
23
|
componentName: 'ArticlesListItem',
|
|
24
24
|
packageName: "@atlaskit/help",
|
|
25
|
-
packageVersion: "7.11.
|
|
25
|
+
packageVersion: "7.11.6"
|
|
26
26
|
};
|
|
27
27
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
28
28
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
18
18
|
var ANALYTICS_CONTEXT_DATA = {
|
|
19
19
|
componentName: 'ArticlesListItem',
|
|
20
20
|
packageName: "@atlaskit/help",
|
|
21
|
-
packageVersion: "7.11.
|
|
21
|
+
packageVersion: "7.11.6"
|
|
22
22
|
};
|
|
23
23
|
var highlightText = function highlightText(text) {
|
|
24
24
|
if (!text) {
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
17
17
|
var analitycsContextData = {
|
|
18
18
|
componentName: 'HelpContentButton',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.11.
|
|
20
|
+
packageVersion: "7.11.6"
|
|
21
21
|
};
|
|
22
22
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
23
23
|
var _ref$id = _ref.id,
|
|
@@ -33,7 +33,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
34
34
|
|
|
35
35
|
var packageName = "@atlaskit/help";
|
|
36
|
-
var packageVersion = "7.11.
|
|
36
|
+
var packageVersion = "7.11.6";
|
|
37
37
|
var buttonStyles = (0, _react2.css)({
|
|
38
38
|
padding: '0',
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -32,7 +32,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
32
32
|
var ANALYTICS_CONTEXT_DATA = {
|
|
33
33
|
componentName: 'searchInput',
|
|
34
34
|
packageName: "@atlaskit/help",
|
|
35
|
-
packageVersion: "7.11.
|
|
35
|
+
packageVersion: "7.11.6"
|
|
36
36
|
};
|
|
37
37
|
var buttonStyles = (0, _react2.css)({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'WhatsNewButton',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.6"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
27
27
|
var productName = _ref.productName,
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticlesListItem',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.11.
|
|
18
|
+
packageVersion: "7.11.6"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
export const ArticleLoadingFail = ({
|
|
14
14
|
onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.6"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulNoButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.6"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -29,7 +29,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
29
29
|
const ANALYTICS_CONTEXT_DATA = {
|
|
30
30
|
componentName: 'ArticleWasHelpfulForm',
|
|
31
31
|
packageName: "@atlaskit/help",
|
|
32
|
-
packageVersion: "7.11.
|
|
32
|
+
packageVersion: "7.11.6"
|
|
33
33
|
};
|
|
34
34
|
const buttonStyles = css({
|
|
35
35
|
padding: '0',
|
|
@@ -154,7 +154,25 @@ export const ArticleWasHelpfulForm = ({
|
|
|
154
154
|
return jsx("form", _extends({}, formProps, {
|
|
155
155
|
name: "form-example"
|
|
156
156
|
}), !wasHelpful && jsx("fieldset", null, jsx("legend", {
|
|
157
|
-
|
|
157
|
+
id: "feedbackReason-label",
|
|
158
|
+
style: {
|
|
159
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
160
|
+
position: 'absolute',
|
|
161
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
162
|
+
width: '1px',
|
|
163
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
164
|
+
height: '1px',
|
|
165
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
166
|
+
margin: '-1px',
|
|
167
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
168
|
+
padding: '0',
|
|
169
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
170
|
+
border: '0',
|
|
171
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
172
|
+
clip: 'rect(0, 0, 0, 0)',
|
|
173
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
174
|
+
overflow: 'hidden'
|
|
175
|
+
}
|
|
158
176
|
}, formatMessage(messages.help_article_rating_form_title)), jsx(Field, {
|
|
159
177
|
name: "feedbackReason",
|
|
160
178
|
isRequired: true
|
|
@@ -162,7 +180,8 @@ export const ArticleWasHelpfulForm = ({
|
|
|
162
180
|
fieldProps
|
|
163
181
|
}) => jsx(RadioGroup, _extends({}, fieldProps, {
|
|
164
182
|
options: negativeFeedbackReason,
|
|
165
|
-
onChange: radioGroupReasonOnChange
|
|
183
|
+
onChange: radioGroupReasonOnChange,
|
|
184
|
+
"aria-labelledby": "feedbackReason-label"
|
|
166
185
|
})))), jsx(Field, {
|
|
167
186
|
name: "feedbackReasonText",
|
|
168
187
|
defaultValue: ""
|
|
@@ -60,7 +60,7 @@ export const HelpArticle = ({
|
|
|
60
60
|
analyticsEvent.payload.attributes = {
|
|
61
61
|
componentName: 'Article',
|
|
62
62
|
packageName: "@atlaskit/help",
|
|
63
|
-
packageVersion: "7.11.
|
|
63
|
+
packageVersion: "7.11.6"
|
|
64
64
|
};
|
|
65
65
|
if (onRelatedArticlesShowMoreClick) {
|
|
66
66
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
const analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.6"
|
|
17
17
|
};
|
|
18
18
|
export const WhatsNewArticle = ({
|
|
19
19
|
intl: {
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
const highlightText = text => {
|
|
14
14
|
if (!text) {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
const analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.11.
|
|
10
|
+
packageVersion: "7.11.6"
|
|
11
11
|
};
|
|
12
12
|
const HelpContentButton = ({
|
|
13
13
|
id = '',
|
|
@@ -20,7 +20,7 @@ import { usePrevious } from '../../util/hooks/previous';
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
22
|
const packageName = "@atlaskit/help";
|
|
23
|
-
const packageVersion = "7.11.
|
|
23
|
+
const packageVersion = "7.11.6";
|
|
24
24
|
const buttonStyles = css({
|
|
25
25
|
padding: '0',
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
21
21
|
const ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'searchInput',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.6"
|
|
25
25
|
};
|
|
26
26
|
const buttonStyles = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
const ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.11.
|
|
14
|
+
packageVersion: "7.11.6"
|
|
15
15
|
};
|
|
16
16
|
export const WhatsNewButton = ({
|
|
17
17
|
productName,
|
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
package/dist/esm/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
14
14
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.6"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.11.
|
|
9
|
+
packageVersion: "7.11.6"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -30,7 +30,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
30
30
|
var ANALYTICS_CONTEXT_DATA = {
|
|
31
31
|
componentName: 'ArticleWasHelpfulForm',
|
|
32
32
|
packageName: "@atlaskit/help",
|
|
33
|
-
packageVersion: "7.11.
|
|
33
|
+
packageVersion: "7.11.6"
|
|
34
34
|
};
|
|
35
35
|
var buttonStyles = css({
|
|
36
36
|
padding: '0',
|
|
@@ -171,7 +171,25 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
171
171
|
return jsx("form", _extends({}, formProps, {
|
|
172
172
|
name: "form-example"
|
|
173
173
|
}), !wasHelpful && jsx("fieldset", null, jsx("legend", {
|
|
174
|
-
|
|
174
|
+
id: "feedbackReason-label",
|
|
175
|
+
style: {
|
|
176
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
177
|
+
position: 'absolute',
|
|
178
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
179
|
+
width: '1px',
|
|
180
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
181
|
+
height: '1px',
|
|
182
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
183
|
+
margin: '-1px',
|
|
184
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
185
|
+
padding: '0',
|
|
186
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
187
|
+
border: '0',
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
189
|
+
clip: 'rect(0, 0, 0, 0)',
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
191
|
+
overflow: 'hidden'
|
|
192
|
+
}
|
|
175
193
|
}, formatMessage(messages.help_article_rating_form_title)), jsx(Field, {
|
|
176
194
|
name: "feedbackReason",
|
|
177
195
|
isRequired: true
|
|
@@ -179,7 +197,8 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
179
197
|
var fieldProps = _ref3.fieldProps;
|
|
180
198
|
return jsx(RadioGroup, _extends({}, fieldProps, {
|
|
181
199
|
options: negativeFeedbackReason,
|
|
182
|
-
onChange: radioGroupReasonOnChange
|
|
200
|
+
onChange: radioGroupReasonOnChange,
|
|
201
|
+
"aria-labelledby": "feedbackReason-label"
|
|
183
202
|
}));
|
|
184
203
|
})), jsx(Field, {
|
|
185
204
|
name: "feedbackReasonText",
|
|
@@ -56,7 +56,7 @@ export var HelpArticle = function HelpArticle(_ref) {
|
|
|
56
56
|
analyticsEvent.payload.attributes = {
|
|
57
57
|
componentName: 'Article',
|
|
58
58
|
packageName: "@atlaskit/help",
|
|
59
|
-
packageVersion: "7.11.
|
|
59
|
+
packageVersion: "7.11.6"
|
|
60
60
|
};
|
|
61
61
|
if (onRelatedArticlesShowMoreClick) {
|
|
62
62
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
var analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.11.
|
|
16
|
+
packageVersion: "7.11.6"
|
|
17
17
|
};
|
|
18
18
|
export var WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
19
19
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
var highlightText = function highlightText(text) {
|
|
14
14
|
if (!text) {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.11.
|
|
10
|
+
packageVersion: "7.11.6"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -23,7 +23,7 @@ import { usePrevious } from '../../util/hooks/previous';
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
24
|
import { css, jsx } from '@emotion/react';
|
|
25
25
|
var packageName = "@atlaskit/help";
|
|
26
|
-
var packageVersion = "7.11.
|
|
26
|
+
var packageVersion = "7.11.6";
|
|
27
27
|
var buttonStyles = css({
|
|
28
28
|
padding: '0',
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'searchInput',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.11.
|
|
24
|
+
packageVersion: "7.11.6"
|
|
25
25
|
};
|
|
26
26
|
var buttonStyles = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
var ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.11.
|
|
14
|
+
packageVersion: "7.11.6"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.11.
|
|
11
|
+
packageVersion: "7.11.6"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.6",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
"runReact18": true
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/analytics-next": "^10.
|
|
38
|
+
"@atlaskit/analytics-next": "^10.2.0",
|
|
39
39
|
"@atlaskit/button": "^20.3.0",
|
|
40
40
|
"@atlaskit/checkbox": "^15.2.0",
|
|
41
41
|
"@atlaskit/form": "^10.6.0",
|
|
42
42
|
"@atlaskit/help-article": "^4.2.0",
|
|
43
43
|
"@atlaskit/help-layout": "^4.4.0",
|
|
44
|
-
"@atlaskit/icon": "^23.
|
|
44
|
+
"@atlaskit/icon": "^23.1.0",
|
|
45
45
|
"@atlaskit/legacy-custom-icons": "^0.20.0",
|
|
46
46
|
"@atlaskit/notification-indicator": "^9.4.0",
|
|
47
47
|
"@atlaskit/notification-log-client": "^6.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
49
|
"@atlaskit/primitives": "^13.3.0",
|
|
50
|
-
"@atlaskit/radio": "^
|
|
50
|
+
"@atlaskit/radio": "^7.0.0",
|
|
51
51
|
"@atlaskit/section-message": "^6.8.0",
|
|
52
|
-
"@atlaskit/select": "^18.
|
|
52
|
+
"@atlaskit/select": "^18.8.0",
|
|
53
53
|
"@atlaskit/spinner": "^16.3.0",
|
|
54
|
-
"@atlaskit/textarea": "^5.
|
|
55
|
-
"@atlaskit/textfield": "^6.
|
|
54
|
+
"@atlaskit/textarea": "^5.7.0",
|
|
55
|
+
"@atlaskit/textfield": "^6.7.0",
|
|
56
56
|
"@atlaskit/theme": "^14.0.0",
|
|
57
57
|
"@atlaskit/tokens": "^2.4.0",
|
|
58
58
|
"@atlaskit/tooltip": "^18.9.0",
|