@refraction-ui/react 0.22.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/dist/{chunk-V24GDHUX.js → chunk-4ACSHPCM.js} +2 -2
  2. package/dist/{chunk-SDAJVXD4.js → chunk-5P56PN3J.js} +2 -2
  3. package/dist/chunk-75BKRTPO.js +417 -0
  4. package/dist/{chunk-2Q6HHFAN.js.map → chunk-75BKRTPO.js.map} +1 -1
  5. package/dist/chunk-7P7EJ56S.js +7 -0
  6. package/dist/{chunk-QPCKJ2YR.js → chunk-GG6MZDGV.js} +2 -2
  7. package/dist/{chunk-QDMLIDYN.js → chunk-GU5MI7FX.js} +2 -2
  8. package/dist/{chunk-3Y2T26QD.js → chunk-JZQ5ZL46.js} +6 -4
  9. package/dist/{chunk-3Y2T26QD.js.map → chunk-JZQ5ZL46.js.map} +2 -2
  10. package/dist/{chunk-RSWOLRIC.js → chunk-KIZD73DK.js} +2 -2
  11. package/dist/{chunk-XMFNBOPO.js → chunk-PY2TIFCT.js} +2 -2
  12. package/dist/{chunk-XWP763SH.js → chunk-V727VZOE.js} +4 -2
  13. package/dist/{chunk-XWP763SH.js.map → chunk-V727VZOE.js.map} +2 -2
  14. package/dist/{chunk-3I3DYDHR.js → chunk-WNLYPQOS.js} +2 -2
  15. package/dist/{chunk-63N4PZUJ.js → chunk-X6HEKRWE.js} +2 -2
  16. package/dist/{chunk-WYKPPK3W.js → chunk-XAJDSVZR.js} +2 -2
  17. package/dist/faro-engine-VIUXJAPH-FSARIABU.js +3 -0
  18. package/dist/{faro-engine-47HGRAQH-JKINJPMH.js.map → faro-engine-VIUXJAPH-FSARIABU.js.map} +1 -1
  19. package/dist/index.cjs +736 -274
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +3 -0
  22. package/dist/index.d.ts +3 -0
  23. package/dist/index.js +3 -0
  24. package/dist/internal/avatar/index.d.cts +4 -1
  25. package/dist/internal/avatar/index.d.ts +4 -1
  26. package/dist/internal/data-table/index.d.cts +48 -3
  27. package/dist/internal/data-table/index.d.ts +48 -3
  28. package/dist/internal/line-chart/index.d.ts +17 -3
  29. package/dist/internal/native-select/index.d.ts +21 -0
  30. package/dist/internal/react-avatar/index.d.cts +4 -2
  31. package/dist/internal/react-avatar/index.d.ts +4 -2
  32. package/dist/internal/react-command/index.d.cts +13 -2
  33. package/dist/internal/react-command/index.d.ts +13 -2
  34. package/dist/internal/react-data-table/index.d.cts +27 -9
  35. package/dist/internal/react-data-table/index.d.ts +27 -9
  36. package/dist/internal/react-dialog/index.d.cts +5 -0
  37. package/dist/internal/react-dialog/index.d.ts +5 -0
  38. package/dist/internal/react-dropdown-menu/index.d.cts +19 -1
  39. package/dist/internal/react-dropdown-menu/index.d.ts +19 -1
  40. package/dist/internal/react-line-chart/index.d.ts +7 -2
  41. package/dist/internal/react-native-select/index.d.ts +19 -0
  42. package/dist/internal/react-stat-grid/index.d.ts +22 -11
  43. package/dist/internal/react-table/index.d.ts +39 -0
  44. package/dist/internal/stat-grid/index.d.ts +49 -7
  45. package/dist/internal/table/index.d.ts +46 -0
  46. package/dist/react-accordion.js +1 -1
  47. package/dist/react-action-list.js +1 -1
  48. package/dist/react-ai.js +1 -1
  49. package/dist/react-analytics.js +16 -4
  50. package/dist/react-analytics.js.map +2 -2
  51. package/dist/react-animated-text.js +1 -1
  52. package/dist/react-app-shell.js +1 -1
  53. package/dist/react-audience-feature-card.js +1 -1
  54. package/dist/react-audio-room.js +1 -1
  55. package/dist/react-auth.js +1 -1
  56. package/dist/react-avatar-group.js +1 -1
  57. package/dist/react-avatar.js +13 -9
  58. package/dist/react-avatar.js.map +2 -2
  59. package/dist/react-badge.js +1 -1
  60. package/dist/react-bottom-nav.js +1 -1
  61. package/dist/react-brand-network-cell.js +1 -1
  62. package/dist/react-breadcrumbs.js +1 -1
  63. package/dist/react-browser-chrome-mock.js +1 -1
  64. package/dist/react-button.js +3 -3
  65. package/dist/react-calendar.js +1 -1
  66. package/dist/react-call-controls.js +1 -1
  67. package/dist/react-callout.js +1 -1
  68. package/dist/react-card-grid.js +1 -1
  69. package/dist/react-card.js +1 -1
  70. package/dist/react-carousel.js +1 -1
  71. package/dist/react-charts.js +1 -1
  72. package/dist/react-checkbox.js +1 -1
  73. package/dist/react-checklist.js +1 -1
  74. package/dist/react-code-block.js +1 -1
  75. package/dist/react-code-editor.js +1 -1
  76. package/dist/react-collapsible.js +1 -1
  77. package/dist/react-combobox.js +1 -1
  78. package/dist/react-command-input.js +1 -1
  79. package/dist/react-command.js +115 -70
  80. package/dist/react-command.js.map +3 -3
  81. package/dist/react-composer.js +3 -3
  82. package/dist/react-content-protection.js +1 -1
  83. package/dist/react-conversation.js +5 -5
  84. package/dist/react-cookie-consent.js +1 -1
  85. package/dist/react-data-table.js +125 -114
  86. package/dist/react-data-table.js.map +2 -2
  87. package/dist/react-date-picker.js +1 -1
  88. package/dist/react-device-frame.js +1 -1
  89. package/dist/react-dialog.js +33 -9
  90. package/dist/react-dialog.js.map +2 -2
  91. package/dist/react-diff-viewer.js +1 -1
  92. package/dist/react-dropdown-menu.js +61 -8
  93. package/dist/react-dropdown-menu.js.map +3 -3
  94. package/dist/react-editor-status-bar.js +1 -1
  95. package/dist/react-editor-tabs.js +1 -1
  96. package/dist/react-emoji-picker.js +2 -2
  97. package/dist/react-empty-state.js +1 -1
  98. package/dist/react-feedback-dialog.js +2 -2
  99. package/dist/react-file-tree.js +1 -1
  100. package/dist/react-file-upload.js +1 -1
  101. package/dist/react-floating-reactions.js +1 -1
  102. package/dist/react-flow-editor.js +2 -2
  103. package/dist/react-footer.js +1 -1
  104. package/dist/react-funnel-chart.js +1 -1
  105. package/dist/react-graph-view.js +2 -2
  106. package/dist/react-infinite-canvas.js +2 -2
  107. package/dist/react-inline-editor.js +1 -1
  108. package/dist/react-input-group.js +1 -1
  109. package/dist/react-input.js +2 -2
  110. package/dist/react-install-prompt.js +1 -1
  111. package/dist/react-kanban-board.js +1 -1
  112. package/dist/react-keyboard-shortcut.js +2 -2
  113. package/dist/react-language-selector.js +1 -1
  114. package/dist/react-line-chart.js +49 -11
  115. package/dist/react-line-chart.js.map +2 -2
  116. package/dist/react-link-card.js +1 -1
  117. package/dist/react-live-captions.js +1 -1
  118. package/dist/react-live-cursors.js +1 -1
  119. package/dist/react-live-transcript.js +1 -1
  120. package/dist/react-location-selector.js +1 -1
  121. package/dist/react-logger.js +3 -3
  122. package/dist/react-markdown-renderer.js +2 -2
  123. package/dist/react-marquee-strip.js +1 -1
  124. package/dist/react-mascot.js +1 -1
  125. package/dist/react-mastery-bar.js +1 -1
  126. package/dist/react-mini-map.js +1 -1
  127. package/dist/react-mobile-nav.js +1 -1
  128. package/dist/react-native-select.js +52 -0
  129. package/dist/react-native-select.js.map +7 -0
  130. package/dist/react-navbar.js +1 -1
  131. package/dist/react-numbered-steps.js +1 -1
  132. package/dist/react-otp-input.js +1 -1
  133. package/dist/react-page-header.js +1 -1
  134. package/dist/react-pagination.js +1 -1
  135. package/dist/react-password-input.js +2 -2
  136. package/dist/react-payment.js +1 -1
  137. package/dist/react-popover.js +1 -1
  138. package/dist/react-pre-call-lobby.js +1 -1
  139. package/dist/react-presence-indicator.js +1 -1
  140. package/dist/react-pricing-card.js +1 -1
  141. package/dist/react-progress-display.js +1 -1
  142. package/dist/react-radial-gauge.js +1 -1
  143. package/dist/react-radio.js +1 -1
  144. package/dist/react-rating-scale.js +1 -1
  145. package/dist/react-reaction-bar.js +1 -1
  146. package/dist/react-resizable-layout.js +1 -1
  147. package/dist/react-search-bar.js +1 -1
  148. package/dist/react-section-head.js +1 -1
  149. package/dist/react-segmented-control.js +1 -1
  150. package/dist/react-select.js +1 -1
  151. package/dist/react-separator.js +1 -1
  152. package/dist/react-sheet.js +1 -1
  153. package/dist/react-sidebar.js +1 -1
  154. package/dist/react-skeleton.js +1 -1
  155. package/dist/react-skip-to-content.js +1 -1
  156. package/dist/react-slide-viewer.js +1 -1
  157. package/dist/react-slider.js +1 -1
  158. package/dist/react-slot-picker.js +1 -1
  159. package/dist/react-social-auth-button.js +3 -3
  160. package/dist/react-sortable-list.js +1 -1
  161. package/dist/react-stat-grid.js +91 -22
  162. package/dist/react-stat-grid.js.map +2 -2
  163. package/dist/react-status-indicator.js +1 -1
  164. package/dist/react-steps.js +1 -1
  165. package/dist/react-sticky-note.js +1 -1
  166. package/dist/react-switch.js +1 -1
  167. package/dist/react-table-of-contents.js +1 -1
  168. package/dist/react-table.js +148 -0
  169. package/dist/react-table.js.map +7 -0
  170. package/dist/react-tabs.js +35 -6
  171. package/dist/react-tabs.js.map +2 -2
  172. package/dist/react-terminal.js +1 -1
  173. package/dist/react-test-results.js +1 -1
  174. package/dist/react-textarea.js +1 -1
  175. package/dist/react-thread-view.js +2 -2
  176. package/dist/react-timeline.js +1 -1
  177. package/dist/react-toast.js +1 -1
  178. package/dist/react-tooltip.js +1 -1
  179. package/dist/react-version-selector.js +1 -1
  180. package/dist/react-video-grid.js +2 -2
  181. package/dist/react-video-player.js +1 -1
  182. package/dist/react-video-tile.js +2 -2
  183. package/dist/react-voice-pill.js +1 -1
  184. package/dist/react-waveform.js +1 -1
  185. package/dist/react-wizard.js +1 -1
  186. package/dist/shared.js +53 -0
  187. package/dist/shared.js.map +7 -0
  188. package/package.json +3 -1
  189. package/dist/chunk-2Q6HHFAN.js +0 -164
  190. package/dist/chunk-SDZ3LROZ.js +0 -7
  191. package/dist/faro-engine-47HGRAQH-JKINJPMH.js +0 -3
  192. /package/dist/{chunk-V24GDHUX.js.map → chunk-4ACSHPCM.js.map} +0 -0
  193. /package/dist/{chunk-SDAJVXD4.js.map → chunk-5P56PN3J.js.map} +0 -0
  194. /package/dist/{chunk-SDZ3LROZ.js.map → chunk-7P7EJ56S.js.map} +0 -0
  195. /package/dist/{chunk-QPCKJ2YR.js.map → chunk-GG6MZDGV.js.map} +0 -0
  196. /package/dist/{chunk-QDMLIDYN.js.map → chunk-GU5MI7FX.js.map} +0 -0
  197. /package/dist/{chunk-RSWOLRIC.js.map → chunk-KIZD73DK.js.map} +0 -0
  198. /package/dist/{chunk-XMFNBOPO.js.map → chunk-PY2TIFCT.js.map} +0 -0
  199. /package/dist/{chunk-3I3DYDHR.js.map → chunk-WNLYPQOS.js.map} +0 -0
  200. /package/dist/{chunk-63N4PZUJ.js.map → chunk-X6HEKRWE.js.map} +0 -0
  201. /package/dist/{chunk-WYKPPK3W.js.map → chunk-XAJDSVZR.js.map} +0 -0
