@atlaskit/atlassian-navigation 6.1.0 → 6.1.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,19 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 6.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`820f00bd7db09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/820f00bd7db09) -
14
+ Enable platform-dst-motion-uplift-button by default in constellation examples so button motion is
15
+ previewed in component demos. Docs/examples-only; no change to shipped component behaviour.
16
+
3
17
  ## 6.1.0
4
18
 
5
19
  ### Minor Changes
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Structured MCP docs for `@atlaskit/atlassian-navigation`.
3
+ */
4
+
5
+ import path from 'path';
6
+
7
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
8
+
9
+ import packageJson from './package.json';
10
+
11
+ const packagePath = path.resolve(__dirname);
12
+
13
+ const documentation: StructuredContentSource = {
14
+ package: {
15
+ package: '@atlaskit/atlassian-navigation',
16
+ packagePath,
17
+ packageJson,
18
+ overview:
19
+ 'A horizontal navigation component for Atlassian apps. It provides a consistent navigation experience across Atlassian products, including support for product home, primary navigation items, search, notifications, and user profile.',
20
+ },
21
+ components: [
22
+ {
23
+ name: 'AtlassianNavigation',
24
+ description:
25
+ 'The main container for horizontal navigation. It coordinates the layout of various navigation elements like product home, primary items, and global actions.',
26
+ status: 'deprecated',
27
+ import: {
28
+ name: 'AtlassianNavigation',
29
+ package: '@atlaskit/atlassian-navigation/atlassian-navigation',
30
+ type: 'named',
31
+ packagePath,
32
+ packageJson,
33
+ },
34
+ usageGuidelines: [
35
+ 'This package is deprecated. Use the new navigation system instead.',
36
+ 'Provide `renderProductHome`, `primaryItems`, and other render props to customize the navigation content.',
37
+ ],
38
+ keywords: ['navigation', 'atlassian', 'horizontal-nav'],
39
+ categories: ['navigation'],
40
+ examples: [
41
+ {
42
+ name: 'Default navigation',
43
+ description: 'Basic usage of AtlassianNavigation.',
44
+ source: path.resolve(
45
+ packagePath,
46
+ './examples/constellation/atlassian-navigation-default.tsx',
47
+ ),
48
+ },
49
+ {
50
+ name: 'Jira integration',
51
+ description: 'Example of AtlassianNavigation integrated with Jira-like items.',
52
+ source: path.resolve(packagePath, './examples/00-jira-integration-example.tsx'),
53
+ },
54
+ {
55
+ name: 'Anonymous example',
56
+ description: 'Navigation for unauthenticated users.',
57
+ source: path.resolve(packagePath, './examples/20-anonymous-example.tsx'),
58
+ },
59
+ ],
60
+ },
61
+ {
62
+ name: 'ProductHome',
63
+ description:
64
+ 'A component to display the product logo and name, typically used as the first item in the navigation.',
65
+ status: 'deprecated',
66
+ import: {
67
+ name: 'ProductHome',
68
+ package: '@atlaskit/atlassian-navigation/product-home',
69
+ type: 'named',
70
+ packagePath,
71
+ packageJson,
72
+ },
73
+ usageGuidelines: [
74
+ 'Use `ProductHome` for standard Atlassian product logos.',
75
+ 'Use `CustomProductHome` if you need to provide a custom logo or icon.',
76
+ ],
77
+ keywords: ['navigation', 'logo', 'product-home'],
78
+ categories: ['navigation'],
79
+ examples: [
80
+ {
81
+ name: 'Product home',
82
+ description: 'Basic usage of ProductHome.',
83
+ source: path.resolve(packagePath, './examples/product-home.tsx'),
84
+ },
85
+ ],
86
+ },
87
+ {
88
+ name: 'PrimaryButton',
89
+ description: 'A button component used for primary navigation items.',
90
+ status: 'deprecated',
91
+ import: {
92
+ name: 'PrimaryButton',
93
+ package: '@atlaskit/atlassian-navigation/primary-button',
94
+ type: 'named',
95
+ packagePath,
96
+ packageJson,
97
+ },
98
+ usageGuidelines: [
99
+ 'Use `PrimaryButton` for top-level navigation items that do not have sub-menus.',
100
+ ],
101
+ keywords: ['navigation', 'button', 'primary'],
102
+ categories: ['navigation'],
103
+ examples: [
104
+ {
105
+ name: 'Primary button',
106
+ description: 'Basic usage of PrimaryButton.',
107
+ source: path.resolve(packagePath, './examples/primary-button.tsx'),
108
+ },
109
+ ],
110
+ },
111
+ {
112
+ name: 'Search',
113
+ description: 'A search component integrated into the navigation bar.',
114
+ status: 'deprecated',
115
+ import: {
116
+ name: 'Search',
117
+ package: '@atlaskit/atlassian-navigation/search',
118
+ type: 'named',
119
+ packagePath,
120
+ packageJson,
121
+ },
122
+ usageGuidelines: ['Use `Search` to provide a search input in the navigation.'],
123
+ keywords: ['navigation', 'search'],
124
+ categories: ['navigation'],
125
+ examples: [
126
+ {
127
+ name: 'Search',
128
+ description: 'Basic usage of Search.',
129
+ source: path.resolve(packagePath, './examples/search.tsx'),
130
+ },
131
+ ],
132
+ },
133
+ ],
134
+ };
135
+
136
+ export default documentation;
package/compass.yml ADDED
@@ -0,0 +1,47 @@
1
+ configVersion: 1
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/8c9feb11-bdf3-4cd5-9bee-90f99a5f40fc
3
+ name: '@atlaskit/atlassian-navigation'
4
+ ownerId: ari:cloud:teams::team/814283d6-8695-4329-b2f8-d78b2645722f # Design System Team (ADS)
5
+ labels:
6
+ - platform-code
7
+ - platform-afm
8
+ typeId: OTHER
9
+ fields:
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ links:
14
+ - name: Root Repository
15
+ type: REPOSITORY
16
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
+ - name: Slack Channel
18
+ type: CHAT_CHANNEL
19
+ url: https://atlassian.enterprise.slack.com/archives/CFJ9DU39U # #help-design-system
20
+ - name: Atlassian Navigation
21
+ type: REPOSITORY
22
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/design-system/atlassian-navigation
23
+ customFields:
24
+ - name: Department
25
+ type: text
26
+ value: Eng - Design System Fundamentals
27
+ - name: Technical Owner
28
+ type: user
29
+ value: ari:cloud:identity::user/557058:86a9b692-7997-49cb-9984-080801b1de91 # Jared Crowe
30
+ - name: Reviewer Team
31
+ type: text
32
+ value: ari:cloud:teams::team/be19136e-6275-419f-be0c-fcee844b8684 # Design System Engineers
33
+ - name: Required Reviewers Opt In
34
+ type: boolean
35
+ value: true
36
+ - name: Reviewer Selection Mechanism
37
+ type: text
38
+ value: random(3)
39
+ - name: Required Reviewer Approvals
40
+ type: number
41
+ value: 1
42
+ - name: Trusted Committers
43
+ type: text
44
+ value: ari:cloud:teams::team/814283d6-8695-4329-b2f8-d78b2645722f # Design System Team (ADS)
45
+ - name: Trusted Reviewer Teams
46
+ type: text
47
+ value: ari:cloud:teams::team/42f4416b-e028-4daa-b2a5-afe213ac75e1 # Design System Designers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,17 +36,17 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
39
- "@atlaskit/button": "^24.2.0",
39
+ "@atlaskit/button": "^24.3.0",
40
40
  "@atlaskit/css": "1.0.1",
41
41
  "@atlaskit/ds-lib": "^8.0.0",
42
- "@atlaskit/icon": "^36.1.0",
43
- "@atlaskit/logo": "^21.2.0",
42
+ "@atlaskit/icon": "^37.0.0",
43
+ "@atlaskit/logo": "^21.4.0",
44
44
  "@atlaskit/popup": "^5.1.0",
45
- "@atlaskit/primitives": "^20.1.0",
45
+ "@atlaskit/primitives": "^20.5.0",
46
46
  "@atlaskit/react-compiler-gating": "^0.2.0",
47
- "@atlaskit/tokens": "^15.1.0",
47
+ "@atlaskit/tokens": "^15.5.0",
48
48
  "@atlaskit/tooltip": "^23.1.0",
49
- "@atlaskit/width-detector": "^6.1.0",
49
+ "@atlaskit/width-detector": "^6.2.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "chromatism": "^2.6.0",
@@ -59,21 +59,21 @@
59
59
  "@af/accessibility-testing": "workspace:^",
60
60
  "@af/integration-testing": "workspace:^",
61
61
  "@af/visual-regression": "workspace:^",
62
- "@atlaskit/analytics-next": "^12.1.0",
62
+ "@atlaskit/analytics-next": "^12.2.0",
63
63
  "@atlaskit/atlassian-notifications": "^1.0.0",
64
64
  "@atlaskit/avatar": "^26.1.0",
65
65
  "@atlaskit/badge": "^19.1.0",
66
66
  "@atlaskit/docs": "^12.0.0",
67
- "@atlaskit/drawer": "^13.1.0",
67
+ "@atlaskit/drawer": "^13.3.0",
68
68
  "@atlaskit/dropdown-menu": "^17.1.0",
69
69
  "@atlaskit/form": "^16.1.0",
70
- "@atlaskit/menu": "^9.1.0",
70
+ "@atlaskit/menu": "^9.2.0",
71
71
  "@atlaskit/notification-indicator": "^11.1.0",
72
- "@atlaskit/notification-log-client": "^9.0.0",
72
+ "@atlaskit/notification-log-client": "^10.0.0",
73
73
  "@atlaskit/section-message": "^9.2.0",
74
74
  "@atlaskit/spinner": "^20.1.0",
75
75
  "@atlaskit/textfield": "^9.1.0",
76
- "@atlassian/switcher": "^48.6.0",
76
+ "@atlassian/switcher": "^48.7.0",
77
77
  "@atlassian/switcher-test-utils": "^8.5.0",
78
78
  "@testing-library/react": "^16.3.0",
79
79
  "@testing-library/user-event": "^14.4.3",