@atlaskit/menu 2.1.4 → 2.1.5

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/menu
2
2
 
3
+ ## 2.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.1.4
4
10
 
5
11
  ### Patch Changes
@@ -111,7 +111,7 @@ export interface SectionProps {
111
111
  };
112
112
  /**
113
113
  * The text passed into the internal HeadingItem. If a title is not provided,
114
- * the HeadingItem will not be rendered, and this component acts as a regular Section
114
+ * the HeadingItem will not be rendered, and this component acts as a regular Section.
115
115
  */
116
116
  title?: string;
117
117
  /**
@@ -282,12 +282,12 @@ export interface CustomItemProps<TCustomComponentProps = CustomItemComponentProp
282
282
  /**
283
283
  Custom component to render as an item. This can be both a functional component or a class component.
284
284
 
285
- __Will return `null` if no component is defined.__
285
+ __Will return `null` if no component is defined__.
286
286
 
287
287
  Props passed to `CustomItem` will be passed down to this component. If the props for `component` have TypeScript types,
288
288
  CustomItem will extend them, providing type safety for your custom item.
289
289
 
290
- e.g. `<CustomItem to="/link" component={RouterLink} />`
290
+ E.g. `<CustomItem to="/link" component={RouterLink} />`.
291
291
 
292
292
  __NOTE:__ Make sure the reference for this component does not change between renders else undefined behavior may happen.
293
293
  */
@@ -111,7 +111,7 @@ export interface SectionProps {
111
111
  };
112
112
  /**
113
113
  * The text passed into the internal HeadingItem. If a title is not provided,
114
- * the HeadingItem will not be rendered, and this component acts as a regular Section
114
+ * the HeadingItem will not be rendered, and this component acts as a regular Section.
115
115
  */
116
116
  title?: string;
117
117
  /**
@@ -282,12 +282,12 @@ export interface CustomItemProps<TCustomComponentProps = CustomItemComponentProp
282
282
  /**
283
283
  Custom component to render as an item. This can be both a functional component or a class component.
284
284
 
285
- __Will return `null` if no component is defined.__
285
+ __Will return `null` if no component is defined__.
286
286
 
287
287
  Props passed to `CustomItem` will be passed down to this component. If the props for `component` have TypeScript types,
288
288
  CustomItem will extend them, providing type safety for your custom item.
289
289
 
290
- e.g. `<CustomItem to="/link" component={RouterLink} />`
290
+ E.g. `<CustomItem to="/link" component={RouterLink} />`.
291
291
 
292
292
  __NOTE:__ Make sure the reference for this component does not change between renders else undefined behavior may happen.
293
293
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,9 +45,9 @@
45
45
  "@atlaskit/ds-lib": "^2.2.0",
46
46
  "@atlaskit/focus-ring": "^1.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^0.2.0",
48
- "@atlaskit/primitives": "^1.15.0",
48
+ "@atlaskit/primitives": "^2.0.0",
49
49
  "@atlaskit/theme": "^12.6.0",
50
- "@atlaskit/tokens": "^1.30.0",
50
+ "@atlaskit/tokens": "^1.35.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1"
53
53
  },
@@ -60,7 +60,6 @@
60
60
  "@af/integration-testing": "*",
61
61
  "@af/visual-regression": "*",
62
62
  "@atlaskit/visual-regression": "*",
63
- "@atlaskit/webdriver-runner": "*",
64
63
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
65
64
  "@atlassian/feature-flags-test-utils": "*",
66
65
  "@emotion/jest": "^11.8.0",