@primer/react 0.0.0-20260223110740 → 0.0.0-20260223170714
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 +2 -12
- package/dist/ActionList/ActionList-f4ac3b54.css +2 -0
- package/dist/ActionList/ActionList-f4ac3b54.css.map +1 -0
- package/dist/ActionList/ActionList.module.css.js +1 -1
- package/dist/ActionList/Item.d.ts.map +1 -1
- package/dist/ActionList/Item.js +0 -1
- package/dist/Blankslate/{Blankslate-a039d79a.css → Blankslate-f5a9755a.css} +2 -2
- package/dist/Blankslate/Blankslate-f5a9755a.css.map +1 -0
- package/dist/Blankslate/Blankslate.module.css.js +1 -1
- package/dist/PageLayout/PageLayout-cb491b47.css +2 -0
- package/dist/PageLayout/PageLayout-cb491b47.css.map +1 -0
- package/dist/PageLayout/PageLayout.d.ts +2 -72
- package/dist/PageLayout/PageLayout.d.ts.map +1 -1
- package/dist/PageLayout/PageLayout.js +44 -497
- package/dist/PageLayout/PageLayout.module.css.js +2 -2
- package/dist/PageLayout/usePaneWidth.d.ts +5 -18
- package/dist/PageLayout/usePaneWidth.d.ts.map +1 -1
- package/dist/PageLayout/usePaneWidth.js +111 -125
- package/dist/SplitPageLayout/SplitPageLayout.d.ts +1 -4
- package/dist/SplitPageLayout/SplitPageLayout.d.ts.map +1 -1
- package/dist/SplitPageLayout/SplitPageLayout.js +2 -54
- package/dist/UnderlineNav/UnderlineNav-1e84e6f4.css +2 -0
- package/dist/UnderlineNav/UnderlineNav-1e84e6f4.css.map +1 -0
- package/dist/UnderlineNav/UnderlineNav.d.ts.map +1 -1
- package/dist/UnderlineNav/UnderlineNav.js +88 -324
- package/dist/UnderlineNav/UnderlineNav.module.css.js +2 -2
- package/dist/UnderlineNav/UnderlineNavContext.d.ts +4 -11
- package/dist/UnderlineNav/UnderlineNavContext.d.ts.map +1 -1
- package/dist/UnderlineNav/UnderlineNavContext.js +2 -3
- package/dist/UnderlineNav/UnderlineNavItem-db9dc5d0.css +2 -0
- package/dist/UnderlineNav/UnderlineNavItem-db9dc5d0.css.map +1 -0
- package/dist/UnderlineNav/UnderlineNavItem.d.ts.map +1 -1
- package/dist/UnderlineNav/UnderlineNavItem.js +97 -85
- package/dist/UnderlineNav/UnderlineNavItem.module.css.js +1 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +1 -1
- package/dist/internal/components/UnderlineTabbedInterface-be1a162c.css +2 -0
- package/dist/internal/components/UnderlineTabbedInterface-be1a162c.css.map +1 -0
- package/dist/internal/components/UnderlineTabbedInterface.d.ts +0 -1
- package/dist/internal/components/UnderlineTabbedInterface.d.ts.map +1 -1
- package/dist/internal/components/UnderlineTabbedInterface.js +66 -60
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +1 -1
- package/generated/components.json +2 -188
- package/package.json +1 -1
- package/dist/ActionList/ActionList-c04a02d6.css +0 -2
- package/dist/ActionList/ActionList-c04a02d6.css.map +0 -1
- package/dist/Blankslate/Blankslate-a039d79a.css.map +0 -1
- package/dist/PageLayout/PageLayout-06f4c069.css +0 -2
- package/dist/PageLayout/PageLayout-06f4c069.css.map +0 -1
- package/dist/UnderlineNav/UnderlineNav-4344d9b0.css +0 -2
- package/dist/UnderlineNav/UnderlineNav-4344d9b0.css.map +0 -1
- package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css +0 -2
- package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css.map +0 -1
- package/dist/UnderlineNav/styles.d.ts +0 -16
- package/dist/UnderlineNav/styles.d.ts.map +0 -1
- package/dist/UnderlineNav/styles.js +0 -19
- package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css +0 -2
- package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css.map +0 -1
|
@@ -16,17 +16,10 @@ export type UsePaneWidthOptions = {
|
|
|
16
16
|
width: PaneWidthValue;
|
|
17
17
|
minWidth: number;
|
|
18
18
|
resizable: boolean;
|
|
19
|
-
|
|
20
|
-
widthStorageKey?: string;
|
|
19
|
+
widthStorageKey: string;
|
|
21
20
|
paneRef: React.RefObject<HTMLDivElement | null>;
|
|
22
21
|
handleRef: React.RefObject<HTMLDivElement | null>;
|
|
23
22
|
contentWrapperRef: React.RefObject<HTMLDivElement | null>;
|
|
24
|
-
/**
|
|
25
|
-
* When true, custom max width values are capped to the viewport-based max.
|
|
26
|
-
* This prevents overflow in non-wrapping flex layouts (e.g., Sidebar).
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
constrainToViewport?: boolean;
|
|
30
23
|
/** Callback fired when a resize operation ends (drag release or keyboard key up) */
|
|
31
24
|
onResizeEnd?: (width: number) => void;
|
|
32
25
|
/** Current/controlled width value in pixels (used instead of internal state; default from `width` is still used for reset) */
|
|
@@ -53,11 +46,6 @@ export type UsePaneWidthResult = {
|
|
|
53
46
|
* Imported from CSS to ensure JS fallback matches the CSS default.
|
|
54
47
|
*/
|
|
55
48
|
export declare const DEFAULT_MAX_WIDTH_DIFF: number;
|
|
56
|
-
/**
|
|
57
|
-
* Default value for --sidebar-max-width-diff CSS variable.
|
|
58
|
-
* Unlike --pane-max-width-diff, this is constant across all viewport sizes.
|
|
59
|
-
*/
|
|
60
|
-
export declare const DEFAULT_SIDEBAR_MAX_WIDTH_DIFF: number;
|
|
61
49
|
/**
|
|
62
50
|
* Default max pane width for SSR when viewport is unknown.
|
|
63
51
|
* Updated to actual value in layout effect before paint.
|
|
@@ -74,12 +62,11 @@ export declare const isCustomWidthOptions: (width: PaneWidthValue) => width is C
|
|
|
74
62
|
export declare const isPaneWidth: (width: PaneWidthValue) => width is PaneWidth;
|
|
75
63
|
export declare const getDefaultPaneWidth: (w: PaneWidthValue) => number;
|
|
76
64
|
/**
|
|
77
|
-
* Gets the max-width-diff CSS variable value from a pane element.
|
|
78
|
-
*
|
|
79
|
-
* For panes, reads --pane-max-width-diff (changes at 1280px breakpoint).
|
|
65
|
+
* Gets the --pane-max-width-diff CSS variable value from a pane element.
|
|
66
|
+
* This value is set by CSS media queries and controls the max pane width constraint.
|
|
80
67
|
* Note: This calls getComputedStyle which forces layout - cache the result when possible.
|
|
81
68
|
*/
|
|
82
|
-
export declare function getPaneMaxWidthDiff(paneElement: HTMLElement | null
|
|
69
|
+
export declare function getPaneMaxWidthDiff(paneElement: HTMLElement | null): number;
|
|
83
70
|
export declare const updateAriaValues: (handle: HTMLElement | null, values: {
|
|
84
71
|
current?: number;
|
|
85
72
|
min?: number;
|
|
@@ -95,6 +82,6 @@ export declare const updateAriaValues: (handle: HTMLElement | null, values: {
|
|
|
95
82
|
* - When `onResizeEnd` is provided: Calls the callback instead of localStorage
|
|
96
83
|
* - When `resizable` is `false` or `undefined`: Not resizable, no persistence
|
|
97
84
|
*/
|
|
98
|
-
export declare function usePaneWidth({ width, minWidth, resizable, widthStorageKey, paneRef, handleRef, contentWrapperRef,
|
|
85
|
+
export declare function usePaneWidth({ width, minWidth, resizable, widthStorageKey, paneRef, handleRef, contentWrapperRef, onResizeEnd, currentWidth: controlledWidth, }: UsePaneWidthOptions): UsePaneWidthResult;
|
|
99
86
|
export {};
|
|
100
87
|
//# sourceMappingURL=usePaneWidth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePaneWidth.d.ts","sourceRoot":"","sources":["../../src/PageLayout/usePaneWidth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAOrD,KAAK,WAAW,GAAG,GAAG,MAAM,IAAI,CAAA;AAEhC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,WAAW,CAAA;IAChB,OAAO,EAAE,WAAW,CAAA;IACpB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEpD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,kBAAkB,CAAA;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,cAAc,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,
|
|
1
|
+
{"version":3,"file":"usePaneWidth.d.ts","sourceRoot":"","sources":["../../src/PageLayout/usePaneWidth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAOrD,KAAK,WAAW,GAAG,GAAG,MAAM,IAAI,CAAA;AAEhC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,WAAW,CAAA;IAChB,OAAO,EAAE,WAAW,CAAA;IACpB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEpD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,kBAAkB,CAAA;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,cAAc,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAC/C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACjD,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACzD,oFAAoF;IACpF,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,8HAA8H;IAC9H,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,8DAA8D;IAC9D,YAAY,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAC/C,iCAAiC;IACjC,YAAY,EAAE,MAAM,CAAA;IACpB,8DAA8D;IAC9D,YAAY,EAAE,MAAM,CAAA;IACpB,6CAA6C;IAC7C,eAAe,EAAE,MAAM,MAAM,CAAA;IAC7B,yDAAyD;IACzD,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,6BAA6B;IAC7B,eAAe,EAAE,MAAM,MAAM,CAAA;CAC9B,CAAA;AAKD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAA6C,CAAA;AAIhF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA;AAE/B,6CAA6C;AAC7C,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAyC,CAAA;AAKhG,eAAO,MAAM,oBAAoB,GAAI,OAAO,cAAc,KAAG,KAAK,IAAI,kBAErE,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,OAAO,cAAc,KAAG,KAAK,IAAI,SAE5D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,GAAG,cAAc,KAAG,MAOvD,CAAA;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,CAI3E;AAID,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,WAAW,GAAG,IAAI,EAC1B,QAAQ;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAC,SASvD,CAAA;AA8BD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,SAAS,EACT,eAAe,EACf,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,YAAY,EAAE,eAAe,GAC9B,EAAE,mBAAmB,GAAG,kBAAkB,CAiQ1C"}
|
|
@@ -21,12 +21,6 @@ import classes from './PageLayout.module.css.js';
|
|
|
21
21
|
*/
|
|
22
22
|
const DEFAULT_MAX_WIDTH_DIFF = Number(classes.paneMaxWidthDiffDefault);
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* Default value for --sidebar-max-width-diff CSS variable.
|
|
26
|
-
* Unlike --pane-max-width-diff, this is constant across all viewport sizes.
|
|
27
|
-
*/
|
|
28
|
-
const DEFAULT_SIDEBAR_MAX_WIDTH_DIFF = Number(classes.sidebarMaxWidthDiffDefault);
|
|
29
|
-
|
|
30
24
|
// --pane-max-width-diff changes at this breakpoint in PageLayout.module.css.
|
|
31
25
|
const DEFAULT_PANE_MAX_WIDTH_DIFF_BREAKPOINT = Number(classes.paneMaxWidthDiffBreakpoint);
|
|
32
26
|
/**
|
|
@@ -67,17 +61,14 @@ const getDefaultPaneWidth = w => {
|
|
|
67
61
|
};
|
|
68
62
|
|
|
69
63
|
/**
|
|
70
|
-
* Gets the max-width-diff CSS variable value from a pane element.
|
|
71
|
-
*
|
|
72
|
-
* For panes, reads --pane-max-width-diff (changes at 1280px breakpoint).
|
|
64
|
+
* Gets the --pane-max-width-diff CSS variable value from a pane element.
|
|
65
|
+
* This value is set by CSS media queries and controls the max pane width constraint.
|
|
73
66
|
* Note: This calls getComputedStyle which forces layout - cache the result when possible.
|
|
74
67
|
*/
|
|
75
|
-
function getPaneMaxWidthDiff(paneElement
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
const value = parseInt(getComputedStyle(paneElement).getPropertyValue(cssVar), 10);
|
|
80
|
-
return value > 0 ? value : defaultValue;
|
|
68
|
+
function getPaneMaxWidthDiff(paneElement) {
|
|
69
|
+
if (!paneElement) return DEFAULT_MAX_WIDTH_DIFF;
|
|
70
|
+
const value = parseInt(getComputedStyle(paneElement).getPropertyValue('--pane-max-width-diff'), 10);
|
|
71
|
+
return value > 0 ? value : DEFAULT_MAX_WIDTH_DIFF;
|
|
81
72
|
}
|
|
82
73
|
|
|
83
74
|
// Helper to update ARIA slider attributes via direct DOM manipulation
|
|
@@ -130,7 +121,7 @@ const localStoragePersister = {
|
|
|
130
121
|
* - When `resizable` is `false` or `undefined`: Not resizable, no persistence
|
|
131
122
|
*/
|
|
132
123
|
function usePaneWidth(t0) {
|
|
133
|
-
const $ = c(
|
|
124
|
+
const $ = c(40);
|
|
134
125
|
const {
|
|
135
126
|
width,
|
|
136
127
|
minWidth,
|
|
@@ -139,64 +130,60 @@ function usePaneWidth(t0) {
|
|
|
139
130
|
paneRef,
|
|
140
131
|
handleRef,
|
|
141
132
|
contentWrapperRef,
|
|
142
|
-
constrainToViewport: t1,
|
|
143
133
|
onResizeEnd,
|
|
144
134
|
currentWidth: controlledWidth
|
|
145
135
|
} = t0;
|
|
146
|
-
const constrainToViewport = t1 === undefined ? false : t1;
|
|
147
136
|
const isCustomWidth = isCustomWidthOptions(width);
|
|
148
137
|
const minPaneWidth = isCustomWidth ? parseInt(width.min, 10) : minWidth;
|
|
149
138
|
const customMaxWidth = isCustomWidth ? parseInt(width.max, 10) : null;
|
|
150
139
|
const widthStorageKeyRef = React.useRef(widthStorageKey);
|
|
151
140
|
const onResizeEndRef = React.useRef(onResizeEnd);
|
|
152
|
-
let
|
|
141
|
+
let t1;
|
|
153
142
|
if ($[0] !== onResizeEnd || $[1] !== widthStorageKey) {
|
|
154
|
-
|
|
143
|
+
t1 = () => {
|
|
155
144
|
widthStorageKeyRef.current = widthStorageKey;
|
|
156
145
|
onResizeEndRef.current = onResizeEnd;
|
|
157
146
|
};
|
|
158
147
|
$[0] = onResizeEnd;
|
|
159
148
|
$[1] = widthStorageKey;
|
|
160
|
-
$[2] =
|
|
149
|
+
$[2] = t1;
|
|
161
150
|
} else {
|
|
162
|
-
|
|
151
|
+
t1 = $[2];
|
|
163
152
|
}
|
|
164
|
-
useIsomorphicLayoutEffect(
|
|
165
|
-
const maxWidthDiffRef = React.useRef(
|
|
166
|
-
let
|
|
167
|
-
if ($[3] !==
|
|
168
|
-
|
|
169
|
-
const viewportWidth = window.innerWidth;
|
|
170
|
-
const viewportMax = viewportWidth > 0 ? Math.max(minPaneWidth, viewportWidth - maxWidthDiffRef.current) : minPaneWidth;
|
|
153
|
+
useIsomorphicLayoutEffect(t1);
|
|
154
|
+
const maxWidthDiffRef = React.useRef(DEFAULT_MAX_WIDTH_DIFF);
|
|
155
|
+
let t2;
|
|
156
|
+
if ($[3] !== customMaxWidth || $[4] !== minPaneWidth) {
|
|
157
|
+
t2 = () => {
|
|
171
158
|
if (customMaxWidth !== null) {
|
|
172
|
-
return
|
|
159
|
+
return customMaxWidth;
|
|
173
160
|
}
|
|
174
|
-
|
|
161
|
+
const viewportWidth = window.innerWidth;
|
|
162
|
+
return viewportWidth > 0 ? Math.max(minPaneWidth, viewportWidth - maxWidthDiffRef.current) : minPaneWidth;
|
|
175
163
|
};
|
|
176
|
-
$[3] =
|
|
177
|
-
$[4] =
|
|
178
|
-
$[5] =
|
|
179
|
-
$[6] = t3;
|
|
164
|
+
$[3] = customMaxWidth;
|
|
165
|
+
$[4] = minPaneWidth;
|
|
166
|
+
$[5] = t2;
|
|
180
167
|
} else {
|
|
181
|
-
|
|
168
|
+
t2 = $[5];
|
|
182
169
|
}
|
|
183
|
-
const getMaxPaneWidth =
|
|
184
|
-
let
|
|
185
|
-
if ($[
|
|
186
|
-
|
|
187
|
-
$[
|
|
188
|
-
$[
|
|
170
|
+
const getMaxPaneWidth = t2;
|
|
171
|
+
let t3;
|
|
172
|
+
if ($[6] !== width) {
|
|
173
|
+
t3 = getDefaultPaneWidth(width);
|
|
174
|
+
$[6] = width;
|
|
175
|
+
$[7] = t3;
|
|
189
176
|
} else {
|
|
190
|
-
|
|
177
|
+
t3 = $[7];
|
|
191
178
|
}
|
|
192
|
-
const defaultWidth =
|
|
193
|
-
let
|
|
194
|
-
if ($[
|
|
195
|
-
|
|
179
|
+
const defaultWidth = t3;
|
|
180
|
+
let t4;
|
|
181
|
+
if ($[8] !== controlledWidth || $[9] !== defaultWidth || $[10] !== onResizeEnd || $[11] !== resizable || $[12] !== widthStorageKey) {
|
|
182
|
+
t4 = () => {
|
|
196
183
|
if (typeof controlledWidth === "number") {
|
|
197
184
|
return controlledWidth;
|
|
198
185
|
}
|
|
199
|
-
const shouldUseLocalStorage = onResizeEnd === undefined && resizable === true
|
|
186
|
+
const shouldUseLocalStorage = onResizeEnd === undefined && resizable === true;
|
|
200
187
|
if (shouldUseLocalStorage) {
|
|
201
188
|
const storedWidth = localStoragePersister.get(widthStorageKey);
|
|
202
189
|
if (storedWidth !== null) {
|
|
@@ -205,16 +192,16 @@ function usePaneWidth(t0) {
|
|
|
205
192
|
}
|
|
206
193
|
return defaultWidth;
|
|
207
194
|
};
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
$[
|
|
211
|
-
$[
|
|
212
|
-
$[
|
|
213
|
-
$[
|
|
195
|
+
$[8] = controlledWidth;
|
|
196
|
+
$[9] = defaultWidth;
|
|
197
|
+
$[10] = onResizeEnd;
|
|
198
|
+
$[11] = resizable;
|
|
199
|
+
$[12] = widthStorageKey;
|
|
200
|
+
$[13] = t4;
|
|
214
201
|
} else {
|
|
215
|
-
|
|
202
|
+
t4 = $[13];
|
|
216
203
|
}
|
|
217
|
-
const [currentWidthState, setCurrentWidthState] = React.useState(
|
|
204
|
+
const [currentWidthState, setCurrentWidthState] = React.useState(t4);
|
|
218
205
|
const [prevDefaultWidth, setPrevDefaultWidth] = React.useState(defaultWidth);
|
|
219
206
|
const [prevControlledWidth, setPrevControlledWidth] = React.useState(controlledWidth);
|
|
220
207
|
const controlledWidthChanged = controlledWidth !== prevControlledWidth;
|
|
@@ -237,42 +224,42 @@ function usePaneWidth(t0) {
|
|
|
237
224
|
}
|
|
238
225
|
const currentWidth = controlledWidth !== null && controlledWidth !== void 0 ? controlledWidth : currentWidthState;
|
|
239
226
|
const currentWidthRef = React.useRef(currentWidth);
|
|
240
|
-
let
|
|
241
|
-
if ($[
|
|
242
|
-
|
|
243
|
-
$[
|
|
244
|
-
$[
|
|
227
|
+
let t5;
|
|
228
|
+
if ($[14] !== customMaxWidth) {
|
|
229
|
+
t5 = () => customMaxWidth !== null && customMaxWidth !== void 0 ? customMaxWidth : SSR_DEFAULT_MAX_WIDTH;
|
|
230
|
+
$[14] = customMaxWidth;
|
|
231
|
+
$[15] = t5;
|
|
245
232
|
} else {
|
|
246
|
-
|
|
233
|
+
t5 = $[15];
|
|
247
234
|
}
|
|
248
|
-
const [maxPaneWidth, setMaxPaneWidth] = React.useState(
|
|
235
|
+
const [maxPaneWidth, setMaxPaneWidth] = React.useState(t5);
|
|
236
|
+
let t6;
|
|
249
237
|
let t7;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
t7 = () => {
|
|
238
|
+
if ($[16] !== currentWidth) {
|
|
239
|
+
t6 = () => {
|
|
253
240
|
currentWidthRef.current = currentWidth;
|
|
254
241
|
};
|
|
255
|
-
|
|
256
|
-
$[
|
|
242
|
+
t7 = [currentWidth];
|
|
243
|
+
$[16] = currentWidth;
|
|
244
|
+
$[17] = t6;
|
|
257
245
|
$[18] = t7;
|
|
258
|
-
$[19] = t8;
|
|
259
246
|
} else {
|
|
247
|
+
t6 = $[17];
|
|
260
248
|
t7 = $[18];
|
|
261
|
-
t8 = $[19];
|
|
262
249
|
}
|
|
263
|
-
useIsomorphicLayoutEffect(
|
|
264
|
-
let
|
|
265
|
-
if ($[
|
|
266
|
-
|
|
267
|
-
$[
|
|
268
|
-
$[
|
|
250
|
+
useIsomorphicLayoutEffect(t6, t7);
|
|
251
|
+
let t8;
|
|
252
|
+
if ($[19] !== width) {
|
|
253
|
+
t8 = () => getDefaultPaneWidth(width);
|
|
254
|
+
$[19] = width;
|
|
255
|
+
$[20] = t8;
|
|
269
256
|
} else {
|
|
270
|
-
|
|
257
|
+
t8 = $[20];
|
|
271
258
|
}
|
|
272
|
-
const getDefaultWidth =
|
|
273
|
-
let
|
|
274
|
-
if ($[
|
|
275
|
-
|
|
259
|
+
const getDefaultWidth = t8;
|
|
260
|
+
let t9;
|
|
261
|
+
if ($[21] !== resizable) {
|
|
262
|
+
t9 = value => {
|
|
276
263
|
const rounded = Math.round(value);
|
|
277
264
|
currentWidthRef.current = rounded;
|
|
278
265
|
startTransition(() => {
|
|
@@ -284,32 +271,32 @@ function usePaneWidth(t0) {
|
|
|
284
271
|
} catch {}
|
|
285
272
|
return;
|
|
286
273
|
}
|
|
287
|
-
if (resizable
|
|
274
|
+
if (resizable) {
|
|
288
275
|
localStoragePersister.save(widthStorageKeyRef.current, rounded);
|
|
289
276
|
}
|
|
290
277
|
};
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
278
|
+
$[21] = resizable;
|
|
279
|
+
$[22] = t9;
|
|
293
280
|
} else {
|
|
294
|
-
|
|
281
|
+
t9 = $[22];
|
|
295
282
|
}
|
|
296
|
-
const saveWidth =
|
|
283
|
+
const saveWidth = t9;
|
|
297
284
|
const getMaxPaneWidthRef = React.useRef(getMaxPaneWidth);
|
|
298
|
-
let
|
|
299
|
-
if ($[
|
|
300
|
-
|
|
285
|
+
let t10;
|
|
286
|
+
if ($[23] !== getMaxPaneWidth) {
|
|
287
|
+
t10 = () => {
|
|
301
288
|
getMaxPaneWidthRef.current = getMaxPaneWidth;
|
|
302
289
|
};
|
|
303
|
-
$[
|
|
304
|
-
$[
|
|
290
|
+
$[23] = getMaxPaneWidth;
|
|
291
|
+
$[24] = t10;
|
|
305
292
|
} else {
|
|
306
|
-
|
|
293
|
+
t10 = $[24];
|
|
307
294
|
}
|
|
308
|
-
useIsomorphicLayoutEffect(
|
|
295
|
+
useIsomorphicLayoutEffect(t10);
|
|
296
|
+
let t11;
|
|
309
297
|
let t12;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
t12 = () => {
|
|
298
|
+
if ($[25] !== contentWrapperRef || $[26] !== customMaxWidth || $[27] !== handleRef || $[28] !== minPaneWidth || $[29] !== paneRef || $[30] !== resizable) {
|
|
299
|
+
t11 = () => {
|
|
313
300
|
var _paneRef$current3;
|
|
314
301
|
if (!resizable) {
|
|
315
302
|
return;
|
|
@@ -321,7 +308,7 @@ function usePaneWidth(t0) {
|
|
|
321
308
|
const crossedBreakpoint = lastViewportWidth < DEFAULT_PANE_MAX_WIDTH_DIFF_BREAKPOINT && currentViewportWidth >= DEFAULT_PANE_MAX_WIDTH_DIFF_BREAKPOINT || lastViewportWidth >= DEFAULT_PANE_MAX_WIDTH_DIFF_BREAKPOINT && currentViewportWidth < DEFAULT_PANE_MAX_WIDTH_DIFF_BREAKPOINT;
|
|
322
309
|
lastViewportWidth = currentViewportWidth;
|
|
323
310
|
if (crossedBreakpoint) {
|
|
324
|
-
maxWidthDiffRef.current = getPaneMaxWidthDiff(paneRef.current
|
|
311
|
+
maxWidthDiffRef.current = getPaneMaxWidthDiff(paneRef.current);
|
|
325
312
|
}
|
|
326
313
|
const actualMax = getMaxPaneWidthRef.current();
|
|
327
314
|
(_paneRef$current = paneRef.current) === null || _paneRef$current === void 0 ? void 0 : _paneRef$current.style.setProperty("--pane-max-width", `${actualMax}px`);
|
|
@@ -342,7 +329,7 @@ function usePaneWidth(t0) {
|
|
|
342
329
|
}
|
|
343
330
|
});
|
|
344
331
|
};
|
|
345
|
-
maxWidthDiffRef.current = getPaneMaxWidthDiff(paneRef.current
|
|
332
|
+
maxWidthDiffRef.current = getPaneMaxWidthDiff(paneRef.current);
|
|
346
333
|
const initialMax = getMaxPaneWidthRef.current();
|
|
347
334
|
setMaxPaneWidth(initialMax);
|
|
348
335
|
(_paneRef$current3 = paneRef.current) === null || _paneRef$current3 === void 0 ? void 0 : _paneRef$current3.style.setProperty("--pane-max-width", `${initialMax}px`);
|
|
@@ -351,7 +338,7 @@ function usePaneWidth(t0) {
|
|
|
351
338
|
max: initialMax,
|
|
352
339
|
current: currentWidthRef.current
|
|
353
340
|
});
|
|
354
|
-
if (customMaxWidth !== null
|
|
341
|
+
if (customMaxWidth !== null) {
|
|
355
342
|
return;
|
|
356
343
|
}
|
|
357
344
|
let lastUpdateTime = 0;
|
|
@@ -414,24 +401,23 @@ function usePaneWidth(t0) {
|
|
|
414
401
|
window.removeEventListener("resize", handleResize);
|
|
415
402
|
};
|
|
416
403
|
};
|
|
417
|
-
|
|
418
|
-
$[
|
|
419
|
-
$[
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
$[34] = t13;
|
|
404
|
+
t12 = [resizable, customMaxWidth, minPaneWidth, paneRef, handleRef, contentWrapperRef];
|
|
405
|
+
$[25] = contentWrapperRef;
|
|
406
|
+
$[26] = customMaxWidth;
|
|
407
|
+
$[27] = handleRef;
|
|
408
|
+
$[28] = minPaneWidth;
|
|
409
|
+
$[29] = paneRef;
|
|
410
|
+
$[30] = resizable;
|
|
411
|
+
$[31] = t11;
|
|
412
|
+
$[32] = t12;
|
|
427
413
|
} else {
|
|
428
|
-
|
|
429
|
-
|
|
414
|
+
t11 = $[31];
|
|
415
|
+
t12 = $[32];
|
|
430
416
|
}
|
|
431
|
-
useIsomorphicLayoutEffect(
|
|
432
|
-
let
|
|
433
|
-
if ($[
|
|
434
|
-
|
|
417
|
+
useIsomorphicLayoutEffect(t11, t12);
|
|
418
|
+
let t13;
|
|
419
|
+
if ($[33] !== currentWidth || $[34] !== getDefaultWidth || $[35] !== getMaxPaneWidth || $[36] !== maxPaneWidth || $[37] !== minPaneWidth || $[38] !== saveWidth) {
|
|
420
|
+
t13 = {
|
|
435
421
|
currentWidth,
|
|
436
422
|
currentWidthRef,
|
|
437
423
|
minPaneWidth,
|
|
@@ -440,17 +426,17 @@ function usePaneWidth(t0) {
|
|
|
440
426
|
saveWidth,
|
|
441
427
|
getDefaultWidth
|
|
442
428
|
};
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
429
|
+
$[33] = currentWidth;
|
|
430
|
+
$[34] = getDefaultWidth;
|
|
431
|
+
$[35] = getMaxPaneWidth;
|
|
432
|
+
$[36] = maxPaneWidth;
|
|
433
|
+
$[37] = minPaneWidth;
|
|
434
|
+
$[38] = saveWidth;
|
|
435
|
+
$[39] = t13;
|
|
450
436
|
} else {
|
|
451
|
-
|
|
437
|
+
t13 = $[39];
|
|
452
438
|
}
|
|
453
|
-
return
|
|
439
|
+
return t13;
|
|
454
440
|
}
|
|
455
441
|
|
|
456
|
-
export { ARROW_KEY_STEP, DEFAULT_MAX_WIDTH_DIFF,
|
|
442
|
+
export { ARROW_KEY_STEP, DEFAULT_MAX_WIDTH_DIFF, SSR_DEFAULT_MAX_WIDTH, defaultPaneWidth, getDefaultPaneWidth, getPaneMaxWidthDiff, isCustomWidthOptions, isPaneWidth, updateAriaValues, usePaneWidth };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneProps
|
|
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,
|
|
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,
|
|
232
|
+
export { Content, Footer, Header, Pane, Root, SplitPageLayout };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.prc-UnderlineNav-UnderlineWrapper-GWONT{animation:prc-UnderlineNav-detect-overflow-6HuSH linear;animation-timeline:scroll(self block)}.prc-UnderlineNav-UnderlineWrapper-GWONT[data-hide-icons=true]{--UnderlineNav_icons-display:none}.prc-UnderlineNav-UnderlineWrapper-GWONT[data-has-overflow=true]{--UnderlineNav_moreButton-visibility:visible}@keyframes prc-UnderlineNav-detect-overflow-6HuSH{0%,to{--UnderlineNav_moreButton-visibility:visible;--UnderlineNav_icons-display:none}}.prc-UnderlineNav-ItemsList-oj8gN [data-component=icon]{display:var(--UnderlineNav_icons-display,inline)}.prc-UnderlineNav-MoreButtonContainer-Dnrq6{align-items:center;display:flex;visibility:var(--UnderlineNav_moreButton-visibility,hidden)}.prc-UnderlineNav-OverflowMenuItem-7SG7M [aria-current] .prc-UnderlineNav-OverflowMenuItemLabel-F80v6{font-weight:var(--base-text-weight-semibold,600)}.prc-UnderlineNav-MoreButtonDivider-dN0a-{border-left:var(--borderWidth-default,.0625rem) solid var(--borderColor-muted,var(--color-border-muted));display:inline-block;height:var(--base-size-24,1.5rem);margin-inline:var(--base-size-4,.25rem);width:0}.prc-UnderlineNav-MoreButton-Y8soj{background:transparent;border:0;box-shadow:none;font-weight:var(--base-text-weight-normal,400);margin:0;padding:var(--base-size-4,.25rem) var(--base-size-8,.5rem)}.prc-UnderlineNav-MoreButton-Y8soj>[data-component=trailingVisual]{margin-left:0}
|
|
2
|
+
/*# sourceMappingURL=UnderlineNav-1e84e6f4.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/UnderlineNav/UnderlineNav.module.css.js"],"names":[],"mappings":"AAAA,yCAIE,uDAAiC,CACjC,qCASF,CAPE,+DACE,iCACF,CAEA,iEACE,4CACF,CAGF,kDACE,MAEE,4CAA6C,CAC7C,iCACF,CACF,CAEA,wDACE,gDACF,CAEA,4CAGE,kBAAmB,CAFnB,YAAa,CACb,2DAEF,CAEA,sGACE,gDACF,CAEA,0CAEE,wGAAsE,CADtE,oBAAqB,CAIrB,iCAA2B,CAD3B,uCAAiC,CADjC,OAGF,CAEA,mCAGE,sBAAuB,CADvB,QAAS,CAGT,eAAgB,CADhB,8CAA2C,CAH3C,QAAS,CAQT,0DAKF,CAHE,mEACE,aACF","file":"UnderlineNav-1e84e6f4.css","sourcesContent":[".UnderlineWrapper {\n /* Progressive enhancement: Detect overflow using scroll-based animations.\n The idiomatic way would be a scroll-state container query but browser support\n is slightly better for animations. */\n animation: detect-overflow linear;\n animation-timeline: scroll(self block);\n\n &[data-hide-icons='true'] {\n --UnderlineNav_icons-display: none;\n }\n\n &[data-has-overflow='true'] {\n --UnderlineNav_moreButton-visibility: visible;\n }\n}\n\n@keyframes detect-overflow {\n 0%,\n 100% {\n --UnderlineNav_moreButton-visibility: visible;\n --UnderlineNav_icons-display: none;\n }\n}\n\n.ItemsList [data-component='icon'] {\n display: var(--UnderlineNav_icons-display, inline);\n}\n\n.MoreButtonContainer {\n display: flex;\n visibility: var(--UnderlineNav_moreButton-visibility, hidden);\n align-items: center;\n}\n\n.OverflowMenuItem [aria-current] .OverflowMenuItemLabel {\n font-weight: var(--base-text-weight-semibold);\n}\n\n.MoreButtonDivider {\n display: inline-block;\n border-left: var(--borderWidth-default) solid var(--borderColor-muted);\n width: 0;\n margin-inline: var(--base-size-4);\n height: var(--base-size-24);\n}\n\n.MoreButton {\n margin: 0; /* reset Safari extra margin */\n border: 0;\n background: transparent;\n font-weight: var(--base-text-weight-normal);\n box-shadow: none;\n padding-top: var(--base-size-4);\n padding-bottom: var(--base-size-4);\n padding-left: var(--base-size-8);\n padding-right: var(--base-size-8);\n\n & > [data-component='trailingVisual'] {\n margin-left: 0;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnderlineNav.d.ts","sourceRoot":"","sources":["../../src/UnderlineNav/UnderlineNav.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"UnderlineNav.d.ts","sourceRoot":"","sources":["../../src/UnderlineNav/UnderlineNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyE,MAAM,OAAO,CAAA;AAa7F,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAA;IACjD,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,cAAc,KAAK,CAAA;AAIhC,eAAO,MAAM,gBAAgB,GAAI,UAAU,KAAK,CAAC,SAAS,KAEgC,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,EAChH,CAAA;AAED,eAAO,MAAM,YAAY,mFA8IxB,CAAA"}
|