@lglab/compose-ui 0.30.4 → 0.32.0

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 (93) hide show
  1. package/dist/accordion.d.ts +6 -6
  2. package/dist/accordion.d.ts.map +1 -1
  3. package/dist/alert-dialog.d.ts +10 -10
  4. package/dist/alert-dialog.d.ts.map +1 -1
  5. package/dist/autocomplete.d.ts +13 -13
  6. package/dist/autocomplete.d.ts.map +1 -1
  7. package/dist/avatar.d.ts +5 -5
  8. package/dist/avatar.d.ts.map +1 -1
  9. package/dist/badge.d.ts +4 -4
  10. package/dist/badge.d.ts.map +1 -1
  11. package/dist/button.d.ts +2 -2
  12. package/dist/button.d.ts.map +1 -1
  13. package/dist/card.d.ts +8 -8
  14. package/dist/card.d.ts.map +1 -1
  15. package/dist/chart/index.d.ts +6 -0
  16. package/dist/chart/index.js +6 -0
  17. package/dist/checkbox-group.d.ts +2 -2
  18. package/dist/checkbox-group.d.ts.map +1 -1
  19. package/dist/checkbox.d.ts +3 -3
  20. package/dist/checkbox.d.ts.map +1 -1
  21. package/dist/collapsible.d.ts +4 -4
  22. package/dist/collapsible.d.ts.map +1 -1
  23. package/dist/combobox.d.ts +25 -25
  24. package/dist/combobox.d.ts.map +1 -1
  25. package/dist/components/chart/context.d.ts +21 -0
  26. package/dist/components/chart/context.d.ts.map +1 -0
  27. package/dist/components/chart/context.js +33 -0
  28. package/dist/components/chart/context.js.map +1 -0
  29. package/dist/components/chart/legend.d.ts +25 -0
  30. package/dist/components/chart/legend.d.ts.map +1 -0
  31. package/dist/components/chart/legend.js +37 -0
  32. package/dist/components/chart/legend.js.map +1 -0
  33. package/dist/components/chart/tooltip.d.ts +58 -0
  34. package/dist/components/chart/tooltip.d.ts.map +1 -0
  35. package/dist/components/chart/tooltip.js +55 -0
  36. package/dist/components/chart/tooltip.js.map +1 -0
  37. package/dist/components/chart/types.d.ts +15 -0
  38. package/dist/components/chart/types.d.ts.map +1 -0
  39. package/dist/components/chart/use-chart-context.d.ts +11 -0
  40. package/dist/components/chart/use-chart-context.d.ts.map +1 -0
  41. package/dist/components/chart/use-chart-context.js +15 -0
  42. package/dist/components/chart/use-chart-context.js.map +1 -0
  43. package/dist/components/table/primitives.d.ts +9 -9
  44. package/dist/context-menu.d.ts +20 -20
  45. package/dist/dialog.d.ts +11 -11
  46. package/dist/dialog.d.ts.map +1 -1
  47. package/dist/drawer.d.ts +12 -12
  48. package/dist/drawer.d.ts.map +1 -1
  49. package/dist/field.d.ts +8 -8
  50. package/dist/field.d.ts.map +1 -1
  51. package/dist/fieldset.d.ts +3 -3
  52. package/dist/fieldset.d.ts.map +1 -1
  53. package/dist/form.d.ts +2 -2
  54. package/dist/group.d.ts +36 -0
  55. package/dist/group.d.ts.map +1 -0
  56. package/dist/group.js +72 -0
  57. package/dist/group.js.map +1 -0
  58. package/dist/index.d.ts +7 -1
  59. package/dist/index.js +6 -1
  60. package/dist/input.d.ts +2 -2
  61. package/dist/menu.d.ts +20 -20
  62. package/dist/menubar.d.ts +21 -21
  63. package/dist/menubar.d.ts.map +1 -1
  64. package/dist/meter.d.ts +6 -6
  65. package/dist/navigation-menu.d.ts +14 -14
  66. package/dist/number-field.d.ts +8 -8
  67. package/dist/number-field.d.ts.map +1 -1
  68. package/dist/pagination.d.ts +10 -10
  69. package/dist/popover.d.ts +12 -12
  70. package/dist/preview-card.d.ts +8 -8
  71. package/dist/progress.d.ts +6 -6
  72. package/dist/radio-group.d.ts +2 -2
  73. package/dist/radio-group.d.ts.map +1 -1
  74. package/dist/radio.d.ts +3 -3
  75. package/dist/scroll-area.d.ts +7 -7
  76. package/dist/scroll-area.d.ts.map +1 -1
  77. package/dist/select.d.ts +19 -19
  78. package/dist/separator.d.ts +2 -2
  79. package/dist/separator.d.ts.map +1 -1
  80. package/dist/skeleton.d.ts +2 -2
  81. package/dist/skeleton.d.ts.map +1 -1
  82. package/dist/slider.d.ts +7 -7
  83. package/dist/slider.d.ts.map +1 -1
  84. package/dist/switch.d.ts +3 -3
  85. package/dist/switch.d.ts.map +1 -1
  86. package/dist/tabs.d.ts +6 -6
  87. package/dist/textarea.d.ts +2 -2
  88. package/dist/toast.d.ts +10 -10
  89. package/dist/toggle-group.d.ts +3 -3
  90. package/dist/toggle.d.ts +2 -2
  91. package/dist/toolbar.d.ts +7 -7
  92. package/dist/tooltip.d.ts +8 -8
  93. package/package.json +13 -3
@@ -1,17 +1,17 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime193 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime71 from "react/jsx-runtime";
3
3
  import { Combobox as BaseCombobox, ComboboxRootProps as ComboboxRootProps$1 } from "@base-ui/react/combobox";
4
4
  import * as _base_ui_react0 from "@base-ui/react";
5
5
 
6
6
  //#region src/components/combobox.d.ts
7
- declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false>(props: ComboboxRootProps$1<Value, Multiple>): react_jsx_runtime193.JSX.Element;
7
+ declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false>(props: ComboboxRootProps$1<Value, Multiple>): react_jsx_runtime71.JSX.Element;
8
8
  declare namespace ComboboxRoot {
9
9
  var displayName: string;
10
10
  }
