@atlaskit/button 18.1.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 +23 -0
- package/dist/cjs/new-button/containers/split-button/split-button.js +33 -15
- package/dist/cjs/new-button/variants/shared/use-button-base.js +9 -3
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/cjs/old-button/shared/css.js +130 -12
- package/dist/es2019/new-button/containers/split-button/split-button.js +33 -16
- package/dist/es2019/new-button/variants/shared/use-button-base.js +10 -4
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/es2019/old-button/shared/css.js +193 -61
- package/dist/esm/new-button/containers/split-button/split-button.js +34 -16
- package/dist/esm/new-button/variants/shared/use-button-base.js +10 -4
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/esm/old-button/shared/css.js +130 -12
- package/dist/types/new-button/containers/split-button/split-button.d.ts +9 -3
- package/dist/types-ts4.5/new-button/containers/split-button/split-button.d.ts +9 -3
- package/package.json +4 -4
|
@@ -17,9 +17,10 @@ export declare const Divider: ({ appearance, spacing, isDisabled }: DividerProps
|
|
|
17
17
|
/**
|
|
18
18
|
* TODO: Add JSdoc
|
|
19
19
|
*/
|
|
20
|
-
export declare const SplitButtonContainer: ({ appearance, children, }: {
|
|
20
|
+
export declare const SplitButtonContainer: ({ appearance, children, isDisabled, }: {
|
|
21
21
|
appearance: SplitButtonAppearance;
|
|
22
22
|
children: ReactNode;
|
|
23
|
+
isDisabled?: boolean | undefined;
|
|
23
24
|
}) => jsx.JSX.Element;
|
|
24
25
|
/**
|
|
25
26
|
* __Split Button__
|
|
@@ -37,10 +38,15 @@ type SplitButtonWithSlotsProps = {
|
|
|
37
38
|
appearance?: SplitButtonAppearance;
|
|
38
39
|
spacing?: SplitButtonSpacing;
|
|
39
40
|
isDisabled?: boolean;
|
|
40
|
-
isSelected?: boolean;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
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)
|
|
44
50
|
*/
|
|
45
51
|
export declare const SplitButtonWithSlots: ({ primaryAction, secondaryAction, appearance, spacing, isDisabled, }: SplitButtonWithSlotsProps) => jsx.JSX.Element;
|
|
46
52
|
export {};
|
|
@@ -17,9 +17,10 @@ export declare const Divider: ({ appearance, spacing, isDisabled }: DividerProps
|
|
|
17
17
|
/**
|
|
18
18
|
* TODO: Add JSdoc
|
|
19
19
|
*/
|
|
20
|
-
export declare const SplitButtonContainer: ({ appearance, children, }: {
|
|
20
|
+
export declare const SplitButtonContainer: ({ appearance, children, isDisabled, }: {
|
|
21
21
|
appearance: SplitButtonAppearance;
|
|
22
22
|
children: ReactNode;
|
|
23
|
+
isDisabled?: boolean | undefined;
|
|
23
24
|
}) => jsx.JSX.Element;
|
|
24
25
|
/**
|
|
25
26
|
* __Split Button__
|
|
@@ -37,10 +38,15 @@ type SplitButtonWithSlotsProps = {
|
|
|
37
38
|
appearance?: SplitButtonAppearance;
|
|
38
39
|
spacing?: SplitButtonSpacing;
|
|
39
40
|
isDisabled?: boolean;
|
|
40
|
-
isSelected?: boolean;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
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)
|
|
44
50
|
*/
|
|
45
51
|
export declare const SplitButtonWithSlots: ({ primaryAction, secondaryAction, appearance, spacing, isDisabled, }: SplitButtonWithSlotsProps) => jsx.JSX.Element;
|
|
46
52
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "18.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"@atlaskit/app-provider": "^1.3.0",
|
|
156
156
|
"@atlaskit/calendar": "^14.3.0",
|
|
157
157
|
"@atlaskit/checkbox": "^13.5.0",
|
|
158
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
158
|
+
"@atlaskit/dropdown-menu": "^12.14.0",
|
|
159
159
|
"@atlaskit/ssr": "*",
|
|
160
160
|
"@atlaskit/toggle": "^13.2.0",
|
|
161
161
|
"@atlaskit/visual-regression": "*",
|