@atlaskit/button 18.2.0 → 18.3.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,13 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 18.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#118362](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/118362)
8
+ [`743ff30e960c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/743ff30e960c1) -
9
+ Remove unused prop `isSelected` from Split button.
10
+
3
11
  ## 18.2.0
4
12
 
5
13
  ### Minor Changes
@@ -163,8 +163,16 @@ var SplitButton = exports.SplitButton = function SplitButton(_ref3) {
163
163
  css: secondaryButtonStyles
164
164
  }, SecondaryAction)));
165
165
  };
166
+ // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
167
+ // Remove links that the component does not have (such as usage). If there are no links remove them all.
166
168
  /**
167
- * TODO: Decide on API
169
+ * __Split button with slots__
170
+ *
171
+ * A split button with slots {description}.
172
+ *
173
+ * - [Examples](https://atlassian.design/components/{packageName}/examples)
174
+ * - [Code](https://atlassian.design/components/{packageName}/code)
175
+ * - [Usage](https://atlassian.design/components/{packageName}/usage)
168
176
  */
169
177
  var SplitButtonWithSlots = exports.SplitButtonWithSlots = function SplitButtonWithSlots(_ref4) {
170
178
  var primaryAction = _ref4.primaryAction,
@@ -133,7 +133,7 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
133
133
  action: 'clicked',
134
134
  componentName: 'button',
135
135
  packageName: "@atlaskit/button",
136
- packageVersion: "18.2.0",
136
+ packageVersion: "18.3.0",
137
137
  analyticsData: analyticsContext
138
138
  });
139
139
 
@@ -155,8 +155,16 @@ export const SplitButton = ({
155
155
  css: secondaryButtonStyles
156
156
  }, SecondaryAction)));
157
157
  };
158
+ // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
159
+ // Remove links that the component does not have (such as usage). If there are no links remove them all.
158
160
  /**
159
- * TODO: Decide on API
161
+ * __Split button with slots__
162
+ *
163
+ * A split button with slots {description}.
164
+ *
165
+ * - [Examples](https://atlassian.design/components/{packageName}/examples)
166
+ * - [Code](https://atlassian.design/components/{packageName}/code)
167
+ * - [Usage](https://atlassian.design/components/{packageName}/usage)
160
168
  */
161
169
  export const SplitButtonWithSlots = ({
162
170
  primaryAction,
@@ -119,7 +119,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
119
119
  action: 'clicked',
120
120
  componentName: 'button',
121
121
  packageName: "@atlaskit/button",
122
- packageVersion: "18.2.0",
122
+ packageVersion: "18.3.0",
123
123
  analyticsData: analyticsContext
124
124
  });
125
125
 
@@ -156,8 +156,16 @@ export var SplitButton = function SplitButton(_ref3) {
156
156
  css: secondaryButtonStyles
157
157
  }, SecondaryAction)));
158
158
  };
159
+ // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
160
+ // Remove links that the component does not have (such as usage). If there are no links remove them all.
159
161
  /**
160
- * TODO: Decide on API
162
+ * __Split button with slots__
163
+ *
164
+ * A split button with slots {description}.
165
+ *
166
+ * - [Examples](https://atlassian.design/components/{packageName}/examples)
167
+ * - [Code](https://atlassian.design/components/{packageName}/code)
168
+ * - [Usage](https://atlassian.design/components/{packageName}/usage)
161
169
  */
162
170
  export var SplitButtonWithSlots = function SplitButtonWithSlots(_ref4) {
163
171
  var primaryAction = _ref4.primaryAction,
@@ -125,7 +125,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
125
125
  action: 'clicked',
126
126
  componentName: 'button',
127
127
  packageName: "@atlaskit/button",
128
- packageVersion: "18.2.0",
128
+ packageVersion: "18.3.0",
129
129
  analyticsData: analyticsContext
130
130
  });
131
131
 
@@ -38,10 +38,15 @@ type SplitButtonWithSlotsProps = {
38
38
  appearance?: SplitButtonAppearance;
39
39
  spacing?: SplitButtonSpacing;
40
40
  isDisabled?: boolean;
41
- isSelected?: boolean;
42
41
  };
43
42
  /**
44
- * TODO: Decide on API
43
+ * __Split button with slots__
44
+ *
45
+ * A split button with slots {description}.
46
+ *
47
+ * - [Examples](https://atlassian.design/components/{packageName}/examples)
48
+ * - [Code](https://atlassian.design/components/{packageName}/code)
49
+ * - [Usage](https://atlassian.design/components/{packageName}/usage)
45
50
  */
46
51
  export declare const SplitButtonWithSlots: ({ primaryAction, secondaryAction, appearance, spacing, isDisabled, }: SplitButtonWithSlotsProps) => jsx.JSX.Element;
47
52
  export {};
@@ -38,10 +38,15 @@ type SplitButtonWithSlotsProps = {
38
38
  appearance?: SplitButtonAppearance;
39
39
  spacing?: SplitButtonSpacing;
40
40
  isDisabled?: boolean;
41
- isSelected?: boolean;
42
41
  };
43
42
  /**
44
- * TODO: Decide on API
43
+ * __Split button with slots__
44
+ *
45
+ * A split button with slots {description}.
46
+ *
47
+ * - [Examples](https://atlassian.design/components/{packageName}/examples)
48
+ * - [Code](https://atlassian.design/components/{packageName}/code)
49
+ * - [Usage](https://atlassian.design/components/{packageName}/usage)
45
50
  */
46
51
  export declare const SplitButtonWithSlots: ({ primaryAction, secondaryAction, appearance, spacing, isDisabled, }: SplitButtonWithSlotsProps) => jsx.JSX.Element;
47
52
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "18.2.0",
3
+ "version": "18.3.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/"
@@ -132,10 +132,10 @@
132
132
  "@atlaskit/analytics-next": "^9.3.0",
133
133
  "@atlaskit/ds-lib": "^2.3.0",
134
134
  "@atlaskit/focus-ring": "^1.5.0",
135
- "@atlaskit/icon": "^22.5.0",
135
+ "@atlaskit/icon": "^22.6.0",
136
136
  "@atlaskit/interaction-context": "^2.1.0",
137
137
  "@atlaskit/platform-feature-flags": "^0.3.0",
138
- "@atlaskit/primitives": "^10.0.0",
138
+ "@atlaskit/primitives": "^10.1.0",
139
139
  "@atlaskit/spinner": "^16.2.0",
140
140
  "@atlaskit/theme": "^12.11.0",
141
141
  "@atlaskit/tokens": "^1.53.0",