11
11
  type ComboboxRootProps<Value, Multiple extends boolean | undefined = false> = ComboboxRootProps$1<Value, Multiple>;
12
12
  type ComboboxValueProps = React.ComponentProps<typeof BaseCombobox.Value>;
13
13
  declare const ComboboxValue: {
14
- (props: ComboboxValueProps): react_jsx_runtime193.JSX.Element;
14
+ (props: ComboboxValueProps): react_jsx_runtime71.JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  type ComboboxIconProps = React.ComponentProps<typeof BaseCombobox.Icon>;
@@ -19,7 +19,7 @@ declare const ComboboxIcon: {
19
19
  ({
20
20
  className,
21
21
  ...props
22
- }: ComboboxIconProps): react_jsx_runtime193.JSX.Element;
22
+ }: ComboboxIconProps): react_jsx_runtime71.JSX.Element;
23
23
  displayName: string;
24
24
  };
25
25
  type ComboboxInputProps = React.ComponentProps<typeof BaseCombobox.Input>;
@@ -27,7 +27,7 @@ declare const ComboboxInput: {
27
27
  ({
28
28
  className,
29
29
  ...props
30
- }: ComboboxInputProps): react_jsx_runtime193.JSX.Element;
30
+ }: ComboboxInputProps): react_jsx_runtime71.JSX.Element;
31
31
  displayName: string;
32
32
  };
33
33
  type ComboboxControlProps = React.ComponentProps<'div'>;
@@ -35,7 +35,7 @@ declare const ComboboxControl: {
35
35
  ({
36
36
  className,
37
37
  ...props
38
- }: ComboboxControlProps): react_jsx_runtime193.JSX.Element;
38
+ }: ComboboxControlProps): react_jsx_runtime71.JSX.Element;
39
39
  displayName: string;
40
40
  };
41
41
  type ComboboxClearProps = React.ComponentProps<typeof BaseCombobox.Clear>;
@@ -43,7 +43,7 @@ declare const ComboboxClear: {
43
43
  ({
44
44
  className,
45
45
  ...props
46
- }: ComboboxClearProps): react_jsx_runtime193.JSX.Element;
46
+ }: ComboboxClearProps): react_jsx_runtime71.JSX.Element;
47
47
  displayName: string;
48
48
  };
49
49
  type ComboboxTriggerProps = React.ComponentProps<typeof BaseCombobox.Trigger>;
@@ -51,7 +51,7 @@ declare const ComboboxTrigger: {
51
51
  ({
52
52
  className,
53
53
  ...props
54
- }: ComboboxTriggerProps): react_jsx_runtime193.JSX.Element;
54
+ }: ComboboxTriggerProps): react_jsx_runtime71.JSX.Element;
55
55
  displayName: string;
56
56
  };
57
57
  type ComboboxBackdropProps = React.ComponentProps<typeof BaseCombobox.Backdrop>;
@@ -59,12 +59,12 @@ declare const ComboboxBackdrop: {
59
59
  ({
60
60
  className,
61
61
  ...props
62
- }: ComboboxBackdropProps): react_jsx_runtime193.JSX.Element;
62
+ }: ComboboxBackdropProps): react_jsx_runtime71.JSX.Element;
63
63
  displayName: string;
64
64
  };
65
65
  type ComboboxPortalProps = React.ComponentProps<typeof BaseCombobox.Portal>;
66
66
  declare const ComboboxPortal: {
67
- (props: ComboboxPortalProps): react_jsx_runtime193.JSX.Element;
67
+ (props: ComboboxPortalProps): react_jsx_runtime71.JSX.Element;
68
68
  displayName: string;
69
69
  };
70
70
  type ComboboxPositionerProps = React.ComponentProps<typeof BaseCombobox.Positioner>;
@@ -72,7 +72,7 @@ declare const ComboboxPositioner: {
72
72
  ({
73
73
  className,
74
74
  ...props
75
- }: ComboboxPositionerProps): react_jsx_runtime193.JSX.Element;
75
+ }: ComboboxPositionerProps): react_jsx_runtime71.JSX.Element;
76
76
  displayName: string;
77
77
  };
78
78
  type ComboboxPopupProps = React.ComponentProps<typeof BaseCombobox.Popup>;
@@ -80,7 +80,7 @@ declare const ComboboxPopup: {
80
80
  ({
81
81
  className,
82
82
  ...props
83
- }: ComboboxPopupProps): react_jsx_runtime193.JSX.Element;
83
+ }: ComboboxPopupProps): react_jsx_runtime71.JSX.Element;
84
84
  displayName: string;
85
85
  };
86
86
  type ComboboxListProps = React.ComponentProps<typeof BaseCombobox.List>;
@@ -88,7 +88,7 @@ declare const ComboboxList: {
88
88
  ({
89
89
  className,
90
90
  ...props
91
- }: ComboboxListProps): react_jsx_runtime193.JSX.Element;
91
+ }: ComboboxListProps): react_jsx_runtime71.JSX.Element;
92
92
  displayName: string;
93
93
  };
94
94
  type ComboboxEmptyProps = React.ComponentProps<typeof BaseCombobox.Empty>;
@@ -96,7 +96,7 @@ declare const ComboboxEmpty: {
96
96
  ({
97
97
  className,
98
98
  ...props
99
- }: ComboboxEmptyProps): react_jsx_runtime193.JSX.Element;
99
+ }: ComboboxEmptyProps): react_jsx_runtime71.JSX.Element;
100
100
  displayName: string;
101
101
  };
102
102
  type ComboboxItemProps = React.ComponentProps<typeof BaseCombobox.Item>;
@@ -104,7 +104,7 @@ declare const ComboboxItem: {
104
104
  ({
105
105
  className,
106
106
  ...props
107
- }: ComboboxItemProps): react_jsx_runtime193.JSX.Element;
107
+ }: ComboboxItemProps): react_jsx_runtime71.JSX.Element;
108
108
  displayName: string;
109
109
  };
110
110
  type ComboboxItemTextProps = React.ComponentProps<'span'>;
@@ -112,7 +112,7 @@ declare const ComboboxItemText: {
112
112
  ({
113
113
  className,
114
114
  ...props
115
- }: ComboboxItemTextProps): react_jsx_runtime193.JSX.Element;
115
+ }: ComboboxItemTextProps): react_jsx_runtime71.JSX.Element;
116
116
  displayName: string;
