@atlaskit/navigation-system 11.8.4 → 12.0.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/cjs/index.js +0 -21
  3. package/dist/cjs/ui/page-layout/panel-layout-shell.js +16 -2
  4. package/dist/cjs/ui/page-layout/side-nav/toggle-button.js +2 -1
  5. package/dist/es2019/index.js +0 -3
  6. package/dist/es2019/ui/page-layout/panel-layout-shell.js +16 -4
  7. package/dist/es2019/ui/page-layout/side-nav/toggle-button.js +2 -1
  8. package/dist/esm/index.js +0 -3
  9. package/dist/esm/ui/page-layout/panel-layout-shell.js +16 -2
  10. package/dist/esm/ui/page-layout/side-nav/toggle-button.js +2 -1
  11. package/dist/types/index.d.ts +0 -3
  12. package/package.json +5 -5
  13. package/dist/cjs/entry-points/fhs-rollout.js +0 -26
  14. package/dist/cjs/ui/fhs-rollout/is-custom-is-fhs-enabled-context.js +0 -14
  15. package/dist/cjs/ui/fhs-rollout/is-fhs-enabled-context.js +0 -17
  16. package/dist/cjs/ui/fhs-rollout/is-fhs-enabled-provider.js +0 -25
  17. package/dist/cjs/ui/fhs-rollout/types.js +0 -1
  18. package/dist/cjs/ui/fhs-rollout/use-is-fhs-enabled.js +0 -17
  19. package/dist/es2019/entry-points/fhs-rollout.js +0 -3
  20. package/dist/es2019/ui/fhs-rollout/is-custom-is-fhs-enabled-context.js +0 -9
  21. package/dist/es2019/ui/fhs-rollout/is-fhs-enabled-context.js +0 -11
  22. package/dist/es2019/ui/fhs-rollout/is-fhs-enabled-provider.js +0 -18
  23. package/dist/es2019/ui/fhs-rollout/types.js +0 -0
  24. package/dist/es2019/ui/fhs-rollout/use-is-fhs-enabled.js +0 -9
  25. package/dist/esm/entry-points/fhs-rollout.js +0 -3
  26. package/dist/esm/ui/fhs-rollout/is-custom-is-fhs-enabled-context.js +0 -9
  27. package/dist/esm/ui/fhs-rollout/is-fhs-enabled-context.js +0 -11
  28. package/dist/esm/ui/fhs-rollout/is-fhs-enabled-provider.js +0 -19
  29. package/dist/esm/ui/fhs-rollout/types.js +0 -0
  30. package/dist/esm/ui/fhs-rollout/use-is-fhs-enabled.js +0 -11
  31. package/dist/types/entry-points/fhs-rollout.d.ts +0 -3
  32. package/dist/types/ui/fhs-rollout/is-custom-is-fhs-enabled-context.d.ts +0 -7
  33. package/dist/types/ui/fhs-rollout/is-fhs-enabled-context.d.ts +0 -11
  34. package/dist/types/ui/fhs-rollout/is-fhs-enabled-provider.d.ts +0 -17
  35. package/dist/types/ui/fhs-rollout/types.d.ts +0 -1
  36. package/dist/types/ui/fhs-rollout/use-is-fhs-enabled.d.ts +0 -9
  37. package/fhs-rollout/package.json +0 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @atlassian/navigation-system
2
2
 
