@wow-two-beta/ui 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{chunk-ZP4CBWO2.js → chunk-CBOC2DT2.js} +1473 -5
  2. package/dist/chunk-CBOC2DT2.js.map +1 -0
  3. package/dist/display/audioPlayer/AudioPlayer.d.ts +18 -0
  4. package/dist/display/audioPlayer/AudioPlayer.d.ts.map +1 -0
  5. package/dist/display/audioPlayer/index.d.ts +2 -0
  6. package/dist/display/audioPlayer/index.d.ts.map +1 -0
  7. package/dist/display/audioWaveform/AudioWaveform.d.ts +19 -0
  8. package/dist/display/audioWaveform/AudioWaveform.d.ts.map +1 -0
  9. package/dist/display/audioWaveform/index.d.ts +2 -0
  10. package/dist/display/audioWaveform/index.d.ts.map +1 -0
  11. package/dist/display/dataGrid/DataGrid.d.ts +34 -0
  12. package/dist/display/dataGrid/DataGrid.d.ts.map +1 -0
  13. package/dist/display/dataGrid/index.d.ts +2 -0
  14. package/dist/display/dataGrid/index.d.ts.map +1 -0
  15. package/dist/display/heatmapCalendar/HeatmapCalendar.d.ts +21 -0
  16. package/dist/display/heatmapCalendar/HeatmapCalendar.d.ts.map +1 -0
  17. package/dist/display/heatmapCalendar/index.d.ts +2 -0
  18. package/dist/display/heatmapCalendar/index.d.ts.map +1 -0
  19. package/dist/display/index.d.ts +8 -0
  20. package/dist/display/index.d.ts.map +1 -1
  21. package/dist/display/index.js +1 -1
  22. package/dist/display/nodeEditor/NodeEditor.d.ts +32 -0
  23. package/dist/display/nodeEditor/NodeEditor.d.ts.map +1 -0
  24. package/dist/display/nodeEditor/index.d.ts +2 -0
  25. package/dist/display/nodeEditor/index.d.ts.map +1 -0
  26. package/dist/display/pdfViewer/PDFViewer.d.ts +22 -0
  27. package/dist/display/pdfViewer/PDFViewer.d.ts.map +1 -0
  28. package/dist/display/pdfViewer/index.d.ts +2 -0
  29. package/dist/display/pdfViewer/index.d.ts.map +1 -0
  30. package/dist/display/sparkline/Sparkline.d.ts +22 -0
  31. package/dist/display/sparkline/Sparkline.d.ts.map +1 -0
  32. package/dist/display/sparkline/index.d.ts +2 -0
  33. package/dist/display/sparkline/index.d.ts.map +1 -0
  34. package/dist/display/videoPlayer/VideoPlayer.d.ts +22 -0
  35. package/dist/display/videoPlayer/VideoPlayer.d.ts.map +1 -0
  36. package/dist/display/videoPlayer/index.d.ts +2 -0
  37. package/dist/display/videoPlayer/index.d.ts.map +1 -0
  38. package/dist/index.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/chunk-ZP4CBWO2.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ import { type AudioHTMLAttributes } from 'react';
