@primer/react 0.0.0-20260220140307 → 0.0.0-20260220143956

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 (30) hide show
  1. package/CHANGELOG.md +4 -12
  2. package/dist/ActionList/ActionList-f4ac3b54.css +2 -0
  3. package/dist/ActionList/ActionList-f4ac3b54.css.map +1 -0
  4. package/dist/ActionList/ActionList.module.css.js +1 -1
  5. package/dist/ActionList/Item.d.ts.map +1 -1
  6. package/dist/ActionList/Item.js +0 -1
  7. package/dist/Blankslate/{Blankslate-a039d79a.css → Blankslate-f5a9755a.css} +2 -2
  8. package/dist/Blankslate/Blankslate-f5a9755a.css.map +1 -0
  9. package/dist/Blankslate/Blankslate.module.css.js +1 -1
  10. package/dist/PageLayout/PageLayout-cb491b47.css +2 -0
  11. package/dist/PageLayout/PageLayout-cb491b47.css.map +1 -0
  12. package/dist/PageLayout/PageLayout.d.ts +2 -72
  13. package/dist/PageLayout/PageLayout.d.ts.map +1 -1
  14. package/dist/PageLayout/PageLayout.js +44 -497
  15. package/dist/PageLayout/PageLayout.module.css.js +2 -2
  16. package/dist/PageLayout/usePaneWidth.d.ts +5 -18
  17. package/dist/PageLayout/usePaneWidth.d.ts.map +1 -1
  18. package/dist/PageLayout/usePaneWidth.js +111 -125
  19. package/dist/Spinner/Spinner.d.ts.map +1 -1
  20. package/dist/Spinner/Spinner.js +106 -152
  21. package/dist/SplitPageLayout/SplitPageLayout.d.ts +1 -4
  22. package/dist/SplitPageLayout/SplitPageLayout.d.ts.map +1 -1
  23. package/dist/SplitPageLayout/SplitPageLayout.js +2 -54
  24. package/generated/components.json +1 -187
  25. package/package.json +1 -1
  26. package/dist/ActionList/ActionList-c04a02d6.css +0 -2
  27. package/dist/ActionList/ActionList-c04a02d6.css.map +0 -1
  28. package/dist/Blankslate/Blankslate-a039d79a.css.map +0 -1
  29. package/dist/PageLayout/PageLayout-06f4c069.css +0 -2
  30. package/dist/PageLayout/PageLayout-06f4c069.css.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { c } from 'react-compiler-runtime';
2
2
  import { clsx } from 'clsx';
3
- import { useState, useEffect, useRef, useSyncExternalStore } from 'react';
3
+ import { useState, useEffect } from 'react';
4
4
  import classes from './Spinner.module.css.js';
5
5
  import { useMedia } from '../hooks/useMedia.js';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -8,6 +8,7 @@ import { useFeatureFlag } from '../FeatureFlags/useFeatureFlag.js';
8
8
  import { useId } from '../hooks/useId.js';
9
9
  import { VisuallyHidden } from '../VisuallyHidden/VisuallyHidden.js';
10
10
 