117
117
  };
118
118
  type ComboboxItemIndicatorProps = React.ComponentProps<typeof BaseCombobox.ItemIndicator>;
@@ -120,7 +120,7 @@ declare const ComboboxItemIndicator: {
120
120
  ({
121
121
  className,
122
122
  ...props
123
- }: ComboboxItemIndicatorProps): react_jsx_runtime193.JSX.Element;
123
+ }: ComboboxItemIndicatorProps): react_jsx_runtime71.JSX.Element;
124
124
  displayName: string;
125
125
  };
126
126
  type ComboboxGroupProps = React.ComponentProps<typeof BaseCombobox.Group>;
@@ -128,7 +128,7 @@ declare const ComboboxGroup: {
128
128
  ({
129
129
  className,
130
130
  ...props
131
- }: ComboboxGroupProps): react_jsx_runtime193.JSX.Element;
131
+ }: ComboboxGroupProps): react_jsx_runtime71.JSX.Element;
132
132
  displayName: string;
133
133
  };
134
134
  type ComboboxGroupLabelProps = React.ComponentProps<typeof BaseCombobox.GroupLabel>;
@@ -136,12 +136,12 @@ declare const ComboboxGroupLabel: {
136
136
  ({
137
137
  className,
138
138
  ...props
139
- }: ComboboxGroupLabelProps): react_jsx_runtime193.JSX.Element;
139
+ }: ComboboxGroupLabelProps): react_jsx_runtime71.JSX.Element;
140
140
  displayName: string;
141
141
  };
142
142
  type ComboboxCollectionProps = React.ComponentProps<typeof BaseCombobox.Collection>;
143
143
  declare const ComboboxCollection: {
144
- (props: ComboboxCollectionProps): react_jsx_runtime193.JSX.Element;
144
+ (props: ComboboxCollectionProps): react_jsx_runtime71.JSX.Element;
145
145
  displayName: string;
146
146
  };
147
147
  type ComboboxSeparatorProps = React.ComponentProps<typeof BaseCombobox.Separator>;
@@ -149,7 +149,7 @@ declare const ComboboxSeparator: {
149
149
  ({
150
150
  className,
151
151
  ...props
152
- }: ComboboxSeparatorProps): react_jsx_runtime193.JSX.Element;
152
+ }: ComboboxSeparatorProps): react_jsx_runtime71.JSX.Element;
153
153
  displayName: string;
154
154
  };
155
155
  type ComboboxStatusProps = React.ComponentProps<typeof BaseCombobox.Status>;
@@ -157,7 +157,7 @@ declare const ComboboxStatus: {
157
157
  ({
158
158
  className,
159
159
  ...props
160
- }: ComboboxStatusProps): react_jsx_runtime193.JSX.Element;
160
+ }: ComboboxStatusProps): react_jsx_runtime71.JSX.Element;
161
161
  displayName: string;
162
162
  };
163
163
  type ComboboxChipsProps = React.ComponentProps<typeof BaseCombobox.Chips>;
@@ -167,7 +167,7 @@ declare const ComboboxChip: {
167
167
  ({
168
168
  className,
169
169
  ...props
170
- }: ComboboxChipProps): react_jsx_runtime193.JSX.Element;
170
+ }: ComboboxChipProps): react_jsx_runtime71.JSX.Element;
171
171
  displayName: string;
172
172
  };
173
173
  type ComboboxChipRemoveProps = React.ComponentProps<typeof BaseCombobox.ChipRemove>;
@@ -175,7 +175,7 @@ declare const ComboboxChipRemove: {
175
175
  ({
176
176
  className,
177
177
  ...props
178
- }: ComboboxChipRemoveProps): react_jsx_runtime193.JSX.Element;
178
+ }: ComboboxChipRemoveProps): react_jsx_runtime71.JSX.Element;
179
179
  displayName: string;
180
180
  };
181
181
  type ComboboxArrowProps = React.ComponentProps<typeof BaseCombobox.Arrow>;
@@ -183,7 +183,7 @@ declare const ComboboxArrow: {
183
183
  ({
184
184
  className,
185
185
  ...props
186
- }: ComboboxArrowProps): react_jsx_runtime193.JSX.Element;
186
+ }: ComboboxArrowProps): react_jsx_runtime71.JSX.Element;
187
187
  displayName: string;
188
188
  };