@@ -1,28 +1,39 @@
1
1
  import * as React from 'react';
2
- export { StatItem, statColumns } from '../stat-grid/index.js';
2
+ import { StatTone, StatGridColumns, StatGridVariant, StatGridLayout } from '../stat-grid/index.js';
3
+ export { StatGridColumns, StatGridLayout, StatGridVariant, StatItem, StatTone, statColumns } from '../stat-grid/index.js';
3
4
 
4
5
  interface StatGridItem {
5
6
  /** The primary value displayed prominently. Allows rich content in React. */
6
7
  value: React.ReactNode;
7
- /** The descriptive label shown below the value. */
8
+ /** The descriptive label. */
8
9
  label: React.ReactNode;
10
+ /** Stable key; defaults to the index. */
11
+ id?: string;
12
+ /** Optional line explaining the figure (how it was computed, a delta). */
13
+ description?: React.ReactNode;
14
+ /** Colour of the value. Defaults to `default`. */
15
+ tone?: StatTone;
16
+ /** Extra attributes for this item's element (`data-*`, `aria-*`, `title`, className). */
17
+ props?: React.HTMLAttributes<HTMLDivElement>;
9
18
  }
10
19
  interface StatGridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'content'> {
11
20
  /** The stat items to display in the grid. */
12
21
  items: StatGridItem[];
13
22
  /**
14
- * Number of columns. Defaults to `statColumns(items.length)`:
15
- * 1 item → 1, 2 items → 2, 3+ items → 3.
23
+ * Maximum columns (reflows to fewer on narrow screens), or `auto` to fit as
24
+ * many ~12rem items as the width allows. Defaults to
25
+ * `statColumns(items.length)`: 1 → 1, 2 → 2, 3+ → 3.
16
26
  */
17
- columns?: number;
27
+ columns?: StatGridColumns;
28
+ /** `plain` marketing callouts (default) or bordered `card` KPIs. */
29
+ variant?: StatGridVariant;
30
+ /** `value-first` (default) or `label-first` (dashboard KPI order). */
31
+ layout?: StatGridLayout;
18
32
  }
