@atlaskit/modal-dialog 14.15.0 → 14.16.0

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,18 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 14.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`25716b59a8e71`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/25716b59a8e71) -
8
+ Clean up flag to prepare for boolean autoFocus removal.
9
+
10
+ ## 14.15.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 14.15.0
4
17
 
5
18
  ### Minor Changes
@@ -86,7 +86,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
86
86
  // When a user supplies a ref to focus we skip auto focus via react-focus-lock
87
87
  // When flag is true and a ref is not supplied, autofocus is true. See https://product-fabric.atlassian.net/browse/DSP-24307
88
88
  // When we remove boolean `autoFocus`, we won't have to worry about this
89
- var autoFocusLock = (0, _platformFeatureFlags.fg)('platform_dst_autofocus-never-false-2') ? typeof autoFocus === 'boolean' : typeof autoFocus === 'boolean' ? autoFocus : false;
89
+ var autoFocusLock = typeof autoFocus === 'boolean';
90
90
  var onCloseHandler = (0, _analyticsNext.usePlatformLeafEventHandler)({
91
91
  fn: providedOnClose || _noop.default,
92
92
  action: 'closed',
@@ -73,7 +73,7 @@ const InternalModalWrapper = props => {
73
73
  // When a user supplies a ref to focus we skip auto focus via react-focus-lock
74
74
  // When flag is true and a ref is not supplied, autofocus is true. See https://product-fabric.atlassian.net/browse/DSP-24307
75
75
  // When we remove boolean `autoFocus`, we won't have to worry about this
76
- const autoFocusLock = fg('platform_dst_autofocus-never-false-2') ? typeof autoFocus === 'boolean' : typeof autoFocus === 'boolean' ? autoFocus : false;
76
+ const autoFocusLock = typeof autoFocus === 'boolean';
77
77
  const onCloseHandler = usePlatformLeafEventHandler({
78
78
  fn: providedOnClose || noop,
79
79
  action: 'closed',
@@ -77,7 +77,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
77
77
  // When a user supplies a ref to focus we skip auto focus via react-focus-lock
78
78
  // When flag is true and a ref is not supplied, autofocus is true. See https://product-fabric.atlassian.net/browse/DSP-24307
79
79
  // When we remove boolean `autoFocus`, we won't have to worry about this
80
- var autoFocusLock = fg('platform_dst_autofocus-never-false-2') ? typeof autoFocus === 'boolean' : typeof autoFocus === 'boolean' ? autoFocus : false;
80
+ var autoFocusLock = typeof autoFocus === 'boolean';
81
81
  var onCloseHandler = usePlatformLeafEventHandler({
82
82
  fn: providedOnClose || noop,
83
83
  action: 'closed',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "14.15.0",
3
+ "version": "14.16.0",
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/"
@@ -39,15 +39,15 @@
39
39
  "@atlaskit/button": "^23.11.0",
40
40
  "@atlaskit/css": "^0.19.0",
41
41
  "@atlaskit/ds-lib": "^7.0.0",
42
- "@atlaskit/icon": "^34.0.0",
42
+ "@atlaskit/icon": "^34.2.0",
43
43
  "@atlaskit/layering": "^3.6.0",
44
- "@atlaskit/motion": "^5.5.0",
44
+ "@atlaskit/motion": "^5.6.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
46
  "@atlaskit/portal": "^5.4.0",
47
- "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
48
- "@atlaskit/primitives": "^18.1.0",
49
- "@atlaskit/theme": "^23.0.0",
50
- "@atlaskit/tokens": "^12.0.0",
47
+ "@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
48
+ "@atlaskit/primitives": "^19.0.0",
49
+ "@atlaskit/theme": "^23.1.0",
50
+ "@atlaskit/tokens": "^13.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@compiled/react": "^0.20.0",
53
53
  "bind-event-listener": "^3.0.0",
@@ -62,14 +62,14 @@
62
62
  "@af/accessibility-testing": "workspace:^",
63
63
  "@af/integration-testing": "workspace:^",
64
64
  "@af/visual-regression": "workspace:^",
65
- "@atlaskit/avatar": "^25.11.0",
66
- "@atlaskit/avatar-group": "^12.6.0",
65
+ "@atlaskit/avatar": "^25.12.0",
66
+ "@atlaskit/avatar-group": "^12.7.0",
67
67
  "@atlaskit/banner": "^14.0.0",
68
- "@atlaskit/breadcrumbs": "^16.0.0",
68
+ "@atlaskit/breadcrumbs": "^16.1.0",
69
69
  "@atlaskit/checkbox": "^17.3.0",
70
70
  "@atlaskit/code": "^17.4.0",
71
71
  "@atlaskit/datetime-picker": "^17.6.0",
72
- "@atlaskit/docs": "^11.7.0",
72
+ "@atlaskit/docs": "^11.8.0",
73
73
  "@atlaskit/dropdown-menu": "^16.8.0",
74
74
  "@atlaskit/flag": "^17.9.0",
75
75
  "@atlaskit/form": "^15.5.0",
@@ -79,7 +79,7 @@
79
79
  "@atlaskit/radio": "^8.5.0",
80
80
  "@atlaskit/section-message": "^8.12.0",
81
81
  "@atlaskit/select": "^21.10.0",
82
- "@atlaskit/spotlight": "^0.11.0",
82
+ "@atlaskit/spotlight": "^0.12.0",
83
83
  "@atlaskit/textfield": "^8.3.0",
84
84
  "@atlaskit/tooltip": "^21.1.0",
85
85
  "@atlassian/feature-flags-test-utils": "^1.0.0",
@@ -138,9 +138,6 @@
138
138
  "platform-dst-shape-theme-default": {
139
139
  "type": "boolean"
140
140
  },
141
- "platform_dst_autofocus-never-false-2": {
142
- "type": "boolean"
143
- },
144
141
  "platform-dst-motion-uplift": {
145
142
  "type": "boolean"
146
143
  }