@atlaskit/primitives 14.15.2 → 14.15.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
+ ## 14.15.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
3
11
  ## 14.15.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: "0.0.0-development",
73
+ packageVersion: "14.15.2",
74
74
  analyticsData: analyticsContext,
75
75
  actionSubject: 'link'
76
76
  });
@@ -61,7 +61,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
61
61
  action: 'clicked',
62
62
  componentName: componentName || 'Pressable',
63
63
  packageName: "@atlaskit/primitives",
64
- packageVersion: "0.0.0-development",
64
+ packageVersion: "14.15.2",
65
65
  analyticsData: analyticsContext,
66
66
  actionSubject: 'button'
67
67
  });
@@ -105,7 +105,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
105
105
  action: 'clicked',
106
106
  componentName: componentName || 'Anchor',
107
107
  packageName: "@atlaskit/primitives",
108
- packageVersion: "0.0.0-development",
108
+ packageVersion: "14.15.2",
109
109
  analyticsData: analyticsContext,
110
110
  actionSubject: 'link'
111
111
  });
@@ -97,7 +97,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
97
97
  action: 'clicked',
98
98
  componentName: componentName || 'Pressable',
99
99
  packageName: "@atlaskit/primitives",
100
- packageVersion: "0.0.0-development",
100
+ packageVersion: "14.15.2",
101
101
  analyticsData: analyticsContext,
102
102
  actionSubject: 'button'
103
103
  });
@@ -56,7 +56,7 @@ const AnchorNoRef = ({
56
56
  action: 'clicked',
57
57
  componentName: componentName || 'Anchor',
58
58
  packageName: "@atlaskit/primitives",
59
- packageVersion: "0.0.0-development",
59
+ packageVersion: "14.15.2",
60
60
  analyticsData: analyticsContext,
61
61
  actionSubject: 'link'
62
62
  });
@@ -48,7 +48,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
48
48
  action: 'clicked',
49
49
  componentName: componentName || 'Pressable',
50
50
  packageName: "@atlaskit/primitives",
51
- packageVersion: "0.0.0-development",
51
+ packageVersion: "14.15.2",
52
52
  analyticsData: analyticsContext,
53
53
  actionSubject: 'button'
54
54
  });
@@ -94,7 +94,7 @@ const AnchorNoRef = ({
94
94
  action: 'clicked',
95
95
  componentName: componentName || 'Anchor',
96
96
  packageName: "@atlaskit/primitives",
97
- packageVersion: "0.0.0-development",
97
+ packageVersion: "14.15.2",
98
98
  analyticsData: analyticsContext,
99
99
  actionSubject: 'link'
100
100
  });
@@ -86,7 +86,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
86
86
  action: 'clicked',
87
87
  componentName: componentName || 'Pressable',
88
88
  packageName: "@atlaskit/primitives",
89
- packageVersion: "0.0.0-development",
89
+ packageVersion: "14.15.2",
90
90
  analyticsData: analyticsContext,
91
91
  actionSubject: 'button'
92
92
  });
@@ -61,7 +61,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
61
61
  action: 'clicked',
62
62
  componentName: componentName || 'Anchor',
63
63
  packageName: "@atlaskit/primitives",
64
- packageVersion: "0.0.0-development",
64
+ packageVersion: "14.15.2",
65
65
  analyticsData: analyticsContext,
66
66
  actionSubject: 'link'
67
67
  });
@@ -52,7 +52,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
52
52
  action: 'clicked',
53
53
  componentName: componentName || 'Pressable',
54
54
  packageName: "@atlaskit/primitives",
55
- packageVersion: "0.0.0-development",
55
+ packageVersion: "14.15.2",
56
56
  analyticsData: analyticsContext,
57
57
  actionSubject: 'button'
58
58
  });
@@ -99,7 +99,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
99
99
  action: 'clicked',
100
100
  componentName: componentName || 'Anchor',
101
101
  packageName: "@atlaskit/primitives",
102
- packageVersion: "0.0.0-development",
102
+ packageVersion: "14.15.2",
103
103
  analyticsData: analyticsContext,
