@atlaskit/atlassian-navigation 6.1.0 → 6.1.1

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,13 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 6.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`820f00bd7db09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/820f00bd7db09) -
8
+ Enable platform-dst-motion-uplift-button by default in constellation examples so button motion is
9
+ previewed in component demos. Docs/examples-only; no change to shipped component behaviour.
10
+
3
11
  ## 6.1.0
4
12
 
5
13
  ### 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',
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',
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',
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',
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,15 +36,15 @@
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
42
  "@atlaskit/icon": "^36.1.0",
43
43
  "@atlaskit/logo": "^21.2.0",
44
44
  "@atlaskit/popup": "^5.1.0",
45
- "@atlaskit/primitives": "^20.1.0",
45
+ "@atlaskit/primitives": "^20.2.0",
46
46
  "@atlaskit/react-compiler-gating": "^0.2.0",
47
- "@atlaskit/tokens": "^15.1.0",
47
+ "@atlaskit/tokens": "^15.2.0",
48
48
  "@atlaskit/tooltip": "^23.1.0",
49
49
  "@atlaskit/width-detector": "^6.1.0",
50
50
  "@babel/runtime": "^7.0.0",