@atlaskit/atlassian-navigation 3.0.2 → 3.0.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,11 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 3.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#63677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63677) [`f320c8ce5039`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f320c8ce5039) - This package has been added to the Jira push model.
8
+
3
9
  ## 3.0.2
4
10
 
5
11
  ### Patch Changes
@@ -10,7 +10,7 @@ var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/quest
10
10
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
11
11
  var _theme = require("./theme");
12
12
  /**
13
- * __Skeleton Notification button__
13
+ * __Skeleton notification button__
14
14
  *
15
15
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
16
16
  * their heavier interactive counterparts, for use when elements of the
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _notification = _interopRequireDefault(require("@atlaskit/icon/glyph/notification"));
10
10
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
11
11
  /**
12
- * __Skeleton Notification button__
12
+ * __Skeleton notification button__
13
13
  *
14
14
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
15
15
  * their heavier interactive counterparts, for use when elements of the
@@ -3,7 +3,7 @@ import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
3
3
  import { SkeletonIconButton } from './components/SkeletonIconButton';
4
4
  import { useTheme } from './theme';
5
5
  /**
6
- * __Skeleton Notification button__
6
+ * __Skeleton notification button__
7
7
  *
8
8
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
9
9
  * their heavier interactive counterparts, for use when elements of the
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import NotificationIcon from '@atlaskit/icon/glyph/notification';
3
3
  import { SkeletonIconButton } from './components/SkeletonIconButton';
4
4
  /**
5
- * __Skeleton Notification button__
5
+ * __Skeleton notification button__
6
6
  *
7
7
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
8
8
  * their heavier interactive counterparts, for use when elements of the
@@ -3,7 +3,7 @@ import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
3
3
  import { SkeletonIconButton } from './components/SkeletonIconButton';
4
4
  import { useTheme } from './theme';
5
5
  /**
6
- * __Skeleton Notification button__
6
+ * __Skeleton notification button__
7
7
  *
8
8
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
9
9
  * their heavier interactive counterparts, for use when elements of the
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import NotificationIcon from '@atlaskit/icon/glyph/notification';
3
3
  import { SkeletonIconButton } from './components/SkeletonIconButton';
4
4
  /**
5
- * __Skeleton Notification button__
5
+ * __Skeleton notification button__
6
6
  *
7
7
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
8
8
  * their heavier interactive counterparts, for use when elements of the
@@ -3,12 +3,12 @@ import { LogoProps } from '@atlaskit/logo';
3
3
  export interface ProductHomeProps {
4
4
  /**
5
5
  * The product icon.
6
- * Expected to be an Icon from the Atlaskit Logo package. Visible on smaller screen sizes
6
+ * Expected to be an Icon from the Atlaskit Logo package. Visible on smaller screen sizes.
7
7
  */
8
8
  icon: ComponentType<Partial<LogoProps>>;
9
9
  /**
10
10
  * The product logo,
11
- * visible on larger screen sizes
11
+ * visible on larger screen sizes.
12
12
  */
13
13
  logo: ComponentType<Partial<LogoProps>>;
14
14
  /**
@@ -81,7 +81,7 @@ export interface CustomProductHomeProps {
81
81
  */
82
82
  href?: string;
83
83
  /**
84
- * Name of the site that appears next to the logo
84
+ * Name of the site that appears next to the logo.
85
85
  */
86
86
  siteTitle?: string;
87
87
  /**
@@ -5,8 +5,8 @@ export type SearchProps = BaseIconButtonProps & {
5
5
  */
6
6
  placeholder: string;
7
7
  /**
8
- * Used to describe the search icon and text field for users viewing the
9
- * page with a screen reader
8
+ * Used to describe the search icon and text field for people viewing the
9
+ * page with a screen reader.
10
10
  */
11
11
  label: string;
12
12
  /**
@@ -10,7 +10,7 @@ export type SkeletonPrimaryButtonProps = {
10
10
  */
11
11
  children?: ReactNode;
12
12
  /**
13
- * Sets the appearance of the skeleton button to look like a dropdown button
13
+ * Sets the appearance of the skeleton button to look like a dropdown button.
14
14
  */
15
15
  isDropdownButton?: boolean;
