@atlaskit/button 23.5.1 → 23.5.3

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