@jarllyng/nostromo 3.2.0 → 3.3.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 (175) hide show
  1. package/dist/chunk-35I2BJC3.js +3 -0
  2. package/dist/chunk-35I2BJC3.js.map +1 -0
  3. package/dist/chunk-35RWQSO2.cjs +3 -0
  4. package/dist/chunk-35RWQSO2.cjs.map +1 -0
  5. package/dist/chunk-3QVQ2TNE.cjs +3 -0
  6. package/dist/chunk-3QVQ2TNE.cjs.map +1 -0
  7. package/dist/{chunk-ZC4HJSII.cjs → chunk-5Z3MYAVM.cjs} +2 -2
  8. package/dist/{chunk-ZC4HJSII.cjs.map → chunk-5Z3MYAVM.cjs.map} +1 -1
  9. package/dist/{chunk-ZQDFYSZB.cjs → chunk-AYEM2M4H.cjs} +2 -2
  10. package/dist/{chunk-ZQDFYSZB.cjs.map → chunk-AYEM2M4H.cjs.map} +1 -1
  11. package/dist/chunk-BL2TM4YT.js +3 -0
  12. package/dist/chunk-BL2TM4YT.js.map +1 -0
  13. package/dist/{chunk-BSUHBLZO.cjs → chunk-BZ5ZCZJX.cjs} +2 -2
  14. package/dist/{chunk-BSUHBLZO.cjs.map → chunk-BZ5ZCZJX.cjs.map} +1 -1
  15. package/dist/chunk-C7HZAQBX.cjs +3 -0
  16. package/dist/chunk-C7HZAQBX.cjs.map +1 -0
  17. package/dist/chunk-DNTPD3PJ.js +3 -0
  18. package/dist/chunk-DNTPD3PJ.js.map +1 -0
  19. package/dist/{chunk-TGPWW7FC.js → chunk-HRJXPCGF.js} +2 -2
  20. package/dist/{chunk-TGPWW7FC.js.map → chunk-HRJXPCGF.js.map} +1 -1
  21. package/dist/chunk-JCETHQ55.cjs +3 -0
  22. package/dist/chunk-JCETHQ55.cjs.map +1 -0
  23. package/dist/chunk-MDXW6IRM.cjs +3 -0
  24. package/dist/chunk-MDXW6IRM.cjs.map +1 -0
  25. package/dist/chunk-MOPCE5RA.js +3 -0
  26. package/dist/chunk-MOPCE5RA.js.map +1 -0
  27. package/dist/chunk-MY2KMTUS.js +3 -0
  28. package/dist/chunk-MY2KMTUS.js.map +1 -0
  29. package/dist/chunk-NBX6FKCA.cjs +3 -0
  30. package/dist/chunk-NBX6FKCA.cjs.map +1 -0
  31. package/dist/chunk-NC27D5Y3.cjs +3 -0
  32. package/dist/chunk-NC27D5Y3.cjs.map +1 -0
  33. package/dist/chunk-NPSIDFOF.cjs +3 -0
  34. package/dist/chunk-NPSIDFOF.cjs.map +1 -0
  35. package/dist/chunk-QKM5LPRW.js +3 -0
  36. package/dist/chunk-QKM5LPRW.js.map +1 -0
  37. package/dist/chunk-SVWQWRPZ.js +3 -0
  38. package/dist/chunk-SVWQWRPZ.js.map +1 -0
  39. package/dist/chunk-UIEGBT4T.js +3 -0
  40. package/dist/chunk-UIEGBT4T.js.map +1 -0
  41. package/dist/chunk-VNDL67OG.cjs +3 -0
  42. package/dist/chunk-VNDL67OG.cjs.map +1 -0
  43. package/dist/chunk-WK6LNC2E.cjs +3 -0
  44. package/dist/chunk-WK6LNC2E.cjs.map +1 -0
  45. package/dist/{chunk-M5IBD3KV.js → chunk-WO3KCAN6.js} +2 -2
  46. package/dist/{chunk-M5IBD3KV.js.map → chunk-WO3KCAN6.js.map} +1 -1
  47. package/dist/{chunk-7W456HZL.js → chunk-XJJJEWSU.js} +2 -2
  48. package/dist/{chunk-7W456HZL.js.map → chunk-XJJJEWSU.js.map} +1 -1
  49. package/dist/chunk-XLZJ6HBL.js +3 -0
  50. package/dist/chunk-XLZJ6HBL.js.map +1 -0
  51. package/dist/chunk-XRVHMGMD.js +3 -0
  52. package/dist/chunk-XRVHMGMD.js.map +1 -0
  53. package/dist/components/core/alert.d.cts +1 -1
  54. package/dist/components/core/alert.d.ts +1 -1
  55. package/dist/components/core/badge.d.cts +1 -1
  56. package/dist/components/core/badge.d.ts +1 -1
  57. package/dist/components/core/breadcrumb.cjs +1 -1
  58. package/dist/components/core/breadcrumb.d.cts +8 -2
  59. package/dist/components/core/breadcrumb.d.ts +8 -2
  60. package/dist/components/core/breadcrumb.js +1 -1
  61. package/dist/components/core/button.d.cts +2 -2
  62. package/dist/components/core/button.d.ts +2 -2
  63. package/dist/components/core/calendar.cjs +1 -1
  64. package/dist/components/core/calendar.js +1 -1
  65. package/dist/components/core/charts-lazy.cjs +1 -1
  66. package/dist/components/core/charts-lazy.js +1 -1
  67. package/dist/components/core/charts.cjs +1 -1
  68. package/dist/components/core/charts.js +1 -1
  69. package/dist/components/core/checkbox.cjs +1 -1
  70. package/dist/components/core/checkbox.d.cts +1 -1
  71. package/dist/components/core/checkbox.d.ts +1 -1
  72. package/dist/components/core/checkbox.js +1 -1
  73. package/dist/components/core/data-table.cjs +1 -1
  74. package/dist/components/core/data-table.js +1 -1
  75. package/dist/components/core/dialog.cjs +1 -1
  76. package/dist/components/core/dialog.d.cts +21 -3
  77. package/dist/components/core/dialog.d.ts +21 -3
  78. package/dist/components/core/dialog.js +1 -1
  79. package/dist/components/core/error-message.d.cts +1 -1
  80. package/dist/components/core/error-message.d.ts +1 -1
  81. package/dist/components/core/helper-text.d.cts +1 -1
  82. package/dist/components/core/helper-text.d.ts +1 -1
  83. package/dist/components/core/icon.cjs +1 -1
  84. package/dist/components/core/icon.d.cts +3 -3
  85. package/dist/components/core/icon.d.ts +3 -3
  86. package/dist/components/core/icon.js +1 -1
  87. package/dist/components/core/input.d.cts +1 -1
  88. package/dist/components/core/input.d.ts +1 -1
  89. package/dist/components/core/label.d.cts +1 -1
  90. package/dist/components/core/label.d.ts +1 -1
  91. package/dist/components/core/pagination.d.cts +1 -1
  92. package/dist/components/core/pagination.d.ts +1 -1
  93. package/dist/components/core/progress.d.cts +3 -3
  94. package/dist/components/core/progress.d.ts +3 -3
  95. package/dist/components/core/radio-group.d.cts +1 -1
  96. package/dist/components/core/radio-group.d.ts +1 -1
  97. package/dist/components/core/select.d.cts +3 -3
  98. package/dist/components/core/select.d.ts +3 -3
  99. package/dist/components/core/separator.cjs +1 -1
  100. package/dist/components/core/separator.js +1 -1
  101. package/dist/components/core/skeleton.cjs +1 -1
  102. package/dist/components/core/skeleton.d.cts +1 -1
  103. package/dist/components/core/skeleton.d.ts +1 -1
  104. package/dist/components/core/skeleton.js +1 -1
  105. package/dist/components/core/switch.d.cts +1 -1
  106. package/dist/components/core/switch.d.ts +1 -1
  107. package/dist/components/core/table.cjs +1 -1
  108. package/dist/components/core/table.d.cts +11 -1
  109. package/dist/components/core/table.d.ts +11 -1
  110. package/dist/components/core/table.js +1 -1
  111. package/dist/components/core/textarea.d.cts +1 -1
  112. package/dist/components/core/textarea.d.ts +1 -1
  113. package/dist/components/core/toast.cjs +1 -1
  114. package/dist/components/core/toast.d.cts +2 -2
  115. package/dist/components/core/toast.d.ts +2 -2
  116. package/dist/components/core/toast.js +1 -1
  117. package/dist/components/core/tooltip.cjs +1 -1
  118. package/dist/components/core/tooltip.d.cts +2 -2
  119. package/dist/components/core/tooltip.d.ts +2 -2
  120. package/dist/components/core/tooltip.js +1 -1
  121. package/dist/components/marketing/features.d.cts +2 -2
  122. package/dist/components/marketing/features.d.ts +2 -2
  123. package/dist/components/marketing/gallery.d.cts +1 -1
  124. package/dist/components/marketing/gallery.d.ts +1 -1
  125. package/dist/components/marketing/pricing.d.cts +1 -1
  126. package/dist/components/marketing/pricing.d.ts +1 -1
  127. package/dist/components/marketing/testimonials.d.cts +1 -1
  128. package/dist/components/marketing/testimonials.d.ts +1 -1
  129. package/dist/index.cjs +1 -1
  130. package/dist/index.cjs.map +1 -1
  131. package/dist/index.d.cts +3 -3
  132. package/dist/index.d.ts +3 -3
  133. package/dist/index.js +1 -1
  134. package/dist/index.js.map +1 -1
  135. package/package.json +2 -2
  136. package/dist/chunk-4PN7OGLX.cjs +0 -3
  137. package/dist/chunk-4PN7OGLX.cjs.map +0 -1
  138. package/dist/chunk-4TYVEXRA.cjs +0 -3
  139. package/dist/chunk-4TYVEXRA.cjs.map +0 -1
  140. package/dist/chunk-B2BWBKZA.cjs +0 -3
  141. package/dist/chunk-B2BWBKZA.cjs.map +0 -1
  142. package/dist/chunk-CVOSWGQZ.js +0 -3
  143. package/dist/chunk-CVOSWGQZ.js.map +0 -1
  144. package/dist/chunk-EGQ2Q37R.cjs +0 -3
  145. package/dist/chunk-EGQ2Q37R.cjs.map +0 -1
  146. package/dist/chunk-EIXD3Y4R.js +0 -3
  147. package/dist/chunk-EIXD3Y4R.js.map +0 -1
  148. package/dist/chunk-G5ZSOVJY.cjs +0 -3
  149. package/dist/chunk-G5ZSOVJY.cjs.map +0 -1
  150. package/dist/chunk-G6TR5RGR.js +0 -3
  151. package/dist/chunk-G6TR5RGR.js.map +0 -1
  152. package/dist/chunk-GUJB555L.js +0 -3
  153. package/dist/chunk-GUJB555L.js.map +0 -1
  154. package/dist/chunk-JZROH43C.js +0 -3
  155. package/dist/chunk-JZROH43C.js.map +0 -1
  156. package/dist/chunk-MRZOLUSF.js +0 -3
  157. package/dist/chunk-MRZOLUSF.js.map +0 -1
  158. package/dist/chunk-OZ3RIKZO.cjs +0 -3
  159. package/dist/chunk-OZ3RIKZO.cjs.map +0 -1
  160. package/dist/chunk-PEYPRWZP.js +0 -3
  161. package/dist/chunk-PEYPRWZP.js.map +0 -1
  162. package/dist/chunk-PVHTEE5T.cjs +0 -3
  163. package/dist/chunk-PVHTEE5T.cjs.map +0 -1
  164. package/dist/chunk-QF5CRDZI.js +0 -3
  165. package/dist/chunk-QF5CRDZI.js.map +0 -1
  166. package/dist/chunk-RPRISB7O.cjs +0 -3
  167. package/dist/chunk-RPRISB7O.cjs.map +0 -1
  168. package/dist/chunk-SD4IIQ2I.cjs +0 -3
  169. package/dist/chunk-SD4IIQ2I.cjs.map +0 -1
  170. package/dist/chunk-TJFZAMBB.js +0 -3
  171. package/dist/chunk-TJFZAMBB.js.map +0 -1
  172. package/dist/chunk-VXMDVKAD.js +0 -3
  173. package/dist/chunk-VXMDVKAD.js.map +0 -1
  174. package/dist/chunk-ZYP2PDSX.cjs +0 -3
  175. package/dist/chunk-ZYP2PDSX.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/charts.tsx"],"names":["chartContainerVariants","cva","defaultColors","CustomTooltip","active","payload","label","React","entry","index","CustomLegend","ChartComponent","type","data","dataKeys","xAxisKey","colors","showGrid","showLegend","showTooltip","title","description","className","variant","size","height","ariaLabel","ariaLabelledBy","strokeWidth","fillOpacity","props","ref","chartHeight","renderChart","commonProps","LineChart","CartesianGrid","XAxis","YAxis","Tooltip","key","colorIndex","color","Line","Legend","BarChart","Bar","AreaChart","Area","pieDataKey","PieChart","Pie","fillColor","Cell","cn","ResponsiveContainer","Chart","memo"],"mappings":"gSAuBA,IAAMA,CAAAA,CAAyBC,IAAI,QAAA,CAAU,CAC3C,SAAU,CACR,OAAA,CAAS,CACP,OAAA,CAAS,EAAA,CACT,OAAA,CAAS,GACT,QAAA,CAAU,EACZ,EACA,IAAA,CAAM,CACJ,GAAI,MAAA,CACJ,EAAA,CAAI,MAAA,CACJ,EAAA,CAAI,MAAA,CACJ,EAAA,CAAI,WACN,CACF,CAAA,CACA,gBAAiB,CACf,OAAA,CAAS,UACT,IAAA,CAAM,IACR,CACF,CAAC,CAAA,CAiCKC,CAAAA,CAAgB,CAIpB,sCAAA,CACA,qCAAA,CACA,yCACA,wCAAA,CACA,sCAAA,CACA,uCACA,qCAAA,CACA,wCACF,CAAA,CAaMC,CAAAA,CAAgB,CAAC,CAAE,OAAAC,CAAAA,CAAQ,OAAA,CAAAC,EAAS,KAAA,CAAAC,CAAM,IAC1CF,CAAAA,EAAUC,CAAAA,EAAWA,CAAAA,CAAQ,MAAA,CAE7BE,CAAAA,CAAA,aAAA,CAAC,OAAI,SAAA,CAAU,0DAAA,CAAA,CACbA,EAAA,aAAA,CAAC,GAAA,CAAA,CAAE,UAAU,4CAAA,CAAA,CACV,MAAA,CAAOD,CAAAA,EAAS,EAAE,CACrB,CAAA,CACCD,EAAQ,GAAA,CAAI,CAACG,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,EAEAtB,CAAAA,CAAe,YAAc,OAAA,CAItB,IAAM6C,EAAAA,CAAQC,GAAAA,CAAK9C,CAAc","file":"chunk-XLZJ6HBL.js","sourcesContent":["import React from \"react\";\nimport {\n LineChart,\n Line,\n BarChart,\n Bar,\n PieChart,\n Pie,\n AreaChart,\n Area,\n XAxis,\n YAxis,\n CartesianGrid,\n Tooltip,\n Legend,\n ResponsiveContainer,\n Cell,\n} from \"recharts\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\nimport { memo } from \"../../lib/memo\";\n\n// Chart container variants\nconst chartContainerVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n minimal: \"\",\n detailed: \"\",\n },\n size: {\n sm: \"h-48\",\n md: \"h-64\",\n lg: \"h-96\",\n xl: \"h-[500px]\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"md\",\n },\n});\n\nexport type ChartType = \"line\" | \"bar\" | \"pie\" | \"area\";\n\nexport interface ChartDataPoint {\n name: string;\n [key: string]: string | number;\n}\n\nexport interface ChartProps extends VariantProps<\n typeof chartContainerVariants\n> {\n type: ChartType;\n data: ChartDataPoint[];\n dataKeys: string[];\n xAxisKey?: string;\n colors?: (string | undefined)[];\n showGrid?: boolean;\n showLegend?: boolean;\n showTooltip?: boolean;\n title?: string;\n description?: string;\n className?: string;\n height?: number;\n // Accessibility\n ariaLabel?: string;\n ariaLabelledBy?: string;\n // Styling\n strokeWidth?: number;\n fillOpacity?: number;\n}\n\n// Default color palette matching Nostromo theme\nconst defaultColors = [\n // Ordered for distinguishability. It used to open with brand-500 and\n // brand-600 - two neighbouring shades of the same purple - so a two-series\n // chart was two near-identical lines. Distinct hues first, brand variants last.\n \"hsl(var(--nostromo-color-brand-500))\",\n \"hsl(var(--nostromo-color-info-500))\",\n \"hsl(var(--nostromo-color-success-500))\",\n \"hsl(var(--nostromo-color-warning-500))\",\n \"hsl(var(--nostromo-color-error-500))\",\n \"hsl(var(--nostromo-color-brand-300))\",\n \"hsl(var(--nostromo-color-info-700))\",\n \"hsl(var(--nostromo-color-success-700))\",\n];\n\n// Custom tooltip component with Tailwind styling\ninterface CustomTooltipProps {\n active?: boolean;\n payload?: Array<{\n name?: string;\n value?: number | string;\n color?: string;\n }>;\n label?: string | number;\n}\n\nconst CustomTooltip = ({ active, payload, label }: CustomTooltipProps) => {\n if (active && payload && payload.length) {\n return (\n <div className=\"rounded-lg border border-border bg-popover p-3 shadow-lg\">\n <p className=\"mb-2 font-semibold text-popover-foreground\">\n {String(label ?? \"\")}\n </p>\n {payload.map((entry, index: number) => (\n <p key={index} className=\"text-sm\" style={{ color: entry.color }}>\n {`${entry.name ?? \"\"}: ${entry.value ?? \"\"}`}\n </p>\n ))}\n </div>\n );\n }\n return null;\n};\n\n// Custom legend component with Tailwind styling\ninterface CustomLegendProps {\n payload?: Array<{\n value?: string;\n color?: string;\n }>;\n}\n\nconst CustomLegend = ({ payload }: CustomLegendProps) => {\n return (\n <div className=\"mt-4 flex flex-wrap justify-center gap-4\">\n {payload?.map((entry, index: number) => (\n <div key={index} className=\"flex items-center gap-2\">\n <div\n className=\"h-3 w-3 rounded\"\n style={{ backgroundColor: entry.color }}\n aria-hidden=\"true\"\n />\n <span className=\"text-sm text-popover-foreground\">{entry.value}</span>\n </div>\n ))}\n </div>\n );\n};\n\nconst ChartComponent = React.forwardRef<HTMLDivElement, ChartProps>(\n (\n {\n type,\n data,\n dataKeys,\n xAxisKey = \"name\",\n colors = defaultColors,\n showGrid = true,\n showLegend = true,\n showTooltip = true,\n title,\n description,\n className,\n variant,\n size,\n height,\n ariaLabel,\n ariaLabelledBy,\n strokeWidth = 2,\n fillOpacity = 0.6,\n ...props\n },\n ref,\n ) => {\n const chartHeight =\n height ||\n (size === \"sm\" ? 192 : size === \"lg\" ? 384 : size === \"xl\" ? 500 : 256);\n\n const renderChart = () => {\n // SSR guard: recharts requires browser environment\n if (typeof window === \"undefined\") {\n return (\n <div className=\"flex items-center justify-center h-full text-muted-foreground\">\n <p>Chart loading...</p>\n </div>\n );\n }\n\n const commonProps = {\n data,\n margin: { top: 5, right: 5, left: 5, bottom: 5 },\n };\n\n switch (type) {\n case \"line\":\n return (\n <LineChart {...commonProps}>\n {showGrid && (\n <CartesianGrid\n strokeDasharray=\"3 3\"\n stroke=\"hsl(var(--nostromo-color-neutral-300))\"\n />\n )}\n <XAxis\n dataKey={xAxisKey}\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n <YAxis\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n {showTooltip && <Tooltip content={<CustomTooltip />} />}\n {dataKeys.map((key, index) => {\n const colorIndex = index % colors.length;\n const color = (colors[colorIndex] ??\n defaultColors[colorIndex % defaultColors.length]) as string;\n return (\n <Line\n key={key}\n type=\"monotone\"\n dataKey={key}\n stroke={color}\n strokeWidth={strokeWidth}\n dot={{ r: 4, fill: color }}\n activeDot={{ r: 6 }}\n />\n );\n })}\n {showLegend && <Legend content={<CustomLegend />} />}\n </LineChart>\n );\n\n case \"bar\":\n return (\n <BarChart {...commonProps}>\n {showGrid && (\n <CartesianGrid\n strokeDasharray=\"3 3\"\n stroke=\"hsl(var(--nostromo-color-neutral-300))\"\n />\n )}\n <XAxis\n dataKey={xAxisKey}\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n <YAxis\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n {showTooltip && <Tooltip content={<CustomTooltip />} />}\n {dataKeys.map((key, index) => {\n const colorIndex = index % colors.length;\n const color = (colors[colorIndex] ??\n defaultColors[colorIndex % defaultColors.length]) as string;\n return (\n <Bar\n key={key}\n dataKey={key}\n fill={color}\n radius={[4, 4, 0, 0]}\n />\n );\n })}\n {showLegend && <Legend content={<CustomLegend />} />}\n </BarChart>\n );\n\n case \"area\":\n return (\n <AreaChart {...commonProps}>\n {showGrid && (\n <CartesianGrid\n strokeDasharray=\"3 3\"\n stroke=\"hsl(var(--nostromo-color-neutral-300))\"\n />\n )}\n <XAxis\n dataKey={xAxisKey}\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n <YAxis\n stroke=\"hsl(var(--nostromo-color-neutral-600))\"\n tick={{\n fill: \"hsl(var(--nostromo-color-neutral-700))\",\n fontSize: 12,\n }}\n />\n {showTooltip && <Tooltip content={<CustomTooltip />} />}\n {dataKeys.map((key, index) => {\n const colorIndex = index % colors.length;\n const color = (colors[colorIndex] ??\n defaultColors[colorIndex % defaultColors.length]) as string;\n return (\n <Area\n key={key}\n type=\"monotone\"\n dataKey={key}\n stroke={color}\n fill={color}\n fillOpacity={fillOpacity}\n strokeWidth={strokeWidth}\n />\n );\n })}\n {showLegend && <Legend content={<CustomLegend />} />}\n </AreaChart>\n );\n\n case \"pie\": {\n const pieDataKey = dataKeys[0] || \"value\";\n return (\n <PieChart>\n <Pie\n data={data}\n dataKey={pieDataKey}\n nameKey={xAxisKey}\n cx=\"50%\"\n cy=\"50%\"\n outerRadius={chartHeight / 4}\n label={(props: { name?: string; percent?: number }) =>\n `${props.name ?? \"\"}: ${((props.percent ?? 0) * 100).toFixed(0)}%`\n }\n >\n {data.map((entry, index) => {\n const fillColor =\n colors[index % colors.length] ||\n defaultColors[index % defaultColors.length];\n return (\n <Cell key={`cell-${index}`} fill={fillColor ?? \"#8884d8\"} />\n );\n })}\n </Pie>\n {showTooltip && <Tooltip content={<CustomTooltip />} />}\n {showLegend && <Legend content={<CustomLegend />} />}\n </PieChart>\n );\n }\n\n default:\n return null;\n }\n };\n\n return (\n <div\n ref={ref}\n className={cn(chartContainerVariants({ variant, size }), className)}\n role=\"img\"\n aria-label={ariaLabel || title || `${type} chart`}\n aria-labelledby={ariaLabelledBy}\n {...props}\n >\n {title && (\n <h3 className=\"mb-2 text-lg font-semibold text-foreground\">\n {title}\n </h3>\n )}\n {description && (\n <p className=\"mb-4 text-sm text-muted-foreground\">{description}</p>\n )}\n <ResponsiveContainer width=\"100%\" height={chartHeight}>\n {renderChart()}\n </ResponsiveContainer>\n </div>\n );\n },\n);\n\nChartComponent.displayName = \"Chart\";\n\n// Memoize Chart component for performance optimization\n// Charts are expensive to render, so memoization helps prevent unnecessary re-renders\nexport const Chart = memo(ChartComponent) as typeof ChartComponent;\n\nexport { chartContainerVariants };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a as a$1}from'./chunk-AC2JBXHQ.js';import*as a from'react';import {cva}from'class-variance-authority';var f=cva("shrink-0 bg-border",{variants:{orientation:{horizontal:"h-[1px] w-full",vertical:"w-[1px] self-stretch h-full"},variant:{default:"bg-border",muted:"bg-muted",subtle:"bg-muted/50"},size:{default:"",sm:"h-px",lg:"h-0.5"}},defaultVariants:{orientation:"horizontal",variant:"default",size:"default"}}),d=a.forwardRef(({className:o,orientation:t="horizontal",variant:i="default",size:n="default",decorative:r=true,...l},s)=>a.createElement("div",{ref:s,role:r?"none":"separator",...r?{}:{"aria-orientation":t||void 0},className:a$1(f({orientation:t,variant:i,size:n}),o),...l}));d.displayName="Separator";export{f as a,d as b};//# sourceMappingURL=chunk-XRVHMGMD.js.map
