plume-ui-react 0.11.0 → 0.12.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.
- package/README.md +1 -1
- package/dist/chunk-4DL6M5ND.mjs +1 -0
- package/dist/chunk-QDAOFE7Q.mjs +1 -0
- package/dist/components/form/slider/index.mjs +1 -0
- package/dist/components/form/slider/slider-marks.mjs +1 -0
- package/dist/components/form/slider/slider-math.mjs +1 -0
- package/dist/components/form/slider/slider.mjs +1 -0
- package/dist/components/form/slider/use-track-press.mjs +1 -0
- package/dist/components/interaction/button/button.mjs +2 -2
- package/dist/components/interaction/paginator/index.mjs +1 -0
- package/dist/components/interaction/paginator/paginator-range.mjs +1 -0
- package/dist/components/interaction/paginator/paginator.mjs +1 -0
- package/dist/components/interaction/tree/index.mjs +1 -0
- package/dist/components/interaction/tree/tree-checks.mjs +1 -0
- package/dist/components/interaction/tree/tree-context.mjs +1 -0
- package/dist/components/interaction/tree/tree-item-group.mjs +1 -0
- package/dist/components/interaction/tree/tree-item-label.mjs +1 -0
- package/dist/components/interaction/tree/tree-item.mjs +1 -0
- package/dist/components/interaction/tree/tree-navigation.mjs +1 -0
- package/dist/components/interaction/tree/tree.mjs +1 -0
- package/dist/components/interaction/tree/use-tree-keyboard.mjs +1 -0
- package/dist/components/interaction/tree/use-tree-state.mjs +1 -0
- package/dist/index.d.mts +112 -2
- package/dist/index.d.ts +112 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/overlay/icons.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ export function App() {
|
|
|
38
38
|
|
|
39
39
|
## Components
|
|
40
40
|
|
|
41
|
-
`Accordion` (with `AccordionContent`, `AccordionItem` and `AccordionTrigger`), `Badge`, `Breadcrumb` (with `BreadcrumbItem`, `BreadcrumbLink` and `BreadcrumbSeparator`), `Button`, `Card` (with `CardHeader`, `CardBody` and `CardFooter`), `Carousel` (with `CarouselDots`, `CarouselNext`, `CarouselPlayPause`, `CarouselPrev`, `CarouselSlide` and `CarouselSlides`), `Checkbox`, `Chip`, `Collapse`, `DatePicker`, `Dropdown` (with `DropdownItem`, `DropdownLabel`, `DropdownMenu`, `DropdownSeparator` and `DropdownTrigger`), `Field`, `FileUpload`, `Icon`, `Input`, `List` (with `ListDivider`, `ListItem`, `ListItemButton`, `ListItemIcon`, `ListItemText` and `ListSubheader`), `Modal` (with `ModalBody`, `ModalClose`, `ModalContent`, `ModalFooter`, `ModalHeader` and `ModalTrigger`), `Navbar` (with `NavbarBrand`, `NavbarContent`, `NavbarItem` and `NavbarToggle`), `NumberInput`, `PinInput`, `Popover` (with `PopoverClose`, `PopoverContent` and `PopoverTrigger`), `ProgressBar`, `Radio`, `RadioGroup`, `Rating`, `Select` (with `SelectContent`, `SelectGroup`, `SelectOption`, `SelectTrigger` and `SelectValue`), `Sidebar` (with `SidebarContent`, `SidebarItem`, `SidebarProvider` and `SidebarToggle`), `Skeleton`, `Spinner`, `Stepper` (with `Step`, `StepDescription`, `StepIndicator`, `StepSeparator` and `StepTitle`), `Table` (with `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader` and `TableRow`), `Tabs` (with `TabList`, `Tab`, `TabPanels` and `TabPanel`), `Textarea`, `ToastProvider` (with the `useToast` hook), `Toggle` and `
|
|
41
|
+
`Accordion` (with `AccordionContent`, `AccordionItem` and `AccordionTrigger`), `Badge`, `Breadcrumb` (with `BreadcrumbItem`, `BreadcrumbLink` and `BreadcrumbSeparator`), `Button`, `Card` (with `CardHeader`, `CardBody` and `CardFooter`), `Carousel` (with `CarouselDots`, `CarouselNext`, `CarouselPlayPause`, `CarouselPrev`, `CarouselSlide` and `CarouselSlides`), `Checkbox`, `Chip`, `Collapse`, `DatePicker`, `Dropdown` (with `DropdownItem`, `DropdownLabel`, `DropdownMenu`, `DropdownSeparator` and `DropdownTrigger`), `Field`, `FileUpload`, `Icon`, `Input`, `List` (with `ListDivider`, `ListItem`, `ListItemButton`, `ListItemIcon`, `ListItemText` and `ListSubheader`), `Modal` (with `ModalBody`, `ModalClose`, `ModalContent`, `ModalFooter`, `ModalHeader` and `ModalTrigger`), `Navbar` (with `NavbarBrand`, `NavbarContent`, `NavbarItem` and `NavbarToggle`), `NumberInput`, `Paginator`, `PinInput`, `Popover` (with `PopoverClose`, `PopoverContent` and `PopoverTrigger`), `ProgressBar`, `Radio`, `RadioGroup`, `Rating`, `Select` (with `SelectContent`, `SelectGroup`, `SelectOption`, `SelectTrigger` and `SelectValue`), `Sidebar` (with `SidebarContent`, `SidebarItem`, `SidebarProvider` and `SidebarToggle`), `Skeleton`, `Slider`, `Spinner`, `Stepper` (with `Step`, `StepDescription`, `StepIndicator`, `StepSeparator` and `StepTitle`), `Table` (with `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader` and `TableRow`), `Tabs` (with `TabList`, `Tab`, `TabPanels` and `TabPanel`), `Textarea`, `ToastProvider` (with the `useToast` hook), `Toggle`, `Tooltip` and `Tree` (with `TreeItem`, `TreeItemGroup` and `TreeItemLabel`).
|
|
42
42
|
|
|
43
43
|
The [documentation site](https://darioegb.github.io/plume-ui-react/) has a live playground, props and examples for each one, plus the color palette, design tokens and framework integration guides.
|
|
44
44
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _={tree:"_tree_15e0r_22",sm:"_sm_15e0r_29",md:"_md_15e0r_34",lg:"_lg_15e0r_39",item:"_item_15e0r_44",label:"_label_15e0r_48",checkbox:"_checkbox_15e0r_63",icon:"_icon_15e0r_84",chevron:"_chevron_15e0r_89",solid:"_solid_15e0r_107",ghost:"_ghost_15e0r_116",accent:"_accent_15e0r_121"};export{_ as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _={slider:"_slider_msy5t_15",sm:"_sm_msy5t_22",md:"_md_msy5t_27",lg:"_lg_msy5t_32",horizontal:"_horizontal_msy5t_37",body:"_body_msy5t_37",vertical:"_vertical_msy5t_42",track:"_track_msy5t_47",range:"_range_msy5t_66",outline:"_outline_msy5t_85",marks:"_marks_msy5t_94",mark:"_mark_msy5t_94",markLabel:"_markLabel_msy5t_131",thumb:"_thumb_msy5t_157",invalid:"_invalid_msy5t_246",disabled:"_disabled_msy5t_252"};export{_ as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Slider as t}from"./slider.mjs";export{t as Slider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u}from"../../../chunk-QDAOFE7Q.mjs";import{joinClasses as m}from"../../../overlay/class-names.mjs";import{fractionOf as b}from"./slider-math.mjs";import{jsx as i}from"react/jsx-runtime";var c=(a,n,t,e)=>{if(!a)return[];if(a===!0){let r=e>0?Math.floor((t-n)/e):0;return Array.from({length:r+1},(s,o)=>({value:n+o*e}))}return a.map(r=>typeof r=="number"?{value:r}:r)};function S({classNames:a,marks:n,max:t,min:e,step:r,values:s}){let o=c(n,e,t,r);if(o.length===0)return null;let p=s.length>1?Math.min(...s):e,d=Math.max(...s);return i("span",{"aria-hidden":"true",className:u.marks,"data-plume-slider-marks":"",children:o.map(l=>i("span",{className:m(u.mark,a?.mark),"data-active":l.value>p&&l.value<d?"":void 0,"data-plume-slider-mark":"",style:{"--slider-mark":b(l.value,e,t)},children:l.label===void 0?null:i("span",{className:m(u.markLabel,a?.markLabel),children:l.label})},l.value))})}export{S as SliderMarks};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var u=(e,r,n)=>Math.min(Math.max(e,r),n),o=e=>{let r=String(e),n=/e-(\d+)$/.exec(r);return n?Number(n[1]):r.split(".")[1]?.length??0},c=(e,r,n,t)=>{if(t<=0)return u(e,r,n);let b=Math.min(Math.round((e-r)/t),Math.floor((n-r)/t)),m=Math.max(o(t),o(r));return u(Number((r+b*t).toFixed(m)),r,n)},s=(e,r,n)=>n>r?(u(e,r,n)-r)/(n-r):0,a=e=>typeof e=="number"?[e]:[...e];export{u as clamp,s as fractionOf,c as snap,a as toValues};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"../../../chunk-QDAOFE7Q.mjs";import{forwardRef as ne,useId as ie,useRef as se}from"react";import{joinClasses as p}from"../../../overlay/class-names.mjs";import{mergeRefs as de}from"../../../overlay/trigger.mjs";import{useControllableState as ue}from"../../../overlay/use-controllable-state.mjs";import{useFieldContext as me}from"../field/field-context.mjs";import{SliderMarks as pe}from"./slider-marks.mjs";import{clamp as A,fractionOf as be,snap as ce,toValues as fe}from"./slider-math.mjs";import{useTrackPress as Se}from"./use-track-press.mjs";import{Fragment as Pe,jsx as b,jsxs as O}from"react/jsx-runtime";var ye=s=>s===0?"Minimum":"Maximum",ve=(s,c)=>({"--slider-solid":`var(--plume-color-${s}-solid)`,"--slider-text":`var(--plume-color-${s}-text)`,"--slider-tint":`var(--plume-color-${s}-tint)`,...c}),ge=ne(({"aria-describedby":s,"aria-invalid":c,"aria-label":S,"aria-labelledby":w,className:z,classNames:f,colorScheme:$="primary",defaultValue:F,disabled:u=!1,formatValue:U,getThumbLabel:B=ye,id:k,invalid:K=!1,marks:j,max:l=100,min:t=0,name:q,onValueChange:x,onValueCommit:V,orientation:y="horizontal",readOnly:v=!1,size:D="md",step:g=1,style:G,value:J,variant:M="solid",...Q},W)=>{let R=me(),X=ie(),P=se([]),[I,Y]=ue({defaultValue:F??t,onChange:x,value:J}),o=Array.isArray(I),n=fe(I).map(e=>A(e,t,l)),i=M!=="unstyled",T=K||c===!0||c==="true",L=k??X,Z=R?.controlId===k?R?.labelId:void 0,N=w??(S?void 0:Z),m=n.map(e=>be(e,t,l)),_=o?"fieldset":"div",ee=e=>e===0?[t,n[1]??l]:[n[0]??t,l],E=(e,r)=>{let d=ce(r,t,l,g),C=o?A(d,...ee(e)):d;if(C===n[e])return;let H=n.map((le,oe)=>oe===e?C:le);Y(o?[H[0]??t,H[1]??l]:C)},re=e=>de(e===0?W??void 0:void 0,r=>{P.current[e]=r}),h=()=>{if(!V)return;let e=P.current.map((r,d)=>Number(r?.value??n[d]));V(o?[e[0]??t,e[1]??l]:e[0]??t)},te=Se({commit:h,disabled:u,inputs:P,isRange:o,max:l,min:t,orientation:y,readOnly:v,update:E,values:n}),ae={"--slider-end":m[m.length-1],"--slider-start":o?m[0]:0,...ve($,G)};return b(_,{...Q,...o?{"aria-label":S,"aria-labelledby":N,disabled:u}:{},className:p(i&&a.slider,i&&a[M],i&&a[D],i&&a[y],i&&T&&a.invalid,i&&u&&a.disabled,z),"data-disabled":u?"":void 0,"data-orientation":y,"data-plume-slider":"","data-range":o?"":void 0,...te,style:ae,children:O("div",{className:p(i&&a.body),"data-plume-slider-body":"",children:[i?O(Pe,{children:[b("span",{className:p(a.track,f?.track),"data-plume-slider-track":"",children:b("span",{className:p(a.range,f?.range),"data-plume-slider-range":""})}),b(pe,{classNames:f,marks:j,max:l,min:t,step:g,values:n})]}):null,n.map((e,r)=>b("input",{"aria-describedby":s,"aria-invalid":T||void 0,"aria-label":o?B(r):S,"aria-labelledby":o?void 0:N,"aria-readonly":v||void 0,"aria-valuetext":U?.(e),className:p(i&&a.thumb,f?.thumb),"data-front":r===0&&m[0]!==void 0&&m[0]>.5?"":void 0,"data-plume-slider-thumb":"",disabled:u,id:r===0?L:`${L}-${r}`,max:l,min:t,name:q,onChange:d=>{v||E(r,Number(d.target.value))},onKeyUp:h,onPointerUp:h,ref:re(r),step:g,type:"range",value:e},r===0?"start":"end"))]})})});ge.displayName="Slider";export{ge as Slider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useRef as f}from"react";import{clamp as M}from"./slider-math.mjs";function L({commit:a,disabled:m,inputs:d,isRange:P,max:i,min:o,orientation:v,readOnly:b,update:c,values:l}){let t=f(null),u=e=>{let n=e.currentTarget.getBoundingClientRect(),r=v==="vertical"?(n.bottom-e.clientY)/n.height:(e.clientX-n.left)/n.width;return o+M(r,0,1)*(i-o)},p=e=>{let n=l[0]??o,r=l[1]??i;return e<=r&&Math.abs(e-n)<=Math.abs(e-r)?0:1},E=e=>{if(!P||m||b||e.target instanceof HTMLInputElement)return;let n=u(e);t.current=p(n),e.currentTarget.setPointerCapture?.(e.pointerId),c(t.current,n)},T=e=>{t.current!==null&&c(t.current,u(e))},s=e=>{let n=t.current;n!==null&&(t.current=null,e.currentTarget.releasePointerCapture?.(e.pointerId),d.current[n]?.focus(),a())};return{onPointerCancel:s,onPointerDown:E,onPointerMove:T,onPointerUp:s}}export{L as useTrackPress};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{forwardRef as v}from"react";import{Spinner as B}from"../../presentation/spinner/index.mjs";var o={button:"_button_1l5be_3",sm:"_sm_1l5be_18",md:"_md_1l5be_24",lg:"_lg_1l5be_29",rounded:"_rounded_1l5be_35",pill:"_pill_1l5be_39",solid:"_solid_1l5be_43 _button_1l5be_3",outline:"_outline_1l5be_49 _button_1l5be_3",ghost:"_ghost_1l5be_55 _button_1l5be_3",link:"_link_1l5be_60 _button_1l5be_3",icon:"_icon_1l5be_67 _button_1l5be_3",disabled:"_disabled_1l5be_111",iconMargin:"_iconMargin_1l5be_116",hidden:"_hidden_1l5be_120",spinnerMargin:"_spinnerMargin_1l5be_124"};import{Fragment as P,jsx as p,jsxs as _}from"react/jsx-runtime";var y=(t,l,s,
|
|
2
|
-
${e} ${l}`.trim()},$=t=>({"--button-color":`var(--plume-color-${t}-text)`,"--button-contrast-color":`var(--plume-color-${t}-solid-contrast)`,"--button-solid-bg":`var(--plume-color-${t}-solid)`,"--button-solid-hover":`var(--plume-color-${t}-solid-hover)`,"--button-solid-active":`var(--plume-color-${t}-solid-active)`,"--button-hover-color":`var(--plume-color-${t}-text-hover)`,"--button-focus-color":`var(--plume-color-${t}-text-active)`,"--button-hover-alt-color":`var(--plume-color-${t}-tint)`,"--button-focus-alt-color":`var(--plume-color-${t}-tint-strong)`}),N=v(({children:t,iconLeft:l,iconRight:
|
|
1
|
+
import{forwardRef as v}from"react";import{Spinner as B}from"../../presentation/spinner/index.mjs";var o={button:"_button_1l5be_3",sm:"_sm_1l5be_18",md:"_md_1l5be_24",lg:"_lg_1l5be_29",rounded:"_rounded_1l5be_35",pill:"_pill_1l5be_39",solid:"_solid_1l5be_43 _button_1l5be_3",outline:"_outline_1l5be_49 _button_1l5be_3",ghost:"_ghost_1l5be_55 _button_1l5be_3",link:"_link_1l5be_60 _button_1l5be_3",icon:"_icon_1l5be_67 _button_1l5be_3",disabled:"_disabled_1l5be_111",iconMargin:"_iconMargin_1l5be_116",hidden:"_hidden_1l5be_120",spinnerMargin:"_spinnerMargin_1l5be_124"};import{Fragment as P,jsx as p,jsxs as _}from"react/jsx-runtime";var y=(t,l,r,s,u,a)=>{let e=u?o.iconMarginNone:o.iconMargin,d=l&&!t?o.hidden:e,n=l&&t?t:a;return _(P,{children:[r?p("span",{className:e,children:r}):null,n?p("span",{className:d,children:n}):null,s?p("span",{className:e,children:s}):null]})},M=(t,l,r,s,u,a)=>{let e=r||s?o.disabled:"",d=t!=="unstyled"?o[a]:"",n=t!=="unstyled"?o[u]:"",i=t!=="unstyled"?o[t]:"";return`${n} ${d} ${i}
|
|
2
|
+
${e} ${l}`.trim()},$=t=>({"--button-color":`var(--plume-color-${t}-text)`,"--button-contrast-color":`var(--plume-color-${t}-solid-contrast)`,"--button-solid-bg":`var(--plume-color-${t}-solid)`,"--button-solid-hover":`var(--plume-color-${t}-solid-hover)`,"--button-solid-active":`var(--plume-color-${t}-solid-active)`,"--button-hover-color":`var(--plume-color-${t}-text-hover)`,"--button-focus-color":`var(--plume-color-${t}-text-active)`,"--button-hover-alt-color":`var(--plume-color-${t}-tint)`,"--button-focus-alt-color":`var(--plume-color-${t}-tint-strong)`}),N=v(({children:t,iconLeft:l,iconRight:r,label:s,style:u,busyText:a="",className:e="",colorScheme:d="secondary",disabled:n=!1,isBusy:i=!1,shape:c="rounded",size:m="md",type:g="button",variant:b="solid",...C},h)=>{let f=M(b,e,n,i,m,c);return _("button",{className:f,disabled:n||i,ref:h,style:{...$(d),...u},type:g,...C,children:[y(a,i,l,r,b==="unstyled",s),t,i?p(B,{style:{"--spinner-scheme":"var(--button-contrast-color)"},...a&&{className:o.spinnerMargin},size:"sm"}):null]})});N.displayName="Button";export{N as Button};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Paginator as r}from"./paginator.mjs";export{r as Paginator};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var g=(e,s)=>Array.from({length:Math.max(s-e+1,0)},(a,i)=>e+i);function f({boundaryCount:e,count:s,page:a,siblingCount:i}){let h=g(1,Math.min(e,s)),t=g(Math.max(s-e+1,e+1),s),l=Math.max(Math.min(a-i,s-e-i*2-1),e+2),p=Math.min(Math.max(a+i,e+i*2+2),t.length>0?(t[0]??s)-2:s-1),m=[];l>e+2?m.push("start-ellipsis"):e+1<s-e&&m.push(e+1);let r=[];return p<s-e-1?r.push("end-ellipsis"):s-e>e&&r.push(s-e),[...h,...m,...g(l,p),...r,...t]}export{f as getPaginatorItems};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{forwardRef as q}from"react";import{joinClasses as u}from"../../../overlay/class-names.mjs";import{ChevronLeftIcon as D,ChevronRightIcon as G,ChevronsLeftIcon as J,ChevronsRightIcon as K}from"../../../overlay/icons.mjs";import{useControllableState as Q}from"../../../overlay/use-controllable-state.mjs";import{Button as _}from"../button/index.mjs";var n={paginator:"_paginator_1uwnr_10",sm:"_sm_1uwnr_15",md:"_md_1uwnr_19",lg:"_lg_1uwnr_23",list:"_list_1uwnr_27",page:"_page_1uwnr_31",edge:"_edge_1uwnr_32",ellipsis:"_ellipsis_1uwnr_37",outline:"_outline_1uwnr_45",ghost:"_ghost_1uwnr_46"};import{getPaginatorItems as U}from"./paginator-range.mjs";import{jsx as a,jsxs as ee}from"react/jsx-runtime";var W=(o,i)=>i?`Page ${o}, current page`:`Page ${o}`,X=(o,i,p)=>Math.min(Math.max(o,i),p),Y={ghost:{current:"ghost",other:"ghost"},outline:{current:"outline",other:"outline"},solid:{current:"solid",other:"ghost"},unstyled:{current:"unstyled",other:"unstyled"}};function b({children:o,className:i,isStyled:p}){return a("li",{className:u(p&&n.item,i),"data-plume-paginator-item":"",children:o})}var Z=q(({"aria-label":o,"aria-labelledby":i,boundaryCount:p=1,className:L,classNames:l,colorScheme:v="primary",count:C,defaultPage:R=1,disabled:P=!1,firstLabel:S="First page",getPageLabel:w=W,lastLabel:x="Last page",nextLabel:N="Next page",onPageChange:I,page:M,pageSize:V=10,previousLabel:k="Previous page",shape:h="rounded",showEdges:f=!1,siblingCount:B=1,size:d="md",total:H,variant:m="solid",...T},z)=>{let[A,E]=Q({defaultValue:R,onChange:I,value:M}),s=C??Math.ceil((H??0)/Math.max(V,1)),r=m!=="unstyled",t=X(A,1,Math.max(s,1)),c=Y[m];if(s<1)return null;let y=e=>{e!==t&&E(e)},g=(e,F,O,$,j)=>a(b,{className:l?.item,isStyled:r,children:a(_,{"aria-label":F,className:u(r&&n.edge,l?.[e]),colorScheme:"secondary","data-plume-paginator-part":e,disabled:P||$,onClick:()=>y(O),shape:h,size:d,variant:c.other,children:j})});return a("nav",{"aria-label":o??(i?void 0:"Pagination"),"aria-labelledby":i,className:u(r&&n.paginator,r&&n[m],r&&n[d],L),"data-plume-paginator":"",ref:z,...T,children:ee("ul",{className:u(r&&n.list,l?.list),"data-plume-paginator-list":"",children:[f?g("first",S,1,t===1,a(J,{})):null,g("previous",k,t-1,t===1,a(D,{})),U({boundaryCount:p,count:s,page:t,siblingCount:B}).map(e=>typeof e=="number"?a(b,{className:l?.item,isStyled:r,children:a(_,{"aria-current":e===t?"page":void 0,"aria-label":w(e,e===t),className:u(r&&n.page,l?.page),colorScheme:e===t?v:"secondary","data-current":e===t?"":void 0,"data-plume-paginator-part":"page",disabled:P,onClick:()=>y(e),shape:h,size:d,variant:e===t?c.current:c.other,children:e})},e):a(b,{className:l?.item,isStyled:r,children:a("span",{"aria-hidden":"true",className:u(r&&n.ellipsis,l?.ellipsis),"data-plume-paginator-part":"ellipsis",children:"\u2026"})},e)),g("next",N,t+1,t===s,a(G,{})),f?g("last",x,s,t===s,a(K,{})):null]})})});Z.displayName="Paginator";export{Z as Paginator};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Tree as t}from"./tree.mjs";import{TreeItem as o}from"./tree-item.mjs";import{TreeItemGroup as m}from"./tree-item-group.mjs";import{TreeItemLabel as I}from"./tree-item-label.mjs";export{t as Tree,o as TreeItem,m as TreeItemGroup,I as TreeItemLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var f=(e,n,o)=>{let t=new Set(e);if(!o)return t;for(let r of e)for(let l of n[r]??[])t.add(l.value);return t},i=(e,n,o,t)=>{let r=o[e];if(!t||!r||r.length===0)return n.has(e);let l=r.filter(s=>n.has(s.value)).length;return l===r.length?!0:l===0?!1:"mixed"},d=(e,n)=>{let o=Object.entries(n).sort(([,t],[,r])=>t.length-r.length);for(let[t,r]of o)r.every(l=>e.has(l.value))?e.add(t):e.delete(t);return Array.from(e)},c=(e,n,o,t)=>{let r=t?(o[e]??[]).filter(a=>!a.disabled):[],l=r.length>0?r.every(a=>n.has(a.value)):i(e,n,o,t)===!0,s=new Set(n);for(let a of[e,...r.map(u=>u.value)])l?s.delete(a):s.add(a);return t?d(s,o):Array.from(s)},g=e=>{let n={};if(!e)return n;for(let o of Array.from(e.querySelectorAll('[role="treeitem"]'))){let t=o.nextElementSibling,r=o.dataset.plumeTreeValue;r===void 0||t?.getAttribute("role")!=="group"||(n[r]=Array.from(t.querySelectorAll('[role="treeitem"]')).map(l=>({disabled:l.getAttribute("aria-disabled")==="true",value:l.dataset.plumeTreeValue??""})))}return n};export{i as checkStateOf,f as expandChecked,g as readStructure,c as toggleChecked};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{createContext as n,useContext as r}from"react";var o=n(void 0);function l(t){let e=r(o);if(!e)throw new Error(`${t} must be used within a <Tree>`);return e}var i=n(void 0);function d(t){let e=r(i);if(!e)throw new Error(`${t} must be used within a <TreeItem>`);return e}var s=n(0);export{o as TreeContext,i as TreeItemContext,s as TreeLevelContext,l as useTreeContext,d as useTreeItemContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{forwardRef as l}from"react";import{Collapse as n}from"../../utility/collapse/index.mjs";import{TreeLevelContext as s,useTreeItemContext as u}from"./tree-context.mjs";import{jsx as t}from"react/jsx-runtime";var d=l(({children:r,className:o,style:p,...m},i)=>{let e=u("TreeItemGroup");return t(n,{className:o,id:e.groupId,open:e.expanded,ref:i,role:"group",style:p,variant:"unstyled",...m,children:t(s.Provider,{value:e.level,children:r})})});d.displayName="TreeItemGroup";export{d as TreeItemGroup};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"../../../chunk-4DL6M5ND.mjs";import{forwardRef as d}from"react";import{joinClasses as o}from"../../../overlay/class-names.mjs";import{CheckIcon as u,ChevronRightIcon as h,MinusIcon as b}from"../../../overlay/icons.mjs";import{useTreeContext as T,useTreeItemContext as f}from"./tree-context.mjs";import{jsx as t,jsxs as x}from"react/jsx-runtime";var I=e=>e==="mixed"?t(b,{}):e?t(u,{}):null,L=e=>e==="mixed"?"mixed":e?"checked":"unchecked",k=d(({children:e,className:l,icon:s,style:i,...m},c)=>{let{isStyled:n,selection:p}=T("TreeItemLabel"),r=f("TreeItemLabel");return x("span",{className:o(n&&a.label,l),"data-plume-tree-label":"",id:r.labelId,ref:c,style:i,...m,children:[t("span",{"aria-hidden":"true",className:o(n&&a.chevron),"data-plume-tree-chevron":"","data-visible":r.hasChildren?"":void 0,children:r.hasChildren?t(h,{}):null}),p==="checkbox"?t("span",{"aria-hidden":"true",className:o(n&&a.checkbox),"data-plume-tree-checkbox":"","data-state":L(r.checked),children:I(r.checked)}):null,s?t("span",{"aria-hidden":"true",className:o(n&&a.icon),children:s}):null,e]})});k.displayName="TreeItemLabel";export{k as TreeItemLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as u}from"../../../chunk-4DL6M5ND.mjs";import{Children as b,forwardRef as g,isValidElement as S,useContext as w,useId as T,useMemo as R}from"react";import{joinClasses as k}from"../../../overlay/class-names.mjs";import{TreeItemContext as M,TreeLevelContext as A,useTreeContext as E}from"./tree-context.mjs";import{TreeItemGroup as H}from"./tree-item-group.mjs";import{jsx as I,jsxs as F}from"react/jsx-runtime";var L=r=>r==="single"||r==="multiple",D=r=>S(r)&&r.type===H,N=g(({"aria-label":r,children:x,className:C,disabled:i=!1,style:h,value:t,...v},y)=>{let e=E("TreeItem"),a=w(A)+1,l=T(),c=T(),p=b.toArray(x),m=p.find(D),o=m!==void 0,s=o&&e.expanded.includes(t),f=e.selected.includes(t),d=e.checkState(t),P=R(()=>({checked:d,disabled:i,expanded:s,groupId:l,hasChildren:o,labelId:c,level:a}),[d,i,s,l,o,c,a]);return I(M.Provider,{value:P,children:F("div",{"data-plume-tree-node":"",children:[I("div",{...v,"aria-checked":d,"aria-disabled":i||void 0,"aria-expanded":o?s:void 0,"aria-label":r,"aria-labelledby":r?void 0:c,"aria-level":a,"aria-owns":o?l:void 0,"aria-selected":L(e.selection)?f:void 0,className:k(e.isStyled&&u.item,C),"data-checked":d===void 0?void 0:String(d),"data-expanded":s?"":void 0,"data-plume-tree-item":"","data-plume-tree-value":t,"data-selected":f?"":void 0,onClick:n=>{if(i)return;n.target.closest("[data-plume-tree-chevron]")&&o&&e.selection==="checkbox"?e.toggleExpanded(t):e.activate(t,o)},onFocus:n=>{n.target===n.currentTarget&&e.setActive(t)},onKeyDown:n=>{i||e.onItemKeyDown(n,t,o)},ref:y,role:"treeitem",style:{"--tree-level":a,...h},tabIndex:!i&&e.activeValue===t?0:-1,children:p.filter(n=>n!==m)}),m]})})});N.displayName="TreeItem";export{N as TreeItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s='[role="treeitem"]',d=e=>e?Array.from(e.querySelectorAll(s)).filter(t=>t.getAttribute("aria-disabled")!=="true"&&!t.parentElement?.closest('[role="group"]:not([data-open])')):[],u=e=>{let t=e.closest('[role="group"]')?.previousElementSibling;return t?.matches(s)?t:null},c=e=>e.querySelector("[data-plume-tree-label]")?.textContent?.trim().toLowerCase()??"",E=(e,t,a)=>{let n=a.toLowerCase(),r=[...n].every(l=>l===n[0]),i=r?n[0]??"":n,o=r||n.length===1?t+1:t;return[...e.slice(o),...e.slice(0,o)].find(l=>c(l).startsWith(i))};export{E as findTypeaheadMatch,c as labelOf,u as parentItem,d as visibleItems};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as l}from"../../../chunk-4DL6M5ND.mjs";import{forwardRef as D,useCallback as I,useEffect as O,useMemo as B,useRef as F,useState as K}from"react";import{joinClasses as N}from"../../../overlay/class-names.mjs";import{mergeRefs as z}from"../../../overlay/trigger.mjs";import{TreeContext as j}from"./tree-context.mjs";import{visibleItems as q}from"./tree-navigation.mjs";import{useTreeKeyboard as G}from"./use-tree-keyboard.mjs";import{useTreeState as J}from"./use-tree-state.mjs";import{jsx as C}from"react/jsx-runtime";var Q=(e,o)=>({"--tree-contrast":`var(--plume-color-${e}-solid-contrast)`,"--tree-hover":`var(--plume-color-${e}-solid-hover)`,"--tree-solid":`var(--plume-color-${e}-solid)`,"--tree-text":`var(--plume-color-${e}-text)`,"--tree-tint":`var(--plume-color-${e}-tint)`,"--tree-tint-text":`var(--plume-color-${e}-tint-text)`,...o}),U=D(({cascade:e=!0,children:o,className:y,colorScheme:S="primary",defaultExpanded:b,defaultValue:V,expanded:E,onExpandedChange:M,onValueChange:h,selection:a="single",size:d="md",style:A,value:R,variant:v="solid",...w},H)=>{let s=F(null),[i,T]=K(void 0),n=v!=="unstyled",{activate:p,checkState:g,expanded:t,select:u,selected:m,toggleExpanded:c}=J({cascade:e,children:o,defaultExpanded:b,defaultValue:V,expanded:E,onExpandedChange:M,onValueChange:h,root:s,selection:a,value:R}),x=I(r=>c(r,!t.includes(r)),[t,c]),P=G({activate:p,expanded:t,root:s,select:u,toggleExpanded:c});O(()=>{let r=q(s.current),$=r.map(f=>f.dataset.plumeTreeValue);if(i!==void 0&&$.includes(i))return;let k=r.find(f=>f.getAttribute("aria-selected")==="true")??r[0];T(k?.dataset.plumeTreeValue)},[i,o,t,m]);let L=B(()=>({activate:p,activeValue:i,checkState:g,expanded:t,isStyled:n,onItemKeyDown:P,select:u,selected:m,selection:a,setActive:T,size:d,toggleExpanded:x}),[p,i,g,t,n,P,u,m,a,d,x]);return C(j.Provider,{value:L,children:C("div",{"aria-multiselectable":a==="multiple"?!0:void 0,className:N(n&&l.tree,n&&l[v],n&&l[d],y),"data-plume-tree":"",ref:z(H,s),role:"tree",style:Q(S,A),...w,children:o})})});U.displayName="Tree";export{U as Tree};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useCallback as m,useEffect as p,useRef as f}from"react";import{findTypeaheadMatch as b,parentItem as g,visibleItems as T}from"./tree-navigation.mjs";var K=500,h={ArrowDown:({index:e,items:t})=>t[e+1]?.focus(),ArrowLeft:({current:e,hasChildren:t,isOpen:n,toggleExpanded:o,value:a})=>{t&&n?o(a,!1):g(e)?.focus()},ArrowRight:({hasChildren:e,index:t,isOpen:n,items:o,toggleExpanded:a,value:i})=>{e&&(n?o[t+1]?.focus():a(i,!0))},ArrowUp:({index:e,items:t})=>t[e-1]?.focus(),End:({items:e})=>e[e.length-1]?.focus(),Enter:({activate:e,hasChildren:t,value:n})=>e(n,t),Home:({items:e})=>e[0]?.focus()," ":({select:e,value:t})=>e(t)},E=e=>e.key.length===1&&!e.altKey&&!e.ctrlKey&&!e.metaKey;function C({activate:e,expanded:t,root:n,select:o,toggleExpanded:a}){let i=f(""),s=f(void 0);return p(()=>()=>clearTimeout(s.current),[]),m((r,c,y)=>{if(r.target!==r.currentTarget)return;let u=T(n.current),l=u.indexOf(r.currentTarget),d=h[r.key];if(d&&!r.altKey&&!r.ctrlKey&&!r.metaKey){r.preventDefault(),d({activate:e,current:r.currentTarget,hasChildren:y,index:l,isOpen:t.includes(c),items:u,select:o,toggleExpanded:a,value:c});return}E(r)&&(r.preventDefault(),clearTimeout(s.current),i.current+=r.key,s.current=setTimeout(()=>{i.current=""},K),b(u,l,i.current)?.focus())},[e,t,n,o,a])}export{C as useTreeKeyboard};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{useCallback as u,useEffect as V,useMemo as j,useState as J}from"react";import{useSelectionState as m}from"../../../overlay/use-selection-state.mjs";import{checkStateOf as M,expandChecked as N,readStructure as R,toggleChecked as w}from"./tree-checks.mjs";function z({cascade:r,children:h,defaultExpanded:x,defaultValue:v,expanded:k,onExpandedChange:T,onValueChange:C,root:p,selection:d,value:b}){let t=d==="checkbox",[l,y]=J({}),{commit:S,selected:i}=m({defaultValue:x,multiple:!0,onValueChange:T,value:k}),{commit:c,selected:o}=m({defaultValue:v,multiple:d==="multiple"||t,onValueChange:C,value:b}),s=j(()=>N(o,l,t&&r),[r,t,o,l]);V(()=>{if(!t||!r)return;let e=R(p.current);y(n=>JSON.stringify(n)===JSON.stringify(e)?n:e)},[r,h,t,p]);let a=u((e,n)=>{n!==i.includes(e)&&S(n?[...i,e]:i.filter(g=>g!==e))},[S,i]),f=u(e=>{let n=o.includes(e);t?c(w(e,s,l,r)):d==="single"&&!n?c([e]):d==="multiple"&&c(n?o.filter(g=>g!==e):[...o,e])},[r,s,c,t,o,d,l]),E=u((e,n)=>{f(e),n&&!t&&a(e,!i.includes(e))},[i,t,f,a]),O=u(e=>t?M(e,s,l,r):void 0,[r,s,t,l]);return{activate:E,checkState:O,expanded:i,select:f,selected:o,toggleExpanded:a}}export{z as useTreeState};
|
package/dist/index.d.mts
CHANGED
|
@@ -339,7 +339,7 @@ interface ButtonOwnProps {
|
|
|
339
339
|
variant?: ButtonVariant;
|
|
340
340
|
}
|
|
341
341
|
type ButtonVariant = 'solid' | 'outline' | 'link' | 'icon' | 'ghost' | 'unstyled';
|
|
342
|
-
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
342
|
+
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-current' | 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
343
343
|
type ButtonProps = ComponentProps & ButtonRootAttributes & ButtonOwnProps;
|
|
344
344
|
declare const Button: react.ForwardRefExoticComponent<ComponentProps & ButtonRootAttributes & ButtonOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
345
345
|
|
|
@@ -824,6 +824,34 @@ type NumberInputRootAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'ar
|
|
|
824
824
|
type NumberInputProps = Omit<ComponentProps, 'index'> & NumberInputRootAttributes & NumberInputOwnProps;
|
|
825
825
|
declare const NumberInput: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & NumberInputRootAttributes & NumberInputOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
826
826
|
|
|
827
|
+
type PaginatorVariant = 'ghost' | 'outline' | 'solid' | 'unstyled';
|
|
828
|
+
type PaginatorPart = 'ellipsis' | 'first' | 'item' | 'last' | 'list' | 'next' | 'page' | 'previous';
|
|
829
|
+
interface PaginatorOwnProps {
|
|
830
|
+
boundaryCount?: number;
|
|
831
|
+
classNames?: Partial<Record<PaginatorPart, string>>;
|
|
832
|
+
colorScheme?: ColorScheme;
|
|
833
|
+
count?: number;
|
|
834
|
+
defaultPage?: number;
|
|
835
|
+
disabled?: boolean;
|
|
836
|
+
firstLabel?: string;
|
|
837
|
+
getPageLabel?: (page: number, current: boolean) => string;
|
|
838
|
+
lastLabel?: string;
|
|
839
|
+
nextLabel?: string;
|
|
840
|
+
onPageChange?: (page: number) => void;
|
|
841
|
+
page?: number;
|
|
842
|
+
pageSize?: number;
|
|
843
|
+
previousLabel?: string;
|
|
844
|
+
shape?: Shape;
|
|
845
|
+
showEdges?: boolean;
|
|
846
|
+
siblingCount?: number;
|
|
847
|
+
size?: Size;
|
|
848
|
+
total?: number;
|
|
849
|
+
variant?: PaginatorVariant;
|
|
850
|
+
}
|
|
851
|
+
type PaginatorRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
852
|
+
type PaginatorProps = Omit<ComponentProps, 'children' | 'index'> & PaginatorRootAttributes & PaginatorOwnProps;
|
|
853
|
+
declare const Paginator: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & PaginatorRootAttributes & PaginatorOwnProps & react.RefAttributes<HTMLElement>>;
|
|
854
|
+
|
|
827
855
|
type PinInputType = 'numeric' | 'alphanumeric' | 'text';
|
|
828
856
|
|
|
829
857
|
type PinInputVariant = 'outline' | 'filled' | 'underline' | 'unstyled';
|
|
@@ -1125,6 +1153,40 @@ type SkeletonRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'hidden' | 'i
|
|
|
1125
1153
|
type SkeletonProps = Omit<ComponentProps, 'index'> & SkeletonRootAttributes & SkeletonOwnProps;
|
|
1126
1154
|
declare const Skeleton: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & SkeletonRootAttributes & SkeletonOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1127
1155
|
|
|
1156
|
+
interface SliderMark {
|
|
1157
|
+
label?: ReactNode;
|
|
1158
|
+
value: number;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
type SliderValue = number | [number, number];
|
|
1162
|
+
type SliderVariant = 'outline' | 'solid' | 'unstyled';
|
|
1163
|
+
type SliderOrientation = 'horizontal' | 'vertical';
|
|
1164
|
+
type SliderPart = 'mark' | 'markLabel' | 'range' | 'thumb' | 'track';
|
|
1165
|
+
interface SliderOwnProps {
|
|
1166
|
+
classNames?: Partial<Record<SliderPart, string>>;
|
|
1167
|
+
colorScheme?: ColorScheme;
|
|
1168
|
+
defaultValue?: SliderValue;
|
|
1169
|
+
disabled?: boolean;
|
|
1170
|
+
formatValue?: (value: number) => string;
|
|
1171
|
+
getThumbLabel?: (index: number) => string;
|
|
1172
|
+
invalid?: boolean;
|
|
1173
|
+
marks?: boolean | number[] | SliderMark[];
|
|
1174
|
+
max?: number;
|
|
1175
|
+
min?: number;
|
|
1176
|
+
name?: string;
|
|
1177
|
+
onValueChange?: (value: SliderValue) => void;
|
|
1178
|
+
onValueCommit?: (value: SliderValue) => void;
|
|
1179
|
+
orientation?: SliderOrientation;
|
|
1180
|
+
readOnly?: boolean;
|
|
1181
|
+
size?: Size;
|
|
1182
|
+
step?: number;
|
|
1183
|
+
value?: SliderValue;
|
|
1184
|
+
variant?: SliderVariant;
|
|
1185
|
+
}
|
|
1186
|
+
type SliderRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
1187
|
+
type SliderProps = Omit<ComponentProps, 'children' | 'index'> & SliderRootAttributes & SliderOwnProps;
|
|
1188
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & SliderRootAttributes & SliderOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
1189
|
+
|
|
1128
1190
|
interface SpinnerOwnProps {
|
|
1129
1191
|
color?: ColorShade;
|
|
1130
1192
|
size?: Size;
|
|
@@ -1363,4 +1425,52 @@ interface TooltipProps {
|
|
|
1363
1425
|
type TooltipVariant = 'solid' | 'outline' | 'unstyled';
|
|
1364
1426
|
declare function Tooltip({ children, className, closeDelay, content, defaultOpen, disabled, offset, onOpenChange, open: openProp, openDelay, placement, size, style, variant, }: Readonly<TooltipProps>): ReactNode;
|
|
1365
1427
|
|
|
1366
|
-
|
|
1428
|
+
type TreeSelection = 'checkbox' | 'multiple' | 'none' | 'single';
|
|
1429
|
+
type TreeVariant = 'accent' | 'ghost' | 'solid' | 'unstyled';
|
|
1430
|
+
|
|
1431
|
+
interface TreeBaseProps {
|
|
1432
|
+
cascade?: boolean;
|
|
1433
|
+
colorScheme?: ColorScheme;
|
|
1434
|
+
defaultExpanded?: string[];
|
|
1435
|
+
expanded?: string[];
|
|
1436
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
1437
|
+
size?: Size;
|
|
1438
|
+
variant?: TreeVariant;
|
|
1439
|
+
}
|
|
1440
|
+
interface TreeSingleProps {
|
|
1441
|
+
defaultValue?: string;
|
|
1442
|
+
onValueChange?: (value: string) => void;
|
|
1443
|
+
selection?: 'none' | 'single';
|
|
1444
|
+
value?: string;
|
|
1445
|
+
}
|
|
1446
|
+
interface TreeMultipleProps {
|
|
1447
|
+
defaultValue?: string[];
|
|
1448
|
+
onValueChange?: (value: string[]) => void;
|
|
1449
|
+
selection: 'checkbox' | 'multiple';
|
|
1450
|
+
value?: string[];
|
|
1451
|
+
}
|
|
1452
|
+
type TreeOwnProps = TreeBaseProps & (TreeMultipleProps | TreeSingleProps);
|
|
1453
|
+
type TreeRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1454
|
+
type TreeProps = Omit<ComponentProps, 'index'> & TreeRootAttributes & TreeOwnProps;
|
|
1455
|
+
declare const Tree: react.ForwardRefExoticComponent<TreeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1456
|
+
|
|
1457
|
+
interface TreeItemOwnProps {
|
|
1458
|
+
disabled?: boolean;
|
|
1459
|
+
value: string;
|
|
1460
|
+
}
|
|
1461
|
+
type TreeItemRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1462
|
+
type TreeItemProps = Omit<ComponentProps, 'index'> & TreeItemRootAttributes & TreeItemOwnProps;
|
|
1463
|
+
declare const TreeItem: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemRootAttributes & TreeItemOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1464
|
+
|
|
1465
|
+
type TreeItemGroupRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'children' | 'title'>;
|
|
1466
|
+
type TreeItemGroupProps = Omit<ComponentProps, 'index'> & TreeItemGroupRootAttributes;
|
|
1467
|
+
declare const TreeItemGroup: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemGroupRootAttributes & react.RefAttributes<HTMLElement>>;
|
|
1468
|
+
|
|
1469
|
+
interface TreeItemLabelOwnProps {
|
|
1470
|
+
icon?: ReactNode;
|
|
1471
|
+
}
|
|
1472
|
+
type TreeItemLabelRootAttributes = Pick<HTMLAttributes<HTMLSpanElement>, 'children' | 'title'>;
|
|
1473
|
+
type TreeItemLabelProps = Omit<ComponentProps, 'index'> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps;
|
|
1474
|
+
declare const TreeItemLabel: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1475
|
+
|
|
1476
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionOwnProps, type AccordionProps, AccordionTrigger, type AccordionTriggerPart, type AccordionTriggerProps, type AccordionVariant, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbOwnProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbVariant, type Breakpoints, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Carousel, CarouselDots, type CarouselDotsProps, CarouselNext, type CarouselNextProps, type CarouselOwnProps, CarouselPlayPause, type CarouselPlayPauseProps, CarouselPrev, type CarouselPrevProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselSlides, type CarouselSlidesProps, type CarouselVariant, Checkbox, type CheckboxProps, Chip, type ChipPart, type ChipProps, type ChipVariant, Collapse, type CollapseOwnProps, type CollapseProps, type CollapseVariant, type ColorMode, type ColorModeSetting, type ColorPalette, type ColorScheme, type ColorShade, type ComponentProps, DatePicker, type DatePickerConfig, type DatePickerProps, type DateRange, type DeepPartial, Dropdown, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, DropdownMenu, type DropdownMenuProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, DropdownTrigger, type DropdownTriggerProps, Field, type FieldControlProps, type FieldOrientation, type FieldProps, type FileRejection, type FileRejectionReason, FileUpload, type FileUploadOwnProps, type FileUploadPart, type FileUploadProps, type FileUploadVariant, type FontSizes, type FontWeights, Icon, type IconProps, Input, type InputProps, type LazyLoadedComponent, type LineHeights, List, ListDivider, type ListDividerProps, ListItem, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, type MaskChangeHandler, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, ModalTrigger, type ModalTriggerProps, Navbar, NavbarBrand, type NavbarBrandProps, type NavbarBreakpoint, NavbarContent, type NavbarContentProps, NavbarItem, type NavbarItemProps, type NavbarOwnProps, type NavbarProps, NavbarToggle, type NavbarToggleProps, type NavbarVariant, NumberInput, type NumberInputPart, type NumberInputProps, type NumberInputVariant, Paginator, type PaginatorOwnProps, type PaginatorPart, type PaginatorProps, type PaginatorVariant, PinInput, type PinInputProps, type PinInputType, type PinInputVariant, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, ProgressBar, type ProgressBarProps, type ProgressBarVariant, type Radii, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingPart, type RatingProps, type RatingVariant, Select, SelectContent, type SelectContentPart, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectOption, type SelectOptionPart, type SelectOptionProps, type SelectProps, SelectTrigger, type SelectTriggerPart, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, type SelectedOption, type SemanticColors, type Shade, type ShadeLevel, type Shadows, type Shape, Sidebar, type SidebarBreakpoint, SidebarContent, type SidebarContentProps, SidebarItem, type SidebarItemPart, type SidebarItemProps, type SidebarOwnProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarSide, SidebarToggle, type SidebarToggleProps, type SidebarVariant, type Size, type Sizes, Skeleton, type SkeletonProps, type SkeletonShape, type SkeletonVariant, Slider, type SliderMark, type SliderOrientation, type SliderOwnProps, type SliderPart, type SliderProps, type SliderValue, type SliderVariant, type Spaces, Spinner, type SpinnerProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, StepSeparator, type StepSeparatorProps, type StepStatus, StepTitle, type StepTitleProps, Stepper, type StepperOrientation, type StepperOwnProps, type StepperProps, type StepperVariant, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableOwnProps, type TableProps, TableRow, type TableRowProps, type TableSortDirection, type TableVariant, Tabs, type TabsProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, type ToastAction, type ToastApi, type ToastContent, type ToastIcons, type ToastOptions, type ToastPart, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastStatus, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipProps, Tree, TreeItem, TreeItemGroup, type TreeItemGroupProps, TreeItemLabel, type TreeItemLabelOwnProps, type TreeItemLabelProps, type TreeItemOwnProps, type TreeItemProps, type TreeOwnProps, type TreeProps, type TreeSelection, type TreeVariant, type Typography, type UseClickOutsideProps, type UseDebounceProps, type UseMaskProps, type UseMaskResult, type ZIndeces, applyMask, colorVar, deepMerge, defaultDarkTheme, defaultTheme, formatDate, getContrastColor, getContrastRatio, getDarkenColor, getDateFormatByLanguage, getDateFromDateString, getDateStringByLanguage, getDaysOfWeekByLanguage, getLightenColor, getMonthsByLanguage, lazyLoadContent, themeToCssVars, useClickOutside, useDebounce, useMask, useTheme, useToast, validateFormatDate };
|
package/dist/index.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ interface ButtonOwnProps {
|
|
|
339
339
|
variant?: ButtonVariant;
|
|
340
340
|
}
|
|
341
341
|
type ButtonVariant = 'solid' | 'outline' | 'link' | 'icon' | 'ghost' | 'unstyled';
|
|
342
|
-
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
342
|
+
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-current' | 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
343
343
|
type ButtonProps = ComponentProps & ButtonRootAttributes & ButtonOwnProps;
|
|
344
344
|
declare const Button: react.ForwardRefExoticComponent<ComponentProps & ButtonRootAttributes & ButtonOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
345
345
|
|
|
@@ -824,6 +824,34 @@ type NumberInputRootAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'ar
|
|
|
824
824
|
type NumberInputProps = Omit<ComponentProps, 'index'> & NumberInputRootAttributes & NumberInputOwnProps;
|
|
825
825
|
declare const NumberInput: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & NumberInputRootAttributes & NumberInputOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
826
826
|
|
|
827
|
+
type PaginatorVariant = 'ghost' | 'outline' | 'solid' | 'unstyled';
|
|
828
|
+
type PaginatorPart = 'ellipsis' | 'first' | 'item' | 'last' | 'list' | 'next' | 'page' | 'previous';
|
|
829
|
+
interface PaginatorOwnProps {
|
|
830
|
+
boundaryCount?: number;
|
|
831
|
+
classNames?: Partial<Record<PaginatorPart, string>>;
|
|
832
|
+
colorScheme?: ColorScheme;
|
|
833
|
+
count?: number;
|
|
834
|
+
defaultPage?: number;
|
|
835
|
+
disabled?: boolean;
|
|
836
|
+
firstLabel?: string;
|
|
837
|
+
getPageLabel?: (page: number, current: boolean) => string;
|
|
838
|
+
lastLabel?: string;
|
|
839
|
+
nextLabel?: string;
|
|
840
|
+
onPageChange?: (page: number) => void;
|
|
841
|
+
page?: number;
|
|
842
|
+
pageSize?: number;
|
|
843
|
+
previousLabel?: string;
|
|
844
|
+
shape?: Shape;
|
|
845
|
+
showEdges?: boolean;
|
|
846
|
+
siblingCount?: number;
|
|
847
|
+
size?: Size;
|
|
848
|
+
total?: number;
|
|
849
|
+
variant?: PaginatorVariant;
|
|
850
|
+
}
|
|
851
|
+
type PaginatorRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
852
|
+
type PaginatorProps = Omit<ComponentProps, 'children' | 'index'> & PaginatorRootAttributes & PaginatorOwnProps;
|
|
853
|
+
declare const Paginator: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & PaginatorRootAttributes & PaginatorOwnProps & react.RefAttributes<HTMLElement>>;
|
|
854
|
+
|
|
827
855
|
type PinInputType = 'numeric' | 'alphanumeric' | 'text';
|
|
828
856
|
|
|
829
857
|
type PinInputVariant = 'outline' | 'filled' | 'underline' | 'unstyled';
|
|
@@ -1125,6 +1153,40 @@ type SkeletonRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'hidden' | 'i
|
|
|
1125
1153
|
type SkeletonProps = Omit<ComponentProps, 'index'> & SkeletonRootAttributes & SkeletonOwnProps;
|
|
1126
1154
|
declare const Skeleton: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & SkeletonRootAttributes & SkeletonOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1127
1155
|
|
|
1156
|
+
interface SliderMark {
|
|
1157
|
+
label?: ReactNode;
|
|
1158
|
+
value: number;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
type SliderValue = number | [number, number];
|
|
1162
|
+
type SliderVariant = 'outline' | 'solid' | 'unstyled';
|
|
1163
|
+
type SliderOrientation = 'horizontal' | 'vertical';
|
|
1164
|
+
type SliderPart = 'mark' | 'markLabel' | 'range' | 'thumb' | 'track';
|
|
1165
|
+
interface SliderOwnProps {
|
|
1166
|
+
classNames?: Partial<Record<SliderPart, string>>;
|
|
1167
|
+
colorScheme?: ColorScheme;
|
|
1168
|
+
defaultValue?: SliderValue;
|
|
1169
|
+
disabled?: boolean;
|
|
1170
|
+
formatValue?: (value: number) => string;
|
|
1171
|
+
getThumbLabel?: (index: number) => string;
|
|
1172
|
+
invalid?: boolean;
|
|
1173
|
+
marks?: boolean | number[] | SliderMark[];
|
|
1174
|
+
max?: number;
|
|
1175
|
+
min?: number;
|
|
1176
|
+
name?: string;
|
|
1177
|
+
onValueChange?: (value: SliderValue) => void;
|
|
1178
|
+
onValueCommit?: (value: SliderValue) => void;
|
|
1179
|
+
orientation?: SliderOrientation;
|
|
1180
|
+
readOnly?: boolean;
|
|
1181
|
+
size?: Size;
|
|
1182
|
+
step?: number;
|
|
1183
|
+
value?: SliderValue;
|
|
1184
|
+
variant?: SliderVariant;
|
|
1185
|
+
}
|
|
1186
|
+
type SliderRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
1187
|
+
type SliderProps = Omit<ComponentProps, 'children' | 'index'> & SliderRootAttributes & SliderOwnProps;
|
|
1188
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & SliderRootAttributes & SliderOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
1189
|
+
|
|
1128
1190
|
interface SpinnerOwnProps {
|
|
1129
1191
|
color?: ColorShade;
|
|
1130
1192
|
size?: Size;
|
|
@@ -1363,4 +1425,52 @@ interface TooltipProps {
|
|
|
1363
1425
|
type TooltipVariant = 'solid' | 'outline' | 'unstyled';
|
|
1364
1426
|
declare function Tooltip({ children, className, closeDelay, content, defaultOpen, disabled, offset, onOpenChange, open: openProp, openDelay, placement, size, style, variant, }: Readonly<TooltipProps>): ReactNode;
|
|
1365
1427
|
|
|
1366
|
-
|
|
1428
|
+
type TreeSelection = 'checkbox' | 'multiple' | 'none' | 'single';
|
|
1429
|
+
type TreeVariant = 'accent' | 'ghost' | 'solid' | 'unstyled';
|
|
1430
|
+
|
|
1431
|
+
interface TreeBaseProps {
|
|
1432
|
+
cascade?: boolean;
|
|
1433
|
+
colorScheme?: ColorScheme;
|
|
1434
|
+
defaultExpanded?: string[];
|
|
1435
|
+
expanded?: string[];
|
|
1436
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
1437
|
+
size?: Size;
|
|
1438
|
+
variant?: TreeVariant;
|
|
1439
|
+
}
|
|
1440
|
+
interface TreeSingleProps {
|
|
1441
|
+
defaultValue?: string;
|
|
1442
|
+
onValueChange?: (value: string) => void;
|
|
1443
|
+
selection?: 'none' | 'single';
|
|
1444
|
+
value?: string;
|
|
1445
|
+
}
|
|
1446
|
+
interface TreeMultipleProps {
|
|
1447
|
+
defaultValue?: string[];
|
|
1448
|
+
onValueChange?: (value: string[]) => void;
|
|
1449
|
+
selection: 'checkbox' | 'multiple';
|
|
1450
|
+
value?: string[];
|
|
1451
|
+
}
|
|
1452
|
+
type TreeOwnProps = TreeBaseProps & (TreeMultipleProps | TreeSingleProps);
|
|
1453
|
+
type TreeRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1454
|
+
type TreeProps = Omit<ComponentProps, 'index'> & TreeRootAttributes & TreeOwnProps;
|
|
1455
|
+
declare const Tree: react.ForwardRefExoticComponent<TreeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1456
|
+
|
|
1457
|
+
interface TreeItemOwnProps {
|
|
1458
|
+
disabled?: boolean;
|
|
1459
|
+
value: string;
|
|
1460
|
+
}
|
|
1461
|
+
type TreeItemRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1462
|
+
type TreeItemProps = Omit<ComponentProps, 'index'> & TreeItemRootAttributes & TreeItemOwnProps;
|
|
1463
|
+
declare const TreeItem: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemRootAttributes & TreeItemOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1464
|
+
|
|
1465
|
+
type TreeItemGroupRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'children' | 'title'>;
|
|
1466
|
+
type TreeItemGroupProps = Omit<ComponentProps, 'index'> & TreeItemGroupRootAttributes;
|
|
1467
|
+
declare const TreeItemGroup: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemGroupRootAttributes & react.RefAttributes<HTMLElement>>;
|
|
1468
|
+
|
|
1469
|
+
interface TreeItemLabelOwnProps {
|
|
1470
|
+
icon?: ReactNode;
|
|
1471
|
+
}
|
|
1472
|
+
type TreeItemLabelRootAttributes = Pick<HTMLAttributes<HTMLSpanElement>, 'children' | 'title'>;
|
|
1473
|
+
type TreeItemLabelProps = Omit<ComponentProps, 'index'> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps;
|
|
1474
|
+
declare const TreeItemLabel: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1475
|
+
|
|
1476
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionOwnProps, type AccordionProps, AccordionTrigger, type AccordionTriggerPart, type AccordionTriggerProps, type AccordionVariant, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbOwnProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbVariant, type Breakpoints, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Carousel, CarouselDots, type CarouselDotsProps, CarouselNext, type CarouselNextProps, type CarouselOwnProps, CarouselPlayPause, type CarouselPlayPauseProps, CarouselPrev, type CarouselPrevProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselSlides, type CarouselSlidesProps, type CarouselVariant, Checkbox, type CheckboxProps, Chip, type ChipPart, type ChipProps, type ChipVariant, Collapse, type CollapseOwnProps, type CollapseProps, type CollapseVariant, type ColorMode, type ColorModeSetting, type ColorPalette, type ColorScheme, type ColorShade, type ComponentProps, DatePicker, type DatePickerConfig, type DatePickerProps, type DateRange, type DeepPartial, Dropdown, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, DropdownMenu, type DropdownMenuProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, DropdownTrigger, type DropdownTriggerProps, Field, type FieldControlProps, type FieldOrientation, type FieldProps, type FileRejection, type FileRejectionReason, FileUpload, type FileUploadOwnProps, type FileUploadPart, type FileUploadProps, type FileUploadVariant, type FontSizes, type FontWeights, Icon, type IconProps, Input, type InputProps, type LazyLoadedComponent, type LineHeights, List, ListDivider, type ListDividerProps, ListItem, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, type MaskChangeHandler, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, ModalTrigger, type ModalTriggerProps, Navbar, NavbarBrand, type NavbarBrandProps, type NavbarBreakpoint, NavbarContent, type NavbarContentProps, NavbarItem, type NavbarItemProps, type NavbarOwnProps, type NavbarProps, NavbarToggle, type NavbarToggleProps, type NavbarVariant, NumberInput, type NumberInputPart, type NumberInputProps, type NumberInputVariant, Paginator, type PaginatorOwnProps, type PaginatorPart, type PaginatorProps, type PaginatorVariant, PinInput, type PinInputProps, type PinInputType, type PinInputVariant, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, ProgressBar, type ProgressBarProps, type ProgressBarVariant, type Radii, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingPart, type RatingProps, type RatingVariant, Select, SelectContent, type SelectContentPart, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectOption, type SelectOptionPart, type SelectOptionProps, type SelectProps, SelectTrigger, type SelectTriggerPart, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, type SelectedOption, type SemanticColors, type Shade, type ShadeLevel, type Shadows, type Shape, Sidebar, type SidebarBreakpoint, SidebarContent, type SidebarContentProps, SidebarItem, type SidebarItemPart, type SidebarItemProps, type SidebarOwnProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarSide, SidebarToggle, type SidebarToggleProps, type SidebarVariant, type Size, type Sizes, Skeleton, type SkeletonProps, type SkeletonShape, type SkeletonVariant, Slider, type SliderMark, type SliderOrientation, type SliderOwnProps, type SliderPart, type SliderProps, type SliderValue, type SliderVariant, type Spaces, Spinner, type SpinnerProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, StepSeparator, type StepSeparatorProps, type StepStatus, StepTitle, type StepTitleProps, Stepper, type StepperOrientation, type StepperOwnProps, type StepperProps, type StepperVariant, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableOwnProps, type TableProps, TableRow, type TableRowProps, type TableSortDirection, type TableVariant, Tabs, type TabsProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, type ToastAction, type ToastApi, type ToastContent, type ToastIcons, type ToastOptions, type ToastPart, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastStatus, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipProps, Tree, TreeItem, TreeItemGroup, type TreeItemGroupProps, TreeItemLabel, type TreeItemLabelOwnProps, type TreeItemLabelProps, type TreeItemOwnProps, type TreeItemProps, type TreeOwnProps, type TreeProps, type TreeSelection, type TreeVariant, type Typography, type UseClickOutsideProps, type UseDebounceProps, type UseMaskProps, type UseMaskResult, type ZIndeces, applyMask, colorVar, deepMerge, defaultDarkTheme, defaultTheme, formatDate, getContrastColor, getContrastRatio, getDarkenColor, getDateFormatByLanguage, getDateFromDateString, getDateStringByLanguage, getDaysOfWeekByLanguage, getLightenColor, getMonthsByLanguage, lazyLoadContent, themeToCssVars, useClickOutside, useDebounce, useMask, useTheme, useToast, validateFormatDate };
|