@atlaskit/modal-dialog 17.0.1 → 17.0.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,15 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 17.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`aaf461aabb51c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aaf461aabb51c) -
8
+ Removed a redundant `color.text` declaration from the top-layer surfaces of `ModalDialog` and
9
+ `InlineDialog` (behind `platform-dst-top-layer`). The top-layer `Popover` and `Dialog` hosts now
10
+ set `color.text`, so these surfaces inherit the same colour. There is no visual change.
11
+ - Updated dependencies
12
+
3
13
  ## 17.0.1
4
14
 
5
15
  ### Patch Changes
@@ -20,8 +20,7 @@
20
20
  ._lcxv1wug{pointer-events:auto}
21
21
  ._ln19p27b{scrollbar-gutter:stable}
22
22
  ._m01u1kw7>form:only-child{max-height:inherit}
23
- ._otyridpf{margin-bottom:0}
24
- ._syazi7uo{color:var(--ds-text,#292a2e)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
23
+ ._otyridpf{margin-bottom:0}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
25
24
  ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
26
25
  ._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
27
26
  ._ra3xnqa1:focus-visible{outline-style:solid}
@@ -64,7 +64,7 @@ var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
64
64
  * Styles applied to the visual modal surface.
65
65
  */
66
66
  var surfaceStyles = {
67
- root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _syazi7uo _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
67
+ root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
68
68
  borderRadius: "_2rkoidpf _epkxpb1k"
69
69
  };
70
70
  var topLayerScrollModeStyles = {
@@ -94,7 +94,7 @@ function useModalCloseHandler(providedOnClose) {
94
94
  action: 'closed',
95
95
  componentName: 'modalDialog',
96
96
  packageName: "@atlaskit/modal-dialog",
97
- packageVersion: "17.0.0"
97
+ packageVersion: "17.0.1"
98
98
  });
99
99
  }
100
100
  function getScrollMode(_ref) {
@@ -20,8 +20,7 @@
20
20
  ._lcxv1wug{pointer-events:auto}
21
21
  ._ln19p27b{scrollbar-gutter:stable}
22
22
  ._m01u1kw7>form:only-child{max-height:inherit}
23
- ._otyridpf{margin-bottom:0}
24
- ._syazi7uo{color:var(--ds-text,#292a2e)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
23
+ ._otyridpf{margin-bottom:0}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
25
24
  ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
26
25
  ._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
27
26
  ._ra3xnqa1:focus-visible{outline-style:solid}
@@ -54,7 +54,7 @@ const LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
54
54
  * Styles applied to the visual modal surface.
55
55
  */
56
56
  const surfaceStyles = {
57
- root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _syazi7uo _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
57
+ root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
58
58
  borderRadius: "_2rkoidpf _epkxpb1k"
59
59
  };
60
60
  const topLayerScrollModeStyles = {
@@ -84,7 +84,7 @@ function useModalCloseHandler(providedOnClose) {
84
84
  action: 'closed',
85
85
  componentName: 'modalDialog',
86
86
  packageName: "@atlaskit/modal-dialog",
87
- packageVersion: "17.0.0"
87
+ packageVersion: "17.0.1"
88
88
  });
89
89
  }
90
90
  function getScrollMode({
@@ -20,8 +20,7 @@
20
20
  ._lcxv1wug{pointer-events:auto}
21
21
  ._ln19p27b{scrollbar-gutter:stable}
22
22
  ._m01u1kw7>form:only-child{max-height:inherit}
23
- ._otyridpf{margin-bottom:0}
24
- ._syazi7uo{color:var(--ds-text,#292a2e)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
23
+ ._otyridpf{margin-bottom:0}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
25
24
  ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
26
25
  ._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
27
26
  ._ra3xnqa1:focus-visible{outline-style:solid}
@@ -55,7 +55,7 @@ var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
55
55
  * Styles applied to the visual modal surface.
56
56
  */
57
57
  var surfaceStyles = {
58
- root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _syazi7uo _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
58
+ root: "_1e0c1txw _2lx21bp4 _bfhk1bhr _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1v1w _1ah3dkaa _ra3xnqa1 _128mdkaa _zg7p130s",
59
59
  borderRadius: "_2rkoidpf _epkxpb1k"
60
60
  };
61
61
  var topLayerScrollModeStyles = {
@@ -85,7 +85,7 @@ function useModalCloseHandler(providedOnClose) {
85
85
  action: 'closed',
86
86
  componentName: 'modalDialog',
87
87
  packageName: "@atlaskit/modal-dialog",
88
- packageVersion: "17.0.0"
88
+ packageVersion: "17.0.1"
89
89
  });
90
90
  }
91
91
  function getScrollMode(_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "17.0.1",
3
+ "version": "17.0.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/"
@@ -37,22 +37,22 @@
37
37
  "watch": "tsc --watch --noEmit --project './tsconfig.json'"
38
38
  },
39
39
  "dependencies": {
40
- "@atlaskit/analytics-next": "^12.5.0",
40
+ "@atlaskit/analytics-next": "^12.6.0",
41
41
  "@atlaskit/blanket": "^16.4.0",
42
42
  "@atlaskit/button": "^25.4.0",
43
43
  "@atlaskit/css": "^1.1.0",
44
44
  "@atlaskit/ds-lib": "^8.0.0",
45
45
  "@atlaskit/icon": "^38.0.0",
46
46
  "@atlaskit/layering": "^6.0.0",
47
- "@atlaskit/motion": "^9.1.0",
47
+ "@atlaskit/motion": "^9.3.0",
48
48
  "@atlaskit/platform-feature-flags": "^2.2.0",
49
49
  "@atlaskit/portal": "^7.0.0",
50
50
  "@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
51
51
  "@atlaskit/primitives": "^22.5.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
53
  "@atlaskit/theme": "^28.2.0",
54
- "@atlaskit/tokens": "^20.1.0",
55
- "@atlaskit/top-layer": "^6.1.0",
54
+ "@atlaskit/tokens": "^20.4.0",
55
+ "@atlaskit/top-layer": "^6.2.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@compiled/react": "^1.0.2",
58
58
  "bind-event-listener": "^3.0.0",
@@ -71,13 +71,13 @@
71
71
  "@atlaskit/avatar-group": "^14.4.0",
72
72
  "@atlaskit/banner": "^15.3.0",
73
73
  "@atlaskit/breadcrumbs": "^17.8.0",
74
- "@atlaskit/checkbox": "^19.2.0",
74
+ "@atlaskit/checkbox": "^19.3.0",
75
75
  "@atlaskit/code": "^20.0.0",
76
- "@atlaskit/datetime-picker": "^19.0.0",
76
+ "@atlaskit/datetime-picker": "^19.3.0",
77
77
  "@atlaskit/docs": "^12.3.0",
78
78
  "@atlaskit/dropdown-menu": "^21.0.0",
79
79
  "@atlaskit/flag": "^19.0.0",
80
- "@atlaskit/form": "^18.0.0",
80
+ "@atlaskit/form": "^18.2.0",
81
81
  "@atlaskit/heading": "^8.0.0",
82
82
  "@atlaskit/link": "^5.1.0",
83
83
  "@atlaskit/popup": "^9.0.0",