16
16
  /**
@@ -2,12 +2,12 @@
2
2
  export type SkeletonHelpButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
9
9
  /**
10
- * __Skeleton Notification button__
10
+ * __Skeleton notification button__
11
11
  *
12
12
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
13
13
  * their heavier interactive counterparts, for use when elements of the
@@ -2,12 +2,12 @@
2
2
  export type SkeletonNotificationButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
9
9
  /**
10
- * __Skeleton Notification button__
10
+ * __Skeleton notification button__
11
11
  *
12
12
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
13
13
  * their heavier interactive counterparts, for use when elements of the
@@ -2,7 +2,7 @@
2
2
  export type SkeletonSettingsButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  export type SkeletonSwitcherButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
@@ -3,12 +3,12 @@ import { LogoProps } from '@atlaskit/logo';
3
3
  export interface ProductHomeProps {
4
4
  /**
5
5
  * The product icon.
6
- * Expected to be an Icon from the Atlaskit Logo package. Visible on smaller screen sizes
6
+ * Expected to be an Icon from the Atlaskit Logo package. Visible on smaller screen sizes.
7
7
  */
8
8
  icon: ComponentType<Partial<LogoProps>>;
9
9
  /**
10
10
  * The product logo,
11
- * visible on larger screen sizes
11
+ * visible on larger screen sizes.
12
12
  */
13
13
  logo: ComponentType<Partial<LogoProps>>;
14
14
  /**
@@ -81,7 +81,7 @@ export interface CustomProductHomeProps {
81
81
  */
82
82
  href?: string;
83
83
  /**
84
- * Name of the site that appears next to the logo
84
+ * Name of the site that appears next to the logo.
85
85
  */
86
86
  siteTitle?: string;
87
87
  /**
@@ -5,8 +5,8 @@ export type SearchProps = BaseIconButtonProps & {
5
5
  */
6
6
  placeholder: string;
7
7
  /**
8
- * Used to describe the search icon and text field for users viewing the
9
- * page with a screen reader
8
+ * Used to describe the search icon and text field for people viewing the
9
+ * page with a screen reader.
10
10
  */
11
11
  label: string;
12
12
  /**
@@ -10,7 +10,7 @@ export type SkeletonPrimaryButtonProps = {
10
10
  */
11
11
  children?: ReactNode;
12
12
  /**
13
- * Sets the appearance of the skeleton button to look like a dropdown button
13
+ * Sets the appearance of the skeleton button to look like a dropdown button.
14
14
  */
15
15
  isDropdownButton?: boolean;
16
16
  /**
@@ -2,12 +2,12 @@
2
2
  export type SkeletonHelpButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
9
9
  /**
10
- * __Skeleton Notification button__
10
+ * __Skeleton notification button__
11
11
  *
12
12
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
13
13
  * their heavier interactive counterparts, for use when elements of the
@@ -2,12 +2,12 @@
2
2
  export type SkeletonNotificationButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
9
9
  /**
10
- * __Skeleton Notification button__
10
+ * __Skeleton notification button__
11
11
  *
12
12
  * Skeleton buttons are lightweight HTML button elements with CSS that represent
13
13
  * their heavier interactive counterparts, for use when elements of the
@@ -2,7 +2,7 @@
2
2
  export type SkeletonSettingsButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  export type SkeletonSwitcherButtonProps = {
3
3
  /**
4
4
  * Describes the specific role of this navigation component for users viewing the page with a screen
5
- * reader. Differentiates from other navigation buttons on a page.
5
+ * reader. Use this to differentiate the buttons from other navigation buttons on a page.
6
6
  */
7
7
  label: string;
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,23 +26,26 @@
26
26
  "team": "Design System Team",
27
27
  "deprecatedAutoEntryPoints": true,
28
28
  "releaseModel": "continuous",
29
+ "productPushConsumption": [
30
+ "jira"
31
+ ],
29
32
  "website": {
30
33
  "name": "Atlassian navigation",
31
34
  "category": "Components"
32
35
  }
33
36
  },
34
37
  "dependencies": {
35
- "@atlaskit/analytics-namespaced-context": "^6.7.0",
36
- "@atlaskit/button": "^17.1.0",
38
+ "@atlaskit/analytics-namespaced-context": "^6.9.0",
39
+ "@atlaskit/button": "^17.2.0",
37
40
  "@atlaskit/ds-lib": "^2.2.0",
38
41
  "@atlaskit/icon": "^22.0.0",
39
42
  "@atlaskit/logo": "*",
40
43
  "@atlaskit/platform-feature-flags": "^0.2.0",
41
44
  "@atlaskit/popup": "^1.11.0",
42
- "@atlaskit/primitives": "^1.15.0",
45
+ "@atlaskit/primitives": "^1.17.0",
43
46
  "@atlaskit/theme": "^12.6.0",
44
- "@atlaskit/tokens": "^1.30.0",
45
- "@atlaskit/tooltip": "^18.0.0",
47
+ "@atlaskit/tokens": "^1.33.0",
48
+ "@atlaskit/tooltip": "^18.1.0",
46
49
  "@atlaskit/width-detector": "^4.1.0",
47
50
  "@babel/runtime": "^7.0.0",
48
51
  "@emotion/react": "^11.7.1",