@atlaskit/primitives 13.3.2 → 13.3.3

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,13 @@
1
1
  # @atlaskit/primitives
2
2
 
3
+ ## 13.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
8
+ [`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
9
+ Internal changes to typography.
10
+
3
11
  ## 13.3.2
4
12
 
5
13
  ### Patch Changes
@@ -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: "13.3.2",
73
+ packageVersion: "13.3.3",
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: "13.3.2",
63
+ packageVersion: "13.3.3",
64
64
  analyticsData: analyticsContext,
65
65
  actionSubject: 'button'
66
66
  });
@@ -12,7 +12,6 @@
12
12
  ._2hwxidpf{margin-right:0}
13
13
  ._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
14
14
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
15
- ._k48p8n31{font-weight:bold}
16
15
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
17
16
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
18
17
  ._otyridpf{margin-bottom:0}
@@ -41,7 +41,7 @@ var useColor = function useColor(colorProp, hasTextAncestor) {
41
41
  };
42
42
  var styles = {
43
43
  root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
44
- 'as.strong': "_k48p8n31",
44
+ 'as.strong': "_k48pmoej",
45
45
  'as.em': "_zg8l1m30",
46
46
  'textAlign.center': "_y3gn1h6o",
47
47
  'textAlign.end': "_y3gnh9n0",
@@ -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: "13.3.2",
103
+ packageVersion: "13.3.3",
104
104
  analyticsData: analyticsContext,
105
105
  actionSubject: 'link'
106
106
  });
@@ -168,10 +168,9 @@ var Grid = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef)(fu
168
168
  * NOTE: If we disallow `grid-template-areas` (etc) to be set via `props.xcss`, we can remove this.
169
169
  */
170
170
  var style = (0, _react.useMemo)(function () {
171
- var _ref2;
172
- return _ref2 = {}, (0, _defineProperty2.default)(_ref2, gridTemplateAreasVar, gridTemplateAreas ? gridTemplateAreas.map(function (str) {
171
+ return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, gridTemplateAreasVar, gridTemplateAreas ? gridTemplateAreas.map(function (str) {
173
172
  return "\"".concat(str, "\"");
174
- }).join('\n') || 'initial' : 'initial'), (0, _defineProperty2.default)(_ref2, gridTemplateColumnsVar, gridTemplateColumns || 'initial'), (0, _defineProperty2.default)(_ref2, gridTemplateRowsVar, gridTemplateRows || 'initial'), _ref2;
173
+ }).join('\n') || 'initial' : 'initial'), gridTemplateColumnsVar, gridTemplateColumns || 'initial'), gridTemplateRowsVar, gridTemplateRows || 'initial');
175
174
  }, [gridTemplateAreas, gridTemplateColumns, gridTemplateRows]);
176
175
  return (0, _react2.jsx)(Component, {
177
176
  id: id,
@@ -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: "13.3.2",
98
+ packageVersion: "13.3.3",
99
99
  analyticsData: analyticsContext,
100
100
  actionSubject: 'button'
101
101
  });
@@ -55,7 +55,7 @@ const AnchorNoRef = ({
55
55
  action: 'clicked',
56
56
  componentName: componentName || 'Anchor',
57
57
  packageName: "@atlaskit/primitives",
58
- packageVersion: "13.3.2",
58
+ packageVersion: "13.3.3",
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: "13.3.2",
49
+ packageVersion: "13.3.3",
50
50
  analyticsData: analyticsContext,
51
51
  actionSubject: 'button'
52
52
  });
@@ -12,7 +12,6 @@
12
12
  ._2hwxidpf{margin-right:0}
13
13
  ._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
14
14
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
15
- ._k48p8n31{font-weight:bold}
16
15
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
17
16
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
18
17
  ._otyridpf{margin-bottom:0}
@@ -31,7 +31,7 @@ const useColor = (colorProp, hasTextAncestor) => {
31
31
  };
32
32
  const styles = {
33
33
  root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
34
- 'as.strong': "_k48p8n31",
34
+ 'as.strong': "_k48pmoej",
35
35
  'as.em': "_zg8l1m30",
36
36
  'textAlign.center': "_y3gn1h6o",
37
37
  'textAlign.end': "_y3gnh9n0",
@@ -90,7 +90,7 @@ const AnchorNoRef = ({
90
90
  action: 'clicked',
91
91
  componentName: componentName || 'Anchor',
92
92
  packageName: "@atlaskit/primitives",
93
- packageVersion: "13.3.2",
93
+ packageVersion: "13.3.3",
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: "13.3.2",
88
+ packageVersion: "13.3.3",
89
89
  analyticsData: analyticsContext,
90
90
  actionSubject: 'button'
91
91
  });
@@ -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: "13.3.2",
63
+ packageVersion: "13.3.3",
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: "13.3.2",
53
+ packageVersion: "13.3.3",
54
54
  analyticsData: analyticsContext,
55
55
  actionSubject: 'button'
56
56
  });
@@ -12,7 +12,6 @@
12
12
  ._2hwxidpf{margin-right:0}
13
13
  ._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
14
14
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
15
- ._k48p8n31{font-weight:bold}
16
15
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
17
16
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
18
17
  ._otyridpf{margin-bottom:0}
@@ -31,7 +31,7 @@ var useColor = function useColor(colorProp, hasTextAncestor) {
31
31
  };
32
32
  var styles = {
33
33
  root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
34
- 'as.strong': "_k48p8n31",
34
+ 'as.strong': "_k48pmoej",
35
35
  'as.em': "_zg8l1m30",
36
36
  'textAlign.center': "_y3gn1h6o",
37
37
  'textAlign.end': "_y3gnh9n0",
@@ -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: "13.3.2",
97
+ packageVersion: "13.3.3",
98
98
  analyticsData: analyticsContext,
99
99
  actionSubject: 'link'
100
100
  });
@@ -160,10 +160,9 @@ var Grid = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref, ref) {
160
160
  * NOTE: If we disallow `grid-template-areas` (etc) to be set via `props.xcss`, we can remove this.
161
161
  */
162
162
  var style = useMemo(function () {
163
- var _ref2;
164
- return _ref2 = {}, _defineProperty(_ref2, gridTemplateAreasVar, gridTemplateAreas ? gridTemplateAreas.map(function (str) {
163
+ return _defineProperty(_defineProperty(_defineProperty({}, gridTemplateAreasVar, gridTemplateAreas ? gridTemplateAreas.map(function (str) {
165
164
  return "\"".concat(str, "\"");
166
- }).join('\n') || 'initial' : 'initial'), _defineProperty(_ref2, gridTemplateColumnsVar, gridTemplateColumns || 'initial'), _defineProperty(_ref2, gridTemplateRowsVar, gridTemplateRows || 'initial'), _ref2;
165
+ }).join('\n') || 'initial' : 'initial'), gridTemplateColumnsVar, gridTemplateColumns || 'initial'), gridTemplateRowsVar, gridTemplateRows || 'initial');
167
166
  }, [gridTemplateAreas, gridTemplateColumns, gridTemplateRows]);
168
167
  return jsx(Component, {
169
168
  id: id,
@@ -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: "13.3.2",
92
+ packageVersion: "13.3.3",
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": "13.3.2",
3
+ "version": "13.3.3",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -124,11 +124,11 @@
124
124
  "codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx"
125
125
  },
126
126
  "dependencies": {
127
- "@atlaskit/analytics-next": "^10.1.0",
127
+ "@atlaskit/analytics-next": "^10.2.0",
128
128
  "@atlaskit/app-provider": "^1.4.0",
129
129
  "@atlaskit/css": "^0.7.0",
130
130
  "@atlaskit/ds-lib": "^3.3.0",
131
- "@atlaskit/interaction-context": "^2.1.0",
131
+ "@atlaskit/interaction-context": "^2.2.0",
132
132
  "@atlaskit/platform-feature-flags": "^0.3.0",
133
133
  "@atlaskit/tokens": "^2.4.0",
134
134
  "@atlaskit/visually-hidden": "^1.5.0",
@@ -149,7 +149,7 @@
149
149
  "@af/visual-regression": "*",
150
150
  "@atlaskit/ssr": "*",
151
151
  "@atlaskit/toggle": "^13.4.0",
152
- "@atlaskit/tooltip": "^18.9.0",
152
+ "@atlaskit/tooltip": "^19.0.0",
153
153
  "@atlaskit/visual-regression": "*",
154
154
  "@atlassian/codegen": "^0.1.0",
155
155
  "@testing-library/react": "^12.1.5",