@atlaskit/button 23.5.0 → 23.5.2
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,17 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 23.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 23.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 23.5.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -694,7 +706,6 @@
|
|
|
694
706
|
- [#120669](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120669)
|
|
695
707
|
[`9e1c531090ea4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e1c531090ea4) -
|
|
696
708
|
Removed these deprecated props for overriding icon sizes:
|
|
697
|
-
|
|
698
709
|
- `UNSAFE_size`
|
|
699
710
|
- `UNSAFE_iconBefore_size`
|
|
700
711
|
- `UNSAFE_iconAfter_size`
|
|
@@ -819,7 +830,6 @@
|
|
|
819
830
|
[`d7af9e23536c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7af9e23536c0) -
|
|
820
831
|
New button prevents unintended spread props being passed to children. The following props will now
|
|
821
832
|
be ignored:
|
|
822
|
-
|
|
823
833
|
- css
|
|
824
834
|
- style
|
|
825
835
|
- as
|
|
@@ -1988,7 +1998,6 @@ import { SplitButton } from '@atlaskit/button/new';
|
|
|
1988
1998
|
`testId` to control `data-testid`
|
|
1989
1999
|
|
|
1990
2000
|
We have:
|
|
1991
|
-
|
|
1992
2001
|
- Improved the types of button so that if you pass in `data-testid` or `data-has-overlay` you will
|
|
1993
2002
|
get a type warning
|
|
1994
2003
|
- Added a _codemod_ to shift over any usages of `data-testid` to `testId` on any of our buttons
|
|
@@ -2373,7 +2382,6 @@ content. This approach had a number of shortcomings.
|
|
|
2373
2382
|
|
|
2374
2383
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
2375
2384
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2376
|
-
|
|
2377
2385
|
- @atlaskit/docs@8.3.2
|
|
2378
2386
|
- @atlaskit/visual-regression@0.1.9
|
|
2379
2387
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -2521,12 +2529,10 @@ content. This approach had a number of shortcomings.
|
|
|
2521
2529
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
2522
2530
|
|
|
2523
2531
|
**Breaking changes**
|
|
2524
|
-
|
|
2525
2532
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
2526
2533
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
2527
2534
|
|
|
2528
2535
|
**Breaking changes to TypeScript annotations**
|
|
2529
|
-
|
|
2530
2536
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
2531
2537
|
props as a generic type.
|
|
2532
2538
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -2583,7 +2589,6 @@ content. This approach had a number of shortcomings.
|
|
|
2583
2589
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
2584
2590
|
|
|
2585
2591
|
In this PR, we are:
|
|
2586
|
-
|
|
2587
2592
|
- Re-introducing dist build folders
|
|
2588
2593
|
- Adding back cjs
|
|
2589
2594
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -2675,7 +2680,6 @@ content. This approach had a number of shortcomings.
|
|
|
2675
2680
|
## 13.0.5
|
|
2676
2681
|
|
|
2677
2682
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
2678
|
-
|
|
2679
2683
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
2680
2684
|
Request #5942 for details
|
|
2681
2685
|
|
|
@@ -2689,7 +2693,6 @@ content. This approach had a number of shortcomings.
|
|
|
2689
2693
|
## 13.0.3
|
|
2690
2694
|
|
|
2691
2695
|
- [patch][2a2d2060ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a2d2060ae):
|
|
2692
|
-
|
|
2693
2696
|
- Fixing invalid style for isLoading button
|
|
2694
2697
|
|
|
2695
2698
|
## 13.0.2
|
|
@@ -2703,13 +2706,11 @@ content. This approach had a number of shortcomings.
|
|
|
2703
2706
|
## 13.0.1
|
|
2704
2707
|
|
|
2705
2708
|
- [patch][754f83b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/754f83b6f0):
|
|
2706
|
-
|
|
2707
2709
|
- Makes dependency on @atlaskit/spinner a caret version. No API or behaviour changes.
|
|
2708
2710
|
|
|
2709
2711
|
## 13.0.0
|
|
2710
2712
|
|
|
2711
2713
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2712
|
-
|
|
2713
2714
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
2714
2715
|
this package, please ensure you use at least this version of react and react-dom.
|
|
2715
2716
|
|
|
@@ -2724,19 +2725,16 @@ content. This approach had a number of shortcomings.
|
|
|
2724
2725
|
## 12.0.6
|
|
2725
2726
|
|
|
2726
2727
|
- [patch][e0e3fabf8e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0e3fabf8e):
|
|
2727
|
-
|
|
2728
2728
|
- Change button to use theme's multiple entry points. This should reduce the bundle size of button
|
|
2729
2729
|
|
|
2730
2730
|
## 12.0.5
|
|
2731
2731
|
|
|
2732
2732
|
- [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
|
|
2733
|
-
|
|
2734
2733
|
- Removes babel-runtime in favour of @babel/runtime
|
|
2735
2734
|
|
|
2736
2735
|
## 12.0.4
|
|
2737
2736
|
|
|
2738
2737
|
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
2739
|
-
|
|
2740
2738
|
- Bump tslib
|
|
2741
2739
|
|
|
2742
2740
|
## 12.0.3
|
|
@@ -2753,7 +2751,6 @@ content. This approach had a number of shortcomings.
|
|
|
2753
2751
|
## 12.0.2
|
|
2754
2752
|
|
|
2755
2753
|
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
2756
|
-
|
|
2757
2754
|
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
2758
2755
|
supplied from itself.
|
|
2759
2756
|
|
|
@@ -2768,7 +2765,6 @@ content. This approach had a number of shortcomings.
|
|
|
2768
2765
|
- [major][1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
2769
2766
|
|
|
2770
2767
|
**Highlights**
|
|
2771
|
-
|
|
2772
2768
|
- **New theming API** - Button now supports the new Atlaskit theming API, which allows for
|
|
2773
2769
|
powerful custom theming of Buttons and its internal components.
|
|
2774
2770
|
- **Speed improvements** - Button has been re-written from the ground up - on heavy-load
|
|
@@ -2777,7 +2773,6 @@ content. This approach had a number of shortcomings.
|
|
|
2777
2773
|
Emotion across all Atlaskit components.
|
|
2778
2774
|
|
|
2779
2775
|
**Breaking Changes:**
|
|
2780
|
-
|
|
2781
2776
|
- The old theming API is no longer supported.
|
|
2782
2777
|
- Styling a Button using Styled Components is no longer supported.
|
|
2783
2778
|
- Button exports a Theme to use as context instead of using Styled Components' ThemeProvider.
|
|
@@ -2789,31 +2784,26 @@ content. This approach had a number of shortcomings.
|
|
|
2789
2784
|
## 11.0.11
|
|
2790
2785
|
|
|
2791
2786
|
- [patch][f8d92ffc5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8d92ffc5e):
|
|
2792
|
-
|
|
2793
2787
|
- Revert the change to consume entry points from theme
|
|
2794
2788
|
|
|
2795
2789
|
## 11.0.10
|
|
2796
2790
|
|
|
2797
2791
|
- [patch][5e3ad7f751](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e3ad7f751):
|
|
2798
|
-
|
|
2799
2792
|
- Importing theme components from the root theme package instead of the theme build file
|
|
2800
2793
|
|
|
2801
2794
|
## 11.0.9
|
|
2802
2795
|
|
|
2803
2796
|
- [patch][872b3b905a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/872b3b905a):
|
|
2804
|
-
|
|
2805
2797
|
- Updates theme to the version which exposes multiple entry points
|
|
2806
2798
|
|
|
2807
2799
|
## 11.0.8
|
|
2808
2800
|
|
|
2809
2801
|
- [patch][22ce87801e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/22ce87801e):
|
|
2810
|
-
|
|
2811
2802
|
- Optimised usages of theme in button using multiple entry points
|
|
2812
2803
|
|
|
2813
2804
|
## 11.0.7
|
|
2814
2805
|
|
|
2815
2806
|
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
2816
|
-
|
|
2817
2807
|
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
2818
2808
|
|
|
2819
2809
|
## 11.0.6
|
|
@@ -2825,7 +2815,6 @@ content. This approach had a number of shortcomings.
|
|
|
2825
2815
|
## 11.0.5
|
|
2826
2816
|
|
|
2827
2817
|
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
2828
|
-
|
|
2829
2818
|
- Removes duplicate babel-runtime dependency
|
|
2830
2819
|
|
|
2831
2820
|
## 11.0.4
|
|
@@ -2837,25 +2826,21 @@ content. This approach had a number of shortcomings.
|
|
|
2837
2826
|
## 11.0.3
|
|
2838
2827
|
|
|
2839
2828
|
- [patch][59d4ab031b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59d4ab031b):
|
|
2840
|
-
|
|
2841
2829
|
- Call mouse handlers (e.g. onMouseDown) which are passed in as props
|
|
2842
2830
|
|
|
2843
2831
|
## 11.0.2
|
|
2844
2832
|
|
|
2845
2833
|
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
2846
|
-
|
|
2847
2834
|
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
2848
2835
|
|
|
2849
2836
|
## 11.0.1
|
|
2850
2837
|
|
|
2851
2838
|
- [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
|
|
2852
|
-
|
|
2853
2839
|
- Fix broken type-helpers
|
|
2854
2840
|
|
|
2855
2841
|
## 11.0.0
|
|
2856
2842
|
|
|
2857
2843
|
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
2858
|
-
|
|
2859
2844
|
- Dropped ES5 distributables from the typescript packages
|
|
2860
2845
|
|
|
2861
2846
|
## 10.1.3
|
|
@@ -2892,7 +2877,6 @@ content. This approach had a number of shortcomings.
|
|
|
2892
2877
|
## 10.1.0
|
|
2893
2878
|
|
|
2894
2879
|
- [minor][36929ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36929ef):
|
|
2895
|
-
|
|
2896
2880
|
- Add reset as it is listed as a valid type for button and is useful when building forms
|
|
2897
2881
|
|
|
2898
2882
|
## 10.0.4
|
|
@@ -2908,7 +2892,6 @@ content. This approach had a number of shortcomings.
|
|
|
2908
2892
|
## 10.0.3
|
|
2909
2893
|
|
|
2910
2894
|
- [patch][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
|
|
2911
|
-
|
|
2912
2895
|
- Convert @atlaskit/textarea to Typescript
|
|
2913
2896
|
- Dist paths have changed, if you are importing by exact file path you will need to update your
|
|
2914
2897
|
imports `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
|
|
@@ -2917,7 +2900,6 @@ content. This approach had a number of shortcomings.
|
|
|
2917
2900
|
## 10.0.2
|
|
2918
2901
|
|
|
2919
2902
|
- [patch][8f89287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f89287):
|
|
2920
|
-
|
|
2921
2903
|
- Add tslib to dependencies to stop load breaking when it's not there
|
|
2922
2904
|
|
|
2923
2905
|
## 10.0.1
|
|
@@ -2930,7 +2912,6 @@ content. This approach had a number of shortcomings.
|
|
|
2930
2912
|
## 10.0.0
|
|
2931
2913
|
|
|
2932
2914
|
- [major][6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
2933
|
-
|
|
2934
2915
|
- Converted @atlaskit/button to Typescript
|
|
2935
2916
|
- Dist paths have changed, if you are importing by exact file path you will need to update your
|
|
2936
2917
|
imports
|
|
@@ -132,7 +132,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
|
|
|
132
132
|
action: 'clicked',
|
|
133
133
|
componentName: 'button',
|
|
134
134
|
packageName: "@atlaskit/button",
|
|
135
|
-
packageVersion: "
|
|
135
|
+
packageVersion: "23.5.1",
|
|
136
136
|
analyticsData: analyticsContext
|
|
137
137
|
});
|
|
138
138
|
|
|
@@ -119,7 +119,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref)
|
|
|
119
119
|
action: 'clicked',
|
|
120
120
|
componentName: 'button',
|
|
121
121
|
packageName: "@atlaskit/button",
|
|
122
|
-
packageVersion: "
|
|
122
|
+
packageVersion: "23.5.1",
|
|
123
123
|
analyticsData: analyticsContext
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -125,7 +125,7 @@ var ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
125
125
|
action: 'clicked',
|
|
126
126
|
componentName: 'button',
|
|
127
127
|
packageName: "@atlaskit/button",
|
|
128
|
-
packageVersion: "
|
|
128
|
+
packageVersion: "23.5.1",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "23.5.
|
|
3
|
+
"version": "23.5.2",
|
|
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/"
|
|
@@ -75,20 +75,20 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
78
|
-
"@atlaskit/css": "^0.
|
|
78
|
+
"@atlaskit/css": "^0.15.0",
|
|
79
79
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
80
80
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
81
|
-
"@atlaskit/icon": "^28.
|
|
81
|
+
"@atlaskit/icon": "^28.5.0",
|
|
82
82
|
"@atlaskit/interaction-context": "^3.1.0",
|
|
83
83
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
84
|
-
"@atlaskit/primitives": "^
|
|
84
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
85
85
|
"@atlaskit/spinner": "^19.0.0",
|
|
86
86
|
"@atlaskit/theme": "^21.0.0",
|
|
87
|
-
"@atlaskit/tokens": "^
|
|
87
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
88
88
|
"@atlaskit/tooltip": "^20.5.0",
|
|
89
89
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
90
90
|
"@babel/runtime": "^7.0.0",
|
|
91
|
-
"@compiled/react": "^0.18.
|
|
91
|
+
"@compiled/react": "^0.18.6",
|
|
92
92
|
"@emotion/react": "^11.7.1"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"@af/visual-regression": "workspace:^",
|
|
101
101
|
"@atlaskit/app-provider": "^3.2.0",
|
|
102
102
|
"@atlaskit/checkbox": "^17.1.0",
|
|
103
|
-
"@atlaskit/docs": "^11.
|
|
103
|
+
"@atlaskit/docs": "^11.2.0",
|
|
104
104
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
105
105
|
"@atlaskit/form": "^14.2.0",
|
|
106
106
|
"@atlaskit/heading": "^5.2.0",
|
|
107
107
|
"@atlaskit/link": "^3.2.0",
|
|
108
|
-
"@atlaskit/logo": "^19.
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
108
|
+
"@atlaskit/logo": "^19.9.0",
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
110
110
|
"@atlaskit/section-message": "^8.7.0",
|
|
111
111
|
"@atlaskit/select": "^21.3.0",
|
|
112
112
|
"@atlaskit/ssr": "workspace:^",
|