@atlaskit/button 16.18.1 → 17.1.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 CHANGED
@@ -1,5 +1,63 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 17.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#60205](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60205) [`d8f830e29011`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8f830e29011) - [ux] Assistive technologies now define ButtonGroup as a group. Additionally `label` and `titleId` props introduced to label the current group.
8
+
9
+ ## 17.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#60024](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60024) [`c6418d429d47`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6418d429d47) - New Button goes open beta!
14
+
15
+ #### Breaking changes
16
+
17
+ Removed all `UNSAFE_` exports and `/unsafe` entrypoint.
18
+
19
+ ```js
20
+ import { UNSAFE_BUTTON } from '@atlaskit/button' ❌
21
+ import Button from '@atlaskit/button/new' ✅
22
+
23
+ import { UNSAFE_BUTTON } from '@atlaskit/button/unsafe' ❌
24
+ import Button from '@atlaskit/button/new' ✅
25
+ ```
26
+
27
+ See new features for new exports and entrypoint ⤵
28
+
29
+ #### New features
30
+
31
+ New Button goes open beta!
32
+
33
+ Check out the exports under `@atlaskit/button/new` and the [docs](/components/button/button-new/examples) for our new approach.
34
+
35
+ ##### Button
36
+
37
+ [Read the docs here.](/components/button/button-new/examples)
38
+
39
+ ```js
40
+ import Button from '@atlaskit/button/new';
41
+ import { LinkButton } from '@atlaskit/button/new';
42
+ ```
43
+
44
+ ##### Icon button
45
+
46
+ [Read the docs here.](/components/button/icon-button/examples)
47
+
48
+ ```js
49
+ import { IconButton } from '@atlaskit/button/new';
50
+ import { LinkIconButton } from '@atlaskit/button/new';
51
+ ```
52
+
53
+ ##### Split button
54
+
55
+ [Read the docs here.](/components/button/split-button/examples)
56
+
57
+ ```js
58
+ import { SplitButton } from '@atlaskit/button/new';
59
+ ```
60
+
3
61
  ## 16.18.1
4
62
 
5
63
  ### Patch Changes
