@atlaskit/help-layout 6.3.34 → 6.3.35
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 +14 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/DynamicHeader/NewChatButton.js +1 -1
- package/dist/cjs/components/DynamicHeader/index.js +1 -1
- package/dist/cjs/components/Header/BackButton.js +7 -2
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/Header/styled.js +5 -3
- package/dist/cjs/components/MessagesIntlProvider.js +7 -3
- package/dist/cjs/components/SideNav/index.js +1 -1
- package/dist/cjs/components/styled.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/DynamicHeader/NewChatButton.js +1 -1
- package/dist/es2019/components/DynamicHeader/index.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +5 -2
- package/dist/es2019/components/Header/CloseButton.js +1 -1
- package/dist/es2019/components/Header/styled.js +7 -4
- package/dist/es2019/components/MessagesIntlProvider.js +8 -4
- package/dist/es2019/components/SideNav/index.js +1 -1
- package/dist/es2019/components/styled.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/DynamicHeader/NewChatButton.js +1 -1
- package/dist/esm/components/DynamicHeader/index.js +1 -1
- package/dist/esm/components/Header/BackButton.js +5 -2
- package/dist/esm/components/Header/CloseButton.js +1 -1
- package/dist/esm/components/Header/styled.js +5 -3
- package/dist/esm/components/MessagesIntlProvider.js +8 -4
- package/dist/esm/components/SideNav/index.js +1 -1
- package/dist/esm/components/styled.js +1 -1
- package/dist/types/components/Header/styled.d.ts +4 -2
- package/dist/types-ts4.5/components/Header/styled.d.ts +4 -2
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/help-layout
|
|
2
2
|
|
|
3
|
+
## 6.3.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d8333dbe8ad56`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d8333dbe8ad56) -
|
|
8
|
+
Upgrade help packages for React 19 compatibility (react-next wrapper)
|
|
9
|
+
- Upgraded `react` and `react-dom` peer dependencies to support `^18.2.0 || ^19.0.0`
|
|
10
|
+
- Added `react-intl` as a peer dependency where needed for internationalization
|
|
11
|
+
- Integrated `useRef` for transition handling in BackButton, SearchResults, and RightSidePanel
|
|
12
|
+
- Updated transition components to use `nodeRef` for better performance and animation control
|
|
13
|
+
- Refactored components to use forward refs for improved flexibility with animations
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.3.34
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -13,5 +13,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
13
13
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
14
14
|
componentName: 'helpPanel',
|
|
15
15
|
packageName: "@atlaskit/help-layout",
|
|
16
|
-
packageVersion: "
|
|
16
|
+
packageVersion: "0.0.0-development"
|
|
17
17
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.BackButton = void 0;
|
|
8
|
-
var _react =
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _reactIntlNext = require("react-intl-next");
|
|
10
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
12
|
var _reactTransitionGroup = require("react-transition-group");
|
|
@@ -13,6 +14,7 @@ var _arrowLeft = _interopRequireDefault(require("@atlaskit/icon/core/arrow-left"
|
|
|
13
14
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
14
15
|
var _messages = require("../../messages");
|
|
15
16
|
var _styled = require("./styled");
|
|
17
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
18
|
var BackButton = exports.BackButton = function BackButton(_ref) {
|
|
17
19
|
var onClick = _ref.onClick,
|
|
18
20
|
_ref$isVisible = _ref.isVisible,
|
|
@@ -20,6 +22,7 @@ var BackButton = exports.BackButton = function BackButton(_ref) {
|
|
|
20
22
|
formatMessage = _ref.intl.formatMessage;
|
|
21
23
|
var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
|
|
22
24
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
25
|
+
var transitionRef = (0, _react.useRef)(null);
|
|
23
26
|
var handleOnClick = function handleOnClick(event) {
|
|
24
27
|
if (onClick) {
|
|
25
28
|
var _analyticsEvent = createAnalyticsEvent({
|
|
@@ -31,10 +34,12 @@ var BackButton = exports.BackButton = function BackButton(_ref) {
|
|
|
31
34
|
return /*#__PURE__*/_react.default.createElement(_reactTransitionGroup.Transition, {
|
|
32
35
|
in: isVisible,
|
|
33
36
|
timeout: _styled.TRANSITION_DURATION_MS,
|
|
37
|
+
nodeRef: transitionRef,
|
|
34
38
|
mountOnEnter: true,
|
|
35
39
|
unmountOnExit: true
|
|
36
40
|
}, function (state) {
|
|
37
41
|
return /*#__PURE__*/_react.default.createElement(_styled.BackButtonContainer, {
|
|
42
|
+
ref: transitionRef,
|
|
38
43
|
transitionState: state
|
|
39
44
|
}, /*#__PURE__*/_react.default.createElement(_standardButton.default, {
|
|
40
45
|
onClick: function onClick(event) {
|
|
@@ -55,7 +60,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
55
60
|
data: {
|
|
56
61
|
componentName: 'backButton',
|
|
57
62
|
packageName: "@atlaskit/help-layout",
|
|
58
|
-
packageVersion: "
|
|
63
|
+
packageVersion: "0.0.0-development"
|
|
59
64
|
}
|
|
60
65
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
61
66
|
};
|
|
@@ -54,7 +54,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
54
54
|
data: {
|
|
55
55
|
componentName: 'closeButton',
|
|
56
56
|
packageName: "@atlaskit/help-layout",
|
|
57
|
-
packageVersion: "
|
|
57
|
+
packageVersion: "0.0.0-development"
|
|
58
58
|
}
|
|
59
59
|
}, /*#__PURE__*/_react.default.createElement(CloseButton, props));
|
|
60
60
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -47,16 +47,18 @@ var backButtonContainerTransitionStyles = {
|
|
|
47
47
|
opacity: 0
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
var BackButtonContainer = exports.BackButtonContainer = function
|
|
50
|
+
var BackButtonContainer = exports.BackButtonContainer = /*#__PURE__*/_react.default.forwardRef(function (_ref3, ref) {
|
|
51
51
|
var transitionState = _ref3.transitionState,
|
|
52
52
|
children = _ref3.children;
|
|
53
53
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
54
|
+
ref: ref,
|
|
54
55
|
className: (0, _runtime.ax)(["_v5641kw6 _1ltv1ejb _tzy4idpf _kqswstnw _154iutpp"]),
|
|
55
56
|
style: _objectSpread(_objectSpread({}, backButtonContainerTransitionStyles[transitionState]), {}, {
|
|
56
57
|
"--_ejvfk7": (0, _runtime.ix)("left ".concat(TRANSITION_DURATION_MS, "ms, opacity ").concat(TRANSITION_DURATION_MS, "ms"))
|
|
57
58
|
})
|
|
58
59
|
}, children);
|
|
59
|
-
};
|
|
60
|
+
});
|
|
61
|
+
BackButtonContainer.displayName = 'BackButtonContainer';
|
|
60
62
|
var headerTitleStyles = null;
|
|
61
63
|
var HeaderTitle = exports.HeaderTitle = function HeaderTitle(_ref4) {
|
|
62
64
|
var children = _ref4.children;
|
|
@@ -6,15 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.MessagesIntlProvider = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
9
10
|
var _reactIntlNext = require("react-intl-next");
|
|
10
11
|
var MessagesIntlProvider = exports.MessagesIntlProvider = function MessagesIntlProvider(_ref) {
|
|
11
12
|
var _ref$locale = _ref.locale,
|
|
12
13
|
locale = _ref$locale === void 0 ? 'en' : _ref$locale,
|
|
13
14
|
children = _ref.children;
|
|
14
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
15
|
-
key: locale,
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.IntlProvider, {
|
|
16
|
+
key: "v6-".concat(locale),
|
|
16
17
|
locale: locale
|
|
17
|
-
},
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.IntlProvider, {
|
|
19
|
+
key: "v5-".concat(locale),
|
|
20
|
+
locale: locale
|
|
21
|
+
}, children));
|
|
18
22
|
};
|
|
19
23
|
var _default_1 = (0, _reactIntlNext.injectIntl)(MessagesIntlProvider);
|
|
20
24
|
var _default = exports.default = _default_1;
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* NewChatButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* NewChatButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Inline } from '@atlaskit/primitives/compiled';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useRef } from 'react';
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { Transition } from 'react-transition-group';
|
|
@@ -16,6 +16,7 @@ export const BackButton = ({
|
|
|
16
16
|
const {
|
|
17
17
|
createAnalyticsEvent
|
|
18
18
|
} = useAnalyticsEvents();
|
|
19
|
+
const transitionRef = useRef(null);
|
|
19
20
|
const handleOnClick = event => {
|
|
20
21
|
if (onClick) {
|
|
21
22
|
const analyticsEvent = createAnalyticsEvent({
|
|
@@ -27,9 +28,11 @@ export const BackButton = ({
|
|
|
27
28
|
return /*#__PURE__*/React.createElement(Transition, {
|
|
28
29
|
in: isVisible,
|
|
29
30
|
timeout: TRANSITION_DURATION_MS,
|
|
31
|
+
nodeRef: transitionRef,
|
|
30
32
|
mountOnEnter: true,
|
|
31
33
|
unmountOnExit: true
|
|
32
34
|
}, state => /*#__PURE__*/React.createElement(BackButtonContainer, {
|
|
35
|
+
ref: transitionRef,
|
|
33
36
|
transitionState: state
|
|
34
37
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
35
38
|
onClick: event => {
|
|
@@ -49,7 +52,7 @@ const BackButtonWithContext = props => {
|
|
|
49
52
|
data: {
|
|
50
53
|
componentName: 'backButton',
|
|
51
54
|
packageName: "@atlaskit/help-layout",
|
|
52
|
-
packageVersion: "
|
|
55
|
+
packageVersion: "0.0.0-development"
|
|
53
56
|
}
|
|
54
57
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
55
58
|
};
|
|
@@ -50,7 +50,7 @@ const CloseButtonWithContext = props => {
|
|
|
50
50
|
data: {
|
|
51
51
|
componentName: 'closeButton',
|
|
52
52
|
packageName: "@atlaskit/help-layout",
|
|
53
|
-
packageVersion: "
|
|
53
|
+
packageVersion: "0.0.0-development"
|
|
54
54
|
}
|
|
55
55
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
56
56
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import "./styled.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -31,13 +31,16 @@ const backButtonContainerTransitionStyles = {
|
|
|
31
31
|
opacity: 0
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
export const BackButtonContainer = ({
|
|
34
|
+
export const BackButtonContainer = /*#__PURE__*/React.forwardRef(({
|
|
35
35
|
transitionState,
|
|
36
36
|
children
|
|
37
|
-
}) => /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
}, ref) => /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
ref: ref,
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
38
40
|
style: backButtonContainerTransitionStyles[transitionState],
|
|
39
41
|
className: ax(["_v5641kd4 _1ltv1ejb _tzy4idpf _kqswstnw _154iutpp"])
|
|
40
|
-
}, children);
|
|
42
|
+
}, children));
|
|
43
|
+
BackButtonContainer.displayName = 'BackButtonContainer';
|
|
41
44
|
const headerTitleStyles = null;
|
|
42
45
|
export const HeaderTitle = ({
|
|
43
46
|
children
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IntlProvider
|
|
2
|
+
import { IntlProvider as ReactIntlProvider } from 'react-intl';
|
|
3
|
+
import { IntlProvider as ReactIntlNextProvider, injectIntl } from 'react-intl-next';
|
|
3
4
|
export const MessagesIntlProvider = ({
|
|
4
5
|
locale = 'en',
|
|
5
6
|
children
|
|
6
|
-
}) => /*#__PURE__*/React.createElement(
|
|
7
|
-
key: locale
|
|
7
|
+
}) => /*#__PURE__*/React.createElement(ReactIntlProvider, {
|
|
8
|
+
key: `v6-${locale}`,
|
|
8
9
|
locale: locale
|
|
9
|
-
},
|
|
10
|
+
}, /*#__PURE__*/React.createElement(ReactIntlNextProvider, {
|
|
11
|
+
key: `v5-${locale}`,
|
|
12
|
+
locale: locale
|
|
13
|
+
}, children));
|
|
10
14
|
const _default_1 = injectIntl(MessagesIntlProvider);
|
|
11
15
|
export default _default_1;
|
package/dist/esm/analytics.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* NewChatButton.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* NewChatButton.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Inline } from '@atlaskit/primitives/compiled';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useRef } from 'react';
|
|
2
2
|
import { injectIntl } from 'react-intl-next';
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { Transition } from 'react-transition-group';
|
|
@@ -13,6 +13,7 @@ export var BackButton = function BackButton(_ref) {
|
|
|
13
13
|
formatMessage = _ref.intl.formatMessage;
|
|
14
14
|
var _useAnalyticsEvents = useAnalyticsEvents(),
|
|
15
15
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
16
|
+
var transitionRef = useRef(null);
|
|
16
17
|
var handleOnClick = function handleOnClick(event) {
|
|
17
18
|
if (onClick) {
|
|
18
19
|
var _analyticsEvent = createAnalyticsEvent({
|
|
@@ -24,10 +25,12 @@ export var BackButton = function BackButton(_ref) {
|
|
|
24
25
|
return /*#__PURE__*/React.createElement(Transition, {
|
|
25
26
|
in: isVisible,
|
|
26
27
|
timeout: TRANSITION_DURATION_MS,
|
|
28
|
+
nodeRef: transitionRef,
|
|
27
29
|
mountOnEnter: true,
|
|
28
30
|
unmountOnExit: true
|
|
29
31
|
}, function (state) {
|
|
30
32
|
return /*#__PURE__*/React.createElement(BackButtonContainer, {
|
|
33
|
+
ref: transitionRef,
|
|
31
34
|
transitionState: state
|
|
32
35
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
33
36
|
onClick: function onClick(event) {
|
|
@@ -48,7 +51,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
48
51
|
data: {
|
|
49
52
|
componentName: 'backButton',
|
|
50
53
|
packageName: "@atlaskit/help-layout",
|
|
51
|
-
packageVersion: "
|
|
54
|
+
packageVersion: "0.0.0-development"
|
|
52
55
|
}
|
|
53
56
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
54
57
|
};
|
|
@@ -47,7 +47,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
47
47
|
data: {
|
|
48
48
|
componentName: 'closeButton',
|
|
49
49
|
packageName: "@atlaskit/help-layout",
|
|
50
|
-
packageVersion: "
|
|
50
|
+
packageVersion: "0.0.0-development"
|
|
51
51
|
}
|
|
52
52
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
53
53
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./styled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -40,16 +40,18 @@ var backButtonContainerTransitionStyles = {
|
|
|
40
40
|
opacity: 0
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
export var BackButtonContainer = function
|
|
43
|
+
export var BackButtonContainer = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
|
|
44
44
|
var transitionState = _ref3.transitionState,
|
|
45
45
|
children = _ref3.children;
|
|
46
46
|
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
ref: ref,
|
|
47
48
|
className: ax(["_v5641kw6 _1ltv1ejb _tzy4idpf _kqswstnw _154iutpp"]),
|
|
48
49
|
style: _objectSpread(_objectSpread({}, backButtonContainerTransitionStyles[transitionState]), {}, {
|
|
49
50
|
"--_ejvfk7": ix("left ".concat(TRANSITION_DURATION_MS, "ms, opacity ").concat(TRANSITION_DURATION_MS, "ms"))
|
|
50
51
|
})
|
|
51
52
|
}, children);
|
|
52
|
-
};
|
|
53
|
+
});
|
|
54
|
+
BackButtonContainer.displayName = 'BackButtonContainer';
|
|
53
55
|
var headerTitleStyles = null;
|
|
54
56
|
export var HeaderTitle = function HeaderTitle(_ref4) {
|
|
55
57
|
var children = _ref4.children;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IntlProvider
|
|
2
|
+
import { IntlProvider as ReactIntlProvider } from 'react-intl';
|
|
3
|
+
import { IntlProvider as ReactIntlNextProvider, injectIntl } from 'react-intl-next';
|
|
3
4
|
export var MessagesIntlProvider = function MessagesIntlProvider(_ref) {
|
|
4
5
|
var _ref$locale = _ref.locale,
|
|
5
6
|
locale = _ref$locale === void 0 ? 'en' : _ref$locale,
|
|
6
7
|
children = _ref.children;
|
|
7
|
-
return /*#__PURE__*/React.createElement(
|
|
8
|
-
key: locale,
|
|
8
|
+
return /*#__PURE__*/React.createElement(ReactIntlProvider, {
|
|
9
|
+
key: "v6-".concat(locale),
|
|
9
10
|
locale: locale
|
|
10
|
-
},
|
|
11
|
+
}, /*#__PURE__*/React.createElement(ReactIntlNextProvider, {
|
|
12
|
+
key: "v5-".concat(locale),
|
|
13
|
+
locale: locale
|
|
14
|
+
}, children));
|
|
11
15
|
};
|
|
12
16
|
var _default_1 = injectIntl(MessagesIntlProvider);
|
|
13
17
|
export default _default_1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styled.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* styled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -12,13 +12,15 @@ export declare const CloseButtonContainer: ({ inDynamicHeader, children, }: {
|
|
|
12
12
|
inDynamicHeader: boolean;
|
|
13
13
|
}) => JSX.Element;
|
|
14
14
|
export declare const TRANSITION_DURATION_MS = 220;
|
|
15
|
-
|
|
15
|
+
type BackButtonContainerProps = {
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
transitionState: TransitionStatus;
|
|
18
|
-
}
|
|
18
|
+
};
|
|
19
|
+
export declare const BackButtonContainer: React.ForwardRefExoticComponent<BackButtonContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
20
|
export declare const HeaderTitle: ({ children }: {
|
|
20
21
|
children: React.ReactNode;
|
|
21
22
|
}) => JSX.Element;
|
|
22
23
|
export declare const HeaderContent: ({ children }: {
|
|
23
24
|
children: React.ReactNode;
|
|
24
25
|
}) => JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -12,13 +12,15 @@ export declare const CloseButtonContainer: ({ inDynamicHeader, children, }: {
|
|
|
12
12
|
inDynamicHeader: boolean;
|
|
13
13
|
}) => JSX.Element;
|
|
14
14
|
export declare const TRANSITION_DURATION_MS = 220;
|
|
15
|
-
|
|
15
|
+
type BackButtonContainerProps = {
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
transitionState: TransitionStatus;
|
|
18
|
-
}
|
|
18
|
+
};
|
|
19
|
+
export declare const BackButtonContainer: React.ForwardRefExoticComponent<BackButtonContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
20
|
export declare const HeaderTitle: ({ children }: {
|
|
20
21
|
children: React.ReactNode;
|
|
21
22
|
}) => JSX.Element;
|
|
22
23
|
export declare const HeaderContent: ({ children }: {
|
|
23
24
|
children: React.ReactNode;
|
|
24
25
|
}) => JSX.Element;
|
|
26
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-layout",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.35",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,18 +35,19 @@
|
|
|
35
35
|
"@atlaskit/button": "^23.10.0",
|
|
36
36
|
"@atlaskit/css": "^0.19.0",
|
|
37
37
|
"@atlaskit/heading": "^5.3.0",
|
|
38
|
-
"@atlaskit/icon": "^32.
|
|
38
|
+
"@atlaskit/icon": "^32.1.0",
|
|
39
39
|
"@atlaskit/primitives": "^18.0.0",
|
|
40
40
|
"@atlaskit/theme": "^22.0.0",
|
|
41
|
-
"@atlaskit/tokens": "^11.
|
|
41
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
42
42
|
"@atlaskit/tooltip": "^20.14.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
|
-
"@compiled/react": "^0.
|
|
44
|
+
"@compiled/react": "^0.20.0",
|
|
45
45
|
"react-transition-group": "^4.4.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"react": "^18.2.0",
|
|
49
|
-
"react-dom": "^18.2.0",
|
|
48
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
49
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
50
|
+
"react-intl": "^6.0.0",
|
|
50
51
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|