@astryxdesign/lab 0.7.5-canary.f2dafed → 0.7.5-canary.fccd771
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/dist/Chart/Chart.d.ts +1 -1
- package/dist/Chart/ChartContext.d.ts +1 -1
- package/dist/Chart/index.d.ts +28 -28
- package/dist/Chart/useChartColors.d.ts +1 -1
- package/dist/Chart/useChartRange.d.ts +1 -1
- package/dist/Chart/utils.d.ts +1 -1
- package/dist/Chat/ChatReactionBar.d.ts +1 -1
- package/dist/Chat/index.d.ts +8 -8
- package/dist/CircularProgress/index.d.ts +2 -2
- package/dist/CodeEditor/index.d.ts +2 -2
- package/dist/CommentPin/index.d.ts +2 -2
- package/dist/Comments/CommentActions.d.ts +2 -2
- package/dist/Comments/CommentComposer.d.ts +1 -1
- package/dist/Comments/CommentMarkdown.d.ts +1 -1
- package/dist/Comments/CommentParts.d.ts +2 -2
- package/dist/Comments/CommentRow.d.ts +1 -1
- package/dist/Comments/CommentThread.d.ts +1 -1
- package/dist/Comments/Comments.d.ts +1 -1
- package/dist/Comments/CommentsContext.d.ts +2 -2
- package/dist/Comments/i18n.d.ts +1 -1
- package/dist/Comments/index.d.ts +9 -9
- package/dist/Comments/useCommentThreadDismissal.d.ts +1 -1
- package/dist/Comments/utils.d.ts +1 -1
- package/dist/DiffViewer/DiffViewer.d.ts +1 -1
- package/dist/DiffViewer/createDiffFile.d.ts +1 -1
- package/dist/DiffViewer/index.d.ts +6 -6
- package/dist/DiffViewer/parseUnifiedDiff.d.ts +1 -1
- package/dist/EmojiPicker/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +2 -2
- package/dist/ListInput/index.d.ts +2 -2
- package/dist/LogStream/index.d.ts +2 -2
- package/dist/MobilePowerSearch/MobilePowerSearch.d.ts.map +1 -1
- package/dist/MobilePowerSearch/MobilePowerSearch.js +8 -8
- package/dist/MobilePowerSearch/index.d.ts +2 -2
- package/dist/MobileTokenizer/index.d.ts +2 -2
- package/dist/Radial/RadialContext.d.ts +1 -1
- package/dist/Radial/index.d.ts +8 -8
- package/dist/SVGIcon/icons.d.ts +1 -1
- package/dist/SVGIcon/index.d.ts +8 -8
- package/dist/SVGIcon/xif-examples.d.ts +1 -1
- package/dist/Sankey/SankeyChart.d.ts +1 -1
- package/dist/Sankey/SankeyContext.d.ts +1 -1
- package/dist/Sankey/index.d.ts +7 -7
- package/dist/Sankey/layout.d.ts +1 -1
- package/dist/Schedule/CalendarEvent.d.ts +1 -1
- package/dist/Schedule/DayView.d.ts +1 -1
- package/dist/Schedule/ListView.d.ts +1 -1
- package/dist/Schedule/MonthlyView.d.ts +1 -1
- package/dist/Schedule/Schedule.d.ts +1 -1
- package/dist/Schedule/TimeGridView.d.ts +1 -1
- package/dist/Schedule/WeeklyView.d.ts +1 -1
- package/dist/Schedule/context.d.ts +1 -1
- package/dist/Schedule/dateMath.d.ts +2 -2
- package/dist/Schedule/index.d.ts +12 -12
- package/dist/Schedule/monthLayout.d.ts +1 -1
- package/dist/Schedule/plugins/PaginationPlugin.d.ts +1 -1
- package/dist/Schedule/plugins/ViewSelectorPlugin.d.ts +1 -1
- package/dist/Schedule/plugins/index.d.ts +3 -3
- package/dist/Schedule/shared.d.ts +1 -1
- package/dist/Schedule/timeGridScrollMemory.d.ts +1 -1
- package/dist/Schedule/types.d.ts +4 -4
- package/dist/Schedule/useCurrentTime.d.ts +1 -1
- package/dist/Schedule/zonedDateTime.d.ts +1 -1
- package/dist/Stat/index.d.ts +2 -2
- package/dist/ThreeD/ThreeDContext.d.ts +1 -1
- package/dist/ThreeD/index.d.ts +9 -9
- package/dist/Tour/Tour.d.ts +1 -1
- package/dist/Tour/index.d.ts +7 -7
- package/dist/Tour/useTour.d.ts +1 -1
- package/dist/TransferList/TransferListSelector.d.ts +1 -1
- package/dist/TransferList/index.d.ts +3 -3
- package/dist/index.d.ts +23 -23
- package/package.json +5 -5
- package/src/MobilePowerSearch/MobilePowerSearch.test.tsx +32 -0
- package/src/MobilePowerSearch/MobilePowerSearch.tsx +10 -4
package/dist/Chart/Chart.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* hidden data table so screen reader users can read the underlying values.
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactNode } from 'react';
|
|
14
|
-
import type { ChartMargin } from './types';
|
|
14
|
+
import type { ChartMargin } from './types.js';
|
|
15
15
|
/**
|
|
16
16
|
* Controls how the y-axis domain is computed:
|
|
17
17
|
* - `'auto'` — includes 0 when all values are positive (default, bar-friendly)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChartContext } from './types';
|
|
1
|
+
import type { ChartContext } from './types.js';
|
|
2
2
|
export declare const ChartProvider: import("react").Provider<ChartContext | null>;
|
|
3
3
|
/** Access the chart context. Throws if used outside <Chart>. */
|
|
4
4
|
export declare function useChart(): ChartContext;
|
package/dist/Chart/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export { Chart, type ChartProps, type YBaseline } from './Chart';
|
|
2
|
-
export { ChartAxis, type ChartAxisProps } from './ChartAxis';
|
|
3
|
-
export { compactNumber, currency, percent, shortDate, monthYear, } from './formatters';
|
|
4
|
-
export { ChartGrid, type ChartGridProps } from './ChartGrid';
|
|
5
|
-
export { ChartBar, type ChartBarProps } from './ChartBar';
|
|
6
|
-
export { ChartLine, type ChartLineProps } from './ChartLine';
|
|
7
|
-
export { ChartArea, type ChartAreaProps } from './ChartArea';
|
|
8
|
-
export { ChartErrorBar, type ChartErrorBarProps } from './ChartErrorBar';
|
|
9
|
-
export { ChartCandlestick, type ChartCandlestickProps, } from './ChartCandlestick';
|
|
10
|
-
export { ChartDot, type ChartDotProps } from './ChartDot';
|
|
11
|
-
export { ChartDotGL, type ChartDotGLProps } from './ChartDotGL';
|
|
12
|
-
export { ChartDotGLInteractive, type ChartDotGLInteractiveProps, } from './ChartDotGLInteractive';
|
|
13
|
-
export { ChartHeatmapGL, type ChartHeatmapGLProps, } from './ChartHeatmapGL';
|
|
14
|
-
export { ChartStreamGL, type ChartStreamGLProps, type ChartStreamGLHandle, } from './ChartStreamGL';
|
|
15
|
-
export { ChartTooltip, type ChartTooltipProps, type ChartCrosshairMode, } from './ChartTooltip';
|
|
16
|
-
export { ChartLegend, type ChartLegendProps, type ChartLegendItem, } from './ChartLegend';
|
|
17
|
-
export { useChart } from './ChartContext';
|
|
18
|
-
export type { ChartContext, ChartMargin, ChartScale, DataPoint } from './types';
|
|
19
|
-
export { m4Reduce, type M4Point } from './m4';
|
|
20
|
-
export { isBandScale, xPixel } from './utils';
|
|
21
|
-
export { useChartColors } from './useChartColors';
|
|
22
|
-
export { getChartColors, getChartColorsFromResolver, type ChartColorsAPI, type SequentialHue, type TokenResolver, } from './getChartColors';
|
|
23
|
-
export { useChartRange, type UseChartRangeOptions, type UseChartRangeReturn, } from './useChartRange';
|
|
24
|
-
export { hexToGL, getCanvasDPR, getWebGLContext, setupGLState, sizeCanvas, mountCanvasOverSVG, compileShader, CIRCLE_FRAG_BODY, POINT_SIZE_COMPENSATION, } from './webgl';
|
|
25
|
-
export { ChartBrush, type ChartBrushProps, type BrushMode, type BrushRange, } from './ChartBrush';
|
|
26
|
-
export { ChartZoom, type ChartZoomProps, type ZoomToolbarPosition, } from './ChartZoom';
|
|
27
|
-
export { ChartSelect, type ChartSelectProps } from './ChartSelect';
|
|
28
|
-
export { ChartReferenceLine, type ChartReferenceLineProps, } from './ChartReferenceLine';
|
|
1
|
+
export { Chart, type ChartProps, type YBaseline } from './Chart.js';
|
|
2
|
+
export { ChartAxis, type ChartAxisProps } from './ChartAxis.js';
|
|
3
|
+
export { compactNumber, currency, percent, shortDate, monthYear, } from './formatters.js';
|
|
4
|
+
export { ChartGrid, type ChartGridProps } from './ChartGrid.js';
|
|
5
|
+
export { ChartBar, type ChartBarProps } from './ChartBar.js';
|
|
6
|
+
export { ChartLine, type ChartLineProps } from './ChartLine.js';
|
|
7
|
+
export { ChartArea, type ChartAreaProps } from './ChartArea.js';
|
|
8
|
+
export { ChartErrorBar, type ChartErrorBarProps } from './ChartErrorBar.js';
|
|
9
|
+
export { ChartCandlestick, type ChartCandlestickProps, } from './ChartCandlestick.js';
|
|
10
|
+
export { ChartDot, type ChartDotProps } from './ChartDot.js';
|
|
11
|
+
export { ChartDotGL, type ChartDotGLProps } from './ChartDotGL.js';
|
|
12
|
+
export { ChartDotGLInteractive, type ChartDotGLInteractiveProps, } from './ChartDotGLInteractive.js';
|
|
13
|
+
export { ChartHeatmapGL, type ChartHeatmapGLProps, } from './ChartHeatmapGL.js';
|
|
14
|
+
export { ChartStreamGL, type ChartStreamGLProps, type ChartStreamGLHandle, } from './ChartStreamGL.js';
|
|
15
|
+
export { ChartTooltip, type ChartTooltipProps, type ChartCrosshairMode, } from './ChartTooltip.js';
|
|
16
|
+
export { ChartLegend, type ChartLegendProps, type ChartLegendItem, } from './ChartLegend.js';
|
|
17
|
+
export { useChart } from './ChartContext.js';
|
|
18
|
+
export type { ChartContext, ChartMargin, ChartScale, DataPoint } from './types.js';
|
|
19
|
+
export { m4Reduce, type M4Point } from './m4.js';
|
|
20
|
+
export { isBandScale, xPixel } from './utils.js';
|
|
21
|
+
export { useChartColors } from './useChartColors.js';
|
|
22
|
+
export { getChartColors, getChartColorsFromResolver, type ChartColorsAPI, type SequentialHue, type TokenResolver, } from './getChartColors.js';
|
|
23
|
+
export { useChartRange, type UseChartRangeOptions, type UseChartRangeReturn, } from './useChartRange.js';
|
|
24
|
+
export { hexToGL, getCanvasDPR, getWebGLContext, setupGLState, sizeCanvas, mountCanvasOverSVG, compileShader, CIRCLE_FRAG_BODY, POINT_SIZE_COMPENSATION, } from './webgl.js';
|
|
25
|
+
export { ChartBrush, type ChartBrushProps, type BrushMode, type BrushRange, } from './ChartBrush.js';
|
|
26
|
+
export { ChartZoom, type ChartZoomProps, type ZoomToolbarPosition, } from './ChartZoom.js';
|
|
27
|
+
export { ChartSelect, type ChartSelectProps } from './ChartSelect.js';
|
|
28
|
+
export { ChartReferenceLine, type ChartReferenceLineProps, } from './ChartReferenceLine.js';
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Chart/utils.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @position Internal helpers; consumed by mark, axis, and interaction components
|
|
5
5
|
*/
|
|
6
6
|
import type { ScaleBand } from 'd3-scale';
|
|
7
|
-
import type { ChartScale } from './types';
|
|
7
|
+
import type { ChartScale } from './types.js';
|
|
8
8
|
/** Type guard for d3 band scales */
|
|
9
9
|
export declare function isBandScale(scale: ChartScale): scale is ScaleBand<string>;
|
|
10
10
|
/**
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @output Exports lab chat components and related types
|
|
5
5
|
* @position Lab Chat entry point; re-exported by packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { ChatReactionBar } from './ChatReactionBar';
|
|
8
|
-
export type { ChatReactionBarProps, ChatReaction } from './ChatReactionBar';
|
|
9
|
-
export { ChatEmojiPicker, DEFAULT_CHAT_EMOJIS } from './ChatEmojiPicker';
|
|
10
|
-
export type { ChatEmojiPickerProps, ChatEmojiOption } from './ChatEmojiPicker';
|
|
11
|
-
export { ChatUnreadDivider } from './ChatUnreadDivider';
|
|
12
|
-
export type { ChatUnreadDividerProps } from './ChatUnreadDivider';
|
|
13
|
-
export { ChatTypingIndicator } from './ChatTypingIndicator';
|
|
14
|
-
export type { ChatTypingIndicatorProps } from './ChatTypingIndicator';
|
|
7
|
+
export { ChatReactionBar } from './ChatReactionBar.js';
|
|
8
|
+
export type { ChatReactionBarProps, ChatReaction } from './ChatReactionBar.js';
|
|
9
|
+
export { ChatEmojiPicker, DEFAULT_CHAT_EMOJIS } from './ChatEmojiPicker.js';
|
|
10
|
+
export type { ChatEmojiPickerProps, ChatEmojiOption } from './ChatEmojiPicker.js';
|
|
11
|
+
export { ChatUnreadDivider } from './ChatUnreadDivider.js';
|
|
12
|
+
export type { ChatUnreadDividerProps } from './ChatUnreadDivider.js';
|
|
13
|
+
export { ChatTypingIndicator } from './ChatTypingIndicator.js';
|
|
14
|
+
export type { ChatTypingIndicatorProps } from './ChatTypingIndicator.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file CircularProgress component barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { CircularProgress } from './CircularProgress';
|
|
5
|
-
export type { CircularProgressProps, CircularProgressSize, CircularProgressVariant, CircularProgressVariantMap, } from './CircularProgress';
|
|
4
|
+
export { CircularProgress } from './CircularProgress.js';
|
|
5
|
+
export type { CircularProgressProps, CircularProgressSize, CircularProgressVariant, CircularProgressVariantMap, } from './CircularProgress.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file CodeEditor component barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { CodeEditor } from './CodeEditor';
|
|
5
|
-
export type { CodeEditorProps } from './CodeEditor';
|
|
4
|
+
export { CodeEditor } from './CodeEditor.js';
|
|
5
|
+
export type { CodeEditorProps } from './CodeEditor.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output CommentPin module exports
|
|
5
5
|
* @position Public Lab subpath; re-exported by packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { CommentPin } from './CommentPin';
|
|
8
|
-
export type { CommentPinParticipant, CommentPinProps } from './CommentPin';
|
|
7
|
+
export { CommentPin } from './CommentPin.js';
|
|
8
|
+
export type { CommentPinParticipant, CommentPinProps } from './CommentPin.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type ReactNode } from 'react';
|
|
11
11
|
import { type DropdownMenuOption } from '@astryxdesign/core/DropdownMenu';
|
|
12
|
-
import { type AnyComment } from './utils';
|
|
13
|
-
import type { CommentReactionOption } from './types';
|
|
12
|
+
import { type AnyComment } from './utils.js';
|
|
13
|
+
import type { CommentReactionOption } from './types.js';
|
|
14
14
|
export type CommentActionId = 'resolve' | 'reopen' | 'react' | 'reply' | 'link';
|
|
15
15
|
/** Mark as resolved on an open thread, Reopen on a resolved one. */
|
|
16
16
|
export type ResolveAction = {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { type ReactNode, type Ref } from 'react';
|
|
17
17
|
import type { BaseProps } from '@astryxdesign/core';
|
|
18
18
|
import { type ChatComposerTrigger } from '@astryxdesign/core/Chat';
|
|
19
|
-
import type { CommentAgentCommand, CommentAnchor, CommentComposerContext, CommentComposerRenderProps, CommentHighlightColor, CommentUploadedImage } from './types';
|
|
19
|
+
import type { CommentAgentCommand, CommentAnchor, CommentComposerContext, CommentComposerRenderProps, CommentHighlightColor, CommentUploadedImage } from './types.js';
|
|
20
20
|
/** Props the family's threads pass to their composers. */
|
|
21
21
|
export interface CommentComposerBaseProps {
|
|
22
22
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ChatComposerToken } from '@astryxdesign/core/Chat';
|
|
2
2
|
import { type MarkdownInlinePlugin } from '@astryxdesign/core/Markdown';
|
|
3
3
|
import type { MarkdownPluginEntry } from '@astryxdesign/core/Markdown/plugins';
|
|
4
|
-
import type { CommentAgentCommand } from './types';
|
|
4
|
+
import type { CommentAgentCommand } from './types.js';
|
|
5
5
|
/** An agent's chip: what the composer's `/` menu inserts, and what a posted
|
|
6
6
|
* comment shows in place of the command. */
|
|
7
7
|
export declare function agentToken(agent: CommentAgentCommand): ChatComposerToken;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { type CSSProperties, type ReactNode, type Ref } from 'react';
|
|
12
12
|
import * as stylex from '@stylexjs/stylex';
|
|
13
|
-
import { type AnyComment } from './utils';
|
|
14
|
-
import type { CommentAnchor, CommentHighlightColor, CommentProgress, CommentUser, CommentVersion, CommentActivityEvent } from './types';
|
|
13
|
+
import { type AnyComment } from './utils.js';
|
|
14
|
+
import type { CommentAnchor, CommentHighlightColor, CommentProgress, CommentUser, CommentVersion, CommentActivityEvent } from './types.js';
|
|
15
15
|
/** The 28px avatar column every comment row, reply, and event aligns to. */
|
|
16
16
|
export declare const AVATAR_SIZE: string;
|
|
17
17
|
/**
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { type Ref } from 'react';
|
|
19
19
|
import type { BaseProps } from '@astryxdesign/core';
|
|
20
|
-
import type { CommentThreadData, CommentThreadSharedProps } from './types';
|
|
20
|
+
import type { CommentThreadData, CommentThreadSharedProps } from './types.js';
|
|
21
21
|
export interface CommentThreadProps extends CommentThreadSharedProps, Omit<BaseProps<HTMLElement>, keyof CommentThreadSharedProps | 'onChange' | 'onSubmit'> {
|
|
22
22
|
/** Ref forwarded to the root element. */
|
|
23
23
|
ref?: Ref<HTMLElement>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import { type ReactNode, type Ref } from 'react';
|
|
16
16
|
import type { BaseProps } from '@astryxdesign/core';
|
|
17
|
-
import type { CommentAnchor, CommentThreadData, CommentThreadSharedProps, CommentActivityEvent } from './types';
|
|
17
|
+
import type { CommentAnchor, CommentThreadData, CommentThreadSharedProps, CommentActivityEvent } from './types.js';
|
|
18
18
|
export interface CommentsProps extends CommentThreadSharedProps, Omit<BaseProps<HTMLElement>, keyof CommentThreadSharedProps | 'onChange' | 'onSubmit'> {
|
|
19
19
|
/** Ref forwarded to the root element. */
|
|
20
20
|
ref?: Ref<HTMLElement>;
|
|
@@ -13,8 +13,8 @@ import { type RefObject } from 'react';
|
|
|
13
13
|
import type { ChatComposerTrigger } from '@astryxdesign/core/Chat';
|
|
14
14
|
import type { MarkdownInlinePlugin } from '@astryxdesign/core/Markdown';
|
|
15
15
|
import type { MarkdownPluginEntry } from '@astryxdesign/core/Markdown/plugins';
|
|
16
|
-
import { type AnyComment } from './utils';
|
|
17
|
-
import { type CommentAgentCommand, type CommentHighlightColor, type CommentImageUploader, type CommentMode, type CommentReactionOption, type CommentThreadData, type CommentThreadSharedProps, type CommentUser } from './types';
|
|
16
|
+
import { type AnyComment } from './utils.js';
|
|
17
|
+
import { type CommentAgentCommand, type CommentHighlightColor, type CommentImageUploader, type CommentMode, type CommentReactionOption, type CommentThreadData, type CommentThreadSharedProps, type CommentUser } from './types.js';
|
|
18
18
|
/** The thread a reply composer is open in, and the comment it answers. */
|
|
19
19
|
export type ReplyTarget = {
|
|
20
20
|
parentId: string;
|
package/dist/Comments/i18n.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - /packages/core/locales/en.json (@astryx.comments.reaction*)
|
|
10
10
|
*/
|
|
11
11
|
import type { TranslatorFn } from '@astryxdesign/core/i18n';
|
|
12
|
-
import type { CommentReactionOption } from './types';
|
|
12
|
+
import type { CommentReactionOption } from './types.js';
|
|
13
13
|
/**
|
|
14
14
|
* A reaction's human-readable name: the host's `description`, else the
|
|
15
15
|
* localized name of a default reaction, else its glyph.
|
package/dist/Comments/index.d.ts
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @output Exports the lab Comments family
|
|
5
5
|
* @position Lab Comments entry point; re-exported by packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Comments } from './Comments';
|
|
8
|
-
export type { CommentsProps } from './Comments';
|
|
9
|
-
export { CommentThread } from './CommentThread';
|
|
10
|
-
export type { CommentThreadProps } from './CommentThread';
|
|
11
|
-
export { CommentComposer } from './CommentComposer';
|
|
12
|
-
export type { CommentComposerProps } from './CommentComposer';
|
|
13
|
-
export { COMMENT_ICON_KEYS } from './icons';
|
|
14
|
-
export { DEFAULT_COMMENT_REACTIONS } from './types';
|
|
15
|
-
export type { CommentAgentCommand, CommentAnchor, CommentComposerContext, CommentComposerRenderProps, CommentData, CommentStatus, CommentHighlightColor, CommentImageUploader, CommentMode, CommentProgress, CommentReaction, CommentReactionOption, CommentThreadData, CommentThreadSharedProps, CommentUploadedImage, CommentUser, CommentVersion, CommentActivityEvent, } from './types';
|
|
7
|
+
export { Comments } from './Comments.js';
|
|
8
|
+
export type { CommentsProps } from './Comments.js';
|
|
9
|
+
export { CommentThread } from './CommentThread.js';
|
|
10
|
+
export type { CommentThreadProps } from './CommentThread.js';
|
|
11
|
+
export { CommentComposer } from './CommentComposer.js';
|
|
12
|
+
export type { CommentComposerProps } from './CommentComposer.js';
|
|
13
|
+
export { COMMENT_ICON_KEYS } from './icons.js';
|
|
14
|
+
export { DEFAULT_COMMENT_REACTIONS } from './types.js';
|
|
15
|
+
export type { CommentAgentCommand, CommentAnchor, CommentComposerContext, CommentComposerRenderProps, CommentData, CommentStatus, CommentHighlightColor, CommentImageUploader, CommentMode, CommentProgress, CommentReaction, CommentReactionOption, CommentThreadData, CommentThreadSharedProps, CommentUploadedImage, CommentUser, CommentVersion, CommentActivityEvent, } from './types.js';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
*/
|
|
47
47
|
import { type PointerEvent as ReactPointerEvent, type RefObject } from 'react';
|
|
48
48
|
import type { AnnouncePoliteness } from '@astryxdesign/core/hooks';
|
|
49
|
-
import type { CommentsContextValue } from './CommentsContext';
|
|
49
|
+
import type { CommentsContextValue } from './CommentsContext.js';
|
|
50
50
|
/** A reply or edit holding text the viewer would lose on dismissal. */
|
|
51
51
|
export type UnsavedDraft = {
|
|
52
52
|
kind: 'reply';
|
package/dist/Comments/utils.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @position Internal helpers shared by Comments, CommentThread, and
|
|
8
8
|
* CommentComposer; not exported from the package
|
|
9
9
|
*/
|
|
10
|
-
import type { CommentData, CommentThreadData, CommentUploadedImage } from './types';
|
|
10
|
+
import type { CommentData, CommentThreadData, CommentUploadedImage } from './types.js';
|
|
11
11
|
/** A thread's first comment or one of its replies. */
|
|
12
12
|
export type AnyComment = CommentData | CommentThreadData;
|
|
13
13
|
/** The element id a comment's permalink points at. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MouseEvent, type ReactNode, type Ref } from 'react';
|
|
2
2
|
import type { BaseProps } from '@astryxdesign/core';
|
|
3
3
|
import { type SyntaxThemeDefinition } from '@astryxdesign/core/theme/syntax';
|
|
4
|
-
import type { DiffViewerFile, DiffViewerLineRef } from './diffTypes';
|
|
4
|
+
import type { DiffViewerFile, DiffViewerLineRef } from './diffTypes.js';
|
|
5
5
|
/** How hunks are laid out: one column, or old and new side by side. */
|
|
6
6
|
export type DiffViewerViewMode = 'unified' | 'split';
|
|
7
7
|
/**
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - /packages/lab/src/DiffViewer/createDiffFile.test.ts
|
|
16
16
|
* - /packages/lab/src/DiffViewer/DiffViewer.doc.mjs (utilities section)
|
|
17
17
|
*/
|
|
18
|
-
import type { DiffViewerFile } from './diffTypes';
|
|
18
|
+
import type { DiffViewerFile } from './diffTypes.js';
|
|
19
19
|
export interface CreateDiffFileOptions {
|
|
20
20
|
/** The original text. */
|
|
21
21
|
oldValue: string;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/lab/src/DiffViewer/DiffViewer.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { DiffViewer } from './DiffViewer';
|
|
10
|
-
export type { DiffViewerChangeIndicator, DiffViewerInlineHighlight, DiffViewerProps, DiffViewerViewMode, } from './DiffViewer';
|
|
11
|
-
export { parseUnifiedDiff } from './parseUnifiedDiff';
|
|
12
|
-
export { createDiffFile } from './createDiffFile';
|
|
13
|
-
export type { CreateDiffFileOptions } from './createDiffFile';
|
|
14
|
-
export type { DiffViewerFile, DiffViewerFileStatus, DiffViewerHunk, DiffViewerLine, DiffViewerLineKind, DiffViewerLineRef, DiffViewerSide, } from './diffTypes';
|
|
9
|
+
export { DiffViewer } from './DiffViewer.js';
|
|
10
|
+
export type { DiffViewerChangeIndicator, DiffViewerInlineHighlight, DiffViewerProps, DiffViewerViewMode, } from './DiffViewer.js';
|
|
11
|
+
export { parseUnifiedDiff } from './parseUnifiedDiff.js';
|
|
12
|
+
export { createDiffFile } from './createDiffFile.js';
|
|
13
|
+
export type { CreateDiffFileOptions } from './createDiffFile.js';
|
|
14
|
+
export type { DiffViewerFile, DiffViewerFileStatus, DiffViewerHunk, DiffViewerLine, DiffViewerLineKind, DiffViewerLineRef, DiffViewerSide, } from './diffTypes.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* - /packages/lab/src/DiffViewer/parseUnifiedDiff.test.ts
|
|
14
14
|
* - /packages/lab/src/DiffViewer/DiffViewer.doc.mjs (utilities section)
|
|
15
15
|
*/
|
|
16
|
-
import type { DiffViewerFile } from './diffTypes';
|
|
16
|
+
import type { DiffViewerFile } from './diffTypes.js';
|
|
17
17
|
/**
|
|
18
18
|
* Parse a unified diff into one {@link DiffViewerFile} per file.
|
|
19
19
|
*
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Exports EmojiPicker, DEFAULT_FREQUENT_EMOJIS, and their types
|
|
5
5
|
* @position Lab EmojiPicker entry point; re-exported by packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { EmojiPicker, DEFAULT_FREQUENT_EMOJIS } from './EmojiPicker';
|
|
8
|
-
export type { EmojiPickerProps, EmojiOption, EmojiCategory } from './EmojiPicker';
|
|
7
|
+
export { EmojiPicker, DEFAULT_FREQUENT_EMOJIS } from './EmojiPicker.js';
|
|
8
|
+
export type { EmojiPickerProps, EmojiOption, EmojiCategory } from './EmojiPicker.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/InfoTip/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file InfoTip component barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { InfoTip } from './InfoTip';
|
|
5
|
-
export type { InfoTipProps, InfoTipSize } from './InfoTip';
|
|
4
|
+
export { InfoTip } from './InfoTip.js';
|
|
5
|
+
export type { InfoTipProps, InfoTipSize } from './InfoTip.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/lab/src/ListInput/ListInput.tsx.
|
|
8
8
|
*/
|
|
9
|
-
export { ListInput } from './ListInput';
|
|
10
|
-
export type { ListInputChange, ListInputColumn, ListInputProps, ListInputRenderContext, ListInputValueContext, } from './ListInput';
|
|
9
|
+
export { ListInput } from './ListInput.js';
|
|
10
|
+
export type { ListInputChange, ListInputColumn, ListInputProps, ListInputRenderContext, ListInputValueContext, } from './ListInput.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LogStream } from './LogStream';
|
|
2
|
-
export type { LogStreamProps, LogEntry, LogStreamLevel } from './LogStream';
|
|
1
|
+
export { LogStream } from './LogStream.js';
|
|
2
|
+
export type { LogStreamProps, LogEntry, LogStreamLevel } from './LogStream.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobilePowerSearch.d.ts","sourceRoot":"","sources":["../../src/MobilePowerSearch/MobilePowerSearch.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,EAQZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAGlD,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,WAAW,EACjB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAuB,KAAK,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAI5E,OAAO,KAAK,EAEV,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EAEjB,iBAAiB,EACjB,iBAAiB,EAEjB,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAwCxC,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,SAAS,CAAC,WAAW,CAAC,EACtB,UAAU,CACX;IACC,yEAAyE;IACzE,MAAM,EAAE,iBAAiB,CAAC;IAC1B,gCAAgC;IAChC,OAAO,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC1C,8EAA8E;IAC9E,QAAQ,EAAE,CACR,OAAO,EAAE,aAAa,CAAC,iBAAiB,CAAC,EACzC,UAAU,EAAE,qBAAqB,EACjC,KAAK,EAAE,MAAM,KACV,IAAI,CAAC;IACV,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mFAAmF;IACnF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sCAAsC;IACtC,SAAS,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IACjC,sDAAsD;IACtD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACxC,kDAAkD;IAClD,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACvC,yBAAyB;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wGAAwG;IACxG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,yCAAyC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,qEAAqE;IACrE,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACzC,uCAAuC;IACvC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,yDAAyD;IACzD,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACpC;
|
|
1
|
+
{"version":3,"file":"MobilePowerSearch.d.ts","sourceRoot":"","sources":["../../src/MobilePowerSearch/MobilePowerSearch.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,EAQZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAGlD,OAAO,EAML,KAAK,kBAAkB,EACvB,KAAK,WAAW,EACjB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAuB,KAAK,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAI5E,OAAO,KAAK,EAEV,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EAEjB,iBAAiB,EACjB,iBAAiB,EAEjB,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAwCxC,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,SAAS,CAAC,WAAW,CAAC,EACtB,UAAU,CACX;IACC,yEAAyE;IACzE,MAAM,EAAE,iBAAiB,CAAC;IAC1B,gCAAgC;IAChC,OAAO,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC1C,8EAA8E;IAC9E,QAAQ,EAAE,CACR,OAAO,EAAE,aAAa,CAAC,iBAAiB,CAAC,EACzC,UAAU,EAAE,qBAAqB,EACjC,KAAK,EAAE,MAAM,KACV,IAAI,CAAC;IACV,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mFAAmF;IACnF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sCAAsC;IACtC,SAAS,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IACjC,sDAAsD;IACtD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACxC,kDAAkD;IAClD,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACvC,yBAAyB;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wGAAwG;IACxG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,yCAAyC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,qEAAqE;IACrE,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACzC,uCAAuC;IACvC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,yDAAyD;IACzD,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACpC;AAgTD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EAAE,UAAU,EAClB,OAAO,EACP,QAAQ,EACR,KAAK,EAAE,cAAc,EACrB,aAAoB,EACpB,WAAW,EAAE,oBAAoB,EACjC,YAAoB,EACpB,QAAe,EACf,UAAkB,EAClB,UAAkB,EAClB,eAAe,EACf,SAAS,EACT,OAAO,EACP,MAAM,EACN,MAAM,EACN,aAA0B,EAC1B,cAAmB,EACnB,oBAAoB,EACpB,gBAA6C,EAC7C,sBAAsB,EACtB,UAAU,EACV,UAAU,EACV,WAAW,EACX,GAAG,EACH,SAAS,EACT,IAAI,EAAE,QAAQ,EACd,aAAa,EAAE,MAAM,EACrB,MAAM,EACN,SAAS,EACT,KAAK,EACL,UAAU,EAAE,kBAAkB,GAC/B,EAAE,sBAAsB,qBAopCxB;yBAprCe,iBAAiB"}
|
|
@@ -840,11 +840,11 @@ export function MobilePowerSearch({
|
|
|
840
840
|
padding: 0,
|
|
841
841
|
children: /*#__PURE__*/_jsxs("div", {
|
|
842
842
|
...{
|
|
843
|
-
className: "x78zum5 xdt5ytf x1us19tq"
|
|
843
|
+
className: "x78zum5 xdt5ytf x1us19tq xc8icb0"
|
|
844
844
|
},
|
|
845
845
|
children: [/*#__PURE__*/_jsx("div", {
|
|
846
846
|
...{
|
|
847
|
-
className: "x7wzq59 x13vifvy
|
|
847
|
+
className: "x7wzq59 x13vifvy x1vjfegm x78zum5 xdt5ytf xjcht0a x1adxfkp xvmdzux x1pzlopt x10xzikg"
|
|
848
848
|
},
|
|
849
849
|
children: /*#__PURE__*/_jsxs("div", {
|
|
850
850
|
...{
|
|
@@ -904,7 +904,7 @@ export function MobilePowerSearch({
|
|
|
904
904
|
})
|
|
905
905
|
}), /*#__PURE__*/_jsxs("div", {
|
|
906
906
|
...{
|
|
907
|
-
className: "x7wzq59 x1ey2m1c
|
|
907
|
+
className: "x7wzq59 x1ey2m1c x1vjfegm x78zum5 x6s0dn4 x1qughib x1txdalj x8o8v82 x1pzlopt x10xzikg"
|
|
908
908
|
},
|
|
909
909
|
children: [isClearAllShown && /*#__PURE__*/_jsx(Button, {
|
|
910
910
|
label: "Clear all",
|
|
@@ -937,11 +937,11 @@ export function MobilePowerSearch({
|
|
|
937
937
|
padding: 0,
|
|
938
938
|
children: /*#__PURE__*/_jsxs("div", {
|
|
939
939
|
...{
|
|
940
|
-
className: "x78zum5 xdt5ytf x1us19tq"
|
|
940
|
+
className: "x78zum5 xdt5ytf x1us19tq xc8icb0"
|
|
941
941
|
},
|
|
942
942
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
943
943
|
...{
|
|
944
|
-
className: "x7wzq59 x13vifvy
|
|
944
|
+
className: "x7wzq59 x13vifvy x1vjfegm x78zum5 xdt5ytf xjcht0a x1adxfkp xvmdzux x1pzlopt x10xzikg"
|
|
945
945
|
},
|
|
946
946
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
947
947
|
...{
|
|
@@ -1102,11 +1102,11 @@ export function MobilePowerSearch({
|
|
|
1102
1102
|
purpose: "form",
|
|
1103
1103
|
children: /*#__PURE__*/_jsxs("div", {
|
|
1104
1104
|
...{
|
|
1105
|
-
className: "x78zum5 xdt5ytf x1us19tq"
|
|
1105
|
+
className: "x78zum5 xdt5ytf x1us19tq xc8icb0"
|
|
1106
1106
|
},
|
|
1107
1107
|
children: [/*#__PURE__*/_jsx("div", {
|
|
1108
1108
|
...{
|
|
1109
|
-
className: "x7wzq59 x13vifvy
|
|
1109
|
+
className: "x7wzq59 x13vifvy x1vjfegm x78zum5 xdt5ytf xjcht0a x1adxfkp xvmdzux x1pzlopt x10xzikg"
|
|
1110
1110
|
},
|
|
1111
1111
|
children: /*#__PURE__*/_jsx("div", {
|
|
1112
1112
|
...{
|
|
@@ -1193,7 +1193,7 @@ export function MobilePowerSearch({
|
|
|
1193
1193
|
})
|
|
1194
1194
|
}), /*#__PURE__*/_jsxs("div", {
|
|
1195
1195
|
...{
|
|
1196
|
-
className: "x7wzq59 x1ey2m1c
|
|
1196
|
+
className: "x7wzq59 x1ey2m1c x1vjfegm x78zum5 x6s0dn4 x1qughib x1txdalj x8o8v82 x1pzlopt x10xzikg"
|
|
1197
1197
|
},
|
|
1198
1198
|
children: [draft?.mode === 'edit' && !isReadOnly && /*#__PURE__*/_jsx(Button, {
|
|
1199
1199
|
label: "Remove",
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Public MobilePowerSearch entry point for @astryxdesign/lab
|
|
5
5
|
* @position Component barrel; re-exported by /packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { MobilePowerSearch } from './MobilePowerSearch';
|
|
8
|
-
export type { MobilePowerSearchProps } from './MobilePowerSearch';
|
|
7
|
+
export { MobilePowerSearch } from './MobilePowerSearch.js';
|
|
8
|
+
export type { MobilePowerSearchProps } from './MobilePowerSearch.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Public MobileTokenizer entry point for @astryxdesign/lab
|
|
5
5
|
* @position Component barrel; re-exported by /packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { MobileTokenizer } from './MobileTokenizer';
|
|
8
|
-
export type { MobileTokenizerProps, MobileTokenizerChange, } from './MobileTokenizer';
|
|
7
|
+
export { MobileTokenizer } from './MobileTokenizer.js';
|
|
8
|
+
export type { MobileTokenizerProps, MobileTokenizerChange, } from './MobileTokenizer.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RadialContext } from './types';
|
|
1
|
+
import type { RadialContext } from './types.js';
|
|
2
2
|
export declare const RadialProvider: import("react").Provider<RadialContext | null>;
|
|
3
3
|
/** Access the radial chart context. Throws if used outside RadialChart. */
|
|
4
4
|
export declare function useRadial(): RadialContext;
|
package/dist/Radial/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { RadialChart, type RadialChartProps } from './RadialChart';
|
|
2
|
-
export { RadialGrid, type RadialGridProps } from './RadialGrid';
|
|
3
|
-
export { RadialArea, type RadialAreaProps } from './RadialArea';
|
|
4
|
-
export { RadialAxis, type RadialAxisProps } from './RadialAxis';
|
|
5
|
-
export { RadialSlice, type RadialSliceProps } from './RadialSlice';
|
|
6
|
-
export { RadialTooltip, type RadialTooltipProps, type RadialTooltipDatum, } from './RadialTooltip';
|
|
7
|
-
export { useRadial } from './RadialContext';
|
|
8
|
-
export type { RadialContext, RadialMode } from './types';
|
|
1
|
+
export { RadialChart, type RadialChartProps } from './RadialChart.js';
|
|
2
|
+
export { RadialGrid, type RadialGridProps } from './RadialGrid.js';
|
|
3
|
+
export { RadialArea, type RadialAreaProps } from './RadialArea.js';
|
|
4
|
+
export { RadialAxis, type RadialAxisProps } from './RadialAxis.js';
|
|
5
|
+
export { RadialSlice, type RadialSliceProps } from './RadialSlice.js';
|
|
6
|
+
export { RadialTooltip, type RadialTooltipProps, type RadialTooltipDatum, } from './RadialTooltip.js';
|
|
7
|
+
export { useRadial } from './RadialContext.js';
|
|
8
|
+
export type { RadialContext, RadialMode } from './types.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/SVGIcon/icons.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* The role defaults to "fill" if omitted.
|
|
12
12
|
*/
|
|
13
|
-
import type { SVGIconDef } from './SVGIcon';
|
|
13
|
+
import type { SVGIconDef } from './SVGIcon.js';
|
|
14
14
|
/** Simple stroke-only: X / Close — both lines are stroke-role */
|
|
15
15
|
export declare const xIcon: SVGIconDef;
|
|
16
16
|
/** Simple stroke-only: Check */
|
package/dist/SVGIcon/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @output Re-exports all SVG icon system components, types, utilities, and starter icons
|
|
5
5
|
* @position Entry point for the lab SVG icon system
|
|
6
6
|
*/
|
|
7
|
-
export { SVGIcon } from './SVGIcon';
|
|
8
|
-
export type { SVGIconProps, SVGIconVariation, SVGIconSize, SVGIconColor, SVGIconDef, IconShape, IconShapeRole, } from './SVGIcon';
|
|
9
|
-
export { variations, opticalSize } from './variations.stylex';
|
|
10
|
-
export { iconVars } from './tokens.stylex';
|
|
11
|
-
export { xIcon, checkIcon, bellIcon, homeIcon, settingsIcon, calendarIcon, menuIcon, heartIcon, eyeIcon, starIcon, folderIcon, shieldIcon, searchIcon, mailIcon, lockIcon, starterIcons, } from './icons';
|
|
12
|
-
export type { XIFIcon, XIFPath, XIFPersonality, XIFAnimate, XIFSlot, } from './xif-types';
|
|
13
|
-
export { xifCheck, xifHome, xifFile, xifShield, xifBell, xifStar, xifBellOverride, xifExamples, } from './xif-examples';
|
|
14
|
-
export { roundCorners, addCurvature, adjustTension, applyPersonality, type PathPersonality, } from './pathTransforms';
|
|
7
|
+
export { SVGIcon } from './SVGIcon.js';
|
|
8
|
+
export type { SVGIconProps, SVGIconVariation, SVGIconSize, SVGIconColor, SVGIconDef, IconShape, IconShapeRole, } from './SVGIcon.js';
|
|
9
|
+
export { variations, opticalSize } from './variations.stylex.js';
|
|
10
|
+
export { iconVars } from './tokens.stylex.js';
|
|
11
|
+
export { xIcon, checkIcon, bellIcon, homeIcon, settingsIcon, calendarIcon, menuIcon, heartIcon, eyeIcon, starIcon, folderIcon, shieldIcon, searchIcon, mailIcon, lockIcon, starterIcons, } from './icons.js';
|
|
12
|
+
export type { XIFIcon, XIFPath, XIFPersonality, XIFAnimate, XIFSlot, } from './xif-types.js';
|
|
13
|
+
export { xifCheck, xifHome, xifFile, xifShield, xifBell, xifStar, xifBellOverride, xifExamples, } from './xif-examples.js';
|
|
14
|
+
export { roundCorners, addCurvature, adjustTension, applyPersonality, type PathPersonality, } from './pathTransforms.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - Personality override (star)
|
|
11
11
|
* - Bold geometry override (bell-override)
|
|
12
12
|
*/
|
|
13
|
-
import type { XIFIcon } from './xif-types';
|
|
13
|
+
import type { XIFIcon } from './xif-types.js';
|
|
14
14
|
export declare const xifCheck: XIFIcon;
|
|
15
15
|
export declare const xifHome: XIFIcon;
|
|
16
16
|
export declare const xifFile: XIFIcon;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* small graphs are mirrored in a visually hidden From/To/Value table.
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactNode } from 'react';
|
|
14
|
-
import type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn } from './types';
|
|
14
|
+
import type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn } from './types.js';
|
|
15
15
|
export interface SankeyChartProps {
|
|
16
16
|
/** Node definitions */
|
|
17
17
|
nodes: SankeyNodeDatum[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SankeyContext } from './types';
|
|
1
|
+
import type { SankeyContext } from './types.js';
|
|
2
2
|
export declare const SankeyProvider: import("react").Provider<SankeyContext | null>;
|
|
3
3
|
/** Access the sankey context. Throws if used outside <SankeyChart>. */
|
|
4
4
|
export declare function useSankey(): SankeyContext;
|
package/dist/Sankey/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { SankeyChart, type SankeyChartProps } from './SankeyChart';
|
|
2
|
-
export { SankeyLink, type SankeyLinkProps, type SankeyLinkColor, } from './SankeyLink';
|
|
3
|
-
export { SankeyNode, type SankeyNodeProps } from './SankeyNode';
|
|
4
|
-
export { SankeyLabel, type SankeyLabelProps } from './SankeyLabel';
|
|
5
|
-
export { SankeyGrid, type SankeyGridProps } from './SankeyGrid';
|
|
6
|
-
export { useSankey } from './SankeyContext';
|
|
7
|
-
export type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn, SankeyColumnDef, SankeyNodeLayout, SankeyLinkLayout, SankeyColumnLayout, SankeyContext, } from './types';
|
|
1
|
+
export { SankeyChart, type SankeyChartProps } from './SankeyChart.js';
|
|
2
|
+
export { SankeyLink, type SankeyLinkProps, type SankeyLinkColor, } from './SankeyLink.js';
|
|
3
|
+
export { SankeyNode, type SankeyNodeProps } from './SankeyNode.js';
|
|
4
|
+
export { SankeyLabel, type SankeyLabelProps } from './SankeyLabel.js';
|
|
5
|
+
export { SankeyGrid, type SankeyGridProps } from './SankeyGrid.js';
|
|
6
|
+
export { useSankey } from './SankeyContext.js';
|
|
7
|
+
export type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn, SankeyColumnDef, SankeyNodeLayout, SankeyLinkLayout, SankeyColumnLayout, SankeyContext, } from './types.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Sankey/layout.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Accepts columns as either string[][] (simple) or SankeyColumnDef[]
|
|
7
7
|
* (with labels). Reserves margin for labels and column headers.
|
|
8
8
|
*/
|
|
9
|
-
import type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn, SankeyNodeLayout, SankeyLinkLayout, SankeyColumnLayout } from './types';
|
|
9
|
+
import type { SankeyNodeDatum, SankeyLinkDatum, SankeyColumn, SankeyNodeLayout, SankeyLinkLayout, SankeyColumnLayout } from './types.js';
|
|
10
10
|
export interface LayoutOptions {
|
|
11
11
|
width: number;
|
|
12
12
|
height: number;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
8
8
|
import type { TokenColor } from '@astryxdesign/core/Token';
|
|
9
|
-
import type { Instant } from './types';
|
|
9
|
+
import type { Instant } from './types.js';
|
|
10
10
|
export type ScheduleEventColor = Exclude<TokenColor, 'default'>;
|
|
11
11
|
export interface ScheduleCategory {
|
|
12
12
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScheduleTimeGridViewOptions, ScheduleView } from './types';
|
|
1
|
+
import type { ScheduleTimeGridViewOptions, ScheduleView } from './types.js';
|
|
2
2
|
export type ScheduleDayViewOptions = ScheduleTimeGridViewOptions;
|
|
3
3
|
export declare function createScheduleDayView({ minHour, maxHour, hourHeight, renderPopover, }?: ScheduleDayViewOptions): ScheduleView<ScheduleDayViewOptions>;
|
|
4
4
|
//# sourceMappingURL=DayView.d.ts.map
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @position Concrete schedule view; exported as createScheduleMonthlyView
|
|
10
10
|
*/
|
|
11
11
|
import { type ReactNode } from 'react';
|
|
12
|
-
import type { CalendarEvent, ScheduleView } from './types';
|
|
12
|
+
import type { CalendarEvent, ScheduleView } from './types.js';
|
|
13
13
|
export interface ScheduleMonthlyViewOptions {
|
|
14
14
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
15
15
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseProps } from '@astryxdesign/core';
|
|
2
|
-
import type { Instant, ScheduleCategory, ScheduleEventSource, SchedulePlugin, ScheduleView, ScheduleViewOptions } from './types';
|
|
2
|
+
import type { Instant, ScheduleCategory, ScheduleEventSource, SchedulePlugin, ScheduleView, ScheduleViewOptions } from './types.js';
|
|
3
3
|
export interface ScheduleProps<Options extends ScheduleViewOptions = ScheduleViewOptions> extends BaseProps<HTMLDivElement> {
|
|
4
4
|
/** View object returned by a `createSchedule*View()` factory. */
|
|
5
5
|
view: ScheduleView<Options>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type ReactNode } from 'react';
|
|
9
9
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
10
|
-
import type { CalendarEvent } from './types';
|
|
10
|
+
import type { CalendarEvent } from './types.js';
|
|
11
11
|
export declare function TimeGridView({ days, events, focusDate, timezoneID, minHour, maxHour, hourHeight, label, renderPopover, }: {
|
|
12
12
|
days: PlainDate[];
|
|
13
13
|
events: ReadonlyArray<CalendarEvent>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScheduleTimeGridViewOptions, ScheduleView } from './types';
|
|
1
|
+
import type { ScheduleTimeGridViewOptions, ScheduleView } from './types.js';
|
|
2
2
|
export interface ScheduleWeeklyViewOptions extends ScheduleTimeGridViewOptions {
|
|
3
3
|
/** Weekday the week starts on, 0 = Sunday. @default 0 */
|
|
4
4
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Locale } from '@astryxdesign/core/i18n';
|
|
2
|
-
import type { CalendarEvent, ScheduleRange, ZonedDateTime, ScheduleCategory, SchedulePlugin, ScheduleViewBase } from './types';
|
|
2
|
+
import type { CalendarEvent, ScheduleRange, ZonedDateTime, ScheduleCategory, SchedulePlugin, ScheduleViewBase } from './types.js';
|
|
3
3
|
export interface ScheduleContextValue {
|
|
4
4
|
events: ReadonlyArray<CalendarEvent>;
|
|
5
5
|
categories: ReadonlyArray<ScheduleCategory>;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @position Shared schedule utility layer; consumed by Schedule and tests
|
|
6
6
|
*/
|
|
7
7
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
8
|
-
import type { CalendarDayEvent, CalendarEvent } from './CalendarEvent';
|
|
9
|
-
import type { ScheduleRange } from './types';
|
|
8
|
+
import type { CalendarDayEvent, CalendarEvent } from './CalendarEvent.js';
|
|
9
|
+
import type { ScheduleRange } from './types.js';
|
|
10
10
|
export declare function getBrowserTimezoneID(): string;
|
|
11
11
|
export declare function isDayEvent(event: CalendarEvent): event is CalendarDayEvent;
|
|
12
12
|
/**
|
package/dist/Schedule/index.d.ts
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* @output Public exports for @astryxdesign/lab Schedule
|
|
5
5
|
* @position Component entry point; re-exported by packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Schedule, type ScheduleProps } from './Schedule';
|
|
8
|
-
export { createEventFromISO } from './CalendarEvent';
|
|
9
|
-
export { createScheduleMonthlyView, type ScheduleMonthlyViewOptions, } from './MonthlyView';
|
|
10
|
-
export { createScheduleWeeklyView, type ScheduleWeeklyViewOptions, } from './WeeklyView';
|
|
11
|
-
export { createScheduleDayView, type ScheduleDayViewOptions } from './DayView';
|
|
12
|
-
export { createScheduleListView, type ScheduleListViewOptions } from './ListView';
|
|
13
|
-
export { ScheduleContext, useScheduleContext } from './context';
|
|
14
|
-
export { defaultSchedulePlugins, useSchedulePaginationPlugin, useScheduleViewSelectorPlugin, } from './plugins';
|
|
15
|
-
export type { ScheduleContextValue } from './context';
|
|
16
|
-
export type { SchedulePaginationPluginOptions } from './plugins/PaginationPlugin';
|
|
17
|
-
export type { ScheduleViewSelectorOption, ScheduleViewSelectorPluginOptions, } from './plugins/ViewSelectorPlugin';
|
|
18
|
-
export type { CalendarDayEvent, CalendarEvent, CalendarEventBase, CalendarInstantEvent, Instant, PlainDate, ScheduleRange, ZonedDateTime, ZonedDateTimeRange, ScheduleCategory, ScheduleDate, ScheduleEventColor, ScheduleEventSource, ScheduleHeaderContent, SchedulePlugin, SchedulePluginPosition, ScheduleTimeGridViewOptions, ScheduleView, ScheduleViewBase, ScheduleViewOptions, } from './types';
|
|
7
|
+
export { Schedule, type ScheduleProps } from './Schedule.js';
|
|
8
|
+
export { createEventFromISO } from './CalendarEvent.js';
|
|
9
|
+
export { createScheduleMonthlyView, type ScheduleMonthlyViewOptions, } from './MonthlyView.js';
|
|
10
|
+
export { createScheduleWeeklyView, type ScheduleWeeklyViewOptions, } from './WeeklyView.js';
|
|
11
|
+
export { createScheduleDayView, type ScheduleDayViewOptions } from './DayView.js';
|
|
12
|
+
export { createScheduleListView, type ScheduleListViewOptions } from './ListView.js';
|
|
13
|
+
export { ScheduleContext, useScheduleContext } from './context.js';
|
|
14
|
+
export { defaultSchedulePlugins, useSchedulePaginationPlugin, useScheduleViewSelectorPlugin, } from './plugins/index.js';
|
|
15
|
+
export type { ScheduleContextValue } from './context.js';
|
|
16
|
+
export type { SchedulePaginationPluginOptions } from './plugins/PaginationPlugin.js';
|
|
17
|
+
export type { ScheduleViewSelectorOption, ScheduleViewSelectorPluginOptions, } from './plugins/ViewSelectorPlugin.js';
|
|
18
|
+
export type { CalendarDayEvent, CalendarEvent, CalendarEventBase, CalendarInstantEvent, Instant, PlainDate, ScheduleRange, ZonedDateTime, ZonedDateTimeRange, ScheduleCategory, ScheduleDate, ScheduleEventColor, ScheduleEventSource, ScheduleHeaderContent, SchedulePlugin, SchedulePluginPosition, ScheduleTimeGridViewOptions, ScheduleView, ScheduleViewBase, ScheduleViewOptions, } from './types.js';
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* ORD4, PR4); no DOM reads, runs during render
|
|
8
8
|
*/
|
|
9
9
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
10
|
-
import type { CalendarEvent } from './types';
|
|
10
|
+
import type { CalendarEvent } from './types.js';
|
|
11
11
|
/** A week row paints at most this many levels of chips. */
|
|
12
12
|
export declare const MONTH_VISIBLE_LEVELS = 3;
|
|
13
13
|
/** One painted chip: an event's run of days on one level of one week row. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SchedulePlugin, SchedulePluginPosition, ScheduleView, ScheduleViewBase } from '../types';
|
|
1
|
+
import type { SchedulePlugin, SchedulePluginPosition, ScheduleView, ScheduleViewBase } from '../types.js';
|
|
2
2
|
export interface ScheduleViewSelectorOption<View extends ScheduleViewBase = ScheduleView> {
|
|
3
3
|
view: View;
|
|
4
4
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SchedulePlugin } from '../types';
|
|
2
|
-
export { useSchedulePaginationPlugin } from './PaginationPlugin';
|
|
3
|
-
export { useScheduleViewSelectorPlugin } from './ViewSelectorPlugin';
|
|
1
|
+
import type { SchedulePlugin } from '../types.js';
|
|
2
|
+
export { useSchedulePaginationPlugin } from './PaginationPlugin.js';
|
|
3
|
+
export { useScheduleViewSelectorPlugin } from './ViewSelectorPlugin.js';
|
|
4
4
|
export declare const defaultSchedulePlugins: ReadonlyArray<SchedulePlugin>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { type ReactNode } from 'react';
|
|
|
8
8
|
import * as stylex from '@stylexjs/stylex';
|
|
9
9
|
import { type Locale } from '@astryxdesign/core/i18n';
|
|
10
10
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
11
|
-
import type { CalendarEvent, CalendarInstantEvent, Instant, ScheduleCategory, ScheduleEventColor } from './types';
|
|
11
|
+
import type { CalendarEvent, CalendarInstantEvent, Instant, ScheduleCategory, ScheduleEventColor } from './types.js';
|
|
12
12
|
export declare function ScheduleFrame({ title, titleLabel, isLoading, children, }: {
|
|
13
13
|
title: ReactNode;
|
|
14
14
|
titleLabel: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { type RefObject } from 'react';
|
|
10
10
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
11
|
-
import type { Instant } from './types';
|
|
11
|
+
import type { Instant } from './types.js';
|
|
12
12
|
/**
|
|
13
13
|
* Identifies one intentional open of a time grid: the range's bounds, the
|
|
14
14
|
* zone, and the hour window the offset was computed for. Object identities
|
package/dist/Schedule/types.d.ts
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ReactNode } from 'react';
|
|
8
8
|
import type { PlainDate } from '@astryxdesign/core/utils';
|
|
9
|
-
import type { CalendarEvent } from './CalendarEvent';
|
|
10
|
-
import type { ZonedDateTime, ZonedDateTimeRange } from './zonedDateTime';
|
|
9
|
+
import type { CalendarEvent } from './CalendarEvent.js';
|
|
10
|
+
import type { ZonedDateTime, ZonedDateTimeRange } from './zonedDateTime.js';
|
|
11
11
|
export type { PlainDate } from '@astryxdesign/core/utils';
|
|
12
|
-
export type { CalendarDayEvent, CalendarEvent, CalendarEventBase, CalendarInstantEvent, ScheduleCategory, ScheduleEventColor, } from './CalendarEvent';
|
|
13
|
-
export type { ZonedDateTime, ZonedDateTimeRange } from './zonedDateTime';
|
|
12
|
+
export type { CalendarDayEvent, CalendarEvent, CalendarEventBase, CalendarInstantEvent, ScheduleCategory, ScheduleEventColor, } from './CalendarEvent.js';
|
|
13
|
+
export type { ZonedDateTime, ZonedDateTimeRange } from './zonedDateTime.js';
|
|
14
14
|
/** Unix epoch milliseconds. */
|
|
15
15
|
export type Instant = number;
|
|
16
16
|
export type ScheduleEventSource = ReadonlyArray<CalendarEvent> | ((start: Instant, end: Instant) => Promise<ReadonlyArray<CalendarEvent>>);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @position Internal timezone-aware date bridge between schedule shell and views
|
|
6
6
|
*/
|
|
7
7
|
import { type PlainDate } from '@astryxdesign/core/utils';
|
|
8
|
-
import type { Instant, ScheduleRange, ScheduleDate } from './types';
|
|
8
|
+
import type { Instant, ScheduleRange, ScheduleDate } from './types.js';
|
|
9
9
|
export interface ZonedDateTime {
|
|
10
10
|
instant: Instant;
|
|
11
11
|
timezoneID: string;
|
package/dist/Stat/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Exports Stat component and related types
|
|
5
5
|
* @position Entry point for Stat; re-exported by /packages/lab/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Stat } from './Stat';
|
|
8
|
-
export type { StatProps, StatDelta, StatDeltaDirection, StatDeltaSentiment, StatSize, } from './Stat';
|
|
7
|
+
export { Stat } from './Stat.js';
|
|
8
|
+
export type { StatProps, StatDelta, StatDeltaDirection, StatDeltaSentiment, StatSize, } from './Stat.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ThreeDContext } from './types';
|
|
1
|
+
import type { ThreeDContext } from './types.js';
|
|
2
2
|
export declare const ThreeDProvider: import("react").Provider<ThreeDContext | null>;
|
|
3
3
|
/** Access the 3D chart context. Throws if used outside ThreeDChart. */
|
|
4
4
|
export declare function use3D(): ThreeDContext;
|
package/dist/ThreeD/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ThreeDChart, type ThreeDChartProps } from './ThreeDChart';
|
|
2
|
-
export { ThreeDScatter, type ThreeDScatterProps } from './ThreeDScatter';
|
|
3
|
-
export { ThreeDScatterGL, type ThreeDScatterGLProps } from './ThreeDScatterGL';
|
|
4
|
-
export { ThreeDBar, type ThreeDBarProps } from './ThreeDBar';
|
|
5
|
-
export { ThreeDGrid, type ThreeDGridProps } from './ThreeDGrid';
|
|
6
|
-
export { ThreeDAxis, type ThreeDAxisProps } from './ThreeDAxis';
|
|
7
|
-
export { ThreeDSurface, type ThreeDSurfaceProps } from './ThreeDSurface';
|
|
8
|
-
export { use3D } from './ThreeDContext';
|
|
9
|
-
export type { ThreeDContext, Camera, Point3D, ProjectedPoint } from './types';
|
|
1
|
+
export { ThreeDChart, type ThreeDChartProps } from './ThreeDChart.js';
|
|
2
|
+
export { ThreeDScatter, type ThreeDScatterProps } from './ThreeDScatter.js';
|
|
3
|
+
export { ThreeDScatterGL, type ThreeDScatterGLProps } from './ThreeDScatterGL.js';
|
|
4
|
+
export { ThreeDBar, type ThreeDBarProps } from './ThreeDBar.js';
|
|
5
|
+
export { ThreeDGrid, type ThreeDGridProps } from './ThreeDGrid.js';
|
|
6
|
+
export { ThreeDAxis, type ThreeDAxisProps } from './ThreeDAxis.js';
|
|
7
|
+
export { ThreeDSurface, type ThreeDSurfaceProps } from './ThreeDSurface.js';
|
|
8
|
+
export { use3D } from './ThreeDContext.js';
|
|
9
|
+
export type { ThreeDContext, Camera, Point3D, ProjectedPoint } from './types.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Tour/Tour.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* - /packages/lab/src/Tour/index.ts (exports if types change)
|
|
26
26
|
*/
|
|
27
27
|
import { type ReactNode } from 'react';
|
|
28
|
-
import { type TourDismissSource } from './TourContext';
|
|
28
|
+
import { type TourDismissSource } from './TourContext.js';
|
|
29
29
|
export interface TourProps {
|
|
30
30
|
/**
|
|
31
31
|
* Whether the tour is running. When false, nothing renders and step state
|
package/dist/Tour/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/lab/src/Tour/Tour.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Tour } from './Tour';
|
|
10
|
-
export type { TourProps } from './Tour';
|
|
11
|
-
export { TourStep } from './TourStep';
|
|
12
|
-
export type { TourStepProps } from './TourStep';
|
|
13
|
-
export { useTour } from './useTour';
|
|
14
|
-
export type { UseTourReturn } from './useTour';
|
|
15
|
-
export type { TourDismissSource } from './TourContext';
|
|
9
|
+
export { Tour } from './Tour.js';
|
|
10
|
+
export type { TourProps } from './Tour.js';
|
|
11
|
+
export { TourStep } from './TourStep.js';
|
|
12
|
+
export type { TourStepProps } from './TourStep.js';
|
|
13
|
+
export { useTour } from './useTour.js';
|
|
14
|
+
export type { UseTourReturn } from './useTour.js';
|
|
15
|
+
export type { TourDismissSource } from './TourContext.js';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Tour/useTour.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type ReactNode } from 'react';
|
|
13
13
|
import { type ComplexSelectorProps } from '@astryxdesign/core/ComplexSelector';
|
|
14
|
-
import { type TransferListProps } from './TransferList';
|
|
14
|
+
import { type TransferListProps } from './TransferList.js';
|
|
15
15
|
type TransferListSelectorShellProp = 'label' | 'triggerLabel' | 'isLabelHidden' | 'description' | 'isOptional' | 'isRequired' | 'isDisabled' | 'isLoading' | 'status' | 'statusVariant' | 'labelTooltip' | 'size' | 'width' | 'placement' | 'controlXstyle' | 'controlClassName' | 'controlStyle' | 'data-testid';
|
|
16
16
|
type TransferListContentProp = 'options' | 'selectedLabel' | 'availableLabel' | 'hasSearch' | 'searchLabel' | 'searchPlaceholder' | 'isReorderable' | 'hasSelectAll' | 'hasClear' | 'renderOption' | 'selectedEmptyText' | 'availableEmptyText' | 'noResultsText';
|
|
17
17
|
export type TransferListSelectorCommitBehavior = 'immediate' | 'staged';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @output Public selector, composition primitive, prop types, and layout variables
|
|
5
5
|
* @position Package boundary for the Lab TransferList selector experiment
|
|
6
6
|
*/
|
|
7
|
-
export { TransferList, type TransferListOption, type TransferListProps, } from './TransferList';
|
|
8
|
-
export { TransferListSelector, type TransferListSelectorCommitBehavior, type TransferListSelectorProps, } from './TransferListSelector';
|
|
9
|
-
export { transferListVars } from './tokens.stylex';
|
|
7
|
+
export { TransferList, type TransferListOption, type TransferListProps, } from './TransferList.js';
|
|
8
|
+
export { TransferListSelector, type TransferListSelectorCommitBehavior, type TransferListSelectorProps, } from './TransferListSelector.js';
|
|
9
|
+
export { transferListVars } from './tokens.stylex.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -9,28 +9,28 @@
|
|
|
9
9
|
* (npm install @astryxdesign/lab@canary). It is never released as a
|
|
10
10
|
* stable (latest) version.
|
|
11
11
|
*/
|
|
12
|
-
export { CodeEditor, type CodeEditorProps } from './CodeEditor';
|
|
12
|
+
export { CodeEditor, type CodeEditorProps } from './CodeEditor/index.js';
|
|
13
13
|
export { tokenize, tokenizeAsync, SYNC_TOKENIZE_THRESHOLD, type SyntaxToken, } from '@astryxdesign/core/CodeBlock';
|
|
14
|
-
export { InfoTip, type InfoTipProps, type InfoTipSize } from './InfoTip';
|
|
15
|
-
export { EmojiPicker, DEFAULT_FREQUENT_EMOJIS, type EmojiPickerProps, type EmojiOption, type EmojiCategory, } from './EmojiPicker';
|
|
16
|
-
export { CommentPin, type CommentPinParticipant, type CommentPinProps, } from './CommentPin';
|
|
17
|
-
export { Comments, type CommentsProps, CommentThread, type CommentThreadProps, CommentComposer, type CommentComposerProps, DEFAULT_COMMENT_REACTIONS, COMMENT_ICON_KEYS, type CommentAgentCommand, type CommentAnchor, type CommentComposerContext, type CommentComposerRenderProps, type CommentData, type CommentStatus, type CommentHighlightColor, type CommentImageUploader, type CommentMode, type CommentProgress, type CommentReaction, type CommentReactionOption, type CommentThreadData, type CommentThreadSharedProps, type CommentUploadedImage, type CommentUser, type CommentVersion, type CommentActivityEvent, } from './Comments';
|
|
18
|
-
export { TransferList, TransferListSelector, transferListVars, type TransferListOption, type TransferListProps, type TransferListSelectorCommitBehavior, type TransferListSelectorProps, } from './TransferList';
|
|
19
|
-
export { ChatReasoning, type ChatReasoningProps, } from './ChatReasoning/ChatReasoning';
|
|
20
|
-
export * from './Chat';
|
|
21
|
-
export { Tour, type TourProps, TourStep, type TourStepProps, useTour, type UseTourReturn, type TourDismissSource, } from './Tour';
|
|
22
|
-
export { Stat, type StatProps, type StatDelta, type StatDeltaDirection, type StatDeltaSentiment, type StatSize, } from './Stat';
|
|
23
|
-
export * from './Schedule';
|
|
24
|
-
export { SVGIcon, type SVGIconProps, type SVGIconVariation, type SVGIconSize, type SVGIconColor, type SVGIconDef, type IconShape, type IconShapeRole, iconVars, variations, opticalSize, xIcon, checkIcon, bellIcon, homeIcon, settingsIcon, calendarIcon, menuIcon, heartIcon, eyeIcon, starIcon, folderIcon, shieldIcon, searchIcon, mailIcon, lockIcon, starterIcons, } from './SVGIcon';
|
|
25
|
-
export { Chart, type ChartProps, type YBaseline, ChartAxis, type ChartAxisProps, ChartGrid, type ChartGridProps, ChartBar, type ChartBarProps, ChartLine, type ChartLineProps, ChartArea, type ChartAreaProps, ChartErrorBar, type ChartErrorBarProps, ChartCandlestick, type ChartCandlestickProps, ChartDot, type ChartDotProps, ChartDotGL, type ChartDotGLProps, ChartDotGLInteractive, type ChartDotGLInteractiveProps, ChartHeatmapGL, type ChartHeatmapGLProps, ChartStreamGL, type ChartStreamGLProps, type ChartStreamGLHandle, ChartTooltip, type ChartTooltipProps, type ChartCrosshairMode, ChartLegend, type ChartLegendProps, type ChartLegendItem, useChart, type ChartContext, type ChartMargin, type ChartScale, m4Reduce, type M4Point, useChartColors, useChartRange, type UseChartRangeOptions, type UseChartRangeReturn, getChartColors, getChartColorsFromResolver, type ChartColorsAPI, type SequentialHue, type TokenResolver, compactNumber, currency, percent, shortDate, monthYear, } from './Chart';
|
|
26
|
-
export { RadialChart, type RadialChartProps, RadialGrid, type RadialGridProps, RadialArea, type RadialAreaProps, RadialAxis, type RadialAxisProps, RadialSlice, type RadialSliceProps, RadialTooltip, type RadialTooltipProps, type RadialTooltipDatum, useRadial, type RadialContext, type RadialMode, } from './Radial';
|
|
27
|
-
export { ThreeDChart, type ThreeDChartProps, ThreeDScatter, ThreeDScatterGL, type ThreeDScatterProps, type ThreeDScatterGLProps, ThreeDBar, type ThreeDBarProps, ThreeDGrid, type ThreeDGridProps, ThreeDAxis, type ThreeDAxisProps, ThreeDSurface, type ThreeDSurfaceProps, use3D, type ThreeDContext, type Camera, type Point3D, type ProjectedPoint, } from './ThreeD';
|
|
28
|
-
export { ChartBrush, type ChartBrushProps, type BrushMode, type BrushRange, ChartZoom, type ChartZoomProps, ChartSelect, type ChartSelectProps, ChartReferenceLine, type ChartReferenceLineProps, } from './Chart';
|
|
29
|
-
export { SankeyChart, type SankeyChartProps, SankeyLink, type SankeyLinkProps, SankeyNode, type SankeyNodeProps, SankeyLabel, type SankeyLabelProps, useSankey, type SankeyNodeDatum, type SankeyLinkDatum, type SankeyColumn, type SankeyColumnDef, type SankeyNodeLayout, type SankeyLinkLayout, type SankeyColumnLayout, SankeyGrid, type SankeyGridProps, type SankeyContext, } from './Sankey';
|
|
30
|
-
export * from './CircularProgress';
|
|
31
|
-
export * from './ListInput';
|
|
32
|
-
export { LogStream, type LogStreamProps, type LogEntry, type LogStreamLevel, } from './LogStream';
|
|
33
|
-
export { DiffViewer, parseUnifiedDiff, createDiffFile, type DiffViewerProps, type DiffViewerViewMode, type CreateDiffFileOptions, type DiffViewerChangeIndicator, type DiffViewerInlineHighlight, type DiffViewerFile, type DiffViewerFileStatus, type DiffViewerHunk, type DiffViewerLine, type DiffViewerLineKind, type DiffViewerLineRef, type DiffViewerSide, } from './DiffViewer';
|
|
34
|
-
export { MobileTokenizer, type MobileTokenizerProps, type MobileTokenizerChange, } from './MobileTokenizer';
|
|
35
|
-
export { MobilePowerSearch, type MobilePowerSearchProps, } from './MobilePowerSearch';
|
|
14
|
+
export { InfoTip, type InfoTipProps, type InfoTipSize } from './InfoTip/index.js';
|
|
15
|
+
export { EmojiPicker, DEFAULT_FREQUENT_EMOJIS, type EmojiPickerProps, type EmojiOption, type EmojiCategory, } from './EmojiPicker/index.js';
|
|
16
|
+
export { CommentPin, type CommentPinParticipant, type CommentPinProps, } from './CommentPin/index.js';
|
|
17
|
+
export { Comments, type CommentsProps, CommentThread, type CommentThreadProps, CommentComposer, type CommentComposerProps, DEFAULT_COMMENT_REACTIONS, COMMENT_ICON_KEYS, type CommentAgentCommand, type CommentAnchor, type CommentComposerContext, type CommentComposerRenderProps, type CommentData, type CommentStatus, type CommentHighlightColor, type CommentImageUploader, type CommentMode, type CommentProgress, type CommentReaction, type CommentReactionOption, type CommentThreadData, type CommentThreadSharedProps, type CommentUploadedImage, type CommentUser, type CommentVersion, type CommentActivityEvent, } from './Comments/index.js';
|
|
18
|
+
export { TransferList, TransferListSelector, transferListVars, type TransferListOption, type TransferListProps, type TransferListSelectorCommitBehavior, type TransferListSelectorProps, } from './TransferList/index.js';
|
|
19
|
+
export { ChatReasoning, type ChatReasoningProps, } from './ChatReasoning/ChatReasoning.js';
|
|
20
|
+
export * from './Chat/index.js';
|
|
21
|
+
export { Tour, type TourProps, TourStep, type TourStepProps, useTour, type UseTourReturn, type TourDismissSource, } from './Tour/index.js';
|
|
22
|
+
export { Stat, type StatProps, type StatDelta, type StatDeltaDirection, type StatDeltaSentiment, type StatSize, } from './Stat/index.js';
|
|
23
|
+
export * from './Schedule/index.js';
|
|
24
|
+
export { SVGIcon, type SVGIconProps, type SVGIconVariation, type SVGIconSize, type SVGIconColor, type SVGIconDef, type IconShape, type IconShapeRole, iconVars, variations, opticalSize, xIcon, checkIcon, bellIcon, homeIcon, settingsIcon, calendarIcon, menuIcon, heartIcon, eyeIcon, starIcon, folderIcon, shieldIcon, searchIcon, mailIcon, lockIcon, starterIcons, } from './SVGIcon/index.js';
|
|
25
|
+
export { Chart, type ChartProps, type YBaseline, ChartAxis, type ChartAxisProps, ChartGrid, type ChartGridProps, ChartBar, type ChartBarProps, ChartLine, type ChartLineProps, ChartArea, type ChartAreaProps, ChartErrorBar, type ChartErrorBarProps, ChartCandlestick, type ChartCandlestickProps, ChartDot, type ChartDotProps, ChartDotGL, type ChartDotGLProps, ChartDotGLInteractive, type ChartDotGLInteractiveProps, ChartHeatmapGL, type ChartHeatmapGLProps, ChartStreamGL, type ChartStreamGLProps, type ChartStreamGLHandle, ChartTooltip, type ChartTooltipProps, type ChartCrosshairMode, ChartLegend, type ChartLegendProps, type ChartLegendItem, useChart, type ChartContext, type ChartMargin, type ChartScale, m4Reduce, type M4Point, useChartColors, useChartRange, type UseChartRangeOptions, type UseChartRangeReturn, getChartColors, getChartColorsFromResolver, type ChartColorsAPI, type SequentialHue, type TokenResolver, compactNumber, currency, percent, shortDate, monthYear, } from './Chart/index.js';
|
|
26
|
+
export { RadialChart, type RadialChartProps, RadialGrid, type RadialGridProps, RadialArea, type RadialAreaProps, RadialAxis, type RadialAxisProps, RadialSlice, type RadialSliceProps, RadialTooltip, type RadialTooltipProps, type RadialTooltipDatum, useRadial, type RadialContext, type RadialMode, } from './Radial/index.js';
|
|
27
|
+
export { ThreeDChart, type ThreeDChartProps, ThreeDScatter, ThreeDScatterGL, type ThreeDScatterProps, type ThreeDScatterGLProps, ThreeDBar, type ThreeDBarProps, ThreeDGrid, type ThreeDGridProps, ThreeDAxis, type ThreeDAxisProps, ThreeDSurface, type ThreeDSurfaceProps, use3D, type ThreeDContext, type Camera, type Point3D, type ProjectedPoint, } from './ThreeD/index.js';
|
|
28
|
+
export { ChartBrush, type ChartBrushProps, type BrushMode, type BrushRange, ChartZoom, type ChartZoomProps, ChartSelect, type ChartSelectProps, ChartReferenceLine, type ChartReferenceLineProps, } from './Chart/index.js';
|
|
29
|
+
export { SankeyChart, type SankeyChartProps, SankeyLink, type SankeyLinkProps, SankeyNode, type SankeyNodeProps, SankeyLabel, type SankeyLabelProps, useSankey, type SankeyNodeDatum, type SankeyLinkDatum, type SankeyColumn, type SankeyColumnDef, type SankeyNodeLayout, type SankeyLinkLayout, type SankeyColumnLayout, SankeyGrid, type SankeyGridProps, type SankeyContext, } from './Sankey/index.js';
|
|
30
|
+
export * from './CircularProgress/index.js';
|
|
31
|
+
export * from './ListInput/index.js';
|
|
32
|
+
export { LogStream, type LogStreamProps, type LogEntry, type LogStreamLevel, } from './LogStream/index.js';
|
|
33
|
+
export { DiffViewer, parseUnifiedDiff, createDiffFile, type DiffViewerProps, type DiffViewerViewMode, type CreateDiffFileOptions, type DiffViewerChangeIndicator, type DiffViewerInlineHighlight, type DiffViewerFile, type DiffViewerFileStatus, type DiffViewerHunk, type DiffViewerLine, type DiffViewerLineKind, type DiffViewerLineRef, type DiffViewerSide, } from './DiffViewer/index.js';
|
|
34
|
+
export { MobileTokenizer, type MobileTokenizerProps, type MobileTokenizerChange, } from './MobileTokenizer/index.js';
|
|
35
|
+
export { MobilePowerSearch, type MobilePowerSearchProps, } from './MobilePowerSearch/index.js';
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/lab",
|
|
3
|
-
"version": "0.7.5-canary.
|
|
3
|
+
"version": "0.7.5-canary.fccd771",
|
|
4
4
|
"description": "Experimental Astryx components — published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
|
|
5
5
|
"author": "Meta Open Source",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@stylexjs/stylex": ">=0.10.0",
|
|
52
|
-
"@astryxdesign/core": "0.7.5-canary.
|
|
52
|
+
"@astryxdesign/core": "0.7.5-canary.fccd771",
|
|
53
53
|
"react": ">=19.0.0",
|
|
54
54
|
"react-dom": ">=19.0.0"
|
|
55
55
|
},
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"d3-shape": "^3.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@astryxdesign/a11y-spec": "0.7.5-canary.
|
|
63
|
-
"@astryxdesign/cli": "0.7.5-canary.
|
|
62
|
+
"@astryxdesign/a11y-spec": "0.7.5-canary.fccd771",
|
|
63
|
+
"@astryxdesign/cli": "0.7.5-canary.fccd771",
|
|
64
64
|
"@babel/cli": "^7.29.7",
|
|
65
65
|
"@babel/core": "^7.29.7",
|
|
66
66
|
"@babel/preset-react": "^7.29.7",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"emojibase-data": "17.0.0"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
|
-
"build": "node ../../scripts/clean-dist.mjs && pnpm build:esm && tsc --project tsconfig.build.json && pnpm build:css && node ../../scripts/check-no-dev-jsx.mjs && node ../../scripts/check-fully-specified.mjs",
|
|
76
|
+
"build": "node ../../scripts/clean-dist.mjs && pnpm build:esm && tsc --project tsconfig.build.json && node ../../scripts/add-declaration-extensions.mjs && pnpm build:css && node ../../scripts/check-no-dev-jsx.mjs && node ../../scripts/check-fully-specified.mjs",
|
|
77
77
|
"build:esm": "babel src --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.ts,**/*.test.tsx,**/__tests__/**,**/*.perf.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css,**/*.css.d.ts\" --config-file ./babel.config.json",
|
|
78
78
|
"build:css": "node ../../scripts/build-css.mjs --package lab",
|
|
79
79
|
"dev": "babel src --watch --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css*\" --config-file ./babel.config.json",
|
|
@@ -684,6 +684,38 @@ describe('MobilePowerSearch Filters sheet', () => {
|
|
|
684
684
|
// =============================================================================
|
|
685
685
|
|
|
686
686
|
describe('MobilePowerSearch Add filter', () => {
|
|
687
|
+
it('keeps the sticky header above the rows that scroll under it, without covering the grab handle', () => {
|
|
688
|
+
setup();
|
|
689
|
+
openAddFlow();
|
|
690
|
+
const title = within(sheet()).getByRole('heading', {name: 'Add filter'});
|
|
691
|
+
// The title sits in the sticky header; the header's parent is the sheet
|
|
692
|
+
// content wrapper.
|
|
693
|
+
let header: HTMLElement | null = title;
|
|
694
|
+
while (header && getComputedStyle(header).position !== 'sticky') {
|
|
695
|
+
header = header.parentElement;
|
|
696
|
+
}
|
|
697
|
+
expect(header).not.toBeNull();
|
|
698
|
+
const content = header!.parentElement!;
|
|
699
|
+
// jsdom resolves the injected StyleX rules: the header has a layer above
|
|
700
|
+
// the List rows (position: relative, z-index auto) that follow it...
|
|
701
|
+
expect(getComputedStyle(header!).zIndex).toBe('1');
|
|
702
|
+
// ...scoped to the sheet content, so the panel's grab handle (z-index 1,
|
|
703
|
+
// outside this wrapper) still paints above the header.
|
|
704
|
+
const rules: string[] = [];
|
|
705
|
+
for (const styleSheet of Array.from(document.styleSheets)) {
|
|
706
|
+
for (const rule of Array.from(styleSheet.cssRules)) {
|
|
707
|
+
rules.push(rule.cssText);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
const isolated = Array.from(content.classList).some(className =>
|
|
711
|
+
rules.some(
|
|
712
|
+
text =>
|
|
713
|
+
text.includes(`.${className}`) && /isolation:\s*isolate/.test(text),
|
|
714
|
+
),
|
|
715
|
+
);
|
|
716
|
+
expect(isolated).toBe(true);
|
|
717
|
+
});
|
|
718
|
+
|
|
687
719
|
it('opens directly to Add filter when no filters are selected', () => {
|
|
688
720
|
setup();
|
|
689
721
|
openSheet();
|
|
@@ -294,17 +294,23 @@ const styles = stylex.create({
|
|
|
294
294
|
minHeight: 44,
|
|
295
295
|
},
|
|
296
296
|
// --- sheet shell ---------------------------------------------------------
|
|
297
|
+
// Scopes the sticky header's and footer's layer to this sheet's content:
|
|
298
|
+
// the List rows are `position: relative` and come after the header, so
|
|
299
|
+
// without a layer of its own the header is painted under the rows that
|
|
300
|
+
// scroll beneath it. Isolating the content keeps that z-index inside it, so
|
|
301
|
+
// the sheet's grab handle (z-index 1 on the panel, outside this wrapper)
|
|
302
|
+
// still paints above.
|
|
297
303
|
sheet: {
|
|
298
304
|
display: 'flex',
|
|
299
305
|
flexDirection: 'column',
|
|
300
306
|
minHeight: '100%',
|
|
307
|
+
isolation: 'isolate',
|
|
301
308
|
},
|
|
302
309
|
header: {
|
|
303
310
|
position: 'sticky',
|
|
304
311
|
insetBlockStart: 0,
|
|
305
|
-
//
|
|
306
|
-
|
|
307
|
-
zIndex: 0,
|
|
312
|
+
// Above the rows that scroll under it, within the isolated sheet content.
|
|
313
|
+
zIndex: 1,
|
|
308
314
|
display: 'flex',
|
|
309
315
|
flexDirection: 'column',
|
|
310
316
|
gap: spacingVars['--spacing-3'],
|
|
@@ -341,7 +347,7 @@ const styles = stylex.create({
|
|
|
341
347
|
footer: {
|
|
342
348
|
position: 'sticky',
|
|
343
349
|
insetBlockEnd: 0,
|
|
344
|
-
zIndex:
|
|
350
|
+
zIndex: 1,
|
|
345
351
|
display: 'flex',
|
|
346
352
|
alignItems: 'center',
|
|
347
353
|
justifyContent: 'space-between',
|