3
+ ## 12.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f21efa21bc985`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f21efa21bc985) -
8
+ Keep the initial PanelLayout container query attached to its layout after a hydration ID mismatch,
9
+ behind platform-dst-chat-panel-layout.
10
+
11
+ ## 12.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - [`ca32e066cf0f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ca32e066cf0f9) -
16
+ Remove the deprecated Full Height Sidebar (FHS) rollout API. The
17
+ `@atlaskit/navigation-system/fhs-rollout` entry point and the following exports from
18
+ `@atlaskit/navigation-system` are no longer available:
19
+
20
+ - `IsFhsEnabledProvider`
21
+ - `IsFhsEnabledProviderProps`
22
+ - `IsFhsEnabledContext`
23
+ - `useIsFhsEnabled`
24
+
25
+ FHS was rolled back in version 11.3.0. Since then, the provider has rendered its children without
26
+ using `value`, the hook has always returned `false`, and platform components have no longer read
27
+ the context. Removing these APIs does not change the current navigation layout.
28
+
29
+ Before upgrading:
30
+
31
+ - Remove imports from `@atlaskit/navigation-system/fhs-rollout` and imports of the removed APIs
32
+ from the package root.
33
+ - Remove `IsFhsEnabledProvider` wrappers, preserving their children, and remove usages of
34
+ `IsFhsEnabledProviderProps`.
35
+ - Replace `useIsFhsEnabled()` calls with `false`, then simplify conditional code to keep the
36
+ FHS-off behavior.
37
+ - Remove `IsFhsEnabledContext` providers and consumers. Preserve provider children and use the
38
+ FHS-off behavior instead of reading the context.
39
+
40
+ The unused internal `IsCustomIsFhsEnabledContext` and the FHS rollout tests have also been
41
+ removed.
42
+
43
+ ### Patch Changes
44
+
45
+ - [`446fe16440842`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/446fe16440842) -
46
+ Add aria-expanded to the side nav toggle button so assistive technology can tell whether the side
47
+ nav is expanded or collapsed.
48
+ - Updated dependencies
49
+
3
50
  ## 11.8.4
4
51
 
5
52
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -57,18 +57,6 @@ Object.defineProperty(exports, "Help", {
57
57
  return _help.Help;
58
58
  }
59
59
  });