189
189
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","names":[],"sources":["../src/components/combobox.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAeS,yEACA,oBAAsB,OAAO,YAAS,oBAAA,CAAA,GAAA,CAAA;kBADtC,YAAA;;;AATqB,KAezB,iBANgB,CAAA,KAAA,EAAA,iBAAA,OAAA,GAAA,SAAA,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AxO6B,CAAA,EAwOZ,mBAAA,CAAA,GAAA,CAAA,OAxOY;EAAA,WAAA,EAAA,MAAA;AAAA,CAAA;KA4PvE,uBAAA,GAA0B,KAAA,CAAM,cA5Od,CAAA,OA4OoC,YAAA,CAAa,UA5OjD,CAAA;cA8OjB,kBA9O6D,EAAA;;IAAzC,SAAM;IAAA,GAAA;EAAA,CAAA,EA8OqB,uBA9OrB,CAAA,EA8O4C,mBAAA,CAAA,GAAA,CAAA,OA9O5C;EAAc,WAAA,EAAA,MAAA;AAAA,CAAA;KAgQzC,kBAAA,GAAqB,KAAA,CAAM,cAjP/B,CAAA,OAiPqD,YAAA,CAAa,KAjPlE,CAAA;cAmPK;;IAhQ0C,SAAA;IAAA,GAAA;EAAA,CAAA,EAgQA,kBAhQA,CAAA,EAgQkB,mBAAA,CAAA,GAAA,CAAA,OAhQlB;aAAkB,EAAA,MAAA;CAAA"}
@@ -0,0 +1,21 @@
1
+ import { ChartConfig } from "./types.js";
2
+ import * as React from "react";
3
+ import * as react_jsx_runtime288 from "react/jsx-runtime";
4
+
5
+ //#region src/components/chart/context.d.ts
6
+ type ChartRootProps = React.ComponentProps<'div'> & {
7
+ config: ChartConfig;
8
+ };
9
+ declare function ChartRoot({
10
+ config,
11
+ className,
12
+ children,
13
+ style,
14
+ ...props
15
+ }: ChartRootProps): react_jsx_runtime288.JSX.Element;
16
+ declare namespace ChartRoot {
17
+ var displayName: string;
18
+ }
19
+ //#endregion
20
+ export { ChartRoot, type ChartRootProps };
21
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","names":[],"sources":["../../../src/components/chart/context.tsx"],"sourcesContent":[],"mappings":";;;;;KASK,cAAA,GAAiB,KAAA,CAAM;UAClB;;AAJgC,iBAOjC,SAAA,CAJU;EAAA,MAAA;EAAA,SAAA;EAAA,QAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAIkD,cAJlD,CAAA,EAIgE,oBAAA,CAAA,GAAA,CAAA,OAJhE;kBAIV,SAAA,CAJU;MAAG,WAAM,EAAA,MAAA"}
@@ -0,0 +1,33 @@
1
+ 'use client';
2
+
3
+ import { cn } from "../../lib/utils.js";
4
+ import { ChartContext } from "./use-chart-context.js";
5
+ import * as React from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ import { ResponsiveContainer } from "recharts";
8
+
9
+ //#region src/components/chart/context.tsx
10
+ function ChartRoot({ config, className, children, style, ...props }) {
11
+ const cssVariables = React.useMemo(() => {
12
+ const vars = {};
13
+ for (const [key, value] of Object.entries(config)) vars[`--color-${key}`] = value.color;
14
+ return vars;
15
+ }, [config]);
16
+ return /* @__PURE__ */ jsx(ChartContext.Provider, {
17
+ value: { config },
18
+ children: /* @__PURE__ */ jsx("div", {
19
+ className: cn("[&_.recharts-cartesian-axis-tick-value]:fill-muted-foreground [&_.recharts-cartesian-axis-tick-value]:text-xs [&_.recharts-cartesian-axis-line[stroke=\"#666\"]]:stroke-border [&_.recharts-cartesian-axis-tick-line[stroke=\"#666\"]]:stroke-border [&_.recharts-cartesian-grid_line[stroke=\"#ccc\"]]:stroke-border [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke=\"#ccc\"]]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke=\"#ccc\"]]:stroke-border [&_.recharts-sector[stroke=\"#fff\"]]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none", className),
20
+ style: {
21
+ ...cssVariables,
22
+ ...style
23
+ },
24
+ ...props,
25
+ children: /* @__PURE__ */ jsx(ResponsiveContainer, { children })
26
+ })
27
+ });
28
+ }
29
+ ChartRoot.displayName = "ChartRoot";
30
+
31
+ //#endregion
32
+ export { ChartRoot };
33
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/chart/context.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport { ResponsiveContainer } from 'recharts'\n\nimport { cn } from '../../lib/utils'\nimport type { ChartConfig } from './types'\nimport { ChartContext } from './use-chart-context'\n\ntype ChartRootProps = React.ComponentProps<'div'> & {\n config: ChartConfig\n}\n\nfunction ChartRoot({ config, className, children, style, ...props }: ChartRootProps) {\n const cssVariables = React.useMemo(() => {\n const vars: Record<string, string> = {}\n for (const [key, value] of Object.entries(config)) {\n vars[`--color-${key}`] = value.color\n }\n return vars\n }, [config])\n\n return (\n <ChartContext.Provider value={{ config }}>\n <div\n className={cn(\n '[&_.recharts-cartesian-axis-tick-value]:fill-muted-foreground [&_.recharts-cartesian-axis-tick-value]:text-xs [&_.recharts-cartesian-axis-line[stroke=\"#666\"]]:stroke-border [&_.recharts-cartesian-axis-tick-line[stroke=\"#666\"]]:stroke-border [&_.recharts-cartesian-grid_line[stroke=\"#ccc\"]]:stroke-border [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke=\"#ccc\"]]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke=\"#ccc\"]]:stroke-border [&_.recharts-sector[stroke=\"#fff\"]]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none',\n className,\n )}\n style={{ ...cssVariables, ...style }}\n {...props}\n >\n <ResponsiveContainer>{children}</ResponsiveContainer>\n </div>\n </ChartContext.Provider>\n )\n}\n\nChartRoot.displayName = 'ChartRoot'\n\nexport { ChartRoot }\nexport type { ChartRootProps }\n"],"mappings":";;;;;;;;;AAaA,SAAS,UAAU,EAAE,QAAQ,WAAW,UAAU,OAAO,GAAG,SAAyB;CACnF,MAAM,eAAe,MAAM,cAAc;EACvC,MAAM,OAA+B,EAAE;AACvC,OAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,OAAO,CAC/C,MAAK,WAAW,SAAS,MAAM;AAEjC,SAAO;IACN,CAAC,OAAO,CAAC;AAEZ,QACE,oBAAC,aAAa;EAAS,OAAO,EAAE,QAAQ;YACtC,oBAAC;GACC,WAAW,GACT,wtBACA,UACD;GACD,OAAO;IAAE,GAAG;IAAc,GAAG;IAAO;GACpC,GAAI;aAEJ,oBAAC,uBAAqB,WAA+B;IACjD;GACgB;;AAI5B,UAAU,cAAc"}
@@ -0,0 +1,25 @@
1
+ import * as react_jsx_runtime287 from "react/jsx-runtime";
2
+
3
+ //#region src/components/chart/legend.d.ts
4
+ type ChartLegendContentProps = {
5
+ payload?: Array<{
6
+ value?: string;
7
+ dataKey?: string;
8
+ color?: string;
9
+ }>;
10
+ className?: string;
11
+ nameKey?: string;
12
+ verticalAlign?: 'top' | 'bottom';
13
+ };
14
+ declare function ChartLegendContent({
15
+ payload,
16
+ className,
17
+ nameKey,
18
+ verticalAlign
19
+ }: ChartLegendContentProps): react_jsx_runtime287.JSX.Element | null;
20
+ declare namespace ChartLegendContent {
21
+ var displayName: string;
22
+ }
23
+ //#endregion
24
+ export { ChartLegendContent, type ChartLegendContentProps };
25
+ //# sourceMappingURL=legend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legend.d.ts","names":[],"sources":["../../../src/components/chart/legend.tsx"],"sourcesContent":[],"mappings":";;;KAOK,uBAAA;YACO;;IADP,OAAA,CAAA,EAAA,MAAA;IAWI,KAAA,CAAA,EAAA,MAAA;EAAkB,CAAA,CAAA;WACzB,CAAA,EAAA,MAAA;SACA,CAAA,EAAA,MAAA;eACA,CAAA,EAAA,KAAA,GAAA,QAAA;;iBAHO,kBAAA,CAKN;EAAA,OAAA;EAAA,SAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAAA,uBAAA,CAAA,EAAuB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAvB,IAAA;kBALM,kBAAA,CAKiB;EAAA,IAAA,WAAA,EAAA,MAAA;AAAA"}
@@ -0,0 +1,37 @@
1
+ 'use client';
2
+
3
+ import { cn } from "../../lib/utils.js";
4
+ import { useChartContext } from "./use-chart-context.js";
5
+ import "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+
8
+ //#region src/components/chart/legend.tsx
9
+ function ChartLegendContent({ payload, className, nameKey, verticalAlign }) {
10
+ const { config } = useChartContext();
11
+ if (!payload?.length) return null;
12
+ return /* @__PURE__ */ jsx("div", {
13
+ className: cn("flex flex-wrap items-center justify-center gap-4", verticalAlign === "top" ? "pb-2" : "pt-0", className),
14
+ children: payload.map((entry) => {
15
+ const dataKey = String(entry.dataKey ?? entry.value ?? "");
16
+ const configEntry = config[dataKey];
17
+ const displayName = nameKey ? entry.value : configEntry?.label ?? dataKey;
18
+ const color = entry.color ?? configEntry?.color;
19
+ const Icon = configEntry?.icon;
20
+ return /* @__PURE__ */ jsxs("div", {
21
+ className: "flex items-center gap-1.5",
22
+ children: [Icon ? /* @__PURE__ */ jsx(Icon, { className: "size-4" }) : /* @__PURE__ */ jsx("span", {
23
+ className: "size-2.5 shrink-0 rounded-full",
24
+ style: { backgroundColor: color }
25
+ }), /* @__PURE__ */ jsx("span", {
26
+ className: "text-xs font-medium",
27
+ children: displayName
28
+ })]
29
+ }, dataKey);
30
+ })
31
+ });
32
+ }
33
+ ChartLegendContent.displayName = "ChartLegendContent";
34
+
35
+ //#endregion
36
+ export { ChartLegendContent };
37
+ //# sourceMappingURL=legend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legend.js","names":[],"sources":["../../../src/components/chart/legend.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport { cn } from '../../lib/utils'\nimport { useChartContext } from './use-chart-context'\n\ntype ChartLegendContentProps = {\n payload?: Array<{\n value?: string\n dataKey?: string\n color?: string\n }>\n className?: string\n nameKey?: string\n verticalAlign?: 'top' | 'bottom'\n}\n\nfunction ChartLegendContent({\n payload,\n className,\n nameKey,\n verticalAlign,\n}: ChartLegendContentProps) {\n const { config } = useChartContext()\n\n if (!payload?.length) {\n return null\n }\n\n return (\n <div\n className={cn(\n 'flex flex-wrap items-center justify-center gap-4',\n verticalAlign === 'top' ? 'pb-2' : 'pt-0',\n className,\n )}\n >\n {payload.map((entry) => {\n const dataKey = String(entry.dataKey ?? entry.value ?? '')\n const configEntry = config[dataKey]\n const displayName = nameKey ? entry.value : (configEntry?.label ?? dataKey)\n const color = entry.color ?? configEntry?.color\n const Icon = configEntry?.icon\n\n return (\n <div key={dataKey} className='flex items-center gap-1.5'>\n {Icon ? (\n <Icon className='size-4' />\n ) : (\n <span\n className='size-2.5 shrink-0 rounded-full'\n style={{ backgroundColor: color }}\n />\n )}\n <span className='text-xs font-medium'>{displayName}</span>\n </div>\n )\n })}\n </div>\n )\n}\n\nChartLegendContent.displayName = 'ChartLegendContent'\n\nexport { ChartLegendContent }\nexport type { ChartLegendContentProps }\n"],"mappings":";;;;;;;;AAkBA,SAAS,mBAAmB,EAC1B,SACA,WACA,SACA,iBAC0B;CAC1B,MAAM,EAAE,WAAW,iBAAiB;AAEpC,KAAI,CAAC,SAAS,OACZ,QAAO;AAGT,QACE,oBAAC;EACC,WAAW,GACT,oDACA,kBAAkB,QAAQ,SAAS,QACnC,UACD;YAEA,QAAQ,KAAK,UAAU;GACtB,MAAM,UAAU,OAAO,MAAM,WAAW,MAAM,SAAS,GAAG;GAC1D,MAAM,cAAc,OAAO;GAC3B,MAAM,cAAc,UAAU,MAAM,QAAS,aAAa,SAAS;GACnE,MAAM,QAAQ,MAAM,SAAS,aAAa;GAC1C,MAAM,OAAO,aAAa;AAE1B,UACE,qBAAC;IAAkB,WAAU;eAC1B,OACC,oBAAC,QAAK,WAAU,WAAW,GAE3B,oBAAC;KACC,WAAU;KACV,OAAO,EAAE,iBAAiB,OAAO;MACjC,EAEJ,oBAAC;KAAK,WAAU;eAAuB;MAAmB;MATlD,QAUJ;IAER;GACE;;AAIV,mBAAmB,cAAc"}
@@ -0,0 +1,58 @@
1
+ import * as React from "react";
2
+ import * as react_jsx_runtime289 from "react/jsx-runtime";
3
+
4
+ //#region src/components/chart/tooltip.d.ts
5
+ type IndicatorType = 'dot' | 'line' | 'dashed';
6
+ type ChartTooltipContentProps = {
7
+ active?: boolean;
8
+ payload?: Array<{
9
+ name?: string;
10
+ value?: number | string;
11
+ dataKey?: string | number;
12
+ payload?: Record<string, unknown>;
13
+ color?: string;
14
+ fill?: string;
15
+ }>;
16
+ label?: string;
17
+ indicator?: IndicatorType;
18
+ hideLabel?: boolean;
19
+ hideIndicator?: boolean;
20
+ labelKey?: string;
21
+ nameKey?: string;
22
+ className?: string;
23
+ labelClassName?: string;
24
+ formatter?: (value: number | string, name: string, item: {
25
+ name?: string;
26
+ value?: number | string;
27
+ dataKey?: string | number;
28
+ payload?: Record<string, unknown>;
29
+ color?: string;
30
+ fill?: string;
31
+ }, index: number, payload: Array<{
32
+ name?: string;
33
+ value?: number | string;
34
+ dataKey?: string | number;
35
+ payload?: Record<string, unknown>;
36
+ color?: string;
37
+ fill?: string;
38
+ }>) => React.ReactNode;
39
+ };
40
+ declare function ChartTooltipContent({
41
+ active,
42
+ payload,
43
+ label,
44
+ indicator,
45
+ hideLabel,
46
+ hideIndicator,
47
+ labelKey,
48
+ nameKey,
49
+ className,
50
+ labelClassName,
51
+ formatter
52
+ }: ChartTooltipContentProps): react_jsx_runtime289.JSX.Element | null;
53
+ declare namespace ChartTooltipContent {
54
+ var displayName: string;
55
+ }
56
+ //#endregion
57
+ export { ChartTooltipContent, type ChartTooltipContentProps, type IndicatorType };
58
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","names":[],"sources":["../../../src/components/chart/tooltip.tsx"],"sourcesContent":[],"mappings":";;;;KAOK,aAAA;KAEA,wBAAA;;EAFA,OAAA,CAAA,EAIO,KAJP,CAAa;IAEb,IAAA,CAAA,EAAA,MAAA;IAAwB,KAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IAMf,OAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IAJF,OAAA,CAAA,EAIE,MAJF,CAAA,MAAA,EAAA,OAAA,CAAA;IASE,KAAA,CAAA,EAAA,MAAA;IAcE,IAAA,CAAA,EAAA,MAAA;;OAKH,CAAA,EAAA,MAAA;WAQA,CAAA,EA3BC,aA2BD;EAAS,SAAA,CAAA,EAAA,OAAA;EAGb,aAAA,CAAA,EAAA,OAAmB;EAAA,QAAA,CAAA,EAAA,MAAA;SAC1B,CAAA,EAAA,MAAA;WACA,CAAA,EAAA,MAAA;gBACA,CAAA,EAAA,MAAA;WACA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,GAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA;IACA,IAAA,CAAA,EAAA,MAAA;IACA,KAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IACA,OAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IACA,OAAA,CAAA,EAxBc,MAwBd,CAAA,MAAA,EAAA,OAAA,CAAA;IACA,KAAA,CAAA,EAAA,MAAA;IACA,IAAA,CAAA,EAAA,MAAA;KACA,KAAA,EAAA,MAAA,EAAA,OAAA,EAtBW,KAsBX,CAAA;IACC,IAAA,CAAA,EAAA,MAAA;IAAwB,KAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IAAA,OAAA,CAAA,EAAA,MAAA,GAAA,MAAA;IAZlB,OAAA,CAAA,EAPO,MAOP,CAAA,MAAmB,EAAA,OAAA,CAAA;;;SAHrB,KAAA,CAAM;;iBAGJ,mBAAA;;;;;;;;;;;;GAYN,2BAAwB,oBAAA,CAAA,GAAA,CAAA,OAAA;kBAZlB,mBAAA"}
@@ -0,0 +1,55 @@
1
+ 'use client';
2
+
3
+ import { cn } from "../../lib/utils.js";
4
+ import { useChartContext } from "./use-chart-context.js";
5
+ import "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+
8
+ //#region src/components/chart/tooltip.tsx
9
+ function ChartTooltipContent({ active, payload, label, indicator = "dot", hideLabel = false, hideIndicator = false, labelKey, nameKey, className, labelClassName, formatter }) {
10
+ const { config } = useChartContext();
11
+ if (!active || !payload?.length) return null;
12
+ const resolvedLabel = labelKey ? payload[0]?.payload?.[labelKey] : label;
13
+ return /* @__PURE__ */ jsxs("div", {
14
+ className: cn("rounded-lg border border-border bg-background px-3 py-2 shadow-xl", className),
15
+ children: [!hideLabel && resolvedLabel && /* @__PURE__ */ jsx("div", {
16
+ className: cn("font-medium text-sm mb-1", labelClassName),
17
+ children: resolvedLabel
18
+ }), /* @__PURE__ */ jsx("div", {
19
+ className: "flex flex-col gap-1",
20
+ children: payload.map((item, index) => {
21
+ const dataKey = String(item.dataKey ?? item.name ?? "");
22
+ const configEntry = config[dataKey];
23
+ const displayName = nameKey ? item.payload?.[nameKey] ?? dataKey : configEntry?.label ?? dataKey;
24
+ const color = item.color ?? item.fill ?? configEntry?.color;
25
+ const Icon = configEntry?.icon;
26
+ return /* @__PURE__ */ jsxs("div", {
27
+ className: "flex items-center gap-2",
28
+ children: [
29
+ !hideIndicator && /* @__PURE__ */ jsx("span", {
30
+ className: cn("shrink-0", indicator === "dot" && "size-2.5 rounded-full", indicator === "line" && "h-0.5 w-4", indicator === "dashed" && "h-0.5 w-4 border-t-2 border-dashed"),
31
+ style: {
32
+ backgroundColor: indicator === "dashed" ? void 0 : color,
33
+ borderColor: indicator === "dashed" ? color : void 0
34
+ }
35
+ }),
36
+ Icon && /* @__PURE__ */ jsx(Icon, { className: "size-4 text-muted-foreground" }),
37
+ /* @__PURE__ */ jsx("span", {
38
+ className: "flex-1 text-muted-foreground text-xs",
39
+ children: displayName
40
+ }),
41
+ /* @__PURE__ */ jsx("span", {
42
+ className: "font-medium tabular-nums text-xs",
43
+ children: formatter ? formatter(item.value ?? "", displayName, item, index, payload) : item.value
44
+ })
45
+ ]
46
+ }, dataKey);
47
+ })
48
+ })]
49
+ });
50
+ }
51
+ ChartTooltipContent.displayName = "ChartTooltipContent";
52
+
53
+ //#endregion
54
+ export { ChartTooltipContent };
55
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","names":[],"sources":["../../../src/components/chart/tooltip.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport { cn } from '../../lib/utils'\nimport { useChartContext } from './use-chart-context'\n\ntype IndicatorType = 'dot' | 'line' | 'dashed'\n\ntype ChartTooltipContentProps = {\n active?: boolean\n payload?: Array<{\n name?: string\n value?: number | string\n dataKey?: string | number\n payload?: Record<string, unknown>\n color?: string\n fill?: string\n }>\n label?: string\n indicator?: IndicatorType\n hideLabel?: boolean\n hideIndicator?: boolean\n labelKey?: string\n nameKey?: string\n className?: string\n labelClassName?: string\n formatter?: (\n value: number | string,\n name: string,\n item: {\n name?: string\n value?: number | string\n dataKey?: string | number\n payload?: Record<string, unknown>\n color?: string\n fill?: string\n },\n index: number,\n payload: Array<{\n name?: string\n value?: number | string\n dataKey?: string | number\n payload?: Record<string, unknown>\n color?: string\n fill?: string\n }>,\n ) => React.ReactNode\n}\n\nfunction ChartTooltipContent({\n active,\n payload,\n label,\n indicator = 'dot',\n hideLabel = false,\n hideIndicator = false,\n labelKey,\n nameKey,\n className,\n labelClassName,\n formatter,\n}: ChartTooltipContentProps) {\n const { config } = useChartContext()\n\n if (!active || !payload?.length) {\n return null\n }\n\n const resolvedLabel = labelKey\n ? (payload[0]?.payload?.[labelKey] as string | undefined)\n : label\n\n return (\n <div\n className={cn(\n 'rounded-lg border border-border bg-background px-3 py-2 shadow-xl',\n className,\n )}\n >\n {!hideLabel && resolvedLabel && (\n <div className={cn('font-medium text-sm mb-1', labelClassName)}>\n {resolvedLabel}\n </div>\n )}\n <div className='flex flex-col gap-1'>\n {payload.map((item, index) => {\n const dataKey = String(item.dataKey ?? item.name ?? '')\n const configEntry = config[dataKey]\n const displayName = nameKey\n ? ((item.payload?.[nameKey] as string | undefined) ?? dataKey)\n : (configEntry?.label ?? dataKey)\n const color = item.color ?? item.fill ?? configEntry?.color\n const Icon = configEntry?.icon\n\n return (\n <div key={dataKey} className='flex items-center gap-2'>\n {!hideIndicator && (\n <span\n className={cn(\n 'shrink-0',\n indicator === 'dot' && 'size-2.5 rounded-full',\n indicator === 'line' && 'h-0.5 w-4',\n indicator === 'dashed' && 'h-0.5 w-4 border-t-2 border-dashed',\n )}\n style={{\n backgroundColor: indicator === 'dashed' ? undefined : color,\n borderColor: indicator === 'dashed' ? color : undefined,\n }}\n />\n )}\n {Icon && <Icon className='size-4 text-muted-foreground' />}\n <span className='flex-1 text-muted-foreground text-xs'>{displayName}</span>\n <span className='font-medium tabular-nums text-xs'>\n {formatter\n ? formatter(item.value ?? '', displayName, item, index, payload)\n : item.value}\n </span>\n </div>\n )\n })}\n </div>\n </div>\n )\n}\n\nChartTooltipContent.displayName = 'ChartTooltipContent'\n\nexport { ChartTooltipContent }\nexport type { ChartTooltipContentProps, IndicatorType }\n"],"mappings":";;;;;;;;AAkDA,SAAS,oBAAoB,EAC3B,QACA,SACA,OACA,YAAY,OACZ,YAAY,OACZ,gBAAgB,OAChB,UACA,SACA,WACA,gBACA,aAC2B;CAC3B,MAAM,EAAE,WAAW,iBAAiB;AAEpC,KAAI,CAAC,UAAU,CAAC,SAAS,OACvB,QAAO;CAGT,MAAM,gBAAgB,WACjB,QAAQ,IAAI,UAAU,YACvB;AAEJ,QACE,qBAAC;EACC,WAAW,GACT,qEACA,UACD;aAEA,CAAC,aAAa,iBACb,oBAAC;GAAI,WAAW,GAAG,4BAA4B,eAAe;aAC3D;IACG,EAER,oBAAC;GAAI,WAAU;aACZ,QAAQ,KAAK,MAAM,UAAU;IAC5B,MAAM,UAAU,OAAO,KAAK,WAAW,KAAK,QAAQ,GAAG;IACvD,MAAM,cAAc,OAAO;IAC3B,MAAM,cAAc,UACd,KAAK,UAAU,YAAmC,UACnD,aAAa,SAAS;IAC3B,MAAM,QAAQ,KAAK,SAAS,KAAK,QAAQ,aAAa;IACtD,MAAM,OAAO,aAAa;AAE1B,WACE,qBAAC;KAAkB,WAAU;;MAC1B,CAAC,iBACA,oBAAC;OACC,WAAW,GACT,YACA,cAAc,SAAS,yBACvB,cAAc,UAAU,aACxB,cAAc,YAAY,qCAC3B;OACD,OAAO;QACL,iBAAiB,cAAc,WAAW,SAAY;QACtD,aAAa,cAAc,WAAW,QAAQ;QAC/C;QACD;MAEH,QAAQ,oBAAC,QAAK,WAAU,iCAAiC;MAC1D,oBAAC;OAAK,WAAU;iBAAwC;QAAmB;MAC3E,oBAAC;OAAK,WAAU;iBACb,YACG,UAAU,KAAK,SAAS,IAAI,aAAa,MAAM,OAAO,QAAQ,GAC9D,KAAK;QACJ;;OArBC,QAsBJ;KAER;IACE;GACF;;AAIV,oBAAoB,cAAc"}
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+
3
+ //#region src/components/chart/types.d.ts
4
+ type ChartConfig = Record<string, {
5
+ label: string;
6
+ color: string;
7
+ icon?: React.ComponentType<{
8
+ className?: string;
9
+ }>;
10
+ }>;
11
+ //# sourceMappingURL=types.d.ts.map
12
+
13
+ //#endregion
14
+ export { ChartConfig };
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/components/chart/types.ts"],"sourcesContent":[],"mappings":";;;KAEY,WAAA,GAAc;;EAAd,KAAA,EAAA,MAAA;EAAW,IAAA,CAAA,EAKZ,KAAA,CAAM,aALM,CAAA;IAKZ,SAAM,CAAA,EAAA,MAAA;;CALe,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { ChartConfig } from "./types.js";
2
+ import "react";
3
+
4
+ //#region src/components/chart/use-chart-context.d.ts
5
+ type ChartContextValue = {
6
+ config: ChartConfig;
7
+ };
8
+ declare function useChartContext(): ChartContextValue;
9
+ //#endregion
10
+ export { useChartContext };
11
+ //# sourceMappingURL=use-chart-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-chart-context.d.ts","names":[],"sources":["../../../src/components/chart/use-chart-context.ts"],"sourcesContent":[],"mappings":";;;;KAMK,iBAAA;UACK;AAHgC,CAAA;iBAQ1B,eAAA,CAAA,GAAe"}
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+
3
+ import * as React from "react";
4
+
5
+ //#region src/components/chart/use-chart-context.ts
6
+ const ChartContext = React.createContext(null);
7
+ function useChartContext() {
8
+ const context = React.useContext(ChartContext);
9
+ if (!context) throw new Error("useChartContext must be used within a ChartRoot");
10
+ return context;
11
+ }
12
+
13
+ //#endregion
14
+ export { ChartContext, useChartContext };
15
+ //# sourceMappingURL=use-chart-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-chart-context.js","names":[],"sources":["../../../src/components/chart/use-chart-context.ts"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport type { ChartConfig } from './types'\n\ntype ChartContextValue = {\n config: ChartConfig\n}\n\nexport const ChartContext = React.createContext<ChartContextValue | null>(null)\n\nexport function useChartContext() {\n const context = React.useContext(ChartContext)\n if (!context) {\n throw new Error('useChartContext must be used within a ChartRoot')\n }\n return context\n}\n"],"mappings":";;;;;AAUA,MAAa,eAAe,MAAM,cAAwC,KAAK;AAE/E,SAAgB,kBAAkB;CAChC,MAAM,UAAU,MAAM,WAAW,aAAa;AAC9C,KAAI,CAAC,QACH,OAAM,IAAI,MAAM,kDAAkD;AAEpE,QAAO"}
@@ -1,7 +1,7 @@
1
1
  import { SortDirection } from "./types.js";
