@atlaskit/link-picker 1.38.2 → 1.39.2
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 +22 -0
- package/dist/cjs/common/ui/min-height-container/styled.js +1 -1
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/styled.js +1 -1
- package/dist/cjs/ui/index.js +1 -1
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/styled.js +1 -1
- package/dist/cjs/ui/link-picker/form-footer/styled.js +2 -2
- package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +4 -2
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/styled.js +7 -7
- package/dist/cjs/ui/link-picker/search-results/link-search-list/styled.js +4 -4
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/styles.js +5 -5
- package/dist/cjs/ui/link-picker/search-results/search-results-container/styled.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/styled.js +3 -3
- package/dist/cjs/ui/link-picker/styled.js +2 -2
- package/dist/cjs/ui/link-picker/text-input/styled.js +1 -1
- package/dist/cjs/ui/loader-fallback/styled.js +1 -1
- package/dist/cjs/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.js +22 -66
- package/dist/cjs/ui/styled.js +1 -1
- package/dist/es2019/common/ui/min-height-container/styled.js +1 -1
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/styled.js +1 -1
- package/dist/es2019/ui/index.js +1 -1
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/styled.js +1 -1
- package/dist/es2019/ui/link-picker/form-footer/styled.js +2 -2
- package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +3 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/styled.js +7 -7
- package/dist/es2019/ui/link-picker/search-results/link-search-list/styled.js +4 -4
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/styles.js +5 -5
- package/dist/es2019/ui/link-picker/search-results/search-results-container/styled.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/styled.js +3 -3
- package/dist/es2019/ui/link-picker/styled.js +2 -2
- package/dist/es2019/ui/link-picker/text-input/styled.js +1 -1
- package/dist/es2019/ui/loader-fallback/styled.js +1 -1
- package/dist/es2019/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.js +13 -30
- package/dist/es2019/ui/styled.js +1 -1
- package/dist/esm/common/ui/min-height-container/styled.js +1 -1
- package/dist/esm/ui/error-boundary/error-boundary-fallback/styled.js +1 -1
- package/dist/esm/ui/index.js +1 -1
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/styled.js +1 -1
- package/dist/esm/ui/link-picker/form-footer/styled.js +2 -2
- package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +3 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/styled.js +7 -7
- package/dist/esm/ui/link-picker/search-results/link-search-list/styled.js +4 -4
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/styles.js +5 -5
- package/dist/esm/ui/link-picker/search-results/search-results-container/styled.js +1 -1
- package/dist/esm/ui/link-picker/search-results/styled.js +3 -3
- package/dist/esm/ui/link-picker/styled.js +2 -2
- package/dist/esm/ui/link-picker/text-input/styled.js +1 -1
- package/dist/esm/ui/loader-fallback/styled.js +1 -1
- package/dist/esm/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.js +22 -51
- package/dist/esm/ui/styled.js +1 -1
- package/dist/types/ui/link-picker/search-results/link-search-error/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-error/index.d.ts +1 -0
- package/package.json +9 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 1.39.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.39.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#118372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/118372)
|
|
14
|
+
[`e25de82c2de31`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e25de82c2de31) -
|
|
15
|
+
Cleans up ff platform.linking-platform.link-picker.translations-map. Internally changes
|
|
16
|
+
translation imports to use an import map instead of dynamic imports.
|
|
17
|
+
|
|
18
|
+
## 1.39.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [`862ad2995ac6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/862ad2995ac6f) -
|
|
23
|
+
Update support form URL within error component for fedRAMP compliance
|
|
24
|
+
|
|
3
25
|
## 1.38.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ exports.minHeightComponentStyles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var minHeightComponentStyles = exports.minHeightComponentStyles = (0, _react.css)({
|
|
12
12
|
display: 'flex',
|
|
13
13
|
alignItems: 'stretch',
|
|
@@ -7,7 +7,7 @@ exports.errorBoundaryFallbackStyles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var errorBoundaryFallbackStyles = exports.errorBoundaryFallbackStyles = (0, _react.css)({
|
|
12
12
|
lineHeight: 'initial'
|
|
13
13
|
});
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
|
|
|
26
26
|
};
|
|
27
27
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
28
28
|
packageName: "@atlaskit/link-picker" || '',
|
|
29
|
-
packageVersion: "1.
|
|
29
|
+
packageVersion: "1.39.2" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -16,7 +16,7 @@ var pulseKeyframes = (0, _react.keyframes)({
|
|
|
16
16
|
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
17
17
|
var pulseColor = 'rgb(101, 84, 192)';
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
20
|
var pulseStyles = exports.pulseStyles = (0, _react.css)({
|
|
21
21
|
display: 'inline-flex',
|
|
22
22
|
borderRadius: '3px',
|
|
@@ -7,13 +7,13 @@ exports.formFooterStyles = exports.formFooterActionStyles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var formFooterStyles = exports.formFooterStyles = (0, _react.css)({
|
|
12
12
|
display: 'flex',
|
|
13
13
|
justifyContent: 'flex-end'
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
17
|
var formFooterActionStyles = exports.formFooterActionStyles = (0, _react.css)({
|
|
18
18
|
marginRight: 'auto'
|
|
19
19
|
});
|
|
@@ -4,10 +4,11 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.testIds = exports.messages = exports.LinkSearchError = exports.CONTACT_SUPPORT_LINK = void 0;
|
|
7
|
+
exports.testIds = exports.messages = exports.LinkSearchError = exports.CONTACT_SUPPORT_LINK_FEDRAMP = exports.CONTACT_SUPPORT_LINK = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
|
+
var _atlassianContext = require("@atlaskit/atlassian-context");
|
|
11
12
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
12
13
|
var _genericErrorSvg = require("../../../../common/generic-error-svg");
|
|
13
14
|
var _emptyState = require("../../../../common/ui/empty-state");
|
|
@@ -15,6 +16,7 @@ var _emptyState = require("../../../../common/ui/empty-state");
|
|
|
15
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
|
|
17
18
|
var CONTACT_SUPPORT_LINK = exports.CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
|
|
19
|
+
var CONTACT_SUPPORT_LINK_FEDRAMP = exports.CONTACT_SUPPORT_LINK_FEDRAMP = 'https://gcs.atlassian-us-gov-mod.net/servicedesk/customer/portals';
|
|
18
20
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
19
21
|
searchErrorHeader: {
|
|
20
22
|
id: 'fabric.linkPicker.search.error.heading',
|
|
@@ -41,7 +43,7 @@ var LinkSearchError = exports.LinkSearchError = function LinkSearchError() {
|
|
|
41
43
|
return (0, _react.jsx)(_button.default, {
|
|
42
44
|
appearance: "link",
|
|
43
45
|
spacing: "none",
|
|
44
|
-
href: CONTACT_SUPPORT_LINK,
|
|
46
|
+
href: (0, _atlassianContext.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
45
47
|
target: "_blank",
|
|
46
48
|
rel: "noopener noreferrer"
|
|
47
49
|
}, label);
|
|
@@ -65,13 +65,13 @@ var composeListItemStyles = exports.composeListItemStyles = function composeList
|
|
|
65
65
|
listItemFocusStyles);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
69
69
|
var itemNameStyles = exports.itemNameStyles = (0, _react.css)({
|
|
70
70
|
overflow: 'hidden',
|
|
71
71
|
alignContent: 'center'
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
75
75
|
var listItemNameStyles = exports.listItemNameStyles = (0, _react.css)({
|
|
76
76
|
color: "var(--ds-text, ".concat(_colors.N800, ")"),
|
|
77
77
|
overflow: 'hidden',
|
|
@@ -80,7 +80,7 @@ var listItemNameStyles = exports.listItemNameStyles = (0, _react.css)({
|
|
|
80
80
|
lineHeight: '20px'
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
83
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
84
84
|
var listItemContextStyles = exports.listItemContextStyles = (0, _react.css)({
|
|
85
85
|
color: "var(--ds-text, ".concat(_colors.N300, ")"),
|
|
86
86
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -89,26 +89,26 @@ var listItemContextStyles = exports.listItemContextStyles = (0, _react.css)({
|
|
|
89
89
|
display: 'flex'
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
92
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
93
93
|
var listItemContainerStyles = exports.listItemContainerStyles = (0, _react.css)({
|
|
94
94
|
overflow: 'hidden',
|
|
95
95
|
textOverflow: 'ellipsis'
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
99
99
|
var listItemContainerInnerStyles = exports.listItemContainerInnerStyles = (0, _react.css)({
|
|
100
100
|
color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
|
|
101
101
|
whiteSpace: 'nowrap'
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles
|
|
104
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
105
105
|
var itemIconStyles = exports.itemIconStyles = (0, _react.css)({
|
|
106
106
|
minWidth: "var(--ds-space-200, 16px)",
|
|
107
107
|
marginTop: "var(--ds-space-050, 4px)",
|
|
108
108
|
marginRight: "var(--ds-space-150, 12px)"
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
112
112
|
var imgStyles = exports.imgStyles = (0, _react.css)({
|
|
113
113
|
maxWidth: "var(--ds-space-200, 16px)"
|
|
114
114
|
});
|
|
@@ -11,7 +11,7 @@ var _theme = require("@atlaskit/theme");
|
|
|
11
11
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
12
12
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
13
13
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
15
|
var listContainerStyles = exports.listContainerStyles = (0, _react.css)({
|
|
16
16
|
width: '100%',
|
|
17
17
|
paddingTop: 0,
|
|
@@ -23,14 +23,14 @@ var listContainerStyles = exports.listContainerStyles = (0, _react.css)({
|
|
|
23
23
|
flexDirection: 'column'
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
27
|
var spinnerContainerStyles = exports.spinnerContainerStyles = (0, _react.css)({
|
|
28
28
|
flexGrow: 1,
|
|
29
29
|
flexDirection: 'column',
|
|
30
30
|
alignItems: 'center'
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
34
|
var listStyles = exports.listStyles = (0, _react.css)({
|
|
35
35
|
padding: "var(--ds-space-0, 0px)",
|
|
36
36
|
marginTop: "var(--ds-space-0, 0px)",
|
|
@@ -40,7 +40,7 @@ var listStyles = exports.listStyles = (0, _react.css)({
|
|
|
40
40
|
listStyle: 'none'
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
44
44
|
var listTitleStyles = exports.listTitleStyles = (0, _react.css)(_theme.typography.h100(), {
|
|
45
45
|
textTransform: 'uppercase',
|
|
46
46
|
marginTop: 0,
|
|
@@ -8,7 +8,7 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
var scrollingContainerStyles = exports.scrollingContainerStyles = (0, _react.css)({
|
|
13
13
|
overflowX: 'auto',
|
|
14
14
|
scrollBehavior: 'smooth',
|
|
@@ -32,7 +32,7 @@ var scrollingContainerStyles = exports.scrollingContainerStyles = (0, _react.css
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
36
36
|
var containerStyles = exports.containerStyles = (0, _react.css)({
|
|
37
37
|
position: 'relative',
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -51,7 +51,7 @@ var containerStyles = exports.containerStyles = (0, _react.css)({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
55
|
var buttonContainerStyles = exports.buttonContainerStyles = (0, _react.css)({
|
|
56
56
|
position: 'absolute',
|
|
57
57
|
top: "var(--ds-space-050, 4px)",
|
|
@@ -59,14 +59,14 @@ var buttonContainerStyles = exports.buttonContainerStyles = (0, _react.css)({
|
|
|
59
59
|
backgroundColor: "var(--ds-surface, ".concat(_colors.N0, ")")
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
63
63
|
var backButtonStyles = exports.backButtonStyles = (0, _react.css)([
|
|
64
64
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
65
65
|
buttonContainerStyles, {
|
|
66
66
|
left: 0
|
|
67
67
|
}]);
|
|
68
68
|
|
|
69
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
70
70
|
var nextButtonStyles = exports.nextButtonStyles = (0, _react.css)([
|
|
71
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
72
72
|
buttonContainerStyles, {
|
|
@@ -7,7 +7,7 @@ exports.flexColumn = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var flexColumn = exports.flexColumn = (0, _react.css)({
|
|
12
12
|
display: 'flex',
|
|
13
13
|
flexDirection: 'column',
|
|
@@ -7,12 +7,12 @@ exports.tabsWrapperStyles = exports.spinnerContainerStyles = exports.flexColumnS
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var tabsWrapperStyles = exports.tabsWrapperStyles = (0, _react.css)({
|
|
12
12
|
marginTop: "var(--ds-space-150, 12px)"
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
16
|
var spinnerContainerStyles = exports.spinnerContainerStyles = (0, _react.css)({
|
|
17
17
|
minHeight: '80px',
|
|
18
18
|
display: 'flex',
|
|
@@ -22,7 +22,7 @@ var spinnerContainerStyles = exports.spinnerContainerStyles = (0, _react.css)({
|
|
|
22
22
|
flexGrow: 1
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
26
|
var flexColumnStyles = exports.flexColumnStyles = (0, _react.css)({
|
|
27
27
|
display: 'flex',
|
|
28
28
|
flexDirection: 'column'
|
|
@@ -9,10 +9,10 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
11
|
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
13
|
var rootContainerStyles = exports.rootContainerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
|
|
14
14
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
16
|
var formFooterMargin = exports.formFooterMargin = (0, _react.css)({
|
|
17
17
|
marginTop: "var(--ds-space-200, 16px)"
|
|
18
18
|
});
|
|
@@ -11,7 +11,7 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
* Overidding text input margin top which design system provides as a default spacer
|
|
12
12
|
* but it gets in the way of our layout
|
|
13
13
|
*/
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
15
|
var fieldStyles = exports.fieldStyles = (0, _react.css)({
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
17
17
|
'> div': {
|
|
@@ -7,7 +7,7 @@ exports.styles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var styles = exports.styles = (0, _react.css)({
|
|
12
12
|
alignItems: 'center'
|
|
13
13
|
});
|
package/dist/cjs/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.js
CHANGED
|
@@ -1,103 +1,59 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.fetchMessagesForLocale = void 0;
|
|
9
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
10
|
var _i18n = require("../../../../i18n");
|
|
13
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
11
|
var fetchMessagesForLocale = exports.fetchMessagesForLocale = /*#__PURE__*/function () {
|
|
16
12
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(locale) {
|
|
17
|
-
var localeKey, messages, parentLocale, _messages
|
|
13
|
+
var localeKey, messages, parentLocale, _messages;
|
|
18
14
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
19
15
|
while (1) switch (_context.prev = _context.next) {
|
|
20
16
|
case 0:
|
|
21
|
-
|
|
22
|
-
_context.next = 25;
|
|
23
|
-
break;
|
|
24
|
-
}
|
|
25
|
-
_context.prev = 1;
|
|
17
|
+
_context.prev = 0;
|
|
26
18
|
localeKey = locale.replace('-', '_');
|
|
27
19
|
if (!(localeKey in _i18n.locales)) {
|
|
28
|
-
_context.next =
|
|
20
|
+
_context.next = 7;
|
|
29
21
|
break;
|
|
30
22
|
}
|
|
31
|
-
_context.next =
|
|
23
|
+
_context.next = 5;
|
|
32
24
|
return _i18n.locales[localeKey]();
|
|
33
|
-
case
|
|
25
|
+
case 5:
|
|
34
26
|
messages = _context.sent;
|
|
35
27
|
return _context.abrupt("return", messages.default);
|
|
36
|
-
case
|
|
37
|
-
_context.next =
|
|
28
|
+
case 7:
|
|
29
|
+
_context.next = 11;
|
|
38
30
|
break;
|
|
39
|
-
case
|
|
40
|
-
_context.prev =
|
|
41
|
-
_context.t0 = _context["catch"](
|
|
42
|
-
case
|
|
43
|
-
_context.prev =
|
|
31
|
+
case 9:
|
|
32
|
+
_context.prev = 9;
|
|
33
|
+
_context.t0 = _context["catch"](0);
|
|
34
|
+
case 11:
|
|
35
|
+
_context.prev = 11;
|
|
44
36
|
parentLocale = locale.split(/[-_]/)[0];
|
|
45
37
|
if (!(parentLocale in _i18n.locales)) {
|
|
46
|
-
_context.next =
|
|
38
|
+
_context.next = 18;
|
|
47
39
|
break;
|
|
48
40
|
}
|
|
49
|
-
_context.next =
|
|
41
|
+
_context.next = 16;
|
|
50
42
|
return _i18n.locales[parentLocale]();
|
|
51
|
-
case
|
|
43
|
+
case 16:
|
|
52
44
|
_messages = _context.sent;
|
|
53
45
|
return _context.abrupt("return", _messages.default);
|
|
54
|
-
case
|
|
55
|
-
_context.next =
|
|
56
|
-
break;
|
|
57
|
-
case 21:
|
|
58
|
-
_context.prev = 21;
|
|
59
|
-
_context.t1 = _context["catch"](12);
|
|
60
|
-
case 23:
|
|
61
|
-
_context.next = 44;
|
|
46
|
+
case 18:
|
|
47
|
+
_context.next = 22;
|
|
62
48
|
break;
|
|
63
|
-
case
|
|
64
|
-
_context.prev =
|
|
65
|
-
_context.
|
|
66
|
-
|
|
67
|
-
return new Promise(function (r) {
|
|
68
|
-
return r(specifier);
|
|
69
|
-
}).then(function (s) {
|
|
70
|
-
return _interopRequireWildcard(require(s));
|
|
71
|
-
});
|
|
72
|
-
}( /* webpackChunkName: "@atlaskit-internal_link-picker-i18n-[request]" */"../../../../i18n/".concat(locale.replace('-', '_')));
|
|
73
|
-
case 28:
|
|
74
|
-
_messages2 = _context.sent;
|
|
75
|
-
return _context.abrupt("return", _messages2.default);
|
|
76
|
-
case 32:
|
|
77
|
-
_context.prev = 32;
|
|
78
|
-
_context.t2 = _context["catch"](25);
|
|
79
|
-
case 34:
|
|
80
|
-
_context.prev = 34;
|
|
81
|
-
_parentLocale = locale.split(/[-_]/)[0];
|
|
82
|
-
_context.next = 38;
|
|
83
|
-
return function (specifier) {
|
|
84
|
-
return new Promise(function (r) {
|
|
85
|
-
return r(specifier);
|
|
86
|
-
}).then(function (s) {
|
|
87
|
-
return _interopRequireWildcard(require(s));
|
|
88
|
-
});
|
|
89
|
-
}( /* webpackChunkName: "@atlaskit-internal_link-picker-i18n-[request]" */"../../../../i18n/".concat(_parentLocale));
|
|
90
|
-
case 38:
|
|
91
|
-
_messages3 = _context.sent;
|
|
92
|
-
return _context.abrupt("return", _messages3.default);
|
|
93
|
-
case 42:
|
|
94
|
-
_context.prev = 42;
|
|
95
|
-
_context.t3 = _context["catch"](34);
|
|
96
|
-
case 44:
|
|
49
|
+
case 20:
|
|
50
|
+
_context.prev = 20;
|
|
51
|
+
_context.t1 = _context["catch"](11);
|
|
52
|
+
case 22:
|
|
97
53
|
case "end":
|
|
98
54
|
return _context.stop();
|
|
99
55
|
}
|
|
100
|
-
}, _callee, null, [[
|
|
56
|
+
}, _callee, null, [[0, 9], [11, 20]]);
|
|
101
57
|
}));
|
|
102
58
|
return function fetchMessagesForLocale(_x) {
|
|
103
59
|
return _ref.apply(this, arguments);
|
package/dist/cjs/ui/styled.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.fixedWidthContainerStyles = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var fixedWidthContainerStyles = exports.fixedWidthContainerStyles = (0, _react.css)({
|
|
12
12
|
width: 'var(--link-picker-width)'
|
|
13
13
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const minHeightComponentStyles = css({
|
|
6
6
|
display: 'flex',
|
|
7
7
|
alignItems: 'stretch',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const errorBoundaryFallbackStyles = css({
|
|
6
6
|
lineHeight: 'initial'
|
|
7
7
|
});
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const pulseKeyframes = keyframes({
|
|
|
9
9
|
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
10
10
|
const pulseColor = 'rgb(101, 84, 192)';
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
13
|
export const pulseStyles = css({
|
|
14
14
|
display: 'inline-flex',
|
|
15
15
|
borderRadius: '3px',
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const formFooterStyles = css({
|
|
6
6
|
display: 'flex',
|
|
7
7
|
justifyContent: 'flex-end'
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
export const formFooterActionStyles = css({
|
|
12
12
|
marginRight: 'auto'
|
|
13
13
|
});
|
|
@@ -3,10 +3,12 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
5
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl-next';
|
|
6
|
+
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
6
7
|
import Button from '@atlaskit/button';
|
|
7
8
|
import { GenericErrorSVG } from '../../../../common/generic-error-svg';
|
|
8
9
|
import { EmptyState } from '../../../../common/ui/empty-state';
|
|
9
10
|
export const CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
|
|
11
|
+
export const CONTACT_SUPPORT_LINK_FEDRAMP = 'https://gcs.atlassian-us-gov-mod.net/servicedesk/customer/portals';
|
|
10
12
|
export const messages = defineMessages({
|
|
11
13
|
searchErrorHeader: {
|
|
12
14
|
id: 'fabric.linkPicker.search.error.heading',
|
|
@@ -32,7 +34,7 @@ export const LinkSearchError = () => {
|
|
|
32
34
|
a: label => jsx(Button, {
|
|
33
35
|
appearance: "link",
|
|
34
36
|
spacing: "none",
|
|
35
|
-
href: CONTACT_SUPPORT_LINK,
|
|
37
|
+
href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
36
38
|
target: "_blank",
|
|
37
39
|
rel: "noopener noreferrer"
|
|
38
40
|
}, label)
|
|
@@ -57,13 +57,13 @@ export const composeListItemStyles = (selected = false) => {
|
|
|
57
57
|
listItemFocusStyles);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
61
|
export const itemNameStyles = css({
|
|
62
62
|
overflow: 'hidden',
|
|
63
63
|
alignContent: 'center'
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
67
67
|
export const listItemNameStyles = css({
|
|
68
68
|
color: `var(--ds-text, ${N800})`,
|
|
69
69
|
overflow: 'hidden',
|
|
@@ -72,7 +72,7 @@ export const listItemNameStyles = css({
|
|
|
72
72
|
lineHeight: '20px'
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
76
76
|
export const listItemContextStyles = css({
|
|
77
77
|
color: `var(--ds-text, ${N300})`,
|
|
78
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -81,26 +81,26 @@ export const listItemContextStyles = css({
|
|
|
81
81
|
display: 'flex'
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
84
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
85
85
|
export const listItemContainerStyles = css({
|
|
86
86
|
overflow: 'hidden',
|
|
87
87
|
textOverflow: 'ellipsis'
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
91
91
|
export const listItemContainerInnerStyles = css({
|
|
92
92
|
color: `var(--ds-text-subtlest, ${N200})`,
|
|
93
93
|
whiteSpace: 'nowrap'
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles
|
|
96
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
97
97
|
export const itemIconStyles = css({
|
|
98
98
|
minWidth: "var(--ds-space-200, 16px)",
|
|
99
99
|
marginTop: "var(--ds-space-050, 4px)",
|
|
100
100
|
marginRight: "var(--ds-space-150, 12px)"
|
|
101
101
|
});
|
|
102
102
|
|
|
103
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
103
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
104
104
|
export const imgStyles = css({
|
|
105
105
|
maxWidth: "var(--ds-space-200, 16px)"
|
|
106
106
|
});
|