@atlaskit/button 17.18.0 → 17.19.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 +9 -0
- package/dist/cjs/containers/button-group.js +3 -0
- package/dist/cjs/new-button/containers/split-button/split-button.js +3 -0
- package/dist/cjs/old-button/shared/button-base.js +4 -1
- package/dist/es2019/containers/button-group.js +3 -0
- package/dist/es2019/new-button/containers/split-button/split-button.js +3 -0
- package/dist/es2019/old-button/shared/button-base.js +4 -1
- package/dist/esm/containers/button-group.js +3 -0
- package/dist/esm/new-button/containers/split-button/split-button.js +3 -0
- package/dist/esm/old-button/shared/button-base.js +4 -1
- package/dist/types/containers/button-group.d.ts +3 -0
- package/dist/types/new-button/containers/split-button/split-button.d.ts +3 -0
- package/dist/types/old-button/shared/button-base.d.ts +3 -0
- package/dist/types-ts4.5/containers/button-group.d.ts +3 -0
- package/dist/types-ts4.5/new-button/containers/split-button/split-button.d.ts +3 -0
- package/dist/types-ts4.5/old-button/shared/button-base.d.ts +3 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 17.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#111878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111878)
|
|
8
|
+
[`223959ef57c80`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/223959ef57c80) -
|
|
9
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
10
|
+
is implicitly set to automatic.
|
|
11
|
+
|
|
3
12
|
## 17.18.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -9,6 +9,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
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); }
|
|
11
11
|
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 && Object.prototype.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; }
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
*/
|
|
12
15
|
/** @jsx jsx */
|
|
13
16
|
|
|
14
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -8,6 +8,9 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _constants = require("@atlaskit/theme/constants");
|
|
9
9
|
var _splitButtonContext = require("./split-button-context");
|
|
10
10
|
var _utils = require("./utils");
|
|
11
|
+
/**
|
|
12
|
+
* @jsxRuntime classic
|
|
13
|
+
*/
|
|
11
14
|
/** @jsx jsx */
|
|
12
15
|
|
|
13
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -21,6 +21,9 @@ var _css = require("./css");
|
|
|
21
21
|
var _getIfVisuallyHiddenChildren = require("./get-if-visually-hidden-children");
|
|
22
22
|
var _excluded = ["analyticsContext", "appearance", "autoFocus", "buttonCss", "children", "className", "href", "component", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onBlur", "onClick", "onFocus", "onMouseDown", "overlay", "shouldFitContainer", "spacing", "tabIndex", "type", "testId"];
|
|
23
23
|
/* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
|
|
24
|
+
/**
|
|
25
|
+
* @jsxRuntime classic
|
|
26
|
+
*/
|
|
24
27
|
/** @jsx jsx */
|
|
25
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
29
|
// eslint-disable-next-line no-duplicate-imports
|
|
@@ -130,7 +133,7 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
|
|
|
130
133
|
action: 'clicked',
|
|
131
134
|
componentName: 'button',
|
|
132
135
|
packageName: "@atlaskit/button",
|
|
133
|
-
packageVersion: "17.
|
|
136
|
+
packageVersion: "17.19.0",
|
|
134
137
|
analyticsData: analyticsContext
|
|
135
138
|
});
|
|
136
139
|
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
|
|
3
|
+
/**
|
|
4
|
+
* @jsxRuntime classic
|
|
5
|
+
*/
|
|
3
6
|
/** @jsx jsx */
|
|
4
7
|
import React, { useCallback, useContext, useEffect, useRef } from 'react';
|
|
5
8
|
|
|
@@ -116,7 +119,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
116
119
|
action: 'clicked',
|
|
117
120
|
componentName: 'button',
|
|
118
121
|
packageName: "@atlaskit/button",
|
|
119
|
-
packageVersion: "17.
|
|
122
|
+
packageVersion: "17.19.0",
|
|
120
123
|
analyticsData: analyticsContext
|
|
121
124
|
});
|
|
122
125
|
|
|
@@ -2,6 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["analyticsContext", "appearance", "autoFocus", "buttonCss", "children", "className", "href", "component", "iconAfter", "iconBefore", "interactionName", "isDisabled", "isSelected", "onBlur", "onClick", "onFocus", "onMouseDown", "overlay", "shouldFitContainer", "spacing", "tabIndex", "type", "testId"];
|
|
4
4
|
/* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
|
|
5
|
+
/**
|
|
6
|
+
* @jsxRuntime classic
|
|
7
|
+
*/
|
|
5
8
|
/** @jsx jsx */
|
|
6
9
|
import React, { useCallback, useContext, useEffect, useRef } from 'react';
|
|
7
10
|
|
|
@@ -122,7 +125,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
122
125
|
action: 'clicked',
|
|
123
126
|
componentName: 'button',
|
|
124
127
|
packageName: "@atlaskit/button",
|
|
125
|
-
packageVersion: "17.
|
|
128
|
+
packageVersion: "17.19.0",
|
|
126
129
|
analyticsData: analyticsContext
|
|
127
130
|
});
|
|
128
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.19.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/"
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"@af/integration-testing": "*",
|
|
154
154
|
"@af/visual-regression": "*",
|
|
155
155
|
"@atlaskit/app-provider": "^1.3.0",
|
|
156
|
-
"@atlaskit/calendar": "^14.
|
|
157
|
-
"@atlaskit/checkbox": "^13.
|
|
156
|
+
"@atlaskit/calendar": "^14.3.0",
|
|
157
|
+
"@atlaskit/checkbox": "^13.5.0",
|
|
158
158
|
"@atlaskit/ssr": "*",
|
|
159
159
|
"@atlaskit/toggle": "^13.2.0",
|
|
160
160
|
"@atlaskit/visual-regression": "*",
|