@atlaskit/button 22.0.5 → 23.0.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 +13 -1
- package/dist/cjs/new-button/variants/default/link.js +1 -2
- package/dist/cjs/new-button/variants/icon/link.js +1 -2
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/es2019/new-button/variants/default/link.js +0 -1
- package/dist/es2019/new-button/variants/icon/link.js +0 -1
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/esm/new-button/variants/default/link.js +1 -2
- package/dist/esm/new-button/variants/icon/link.js +1 -2
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/types/new-button/variants/default/link.d.ts +2 -5
- package/dist/types/new-button/variants/icon/link.d.ts +2 -5
- package/dist/types-ts4.5/new-button/variants/default/link.d.ts +2 -5
- package/dist/types-ts4.5/new-button/variants/icon/link.d.ts +2 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 23.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#134520](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134520)
|
|
8
|
+
[`f3c903c332453`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f3c903c332453) -
|
|
9
|
+
Remove unused xcss prop from LinkButton and LinkIconButton.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 22.0.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -38,7 +50,7 @@
|
|
|
38
50
|
[`569a36a196e14`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/569a36a196e14) -
|
|
39
51
|
Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
|
|
40
52
|
the rest of the Atlaskit techstack, and support React 18 Streaming SSR.Please note, in order to
|
|
41
|
-
use this version of `@atlaskit/
|
|
53
|
+
use this version of `@atlaskit/button`, you will need to ensure that your bundler is configured to
|
|
42
54
|
handle `.css` imports correctly.
|
|
43
55
|
|
|
44
56
|
Most bundlers come with built-in support for `.css` imports, so you may not need to do anything.
|
|
@@ -20,7 +20,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
21
|
var _content = _interopRequireDefault(require("../shared/content"));
|
|
22
22
|
var _iconRenderer = _interopRequireDefault(require("../shared/icon-renderer"));
|
|
23
|
-
var _excluded = ["analyticsContext", "appearance", "aria-label", "aria-labelledby", "autoFocus", "children", "href", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "spacing", "testId"
|
|
23
|
+
var _excluded = ["analyticsContext", "appearance", "aria-label", "aria-labelledby", "autoFocus", "children", "href", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "spacing", "testId"],
|
|
24
24
|
_excluded2 = ["className", "css", "as", "style"];
|
|
25
25
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
26
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -96,7 +96,6 @@ var LinkButtonBase = function LinkButtonBase(_ref, ref) {
|
|
|
96
96
|
onTouchStartCapture = _ref.onTouchStartCapture,
|
|
97
97
|
spacing = _ref.spacing,
|
|
98
98
|
testId = _ref.testId,
|
|
99
|
-
xcss = _ref.xcss,
|
|
100
99
|
unsafeRest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
101
100
|
// @ts-expect-error
|
|
102
101
|
var _className = unsafeRest.className,
|
|
@@ -22,7 +22,7 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
|
22
22
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
23
23
|
var _content = _interopRequireDefault(require("../shared/content"));
|
|
24
24
|
var _iconRenderer = _interopRequireDefault(require("../shared/icon-renderer"));
|
|
25
|
-
var _excluded = ["aria-label", "aria-labelledby", "analyticsContext", "appearance", "autoFocus", "href", "icon", "interactionName", "isDisabled", "isSelected", "isTooltipDisabled", "label", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "shape", "spacing", "testId", "tooltip"
|
|
25
|
+
var _excluded = ["aria-label", "aria-labelledby", "analyticsContext", "appearance", "autoFocus", "href", "icon", "interactionName", "isDisabled", "isSelected", "isTooltipDisabled", "label", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "shape", "spacing", "testId", "tooltip"],
|
|
26
26
|
_excluded2 = ["className", "css", "as", "style"];
|
|
27
27
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
28
28
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -82,7 +82,6 @@ var LinkIconButtonBase = function LinkIconButtonBase(_ref, ref) {
|
|
|
82
82
|
spacing = _ref.spacing,
|
|
83
83
|
testId = _ref.testId,
|
|
84
84
|
tooltip = _ref.tooltip,
|
|
85
|
-
xcss = _ref.xcss,
|
|
86
85
|
unsafeRest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
87
86
|
// @ts-expect-error
|
|
88
87
|
var _className = unsafeRest.className,
|
|
@@ -133,7 +133,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
|
|
|
133
133
|
action: 'clicked',
|
|
134
134
|
componentName: 'button',
|
|
135
135
|
packageName: "@atlaskit/button",
|
|
136
|
-
packageVersion: "
|
|
136
|
+
packageVersion: "23.0.0",
|
|
137
137
|
analyticsData: analyticsContext
|
|
138
138
|
});
|
|
139
139
|
|
|
@@ -119,7 +119,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref)
|
|
|
119
119
|
action: 'clicked',
|
|
120
120
|
componentName: 'button',
|
|
121
121
|
packageName: "@atlaskit/button",
|
|
122
|
-
packageVersion: "
|
|
122
|
+
packageVersion: "23.0.0",
|
|
123
123
|
analyticsData: analyticsContext
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* link.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["analyticsContext", "appearance", "aria-label", "aria-labelledby", "autoFocus", "children", "href", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "spacing", "testId"
|
|
4
|
+
var _excluded = ["analyticsContext", "appearance", "aria-label", "aria-labelledby", "autoFocus", "children", "href", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "spacing", "testId"],
|
|
5
5
|
_excluded2 = ["className", "css", "as", "style"];
|
|
6
6
|
import "./link.compiled.css";
|
|
7
7
|
import * as React from 'react';
|
|
@@ -86,7 +86,6 @@ var LinkButtonBase = function LinkButtonBase(_ref, ref) {
|
|
|
86
86
|
onTouchStartCapture = _ref.onTouchStartCapture,
|
|
87
87
|
spacing = _ref.spacing,
|
|
88
88
|
testId = _ref.testId,
|
|
89
|
-
xcss = _ref.xcss,
|
|
90
89
|
unsafeRest = _objectWithoutProperties(_ref, _excluded);
|
|
91
90
|
// @ts-expect-error
|
|
92
91
|
var _className = unsafeRest.className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* link.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["aria-label", "aria-labelledby", "analyticsContext", "appearance", "autoFocus", "href", "icon", "interactionName", "isDisabled", "isSelected", "isTooltipDisabled", "label", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "shape", "spacing", "testId", "tooltip"
|
|
4
|
+
var _excluded = ["aria-label", "aria-labelledby", "analyticsContext", "appearance", "autoFocus", "href", "icon", "interactionName", "isDisabled", "isSelected", "isTooltipDisabled", "label", "onClick", "onClickCapture", "onKeyDownCapture", "onKeyUpCapture", "onMouseDownCapture", "onMouseUpCapture", "onPointerDownCapture", "onPointerUpCapture", "onTouchEndCapture", "onTouchStartCapture", "shape", "spacing", "testId", "tooltip"],
|
|
5
5
|
_excluded2 = ["className", "css", "as", "style"];
|
|
6
6
|
import "./link.compiled.css";
|
|
7
7
|
import * as React from 'react';
|
|
@@ -72,7 +72,6 @@ var LinkIconButtonBase = function LinkIconButtonBase(_ref, ref) {
|
|
|
72
72
|
spacing = _ref.spacing,
|
|
73
73
|
testId = _ref.testId,
|
|
74
74
|
tooltip = _ref.tooltip,
|
|
75
|
-
xcss = _ref.xcss,
|
|
76
75
|
unsafeRest = _objectWithoutProperties(_ref, _excluded);
|
|
77
76
|
// @ts-expect-error
|
|
78
77
|
var _className = unsafeRest.className,
|
|
@@ -125,7 +125,7 @@ var ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
125
125
|
action: 'clicked',
|
|
126
126
|
componentName: 'button',
|
|
127
127
|
packageName: "@atlaskit/button",
|
|
128
|
-
packageVersion: "
|
|
128
|
+
packageVersion: "23.0.0",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type StrictXCSSProp, type XCSSAllProperties, type XCSSAllPseudos } from '@atlaskit/css';
|
|
3
2
|
import type { AdditionalDefaultLinkVariantProps, CommonLinkVariantProps } from '../types';
|
|
4
3
|
import type { CommonDefaultButtonProps } from './types';
|
|
5
|
-
export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonDefaultButtonProps & CommonLinkVariantProps<RouterLinkConfig> & AdditionalDefaultLinkVariantProps
|
|
6
|
-
xcss?: StrictXCSSProp<XCSSAllProperties, XCSSAllPseudos>;
|
|
7
|
-
};
|
|
4
|
+
export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonDefaultButtonProps & CommonLinkVariantProps<RouterLinkConfig> & AdditionalDefaultLinkVariantProps;
|
|
8
5
|
/**
|
|
9
6
|
* __Link Button__
|
|
10
7
|
*
|
|
@@ -14,7 +11,7 @@ export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never
|
|
|
14
11
|
* - [Code](https://atlassian.design/components/link-button/code)
|
|
15
12
|
* - [Usage](https://atlassian.design/components/link-button/usage)
|
|
16
13
|
*/
|
|
17
|
-
declare const LinkButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ analyticsContext, appearance, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, autoFocus, children, href, iconAfter, iconBefore, interactionName, isDisabled, isSelected, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, spacing, testId,
|
|
14
|
+
declare const LinkButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ analyticsContext, appearance, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, autoFocus, children, href, iconAfter, iconBefore, interactionName, isDisabled, isSelected, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, spacing, testId, ...unsafeRest }: LinkButtonProps<RouterLinkConfig>, ref: React.Ref<HTMLAnchorElement>) => JSX.Element;
|
|
18
15
|
/**
|
|
19
16
|
* __Link Button__
|
|
20
17
|
*
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type Ref } from 'react';
|
|
6
|
-
import { type StrictXCSSProp, type XCSSAllProperties, type XCSSAllPseudos } from '@atlaskit/css';
|
|
7
6
|
import { CommonAnchorProps, type CommonLinkVariantProps } from '../types';
|
|
8
7
|
import { type CommonIconButtonProps } from './types';
|
|
9
|
-
export type LinkIconButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonIconButtonProps & CommonLinkVariantProps<RouterLinkConfig> & CommonAnchorProps<RouterLinkConfig
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
declare const LinkIconButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ "aria-label": preventedAriaLabel, "aria-labelledby": ariaLabelledBy, analyticsContext, appearance, autoFocus, href, icon, interactionName, isDisabled, isSelected, isTooltipDisabled, label, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, shape, spacing, testId, tooltip, xcss, ...unsafeRest }: LinkIconButtonProps<RouterLinkConfig>, ref: Ref<HTMLAnchorElement>) => JSX.Element;
|
|
8
|
+
export type LinkIconButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonIconButtonProps & CommonLinkVariantProps<RouterLinkConfig> & CommonAnchorProps<RouterLinkConfig>;
|
|
9
|
+
declare const LinkIconButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ "aria-label": preventedAriaLabel, "aria-labelledby": ariaLabelledBy, analyticsContext, appearance, autoFocus, href, icon, interactionName, isDisabled, isSelected, isTooltipDisabled, label, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, shape, spacing, testId, tooltip, ...unsafeRest }: LinkIconButtonProps<RouterLinkConfig>, ref: Ref<HTMLAnchorElement>) => JSX.Element;
|
|
13
10
|
/**
|
|
14
11
|
* __Link Icon Button__
|
|
15
12
|
*
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type StrictXCSSProp, type XCSSAllProperties, type XCSSAllPseudos } from '@atlaskit/css';
|
|
3
2
|
import type { AdditionalDefaultLinkVariantProps, CommonLinkVariantProps } from '../types';
|
|
4
3
|
import type { CommonDefaultButtonProps } from './types';
|
|
5
|
-
export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonDefaultButtonProps & CommonLinkVariantProps<RouterLinkConfig> & AdditionalDefaultLinkVariantProps
|
|
6
|
-
xcss?: StrictXCSSProp<XCSSAllProperties, XCSSAllPseudos>;
|
|
7
|
-
};
|
|
4
|
+
export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonDefaultButtonProps & CommonLinkVariantProps<RouterLinkConfig> & AdditionalDefaultLinkVariantProps;
|
|
8
5
|
/**
|
|
9
6
|
* __Link Button__
|
|
10
7
|
*
|
|
@@ -14,7 +11,7 @@ export type LinkButtonProps<RouterLinkConfig extends Record<string, any> = never
|
|
|
14
11
|
* - [Code](https://atlassian.design/components/link-button/code)
|
|
15
12
|
* - [Usage](https://atlassian.design/components/link-button/usage)
|
|
16
13
|
*/
|
|
17
|
-
declare const LinkButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ analyticsContext, appearance, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, autoFocus, children, href, iconAfter, iconBefore, interactionName, isDisabled, isSelected, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, spacing, testId,
|
|
14
|
+
declare const LinkButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ analyticsContext, appearance, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, autoFocus, children, href, iconAfter, iconBefore, interactionName, isDisabled, isSelected, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, spacing, testId, ...unsafeRest }: LinkButtonProps<RouterLinkConfig>, ref: React.Ref<HTMLAnchorElement>) => JSX.Element;
|
|
18
15
|
/**
|
|
19
16
|
* __Link Button__
|
|
20
17
|
*
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type Ref } from 'react';
|
|
6
|
-
import { type StrictXCSSProp, type XCSSAllProperties, type XCSSAllPseudos } from '@atlaskit/css';
|
|
7
6
|
import { CommonAnchorProps, type CommonLinkVariantProps } from '../types';
|
|
8
7
|
import { type CommonIconButtonProps } from './types';
|
|
9
|
-
export type LinkIconButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonIconButtonProps & CommonLinkVariantProps<RouterLinkConfig> & CommonAnchorProps<RouterLinkConfig
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
declare const LinkIconButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ "aria-label": preventedAriaLabel, "aria-labelledby": ariaLabelledBy, analyticsContext, appearance, autoFocus, href, icon, interactionName, isDisabled, isSelected, isTooltipDisabled, label, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, shape, spacing, testId, tooltip, xcss, ...unsafeRest }: LinkIconButtonProps<RouterLinkConfig>, ref: Ref<HTMLAnchorElement>) => JSX.Element;
|
|
8
|
+
export type LinkIconButtonProps<RouterLinkConfig extends Record<string, any> = never> = CommonIconButtonProps & CommonLinkVariantProps<RouterLinkConfig> & CommonAnchorProps<RouterLinkConfig>;
|
|
9
|
+
declare const LinkIconButtonBase: <RouterLinkConfig extends Record<string, any> = never>({ "aria-label": preventedAriaLabel, "aria-labelledby": ariaLabelledBy, analyticsContext, appearance, autoFocus, href, icon, interactionName, isDisabled, isSelected, isTooltipDisabled, label, onClick, onClickCapture, onKeyDownCapture, onKeyUpCapture, onMouseDownCapture, onMouseUpCapture, onPointerDownCapture, onPointerUpCapture, onTouchEndCapture, onTouchStartCapture, shape, spacing, testId, tooltip, ...unsafeRest }: LinkIconButtonProps<RouterLinkConfig>, ref: Ref<HTMLAnchorElement>) => JSX.Element;
|
|
13
10
|
/**
|
|
14
11
|
* __Link Icon Button__
|
|
15
12
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0",
|
|
4
4
|
"description": "A button triggers an event or action. They let users know what will happen next.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@af/accessibility-testing": "^2.0.0",
|
|
109
109
|
"@af/integration-testing": "^0.5.0",
|
|
110
110
|
"@af/visual-regression": "^1.3.0",
|
|
111
|
-
"@atlaskit/app-provider": "^2.
|
|
111
|
+
"@atlaskit/app-provider": "^2.1.0",
|
|
112
112
|
"@atlaskit/checkbox": "^17.0.0",
|
|
113
113
|
"@atlaskit/docs": "^10.0.0",
|
|
114
114
|
"@atlaskit/dropdown-menu": "^14.0.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/heading": "^5.1.0",
|
|
117
117
|
"@atlaskit/link": "^3.1.0",
|
|
118
118
|
"@atlaskit/logo": "^16.0.0",
|
|
119
|
-
"@atlaskit/modal-dialog": "^14.
|
|
119
|
+
"@atlaskit/modal-dialog": "^14.1.0",
|
|
120
120
|
"@atlaskit/section-message": "^8.2.0",
|
|
121
121
|
"@atlaskit/select": "^20.0.0",
|
|
122
122
|
"@atlaskit/ssr": "^0.4.0",
|