@atlaskit/button 23.5.1 → 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,11 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 23.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 23.5.1
4
10
 
5
11
  ### Patch Changes
@@ -700,7 +706,6 @@
700
706
  - [#120669](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120669)
701
707
  [`9e1c531090ea4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e1c531090ea4) -
702
708
  Removed these deprecated props for overriding icon sizes:
703
-
704
709
  - `UNSAFE_size`
705
710
  - `UNSAFE_iconBefore_size`
706
711
  - `UNSAFE_iconAfter_size`
@@ -825,7 +830,6 @@
825
830
  [`d7af9e23536c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7af9e23536c0) -
826
831
  New button prevents unintended spread props being passed to children. The following props will now
827
832
  be ignored:
828
-
829
833
  - css
830
834
  - style
831
835
  - as
@@ -1994,7 +1998,6 @@ import { SplitButton } from '@atlaskit/button/new';
1994
1998
  `testId` to control `data-testid`
1995
1999
 
1996
2000
  We have:
1997
-
1998
2001
  - Improved the types of button so that if you pass in `data-testid` or `data-has-overlay` you will
1999
2002
  get a type warning
2000
2003
  - Added a _codemod_ to shift over any usages of `data-testid` to `testId` on any of our buttons
@@ -2379,7 +2382,6 @@ content. This approach had a number of shortcomings.
2379
2382
 
2380
2383
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
2381
2384
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
2382
-
2383
2385
  - @atlaskit/docs@8.3.2
2384
2386
  - @atlaskit/visual-regression@0.1.9
2385
2387
  - @atlaskit/analytics-next@6.3.5
@@ -2527,12 +2529,10 @@ content. This approach had a number of shortcomings.
2527
2529
  safety. Flow types are no longer provided. No behavioural changes.
2528
2530
 
2529
2531
  **Breaking changes**
2530
-
2531
2532
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
2532
2533
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
2533
2534
 
2534
2535
  **Breaking changes to TypeScript annotations**
2535
-
2536
2536
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
2537
2537
  props as a generic type.
2538
2538
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -2589,7 +2589,6 @@ content. This approach had a number of shortcomings.
2589
2589
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
2590
2590
 
2591
2591
  In this PR, we are:
2592
-
2593
2592
  - Re-introducing dist build folders
2594
2593
  - Adding back cjs
2595
2594
  - Replacing es5 by cjs and es2015 by esm
@@ -2681,7 +2680,6 @@ content. This approach had a number of shortcomings.
2681
2680
  ## 13.0.5
2682
2681
 
2683
2682
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
2684
-
2685
2683
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
2686
2684
  Request #5942 for details
2687
2685
 
@@ -2695,7 +2693,6 @@ content. This approach had a number of shortcomings.
2695
2693
  ## 13.0.3
2696
2694
 
2697
2695
  - [patch][2a2d2060ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a2d2060ae):
2698
-
2699
2696
  - Fixing invalid style for isLoading button
2700
2697
 
2701
2698
  ## 13.0.2
@@ -2709,13 +2706,11 @@ content. This approach had a number of shortcomings.
2709
2706
  ## 13.0.1
2710
2707
 
2711
2708
  - [patch][754f83b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/754f83b6f0):
2712
-
2713
2709
  - Makes dependency on @atlaskit/spinner a caret version. No API or behaviour changes.
2714
2710
 
2715
2711
  ## 13.0.0
2716
2712
 
2717
2713
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2718
-
2719
2714
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
2720
2715
  this package, please ensure you use at least this version of react and react-dom.
2721
2716
 
@@ -2730,19 +2725,16 @@ content. This approach had a number of shortcomings.
2730
2725
  ## 12.0.6
2731
2726
 
2732
2727
  - [patch][e0e3fabf8e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0e3fabf8e):
2733
-
2734
2728
  - Change button to use theme's multiple entry points. This should reduce the bundle size of button
2735
2729
 
2736
2730
  ## 12.0.5
2737
2731
 
2738
2732
  - [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
2739
-
2740
2733
  - Removes babel-runtime in favour of @babel/runtime
2741
2734
 
2742
2735
  ## 12.0.4
2743
2736
 
2744
2737
  - [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
2745
-
2746
2738
  - Bump tslib
2747
2739
 
2748
2740
  ## 12.0.3
@@ -2759,7 +2751,6 @@ content. This approach had a number of shortcomings.
2759
2751
  ## 12.0.2
2760
2752
 
2761
2753
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
2762
-
2763
2754
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
2764
2755
  supplied from itself.
2765
2756
 
@@ -2774,7 +2765,6 @@ content. This approach had a number of shortcomings.
2774
2765
  - [major][1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
2775
2766
 
2776
2767
  **Highlights**
2777
-
2778
2768
  - **New theming API** - Button now supports the new Atlaskit theming API, which allows for
2779
2769
  powerful custom theming of Buttons and its internal components.
2780
2770
  - **Speed improvements** - Button has been re-written from the ground up - on heavy-load
@@ -2783,7 +2773,6 @@ content. This approach had a number of shortcomings.
2783
2773
  Emotion across all Atlaskit components.
2784
2774
 
2785
2775
  **Breaking Changes:**
2786
-
2787
2776
  - The old theming API is no longer supported.
2788
2777
  - Styling a Button using Styled Components is no longer supported.
2789
2778
  - Button exports a Theme to use as context instead of using Styled Components' ThemeProvider.
@@ -2795,31 +2784,26 @@ content. This approach had a number of shortcomings.
2795
2784
  ## 11.0.11
2796
2785
 
2797
2786
  - [patch][f8d92ffc5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8d92ffc5e):
2798
-
2799
2787
  - Revert the change to consume entry points from theme
2800
2788
 
2801
2789
  ## 11.0.10
2802
2790
 
2803
2791
  - [patch][5e3ad7f751](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e3ad7f751):
2804
-
2805
2792
  - Importing theme components from the root theme package instead of the theme build file
2806
2793
 
2807
2794
  ## 11.0.9
2808
2795
 
2809
2796
  - [patch][872b3b905a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/872b3b905a):
2810
-
2811
2797
  - Updates theme to the version which exposes multiple entry points
2812
2798
 
2813
2799
  ## 11.0.8
2814
2800
 
2815
2801
  - [patch][22ce87801e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/22ce87801e):
2816
-
2817
2802
  - Optimised usages of theme in button using multiple entry points
2818
2803
 
2819
2804
  ## 11.0.7
2820
2805
 
2821
2806
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
2822
-
2823
2807
  - Enable esModuleInterop for typescript, this allows correct use of default exports
2824
2808
 
2825
2809
  ## 11.0.6
@@ -2831,7 +2815,6 @@ content. This approach had a number of shortcomings.
2831
2815
  ## 11.0.5
2832
2816
 
2833
2817
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
2834
-
2835
2818
  - Removes duplicate babel-runtime dependency
2836
2819
 
2837
2820
  ## 11.0.4
@@ -2843,25 +2826,21 @@ content. This approach had a number of shortcomings.
2843
2826
  ## 11.0.3
2844
2827
 
2845
2828
  - [patch][59d4ab031b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59d4ab031b):
2846
-
2847
2829
  - Call mouse handlers (e.g. onMouseDown) which are passed in as props
2848
2830
 
2849
2831
  ## 11.0.2
2850
2832
 
2851
2833
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
2852
-
2853
2834
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
2854
2835
 
2855
2836
  ## 11.0.1
2856
2837
 
2857
2838
  - [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
2858
-
2859
2839
  - Fix broken type-helpers
2860
2840
 
2861
2841
  ## 11.0.0
2862
2842
 
2863
2843
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
2864
-
2865
2844
  - Dropped ES5 distributables from the typescript packages
2866
2845
 
2867
2846
  ## 10.1.3
@@ -2898,7 +2877,6 @@ content. This approach had a number of shortcomings.
2898
2877
  ## 10.1.0
2899
2878
 
2900
2879
  - [minor][36929ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36929ef):
2901
-
2902
2880
  - Add reset as it is listed as a valid type for button and is useful when building forms
2903
2881
 
2904
2882
  ## 10.0.4
@@ -2914,7 +2892,6 @@ content. This approach had a number of shortcomings.
2914
2892
  ## 10.0.3
2915
2893
 
2916
2894
  - [patch][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
2917
-
2918
2895
  - Convert @atlaskit/textarea to Typescript
2919
2896
  - Dist paths have changed, if you are importing by exact file path you will need to update your
2920
2897
  imports `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
@@ -2923,7 +2900,6 @@ content. This approach had a number of shortcomings.
2923
2900
  ## 10.0.2
2924
2901
 
2925
2902
  - [patch][8f89287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f89287):
2926
-
2927
2903
  - Add tslib to dependencies to stop load breaking when it's not there
2928
2904
 
2929
2905
  ## 10.0.1
@@ -2936,7 +2912,6 @@ content. This approach had a number of shortcomings.
2936
2912
  ## 10.0.0
2937
2913
 
2938
2914
  - [major][6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
2939
-
2940
2915
  - Converted @atlaskit/button to Typescript
2941
2916
  - Dist paths have changed, if you are importing by exact file path you will need to update your
2942
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: "0.0.0-development",
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: "0.0.0-development",
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: "0.0.0-development",
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.1",
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/"
@@ -84,11 +84,11 @@
84
84
  "@atlaskit/primitives": "^15.0.0",
85
85
  "@atlaskit/spinner": "^19.0.0",
86
86
  "@atlaskit/theme": "^21.0.0",
87
- "@atlaskit/tokens": "^6.5.0",
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.3",
91
+ "@compiled/react": "^0.18.6",
92
92
  "@emotion/react": "^11.7.1"
93
93
  },
94
94
  "peerDependencies": {
@@ -100,7 +100,7 @@
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.1.0",
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",