@atlaskit/button 20.3.4 → 20.3.6

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,19 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 20.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
8
+ [`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
9
+ Internal changes to typography.
10
+
11
+ ## 20.3.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 20.3.4
4
18
 
5
19
  ### Patch Changes
@@ -133,7 +133,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
133
133
  action: 'clicked',
134
134
  componentName: 'button',
135
135
  packageName: "@atlaskit/button",
136
- packageVersion: "20.3.4",
136
+ packageVersion: "20.3.6",
137
137
  analyticsData: analyticsContext
138
138
  });
139
139
 
@@ -228,7 +228,7 @@ function getCss(_ref3) {
228
228
  fontStyle: 'normal',
229
229
  // Chrome recently changed button so that they use 'arial' as the font family
230
230
  fontFamily: 'inherit',
231
- fontWeight: 500,
231
+ fontWeight: "var(--ds-font-weight-medium, 500)",
232
232
  // margin for button has been applied to css reset
233
233
  maxWidth: '100%',
234
234
  // Needed to position overlay
@@ -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: "20.3.4",
122
+ packageVersion: "20.3.6",
123
123
  analyticsData: analyticsContext
124
124
  });
125
125
 
@@ -222,7 +222,7 @@ export function getCss({
222
222
  fontStyle: 'normal',
223
223
  // Chrome recently changed button so that they use 'arial' as the font family
224
224
  fontFamily: 'inherit',
225
- fontWeight: 500,
225
+ fontWeight: "var(--ds-font-weight-medium, 500)",
226
226
  // margin for button has been applied to css reset
227
227
  maxWidth: '100%',
228
228
  // Needed to position overlay
@@ -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: "20.3.4",
128
+ packageVersion: "20.3.6",
129
129
  analyticsData: analyticsContext
130
130
  });
131
131
 
@@ -220,7 +220,7 @@ export function getCss(_ref3) {
220
220
  fontStyle: 'normal',
221
221
  // Chrome recently changed button so that they use 'arial' as the font family
222
222
  fontFamily: 'inherit',
223
- fontWeight: 500,
223
+ fontWeight: "var(--ds-font-weight-medium, 500)",
224
224
  // margin for button has been applied to css reset
225
225
  maxWidth: '100%',
226
226
  // Needed to position overlay
@@ -3,4 +3,4 @@ export { default as LinkButton, type LinkButtonProps } from '../new-button/varia
3
3
  export { default as IconButton, type IconButtonProps } from '../new-button/variants/icon/button';
4
4
  export { default as LinkIconButton, type LinkIconButtonProps, } from '../new-button/variants/icon/link';
5
5
  export { SplitButton } from '../new-button/containers/split-button';
6
- export type { Appearance, Spacing } from '../new-button/variants/types';
6
+ export type { Appearance, Spacing, IconProp, IconButtonSpacing, IconButtonAppearance, } from '../new-button/variants/types';
@@ -41,12 +41,12 @@ declare const LinkButtonRender: React.ForwardRefExoticComponent<Omit<LinkButtonP
41
41
  href?: string | undefined;
42
42
  } & React.RefAttributes<HTMLAnchorElement>>;
43
43
  declare const IconButtonRender: React.ForwardRefExoticComponent<Omit<IconButtonProps, "label" | "icon"> & {
44
- icon?: import("../new-button/variants/types").IconProp | undefined;
44
+ icon?: import("../entry-points/new").IconProp | undefined;
45
45
  label?: IconButtonProps['label'];
46
46
  } & React.RefAttributes<HTMLButtonElement>>;
47
47
  declare const LinkIconButtonRender: React.ForwardRefExoticComponent<Omit<LinkIconButtonProps, "label" | "href" | "icon"> & {
48
48
  href?: string | undefined;
49
- icon?: import("../new-button/variants/types").IconProp | undefined;
49
+ icon?: import("../entry-points/new").IconProp | undefined;
50
50
  label?: LinkIconButtonProps['label'];
51
51
  } & React.RefAttributes<HTMLAnchorElement>>;
52
52
  declare const variants: Variant[];
@@ -3,4 +3,4 @@ export { default as LinkButton, type LinkButtonProps } from '../new-button/varia
3
3
  export { default as IconButton, type IconButtonProps } from '../new-button/variants/icon/button';
4
4
  export { default as LinkIconButton, type LinkIconButtonProps, } from '../new-button/variants/icon/link';
5
5
  export { SplitButton } from '../new-button/containers/split-button';
6
- export type { Appearance, Spacing } from '../new-button/variants/types';
6
+ export type { Appearance, Spacing, IconProp, IconButtonSpacing, IconButtonAppearance, } from '../new-button/variants/types';
@@ -41,12 +41,12 @@ declare const LinkButtonRender: React.ForwardRefExoticComponent<Omit<LinkButtonP
41
41
  href?: string | undefined;
42
42
  } & React.RefAttributes<HTMLAnchorElement>>;
43
43
  declare const IconButtonRender: React.ForwardRefExoticComponent<Omit<IconButtonProps, "label" | "icon"> & {
44
- icon?: import("../new-button/variants/types").IconProp | undefined;
44
+ icon?: import("../entry-points/new").IconProp | undefined;
45
45
  label?: IconButtonProps['label'];
46
46
  } & React.RefAttributes<HTMLButtonElement>>;
47
47
  declare const LinkIconButtonRender: React.ForwardRefExoticComponent<Omit<LinkIconButtonProps, "label" | "href" | "icon"> & {
48
48
  href?: string | undefined;
49
- icon?: import("../new-button/variants/types").IconProp | undefined;
49
+ icon?: import("../entry-points/new").IconProp | undefined;
50
50
  label?: LinkIconButtonProps['label'];
51
51
  } & React.RefAttributes<HTMLAnchorElement>>;
52
52
  declare const variants: Variant[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "20.3.4",
3
+ "version": "20.3.6",
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,17 +84,17 @@
84
84
  ".": "./src/index.tsx"
85
85
  },
86
86
  "dependencies": {
87
- "@atlaskit/analytics-next": "^10.1.0",
87
+ "@atlaskit/analytics-next": "^10.2.0",
88
88
  "@atlaskit/ds-lib": "^3.3.0",
89
89
  "@atlaskit/focus-ring": "^2.0.0",
90
- "@atlaskit/icon": "^23.0.0",
91
- "@atlaskit/interaction-context": "^2.1.0",
90
+ "@atlaskit/icon": "^23.1.0",
91
+ "@atlaskit/interaction-context": "^2.2.0",
92
92
  "@atlaskit/platform-feature-flags": "^0.3.0",
93
93
  "@atlaskit/primitives": "^13.3.0",
94
94
  "@atlaskit/spinner": "^16.3.0",
95
95
  "@atlaskit/theme": "^14.0.0",
96
96
  "@atlaskit/tokens": "^2.4.0",
97
- "@atlaskit/tooltip": "^18.9.0",
97
+ "@atlaskit/tooltip": "^19.0.0",
98
98
  "@atlaskit/visually-hidden": "^1.5.0",
99
99
  "@babel/runtime": "^7.0.0",
100
100
  "@emotion/react": "^11.7.1"
@@ -107,7 +107,7 @@
107
107
  "@af/integration-testing": "*",
108
108
  "@af/visual-regression": "*",
109
109
  "@atlaskit/app-provider": "^1.4.0",
110
- "@atlaskit/calendar": "^15.1.0",
110
+ "@atlaskit/calendar": "^16.0.0",
111
111
  "@atlaskit/checkbox": "^15.2.0",
112
112
  "@atlaskit/dropdown-menu": "^12.23.0",
113
113
  "@atlaskit/ssr": "*",