@@ -22,10 +22,15 @@ var buttonGroupStyles = (0, _react2.css)({
22
22
  function ButtonGroup(_ref) {
23
23
  var appearance = _ref.appearance,
24
24
  children = _ref.children,
25
- testId = _ref.testId;
25
+ testId = _ref.testId,
26
+ label = _ref.label,
27
+ titleId = _ref.titleId;
26
28
  return (0, _react2.jsx)("div", {
27
29
  css: buttonGroupStyles,
28
- "data-testid": testId
30
+ "data-testid": testId,
31
+ role: "group",
32
+ "aria-label": label,
33
+ "aria-labelledby": titleId
29
34
  }, _react.default.Children.map(_react.default.Children.toArray(children), function (child, idx) {
30
35
  if (!child) {
31
36
  return null;
package/dist/cjs/index.js CHANGED
@@ -29,60 +29,6 @@ Object.defineProperty(exports, "Theme", {
29
29
  return _customThemeButton.Theme;
30
30
  }
31
31
  });
32
- Object.defineProperty(exports, "UNSAFE_BUTTON", {
33
- enumerable: true,
34
- get: function get() {
35
- return _unsafe.UNSAFE_BUTTON;
36
- }
37
- });
38
- Object.defineProperty(exports, "UNSAFE_DIVIDER", {
39
- enumerable: true,
40
- get: function get() {
41
- return _unsafe.UNSAFE_DIVIDER;
42
- }
43
- });
44
- Object.defineProperty(exports, "UNSAFE_GET_ACTIONS", {
45
- enumerable: true,
46
- get: function get() {
47
- return _unsafe.UNSAFE_GET_ACTIONS;
48
- }
49
- });
50
- Object.defineProperty(exports, "UNSAFE_ICON_BUTTON", {
51
- enumerable: true,
52
- get: function get() {
53
- return _unsafe.UNSAFE_ICON_BUTTON;
54
- }
55
- });
56
- Object.defineProperty(exports, "UNSAFE_LINK_BUTTON", {
57
- enumerable: true,
58
- get: function get() {
59
- return _unsafe.UNSAFE_LINK_BUTTON;
60
- }
61
- });
62
- Object.defineProperty(exports, "UNSAFE_LINK_ICON_BUTTON", {
63
- enumerable: true,
64
- get: function get() {
65
- return _unsafe.UNSAFE_LINK_ICON_BUTTON;
66
- }
67
- });
68
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON", {
69
- enumerable: true,
70
- get: function get() {
71
- return _unsafe.UNSAFE_SPLIT_BUTTON;
72
- }
73
- });
74
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON_CONTAINER", {
75
- enumerable: true,
76
- get: function get() {
77
- return _unsafe.UNSAFE_SPLIT_BUTTON_CONTAINER;
78
- }
79
- });
80
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON_CONTEXT", {
81
- enumerable: true,
82
- get: function get() {
83
- return _unsafe.UNSAFE_SPLIT_BUTTON_CONTEXT;
84
- }
85
- });
86
32
  Object.defineProperty(exports, "default", {
87
33
  enumerable: true,
88
34
  get: function get() {
@@ -93,6 +39,5 @@ var _standardButton = _interopRequireDefault(require("./entry-points/standard-bu
93
39
  var _loadingButton = _interopRequireDefault(require("./entry-points/loading-button"));
94
40
  var _customThemeButton = _interopRequireWildcard(require("./entry-points/custom-theme-button"));
95
41
  var _buttonGroup = _interopRequireDefault(require("./entry-points/button-group"));
96
- var _unsafe = require("./entry-points/unsafe");
97
42
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
98
43
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -117,7 +117,7 @@ var useButtonBase = function useButtonBase(_ref) {
117
117
  action: 'clicked',
118
118
  componentName: 'button',
119
119
  packageName: "@atlaskit/button",
120
- packageVersion: "16.18.1",
120
+ packageVersion: "17.1.0",
121
121
  analyticsData: analyticsContext,
122
122
  actionSubject: buttonType
123
123
  });
@@ -118,7 +118,7 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
118
118
  action: 'clicked',
119
119
  componentName: 'button',
120
120
  packageName: "@atlaskit/button",
121
- packageVersion: "16.18.1",
121
+ packageVersion: "17.1.0",
122
122
  analyticsData: analyticsContext
123
123
  });
124
124
 
@@ -12,11 +12,16 @@ const buttonGroupStyles = css({
12
12
  export default function ButtonGroup({
13
13
  appearance,
14
14
  children,
15
- testId
15
+ testId,
16
+ label,
17
+ titleId
16
18
  }) {
17
19
  return jsx("div", {
18
20
  css: buttonGroupStyles,
19
- "data-testid": testId
21
+ "data-testid": testId,
22
+ role: "group",
23
+ "aria-label": label,
24
+ "aria-labelledby": titleId
20
25
  }, React.Children.map(React.Children.toArray(children), (child, idx) => {
21
26
  if (!child) {
22
27
  return null;
@@ -5,12 +5,4 @@ export {
5
5
  default } from './entry-points/standard-button';
6
6
  export { default as LoadingButton } from './entry-points/loading-button';
7
7
  export { default as CustomThemeButton, Theme } from './entry-points/custom-theme-button';
8
- export { default as ButtonGroup } from './entry-points/button-group';
9
-
10
- // New Button
11
- export { UNSAFE_BUTTON } from './entry-points/unsafe';
12
- export { UNSAFE_LINK_BUTTON } from './entry-points/unsafe';
13
- export { UNSAFE_ICON_BUTTON } from './entry-points/unsafe';
14
- export { UNSAFE_LINK_ICON_BUTTON } from './entry-points/unsafe';
15
- export { UNSAFE_SPLIT_BUTTON, UNSAFE_SPLIT_BUTTON_CONTAINER, UNSAFE_DIVIDER, UNSAFE_GET_ACTIONS } from './entry-points/unsafe';
16
- export { UNSAFE_SPLIT_BUTTON_CONTEXT } from './entry-points/unsafe';
8
+ export { default as ButtonGroup } from './entry-points/button-group';
@@ -98,7 +98,7 @@ const useButtonBase = ({
98
98
  action: 'clicked',
99
99
  componentName: 'button',
100
100
  packageName: "@atlaskit/button",
101
- packageVersion: "16.18.1",
101
+ packageVersion: "17.1.0",
102
102
  analyticsData: analyticsContext,
103
103
  actionSubject: buttonType
104
104
  });
@@ -103,7 +103,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
103
103
  action: 'clicked',
104
104
  componentName: 'button',
105
105
  packageName: "@atlaskit/button",
106
- packageVersion: "16.18.1",
106
+ packageVersion: "17.1.0",
107
107
  analyticsData: analyticsContext
108
108
  });
109
109
 
@@ -12,10 +12,15 @@ var buttonGroupStyles = css({
12
12
  export default function ButtonGroup(_ref) {
13
13
  var appearance = _ref.appearance,
14
14
  children = _ref.children,
15
- testId = _ref.testId;
15
+ testId = _ref.testId,
16
+ label = _ref.label,
17
+ titleId = _ref.titleId;
16
18
  return jsx("div", {
17
19
  css: buttonGroupStyles,
18
- "data-testid": testId
20
+ "data-testid": testId,
21
+ role: "group",
22
+ "aria-label": label,
23
+ "aria-labelledby": titleId
19
24
  }, React.Children.map(React.Children.toArray(children), function (child, idx) {
20
25
  if (!child) {
21
26
  return null;
package/dist/esm/index.js CHANGED
@@ -5,12 +5,4 @@ export {
5
5
  default } from './entry-points/standard-button';
6
6
  export { default as LoadingButton } from './entry-points/loading-button';
7
7
  export { default as CustomThemeButton, Theme } from './entry-points/custom-theme-button';
8
- export { default as ButtonGroup } from './entry-points/button-group';
9
-
10
- // New Button
11
- export { UNSAFE_BUTTON } from './entry-points/unsafe';
12
- export { UNSAFE_LINK_BUTTON } from './entry-points/unsafe';
13
- export { UNSAFE_ICON_BUTTON } from './entry-points/unsafe';
14
- export { UNSAFE_LINK_ICON_BUTTON } from './entry-points/unsafe';
15
- export { UNSAFE_SPLIT_BUTTON, UNSAFE_SPLIT_BUTTON_CONTAINER, UNSAFE_DIVIDER, UNSAFE_GET_ACTIONS } from './entry-points/unsafe';
16
- export { UNSAFE_SPLIT_BUTTON_CONTEXT } from './entry-points/unsafe';
8
+ export { default as ButtonGroup } from './entry-points/button-group';
@@ -109,7 +109,7 @@ var useButtonBase = function useButtonBase(_ref) {
109
109
  action: 'clicked',
110
110
  componentName: 'button',
111
111
  packageName: "@atlaskit/button",
112
- packageVersion: "16.18.1",
112
+ packageVersion: "17.1.0",
113
113
  analyticsData: analyticsContext,
114
114
  actionSubject: buttonType
115
115
  });
@@ -109,7 +109,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
109
109
  action: 'clicked',
110
110
  componentName: 'button',
111
111
  packageName: "@atlaskit/button",
112
- packageVersion: "16.18.1",
112
+ packageVersion: "17.1.0",
113
113
  analyticsData: analyticsContext
114
114
  });
115
115
 
@@ -15,5 +15,15 @@ export type ButtonGroupProps = {
15
15
  * A unique string that appears as data attribute `data-testid` in the rendered code, serving as a hook for automated tests.
16
16
  */
17
17
  testId?: string;
18
+ /**
19
+ * Refers to an aria-label attribute. Sets an accessible name for ButtonGroup wrapper to announce it to users of assistive technology.
20
+ * Usage of either this, or the `titleId` attribute is strongly recommended.
21
+ */
22
+ label?: string;
23
+ /**
24
+ * Id referenced by the ButtonGroup wrapper's aria-labelledby attribute. This id should be assigned to the group-button title element.
25
+ * Usage of either this, or the `label` attribute is strongly recommended.
26
+ */
27
+ titleId?: string;
18
28
  };
19
- export default function ButtonGroup({ appearance, children, testId, }: ButtonGroupProps): jsx.JSX.Element;
29
+ export default function ButtonGroup({ appearance, children, testId, label, titleId, }: ButtonGroupProps): jsx.JSX.Element;
@@ -6,9 +6,3 @@ export type { LoadingButtonProps, LoadingButtonOwnProps, } from './entry-points/
6
6
  export { default as CustomThemeButton, Theme, } from './entry-points/custom-theme-button';
7
7
  export type { ThemeTokens, ThemeProps, InteractionState, CustomThemeButtonProps, CustomThemeButtonOwnProps, } from './entry-points/custom-theme-button';
8
8
  export { default as ButtonGroup } from './entry-points/button-group';
9
- export { UNSAFE_BUTTON } from './entry-points/unsafe';
10
- export { UNSAFE_LINK_BUTTON } from './entry-points/unsafe';
11
- export { UNSAFE_ICON_BUTTON } from './entry-points/unsafe';
12
- export { UNSAFE_LINK_ICON_BUTTON } from './entry-points/unsafe';
13
- export { UNSAFE_SPLIT_BUTTON, UNSAFE_SPLIT_BUTTON_CONTAINER, UNSAFE_DIVIDER, UNSAFE_GET_ACTIONS, } from './entry-points/unsafe';
14
- export { UNSAFE_SPLIT_BUTTON_CONTEXT } from './entry-points/unsafe';
@@ -83,7 +83,7 @@ export type CommonButtonVariantProps = AdditionalButtonVariantProps & CombinedBu
83
83
  */
84
84
  export type AdditionalCommonLinkVariantProps<RouterLinkConfig extends Record<string, any> = never> = {
85
85
  /**
86
- * Provides a URL for link buttons. When using an AppProvider with a configured router link component, a `RouterLinkConfig` object type can be provided for advanced usage. See the [Link Button routing example](https://atlassian.design/components/button/button-new/examples#routing) for more details.
86
+ * Provides a URL for link buttons. When using an AppProvider with a configured router link component, a `RouterLinkConfig` object type can be provided for advanced usage. See the [Link Button routing example](/components/button/button-new/examples#routing) for more details.
87
87
  */
88
88
  href: string | RouterLinkConfig;
89
89
  };
@@ -15,5 +15,15 @@ export type ButtonGroupProps = {
15
15
  * A unique string that appears as data attribute `data-testid` in the rendered code, serving as a hook for automated tests.
16
16
  */
17
17
  testId?: string;
18
+ /**
19
+ * Refers to an aria-label attribute. Sets an accessible name for ButtonGroup wrapper to announce it to users of assistive technology.
20
+ * Usage of either this, or the `titleId` attribute is strongly recommended.
21
+ */
22
+ label?: string;
23
+ /**
24
+ * Id referenced by the ButtonGroup wrapper's aria-labelledby attribute. This id should be assigned to the group-button title element.
25
+ * Usage of either this, or the `label` attribute is strongly recommended.
26
+ */
27
+ titleId?: string;
18
28
  };
19
- export default function ButtonGroup({ appearance, children, testId, }: ButtonGroupProps): jsx.JSX.Element;
29
+ export default function ButtonGroup({ appearance, children, testId, label, titleId, }: ButtonGroupProps): jsx.JSX.Element;
@@ -6,9 +6,3 @@ export type { LoadingButtonProps, LoadingButtonOwnProps, } from './entry-points/
6
6
  export { default as CustomThemeButton, Theme, } from './entry-points/custom-theme-button';
7
7
  export type { ThemeTokens, ThemeProps, InteractionState, CustomThemeButtonProps, CustomThemeButtonOwnProps, } from './entry-points/custom-theme-button';
8
8
  export { default as ButtonGroup } from './entry-points/button-group';
9
- export { UNSAFE_BUTTON } from './entry-points/unsafe';
10
- export { UNSAFE_LINK_BUTTON } from './entry-points/unsafe';
11
- export { UNSAFE_ICON_BUTTON } from './entry-points/unsafe';
12
- export { UNSAFE_LINK_ICON_BUTTON } from './entry-points/unsafe';
13
- export { UNSAFE_SPLIT_BUTTON, UNSAFE_SPLIT_BUTTON_CONTAINER, UNSAFE_DIVIDER, UNSAFE_GET_ACTIONS, } from './entry-points/unsafe';
14
- export { UNSAFE_SPLIT_BUTTON_CONTEXT } from './entry-points/unsafe';
@@ -83,7 +83,7 @@ export type CommonButtonVariantProps = AdditionalButtonVariantProps & CombinedBu
83
83
  */
84
84
  export type AdditionalCommonLinkVariantProps<RouterLinkConfig extends Record<string, any> = never> = {
85
85
  /**
86
- * Provides a URL for link buttons. When using an AppProvider with a configured router link component, a `RouterLinkConfig` object type can be provided for advanced usage. See the [Link Button routing example](https://atlassian.design/components/button/button-new/examples#routing) for more details.
86
+ * Provides a URL for link buttons. When using an AppProvider with a configured router link component, a `RouterLinkConfig` object type can be provided for advanced usage. See the [Link Button routing example](/components/button/button-new/examples#routing) for more details.
87
87
  */
88
88
  href: string | RouterLinkConfig;
89
89
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.18.1",
3
+ "version": "17.1.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/"
@@ -36,7 +36,7 @@
36
36
  "title": "Button (new)",
37
37
  "id": "button-new",
38
38
  "status": {
39
- "type": "closed-beta"
39
+ "type": "beta"
40
40
  },
41
41
  "sortKey": 1
42
42
  },
@@ -44,7 +44,7 @@
44
44
  "title": "Icon button",
45
45
  "id": "icon-button",
46
46
  "status": {
47
- "type": "draft"
47
+ "type": "beta"
48
48
  },
49
49
  "sortKey": 2
50
50
  },
@@ -57,7 +57,7 @@
57
57
  "title": "Split button",
58
58
  "id": "split-button",
59
59
  "status": {
60
- "type": "closed-beta"
60
+ "type": "beta"
61
61
  },
62
62
  "sortKey": 4
63
63
  }
@@ -69,7 +69,6 @@
69
69
  "./custom-theme-button": "./src/entry-points/custom-theme-button.tsx",
70
70
  "./loading-button": "./src/entry-points/loading-button.tsx",
71
71
  "./standard-button": "./src/entry-points/standard-button.tsx",
72
- "./unsafe": "./src/entry-points/unsafe.tsx",
73
72
  "./new": "./src/entry-points/new.tsx",
74
73
  "./types": "./src/entry-points/types.tsx",
75
74
  ".": "./src/index.tsx"
@@ -86,10 +85,10 @@
86
85
  "@atlaskit/icon": "^22.0.0",
87
86
  "@atlaskit/interaction-context": "^2.1.0",
88
87
  "@atlaskit/platform-feature-flags": "^0.2.0",
89
- "@atlaskit/primitives": "^1.13.0",
88
+ "@atlaskit/primitives": "^1.15.0",
90
89
  "@atlaskit/spinner": "^16.0.0",
91
90
  "@atlaskit/theme": "^12.6.0",
92
- "@atlaskit/tokens": "^1.29.0",
91
+ "@atlaskit/tokens": "^1.30.0",
93
92
  "@atlaskit/visually-hidden": "^1.2.4",
94
93
  "@babel/runtime": "^7.0.0",
95
94
  "@emotion/react": "^11.7.1"
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- Object.defineProperty(exports, "UNSAFE_BUTTON", {
8
- enumerable: true,
9
- get: function get() {
10
- return _button.default;
11
- }
12
- });
13
- Object.defineProperty(exports, "UNSAFE_DIVIDER", {
14
- enumerable: true,
15
- get: function get() {
16
- return _splitButton.Divider;
17
- }
18
- });
19
- Object.defineProperty(exports, "UNSAFE_GET_ACTIONS", {
20
- enumerable: true,
21
- get: function get() {
22
- return _splitButton.getActions;
23
- }
24
- });
25
- Object.defineProperty(exports, "UNSAFE_ICON_BUTTON", {
26
- enumerable: true,
27
- get: function get() {
28
- return _button2.default;
29
- }
30
- });
31
- Object.defineProperty(exports, "UNSAFE_LINK_BUTTON", {
32
- enumerable: true,
33
- get: function get() {
34
- return _link.default;
35
- }
36
- });
37
- Object.defineProperty(exports, "UNSAFE_LINK_ICON_BUTTON", {
38
- enumerable: true,
39
- get: function get() {
40
- return _link2.default;
41
- }
42
- });
43
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON", {
44
- enumerable: true,
45
- get: function get() {
46
- return _splitButton.SplitButton;
47
- }
48
- });
49
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON_CONTAINER", {
50
- enumerable: true,
51
- get: function get() {
52
- return _splitButton.SplitButtonContainer;
53
- }
54
- });
55
- Object.defineProperty(exports, "UNSAFE_SPLIT_BUTTON_CONTEXT", {
56
- enumerable: true,
57
- get: function get() {
58
- return _splitButtonContext.SplitButtonContext;
59
- }
60
- });
61
- var _button = _interopRequireDefault(require("../new-button/variants/default/button"));
62
- var _link = _interopRequireDefault(require("../new-button/variants/default/link"));
63
- var _button2 = _interopRequireDefault(require("../new-button/variants/icon/button"));
64
- var _link2 = _interopRequireDefault(require("../new-button/variants/icon/link"));
65
- var _splitButton = require("../new-button/containers/split-button");
66
- var _splitButtonContext = require("../new-button/containers/split-button/split-button-context");
@@ -1,6 +0,0 @@
1
- export { default as UNSAFE_BUTTON } from '../new-button/variants/default/button';
2
- export { default as UNSAFE_LINK_BUTTON } from '../new-button/variants/default/link';
3
- export { default as UNSAFE_ICON_BUTTON } from '../new-button/variants/icon/button';
4
- export { default as UNSAFE_LINK_ICON_BUTTON } from '../new-button/variants/icon/link';
5
- export { SplitButton as UNSAFE_SPLIT_BUTTON, SplitButtonContainer as UNSAFE_SPLIT_BUTTON_CONTAINER, Divider as UNSAFE_DIVIDER, getActions as UNSAFE_GET_ACTIONS } from '../new-button/containers/split-button';
6
- export { SplitButtonContext as UNSAFE_SPLIT_BUTTON_CONTEXT } from '../new-button/containers/split-button/split-button-context';
@@ -1,6 +0,0 @@
1
- export { default as UNSAFE_BUTTON } from '../new-button/variants/default/button';
2
- export { default as UNSAFE_LINK_BUTTON } from '../new-button/variants/default/link';
3
- export { default as UNSAFE_ICON_BUTTON } from '../new-button/variants/icon/button';
4
- export { default as UNSAFE_LINK_ICON_BUTTON } from '../new-button/variants/icon/link';
5
- export { SplitButton as UNSAFE_SPLIT_BUTTON, SplitButtonContainer as UNSAFE_SPLIT_BUTTON_CONTAINER, Divider as UNSAFE_DIVIDER, getActions as UNSAFE_GET_ACTIONS } from '../new-button/containers/split-button';
6
- export { SplitButtonContext as UNSAFE_SPLIT_BUTTON_CONTEXT } from '../new-button/containers/split-button/split-button-context';
@@ -1,6 +0,0 @@
1
- export { default as UNSAFE_BUTTON } from '../new-button/variants/default/button';
2
- export { default as UNSAFE_LINK_BUTTON } from '../new-button/variants/default/link';
3
- export { default as UNSAFE_ICON_BUTTON } from '../new-button/variants/icon/button';
4
- export { default as UNSAFE_LINK_ICON_BUTTON } from '../new-button/variants/icon/link';
5
- export { SplitButton as UNSAFE_SPLIT_BUTTON, SplitButtonContainer as UNSAFE_SPLIT_BUTTON_CONTAINER, Divider as UNSAFE_DIVIDER, getActions as UNSAFE_GET_ACTIONS, } from '../new-button/containers/split-button';
6
- export { SplitButtonContext as UNSAFE_SPLIT_BUTTON_CONTEXT } from '../new-button/containers/split-button/split-button-context';
@@ -1,6 +0,0 @@
1
- export { default as UNSAFE_BUTTON } from '../new-button/variants/default/button';
2
- export { default as UNSAFE_LINK_BUTTON } from '../new-button/variants/default/link';
3
- export { default as UNSAFE_ICON_BUTTON } from '../new-button/variants/icon/button';
4
- export { default as UNSAFE_LINK_ICON_BUTTON } from '../new-button/variants/icon/link';
5
- export { SplitButton as UNSAFE_SPLIT_BUTTON, SplitButtonContainer as UNSAFE_SPLIT_BUTTON_CONTAINER, Divider as UNSAFE_DIVIDER, getActions as UNSAFE_GET_ACTIONS, } from '../new-button/containers/split-button';
6
- export { SplitButtonContext as UNSAFE_SPLIT_BUTTON_CONTEXT } from '../new-button/containers/split-button/split-button-context';
@@ -1,15 +0,0 @@
1
- {
2
- "name": "@atlaskit/button/unsafe",
3
- "main": "../dist/cjs/entry-points/unsafe.js",
4
- "module": "../dist/esm/entry-points/unsafe.js",
5
- "module:es2019": "../dist/es2019/entry-points/unsafe.js",
6
- "sideEffects": false,
7
- "types": "../dist/types/entry-points/unsafe.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <4.9": {
10
- "*": [
11
- "../dist/types-ts4.5/entry-points/unsafe.d.ts"
12
- ]
13
- }
14
- }
15
- }