lsp-uikit 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart.d.ts +71 -0
- package/dist/chart.js +3 -0
- package/dist/chart.js.map +1 -0
- package/dist/index.d.ts +4 -70
- package/dist/index.js +1 -1
- package/dist/main.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +12 -1
package/dist/chart.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload';
|
|
2
|
+
import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip';
|
|
3
|
+
import * as recharts_types_util_types from 'recharts/types/util/types';
|
|
4
|
+
import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import * as RechartsPrimitive from 'recharts';
|
|
8
|
+
|
|
9
|
+
declare const THEMES: {
|
|
10
|
+
readonly light: "";
|
|
11
|
+
readonly dark: ".dark";
|
|
12
|
+
};
|
|
13
|
+
type ChartConfig = {
|
|
14
|
+
[k in string]: {
|
|
15
|
+
label?: React.ReactNode;
|
|
16
|
+
icon?: React.ComponentType;
|
|
17
|
+
} & ({
|
|
18
|
+
color?: string;
|
|
19
|
+
theme?: never;
|
|
20
|
+
} | {
|
|
21
|
+
color?: never;
|
|
22
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
26
|
+
config: ChartConfig;
|
|
27
|
+
containerHeight: number;
|
|
28
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
29
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const ChartStyle: ({ id, config }: {
|
|
31
|
+
id: string;
|
|
32
|
+
config: ChartConfig;
|
|
33
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
34
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
35
|
+
declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
36
|
+
accessibilityLayer?: boolean;
|
|
37
|
+
active?: boolean | undefined;
|
|
38
|
+
includeHidden?: boolean | undefined;
|
|
39
|
+
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
40
|
+
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
41
|
+
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
42
|
+
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
43
|
+
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
44
|
+
cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
|
|
45
|
+
filterNull?: boolean;
|
|
46
|
+
defaultIndex?: number;
|
|
47
|
+
isAnimationActive?: boolean;
|
|
48
|
+
offset?: number;
|
|
49
|
+
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
50
|
+
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
51
|
+
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
52
|
+
shared?: boolean;
|
|
53
|
+
trigger?: "hover" | "click";
|
|
54
|
+
useTranslate3d?: boolean;
|
|
55
|
+
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
56
|
+
wrapperStyle?: React.CSSProperties;
|
|
57
|
+
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
58
|
+
hideLabel?: boolean;
|
|
59
|
+
hideIndicator?: boolean;
|
|
60
|
+
indicator?: "line" | "dot" | "dashed";
|
|
61
|
+
nameKey?: string;
|
|
62
|
+
labelKey?: string;
|
|
63
|
+
tooltipVariant?: "default" | "area-chart";
|
|
64
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
66
|
+
declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
67
|
+
hideIcon?: boolean;
|
|
68
|
+
nameKey?: string;
|
|
69
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
|
|
71
|
+
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|
package/dist/chart.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import*as t from"react";import*as n from"recharts";import{clsx as l}from"clsx";const a=e=>{const r=c(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),s(o,r)||d(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},s=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?s(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const l=e.join("-");return r.validators.find((({validator:e})=>e(l)))?.classGroupId},i=/^\[(.+)\]$/,d=e=>{if(i.test(e)){const r=i.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},c=e=>{const{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return m(Object.entries(e.classGroups),o).forEach((([e,o])=>{p(o,t,e,r)})),t},p=(e,r,o,t)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return b(e)?void p(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach((([e,n])=>{p(n,u(r,e),o,t)}))}else{(""===e?r:u(r,e)).classGroupId=o}}))},u=(e,r)=>{let o=e;return r.split("-").forEach((e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)})),o},b=e=>e.isThemeGetter,m=(e,r)=>r?e.map((([e,o])=>[e,o.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,o])=>[r+e,o]))):e))])):e,f=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,l)=>{o.set(n,l),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},g=e=>{const{separator:r,experimentalParseClassName:o}=e,t=1===r.length,n=r[0],l=r.length,a=e=>{const o=[];let a,s=0,i=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===n&&(t||e.slice(d,d+l)===r)){o.push(e.slice(i,d)),i=d+l;continue}if("/"===c){a=d;continue}}"["===c?s++:"]"===c&&s--}const d=0===o.length?e:e.substring(i),c=d.startsWith("!");return{modifiers:o,hasImportantModifier:c,baseClassName:c?d.substring(1):d,maybePostfixModifierPosition:a&&a>i?a-i:void 0}};return o?e=>o({className:e,parseClassName:a}):a},h=e=>{if(e.length<=1)return e;const r=[];let o=[];return e.forEach((e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)})),r.push(...o.sort()),r},x=/\s+/;function v(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=y(e))&&(t&&(t+=" "),t+=r);return t}const y=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=y(e[t]))&&(o&&(o+=" "),o+=r);return o};function w(e,...r){let o,t,n,l=function(i){const d=r.reduce(((e,r)=>r(e)),e());return o=(e=>({cache:f(e.cacheSize),parseClassName:g(e),...a(e)}))(d),t=o.cache.get,n=o.cache.set,l=s,s(i)};function s(e){const r=t(e);if(r)return r;const l=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=[],a=e.trim().split(x);let s="";for(let e=a.length-1;e>=0;e-=1){const r=a[e],{modifiers:i,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=o(r);let u=Boolean(p),b=t(u?c.substring(0,p):c);if(!b){if(!u){s=r+(s.length>0?" "+s:s);continue}if(b=t(c),!b){s=r+(s.length>0?" "+s:s);continue}u=!1}const m=h(i).join(":"),f=d?m+"!":m,g=f+b;if(l.includes(g))continue;l.push(g);const x=n(b,u);for(let e=0;e<x.length;++e){const r=x[e];l.push(f+r)}s=r+(s.length>0?" "+s:s)}return s})(e,o);return n(e,l),l}return function(){return l(v.apply(null,arguments))}}const k=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},z=/^\[(?:([a-z-]+):)?(.+)\]$/i,N=/^\d+\/\d+$/,C=new Set(["px","full","screen"]),j=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>M(e)||C.has(e)||N.test(e),S=e=>V(e,"length",D),M=e=>Boolean(e)&&!Number.isNaN(Number(e)),R=e=>V(e,"number",M),E=e=>Boolean(e)&&Number.isInteger(Number(e)),K=e=>e.endsWith("%")&&M(e.slice(0,-1)),O=e=>z.test(e),L=e=>j.test(e),T=new Set(["length","size","percentage"]),W=e=>V(e,T,J),B=e=>V(e,"position",J),q=new Set(["image","url"]),H=e=>V(e,q,U),A=e=>V(e,"",Q),F=()=>!0,V=(e,r,o)=>{const t=z.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))},D=e=>_.test(e)&&!G.test(e),J=()=>!1,Q=e=>$.test(e),U=e=>I.test(e),X=w((()=>{const e=k("colors"),r=k("spacing"),o=k("blur"),t=k("brightness"),n=k("borderColor"),l=k("borderRadius"),a=k("borderSpacing"),s=k("borderWidth"),i=k("contrast"),d=k("grayscale"),c=k("hueRotate"),p=k("invert"),u=k("gap"),b=k("gradientColorStops"),m=k("gradientColorStopPositions"),f=k("inset"),g=k("margin"),h=k("opacity"),x=k("padding"),v=k("saturate"),y=k("scale"),w=k("sepia"),z=k("skew"),N=k("space"),C=k("translate"),j=()=>["auto",O,r],_=()=>[O,r],G=()=>["",P,S],$=()=>["auto",M,O],I=()=>["","0",O],T=()=>[M,O];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[P,S],blur:["none","",L,O],brightness:T(),borderColor:[e],borderRadius:["none","","full",L,O],borderSpacing:_(),borderWidth:G(),contrast:T(),grayscale:I(),hueRotate:T(),invert:I(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[K,S],inset:j(),margin:j(),opacity:T(),padding:_(),saturate:T(),scale:T(),sepia:I(),skew:T(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",O]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,O]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",E,O]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",E,O]},O]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[E,O]},O]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,r]}],"min-w":[{"min-w":[O,r,"min","max","fit"]}],"max-w":[{"max-w":[O,r,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[O,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,r,"auto","min","max","fit"]}],"font-size":[{text:["base",L,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",R]}],"font-family":[{font:[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",M,R]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,S]}],"underline-offset":[{"underline-offset":["auto",P,O]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",B]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",W]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},H]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[P,O]}],"outline-w":[{outline:[P,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,A]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",L,O]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[E,O]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,S,R]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function Y(...e){return X(l(e))}const Z={light:"",dark:".dark"},ee=t.createContext(null);function re(){const e=t.useContext(ee);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const oe=t.forwardRef((({id:o,className:l,children:a,config:s,containerHeight:i,...d},c)=>{const p=t.useId(),u=`chart-${o||p.replace(/:/g,"")}`;return e(ee.Provider,{value:{config:s},children:r("div",{"data-chart":u,ref:c,className:Y("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.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",l),...d,children:[e(te,{id:u,config:s}),e(n.ResponsiveContainer,{width:"100%",height:i,children:a})]})})}));oe.displayName="Chart";const te=({id:r,config:o})=>{const t=Object.entries(o).filter((([,e])=>e.theme||e.color));return t.length?e("style",{dangerouslySetInnerHTML:{__html:Object.entries(Z).map((([e,o])=>`\n${o} [data-chart=${r}] {\n${t.map((([r,o])=>{const t=o.theme?.[e]||o.color;return t?` --color-${r}: ${t};`:null})).join("\n")}\n}\n`)).join("\n")}}):null},ne=n.Tooltip,le=t.forwardRef((({active:n,payload:l,className:a,indicator:s="dot",hideLabel:i=!1,hideIndicator:d=!1,tooltipVariant:c="default",label:p,labelFormatter:u,labelClassName:b,formatter:m,color:f,nameKey:g,labelKey:h},x)=>{const{config:v}=re(),y=t.useMemo((()=>{if(i||!l?.length)return null;const[r]=l,o=`${h||r.dataKey||r.name||"value"}`,t=ie(v,r,o),n=h||"string"!=typeof p?t?.label:v[p]?.label||p;return u?e("div",{className:Y("font-medium",b),children:u(n,l)}):n?e("div",{className:Y("font-medium",b),children:n}):null}),[p,u,l,i,b,v,h]);if(!n||!l?.length)return null;const w=1===l.length&&"dot"!==s;return r("div",{ref:x,className:Y("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 font-inter text-sm shadow-xl","area-chart"===c&&"px-5 py-3",a),children:[w?null:y,e("div",{className:Y("grid gap-2","area-chart"===c&&"mt-3"),children:l.map(((t,n)=>{const l=`${g||t.name||t.dataKey||"value"}`,a=ie(v,t,l),i=f||t.payload.fill||t.color;return e("div",{className:Y("flex w-full flex-wrap items-start gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground"),children:m&&void 0!==t?.value&&t.name?m(t.value,t.name,t,n,t.payload):r(o,{children:[a?.icon?e(a.icon,{}):!d&&e("div",{className:Y("mt-[2px] shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===s,"w-1":"line"===s,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===s,"my-0.5":w&&"dashed"===s}),style:{"--color-bg":i,"--color-border":i}}),"area-chart"===c&&r("div",{className:Y("flex flex-1 flex-col items-start gap-1 leading-none"),children:[r("div",{className:"grid gap-1.5",children:[w?y:null,e("span",{className:"text-muted-foreground",children:a?.label||t.name})]}),t.value&&e("span",{className:"text-lg font-semibold tabular-nums text-foreground",children:t.value.toLocaleString()})]}),"default"===c&&r("div",{className:Y("flex flex-1 justify-between gap-3 leading-none",w?"items-end":"items-center"),children:[r("div",{className:"grid gap-1.5",children:[w?y:null,e("span",{className:"text-muted-foreground",children:a?.label||t.name})]}),t.value&&e("span",{className:"font-medium tabular-nums text-foreground",children:t.value.toLocaleString()})]})]})},t.dataKey)}))})]})}));le.displayName="ChartTooltip";const ae=n.Legend,se=t.forwardRef((({className:o,hideIcon:t=!1,payload:n,verticalAlign:l="bottom",nameKey:a},s)=>{const{config:i}=re();return n?.length?e("div",{ref:s,className:Y("flex flex-wrap items-center justify-center gap-x-4 gap-y-2","top"===l?"pb-3":"pt-3",o),children:n.map((o=>{const n=`${a||o.dataKey||"value"}`,l=ie(i,o,n);return r("div",{className:Y("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[l?.icon&&!t?e(l.icon,{}):e("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:o.color}}),l?.label]},o.value)}))}):null}));function ie(e,r,o){if("object"!=typeof r||null===r)return;const t="payload"in r&&"object"==typeof r.payload&&null!==r.payload?r.payload:void 0;let n=o;return o in r&&"string"==typeof r[o]?n=r[o]:t&&o in t&&"string"==typeof t[o]&&(n=t[o]),n in e?e[n]:e[o]}se.displayName="ChartLegend";export{oe as ChartContainer,ae as ChartLegend,se as ChartLegendContent,te as ChartStyle,ne as ChartTooltip,le as ChartTooltipContent};
|
|
3
|
+
//# sourceMappingURL=chart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,6 @@ import React__default, { FC, ComponentProps, ReactNode, InputHTMLAttributes, Pro
|
|
|
5
5
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { DayPicker } from 'react-day-picker';
|
|
8
|
-
import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload';
|
|
9
|
-
import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip';
|
|
10
|
-
import * as recharts_types_util_types from 'recharts/types/util/types';
|
|
11
|
-
import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
|
|
12
|
-
import * as RechartsPrimitive from 'recharts';
|
|
13
8
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
14
9
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
15
10
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -27,12 +22,13 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
27
22
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
28
23
|
|
|
29
24
|
declare const buttonVariants: (props?: ({
|
|
30
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined;
|
|
25
|
+
variant?: "default" | "default_invert" | "destructive" | "destructive_invert" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined;
|
|
31
26
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
32
27
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
28
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
34
29
|
asChild?: boolean;
|
|
35
30
|
isLoading?: boolean;
|
|
31
|
+
replaceSvgWithLoading?: boolean;
|
|
36
32
|
}
|
|
37
33
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
38
34
|
|
|
@@ -70,68 +66,6 @@ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
70
66
|
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
71
67
|
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
72
68
|
|
|
73
|
-
declare const THEMES: {
|
|
74
|
-
readonly light: "";
|
|
75
|
-
readonly dark: ".dark";
|
|
76
|
-
};
|
|
77
|
-
type ChartConfig = {
|
|
78
|
-
[k in string]: {
|
|
79
|
-
label?: React$1.ReactNode;
|
|
80
|
-
icon?: React$1.ComponentType;
|
|
81
|
-
} & ({
|
|
82
|
-
color?: string;
|
|
83
|
-
theme?: never;
|
|
84
|
-
} | {
|
|
85
|
-
color?: never;
|
|
86
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
87
|
-
});
|
|
88
|
-
};
|
|
89
|
-
declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
90
|
-
config: ChartConfig;
|
|
91
|
-
containerHeight: number;
|
|
92
|
-
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
93
|
-
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
94
|
-
declare const ChartStyle: ({ id, config }: {
|
|
95
|
-
id: string;
|
|
96
|
-
config: ChartConfig;
|
|
97
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
98
|
-
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
99
|
-
declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
100
|
-
accessibilityLayer?: boolean;
|
|
101
|
-
active?: boolean | undefined;
|
|
102
|
-
includeHidden?: boolean | undefined;
|
|
103
|
-
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
104
|
-
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
105
|
-
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
106
|
-
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
107
|
-
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
108
|
-
cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
|
|
109
|
-
filterNull?: boolean;
|
|
110
|
-
defaultIndex?: number;
|
|
111
|
-
isAnimationActive?: boolean;
|
|
112
|
-
offset?: number;
|
|
113
|
-
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
114
|
-
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
115
|
-
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
116
|
-
shared?: boolean;
|
|
117
|
-
trigger?: "hover" | "click";
|
|
118
|
-
useTranslate3d?: boolean;
|
|
119
|
-
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
120
|
-
wrapperStyle?: React$1.CSSProperties;
|
|
121
|
-
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
122
|
-
hideLabel?: boolean;
|
|
123
|
-
hideIndicator?: boolean;
|
|
124
|
-
indicator?: "line" | "dot" | "dashed";
|
|
125
|
-
nameKey?: string;
|
|
126
|
-
labelKey?: string;
|
|
127
|
-
tooltipVariant?: "default" | "area-chart";
|
|
128
|
-
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
129
|
-
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
130
|
-
declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
131
|
-
hideIcon?: boolean;
|
|
132
|
-
nameKey?: string;
|
|
133
|
-
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
134
|
-
|
|
135
69
|
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
136
70
|
rounded?: "default" | "small";
|
|
137
71
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -298,7 +232,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
298
232
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
299
233
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
300
234
|
declare const sheetVariants: (props?: ({
|
|
301
|
-
side?: "top" | "
|
|
235
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
302
236
|
duration?: "default" | "fast" | null | undefined;
|
|
303
237
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
304
238
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
@@ -509,4 +443,4 @@ declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.Tog
|
|
|
509
443
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
510
444
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
511
445
|
|
|
512
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle,
|
|
446
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckedValue, CopiedFieldValue, DateRangePicker, type DatesStringRange, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyTableRow, FieldValue, FormInput, HStack, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, Loader, NumericInput, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShadcnTable, ShadcnTableBody, ShadcnTableCaption, ShadcnTableCell, ShadcnTableFooter, ShadcnTableHead, ShadcnTableHeader, ShadcnTableRow, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, Table, TableCell, TableRow, TableRowSkeleton, TableStatusCell, Tabs, TabsContent, TabsList, TabsTrigger, Text, type TextProps, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VStack, badgeVariants, buttonVariants, reducer, toast, toggleVariants, useSidebar, useToast };
|