19
33
  /**
20
- * StatGrid — a marketing-style grid of stat callouts.
21
- *
22
- * Each item shows a large bold value and a small muted label. The grid
23
- * automatically computes the column count from the number of items, or you can
24
- * override it with `columns`. Uses `role="list"` / `role="listitem"` for
25
- * accessible enumeration.
34
+ * StatGrid — a responsive grid of stats: marketing callouts (`plain`) or
35
+ * dashboard KPI cards (`card`), value- or label-first, with an optional
36
+ * description and a tone per item. Uses `role="list"` / `role="listitem"`.
26
37
  */
27
38
  declare const StatGrid: React.ForwardRefExoticComponent<StatGridProps & React.RefAttributes<HTMLDivElement>>;
28
39
 
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ import { TableDensity, TableHeadTone, TableAlign } from '../table/index.js';
3
+ export { TableAlign, TableDensity, TableHeadTone } from '../table/index.js';
4
+
5
+ interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
6
+ /** Cell padding for every cell. Defaults to `default`. */
7
+ density?: TableDensity;
8
+ /** Look of every header cell. Defaults to `default`. */
9
+ headTone?: TableHeadTone;
10
+ /** Fixed layout: column widths come from the header row. */
11
+ fixed?: boolean;
12
+ /** Class for the horizontal scroll container around the table. */
13
+ containerClassName?: string;
14
+ }
15
+ /**
16
+ * Table — composable, semantic table primitives for cells that hold
17
+ * components (badges, buttons, links). The parts map one-to-one to the HTML
18
+ * table elements. For a data-driven table with sorting/filtering use DataTable.
19
+ */
20
+ declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
21
+ declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
22
+ declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
23
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
24
+ interface TableHeadProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElement>, 'align'> {
25
+ /** Horizontal alignment. Defaults to `start`. */
26
+ align?: TableAlign;
27
+ }
28
+ /** Header cell. `scope` defaults to `col`. */
29
+ declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
30
+ interface TableCellProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'align'> {
31
+ /** Horizontal alignment. Defaults to `start`. */
32
+ align?: TableAlign;
33
+ /** Tabular figures, no wrapping — for numbers. */
34
+ numeric?: boolean;
35
+ }
36
+ declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
37
+ declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
38
+
39
+ export { Table, TableBody, TableCaption, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow };
@@ -1,9 +1,23 @@
1
+ /** Semantic colour of a stat's value. */
2
+ type StatTone = 'default' | 'positive' | 'negative' | 'caution';
3
+ /** `plain` = marketing callouts; `card` = bordered dashboard KPI cards. */
4
+ type StatGridVariant = 'plain' | 'card';
5
+ /** Whether the label sits under the value (callout) or above it (KPI). */
6
+ type StatGridLayout = 'value-first' | 'label-first';
7
+ /** Column count: a fixed maximum that reflows down on narrow screens, or `auto`. */
8
+ type StatGridColumns = 1 | 2 | 3 | 4 | 'auto';
1
9
  /** A single stat callout displayed in the grid. */
