@atlaskit/page-layout 3.1.6 → 3.2.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.
|
@@ -25,6 +25,10 @@ var increaseHitAreaStyles = (0, _react.css)({
|
|
|
25
25
|
insetInlineEnd: "var(--ds-space-negative-150, -12px)",
|
|
26
26
|
insetInlineStart: "var(--ds-space-negative-100, -8px)"
|
|
27
27
|
});
|
|
28
|
+
var furtherIncreasedHitAreasStyles = (0, _react.css)({
|
|
29
|
+
insetBlockEnd: "var(--ds-space-negative-300, -24px)",
|
|
30
|
+
insetBlockStart: "var(--ds-space-negative-300, -24px)"
|
|
31
|
+
});
|
|
28
32
|
var mobileStyles = (0, _react.css)((0, _defineProperty2.default)({}, _responsive.UNSAFE_media.below.sm, {
|
|
29
33
|
opacity: 1
|
|
30
34
|
}));
|
|
@@ -87,8 +91,8 @@ var ResizeButton = function ResizeButton(_ref) {
|
|
|
87
91
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
88
92
|
}, props), (0, _react.jsx)(_chevronRight.default, {
|
|
89
93
|
label: ""
|
|
90
|
-
}), (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.page-layout-
|
|
91
|
-
css: increaseHitAreaStyles
|
|
94
|
+
}), (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.page-layout-resize-button-fix_u0qxv') ? (0, _react.jsx)("span", {
|
|
95
|
+
css: [increaseHitAreaStyles, furtherIncreasedHitAreasStyles]
|
|
92
96
|
}) : (0, _react.jsx)("div", {
|
|
93
97
|
css: increaseHitAreaStyles
|
|
94
98
|
}));
|
|
@@ -16,6 +16,10 @@ const increaseHitAreaStyles = css({
|
|
|
16
16
|
insetInlineEnd: `${"var(--ds-space-negative-150, -12px)"}`,
|
|
17
17
|
insetInlineStart: `${"var(--ds-space-negative-100, -8px)"}`
|
|
18
18
|
});
|
|
19
|
+
const furtherIncreasedHitAreasStyles = css({
|
|
20
|
+
insetBlockEnd: `${"var(--ds-space-negative-300, -24px)"}`,
|
|
21
|
+
insetBlockStart: `${"var(--ds-space-negative-300, -24px)"}`
|
|
22
|
+
});
|
|
19
23
|
const mobileStyles = css({
|
|
20
24
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
21
25
|
[UNSAFE_media.below.sm]: {
|
|
@@ -85,8 +89,8 @@ const ResizeButton = ({
|
|
|
85
89
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
86
90
|
}, props), jsx(ChevronRight, {
|
|
87
91
|
label: ""
|
|
88
|
-
}), getBooleanFF('platform.design-system-team.page-layout-
|
|
89
|
-
css: increaseHitAreaStyles
|
|
92
|
+
}), getBooleanFF('platform.design-system-team.page-layout-resize-button-fix_u0qxv') ? jsx("span", {
|
|
93
|
+
css: [increaseHitAreaStyles, furtherIncreasedHitAreasStyles]
|
|
90
94
|
}) : jsx("div", {
|
|
91
95
|
css: increaseHitAreaStyles
|
|
92
96
|
}));
|
|
@@ -19,6 +19,10 @@ var increaseHitAreaStyles = css({
|
|
|
19
19
|
insetInlineEnd: "var(--ds-space-negative-150, -12px)",
|
|
20
20
|
insetInlineStart: "var(--ds-space-negative-100, -8px)"
|
|
21
21
|
});
|
|
22
|
+
var furtherIncreasedHitAreasStyles = css({
|
|
23
|
+
insetBlockEnd: "var(--ds-space-negative-300, -24px)",
|
|
24
|
+
insetBlockStart: "var(--ds-space-negative-300, -24px)"
|
|
25
|
+
});
|
|
22
26
|
var mobileStyles = css(_defineProperty({}, UNSAFE_media.below.sm, {
|
|
23
27
|
opacity: 1
|
|
24
28
|
}));
|
|
@@ -81,8 +85,8 @@ var ResizeButton = function ResizeButton(_ref) {
|
|
|
81
85
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
82
86
|
}, props), jsx(ChevronRight, {
|
|
83
87
|
label: ""
|
|
84
|
-
}), getBooleanFF('platform.design-system-team.page-layout-
|
|
85
|
-
css: increaseHitAreaStyles
|
|
88
|
+
}), getBooleanFF('platform.design-system-team.page-layout-resize-button-fix_u0qxv') ? jsx("span", {
|
|
89
|
+
css: [increaseHitAreaStyles, furtherIncreasedHitAreasStyles]
|
|
86
90
|
}) : jsx("div", {
|
|
87
91
|
css: increaseHitAreaStyles
|
|
88
92
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/page-layout",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A collection of components which let you compose an application's page layout.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"@atlaskit/icon": "^22.1.0",
|
|
43
43
|
"@atlaskit/motion": "^1.5.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
45
|
-
"@atlaskit/primitives": "^5.
|
|
45
|
+
"@atlaskit/primitives": "^5.7.0",
|
|
46
46
|
"@atlaskit/theme": "^12.7.0",
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/tokens": "^1.44.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
50
50
|
"bind-event-listener": "^3.0.0",
|
|
@@ -61,13 +61,14 @@
|
|
|
61
61
|
"@atlaskit/atlassian-notifications": "^0.4.0",
|
|
62
62
|
"@atlaskit/drawer": "^7.7.0",
|
|
63
63
|
"@atlaskit/logo": "^13.15.0",
|
|
64
|
-
"@atlaskit/menu": "^2.
|
|
64
|
+
"@atlaskit/menu": "^2.2.0",
|
|
65
65
|
"@atlaskit/notification-indicator": "^9.2.0",
|
|
66
66
|
"@atlaskit/notification-log-client": "^6.1.0",
|
|
67
|
-
"@atlaskit/popup": "^1.
|
|
67
|
+
"@atlaskit/popup": "^1.15.0",
|
|
68
68
|
"@atlaskit/side-navigation": "^3.0.0",
|
|
69
69
|
"@atlaskit/ssr": "*",
|
|
70
|
-
"@atlaskit/
|
|
70
|
+
"@atlaskit/toggle": "^13.0.0",
|
|
71
|
+
"@atlaskit/tooltip": "^18.3.0",
|
|
71
72
|
"@atlaskit/visual-regression": "*",
|
|
72
73
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
73
74
|
"@testing-library/dom": "^8.17.1",
|
|
@@ -118,9 +119,6 @@
|
|
|
118
119
|
},
|
|
119
120
|
"platform.atlassian.griffin-navigation-redesign": {
|
|
120
121
|
"type": "boolean"
|
|
121
|
-
},
|
|
122
|
-
"platform.design-system-team.page-layout-remove-empty-div_4jg0j": {
|
|
123
|
-
"type": "boolean"
|
|
124
122
|
}
|
|
125
123
|
}
|
|
126
124
|
}
|