2
2
  import * as React from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as react_jsx_runtime285 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime290 from "react/jsx-runtime";
5
5
  import * as class_variance_authority_types3 from "class-variance-authority/types";
6
6
 
7
7
  //#region src/components/table/primitives.d.ts
@@ -18,7 +18,7 @@ declare const TableRoot: {
18
18
  variant,
19
19
  size,
20
20
  ...props
21
- }: TableRootProps): react_jsx_runtime285.JSX.Element;
21
+ }: TableRootProps): react_jsx_runtime290.JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  type TableHeaderProps = React.ComponentProps<'thead'>;
@@ -26,7 +26,7 @@ declare const TableHeader: {
26
26
  ({
27
27
  className,
28
28
  ...props
29
- }: TableHeaderProps): react_jsx_runtime285.JSX.Element;
29
+ }: TableHeaderProps): react_jsx_runtime290.JSX.Element;
30
30
  displayName: string;
31
31
  };
32
32
  type TableBodyProps = React.ComponentProps<'tbody'>;
@@ -34,7 +34,7 @@ declare const TableBody: {
34
34
  ({
35
35
  className,
36
36
  ...props
37
- }: TableBodyProps): react_jsx_runtime285.JSX.Element;
37
+ }: TableBodyProps): react_jsx_runtime290.JSX.Element;
38
38
  displayName: string;