2
10
  type StatItem = {
3
11
  /** The primary value displayed prominently (e.g. "10k+", "$4.2M"). */
4
12
  value: string;
5
- /** The descriptive label shown below the value. */
13
+ /** The descriptive label. */
6
14
  label: string;
15
+ /** Stable key; defaults to the index. */
16
+ id?: string;
17
+ /** Optional line explaining the figure (how it was computed, a delta). */
18
+ description?: string;
19
+ /** Colour of the value. Defaults to `default`. */
20
+ tone?: StatTone;
7
21
  };
8
22
  interface StatGridAPI {
9
23
  /** ARIA attributes to spread on the grid container element (`role="list"`). */
@@ -20,7 +34,9 @@ interface StatGridAPI {
20
34
  * - 2 items → 2 columns
21
35
  * - 3 or more items → capped at `max` (default 3)
22
36
  */
23
- declare function statColumns(count: number, max?: number): number;
37
+ declare function statColumns(count: number, max?: number): 1 | 2 | 3 | 4;
38
+ /** The cva key for a column setting (clamped to the supported 1–4). */
39
+ declare function statColumnsKey(columns: StatGridColumns): '1' | '2' | '3' | '4' | 'auto';
24
40
  /**
25
41
  * Build the framework-agnostic container props for a stat grid.
26
42
  *
@@ -29,17 +45,43 @@ declare function statColumns(count: number, max?: number): number;
29
45
  */
30
46
  declare function createStatGrid(): StatGridAPI;
31
47
 
32
- /** Grid container that lays out stat items. */
48
+ /**
49
+ * Grid container. Column counts are responsive (one column on a phone, more
50
+ * as the width allows) — never a fixed inline template that cannot reflow.
51
+ * `auto` fits as many ~12rem items per row as the width allows.
52
+ */
33
53
  declare const statGridVariants: (props?: ({
34
- columns?: "1" | "2" | "3" | undefined;
54
+ columns?: "auto" | "1" | "2" | "3" | "4" | undefined;
55
+ variant?: "plain" | "card" | undefined;
35
56
  } & {
36
57
  className?: string;
37
58
  }) | undefined) => string;
38
59
  /** Individual stat item container (role="listitem"). */
60
+ declare const statItemVariants: (props?: ({
61
+ variant?: "plain" | "card" | undefined;
62
+ } & {
63
+ className?: string;
64
+ }) | undefined) => string;
65
+ /** @deprecated Use `statItemVariants()`; kept for existing imports. */
39
66
  declare const statItemClass = "flex flex-col";
40
- /** The large bold value of the stat. */
67
+ /** The value of a stat, by variant and tone. */
68
+ declare const statValueVariants: (props?: ({
69
+ variant?: "plain" | "card" | undefined;
70
+ tone?: "default" | "positive" | "negative" | "caution" | undefined;
71
+ } & {
72
+ className?: string;
73
+ }) | undefined) => string;
74
+ /** @deprecated Use `statValueVariants()`; kept for existing imports. */
41
75
  declare const statValueClass = "text-xl sm:text-2xl font-bold text-primary";
42
- /** The descriptive label below the value. */
76
+ /** The descriptive label. Above the value it reads as a small caption. */
77
+ declare const statLabelVariants: (props?: ({
78
+ layout?: "value-first" | "label-first" | undefined;
79
+ } & {
80
+ className?: string;
81
+ }) | undefined) => string;
82
+ /** @deprecated Use `statLabelVariants()`; kept for existing imports. */
43
83
  declare const statLabelClass = "mt-1 text-sm text-muted-foreground leading-snug";
84
+ /** Optional line under a stat explaining how it was computed. */
85
+ declare const statDescriptionClass = "text-xs leading-snug text-muted-foreground";
44
86
 
45
- export { type StatGridAPI, type StatItem, createStatGrid, statColumns, statGridVariants, statItemClass, statLabelClass, statValueClass };
87
+ export { type StatGridAPI, type StatGridColumns, type StatGridLayout, type StatGridVariant, type StatItem, type StatTone, createStatGrid, statColumns, statColumnsKey, statDescriptionClass, statGridVariants, statItemClass, statItemVariants, statLabelClass, statLabelVariants, statValueClass, statValueVariants };
@@ -0,0 +1,46 @@
1
+ /** Cell padding for every cell of a table. */
2
+ type TableDensity = 'compact' | 'default';
3
+ /** Horizontal alignment of a header or data cell (logical, RTL-safe). */
4
+ type TableAlign = 'start' | 'center' | 'end';
5
+ /** Look of header cells: `eyebrow` is small uppercase tracked text. */
6
+ type TableHeadTone = 'default' | 'eyebrow';
7
+ interface TableAPI {
8
+ /** Data attributes for styling hooks. */
9
+ dataAttributes: Record<string, string>;
10
+ }
11
+ /** Framework-agnostic data attributes for the table root. */
12
+ declare function createTable(props?: {
13
+ density?: TableDensity;
14
+ headTone?: TableHeadTone;
15
+ }): TableAPI;
16
+
17
+ /** Scroll container: a wide table scrolls inside it instead of the page. */
18
+ declare const tableContainerClass = "relative w-full overflow-x-auto";
19
+ /** The `<table>`. `fixed` pins column widths to the header row. */
20
+ declare const tableRootVariants: (props?: ({
21
+ fixed?: "true" | "false" | undefined;
22
+ } & {
23
+ className?: string;
24
+ }) | undefined) => string;
25
+ /** Caption under the table. */
26
+ declare const tableCaptionClass = "mt-2 text-xs text-muted-foreground";
27
+ /** Body rows: a hairline between rows, none after the last. */
28
+ declare const tableRowClass = "border-b border-border-subtle last:border-b-0";
29
+ /** Header cell: subtle surface, rule under it. */
30
+ declare const tableHeadVariants: (props?: ({
31
+ align?: "start" | "center" | "end" | undefined;
32
+ tone?: "default" | "eyebrow" | undefined;
33
+ density?: "compact" | "default" | undefined;
34
+ } & {
35
+ className?: string;
36
+ }) | undefined) => string;
37
+ /** Data cell. */
38
+ declare const tableCellVariants: (props?: ({
39
+ align?: "start" | "center" | "end" | undefined;
40
+ density?: "compact" | "default" | undefined;
41
+ numeric?: "true" | "false" | undefined;
42
+ } & {
43
+ className?: string;
44
+ }) | undefined) => string;
45
+
46
+ export { type TableAPI, type TableAlign, type TableDensity, type TableHeadTone, createTable, tableCaptionClass, tableCellVariants, tableContainerClass, tableHeadVariants, tableRootVariants, tableRowClass };
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  cn,
7
7
  devWarn
8
- } from "./chunk-2Q6HHFAN.js";
8
+ } from "./chunk-75BKRTPO.js";
9
9
 