2
+ export interface AudioPlayerProps extends Omit<AudioHTMLAttributes<HTMLAudioElement>, 'controls' | 'onPlay' | 'onPause' | 'onTimeUpdate' | 'onEnded'> {
3
+ src: string;
4
+ peaks?: number[];
5
+ defaultVolume?: number;
6
+ defaultPlaybackRate?: number;
7
+ compact?: boolean;
8
+ onPlay?: () => void;
9
+ onPause?: () => void;
10
+ onTimeUpdate?: (time: number, duration: number) => void;
11
+ onEnded?: () => void;
12
+ }
13
+ /**
14
+ * Custom-controls audio player. Native `<audio>` underneath; play/pause,
15
+ * scrubber (or `AudioWaveform` if `peaks` provided), volume, speed.
16
+ */
17
+ export declare const AudioPlayer: import("react").ForwardRefExoticComponent<AudioPlayerProps & import("react").RefAttributes<HTMLAudioElement>>;
18
+ //# sourceMappingURL=AudioPlayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/display/audioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,mBAAmB,EAEzB,MAAM,OAAO,CAAC;AAMf,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC;IACnH,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAcD;;;GAGG;AACH,eAAO,MAAM,WAAW,+GAwMvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { AudioPlayer, type AudioPlayerProps } from './AudioPlayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/audioPlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type SVGAttributes } from 'react';
2
+ export type AudioWaveformTone = 'brand' | 'success' | 'warning' | 'danger' | 'muted' | 'current';
3
+ export interface AudioWaveformProps extends Omit<SVGAttributes<SVGSVGElement>, 'width' | 'height' | 'onSeek'> {
4
+ peaks: number[];
5
+ progress?: number;
6
+ width?: number;
7
+ height?: number;
8
+ barWidth?: number;
9
+ gap?: number;
10
+ tone?: AudioWaveformTone;
11
+ onSeek?: (progress: number) => void;
12
+ interactive?: boolean;
13
+ }
14
+ /**
15
+ * SVG bar-style audio waveform. `peaks` are per-bin amplitudes in 0..1.
16
+ * Click-to-seek + arrow-key seek when `onSeek` is provided.
17
+ */
18
+ export declare const AudioWaveform: import("react").ForwardRefExoticComponent<AudioWaveformProps & import("react").RefAttributes<SVGSVGElement>>;
19
+ //# sourceMappingURL=AudioWaveform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioWaveform.d.ts","sourceRoot":"","sources":["../../../src/display/audioWaveform/AudioWaveform.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAG5F,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAWjG,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3G,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,8GAmGzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { AudioWaveform, type AudioWaveformProps, type AudioWaveformTone, } from './AudioWaveform';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/audioWaveform/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type DataGridCellType = 'text' | 'number' | 'select' | 'boolean';
3
+ export interface DataGridColumn<T> {
4
+ key: string;
5
+ header: ReactNode;
6
+ /** Returns the cell's underlying value. */
7
+ accessor: (row: T) => unknown;
8
+ /** Optional custom cell renderer for read mode. */
9
+ cell?: (row: T) => ReactNode;
10
+ type?: DataGridCellType;
11
+ options?: Array<{
12
+ value: string | number;
13
+ label: ReactNode;
14
+ }>;
15
+ editable?: boolean;
16
+ width?: string;
17
+ align?: 'left' | 'right' | 'center';
18
+ }
19
+ export interface DataGridProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
20
+ columns: DataGridColumn<T>[];
21
+ rows: T[];
22
+ rowKey: (row: T) => string;
23
+ onRowChange?: (row: T, colKey: string, value: unknown) => void;
24
+ dense?: boolean;
25
+ }
26
+ /**
27
+ * First-generation editable DataGrid. Keyboard nav between cells; click /
28
+ * Enter / F2 enter edit; Escape reverts. Range select, fill, paste TSV are
29
+ * deferred — log them in a follow-up batch.
30
+ */
31
+ export declare const DataGrid: <T>(props: DataGridProps<T> & {
32
+ ref?: React.Ref<HTMLDivElement>;
33
+ }) => React.ReactElement;
34
+ //# sourceMappingURL=DataGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/display/dataGrid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,2CAA2C;IAC3C,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC;IAC9B,mDAAmD;IACnD,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;CACrC;AAED,MAAM,WAAW,aAAa,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxF,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAgBD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EA8MhB,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KAAK,KAAK,CAAC,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { DataGrid, type DataGridCellType, type DataGridColumn, type DataGridProps, } from './DataGrid';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/dataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type HeatmapCalendarTone = 'brand' | 'success' | 'warning' | 'danger' | 'muted';
3
+ export interface HeatmapCalendarProps extends HTMLAttributes<HTMLDivElement> {
4
+ values: Record<string, number> | Map<string, number>;
5
+ year?: number;
6
+ weekStart?: 0 | 1;
7
+ cellSize?: number;
8
+ gap?: number;
9
+ levels?: number;
10
+ tone?: HeatmapCalendarTone;
11
+ onCellClick?: (date: string, value: number) => void;
12
+ monthLabels?: string[];
13
+ weekdayLabels?: string[];
14
+ showLegend?: boolean;
15
+ }
16
+ /**
17
+ * Year-long heatmap. 53 columns (weeks) × 7 rows (weekdays). Per-cell color
18
+ * intensity from `values[YYYY-MM-DD]`, bucketed into `levels` steps.
19
+ */
20
+ export declare const HeatmapCalendar: import("react").ForwardRefExoticComponent<HeatmapCalendarProps & import("react").RefAttributes<HTMLDivElement>>;
21
+ //# sourceMappingURL=HeatmapCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeatmapCalendar.d.ts","sourceRoot":"","sources":["../../../src/display/heatmapCalendar/HeatmapCalendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGjE,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAUvF,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAYD;;;GAGG;AACH,eAAO,MAAM,eAAe,iHAyJ3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { HeatmapCalendar, type HeatmapCalendarProps, type HeatmapCalendarTone, } from './HeatmapCalendar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/heatmapCalendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,mBAAmB,CAAC"}
@@ -35,4 +35,12 @@ export * from './dataTable';
35
35
  export * from './carousel';