3
+ //# sourceMappingURL=chunk-XRVHMGMD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/separator.tsx"],"names":["separatorVariants","cva","Separator","className","orientation","variant","size","decorative","props","ref","cn"],"mappings":"8GAIA,IAAMA,CAAAA,CAAoBC,GAAAA,CAAI,oBAAA,CAAsB,CAClD,QAAA,CAAU,CACR,WAAA,CAAa,CACX,UAAA,CAAY,gBAAA,CAMZ,QAAA,CAAU,6BACZ,EACA,OAAA,CAAS,CACP,OAAA,CAAS,WAAA,CACT,KAAA,CAAO,UAAA,CACP,OAAQ,aACV,CAAA,CACA,IAAA,CAAM,CACJ,OAAA,CAAS,EAAA,CACT,GAAI,MAAA,CACJ,EAAA,CAAI,OACN,CACF,CAAA,CACA,eAAA,CAAiB,CACf,WAAA,CAAa,YAAA,CACb,OAAA,CAAS,SAAA,CACT,IAAA,CAAM,SACR,CACF,CAAC,CAAA,CAUKC,CAAAA,CAAkB,CAAA,CAAA,UAAA,CACtB,CACE,CACE,UAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,YAAA,CACd,OAAA,CAAAC,CAAAA,CAAU,UACV,IAAA,CAAAC,CAAAA,CAAO,SAAA,CACP,UAAA,CAAAC,CAAAA,CAAa,IAAA,CACb,GAAGC,CACL,CAAA,CACAC,CAAAA,GAGE,CAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,GAAA,CAAKA,EACL,IAAA,CAAMF,CAAAA,CAAa,MAAA,CAAS,WAAA,CAC3B,GAAIA,CAAAA,CACD,EAAC,CACD,CAAE,kBAAA,CAAoBH,CAAAA,EAAe,MAAU,CAAA,CACnD,UAAWM,GAAAA,CACTV,CAAAA,CAAkB,CAAE,WAAA,CAAAI,CAAAA,CAAa,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAK,CAAC,CAAA,CAChDH,CACF,CAAA,CACC,GAAGK,CAAAA,CACN,CAGN,EACAN,CAAAA,CAAU,WAAA,CAAc,WAAA","file":"chunk-XRVHMGMD.js","sourcesContent":["import * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\n\nconst separatorVariants = cva(\"shrink-0 bg-border\", {\n variants: {\n orientation: {\n horizontal: \"h-[1px] w-full\",\n // self-stretch, not just h-full: `height: 100%` against an auto-height\n // flex row resolves to nothing, and with the usual `items-center` the\n // item does not stretch either - so a vertical separator rendered 1px\n // wide and 0px tall, which looked like the prop did nothing at all.\n // Stretching fills the cross axis; h-full still covers non-flex parents.\n vertical: \"w-[1px] self-stretch h-full\",\n },\n variant: {\n default: \"bg-border\",\n muted: \"bg-muted\",\n subtle: \"bg-muted/50\",\n },\n size: {\n default: \"\",\n sm: \"h-px\",\n lg: \"h-0.5\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n variant: \"default\",\n size: \"default\",\n },\n});\n\nexport interface SeparatorProps\n extends\n Omit<React.HTMLAttributes<HTMLDivElement>, \"aria-orientation\">,\n VariantProps<typeof separatorVariants> {\n decorative?: boolean;\n \"aria-orientation\"?: \"horizontal\" | \"vertical\";\n}\n\nconst Separator = React.forwardRef<HTMLDivElement, SeparatorProps>(\n (\n {\n className,\n orientation = \"horizontal\",\n variant = \"default\",\n size = \"default\",\n decorative = true,\n ...props\n },\n ref,\n ) => {\n return (\n <div\n ref={ref}\n role={decorative ? \"none\" : \"separator\"}\n {...(decorative\n ? {}\n : { \"aria-orientation\": orientation || undefined })}\n className={cn(\n separatorVariants({ orientation, variant, size }),\n className,\n )}\n {...props}\n />\n );\n },\n);\nSeparator.displayName = \"Separator\";\n\nexport { Separator, separatorVariants };\n"]}
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const alertTitleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const alertTitleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "default" | "secondary" | "outline" | "destructive" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "secondary" | "outline" | "destructive" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  /**
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "default" | "secondary" | "outline" | "destructive" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "secondary" | "outline" | "destructive" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  /**
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunk4PN7OGLX_cjs=require('../../chunk-4PN7OGLX.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Breadcrumb",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.d}});Object.defineProperty(exports,"BreadcrumbEllipsis",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.j}});Object.defineProperty(exports,"BreadcrumbItem",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.f}});Object.defineProperty(exports,"BreadcrumbLink",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.g}});Object.defineProperty(exports,"BreadcrumbList",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.e}});Object.defineProperty(exports,"BreadcrumbPage",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.h}});Object.defineProperty(exports,"BreadcrumbSeparator",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.i}});Object.defineProperty(exports,"breadcrumbItemVariants",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.b}});Object.defineProperty(exports,"breadcrumbSeparatorVariants",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.c}});Object.defineProperty(exports,"breadcrumbVariants",{enumerable:true,get:function(){return chunk4PN7OGLX_cjs.a}});//# sourceMappingURL=breadcrumb.cjs.map
2
+ 'use strict';var chunk35RWQSO2_cjs=require('../../chunk-35RWQSO2.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Breadcrumb",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.d}});Object.defineProperty(exports,"BreadcrumbEllipsis",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.j}});Object.defineProperty(exports,"BreadcrumbItem",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.f}});Object.defineProperty(exports,"BreadcrumbLink",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.g}});Object.defineProperty(exports,"BreadcrumbList",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.e}});Object.defineProperty(exports,"BreadcrumbPage",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.h}});Object.defineProperty(exports,"BreadcrumbSeparator",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.i}});Object.defineProperty(exports,"breadcrumbItemVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.b}});Object.defineProperty(exports,"breadcrumbSeparatorVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.c}});Object.defineProperty(exports,"breadcrumbVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.a}});//# sourceMappingURL=breadcrumb.cjs.map
3
3
  //# sourceMappingURL=breadcrumb.cjs.map
@@ -7,7 +7,7 @@ declare const breadcrumbVariants: (props?: ({
7
7
  separator?: "default" | "slash" | "arrow" | "dot" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const breadcrumbItemVariants: (props?: ({
10
- variant?: "default" | "link" | "current" | null | undefined;
10
+ variant?: "link" | "default" | "current" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
12
  declare const breadcrumbSeparatorVariants: (props?: ({
13
13
  variant?: "default" | "compact" | null | undefined;
@@ -18,7 +18,13 @@ interface BreadcrumbEntry {
18
18
  current?: boolean;
19
19
  }
20
20
  interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
21
- items: BreadcrumbEntry[];
21
+ /**
22
+ * Data-driven mode. Omit it to compose `BreadcrumbList` / `BreadcrumbItem` /
23
+ * `BreadcrumbLink` as children instead - those sub-components were exported
24
+ * from the start but `items` was required, so the composable form every
25
+ * example used threw on `items.map`.
26
+ */
27
+ items?: BreadcrumbEntry[];
22
28
  separator?: "default" | "slash" | "arrow" | "dot";
