@atlaskit/portal 5.5.2 → 5.5.4

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,17 @@
1
1
  # @atlaskit/portal
2
2
 
3
+ ## 5.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.5.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 5.5.2
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/portal",
3
- "version": "5.5.2",
3
+ "version": "5.5.4",
4
4
  "description": "A wrapper for rendering components in React portals.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@atlaskit/app-provider": "^4.3.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/theme": "^23.2.0",
44
+ "@atlaskit/theme": "^25.0.0",
45
45
  "@babel/runtime": "^7.0.0"
46
46
  },
47
47
  "peerDependencies": {
@@ -56,16 +56,16 @@
56
56
  "@atlaskit/code": "^17.5.0",
57
57
  "@atlaskit/css": "^0.19.0",
58
58
  "@atlaskit/docs": "^11.8.0",
59
- "@atlaskit/flag": "^17.11.0",
60
- "@atlaskit/icon": "^34.5.0",
59
+ "@atlaskit/flag": "^17.12.0",
60
+ "@atlaskit/icon": "^35.1.0",
61
61
  "@atlaskit/inline-dialog": "^18.1.0",
62
62
  "@atlaskit/link": "^3.4.0",
63
- "@atlaskit/modal-dialog": "^15.0.0",
63
+ "@atlaskit/modal-dialog": "^15.2.0",
64
64
  "@atlaskit/onboarding": "^14.6.0",
65
65
  "@atlaskit/primitives": "^19.0.0",
66
- "@atlaskit/section-message": "^8.12.0",
66
+ "@atlaskit/section-message": "^8.13.0",
67
67
  "@atlaskit/tokens": "^13.0.0",
68
- "@atlaskit/tooltip": "^22.1.0",
68
+ "@atlaskit/tooltip": "^22.3.0",
69
69
  "@atlassian/feature-flags-test-utils": "^1.1.0",
70
70
  "@atlassian/react-compiler-gating": "workspace:^",
71
71
  "@atlassian/ssr-tests": "workspace:^",
@@ -73,7 +73,9 @@
73
73
  "@compiled/react": "^0.20.0",
74
74
  "@testing-library/react": "^16.3.0",
75
75
  "bind-event-listener": "^3.0.0",
76
- "raf-stub": "^2.0.1"
76
+ "raf-stub": "^2.0.1",
77
+ "react": "^18.2.0",
78
+ "react-dom": "^18.2.0"
77
79
  },
78
80
  "keywords": [
79
81
  "atlaskit",
package/portal.docs.tsx CHANGED
@@ -1,46 +1,48 @@
1
1
  import path from 'path';
2
2
 
3
- import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
3
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
4
4
 
5
- const documentation: ComponentStructuredContentSource[] = [
6
- {
7
- name: 'Portal',
8
- description: 'A component for rendering content outside the normal DOM hierarchy.',
9
- status: 'general-availability',
10
- import: {
5
+ const documentation: StructuredContentSource = {
6
+ components: [
7
+ {
11
8
  name: 'Portal',
12
- package: '@atlaskit/portal',
13
- type: 'default',
14
- packagePath: path.resolve(__dirname),
15
- packageJson: require('./package.json'),
16
- },
17
- usageGuidelines: [
18
- 'Use for rendering content outside normal DOM',
19
- 'Consider z-index and positioning',
20
- 'Handle focus management appropriately',
21
- 'Use for modals and overlays',
22
- ],
23
- contentGuidelines: [
24
- 'Ensure portaled content is accessible',
25
- 'Consider content context and purpose',
26
- 'Use appropriate portal placement',
27
- ],
28
- accessibilityGuidelines: [
29
- 'Ensure proper focus management',
30
- 'Consider screen reader accessibility',
31
- 'Use appropriate ARIA attributes',
32
- 'Handle keyboard navigation',
33
- ],
34
- examples: [
35
- {
9
+ description: 'A component for rendering content outside the normal DOM hierarchy.',
10
+ status: 'general-availability',
11
+ import: {
36
12
  name: 'Portal',
37
- description: 'Portal example',
38
- source: path.resolve(__dirname, './examples/ai/portal.tsx'),
13
+ package: '@atlaskit/portal',
14
+ type: 'default',
15
+ packagePath: path.resolve(__dirname),
16
+ packageJson: require('./package.json'),
39
17
  },
40
- ],
41
- keywords: ['portal', 'render', 'dom', 'mount', 'teleport'],
42
- categories: ['utility'],
43
- },
44
- ];
18
+ usageGuidelines: [
19
+ 'Use for rendering content outside normal DOM',
20
+ 'Consider z-index and positioning',
21
+ 'Handle focus management appropriately',
22
+ 'Use for modals and overlays',
23
+ ],
24
+ contentGuidelines: [
25
+ 'Ensure portaled content is accessible',
26
+ 'Consider content context and purpose',
27
+ 'Use appropriate portal placement',
28
+ ],
29
+ accessibilityGuidelines: [
30
+ 'Ensure proper focus management',
31
+ 'Consider screen reader accessibility',
32
+ 'Use appropriate ARIA attributes',
33
+ 'Handle keyboard navigation',
34
+ ],
35
+ examples: [
36
+ {
37
+ name: 'Portal',
38
+ description: 'Portal example',
39
+ source: path.resolve(__dirname, './examples/ai/portal.tsx'),
40
+ },
41
+ ],
42
+ keywords: ['portal', 'render', 'dom', 'mount', 'teleport'],
43
+ categories: ['utility'],
44
+ },
45
+ ],
46
+ };
45
47
 
46
48
  export default documentation;