@atlaskit/link-datasource 4.0.3 → 4.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
8
+ [`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
9
+ Update `@compiled/react` dependency for improved type checking support.
10
+ - Updated dependencies
11
+
12
+ ## 4.1.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#129996](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129996)
17
+ [`9a1b58cd19c04`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9a1b58cd19c04) -
18
+ Updating Assets logo to use ADS package
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+
3
24
  ## 4.0.3
4
25
 
5
26
  ### Patch Changes
@@ -12,6 +12,7 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _logo = require("@atlaskit/logo");
13
13
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
14
  var _compiled = require("@atlaskit/primitives/compiled");
15
+ var _assets = require("@atlaskit/temp-nav-app-icons/assets");
15
16
  var _analytics = require("../../../analytics");
16
17
  var styles = {
17
18
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -42,7 +43,9 @@ var PoweredByJSMAssets = exports.PoweredByJSMAssets = function PoweredByJSMAsset
42
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
43
44
  alignItems: 'center'
44
45
  }
45
- }, (0, _platformFeatureFlags.fg)('assets_as_an_app_v2') ? /*#__PURE__*/_react.default.createElement(AssetsIcon, null) : /*#__PURE__*/_react.default.createElement(_logo.JiraServiceManagementIcon, {
46
+ }, (0, _platformFeatureFlags.fg)('assets_as_an_app_v2') ? /*#__PURE__*/_react.default.createElement(_assets.AssetsIcon, {
47
+ size: "24"
48
+ }) : /*#__PURE__*/_react.default.createElement(_logo.JiraServiceManagementIcon, {
46
49
  size: "xsmall",
47
50
  appearance: "brand",
48
51
  label: props.text
@@ -54,57 +57,4 @@ var PoweredByJSMAssets = exports.PoweredByJSMAssets = function PoweredByJSMAsset
54
57
  fontSize: 'small'
55
58
  }
56
59
  }, props.text)));
57
- };
58
-
59
- // TODO: JDW-5568 use the Assets Logo from @atlaskit/logo once available
60
- var AssetsIcon = function AssetsIcon() {
61
- return (
62
- /*#__PURE__*/
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
64
- _react.default.createElement("span", {
65
- style: {
66
- display: 'flex'
67
- },
68
- role: "img",
69
- "aria-label": "Assets icon"
70
- }, /*#__PURE__*/_react.default.createElement("svg", {
71
- width: "24",
72
- height: "24",
73
- viewBox: "0 0 24 24",
74
- fill: "none",
75
- xmlns: "http://www.w3.org/2000/svg"
76
- }, /*#__PURE__*/_react.default.createElement("path", {
77
- d: "M0 6C0 2.68629 2.68629 0 6 0H18C21.3137 0 24 2.68629 24 6V18C24 21.3137 21.3137 24 18 24H6C2.68629 24 0 21.3137 0 18V6Z",
78
- fill: "#FFC716"
79
- }), /*#__PURE__*/_react.default.createElement("g", {
80
- clipPath: "url(#clip0_2912_2)"
81
- }, /*#__PURE__*/_react.default.createElement("path", {
82
- fillRule: "evenodd",
83
- clipRule: "evenodd",
84
- d: "M8.50003 11.5354C10.0832 11.338 11.338 10.0832 11.5355 8.5H13.75V6.75H11.3081C10.7889 5.46732 9.53138 4.5625 8.06253 4.5625C6.12953 4.5625 4.56253 6.1295 4.56253 8.0625C4.56253 9.53135 5.46735 10.7889 6.75003 11.3081L6.75003 13.75H8.50003V11.5354ZM8.06253 9.375C8.7874 9.375 9.37503 8.78737 9.37503 8.0625C9.37503 7.33763 8.7874 6.75 8.06253 6.75C7.33766 6.75 6.75003 7.33763 6.75003 8.0625C6.75003 8.78737 7.33766 9.375 8.06253 9.375Z",
85
- fill: "#101214"
86
- }), /*#__PURE__*/_react.default.createElement("path", {
87
- d: "M19 7.625C19 8.83312 18.0207 9.8125 16.8125 9.8125C15.6044 9.8125 14.625 8.83312 14.625 7.625C14.625 6.41688 15.6044 5.4375 16.8125 5.4375C18.0207 5.4375 19 6.41688 19 7.625Z",
88
- fill: "#101214"
89
- }), /*#__PURE__*/_react.default.createElement("path", {
90
- d: "M7.62503 19C8.83315 19 9.81253 18.0206 9.81253 16.8125C9.81253 15.6044 8.83315 14.625 7.62503 14.625C6.41691 14.625 5.43753 15.6044 5.43753 16.8125C5.43753 18.0206 6.41691 19 7.62503 19Z",
91
- fill: "#101214"
92
- }), /*#__PURE__*/_react.default.createElement("path", {
93
- d: "M16.8125 19C18.0207 19 19 18.0206 19 16.8125C19 15.6044 18.0207 14.625 16.8125 14.625C15.6044 14.625 14.625 15.6044 14.625 16.8125C14.625 18.0206 15.6044 19 16.8125 19Z",
94
- fill: "#101214"
95
- }), /*#__PURE__*/_react.default.createElement("path", {
96
- d: "M13.75 15.9375H10.6875V17.6875H13.75V15.9375Z",
97
- fill: "#101214"
98
- }), /*#__PURE__*/_react.default.createElement("path", {
99
- d: "M15.9375 10.6875V13.75H17.6875V10.6875H15.9375Z",
100
- fill: "#101214"
101
- })), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
102
- id: "clip0_2912_2"
103
- }, /*#__PURE__*/_react.default.createElement("rect", {
104
- width: "21",
105
- height: "21",
106
- fill: "#101214",
107
- transform: "translate(1.5 1.5)"
108
- })))))
109
- );
110
60
  };
@@ -5,6 +5,7 @@ import React from 'react';
5
5
  import { JiraServiceManagementIcon } from '@atlaskit/logo';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
+ import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
8
9
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
9
10
  const styles = {
10
11
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -34,7 +35,9 @@ export const PoweredByJSMAssets = props => {
34
35
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
35
36
  alignItems: 'center'
36
37
  }
37
- }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, null) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
38
+ }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, {
39
+ size: "24"
40
+ }) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
38
41
  size: "xsmall",
39
42
  appearance: "brand",
40
43
  label: props.text
@@ -46,57 +49,4 @@ export const PoweredByJSMAssets = props => {
46
49
  fontSize: 'small'
47
50
  }
48
51
  }, props.text)));
49
- };
50
-
51
- // TODO: JDW-5568 use the Assets Logo from @atlaskit/logo once available
52
- const AssetsIcon = () => {
53
- return (
54
- /*#__PURE__*/
55
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
56
- React.createElement("span", {
57
- style: {
58
- display: 'flex'
59
- },
60
- role: "img",
61
- "aria-label": "Assets icon"
62
- }, /*#__PURE__*/React.createElement("svg", {
63
- width: "24",
64
- height: "24",
65
- viewBox: "0 0 24 24",
66
- fill: "none",
67
- xmlns: "http://www.w3.org/2000/svg"
68
- }, /*#__PURE__*/React.createElement("path", {
69
- d: "M0 6C0 2.68629 2.68629 0 6 0H18C21.3137 0 24 2.68629 24 6V18C24 21.3137 21.3137 24 18 24H6C2.68629 24 0 21.3137 0 18V6Z",
70
- fill: "#FFC716"
71
- }), /*#__PURE__*/React.createElement("g", {
72
- clipPath: "url(#clip0_2912_2)"
73
- }, /*#__PURE__*/React.createElement("path", {
74
- fillRule: "evenodd",
75
- clipRule: "evenodd",
76
- d: "M8.50003 11.5354C10.0832 11.338 11.338 10.0832 11.5355 8.5H13.75V6.75H11.3081C10.7889 5.46732 9.53138 4.5625 8.06253 4.5625C6.12953 4.5625 4.56253 6.1295 4.56253 8.0625C4.56253 9.53135 5.46735 10.7889 6.75003 11.3081L6.75003 13.75H8.50003V11.5354ZM8.06253 9.375C8.7874 9.375 9.37503 8.78737 9.37503 8.0625C9.37503 7.33763 8.7874 6.75 8.06253 6.75C7.33766 6.75 6.75003 7.33763 6.75003 8.0625C6.75003 8.78737 7.33766 9.375 8.06253 9.375Z",
77
- fill: "#101214"
78
- }), /*#__PURE__*/React.createElement("path", {
79
- d: "M19 7.625C19 8.83312 18.0207 9.8125 16.8125 9.8125C15.6044 9.8125 14.625 8.83312 14.625 7.625C14.625 6.41688 15.6044 5.4375 16.8125 5.4375C18.0207 5.4375 19 6.41688 19 7.625Z",
80
- fill: "#101214"
81
- }), /*#__PURE__*/React.createElement("path", {
82
- d: "M7.62503 19C8.83315 19 9.81253 18.0206 9.81253 16.8125C9.81253 15.6044 8.83315 14.625 7.62503 14.625C6.41691 14.625 5.43753 15.6044 5.43753 16.8125C5.43753 18.0206 6.41691 19 7.62503 19Z",
83
- fill: "#101214"
84
- }), /*#__PURE__*/React.createElement("path", {
85
- d: "M16.8125 19C18.0207 19 19 18.0206 19 16.8125C19 15.6044 18.0207 14.625 16.8125 14.625C15.6044 14.625 14.625 15.6044 14.625 16.8125C14.625 18.0206 15.6044 19 16.8125 19Z",
86
- fill: "#101214"
87
- }), /*#__PURE__*/React.createElement("path", {
88
- d: "M13.75 15.9375H10.6875V17.6875H13.75V15.9375Z",
89
- fill: "#101214"
90
- }), /*#__PURE__*/React.createElement("path", {
91
- d: "M15.9375 10.6875V13.75H17.6875V10.6875H15.9375Z",
92
- fill: "#101214"
93
- })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
94
- id: "clip0_2912_2"
95
- }, /*#__PURE__*/React.createElement("rect", {
96
- width: "21",
97
- height: "21",
98
- fill: "#101214",
99
- transform: "translate(1.5 1.5)"
100
- })))))
101
- );
102
52
  };
@@ -5,6 +5,7 @@ import React from 'react';
5
5
  import { JiraServiceManagementIcon } from '@atlaskit/logo';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
+ import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
8
9
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
9
10
  var styles = {
10
11
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -35,7 +36,9 @@ export var PoweredByJSMAssets = function PoweredByJSMAssets(props) {
35
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
36
37
  alignItems: 'center'
37
38
  }
38
- }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, null) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
39
+ }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, {
40
+ size: "24"
41
+ }) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
39
42
  size: "xsmall",
40
43
  appearance: "brand",
41
44
  label: props.text
@@ -47,57 +50,4 @@ export var PoweredByJSMAssets = function PoweredByJSMAssets(props) {
47
50
  fontSize: 'small'
48
51
  }
49
52
  }, props.text)));
50
- };
51
-
52
- // TODO: JDW-5568 use the Assets Logo from @atlaskit/logo once available
53
- var AssetsIcon = function AssetsIcon() {
54
- return (
55
- /*#__PURE__*/
56
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
57
- React.createElement("span", {
58
- style: {
59
- display: 'flex'
60
- },
61
- role: "img",
62
- "aria-label": "Assets icon"
63
- }, /*#__PURE__*/React.createElement("svg", {
64
- width: "24",
65
- height: "24",
66
- viewBox: "0 0 24 24",
67
- fill: "none",
68
- xmlns: "http://www.w3.org/2000/svg"
69
- }, /*#__PURE__*/React.createElement("path", {
70
- d: "M0 6C0 2.68629 2.68629 0 6 0H18C21.3137 0 24 2.68629 24 6V18C24 21.3137 21.3137 24 18 24H6C2.68629 24 0 21.3137 0 18V6Z",
71
- fill: "#FFC716"
72
- }), /*#__PURE__*/React.createElement("g", {
73
- clipPath: "url(#clip0_2912_2)"
74
- }, /*#__PURE__*/React.createElement("path", {
75
- fillRule: "evenodd",
76
- clipRule: "evenodd",
77
- d: "M8.50003 11.5354C10.0832 11.338 11.338 10.0832 11.5355 8.5H13.75V6.75H11.3081C10.7889 5.46732 9.53138 4.5625 8.06253 4.5625C6.12953 4.5625 4.56253 6.1295 4.56253 8.0625C4.56253 9.53135 5.46735 10.7889 6.75003 11.3081L6.75003 13.75H8.50003V11.5354ZM8.06253 9.375C8.7874 9.375 9.37503 8.78737 9.37503 8.0625C9.37503 7.33763 8.7874 6.75 8.06253 6.75C7.33766 6.75 6.75003 7.33763 6.75003 8.0625C6.75003 8.78737 7.33766 9.375 8.06253 9.375Z",
78
- fill: "#101214"
79
- }), /*#__PURE__*/React.createElement("path", {
80
- d: "M19 7.625C19 8.83312 18.0207 9.8125 16.8125 9.8125C15.6044 9.8125 14.625 8.83312 14.625 7.625C14.625 6.41688 15.6044 5.4375 16.8125 5.4375C18.0207 5.4375 19 6.41688 19 7.625Z",
81
- fill: "#101214"
82
- }), /*#__PURE__*/React.createElement("path", {
83
- d: "M7.62503 19C8.83315 19 9.81253 18.0206 9.81253 16.8125C9.81253 15.6044 8.83315 14.625 7.62503 14.625C6.41691 14.625 5.43753 15.6044 5.43753 16.8125C5.43753 18.0206 6.41691 19 7.62503 19Z",
84
- fill: "#101214"
85
- }), /*#__PURE__*/React.createElement("path", {
86
- d: "M16.8125 19C18.0207 19 19 18.0206 19 16.8125C19 15.6044 18.0207 14.625 16.8125 14.625C15.6044 14.625 14.625 15.6044 14.625 16.8125C14.625 18.0206 15.6044 19 16.8125 19Z",
87
- fill: "#101214"
88
- }), /*#__PURE__*/React.createElement("path", {
89
- d: "M13.75 15.9375H10.6875V17.6875H13.75V15.9375Z",
90
- fill: "#101214"
91
- }), /*#__PURE__*/React.createElement("path", {
92
- d: "M15.9375 10.6875V13.75H17.6875V10.6875H15.9375Z",
93
- fill: "#101214"
94
- })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
95
- id: "clip0_2912_2"
96
- }, /*#__PURE__*/React.createElement("rect", {
97
- width: "21",
98
- height: "21",
99
- fill: "#101214",
100
- transform: "translate(1.5 1.5)"
101
- })))))
102
- );
103
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "4.0.3",
3
+ "version": "4.1.1",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/badge": "^18.1.0",
46
46
  "@atlaskit/button": "^21.1.0",
47
47
  "@atlaskit/css": "^0.10.0",
48
- "@atlaskit/datetime-picker": "^16.1.0",
48
+ "@atlaskit/datetime-picker": "^16.2.0",
49
49
  "@atlaskit/dropdown-menu": "^13.0.0",
50
50
  "@atlaskit/editor-prosemirror": "7.0.0",
51
51
  "@atlaskit/empty-state": "^9.0.0",
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/inline-edit": "^15.1.0",
59
59
  "@atlaskit/intl-messages-provider": "^2.0.0",
60
60
  "@atlaskit/jql-ast": "^3.3.0",
61
- "@atlaskit/jql-editor": "^5.0.0",
61
+ "@atlaskit/jql-editor": "^5.1.0",
62
62
  "@atlaskit/jql-editor-autocomplete-rest": "^3.0.0",
63
63
  "@atlaskit/layering": "^2.0.0",
64
64
  "@atlaskit/link-client-extension": "^4.0.0",
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/linking-types": "^9.6.0",
67
67
  "@atlaskit/logo": "^16.0.0",
68
68
  "@atlaskit/lozenge": "^12.2.0",
69
- "@atlaskit/modal-dialog": "^13.2.0",
69
+ "@atlaskit/modal-dialog": "^13.4.0",
70
70
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",
71
71
  "@atlaskit/platform-feature-flags": "^1.1.0",
72
72
  "@atlaskit/popup": "^2.0.0",
@@ -81,6 +81,7 @@
81
81
  "@atlaskit/smart-user-picker": "^8.0.0",
82
82
  "@atlaskit/spinner": "^18.0.0",
83
83
  "@atlaskit/tag": "^14.0.0",
84
+ "@atlaskit/temp-nav-app-icons": "^0.5.0",
84
85
  "@atlaskit/textfield": "^8.0.0",
85
86
  "@atlaskit/theme": "^18.0.0",
86
87
  "@atlaskit/tokens": "^4.5.0",
@@ -88,7 +89,7 @@
88
89
  "@atlaskit/ufo": "^0.4.0",
89
90
  "@atlaskit/width-detector": "^5.0.0",
90
91
  "@babel/runtime": "^7.0.0",
91
- "@compiled/react": "^0.18.2",
92
+ "@compiled/react": "^0.18.3",
92
93
  "debounce-promise": "^3.1.2",
93
94
  "lodash": "^4.17.21",
94
95
  "react-sweet-state": "^2.6.5",