60
- Object.defineProperty(exports, "IsFhsEnabledContext", {
61
- enumerable: true,
62
- get: function get() {
63
- return _isFhsEnabledContext.IsFhsEnabledContext;
64
- }
65
- });
66
- Object.defineProperty(exports, "IsFhsEnabledProvider", {
67
- enumerable: true,
68
- get: function get() {
69
- return _isFhsEnabledProvider.IsFhsEnabledProvider;
70
- }
71
- });
72
60
  Object.defineProperty(exports, "LogIn", {
73
61
  enumerable: true,
74
62
  get: function get() {
@@ -189,21 +177,12 @@ Object.defineProperty(exports, "TopNavStart", {
189
177
  return _topNavStart.TopNavStart;
190
178
  }
191
179
  });
192
- Object.defineProperty(exports, "useIsFhsEnabled", {
193
- enumerable: true,
194
- get: function get() {
195
- return _useIsFhsEnabled.useIsFhsEnabled;
196
- }
197
- });
198
180
  Object.defineProperty(exports, "useToggleSideNav", {
199
181
  enumerable: true,
200
182
  get: function get() {
201
183
  return _useToggleSideNav.useToggleSideNav;
202
184
  }
203
185
  });
204
- var _isFhsEnabledContext = require("./ui/fhs-rollout/is-fhs-enabled-context");
205
- var _isFhsEnabledProvider = require("./ui/fhs-rollout/is-fhs-enabled-provider");
206
- var _useIsFhsEnabled = require("./ui/fhs-rollout/use-is-fhs-enabled");
207
186
  var _aside = require("./ui/page-layout/aside");
208
187
  var _banner = require("./ui/page-layout/banner");
209
188
  var _main = require("./ui/page-layout/main/main");
@@ -60,6 +60,16 @@ function PanelLayoutShell(_ref) {
60
60
  // CSS query conditions cannot read custom properties. Only the numeric minimums and
61
61
  // instance selector are generated here; this rule is removed after the first measurement,
62
62
  // so live resizing never rewrites stylesheet text. The named container is local to this shell.
63
+ // Scope each query to its own following grid. Hydration can retain the server's ID
64
+ // while subsequent renders use a different client ID. Include both minimums so
65
+ // layouts with different query conditions cannot apply their rules to each other.
66
+ // Encode punctuation to keep the CSS attribute selector unquoted (React 18 escapes
67
+ // quotes in server-rendered style text).
68
+ var queryKey = "m".concat(mainMinWidth, "p").concat(panelMinWidth).replace(/[^a-zA-Z0-9_-]/g, function (character) {
69
+ return "_".concat(character.charCodeAt(0), "_");
70
+ });
71
+ var useSiblingSelector = (0, _fg.fg)('platform-dst-chat-panel-layout');
72
+ var inlineSelector = useSiblingSelector ? "style[data-panel-layout-query=".concat(queryKey, "] + div") : "#".concat(id);
63
73
  var inlineQuery = "@container local-panel-layout (min-width: ".concat(mainMinWidth + panelMinWidth, "px)");
64
74
  return /*#__PURE__*/React.createElement("div", {
65
75
  className: (0, _runtime.ax)([styles.container])
@@ -67,10 +77,14 @@ function PanelLayoutShell(_ref) {
67
77
  /*#__PURE__*/
68
78
  // Keep the inline motion cap available during exit, after the open-only track rule is removed.
69
79
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped query matches the SSR inline allocation, including caller-defined minimums.
70
- React.createElement("style", null, "".concat(inlineQuery, " {\n\t\t\t\t\t#").concat(id, " { --p_lclPnlMotionMaxW: calc(100cqw - ").concat(mainMinWidth, "px); }\n\t\t\t\t}")), mode === undefined && isPanelOpen &&
80
+ React.createElement("style", {
81
+ "data-panel-layout-motion-query": queryKey
82
+ }, "".concat(inlineQuery, " {\n\t\t\t\t\tstyle[data-panel-layout-motion-query=").concat(queryKey, "] ~ div { --p_lclPnlMotionMaxW: calc(100cqw - ").concat(mainMinWidth, "px); }\n\t\t\t\t}")), mode === undefined && isPanelOpen &&
71
83
  /*#__PURE__*/
72
84
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped SSR query supports caller-defined minimums; CSS variables are not allowed in query conditions.
73
- React.createElement("style", null, "".concat(inlineQuery, " {\n\t\t\t\t\t#").concat(id, " {\n\t\t\t\t\t\t--p_lclPnlSsrAreas: var(--p_lclPnlSsrInlineAreas);\n\t\t\t\t\t\t--p_lclPnlSsrColumns: minmax(0, 1fr) min(var(--p_lclPnlSsrPreferredW), calc(100% - ").concat(mainMinWidth, "px));\n\t\t\t\t\t\t--p_lclPnlSsrArea: panel;\n\t\t\t\t\t\t--p_lclPnlSsrWidth: 100%;\n\t\t\t\t\t\t--p_lclPnlSsrBackground: ", "var(--ds-surface, #FFFFFF)", ";\n\t\t\t\t\t\t--p_lclPnlSsrShadow: none;\n\t\t\t\t\t\t--p_lclPnlSsrBorder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #0B120E24)", ";\n\t\t\t\t\t}\n\t\t\t\t}")), /*#__PURE__*/React.createElement("div", {
85
+ React.createElement("style", {
86
+ "data-panel-layout-query": useSiblingSelector ? queryKey : undefined
87
+ }, "".concat(inlineQuery, " {\n\t\t\t\t\t").concat(inlineSelector, " {\n\t\t\t\t\t\t--p_lclPnlSsrAreas: var(--p_lclPnlSsrInlineAreas);\n\t\t\t\t\t\t--p_lclPnlSsrColumns: minmax(0, 1fr) min(var(--p_lclPnlSsrPreferredW), calc(100% - ").concat(mainMinWidth, "px));\n\t\t\t\t\t\t--p_lclPnlSsrArea: panel;\n\t\t\t\t\t\t--p_lclPnlSsrWidth: 100%;\n\t\t\t\t\t\t--p_lclPnlSsrBackground: ", "var(--ds-surface, #FFFFFF)", ";\n\t\t\t\t\t\t--p_lclPnlSsrShadow: none;\n\t\t\t\t\t\t--p_lclPnlSsrBorder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #0B120E24)", ";\n\t\t\t\t\t}\n\t\t\t\t}")), /*#__PURE__*/React.createElement("div", {
74
88
  id: id,
75
89
  "data-testid": testId,
76
90
  ref: layoutRef,
@@ -171,6 +171,7 @@ var SideNavToggleButton = exports.SideNavToggleButton = function SideNavToggleBu
171
171
  isTooltipDisabled: false,
172
172
  interactionName: interactionName,
173
173
  ref: setElement,
174
- tooltip: tooltipProps
174
+ tooltip: tooltipProps,
175
+ "aria-expanded": isSideNavExpanded
175
176
  });
176
177
  };
@@ -1,6 +1,3 @@
1
- export { IsFhsEnabledContext } from './ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider } from './ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from './ui/fhs-rollout/use-is-fhs-enabled';
4
1
  export { Aside } from './ui/page-layout/aside';
5
2
  export { Banner } from './ui/page-layout/banner';
6
3
  export { Main } from './ui/page-layout/main/main';
@@ -50,6 +50,14 @@ export function PanelLayoutShell({
50
50
  // CSS query conditions cannot read custom properties. Only the numeric minimums and
51
51
  // instance selector are generated here; this rule is removed after the first measurement,
52
52
  // so live resizing never rewrites stylesheet text. The named container is local to this shell.
53
+ // Scope each query to its own following grid. Hydration can retain the server's ID
54
+ // while subsequent renders use a different client ID. Include both minimums so
55
+ // layouts with different query conditions cannot apply their rules to each other.
56
+ // Encode punctuation to keep the CSS attribute selector unquoted (React 18 escapes
57
+ // quotes in server-rendered style text).
58
+ const queryKey = `m${mainMinWidth}p${panelMinWidth}`.replace(/[^a-zA-Z0-9_-]/g, character => `_${character.charCodeAt(0)}_`);
59
+ const useSiblingSelector = fg('platform-dst-chat-panel-layout');
60
+ const inlineSelector = useSiblingSelector ? `style[data-panel-layout-query=${queryKey}] + div` : `#${id}`;
53
61
  const inlineQuery = `@container local-panel-layout (min-width: ${mainMinWidth + panelMinWidth}px)`;
54
62
  return /*#__PURE__*/React.createElement("div", {
55
63
  className: ax([styles.container])
@@ -57,13 +65,17 @@ export function PanelLayoutShell({
57
65
  /*#__PURE__*/
58
66
  // Keep the inline motion cap available during exit, after the open-only track rule is removed.
59
67
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped query matches the SSR inline allocation, including caller-defined minimums.
60
- React.createElement("style", null, `${inlineQuery} {
61
- #${id} { --p_lclPnlMotionMaxW: calc(100cqw - ${mainMinWidth}px); }
68
+ React.createElement("style", {
69
+ "data-panel-layout-motion-query": queryKey
70
+ }, `${inlineQuery} {
71
+ style[data-panel-layout-motion-query=${queryKey}] ~ div { --p_lclPnlMotionMaxW: calc(100cqw - ${mainMinWidth}px); }
62
72
  }`), mode === undefined && isPanelOpen &&
63
73
  /*#__PURE__*/
64
74
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped SSR query supports caller-defined minimums; CSS variables are not allowed in query conditions.
65
- React.createElement("style", null, `${inlineQuery} {
66
- #${id} {
75
+ React.createElement("style", {
76
+ "data-panel-layout-query": useSiblingSelector ? queryKey : undefined
77
+ }, `${inlineQuery} {
78
+ ${inlineSelector} {
67
79
  --p_lclPnlSsrAreas: var(--p_lclPnlSsrInlineAreas);
68
80
  --p_lclPnlSsrColumns: minmax(0, 1fr) min(var(--p_lclPnlSsrPreferredW), calc(100% - ${mainMinWidth}px));
69
81
  --p_lclPnlSsrArea: panel;
@@ -152,6 +152,7 @@ export const SideNavToggleButton = ({
152
152
  isTooltipDisabled: false,
153
153
  interactionName: interactionName,
154
154
  ref: setElement,
155
- tooltip: tooltipProps
155
+ tooltip: tooltipProps,
156
+ "aria-expanded": isSideNavExpanded
156
157
  });
157
158
  };
package/dist/esm/index.js CHANGED
@@ -1,6 +1,3 @@
1
- export { IsFhsEnabledContext } from './ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider } from './ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from './ui/fhs-rollout/use-is-fhs-enabled';
4
1
  export { Aside } from './ui/page-layout/aside';
5
2
  export { Banner } from './ui/page-layout/banner';
6
3
  export { Main } from './ui/page-layout/main/main';
@@ -52,6 +52,16 @@ export function PanelLayoutShell(_ref) {
52
52
  // CSS query conditions cannot read custom properties. Only the numeric minimums and
53
53
  // instance selector are generated here; this rule is removed after the first measurement,
54
54
  // so live resizing never rewrites stylesheet text. The named container is local to this shell.
55
+ // Scope each query to its own following grid. Hydration can retain the server's ID
56
+ // while subsequent renders use a different client ID. Include both minimums so
57
+ // layouts with different query conditions cannot apply their rules to each other.
58
+ // Encode punctuation to keep the CSS attribute selector unquoted (React 18 escapes
59
+ // quotes in server-rendered style text).
60
+ var queryKey = "m".concat(mainMinWidth, "p").concat(panelMinWidth).replace(/[^a-zA-Z0-9_-]/g, function (character) {
61
+ return "_".concat(character.charCodeAt(0), "_");
62
+ });
63
+ var useSiblingSelector = fg('platform-dst-chat-panel-layout');
64
+ var inlineSelector = useSiblingSelector ? "style[data-panel-layout-query=".concat(queryKey, "] + div") : "#".concat(id);
55
65
  var inlineQuery = "@container local-panel-layout (min-width: ".concat(mainMinWidth + panelMinWidth, "px)");
56
66
  return /*#__PURE__*/React.createElement("div", {
57
67
  className: ax([styles.container])
@@ -59,10 +69,14 @@ export function PanelLayoutShell(_ref) {
59
69
  /*#__PURE__*/
60
70
  // Keep the inline motion cap available during exit, after the open-only track rule is removed.
61
71
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped query matches the SSR inline allocation, including caller-defined minimums.
62
- React.createElement("style", null, "".concat(inlineQuery, " {\n\t\t\t\t\t#").concat(id, " { --p_lclPnlMotionMaxW: calc(100cqw - ").concat(mainMinWidth, "px); }\n\t\t\t\t}")), mode === undefined && isPanelOpen &&
72
+ React.createElement("style", {
73
+ "data-panel-layout-motion-query": queryKey
74
+ }, "".concat(inlineQuery, " {\n\t\t\t\t\tstyle[data-panel-layout-motion-query=").concat(queryKey, "] ~ div { --p_lclPnlMotionMaxW: calc(100cqw - ").concat(mainMinWidth, "px); }\n\t\t\t\t}")), mode === undefined && isPanelOpen &&
63
75
  /*#__PURE__*/
64
76
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles -- Instance-scoped SSR query supports caller-defined minimums; CSS variables are not allowed in query conditions.
65
- React.createElement("style", null, "".concat(inlineQuery, " {\n\t\t\t\t\t#").concat(id, " {\n\t\t\t\t\t\t--p_lclPnlSsrAreas: var(--p_lclPnlSsrInlineAreas);\n\t\t\t\t\t\t--p_lclPnlSsrColumns: minmax(0, 1fr) min(var(--p_lclPnlSsrPreferredW), calc(100% - ").concat(mainMinWidth, "px));\n\t\t\t\t\t\t--p_lclPnlSsrArea: panel;\n\t\t\t\t\t\t--p_lclPnlSsrWidth: 100%;\n\t\t\t\t\t\t--p_lclPnlSsrBackground: ", "var(--ds-surface, #FFFFFF)", ";\n\t\t\t\t\t\t--p_lclPnlSsrShadow: none;\n\t\t\t\t\t\t--p_lclPnlSsrBorder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #0B120E24)", ";\n\t\t\t\t\t}\n\t\t\t\t}")), /*#__PURE__*/React.createElement("div", {
77
+ React.createElement("style", {
78
+ "data-panel-layout-query": useSiblingSelector ? queryKey : undefined
79
+ }, "".concat(inlineQuery, " {\n\t\t\t\t\t").concat(inlineSelector, " {\n\t\t\t\t\t\t--p_lclPnlSsrAreas: var(--p_lclPnlSsrInlineAreas);\n\t\t\t\t\t\t--p_lclPnlSsrColumns: minmax(0, 1fr) min(var(--p_lclPnlSsrPreferredW), calc(100% - ").concat(mainMinWidth, "px));\n\t\t\t\t\t\t--p_lclPnlSsrArea: panel;\n\t\t\t\t\t\t--p_lclPnlSsrWidth: 100%;\n\t\t\t\t\t\t--p_lclPnlSsrBackground: ", "var(--ds-surface, #FFFFFF)", ";\n\t\t\t\t\t\t--p_lclPnlSsrShadow: none;\n\t\t\t\t\t\t--p_lclPnlSsrBorder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #0B120E24)", ";\n\t\t\t\t\t}\n\t\t\t\t}")), /*#__PURE__*/React.createElement("div", {
66
80
  id: id,
67
81
  "data-testid": testId,
68
82
  ref: layoutRef,
@@ -162,6 +162,7 @@ export var SideNavToggleButton = function SideNavToggleButton(_ref) {
162
162
  isTooltipDisabled: false,
163
163
  interactionName: interactionName,
164
164
  ref: setElement,
165
- tooltip: tooltipProps
165
+ tooltip: tooltipProps,
166
+ "aria-expanded": isSideNavExpanded
166
167
  });
167
168
  };
@@ -1,6 +1,3 @@
1
- export { IsFhsEnabledContext } from './ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider, type IsFhsEnabledProviderProps, } from './ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from './ui/fhs-rollout/use-is-fhs-enabled';
4
1
  export { Aside } from './ui/page-layout/aside';
5
2
  export { Banner } from './ui/page-layout/banner';
6
3
  export { Main } from './ui/page-layout/main/main';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/navigation-system",
3
- "version": "11.8.4",
3
+ "version": "12.0.1",
4
4
  "description": "The latest navigation system for Atlassian apps.",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
6
6
  "license": "Apache-2.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/button": "^25.8.0",
64
64
  "@atlaskit/css": "^1.1.0",
65
65
  "@atlaskit/ds-lib": "^9.0.0",
66
- "@atlaskit/icon": "^38.1.0",
66
+ "@atlaskit/icon": "^38.2.0",
67
67
  "@atlaskit/layering": "^6.1.0",
68
68
  "@atlaskit/logo": "^23.3.0",
69
69
  "@atlaskit/motion": "^10.0.0",
@@ -101,13 +101,13 @@
101
101
  "@atlaskit/flag": "^19.0.0",
102
102
  "@atlaskit/form": "^18.3.0",
103
103
  "@atlaskit/heading": "^8.0.0",
104
- "@atlaskit/icon-lab": "^7.11.0",
104
+ "@atlaskit/icon-lab": "^7.13.0",
105
105
  "@atlaskit/image": "^5.2.0",
106
106
  "@atlaskit/inline-dialog": "^20.3.0",
107
107
  "@atlaskit/link": "^5.1.0",
108
108
  "@atlaskit/lozenge": "^17.0.0",
109
109
  "@atlaskit/menu": "^11.0.0",
110
- "@atlaskit/modal-dialog": "^17.2.0",
110
+ "@atlaskit/modal-dialog": "^17.3.0",
111
111
  "@atlaskit/onboarding": "^15.4.0",
112
112
  "@atlaskit/page-header": "^13.3.0",
113
113
  "@atlaskit/page-layout": "^5.5.0",
@@ -126,7 +126,7 @@
126
126
  "@atlaskit/textfield": "^11.0.0",
127
127
  "@atlassian/feature-flags-test-utils": "^2.0.0",
128
128
  "@atlassian/gemini": "^1.55.0",
129
- "@atlassian/panel-system": "^2.3.0",
129
+ "@atlassian/panel-system": "^2.4.0",
130
130
  "@atlassian/react-async": "^0.23.0",
131
131
  "@atlassian/react-entrypoint": "^1.1.0",
132
132
  "@atlassian/relay-test-utils": "workspace:^",
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IsFhsEnabledContext", {
7
- enumerable: true,
8
- get: function get() {
9
- return _isFhsEnabledContext.IsFhsEnabledContext;
10
- }
11
- });
12
- Object.defineProperty(exports, "IsFhsEnabledProvider", {
13
- enumerable: true,
14
- get: function get() {
15
- return _isFhsEnabledProvider.IsFhsEnabledProvider;
16
- }
17
- });
18
- Object.defineProperty(exports, "useIsFhsEnabled", {
19
- enumerable: true,
20
- get: function get() {
21
- return _useIsFhsEnabled.useIsFhsEnabled;
22
- }
23
- });
24
- var _isFhsEnabledContext = require("../ui/fhs-rollout/is-fhs-enabled-context");
25
- var _isFhsEnabledProvider = require("../ui/fhs-rollout/is-fhs-enabled-provider");
26
- var _useIsFhsEnabled = require("../ui/fhs-rollout/use-is-fhs-enabled");
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.IsCustomIsFhsEnabledContext = void 0;
7
- var _react = require("react");
8
- /**
9
- * __Is custom is fhs enabled context__
10
- *
11
- * @deprecated Full height sidebar (FHS) has been rolled back. This context is no longer used and
12
- * will be deleted in a future major release.
13
- */
14
- var IsCustomIsFhsEnabledContext = exports.IsCustomIsFhsEnabledContext = /*#__PURE__*/(0, _react.createContext)(false);
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.IsFhsEnabledContext = void 0;
7
- var _react = require("react");
8
- /**
9
- * __Is fhs enabled context__
10
- *
11
- * @deprecated Full height sidebar (FHS) has been rolled back and this context is no longer read by
12
- * any platform component. Its value is ignored. Remove usages of it; it will be deleted in a future
13
- * major release.
14
- *
15
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
16
- */
17
- var IsFhsEnabledContext = exports.IsFhsEnabledContext = /*#__PURE__*/(0, _react.createContext)(false);
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.IsFhsEnabledProvider = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- /**
10
- * __Is fhs enabled provider__
11
- *
12
- * @deprecated Full height sidebar (FHS) has been rolled back. This provider is now a passthrough:
13
- * it renders its children and ignores `value`. Remove it from your app; it will be deleted in a
14
- * future major release.
15
- *
16
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
17
- */
18
- var IsFhsEnabledProvider = exports.IsFhsEnabledProvider = function IsFhsEnabledProvider(_ref) {
19
- var children = _ref.children;
20
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children);
21
- };
22
-
23
- /**
24
- * @deprecated Full height sidebar (FHS) has been rolled back. `value` is ignored.
25
- */
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useIsFhsEnabled = void 0;
7
- /**
8
- * __Use is fhs enabled__
9
- *
10
- * @deprecated Full height sidebar (FHS) has been rolled back. This hook always returns `false`.
11
- * Remove usages of it (treat it as `false`); it will be deleted in a future major release.
12
- *
13
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
14
- */
15
- var useIsFhsEnabled = exports.useIsFhsEnabled = function useIsFhsEnabled() {
16
- return false;
17
- };
@@ -1,3 +0,0 @@
1
- export { IsFhsEnabledContext } from '../ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider } from '../ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from '../ui/fhs-rollout/use-is-fhs-enabled';
@@ -1,9 +0,0 @@
1
- import { createContext } from 'react';
2
-
3
- /**
4
- * __Is custom is fhs enabled context__
5
- *
6
- * @deprecated Full height sidebar (FHS) has been rolled back. This context is no longer used and
7
- * will be deleted in a future major release.
8
- */
9
- export const IsCustomIsFhsEnabledContext = /*#__PURE__*/createContext(false);
@@ -1,11 +0,0 @@
1
- import { createContext } from 'react';
2
- /**
3
- * __Is fhs enabled context__
4
- *
5
- * @deprecated Full height sidebar (FHS) has been rolled back and this context is no longer read by
6
- * any platform component. Its value is ignored. Remove usages of it; it will be deleted in a future
7
- * major release.
8
- *
9
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
10
- */
11
- export const IsFhsEnabledContext = /*#__PURE__*/createContext(false);
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
-
3
- /**
4
- * __Is fhs enabled provider__
5
- *
6
- * @deprecated Full height sidebar (FHS) has been rolled back. This provider is now a passthrough:
7
- * it renders its children and ignores `value`. Remove it from your app; it will be deleted in a
8
- * future major release.
9
- *
10
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
11
- */
12
- export const IsFhsEnabledProvider = ({
13
- children
14
- }) => /*#__PURE__*/React.createElement(React.Fragment, null, children);
15
-
16
- /**
17
- * @deprecated Full height sidebar (FHS) has been rolled back. `value` is ignored.
18
- */
File without changes
@@ -1,9 +0,0 @@
1
- /**
2
- * __Use is fhs enabled__
3
- *
4
- * @deprecated Full height sidebar (FHS) has been rolled back. This hook always returns `false`.
5
- * Remove usages of it (treat it as `false`); it will be deleted in a future major release.
6
- *
7
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
8
- */
9
- export const useIsFhsEnabled = () => false;
@@ -1,3 +0,0 @@
1
- export { IsFhsEnabledContext } from '../ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider } from '../ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from '../ui/fhs-rollout/use-is-fhs-enabled';
@@ -1,9 +0,0 @@
1
- import { createContext } from 'react';
2
-
3
- /**
4
- * __Is custom is fhs enabled context__
5
- *
6
- * @deprecated Full height sidebar (FHS) has been rolled back. This context is no longer used and
7
- * will be deleted in a future major release.
8
- */
9
- export var IsCustomIsFhsEnabledContext = /*#__PURE__*/createContext(false);
@@ -1,11 +0,0 @@
1
- import { createContext } from 'react';
2
- /**
3
- * __Is fhs enabled context__
4
- *
5
- * @deprecated Full height sidebar (FHS) has been rolled back and this context is no longer read by
6
- * any platform component. Its value is ignored. Remove usages of it; it will be deleted in a future
7
- * major release.
8
- *
9
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
10
- */
11
- export var IsFhsEnabledContext = /*#__PURE__*/createContext(false);
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
-
3
- /**
4
- * __Is fhs enabled provider__
5
- *
6
- * @deprecated Full height sidebar (FHS) has been rolled back. This provider is now a passthrough:
7
- * it renders its children and ignores `value`. Remove it from your app; it will be deleted in a
8
- * future major release.
9
- *
10
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
11
- */
12
- export var IsFhsEnabledProvider = function IsFhsEnabledProvider(_ref) {
13
- var children = _ref.children;
14
- return /*#__PURE__*/React.createElement(React.Fragment, null, children);
15
- };
16
-
17
- /**
18
- * @deprecated Full height sidebar (FHS) has been rolled back. `value` is ignored.
19
- */
File without changes
@@ -1,11 +0,0 @@
1
- /**
2
- * __Use is fhs enabled__
3
- *
4
- * @deprecated Full height sidebar (FHS) has been rolled back. This hook always returns `false`.
5
- * Remove usages of it (treat it as `false`); it will be deleted in a future major release.
6
- *
7
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
8
- */
9
- export var useIsFhsEnabled = function useIsFhsEnabled() {
10
- return false;
11
- };
@@ -1,3 +0,0 @@
1
- export { IsFhsEnabledContext } from '../ui/fhs-rollout/is-fhs-enabled-context';
2
- export { IsFhsEnabledProvider, type IsFhsEnabledProviderProps, } from '../ui/fhs-rollout/is-fhs-enabled-provider';
3
- export { useIsFhsEnabled } from '../ui/fhs-rollout/use-is-fhs-enabled';
@@ -1,7 +0,0 @@
1
- /**
2
- * __Is custom is fhs enabled context__
3
- *
4
- * @deprecated Full height sidebar (FHS) has been rolled back. This context is no longer used and
5
- * will be deleted in a future major release.
6
- */
7
- export declare const IsCustomIsFhsEnabledContext: import('react').Context<boolean>;
@@ -1,11 +0,0 @@
1
- import type { Get } from './types';
2
- /**
3
- * __Is fhs enabled context__
4
- *
5
- * @deprecated Full height sidebar (FHS) has been rolled back and this context is no longer read by
6
- * any platform component. Its value is ignored. Remove usages of it; it will be deleted in a future
7
- * major release.
8
- *
9
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
10
- */
11
- export declare const IsFhsEnabledContext: import('react').Context<boolean | Get<boolean>>;
@@ -1,17 +0,0 @@
1
- import React, { type PropsWithChildren } from 'react';
2
- /**
3
- * __Is fhs enabled provider__
4
- *
5
- * @deprecated Full height sidebar (FHS) has been rolled back. This provider is now a passthrough:
6
- * it renders its children and ignores `value`. Remove it from your app; it will be deleted in a
7
- * future major release.
8
- *
9
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
10
- */
11
- export declare const IsFhsEnabledProvider: ({ children, }: IsFhsEnabledProviderProps) => React.JSX.Element;
12
- /**
13
- * @deprecated Full height sidebar (FHS) has been rolled back. `value` is ignored.
14
- */
15
- export type IsFhsEnabledProviderProps = PropsWithChildren<{
16
- value: boolean;
17
- }>;
@@ -1 +0,0 @@
1
- export type Get<T> = () => T;
@@ -1,9 +0,0 @@
1
- /**
2
- * __Use is fhs enabled__
3
- *
4
- * @deprecated Full height sidebar (FHS) has been rolled back. This hook always returns `false`.
5
- * Remove usages of it (treat it as `false`); it will be deleted in a future major release.
6
- *
7
- * See https://hello.atlassian.net/wiki/spaces/navx/pages/7189669176/Full+Height+Sidebar+FHS+Rollback+Plan
8
- */
9
- export declare const useIsFhsEnabled: () => boolean;
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@atlaskit/navigation-system/fhs-rollout",
3
- "main": "../dist/cjs/entry-points/fhs-rollout.js",
4
- "module": "../dist/esm/entry-points/fhs-rollout.js",
5
- "module:es2019": "../dist/es2019/entry-points/fhs-rollout.js",
6
- "sideEffects": [
7
- "*.compiled.css"
8
- ],
9
- "types": "../dist/types/entry-points/fhs-rollout.d.ts"
10
- }