104
104
  actionSubject: 'link'
105
105
  });
@@ -91,7 +91,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
91
91
  action: 'clicked',
92
92
  componentName: componentName || 'Pressable',
93
93
  packageName: "@atlaskit/primitives",
94
- packageVersion: "0.0.0-development",
94
+ packageVersion: "14.15.2",
95
95
  analyticsData: analyticsContext,
96
96
  actionSubject: 'button'
97
97
  });
@@ -42,5 +42,5 @@ export type MetricTextProps<T extends ElementType = 'span'> = MetricTextPropsBas
42
42
  *
43
43
  * @internal
44
44
  */
45
- declare const MetricText: import("react").ForwardRefExoticComponent<Omit<MetricTextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
45
+ declare const MetricText: React.ForwardRefExoticComponent<React.PropsWithoutRef<MetricTextProps<ElementType>> & React.RefAttributes<any>>;
46
46
  export default MetricText;
@@ -45,5 +45,5 @@ export type PressableProps = Omit<ComponentPropsWithoutRef<'button'>, 'disabled'
45
45
  * - [Code](https://atlassian.design/components/primitives/pressable/code)
46
46
  * - [Usage](https://atlassian.design/components/primitives/pressable/usage)
47
47
  */
48
- declare const Pressable: import("react").ForwardRefExoticComponent<Omit<PressableProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
48
+ declare const Pressable: React.ForwardRefExoticComponent<React.PropsWithoutRef<PressableProps> & React.RefAttributes<HTMLButtonElement>>;
49
49
  export default Pressable;
@@ -92,5 +92,5 @@ export declare const inverseColorMap: {
92
92
  *
93
93
  * @internal
94
94
  */
95
- declare const Text: import("react").ForwardRefExoticComponent<Omit<TextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
95
+ declare const Text: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextProps<ElementType>> & React.RefAttributes<any>>;
96
96
  export default Text;
@@ -49,5 +49,5 @@ declare const textAlignMap: {
49
49
  *
50
50
  * @internal
51
51
  */
52
- declare const MetricText: import("react").ForwardRefExoticComponent<Omit<MetricTextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
52
+ declare const MetricText: React.ForwardRefExoticComponent<React.PropsWithoutRef<MetricTextProps<ElementType>> & React.RefAttributes<any>>;
53
53
  export default MetricText;
@@ -88,5 +88,5 @@ export type PressableProps = Omit<ComponentPropsWithoutRef<'button'>, 'disabled'
88
88
  * - [Code](https://atlassian.design/components/primitives/pressable/code)
89
89
  * - [Usage](https://atlassian.design/components/primitives/pressable/usage)
90
90
  */
91
- declare const Pressable: import("react").ForwardRefExoticComponent<Omit<PressableProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
91
+ declare const Pressable: React.ForwardRefExoticComponent<React.PropsWithoutRef<PressableProps> & React.RefAttributes<HTMLButtonElement>>;
92
92
  export default Pressable;
@@ -65,5 +65,5 @@ declare const textAlignMap: {
65
65
  *
66
66
  * @internal
67
67
  */
68
- declare const Text: import("react").ForwardRefExoticComponent<Omit<TextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
68
+ declare const Text: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextProps<ElementType>> & React.RefAttributes<any>>;
69
69
  export default Text;
@@ -45,5 +45,5 @@ export type MetricTextProps<T extends ElementType = 'span'> = MetricTextPropsBas
45
45
  *
46
46
  * @internal
47
47
  */
48
- declare const MetricText: import("react").ForwardRefExoticComponent<Omit<MetricTextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
48
+ declare const MetricText: React.ForwardRefExoticComponent<React.PropsWithoutRef<MetricTextProps<ElementType>> & React.RefAttributes<any>>;
49
49
  export default MetricText;
@@ -45,5 +45,5 @@ export type PressableProps = Omit<ComponentPropsWithoutRef<'button'>, 'disabled'
45
45
  * - [Code](https://atlassian.design/components/primitives/pressable/code)
46
46
  * - [Usage](https://atlassian.design/components/primitives/pressable/usage)
47
47
  */
48
- declare const Pressable: import("react").ForwardRefExoticComponent<Omit<PressableProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
48
+ declare const Pressable: React.ForwardRefExoticComponent<React.PropsWithoutRef<PressableProps> & React.RefAttributes<HTMLButtonElement>>;
49
49
  export default Pressable;
@@ -97,5 +97,5 @@ export declare const inverseColorMap: {
97
97
  *
98
98
  * @internal
99
99
  */
100
- declare const Text: import("react").ForwardRefExoticComponent<Omit<TextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
100
+ declare const Text: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextProps<ElementType>> & React.RefAttributes<any>>;
101
101
  export default Text;
@@ -52,5 +52,5 @@ declare const textAlignMap: {
52
52
  *
53
53
  * @internal
54
54
  */
55
- declare const MetricText: import("react").ForwardRefExoticComponent<Omit<MetricTextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
55
+ declare const MetricText: React.ForwardRefExoticComponent<React.PropsWithoutRef<MetricTextProps<ElementType>> & React.RefAttributes<any>>;
56
56
  export default MetricText;
@@ -88,5 +88,5 @@ export type PressableProps = Omit<ComponentPropsWithoutRef<'button'>, 'disabled'
88
88
  * - [Code](https://atlassian.design/components/primitives/pressable/code)
89
89
  * - [Usage](https://atlassian.design/components/primitives/pressable/usage)
90
90
  */
91
- declare const Pressable: import("react").ForwardRefExoticComponent<Omit<PressableProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
91
+ declare const Pressable: React.ForwardRefExoticComponent<React.PropsWithoutRef<PressableProps> & React.RefAttributes<HTMLButtonElement>>;
92
92
  export default Pressable;
@@ -70,5 +70,5 @@ declare const textAlignMap: {
70
70
  *
71
71
  * @internal
72
72
  */
73
- declare const Text: import("react").ForwardRefExoticComponent<Omit<TextProps<ElementType>, "ref"> & import("react").RefAttributes<any>>;
73
+ declare const Text: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextProps<ElementType>> & React.RefAttributes<any>>;
74
74
  export default Text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "14.15.2",
3
+ "version": "14.15.3",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -138,7 +138,7 @@
138
138
  "@atlaskit/ds-lib": "^5.1.0",
139
139
  "@atlaskit/interaction-context": "^3.1.0",
140
140
  "@atlaskit/platform-feature-flags": "^1.1.0",
141
- "@atlaskit/tokens": "^6.3.0",
141
+ "@atlaskit/tokens": "^6.4.0",
142
142
  "@atlaskit/visually-hidden": "^3.0.0",
143
143
  "@babel/runtime": "^7.0.0",
144
144
  "@compiled/react": "^0.18.3",
@@ -162,7 +162,7 @@
162
162
  "@atlaskit/docs": "^11.1.0",
163
163
  "@atlaskit/dropdown-menu": "^16.3.0",
164
164
  "@atlaskit/flag": "^17.4.0",
165
- "@atlaskit/form": "^14.1.0",
165
+ "@atlaskit/form": "^14.2.0",
166
166
  "@atlaskit/heading": "^5.2.0",
167
167
  "@atlaskit/icon": "^28.3.0",
168
168
  "@atlaskit/icon-object": "^7.2.0",
@@ -175,7 +175,7 @@
175
175
  "@atlaskit/section-message": "^8.7.0",
176
176
  "@atlaskit/textfield": "^8.0.0",
177
177
  "@atlaskit/toggle": "^15.1.0",
178
- "@atlaskit/tooltip": "^20.4.0",
178
+ "@atlaskit/tooltip": "^20.5.0",
179
179
  "@atlassian/analytics-bridge": "^0.7.0",
180
180
  "@atlassian/codegen": "^0.1.0",
181
181
  "@atlassian/feature-flags-test-utils": "^0.3.0",