36
36
  export * from './swipeActions';
37
37
  export * from './diffViewer';
38
+ export * from './sparkline';
39
+ export * from './heatmapCalendar';
40
+ export * from './dataGrid';
41
+ export * from './nodeEditor';
42
+ export * from './audioWaveform';
43
+ export * from './audioPlayer';
44
+ export * from './videoPlayer';
45
+ export * from './pdfViewer';
38
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataTable, DescriptionList, DiffViewer, EmptyState, Heading, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NotificationDot, Quote, SectionHeader, Separator, Snippet, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-ZP4CBWO2.js';
1
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NodeEditor, NotificationDot, PDFViewer, Quote, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-CBOC2DT2.js';
2
2
  export { Tag, tagVariants } from '../chunk-ZCA365IX.js';
3
3
  import '../chunk-BMBIZLO4.js';
4
4
  import '../chunk-4P2TFUVW.js';
@@ -0,0 +1,32 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export interface NodeEditorNode {
3
+ id: string;
4
+ x: number;
5
+ y: number;
6
+ data?: Record<string, unknown>;
7
+ label?: ReactNode;
8
+ }
9
+ export interface NodeEditorEdge {
10
+ id: string;
11
+ source: string;
12
+ target: string;
13
+ label?: ReactNode;
14
+ }
15
+ export interface NodeEditorProps extends HTMLAttributes<HTMLDivElement> {
16
+ nodes: NodeEditorNode[];
17
+ edges?: NodeEditorEdge[];
18
+ onNodesChange?: (nodes: NodeEditorNode[]) => void;
19
+ onEdgeClick?: (edge: NodeEditorEdge) => void;
20
+ renderNode?: (node: NodeEditorNode) => ReactNode;
21
+ nodeWidth?: number;
22
+ nodeHeight?: number;
23
+ minZoom?: number;
24
+ maxZoom?: number;
25
+ }
26
+ /**
27
+ * First-generation node graph editor. Drag nodes to reposition; pan the
28
+ * viewport on background drag; wheel-zoom. Drag-to-connect ports + minimap
29
+ * + auto-layout deferred.
30
+ */
31
+ export declare const NodeEditor: import("react").ForwardRefExoticComponent<NodeEditorProps & import("react").RefAttributes<HTMLDivElement>>;
32
+ //# sourceMappingURL=NodeEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeEditor.d.ts","sourceRoot":"","sources":["../../../src/display/nodeEditor/NodeEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAQD;;;;GAIG;AACH,eAAO,MAAM,UAAU,4GAgPrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { NodeEditor, type NodeEditorEdge, type NodeEditorNode, type NodeEditorProps, } from './NodeEditor';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/nodeEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface PDFViewerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
3
+ src: string;
4
+ page?: number;
5
+ defaultPage?: number;
6
+ onPageChange?: (page: number) => void;
7
+ zoom?: number;
8
+ defaultZoom?: number;
9
+ onZoomChange?: (zoom: number) => void;
10
+ pageCount?: number;
11
+ title?: string;
12
+ download?: boolean;
13
+ height?: string;
14
+ }
15
+ /**
16
+ * Inline PDF viewer. **First-gen** uses the browser's built-in PDF viewer via
17
+ * an `<iframe>` with `#page=N&zoom=Z` URL hash. Real per-page rendering,
18
+ * thumbnails, search, annotations all need a PDF.js wrap — deferred to a
19
+ * follow-up that slots into this contract.
20
+ */
21
+ export declare const PDFViewer: import("react").ForwardRefExoticComponent<PDFViewerProps & import("react").RefAttributes<HTMLDivElement>>;
22
+ //# sourceMappingURL=PDFViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PDFViewer.d.ts","sourceRoot":"","sources":["../../../src/display/pdfViewer/PDFViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMjE,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACnF,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID;;;;;GAKG;AACH,eAAO,MAAM,SAAS,2GA2HpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { PDFViewer, type PDFViewerProps } from './PDFViewer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/pdfViewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type SVGAttributes } from 'react';
2
+ export type SparklineVariant = 'line' | 'area' | 'bar' | 'dot';
3
+ export type SparklineTone = 'brand' | 'success' | 'warning' | 'danger' | 'muted' | 'current';
4
+ export interface SparklineProps extends Omit<SVGAttributes<SVGSVGElement>, 'width' | 'height'> {
5
+ data: number[];
6
+ variant?: SparklineVariant;
7
+ width?: number;
8
+ height?: number;
9
+ tone?: SparklineTone;
10
+ min?: number;
11
+ max?: number;
12
+ showLast?: boolean;
13
+ /** Accessible label summarizing the trend. */
14
+ ariaLabel?: string;
15
+ }
16
+ /**
17
+ * Inline trend chart — line / area / bar / dot. SVG, no scales/axes/legend.
18
+ * Color via Tailwind tokens (`text-*`); pair with `currentColor` for parent
19
+ * inheritance.
20
+ */
21
+ export declare const Sparkline: import("react").ForwardRefExoticComponent<SparklineProps & import("react").RefAttributes<SVGSVGElement>>;
22
+ //# sourceMappingURL=Sparkline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.d.ts","sourceRoot":"","sources":["../../../src/display/sparkline/Sparkline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAGvE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;AAC/D,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE7F,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5F,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAWD;;;;GAIG;AACH,eAAO,MAAM,SAAS,0GAuFpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Sparkline, type SparklineProps, type SparklineTone, type SparklineVariant, } from './Sparkline';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/sparkline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type VideoHTMLAttributes } from 'react';
2
+ export interface VideoTrack {
3
+ src: string;
4
+ srcLang: string;
5
+ label: string;
6
+ kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
7
+ default?: boolean;
8
+ }
9
+ export interface VideoPlayerProps extends Omit<VideoHTMLAttributes<HTMLVideoElement>, 'controls'> {
10
+ src: string;
11
+ poster?: string;
12
+ tracks?: VideoTrack[];
13
+ aspectRatio?: string | number;
14
+ defaultVolume?: number;
15
+ defaultPlaybackRate?: number;
16
+ }
17
+ /**
18
+ * Custom-controls video player. Click video to toggle play; controls
19
+ * auto-hide after 3s during playback; keyboard shortcuts (Space/F/M/C/←/→/↑/↓).
20
+ */
21
+ export declare const VideoPlayer: import("react").ForwardRefExoticComponent<VideoPlayerProps & import("react").RefAttributes<HTMLVideoElement>>;
22
+ //# sourceMappingURL=VideoPlayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/display/videoPlayer/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAef,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,UAAU,CAAC;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAcD;;;GAGG;AACH,eAAO,MAAM,WAAW,+GAoSvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { VideoPlayer, type VideoPlayerProps, type VideoTrack } from './VideoPlayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/videoPlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, Draw
7
7
  export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-25CGSOXZ.js';