23
29
  showHome?: boolean;
24
30
  homeHref?: string;
@@ -7,7 +7,7 @@ declare const breadcrumbVariants: (props?: ({
7
7
  separator?: "default" | "slash" | "arrow" | "dot" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const breadcrumbItemVariants: (props?: ({
10
- variant?: "default" | "link" | "current" | null | undefined;
10
+ variant?: "link" | "default" | "current" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
12
  declare const breadcrumbSeparatorVariants: (props?: ({
13
13
  variant?: "default" | "compact" | null | undefined;
@@ -18,7 +18,13 @@ interface BreadcrumbEntry {
18
18
  current?: boolean;
19
19
  }
20
20
  interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
21
- items: BreadcrumbEntry[];
21
+ /**
22
+ * Data-driven mode. Omit it to compose `BreadcrumbList` / `BreadcrumbItem` /
23
+ * `BreadcrumbLink` as children instead - those sub-components were exported
24
+ * from the start but `items` was required, so the composable form every
25
+ * example used threw on `items.map`.
26
+ */
27
+ items?: BreadcrumbEntry[];
22
28
  separator?: "default" | "slash" | "arrow" | "dot";
23
29
  showHome?: boolean;
24
30
  homeHref?: string;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{d as Breadcrumb,j as BreadcrumbEllipsis,f as BreadcrumbItem,g as BreadcrumbLink,e as BreadcrumbList,h as BreadcrumbPage,i as BreadcrumbSeparator,b as breadcrumbItemVariants,c as breadcrumbSeparatorVariants,a as breadcrumbVariants}from'../../chunk-VXMDVKAD.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=breadcrumb.js.map
2
+ export{d as Breadcrumb,j as BreadcrumbEllipsis,f as BreadcrumbItem,g as BreadcrumbLink,e as BreadcrumbList,h as BreadcrumbPage,i as BreadcrumbSeparator,b as breadcrumbItemVariants,c as breadcrumbSeparatorVariants,a as breadcrumbVariants}from'../../chunk-SVWQWRPZ.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=breadcrumb.js.map
3
3
  //# sourceMappingURL=breadcrumb.js.map
@@ -3,9 +3,9 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "subtle" | "link" | null | undefined;
6
+ variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "destructive" | "subtle" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "xl" | "icon" | null | undefined;
8
- state?: "default" | "loading" | "success" | "error" | null | undefined;
8
+ state?: "error" | "default" | "loading" | "success" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
11
11
  /**
@@ -3,9 +3,9 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "subtle" | "link" | null | undefined;
6
+ variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "destructive" | "subtle" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "xl" | "icon" | null | undefined;
8
- state?: "default" | "loading" | "success" | "error" | null | undefined;
8
+ state?: "error" | "default" | "loading" | "success" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
11
11
  /**
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkEGQ2Q37R_cjs=require('../../chunk-EGQ2Q37R.cjs');require('../../chunk-5PVFLXPO.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Calendar",{enumerable:true,get:function(){return chunkEGQ2Q37R_cjs.c}});Object.defineProperty(exports,"calendarDayVariants",{enumerable:true,get:function(){return chunkEGQ2Q37R_cjs.b}});Object.defineProperty(exports,"calendarVariants",{enumerable:true,get:function(){return chunkEGQ2Q37R_cjs.a}});//# sourceMappingURL=calendar.cjs.map
2
+ 'use strict';var chunkJCETHQ55_cjs=require('../../chunk-JCETHQ55.cjs');require('../../chunk-5PVFLXPO.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Calendar",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.c}});Object.defineProperty(exports,"calendarDayVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.b}});Object.defineProperty(exports,"calendarVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.a}});//# sourceMappingURL=calendar.cjs.map
3
3
  //# sourceMappingURL=calendar.cjs.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{c as Calendar,b as calendarDayVariants,a as calendarVariants}from'../../chunk-PEYPRWZP.js';import'../../chunk-AVTJE2O2.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=calendar.js.map
2
+ export{c as Calendar,b as calendarDayVariants,a as calendarVariants}from'../../chunk-35I2BJC3.js';import'../../chunk-AVTJE2O2.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=calendar.js.map
3
3
  //# sourceMappingURL=calendar.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkBSUHBLZO_cjs=require('../../chunk-BSUHBLZO.cjs');require('../../chunk-OZ3RIKZO.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"LazyChart",{enumerable:true,get:function(){return chunkBSUHBLZO_cjs.a}});//# sourceMappingURL=charts-lazy.cjs.map
2
+ 'use strict';var chunkBZ5ZCZJX_cjs=require('../../chunk-BZ5ZCZJX.cjs');require('../../chunk-3QVQ2TNE.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"LazyChart",{enumerable:true,get:function(){return chunkBZ5ZCZJX_cjs.a}});//# sourceMappingURL=charts-lazy.cjs.map
3
3
  //# sourceMappingURL=charts-lazy.cjs.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{a as LazyChart}from'../../chunk-TGPWW7FC.js';import'../../chunk-EIXD3Y4R.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=charts-lazy.js.map
2
+ export{a as LazyChart}from'../../chunk-HRJXPCGF.js';import'../../chunk-QKM5LPRW.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=charts-lazy.js.map
3
3
  //# sourceMappingURL=charts-lazy.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkG5ZSOVJY_cjs=require('../../chunk-G5ZSOVJY.cjs');require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Chart",{enumerable:true,get:function(){return chunkG5ZSOVJY_cjs.b}});Object.defineProperty(exports,"chartContainerVariants",{enumerable:true,get:function(){return chunkG5ZSOVJY_cjs.a}});//# sourceMappingURL=charts.cjs.map
2
+ 'use strict';var chunkWK6LNC2E_cjs=require('../../chunk-WK6LNC2E.cjs');require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Chart",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.b}});Object.defineProperty(exports,"chartContainerVariants",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.a}});//# sourceMappingURL=charts.cjs.map
3
3
  //# sourceMappingURL=charts.cjs.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{b as Chart,a as chartContainerVariants}from'../../chunk-JZROH43C.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=charts.js.map
2
+ export{b as Chart,a as chartContainerVariants}from'../../chunk-XLZJ6HBL.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=charts.js.map
3
3
  //# sourceMappingURL=charts.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkRPRISB7O_cjs=require('../../chunk-RPRISB7O.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function(){return chunkRPRISB7O_cjs.b}});Object.defineProperty(exports,"checkboxVariants",{enumerable:true,get:function(){return chunkRPRISB7O_cjs.a}});//# sourceMappingURL=checkbox.cjs.map
2
+ 'use strict';var chunkNPSIDFOF_cjs=require('../../chunk-NPSIDFOF.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.b}});Object.defineProperty(exports,"checkboxVariants",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.a}});//# sourceMappingURL=checkbox.cjs.map
3
3
  //# sourceMappingURL=checkbox.cjs.map
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const checkboxVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | null | undefined;
6
+ variant?: "error" | "default" | "success" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const checkboxVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | null | undefined;
6
+ variant?: "error" | "default" | "success" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariants> {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{b as Checkbox,a as checkboxVariants}from'../../chunk-G6TR5RGR.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=checkbox.js.map
2
+ export{b as Checkbox,a as checkboxVariants}from'../../chunk-DNTPD3PJ.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=checkbox.js.map
3
3
  //# sourceMappingURL=checkbox.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkZQDFYSZB_cjs=require('../../chunk-ZQDFYSZB.cjs');require('../../chunk-SD4IIQ2I.cjs'),require('../../chunk-FUENXWR7.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"DataTable",{enumerable:true,get:function(){return chunkZQDFYSZB_cjs.a}});Object.defineProperty(exports,"DataTableMemoized",{enumerable:true,get:function(){return chunkZQDFYSZB_cjs.b}});//# sourceMappingURL=data-table.cjs.map
2
+ 'use strict';var chunkAYEM2M4H_cjs=require('../../chunk-AYEM2M4H.cjs');require('../../chunk-VNDL67OG.cjs'),require('../../chunk-FUENXWR7.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"DataTable",{enumerable:true,get:function(){return chunkAYEM2M4H_cjs.a}});Object.defineProperty(exports,"DataTableMemoized",{enumerable:true,get:function(){return chunkAYEM2M4H_cjs.b}});//# sourceMappingURL=data-table.cjs.map
3
3
  //# sourceMappingURL=data-table.cjs.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{a as DataTable,b as DataTableMemoized}from'../../chunk-7W456HZL.js';import'../../chunk-GUJB555L.js';import'../../chunk-HD3TMQPR.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=data-table.js.map
2
+ export{a as DataTable,b as DataTableMemoized}from'../../chunk-XJJJEWSU.js';import'../../chunk-UIEGBT4T.js';import'../../chunk-HD3TMQPR.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=data-table.js.map
3
3
  //# sourceMappingURL=data-table.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunkPVHTEE5T_cjs=require('../../chunk-PVHTEE5T.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.c}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.d}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.g}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.e}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.f}});Object.defineProperty(exports,"backdropVariants",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.b}});Object.defineProperty(exports,"dialogVariants",{enumerable:true,get:function(){return chunkPVHTEE5T_cjs.a}});//# sourceMappingURL=dialog.cjs.map
2
+ 'use strict';var chunkNBX6FKCA_cjs=require('../../chunk-NBX6FKCA.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.c}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.e}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.h}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.f}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.g}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.d}});Object.defineProperty(exports,"backdropVariants",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.b}});Object.defineProperty(exports,"dialogVariants",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.a}});//# sourceMappingURL=dialog.cjs.map
3
3
  //# sourceMappingURL=dialog.cjs.map
@@ -8,13 +8,15 @@ declare const dialogVariants: (props?: ({
8
8
  animation?: "default" | "none" | "scale" | "slide" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare const backdropVariants: (props?: ({
11
- variant?: "default" | "subtle" | "strong" | "colored" | null | undefined;
11
+ variant?: "strong" | "default" | "subtle" | "colored" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
  interface DialogProps {
14
14
  open?: boolean;
15
+ /** Uncontrolled initial state, for when a DialogTrigger owns the opening. */
16
+ defaultOpen?: boolean;
15
17
  onOpenChange?: (open: boolean) => void;
16
18
  children: React.ReactNode;
17
- backdropVariant?: VariantProps<typeof backdropVariants>['variant'];
19
+ backdropVariant?: VariantProps<typeof backdropVariants>["variant"];
18
20
  }
19
21
  interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof dialogVariants> {
20
22
  onClose?: () => void;
@@ -25,10 +27,26 @@ interface DialogTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
25
27
  }
26
28
  interface DialogDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
27
29
  }
30
+ /**
31
+ * Dialog root.
32
+ *
33
+ * Renders its children whether or not it is open, and puts the open state on
34
+ * context. It used to return `null` while closed and draw the overlay itself,
35
+ * which made `DialogTrigger` impossible: a trigger nested in the dialog was
36
+ * unmounted exactly when you needed to click it. The overlay moved to
37
+ * `DialogContent`, which is what actually knows it is being shown.
38
+ *
39
+ * Works controlled (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
40
+ */
28
41
  declare const Dialog: React.FC<DialogProps>;
42
+ interface DialogTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
43
+ /** Render the child element instead of a button, forwarding the click. */
44
+ asChild?: boolean;
45
+ }
46
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
29
47
  declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
30
48
  declare const DialogHeader: React.ForwardRefExoticComponent<DialogHeaderProps & React.RefAttributes<HTMLDivElement>>;
31
49
  declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
32
50
  declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
33
51
 
34
- export { Dialog, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, backdropVariants, dialogVariants };
52
+ export { Dialog, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, backdropVariants, dialogVariants };
@@ -8,13 +8,15 @@ declare const dialogVariants: (props?: ({
8
8
  animation?: "default" | "none" | "scale" | "slide" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare const backdropVariants: (props?: ({
11
- variant?: "default" | "subtle" | "strong" | "colored" | null | undefined;
11
+ variant?: "strong" | "default" | "subtle" | "colored" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
  interface DialogProps {
14
14
  open?: boolean;
15
+ /** Uncontrolled initial state, for when a DialogTrigger owns the opening. */
16
+ defaultOpen?: boolean;
15
17
  onOpenChange?: (open: boolean) => void;
16
18
  children: React.ReactNode;
17
- backdropVariant?: VariantProps<typeof backdropVariants>['variant'];
19
+ backdropVariant?: VariantProps<typeof backdropVariants>["variant"];
18
20
  }
19
21
  interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof dialogVariants> {
20
22
  onClose?: () => void;
@@ -25,10 +27,26 @@ interface DialogTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
25
27
  }
26
28
  interface DialogDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
27
29
  }
30
+ /**
31
+ * Dialog root.
32
+ *
33
+ * Renders its children whether or not it is open, and puts the open state on
34
+ * context. It used to return `null` while closed and draw the overlay itself,
35
+ * which made `DialogTrigger` impossible: a trigger nested in the dialog was
36
+ * unmounted exactly when you needed to click it. The overlay moved to
37
+ * `DialogContent`, which is what actually knows it is being shown.
38
+ *
39
+ * Works controlled (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
40
+ */
28
41
  declare const Dialog: React.FC<DialogProps>;
42
+ interface DialogTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
43
+ /** Render the child element instead of a button, forwarding the click. */
44
+ asChild?: boolean;
45
+ }
46
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
29
47
  declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
30
48
  declare const DialogHeader: React.ForwardRefExoticComponent<DialogHeaderProps & React.RefAttributes<HTMLDivElement>>;
31
49
  declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
32
50
  declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
33
51
 
34
- export { Dialog, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, backdropVariants, dialogVariants };
52
+ export { Dialog, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, backdropVariants, dialogVariants };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{c as Dialog,d as DialogContent,g as DialogDescription,e as DialogHeader,f as DialogTitle,b as backdropVariants,a as dialogVariants}from'../../chunk-QF5CRDZI.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=dialog.js.map
2
+ export{c as Dialog,e as DialogContent,h as DialogDescription,f as DialogHeader,g as DialogTitle,d as DialogTrigger,b as backdropVariants,a as dialogVariants}from'../../chunk-MY2KMTUS.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=dialog.js.map
3
3
  //# sourceMappingURL=dialog.js.map
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const errorMessageVariants: (props?: ({
6
- variant?: "default" | "subtle" | "strong" | "inline" | null | undefined;
6
+ variant?: "strong" | "default" | "subtle" | "inline" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ErrorMessageProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof errorMessageVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const errorMessageVariants: (props?: ({
6
- variant?: "default" | "subtle" | "strong" | "inline" | null | undefined;
6
+ variant?: "strong" | "default" | "subtle" | "inline" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ErrorMessageProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof errorMessageVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const helperTextVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface HelperTextProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof helperTextVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const helperTextVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface HelperTextProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof helperTextVariants> {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- 'use strict';var chunk4TYVEXRA_cjs=require('../../chunk-4TYVEXRA.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Icon",{enumerable:true,get:function(){return chunk4TYVEXRA_cjs.a}});Object.defineProperty(exports,"iconNames",{enumerable:true,get:function(){return chunk4TYVEXRA_cjs.b}});//# sourceMappingURL=icon.cjs.map
2
+ 'use strict';var chunkNC27D5Y3_cjs=require('../../chunk-NC27D5Y3.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"Icon",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.a}});Object.defineProperty(exports,"iconNames",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.b}});//# sourceMappingURL=icon.cjs.map
3
3
  //# sourceMappingURL=icon.cjs.map
@@ -6,10 +6,10 @@ declare const iconMap: Record<string, React__default.ElementType>;
6
6
  type IconName = keyof typeof iconMap;
7
7
  declare const iconVariants: (props?: ({
8
8
  size?: "sm" | "lg" | "xl" | "xs" | "md" | "2xl" | "3xl" | null | undefined;
9
- weight?: "light" | "fill" | "bold" | "thin" | "regular" | "duotone" | null | undefined;
10
- color?: "secondary" | "success" | "error" | "current" | "warning" | "muted" | "primary" | null | undefined;
9
+ weight?: "fill" | "bold" | "light" | "thin" | "regular" | "duotone" | null | undefined;
10
+ color?: "error" | "secondary" | "success" | "current" | "warning" | "muted" | "primary" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
- interface IconProps extends Omit<React__default.HTMLAttributes<SVGSVGElement>, 'color'>, VariantProps<typeof iconVariants> {
12
+ interface IconProps extends Omit<React__default.HTMLAttributes<SVGSVGElement>, "color">, VariantProps<typeof iconVariants> {
13
13
  name: IconName;
14
14
  className?: string;
15
15
  }
@@ -6,10 +6,10 @@ declare const iconMap: Record<string, React__default.ElementType>;
6
6
  type IconName = keyof typeof iconMap;
7
7
  declare const iconVariants: (props?: ({
8
8
  size?: "sm" | "lg" | "xl" | "xs" | "md" | "2xl" | "3xl" | null | undefined;
9
- weight?: "light" | "fill" | "bold" | "thin" | "regular" | "duotone" | null | undefined;
10
- color?: "secondary" | "success" | "error" | "current" | "warning" | "muted" | "primary" | null | undefined;
9
+ weight?: "fill" | "bold" | "light" | "thin" | "regular" | "duotone" | null | undefined;
10
+ color?: "error" | "secondary" | "success" | "current" | "warning" | "muted" | "primary" | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
- interface IconProps extends Omit<React__default.HTMLAttributes<SVGSVGElement>, 'color'>, VariantProps<typeof iconVariants> {
12
+ interface IconProps extends Omit<React__default.HTMLAttributes<SVGSVGElement>, "color">, VariantProps<typeof iconVariants> {
13
13
  name: IconName;
14
14
  className?: string;
15
15
  }
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export{a as Icon,b as iconNames}from'../../chunk-TJFZAMBB.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=icon.js.map
2
+ export{a as Icon,b as iconNames}from'../../chunk-BL2TM4YT.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=icon.js.map
3
3
  //# sourceMappingURL=icon.js.map
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const inputVariants: (props?: ({
6
- variant?: "default" | "subtle" | "success" | "error" | null | undefined;
6
+ variant?: "error" | "default" | "subtle" | "success" | null | undefined;
7
7
  inputSize?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const inputVariants: (props?: ({
6
- variant?: "default" | "subtle" | "success" | "error" | null | undefined;
6
+ variant?: "error" | "default" | "subtle" | "success" | null | undefined;
7
7
  inputSize?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const labelVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | "muted" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | "muted" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const labelVariants: (props?: ({
6
- variant?: "default" | "success" | "error" | "warning" | "info" | "muted" | null | undefined;
6
+ variant?: "error" | "default" | "success" | "warning" | "info" | "muted" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -7,7 +7,7 @@ declare const paginationVariants: (props?: ({
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const paginationItemVariants: (props?: ({
10
- variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
10
+ variant?: "link" | "default" | "outline" | "ghost" | null | undefined;
11
11
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
  interface PaginationProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof paginationVariants> {
@@ -7,7 +7,7 @@ declare const paginationVariants: (props?: ({
7
7
  size?: "default" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const paginationItemVariants: (props?: ({
10
- variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
10
+ variant?: "link" | "default" | "outline" | "ghost" | null | undefined;
11
11
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
  interface PaginationProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof paginationVariants> {
@@ -4,15 +4,15 @@ import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const progressVariants: (props?: ({
6
6
  size?: "sm" | "lg" | "xl" | "md" | null | undefined;
7
- variant?: "default" | "success" | "error" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
7
+ variant?: "error" | "default" | "success" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const progressBarVariants: (props?: ({
10
- variant?: "default" | "success" | "error" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
10
+ variant?: "error" | "default" | "success" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
11
11
  animated?: boolean | null | undefined;
12
12
  glow?: boolean | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string;
14
14
  declare const progressLabelVariants: (props?: ({
15
- variant?: "default" | "success" | "error" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
15
+ variant?: "error" | "default" | "success" | "warning" | "alien" | "primary" | "energy" | "health" | null | undefined;
16
16
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17
17
  interface ProgressProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants> {
18
18
  value: number;