10
10
  // ../react-accordion/dist/index.js
11
11
  import * as React from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  cn,
3
3
  cva
4
- } from "./chunk-2Q6HHFAN.js";
4
+ } from "./chunk-75BKRTPO.js";
5
5
 
6
6
  // ../react-action-list/dist/index.js
7
7
  import * as React from "react";
package/dist/react-ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  devWarn
3
- } from "./chunk-2Q6HHFAN.js";
3
+ } from "./chunk-75BKRTPO.js";
4
4
 
5
5
  // ../react-ai/dist/index.js
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  devWarn
3
- } from "./chunk-2Q6HHFAN.js";
3
+ } from "./chunk-75BKRTPO.js";
4
4
 
5
5
  // ../react-analytics/dist/index.js
6
6
  import * as React from "react";
@@ -1144,7 +1144,11 @@ function createClientSdkSink(opts) {
1144
1144
  });
1145
1145
  return instance;
1146
1146
  }
1147
- const mod = await import(appInsightsWebSpecifier);
1147
+ const mod = await import(
1148
+ /* webpackIgnore: true */
1149
+ /* @vite-ignore */
1150
+ appInsightsWebSpecifier
1151
+ );
1148
1152
  const ai = new mod.ApplicationInsights({
1149
1153
  config: {
1150
1154
  connectionString: opts.connectionString,
@@ -1495,7 +1499,11 @@ function createPostHogHttpSink(options) {
1495
1499
  }
1496
1500
  var posthogJsSpecifier = "posthog-js";
1497
1501
  async function defaultLoad() {
1498
- const mod = await import(posthogJsSpecifier);
1502
+ const mod = await import(
1503
+ /* webpackIgnore: true */
1504
+ /* @vite-ignore */
1505
+ posthogJsSpecifier
1506
+ );
1499
1507
  return "default" in mod ? mod.default : mod;
1500
1508
  }
1501
1509
  function createPostHogClientSdkSink(options) {
@@ -1587,7 +1595,11 @@ function createPostHogSink(options) {
1587
1595
  // ../analytics-sink-posthog/dist/replay.js
1588
1596
  var posthogJsSpecifier2 = "posthog-js";
1589
1597
  async function defaultLoad2() {
1590
- const mod = await import(posthogJsSpecifier2);
1598
+ const mod = await import(
1599
+ /* webpackIgnore: true */
1600
+ /* @vite-ignore */
1601
+ posthogJsSpecifier2
1602
+ );
1591
1603
  return "default" in mod ? mod.default : mod;
1592
1604
  }
1593
1605
  async function startSessionReplay(options) {