11
+ const ANIMATION_DURATION_MS = 1000;
11
12
  const sizeMap = {
12
13
  small: '16px',
13
14
  medium: '32px',
@@ -15,7 +16,7 @@ const sizeMap = {
15
16
  };
16
17
  function Spinner(t0) {
17
18
  var _ariaLabel;
18
- const $ = c(30);
19
+ const $ = c(35);
19
20
  let ariaLabel;
20
21
  let className;
21
22
  let props;
@@ -54,50 +55,82 @@ function Spinner(t0) {
54
55
  const srText = t2 === undefined ? "Loading" : t2;
55
56
  const delay = t3 === undefined ? false : t3;
56
57
  const syncAnimationsEnabled = useFeatureFlag("primer_react_spinner_synchronize_animations");
57
- const animationRef = useSpinnerAnimation();
58
+ const noMotionPreference = useMedia("(prefers-reduced-motion: no-preference)", false);
58
59
  const size = sizeMap[sizeKey];
59
60
  const hasHiddenLabel = srText !== null && ariaLabel === undefined;
60
61
  const labelId = useId();
61
- const [isVisible, setIsVisible] = useState(!delay);
62
62
  let t4;
63
- let t5;
64
63
  if ($[8] !== delay) {
65
- t4 = () => {
64
+ t4 = () => ({
65
+ isVisible: !delay,
66
+ syncDelay: !delay ? computeSyncDelay() : 0
67
+ });
68
+ $[8] = delay;
69
+ $[9] = t4;
70
+ } else {
71
+ t4 = $[9];
72
+ }
73
+ const [t5, setVisibleState] = useState(t4);
74
+ const {
75
+ isVisible,
76
+ syncDelay
77
+ } = t5;
78
+ let t6;
79
+ let t7;
80
+ if ($[10] !== delay) {
81
+ t6 = () => {
66
82
  if (delay) {
67
83
  const delayDuration = typeof delay === "number" ? delay : delay === "short" ? 300 : 1000;
68
84
  const timeoutId = setTimeout(() => {
69
- setIsVisible(true);
85
+ setVisibleState({
86
+ isVisible: true,
87
+ syncDelay: computeSyncDelay()
88
+ });
70
89
  }, delayDuration);
71
90
  return () => clearTimeout(timeoutId);
72
91
  }
73
92
  };
74
- t5 = [delay];
75
- $[8] = delay;
76
- $[9] = t4;
77
- $[10] = t5;
93
+ t7 = [delay];
94
+ $[10] = delay;
95
+ $[11] = t6;
96
+ $[12] = t7;
78
97
  } else {
79
- t4 = $[9];
80
- t5 = $[10];
98
+ t6 = $[11];
99
+ t7 = $[12];
81
100
  }
82
- useEffect(t4, t5);
101
+ useEffect(t6, t7);
83
102
  if (!isVisible) {
84
103
  return null;
85
104
  }
86
- const t6 = syncAnimationsEnabled ? animationRef : undefined;
87
- const t7 = (_ariaLabel = ariaLabel) !== null && _ariaLabel !== void 0 ? _ariaLabel : undefined;
88
- const t8 = hasHiddenLabel ? labelId : undefined;
89
- let t9;
90
- if ($[11] !== className) {
91
- t9 = clsx(className, classes.SpinnerAnimation);
92
- $[11] = className;
93
- $[12] = t9;
105
+ const shouldSync = syncAnimationsEnabled && noMotionPreference;
106
+ let t8;
107
+ if ($[13] !== shouldSync || $[14] !== style || $[15] !== syncDelay) {
108
+ t8 = shouldSync ? {
109
+ ...style,
110
+ animationDelay: `${syncDelay}ms`
111
+ } : style;
112
+ $[13] = shouldSync;
113
+ $[14] = style;
114
+ $[15] = syncDelay;
115
+ $[16] = t8;
94
116
  } else {
95
- t9 = $[12];
117
+ t8 = $[16];
96
118
  }
97
- let t10;
119
+ const mergedStyle = t8;
120
+ const t9 = (_ariaLabel = ariaLabel) !== null && _ariaLabel !== void 0 ? _ariaLabel : undefined;
121
+ const t10 = hasHiddenLabel ? labelId : undefined;
98
122
  let t11;
99
- if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
100
- t10 = /*#__PURE__*/jsx("circle", {
123
+ if ($[17] !== className) {
124
+ t11 = clsx(className, classes.SpinnerAnimation);
125
+ $[17] = className;
126
+ $[18] = t11;
127
+ } else {
128
+ t11 = $[18];
129
+ }
130
+ let t12;
131
+ let t13;
132
+ if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
133
+ t12 = /*#__PURE__*/jsx("circle", {
101
134
  cx: "8",
102
135
  cy: "8",
103
136
  r: "7",
@@ -106,163 +139,84 @@ function Spinner(t0) {
106
139
  strokeWidth: "2",
107
140
  vectorEffect: "non-scaling-stroke"
108
141
  });
109
- t11 = /*#__PURE__*/jsx("path", {
142
+ t13 = /*#__PURE__*/jsx("path", {
110
143
  d: "M15 8a7.002 7.002 0 00-7-7",
111
144
  stroke: "currentColor",
112
145
  strokeWidth: "2",
113
146
  strokeLinecap: "round",
114
147
  vectorEffect: "non-scaling-stroke"
115
148
  });
116
- $[13] = t10;
117
- $[14] = t11;
149
+ $[19] = t12;
150
+ $[20] = t13;
118
151
  } else {
119
- t10 = $[13];
120
- t11 = $[14];
152
+ t12 = $[19];
153
+ t13 = $[20];
121
154
  }
122
- let t12;
123
- if ($[15] !== props || $[16] !== size || $[17] !== style || $[18] !== t6 || $[19] !== t7 || $[20] !== t8 || $[21] !== t9) {
124
- t12 = /*#__PURE__*/jsxs("svg", {
125
- ref: t6,
155
+ let t14;
156
+ if ($[21] !== mergedStyle || $[22] !== props || $[23] !== size || $[24] !== t10 || $[25] !== t11 || $[26] !== t9) {
157
+ t14 = /*#__PURE__*/jsxs("svg", {
126
158
  height: size,
127
159
  width: size,
128
160
  viewBox: "0 0 16 16",
129
161
  fill: "none",
130
162
  "aria-hidden": true,
131
- "aria-label": t7,
132
- "aria-labelledby": t8,
133
- className: t9,
134
- style: style,
163
+ "aria-label": t9,
164
+ "aria-labelledby": t10,
165
+ className: t11,
166
+ style: mergedStyle,
135
167
  ...props,
136
- children: [t10, t11]
168
+ children: [t12, t13]
137
169
  });
138
- $[15] = props;
139
- $[16] = size;
140
- $[17] = style;
141
- $[18] = t6;
142
- $[19] = t7;
143
- $[20] = t8;
144
- $[21] = t9;
145
- $[22] = t12;
170
+ $[21] = mergedStyle;
171
+ $[22] = props;
172
+ $[23] = size;
173
+ $[24] = t10;
174
+ $[25] = t11;
175
+ $[26] = t9;
176
+ $[27] = t14;
146
177
  } else {
147
- t12 = $[22];
178
+ t14 = $[27];
148
179
  }
149
- let t13;
150
- if ($[23] !== hasHiddenLabel || $[24] !== labelId || $[25] !== srText) {
151
- t13 = hasHiddenLabel ? /*#__PURE__*/jsx(VisuallyHidden, {
180
+ let t15;
181
+ if ($[28] !== hasHiddenLabel || $[29] !== labelId || $[30] !== srText) {
182
+ t15 = hasHiddenLabel ? /*#__PURE__*/jsx(VisuallyHidden, {
152
183
  id: labelId,
153
184
  children: srText
154
185
  }) : null;
155
- $[23] = hasHiddenLabel;
156
- $[24] = labelId;
157
- $[25] = srText;
158
- $[26] = t13;
186
+ $[28] = hasHiddenLabel;
187
+ $[29] = labelId;
188
+ $[30] = srText;
189
+ $[31] = t15;
159
190
  } else {
160
- t13 = $[26];
191
+ t15 = $[31];
161
192
  }
162
- let t14;
163
- if ($[27] !== t12 || $[28] !== t13) {
164
- t14 = /*#__PURE__*/jsxs("span", {
193
+ let t16;
194
+ if ($[32] !== t14 || $[33] !== t15) {
195
+ t16 = /*#__PURE__*/jsxs("span", {
165
196
  className: classes.Box,
166
- children: [t12, t13]
197
+ children: [t14, t15]
167
198
  });
168
- $[27] = t12;
169
- $[28] = t13;
170
- $[29] = t14;
199
+ $[32] = t14;
200
+ $[33] = t15;
201
+ $[34] = t16;
171
202
  } else {
172
- t14 = $[29];
203
+ t16 = $[34];
173
204
  }
174
- return t14;
205
+ return t16;
175
206
  }
176
207
  Spinner.displayName = 'Spinner';
177
- const animationTimingStore = {
178
- subscribers: new Set(),
179
- value: {
180
- startTime: null
181
- },
182
- update(startTime) {
183
- const value = {
184
- startTime
185
- };
186
- animationTimingStore.value = value;
187
- for (const subscriber of animationTimingStore.subscribers) {
188
- subscriber();
189
- }
190
- },
191
- subscribe(subscriber) {
192
- animationTimingStore.subscribers.add(subscriber);
193
- return () => {
194
- animationTimingStore.subscribers.delete(subscriber);
195
- };
196
- },
197
- getSnapshot() {
198
- return animationTimingStore.value;
199
- },
200
- getServerSnapshot() {
201
- return animationTimingStore.value;
202
- }
203
- };
204
-
205
- /**
206
- * A utility hook for reading a common `startTime` value so that all animations
207
- * are in sync. This is a global value and is coordinated through `useSyncExternalStore`.
208
- */
209
- function useAnimationTiming() {
210
- return useSyncExternalStore(animationTimingStore.subscribe, animationTimingStore.getSnapshot, animationTimingStore.getServerSnapshot);
211
- }
212
208
 
213
209
  /**
214
- * Uses a technique from Spectrum to coordinate animations:
215
- * @see https://github.com/adobe/react-spectrum/blob/ab5e6f3dba4235dafab9f81f8b5c506ce5f11230/packages/%40react-spectrum/s2/src/Skeleton.tsx#L21
210
+ * Computes a negative animation-delay so all spinners land at the same
211
+ * rotation angle regardless of when they mount. Because every instance
212
+ * references the same clock (performance.now()), the CSS animation engine
213
+ * keeps them visually in sync without any Web Animations API calls
214
+ * (getAnimations, element.animate, startTime), which are significantly
215
+ * slower in Safari/WebKit.
216
216
  */
217
- function useSpinnerAnimation() {
218
- const $ = c(3);
219
- const ref = useRef(null);
220
- const noMotionPreference = useMedia("(prefers-reduced-motion: no-preference)", false);
221
- const animationTiming = useAnimationTiming();
222
- let t0;
223
- if ($[0] !== animationTiming || $[1] !== noMotionPreference) {
224
- t0 = element => {
225
- if (!element) {
226
- return;
227
- }
228
- if (ref.current !== null) {
229
- return;
230
- }
231
- if (noMotionPreference) {
232
- const cssAnimation = element.getAnimations().find(_temp);
233
- cssAnimation === null || cssAnimation === void 0 ? void 0 : cssAnimation.pause();
234
- ref.current = element.animate([{
235
- transform: "rotate(0deg)"
236
- }, {
237
- transform: "rotate(360deg)"
238
- }], {
239
- duration: 1000,
240
- easing: "cubic-bezier(0,0,1,1)",
241
- iterations: Infinity
242
- });
243
- if (animationTiming.startTime === null) {
244
- var _cssAnimation$startTi;
245
- const startTime = (_cssAnimation$startTi = cssAnimation === null || cssAnimation === void 0 ? void 0 : cssAnimation.startTime) !== null && _cssAnimation$startTi !== void 0 ? _cssAnimation$startTi : 0;
246
- animationTimingStore.update(startTime);
247
- ref.current.startTime = startTime;
248
- } else {
249
- ref.current.startTime = animationTiming.startTime;
250
- }
251
- }
252
- };
253
- $[0] = animationTiming;
254
- $[1] = noMotionPreference;
255
- $[2] = t0;
256
- } else {
257
- t0 = $[2];
258
- }
259
- return t0;
260
- }
261
- function _temp(animation) {
262
- if (animation instanceof CSSAnimation) {
263
- return animation.animationName.startsWith("Spinner") && animation.animationName.endsWith("rotate-keyframes");
264
- }
265
- return false;
217
+ function computeSyncDelay() {
218
+ const now = typeof performance !== 'undefined' ? performance.now() : 0;
219
+ return -(now % ANIMATION_DURATION_MS);
266
220
  }
267
221
 
268
222
  export { Spinner as default };
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneProps, PageLayoutSidebarProps } from '../PageLayout';
2
+ import type { PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneProps } from '../PageLayout';
3
3
  export type SplitPageLayoutProps = {
4
4
  className?: string;
5
5
  };
@@ -10,15 +10,12 @@ export type SplitPageLayoutContentProps = PageLayoutContentProps;
10
10
  export declare const Content: React.FC<React.PropsWithChildren<SplitPageLayoutContentProps>>;
11
11
  export type SplitPageLayoutPaneProps = PageLayoutPaneProps;
12
12
  export declare const Pane: React.FC<React.PropsWithChildren<SplitPageLayoutPaneProps>>;
13
- export type SplitPageLayoutSidebarProps = PageLayoutSidebarProps;
14
- export declare const Sidebar: React.FC<React.PropsWithChildren<SplitPageLayoutSidebarProps>>;
15
13
  export type SplitPageLayoutFooterProps = PageLayoutFooterProps;
16
14
  export declare const Footer: React.FC<React.PropsWithChildren<SplitPageLayoutFooterProps>>;
17
15
  export declare const SplitPageLayout: React.FC<React.PropsWithChildren<SplitPageLayoutProps>> & {
18
16
  Header: React.FC<React.PropsWithChildren<PageLayoutHeaderProps>>;
19
17
  Content: React.FC<React.PropsWithChildren<PageLayoutContentProps>>;
20
18
  Pane: React.FC<React.PropsWithChildren<PageLayoutPaneProps>>;
21
- Sidebar: React.FC<React.PropsWithChildren<PageLayoutSidebarProps>>;
22
19
  Footer: React.FC<React.PropsWithChildren<PageLayoutFooterProps>>;
23
20
  };
24
21
  //# sourceMappingURL=SplitPageLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SplitPageLayout.d.ts","sourceRoot":"","sources":["../../src/SplitPageLayout/SplitPageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,eAAe,CAAA;AAMtB,MAAM,MAAM,oBAAoB,GAAG;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAC,CAAA;AAEvD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAexE,CAAA;AAOD,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAA;AAE9D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAOhF,CAAA;AAOD,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAA;AAEhE,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAMlF,CAAA;AAOD,MAAM,MAAM,wBAAwB,GAAG,mBAAmB,CAAA;AAE1D,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,CAgB5E,CAAA;AAMD,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAA;AAEhE,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAOlF,CAAA;AAOD,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAA;AAE9D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAOhF,CAAA;AAOD,eAAO,MAAM,eAAe;;;;;;CAM1B,CAAA"}
1
+ {"version":3,"file":"SplitPageLayout.d.ts","sourceRoot":"","sources":["../../src/SplitPageLayout/SplitPageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,eAAe,CAAA;AAMtB,MAAM,MAAM,oBAAoB,GAAG;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAC,CAAA;AAEvD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAcxE,CAAA;AAOD,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAA;AAE9D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAOhF,CAAA;AAOD,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAA;AAEhE,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAMlF,CAAA;AAOD,MAAM,MAAM,wBAAwB,GAAG,mBAAmB,CAAA;AAE1D,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,CAgB5E,CAAA;AAMD,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAA;AAE9D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAOhF,CAAA;AAOD,eAAO,MAAM,eAAe;;;;;CAK1B,CAAA"}
@@ -8,8 +8,7 @@ const Root = props => {
8
8
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
9
9
  t0 = {
10
10
  header: Header,
11
- footer: Footer,
12
- sidebar: Sidebar
11
+ footer: Footer
13
12
  };
14
13
  $[0] = t0;
15
14
  } else {
@@ -177,56 +176,6 @@ const Pane = t0 => {
177
176
  };
178
177
  Pane.displayName = 'SplitPageLayout.Pane';
179
178
 
180
- // ----------------------------------------------------------------------------
181
- // SplitPageLayout.Sidebar
182
-
183
- const Sidebar = t0 => {
184
- const $ = c(10);
185
- let props;
186
- let t1;
187
- let t2;
188
- let t3;
189
- if ($[0] !== t0) {
190
- ({
191
- position: t1,
192
- padding: t2,
193
- divider: t3,
194
- ...props
195
- } = t0);
196
- $[0] = t0;
197
- $[1] = props;
198
- $[2] = t1;
199
- $[3] = t2;
200
- $[4] = t3;
201
- } else {
202
- props = $[1];
203
- t1 = $[2];
204
- t2 = $[3];
205
- t3 = $[4];
206
- }
207
- const position = t1 === undefined ? "start" : t1;
208
- const padding = t2 === undefined ? "normal" : t2;
209
- const divider = t3 === undefined ? "line" : t3;
210
- let t4;
211
- if ($[5] !== divider || $[6] !== padding || $[7] !== position || $[8] !== props) {
212
- t4 = /*#__PURE__*/jsx(PageLayout.Sidebar, {
213
- position: position,
214
- padding: padding,
215
- divider: divider,
216
- ...props
217
- });
218
- $[5] = divider;
219
- $[6] = padding;
220
- $[7] = position;
221
- $[8] = props;
222
- $[9] = t4;
223
- } else {
224
- t4 = $[9];
225
- }
226
- return t4;
227
- };
228
- Sidebar.displayName = 'SplitPageLayout.Sidebar';
229
-
230
179
  // ----------------------------------------------------------------------------
231
180
  // SplitPageLayout.Footer
232
181
 
@@ -277,8 +226,7 @@ const SplitPageLayout = Object.assign(Root, {
277
226
  Header,
278
227
  Content,
279
228
  Pane,
280
- Sidebar,
281
229
  Footer
282
230
  });
283
231
 
284
- export { Content, Footer, Header, Pane, Root, Sidebar, SplitPageLayout };
232
+ export { Content, Footer, Header, Pane, Root, SplitPageLayout };