@atlaskit/primitives 14.2.3 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/primitives
2
2
 
3
+ ## 14.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#135655](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/135655)
8
+ [`71f8afb32ade5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/71f8afb32ade5) -
9
+ Anchor will no longer render as a RouterLink for urls that use the blob: protocol.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 14.2.3
4
16
 
5
17
  ### Patch Changes
@@ -31,7 +31,7 @@ var styles = {
31
31
  root: "_4bfu1r31 _1hms8stv _ajmmnqa1 _vchhusvi"
32
32
  };
33
33
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
34
- var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
34
+ var IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
35
35
 
36
36
  /**
37
37
  * __Anchor__
@@ -70,7 +70,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
70
70
  action: 'clicked',
71
71
  componentName: componentName || 'Anchor',
72
72
  packageName: "@atlaskit/primitives",
73
- packageVersion: "14.2.3",
73
+ packageVersion: "14.3.0",
74
74
  analyticsData: analyticsContext,
75
75
  actionSubject: 'link'
76
76
  });
@@ -60,7 +60,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
60
60
  action: 'clicked',
61
61
  componentName: componentName || 'Pressable',
62
62
  packageName: "@atlaskit/primitives",
63
- packageVersion: "14.2.3",
63
+ packageVersion: "14.3.0",
64
64
  analyticsData: analyticsContext,
65
65
  actionSubject: 'button'
66
66
  });
@@ -52,7 +52,7 @@ var baseStyles = (0, _react2.css)({
52
52
  textDecoration: 'underline'
53
53
  });
54
54
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
55
- var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
55
+ var IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
56
56
  // Comma is added here to add a slight pause between announcing the anchor label and "opens in new window"
57
57
  var OPENS_NEW_WINDOW_LABEL = '(opens new window)';
58
58
 
@@ -100,7 +100,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
100
100
  action: 'clicked',
101
101
  componentName: componentName || 'Anchor',
102
102
  packageName: "@atlaskit/primitives",
103
- packageVersion: "14.2.3",
103
+ packageVersion: "14.3.0",
104
104
  analyticsData: analyticsContext,
105
105
  actionSubject: 'link'
106
106
  });
@@ -95,7 +95,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
95
95
  action: 'clicked',
96
96
  componentName: componentName || 'Pressable',
97
97
  packageName: "@atlaskit/primitives",
98
- packageVersion: "14.2.3",
98
+ packageVersion: "14.3.0",
99
99
  analyticsData: analyticsContext,
100
100
  actionSubject: 'button'
101
101
  });
@@ -17,7 +17,7 @@ const styles = {
17
17
  root: "_4bfu1r31 _1hms8stv _ajmmnqa1 _vchhusvi"
18
18
  };
19
19
  const IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
20
- const IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
20
+ const IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
21
21
 
22
22
  /**
23
23
  * __Anchor__
@@ -55,7 +55,7 @@ const AnchorNoRef = ({
55
55
  action: 'clicked',
56
56
  componentName: componentName || 'Anchor',
57
57
  packageName: "@atlaskit/primitives",
58
- packageVersion: "14.2.3",
58
+ packageVersion: "14.3.0",
59
59
  analyticsData: analyticsContext,
60
60
  actionSubject: 'link'
61
61
  });
@@ -46,7 +46,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
46
46
  action: 'clicked',
47
47
  componentName: componentName || 'Pressable',
48
48
  packageName: "@atlaskit/primitives",
49
- packageVersion: "14.2.3",
49
+ packageVersion: "14.3.0",
50
50
  analyticsData: analyticsContext,
51
51
  actionSubject: 'button'
52
52
  });
@@ -42,7 +42,7 @@ const baseStyles = css({
42
42
  textDecoration: 'underline'
43
43
  });
44
44
  const IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
45
- const IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
45
+ const IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
46
46
  // Comma is added here to add a slight pause between announcing the anchor label and "opens in new window"
47
47
  const OPENS_NEW_WINDOW_LABEL = '(opens new window)';
48
48
 
@@ -90,7 +90,7 @@ const AnchorNoRef = ({
90
90
  action: 'clicked',
91
91
  componentName: componentName || 'Anchor',
92
92
  packageName: "@atlaskit/primitives",
93
- packageVersion: "14.2.3",
93
+ packageVersion: "14.3.0",
94
94
  analyticsData: analyticsContext,
95
95
  actionSubject: 'link'
96
96
  });
@@ -85,7 +85,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
85
85
  action: 'clicked',
86
86
  componentName: componentName || 'Pressable',
87
87
  packageName: "@atlaskit/primitives",
88
- packageVersion: "14.2.3",
88
+ packageVersion: "14.3.0",
89
89
  analyticsData: analyticsContext,
90
90
  actionSubject: 'button'
91
91
  });
@@ -21,7 +21,7 @@ var styles = {
21
21
  root: "_4bfu1r31 _1hms8stv _ajmmnqa1 _vchhusvi"
22
22
  };
23
23
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
24
- var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
24
+ var IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
25
25
 
26
26
  /**
27
27
  * __Anchor__
@@ -60,7 +60,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
60
60
  action: 'clicked',
61
61
  componentName: componentName || 'Anchor',
62
62
  packageName: "@atlaskit/primitives",
63
- packageVersion: "14.2.3",
63
+ packageVersion: "14.3.0",
64
64
  analyticsData: analyticsContext,
65
65
  actionSubject: 'link'
66
66
  });
@@ -50,7 +50,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
50
50
  action: 'clicked',
51
51
  componentName: componentName || 'Pressable',
52
52
  packageName: "@atlaskit/primitives",
53
- packageVersion: "14.2.3",
53
+ packageVersion: "14.3.0",
54
54
  analyticsData: analyticsContext,
55
55
  actionSubject: 'button'
56
56
  });
@@ -46,7 +46,7 @@ var baseStyles = css({
46
46
  textDecoration: 'underline'
47
47
  });
48
48
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
49
- var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
49
+ var IS_NON_HTTP_BASED = /^(((mailto|tel|sms|blob):)|(#))/;
50
50
  // Comma is added here to add a slight pause between announcing the anchor label and "opens in new window"
51
51
  var OPENS_NEW_WINDOW_LABEL = '(opens new window)';
52
52
 
@@ -94,7 +94,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
94
94
  action: 'clicked',
95
95
  componentName: componentName || 'Anchor',
96
96
  packageName: "@atlaskit/primitives",
97
- packageVersion: "14.2.3",
97
+ packageVersion: "14.3.0",
98
98
  analyticsData: analyticsContext,
99
99
  actionSubject: 'link'
100
100
  });
@@ -89,7 +89,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
89
89
  action: 'clicked',
90
90
  componentName: componentName || 'Pressable',
91
91
  packageName: "@atlaskit/primitives",
92
- packageVersion: "14.2.3",
92
+ packageVersion: "14.3.0",
93
93
  analyticsData: analyticsContext,
94
94
  actionSubject: 'button'
95
95
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "14.2.3",
3
+ "version": "14.3.0",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -125,12 +125,12 @@
125
125
  },
126
126
  "dependencies": {
127
127
  "@atlaskit/analytics-next": "^11.0.0",
128
- "@atlaskit/app-provider": "^2.0.0",
128
+ "@atlaskit/app-provider": "^2.1.0",
129
129
  "@atlaskit/css": "^0.10.0",
130
130
  "@atlaskit/ds-lib": "^4.0.0",
131
131
  "@atlaskit/interaction-context": "^3.0.0",
132
132
  "@atlaskit/platform-feature-flags": "^1.1.0",
133
- "@atlaskit/tokens": "^4.5.0",
133
+ "@atlaskit/tokens": "^4.6.0",
134
134
  "@atlaskit/visually-hidden": "^3.0.0",
135
135
  "@babel/runtime": "^7.0.0",
136
136
  "@compiled/react": "^0.18.3",
@@ -148,15 +148,15 @@
148
148
  "@af/integration-testing": "^0.5.0",
149
149
  "@af/visual-regression": "^1.3.0",
150
150
  "@atlaskit/avatar": "^25.0.0",
151
- "@atlaskit/button": "^22.0.0",
151
+ "@atlaskit/button": "^23.0.0",
152
152
  "@atlaskit/checkbox": "^17.0.0",
153
- "@atlaskit/code": "^16.1.0",
153
+ "@atlaskit/code": "^16.2.0",
154
154
  "@atlaskit/docs": "^10.0.0",
155
- "@atlaskit/dropdown-menu": "^13.0.0",
155
+ "@atlaskit/dropdown-menu": "^14.0.0",
156
156
  "@atlaskit/flag": "^17.1.0",
157
157
  "@atlaskit/form": "^12.0.0",
158
158
  "@atlaskit/heading": "^5.1.0",
159
- "@atlaskit/icon": "^25.2.0",
159
+ "@atlaskit/icon": "^25.4.0",
160
160
  "@atlaskit/icon-object": "^7.0.0",
161
161
  "@atlaskit/image": "^3.0.0",
162
162
  "@atlaskit/link": "^3.1.0",