8
8
  import './chunk-NTW7SDAP.js';
9
9
  export { BackToTopButton, Button, ButtonGroup, CopyButton, DisclosureButton, FAB, IconButton, Link, OverlayButton, SegmentedControl, SpeedDial, SpeedDialAction, SpeedDialTrigger, ToggleButton, ToggleButtonGroup, Toolbar, ToolbarButton, ToolbarLink, ToolbarSeparator, buttonVariants, fabVariants, iconButtonVariants, linkVariants, overlayButtonVariants, toggleButtonVariants } from './chunk-GRJBIGUD.js';
10
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataTable, DescriptionList, DiffViewer, EmptyState, Heading, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NotificationDot, Quote, SectionHeader, Separator, Snippet, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-ZP4CBWO2.js';
10
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NodeEditor, NotificationDot, PDFViewer, Quote, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-CBOC2DT2.js';
11
11
  export { Tag, tagVariants } from './chunk-ZCA365IX.js';
12
12
  export { Alert, AlertSimple, Banner, BannerSimple, Callout, InlineSpinner, LoadingOverlay, LoadingState, MeterBar, OnboardingChecklist, OnboardingChecklistTask, ProgressBar, ProgressCircle, ProgressSteps, Skeleton, StatusIndicator, Toast, ToastSimple, Toaster, Tour, TrendIndicator, UndoBar, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, toastSimpleVariants, toaster, useOnboardingChecklist, useToaster } from './chunk-45SFQEMP.js';
13
13
  export { Spinner, spinnerVariants } from './chunk-NKADHZMX.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wow-two-beta/ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "Beta-forever React UI library for the wow-two ecosystem.",
5
5
  "license": "MIT",
6
6
  "repository": {