@atlaskit/modal-dialog 16.1.1 → 16.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 +6 -0
- package/compass.yml +47 -0
- package/dist/cjs/internal/components/modal-wrapper.js +1 -1
- package/dist/es2019/internal/components/modal-wrapper.js +1 -1
- package/dist/esm/internal/components/modal-wrapper.js +1 -1
- package/modal-dialog.docs.tsx +15 -11
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
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/84e40e46-f6db-41d6-ac1f-b508ab37ccd6
|
|
3
|
+
name: '@atlaskit/modal-dialog'
|
|
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: Modal Dialog
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/design-system/modal-dialog
|
|
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
|
|
@@ -114,7 +114,7 @@ var InternalModalWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
114
114
|
action: 'closed',
|
|
115
115
|
componentName: 'modalDialog',
|
|
116
116
|
packageName: "@atlaskit/modal-dialog",
|
|
117
|
-
packageVersion: "16.1.
|
|
117
|
+
packageVersion: "16.1.1"
|
|
118
118
|
});
|
|
119
119
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
120
120
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -100,7 +100,7 @@ const InternalModalWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
100
100
|
action: 'closed',
|
|
101
101
|
componentName: 'modalDialog',
|
|
102
102
|
packageName: "@atlaskit/modal-dialog",
|
|
103
|
-
packageVersion: "16.1.
|
|
103
|
+
packageVersion: "16.1.1"
|
|
104
104
|
});
|
|
105
105
|
const onBlanketClicked = useCallback(e => {
|
|
106
106
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -105,7 +105,7 @@ var InternalModalWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
105
105
|
action: 'closed',
|
|
106
106
|
componentName: 'modalDialog',
|
|
107
107
|
packageName: "@atlaskit/modal-dialog",
|
|
108
|
-
packageVersion: "16.1.
|
|
108
|
+
packageVersion: "16.1.1"
|
|
109
109
|
});
|
|
110
110
|
var onBlanketClicked = useCallback(function (e) {
|
|
111
111
|
if (shouldCloseOnOverlayClick) {
|
package/modal-dialog.docs.tsx
CHANGED
|
@@ -8,6 +8,10 @@ const documentation: StructuredContentSource = {
|
|
|
8
8
|
name: 'Modal',
|
|
9
9
|
description: 'A modal dialog component for important content.',
|
|
10
10
|
status: 'general-availability',
|
|
11
|
+
designSource: {
|
|
12
|
+
figmaUrl:
|
|
13
|
+
'https://www.figma.com/design/BGz5AdkWe3yTIYdKnTSZuY/ADS-Components?node-id=82128-80670',
|
|
14
|
+
},
|
|
11
15
|
import: {
|
|
12
16
|
name: 'Modal',
|
|
13
17
|
package: '@atlaskit/modal-dialog',
|
|
@@ -57,8 +61,8 @@ const documentation: StructuredContentSource = {
|
|
|
57
61
|
status: 'general-availability',
|
|
58
62
|
import: {
|
|
59
63
|
name: 'ModalHeader',
|
|
60
|
-
package: '@atlaskit/modal-dialog',
|
|
61
|
-
type: '
|
|
64
|
+
package: '@atlaskit/modal-dialog/modal-header',
|
|
65
|
+
type: 'default',
|
|
62
66
|
packagePath: path.resolve(__dirname),
|
|
63
67
|
packageJson: require('./package.json'),
|
|
64
68
|
},
|
|
@@ -85,8 +89,8 @@ const documentation: StructuredContentSource = {
|
|
|
85
89
|
status: 'general-availability',
|
|
86
90
|
import: {
|
|
87
91
|
name: 'ModalTitle',
|
|
88
|
-
package: '@atlaskit/modal-dialog',
|
|
89
|
-
type: '
|
|
92
|
+
package: '@atlaskit/modal-dialog/modal-title',
|
|
93
|
+
type: 'default',
|
|
90
94
|
packagePath: path.resolve(__dirname),
|
|
91
95
|
packageJson: require('./package.json'),
|
|
92
96
|
},
|
|
@@ -112,8 +116,8 @@ const documentation: StructuredContentSource = {
|
|
|
112
116
|
status: 'general-availability',
|
|
113
117
|
import: {
|
|
114
118
|
name: 'ModalBody',
|
|
115
|
-
package: '@atlaskit/modal-dialog',
|
|
116
|
-
type: '
|
|
119
|
+
package: '@atlaskit/modal-dialog/modal-body',
|
|
120
|
+
type: 'default',
|
|
117
121
|
packagePath: path.resolve(__dirname),
|
|
118
122
|
packageJson: require('./package.json'),
|
|
119
123
|
},
|
|
@@ -139,8 +143,8 @@ const documentation: StructuredContentSource = {
|
|
|
139
143
|
status: 'general-availability',
|
|
140
144
|
import: {
|
|
141
145
|
name: 'ModalFooter',
|
|
142
|
-
package: '@atlaskit/modal-dialog',
|
|
143
|
-
type: '
|
|
146
|
+
package: '@atlaskit/modal-dialog/modal-footer',
|
|
147
|
+
type: 'default',
|
|
144
148
|
packagePath: path.resolve(__dirname),
|
|
145
149
|
packageJson: require('./package.json'),
|
|
146
150
|
},
|
|
@@ -170,8 +174,8 @@ const documentation: StructuredContentSource = {
|
|
|
170
174
|
status: 'general-availability',
|
|
171
175
|
import: {
|
|
172
176
|
name: 'ModalTransition',
|
|
173
|
-
package: '@atlaskit/modal-dialog',
|
|
174
|
-
type: '
|
|
177
|
+
package: '@atlaskit/modal-dialog/modal-transition',
|
|
178
|
+
type: 'default',
|
|
175
179
|
packagePath: path.resolve(__dirname),
|
|
176
180
|
packageJson: require('./package.json'),
|
|
177
181
|
},
|
|
@@ -197,7 +201,7 @@ const documentation: StructuredContentSource = {
|
|
|
197
201
|
status: 'general-availability',
|
|
198
202
|
import: {
|
|
199
203
|
name: 'CloseButton',
|
|
200
|
-
package: '@atlaskit/modal-dialog',
|
|
204
|
+
package: '@atlaskit/modal-dialog/close-button',
|
|
201
205
|
type: 'named',
|
|
202
206
|
packagePath: path.resolve(__dirname),
|
|
203
207
|
packageJson: require('./package.json'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.2",
|
|
4
4
|
"description": "A modal dialog displays content that requires user interaction, in a layer above the page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
"watch": "tsc --watch --noEmit --project './tsconfig.json'"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/analytics-next": "^12.
|
|
37
|
+
"@atlaskit/analytics-next": "^12.2.0",
|
|
38
38
|
"@atlaskit/blanket": "^16.1.0",
|
|
39
39
|
"@atlaskit/button": "^24.3.0",
|
|
40
40
|
"@atlaskit/css": "^1.0.0",
|
|
41
41
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
42
|
-
"@atlaskit/icon": "^
|
|
42
|
+
"@atlaskit/icon": "^37.0.0",
|
|
43
43
|
"@atlaskit/layering": "^4.1.0",
|
|
44
|
-
"@atlaskit/motion": "^7.
|
|
44
|
+
"@atlaskit/motion": "^7.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
46
46
|
"@atlaskit/portal": "^6.1.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
|
|
48
|
-
"@atlaskit/primitives": "^20.
|
|
48
|
+
"@atlaskit/primitives": "^20.5.0",
|
|
49
49
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
50
50
|
"@atlaskit/theme": "^26.1.0",
|
|
51
|
-
"@atlaskit/tokens": "^15.
|
|
52
|
-
"@atlaskit/top-layer": "^1.
|
|
51
|
+
"@atlaskit/tokens": "^15.5.0",
|
|
52
|
+
"@atlaskit/top-layer": "^1.6.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@compiled/react": "^0.20.0",
|
|
55
55
|
"bind-event-listener": "^3.0.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/avatar": "^26.1.0",
|
|
68
68
|
"@atlaskit/avatar-group": "^13.1.0",
|
|
69
69
|
"@atlaskit/banner": "^15.1.0",
|
|
70
|
-
"@atlaskit/breadcrumbs": "^17.
|
|
70
|
+
"@atlaskit/breadcrumbs": "^17.3.0",
|
|
71
71
|
"@atlaskit/checkbox": "^18.1.0",
|
|
72
72
|
"@atlaskit/code": "^18.2.0",
|
|
73
73
|
"@atlaskit/datetime-picker": "^18.1.0",
|
|
@@ -75,19 +75,19 @@
|
|
|
75
75
|
"@atlaskit/dropdown-menu": "^17.1.0",
|
|
76
76
|
"@atlaskit/flag": "^18.1.0",
|
|
77
77
|
"@atlaskit/form": "^16.1.0",
|
|
78
|
-
"@atlaskit/heading": "^6.
|
|
78
|
+
"@atlaskit/heading": "^6.2.0",
|
|
79
79
|
"@atlaskit/link": "^4.1.0",
|
|
80
80
|
"@atlaskit/popup": "^5.1.0",
|
|
81
81
|
"@atlaskit/radio": "^9.1.0",
|
|
82
82
|
"@atlaskit/section-message": "^9.2.0",
|
|
83
|
-
"@atlaskit/select": "^22.
|
|
83
|
+
"@atlaskit/select": "^22.5.0",
|
|
84
84
|
"@atlaskit/spotlight": "^2.1.0",
|
|
85
85
|
"@atlaskit/textfield": "^9.1.0",
|
|
86
86
|
"@atlaskit/tooltip": "^23.1.0",
|
|
87
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
87
|
+
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
88
88
|
"@atlassian/ssr-tests": "workspace:^",
|
|
89
89
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
90
|
-
"@atlassian/testing-library": "^0.
|
|
90
|
+
"@atlassian/testing-library": "^0.11.0",
|
|
91
91
|
"@testing-library/dom": "^10.1.0",
|
|
92
92
|
"@testing-library/react": "^16.3.0",
|
|
93
93
|
"@testing-library/user-event": "^14.4.3",
|