39
39
  };
40
40
  type TableFooterProps = React.ComponentProps<'tfoot'>;
@@ -42,7 +42,7 @@ declare const TableFooter: {
42
42
  ({
43
43
  className,
44
44
  ...props
45
- }: TableFooterProps): react_jsx_runtime285.JSX.Element;
45
+ }: TableFooterProps): react_jsx_runtime290.JSX.Element;
46
46
  displayName: string;
47
47
  };
48
48
  type TableRowProps = React.ComponentProps<'tr'>;
@@ -50,7 +50,7 @@ declare const TableRow: {
50
50
  ({
51
51
  className,
52
52
  ...props
53
- }: TableRowProps): react_jsx_runtime285.JSX.Element;
53
+ }: TableRowProps): react_jsx_runtime290.JSX.Element;
54
54
  displayName: string;
55
55
  };
56
56
  type TableHeadProps = React.ComponentProps<'th'> & {
@@ -66,7 +66,7 @@ declare const TableHead: {
66
66
  onSort,
67
67
  children,
68
68
  ...props
69
- }: TableHeadProps): react_jsx_runtime285.JSX.Element;
69
+ }: TableHeadProps): react_jsx_runtime290.JSX.Element;
70
70
  displayName: string;
71
71
  };
72
72
  type TableCellProps = React.ComponentProps<'td'>;
@@ -74,7 +74,7 @@ declare const TableCell: {
74
74
  ({
75
75
  className,
76
76
  ...props
77
- }: TableCellProps): react_jsx_runtime285.JSX.Element;
77
+ }: TableCellProps): react_jsx_runtime290.JSX.Element;
78
78
  displayName: string;
79
79
  };
80
80
  type TableCaptionProps = React.ComponentProps<'caption'> & {
@@ -85,7 +85,7 @@ declare const TableCaption: {
85
85
  className,
86
86
  position,
87
87
  ...props
88
- }: TableCaptionProps): react_jsx_runtime285.JSX.Element;
88
+ }: TableCaptionProps): react_jsx_runtime290.JSX.Element;
89
89
  displayName: string;
90
90
  };
91
91
  //#endregion