@atlaskit/primitives 11.1.0 → 11.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 +8 -0
- package/dist/cjs/components/anchor.js +1 -5
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/es2019/components/anchor.js +1 -5
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/esm/components/anchor.js +1 -5
- package/dist/esm/components/pressable.js +1 -1
- package/dist/types/components/anchor.d.ts +0 -4
- package/dist/types-ts4.5/components/anchor.d.ts +0 -4
- package/package.json +4 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 11.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#126649](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126649)
|
|
8
|
+
[`24092d9f293a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/24092d9f293a1) -
|
|
9
|
+
Removed development warnings from JSDoc comment for Anchor primitive.
|
|
10
|
+
|
|
3
11
|
## 11.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -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: "11.1.
|
|
108
|
+
packageVersion: "11.1.1",
|
|
109
109
|
analyticsData: analyticsContext,
|
|
110
110
|
actionSubject: 'link'
|
|
111
111
|
});
|
|
@@ -177,12 +177,8 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
177
177
|
/**
|
|
178
178
|
* __Anchor__
|
|
179
179
|
*
|
|
180
|
-
* @internal Still under development. Do not use.
|
|
181
|
-
*
|
|
182
180
|
* Anchor is a primitive for building custom anchor links. It's a wrapper around the HTML `<a>` element that provides a consistent API for handling client-side routing and Atlassian Design System styling.
|
|
183
181
|
*
|
|
184
|
-
* This component is mostly used by other design system components, such as the [link component](/components/link/usage).
|
|
185
|
-
*
|
|
186
182
|
* - [Examples](https://atlassian.design/components/primitives/anchor/examples)
|
|
187
183
|
* - [Code](https://atlassian.design/components/primitives/anchor/code)
|
|
188
184
|
* - [Usage](https://atlassian.design/components/primitives/anchor/usage)
|
|
@@ -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: "11.1.
|
|
98
|
+
packageVersion: "11.1.1",
|
|
99
99
|
analyticsData: analyticsContext,
|
|
100
100
|
actionSubject: 'button'
|
|
101
101
|
});
|
|
@@ -95,7 +95,7 @@ const AnchorNoRef = ({
|
|
|
95
95
|
action: 'clicked',
|
|
96
96
|
componentName: componentName || 'Anchor',
|
|
97
97
|
packageName: "@atlaskit/primitives",
|
|
98
|
-
packageVersion: "11.1.
|
|
98
|
+
packageVersion: "11.1.1",
|
|
99
99
|
analyticsData: analyticsContext,
|
|
100
100
|
actionSubject: 'link'
|
|
101
101
|
});
|
|
@@ -170,12 +170,8 @@ const AnchorNoRef = ({
|
|
|
170
170
|
/**
|
|
171
171
|
* __Anchor__
|
|
172
172
|
*
|
|
173
|
-
* @internal Still under development. Do not use.
|
|
174
|
-
*
|
|
175
173
|
* Anchor is a primitive for building custom anchor links. It's a wrapper around the HTML `<a>` element that provides a consistent API for handling client-side routing and Atlassian Design System styling.
|
|
176
174
|
*
|
|
177
|
-
* This component is mostly used by other design system components, such as the [link component](/components/link/usage).
|
|
178
|
-
*
|
|
179
175
|
* - [Examples](https://atlassian.design/components/primitives/anchor/examples)
|
|
180
176
|
* - [Code](https://atlassian.design/components/primitives/anchor/code)
|
|
181
177
|
* - [Usage](https://atlassian.design/components/primitives/anchor/usage)
|
|
@@ -85,7 +85,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
85
85
|
action: 'clicked',
|
|
86
86
|
componentName: componentName || 'Pressable',
|
|
87
87
|
packageName: "@atlaskit/primitives",
|
|
88
|
-
packageVersion: "11.1.
|
|
88
|
+
packageVersion: "11.1.1",
|
|
89
89
|
analyticsData: analyticsContext,
|
|
90
90
|
actionSubject: 'button'
|
|
91
91
|
});
|
|
@@ -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: "11.1.
|
|
102
|
+
packageVersion: "11.1.1",
|
|
103
103
|
analyticsData: analyticsContext,
|
|
104
104
|
actionSubject: 'link'
|
|
105
105
|
});
|
|
@@ -171,12 +171,8 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
171
171
|
/**
|
|
172
172
|
* __Anchor__
|
|
173
173
|
*
|
|
174
|
-
* @internal Still under development. Do not use.
|
|
175
|
-
*
|
|
176
174
|
* Anchor is a primitive for building custom anchor links. It's a wrapper around the HTML `<a>` element that provides a consistent API for handling client-side routing and Atlassian Design System styling.
|
|
177
175
|
*
|
|
178
|
-
* This component is mostly used by other design system components, such as the [link component](/components/link/usage).
|
|
179
|
-
*
|
|
180
176
|
* - [Examples](https://atlassian.design/components/primitives/anchor/examples)
|
|
181
177
|
* - [Code](https://atlassian.design/components/primitives/anchor/code)
|
|
182
178
|
* - [Usage](https://atlassian.design/components/primitives/anchor/usage)
|
|
@@ -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: "11.1.
|
|
92
|
+
packageVersion: "11.1.1",
|
|
93
93
|
analyticsData: analyticsContext,
|
|
94
94
|
actionSubject: 'button'
|
|
95
95
|
});
|
|
@@ -93,12 +93,8 @@ declare const AnchorNoRef: <RouterLinkConfig extends Record<string, any> = never
|
|
|
93
93
|
/**
|
|
94
94
|
* __Anchor__
|
|
95
95
|
*
|
|
96
|
-
* @internal Still under development. Do not use.
|
|
97
|
-
*
|
|
98
96
|
* Anchor is a primitive for building custom anchor links. It's a wrapper around the HTML `<a>` element that provides a consistent API for handling client-side routing and Atlassian Design System styling.
|
|
99
97
|
*
|
|
100
|
-
* This component is mostly used by other design system components, such as the [link component](/components/link/usage).
|
|
101
|
-
*
|
|
102
98
|
* - [Examples](https://atlassian.design/components/primitives/anchor/examples)
|
|
103
99
|
* - [Code](https://atlassian.design/components/primitives/anchor/code)
|
|
104
100
|
* - [Usage](https://atlassian.design/components/primitives/anchor/usage)
|
|
@@ -93,12 +93,8 @@ declare const AnchorNoRef: <RouterLinkConfig extends Record<string, any> = never
|
|
|
93
93
|
/**
|
|
94
94
|
* __Anchor__
|
|
95
95
|
*
|
|
96
|
-
* @internal Still under development. Do not use.
|
|
97
|
-
*
|
|
98
96
|
* Anchor is a primitive for building custom anchor links. It's a wrapper around the HTML `<a>` element that provides a consistent API for handling client-side routing and Atlassian Design System styling.
|
|
99
97
|
*
|
|
100
|
-
* This component is mostly used by other design system components, such as the [link component](/components/link/usage).
|
|
101
|
-
*
|
|
102
98
|
* - [Examples](https://atlassian.design/components/primitives/anchor/examples)
|
|
103
99
|
* - [Code](https://atlassian.design/components/primitives/anchor/code)
|
|
104
100
|
* - [Usage](https://atlassian.design/components/primitives/anchor/usage)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -101,19 +101,13 @@
|
|
|
101
101
|
"title": "Pressable",
|
|
102
102
|
"folder": "pressable",
|
|
103
103
|
"slug": "primitives/pressable",
|
|
104
|
-
"id": "@atlaskit/primitives/pressable"
|
|
105
|
-
"status": {
|
|
106
|
-
"type": "beta"
|
|
107
|
-
}
|
|
104
|
+
"id": "@atlaskit/primitives/pressable"
|
|
108
105
|
},
|
|
109
106
|
{
|
|
110
107
|
"title": "Anchor",
|
|
111
108
|
"folder": "anchor",
|
|
112
109
|
"slug": "primitives/anchor",
|
|
113
|
-
"id": "@atlaskit/primitives/anchor"
|
|
114
|
-
"status": {
|
|
115
|
-
"type": "beta"
|
|
116
|
-
}
|
|
110
|
+
"id": "@atlaskit/primitives/anchor"
|
|
117
111
|
}
|
|
118
112
|
]
|
|
119
113
|
},
|
|
@@ -128,7 +122,7 @@
|
|
|
128
122
|
"@atlaskit/css": "^0.3.0",
|
|
129
123
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
130
124
|
"@atlaskit/interaction-context": "^2.1.0",
|
|
131
|
-
"@atlaskit/tokens": "^1.
|
|
125
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
132
126
|
"@atlaskit/visually-hidden": "^1.4.0",
|
|
133
127
|
"@babel/runtime": "^7.0.0",
|
|
134
128
|
"@emotion/react": "^11.7.1",
|