@commercetools/nimbus 0.0.7-rc9 → 0.0.8
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/index.cjs +21 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1070 -203
- package/dist/index.js +19575 -10788
- package/dist/index.js.map +1 -1
- package/package.json +24 -25
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccordionItemProps as AccordionItemProps_2 } from './accordion.types';
|
|
2
|
+
import { AccordionItemProps as AccordionItemProps_3 } from '..';
|
|
2
3
|
import { AlertActionsProps as AlertActionsProps_2 } from './alert.types';
|
|
3
4
|
import { AlertDescriptionProps as AlertDescriptionProps_2 } from './alert.types';
|
|
4
5
|
import { AlertDismissButtonProps as AlertDismissButtonProps_2 } from './alert.types';
|
|
@@ -7,50 +8,61 @@ import { AlertTitleProps as AlertTitleProps_2 } from './alert.types';
|
|
|
7
8
|
import { AriaButtonProps } from 'react-aria';
|
|
8
9
|
import { AriaCheckboxProps } from 'react-aria';
|
|
9
10
|
import { AriaLinkOptions } from 'react-aria';
|
|
11
|
+
import { AriaNumberFieldProps } from 'react-aria';
|
|
10
12
|
import { AriaToggleButtonGroupProps } from 'react-aria';
|
|
11
13
|
import { AriaToggleButtonProps } from 'react-aria';
|
|
12
|
-
import {
|
|
13
|
-
import { CardContentProps
|
|
14
|
-
import { CardHeaderProps
|
|
14
|
+
import { AutocompleteProps } from 'react-aria-components';
|
|
15
|
+
import { CardContentProps } from './card.slots';
|
|
16
|
+
import { CardHeaderProps } from './card.slots';
|
|
15
17
|
import { CardProps as CardProps_2 } from './card.types';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
18
|
+
import { CodeProps } from '@chakra-ui/react';
|
|
19
|
+
import { ComboBoxOptionGroupProps as ComboBoxOptionGroupProps_2 } from './combobox.types';
|
|
20
|
+
import { ComboBoxOptionProps as ComboBoxOptionProps_2 } from './combobox.types';
|
|
21
|
+
import { ComboBoxProps } from 'react-aria-components';
|
|
22
|
+
import { ComboBoxRootProps as ComboBoxRootProps_2 } from './combobox.types';
|
|
23
|
+
import { ComponentProps } from 'react';
|
|
24
|
+
import { default as default_2 } from 'react';
|
|
19
25
|
import { DetailedHTMLProps } from 'react';
|
|
20
|
-
import { Dialog } from '@chakra-ui/react';
|
|
26
|
+
import { Dialog as Dialog_2 } from '@chakra-ui/react';
|
|
21
27
|
import { DisclosureGroupProps as DisclosureGroupProps_2 } from './accordion.types';
|
|
22
28
|
import { DisclosureProps } from 'react-aria-components';
|
|
23
29
|
import { Dispatch } from 'react';
|
|
24
|
-
import { Em } from '@chakra-ui/react';
|
|
25
30
|
import { FC } from 'react';
|
|
26
31
|
import { Flex } from '@chakra-ui/react';
|
|
27
32
|
import { FocusableOptions } from 'react-aria';
|
|
33
|
+
import { FormFieldDescriptionSlotProps } from './form-field.slots';
|
|
34
|
+
import { FormFieldErrorSlotProps } from './form-field.slots';
|
|
35
|
+
import { FormFieldInputSlotProps } from './form-field.slots';
|
|
36
|
+
import { FormFieldLabelSlotProps } from './form-field.slots';
|
|
28
37
|
import { FormFieldProps as FormFieldProps_2 } from './form-field.types';
|
|
29
38
|
import { ForwardRefExoticComponent } from 'react';
|
|
30
39
|
import { GridItemProps } from '@chakra-ui/react';
|
|
31
40
|
import { GridProps as GridProps_2 } from '@chakra-ui/react';
|
|
32
41
|
import { Heading } from '@chakra-ui/react';
|
|
33
|
-
import { Highlight as Highlight_2 } from '@chakra-ui/react';
|
|
34
42
|
import { HTMLAttributes } from 'react';
|
|
35
43
|
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
36
44
|
import { ImageProps as ImageProps_2 } from '@chakra-ui/react';
|
|
37
45
|
import { JSX } from 'react/jsx-runtime';
|
|
38
|
-
import { JSX as JSX_2 } from 'react';
|
|
39
46
|
import { JsxStyleProps } from '@chakra-ui/react';
|
|
40
|
-
import {
|
|
41
|
-
import { List } from '@chakra-ui/react';
|
|
47
|
+
import { KbdProps } from '@chakra-ui/react';
|
|
48
|
+
import { List as List_2 } from '@chakra-ui/react';
|
|
42
49
|
import { ListBoxItemProps } from 'react-aria-components';
|
|
43
50
|
import { ListBoxProps } from 'react-aria-components';
|
|
44
51
|
import { ListBoxSectionProps } from 'react-aria-components';
|
|
45
|
-
import {
|
|
52
|
+
import { ListIndicatorProps } from '@chakra-ui/react';
|
|
46
53
|
import { PatchHtmlProps } from '@chakra-ui/react';
|
|
47
54
|
import { PolymorphicProps } from '@chakra-ui/react';
|
|
48
55
|
import { PropsWithChildren } from 'react';
|
|
56
|
+
import { RadioGroupProps as RadioGroupProps_2 } from 'react-aria-components';
|
|
57
|
+
import { RadioInputOptionProps as RadioInputOptionProps_2 } from './radio-input.types';
|
|
58
|
+
import { RadioInputRootProps as RadioInputRootProps_2 } from './radio-input.types';
|
|
59
|
+
import { RadioProps } from 'react-aria-components';
|
|
49
60
|
import { ReactNode } from 'react';
|
|
50
61
|
import { RecipeDefinition } from '@chakra-ui/react';
|
|
51
62
|
import { RecipeProps } from '@chakra-ui/react';
|
|
52
63
|
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
53
64
|
import { RecipeVariantRecord } from '@chakra-ui/react';
|
|
65
|
+
import { Ref } from 'react';
|
|
54
66
|
import { RefAttributes } from 'react';
|
|
55
67
|
import { RefObject } from 'react';
|
|
56
68
|
import { SelectOptionGroupProps as SelectOptionGroupProps_2 } from './select.types';
|
|
@@ -75,12 +87,13 @@ import { TagProps } from 'react-aria-components';
|
|
|
75
87
|
import { TextFieldProps } from 'react-aria-components';
|
|
76
88
|
import { TextProps as TextProps_2 } from '@chakra-ui/react';
|
|
77
89
|
import { ThemeProviderProps } from 'next-themes';
|
|
90
|
+
import { TimeFieldStateOptions } from 'react-stately';
|
|
91
|
+
import { TimeValue } from 'react-aria';
|
|
78
92
|
import { ToggleButton } from 'react-aria-components';
|
|
79
93
|
import { ToggleButtonGroup as ToggleButtonGroup_2 } from 'react-aria-components';
|
|
80
94
|
import { ToggleButtonGroupButtonComponent as ToggleButtonGroupButtonComponent_2 } from './toggle-button-group.types';
|
|
81
95
|
import { ToggleButtonGroupRootComponent as ToggleButtonGroupRootComponent_2 } from './toggle-button-group.types';
|
|
82
96
|
import { TooltipProps as TooltipProps_2 } from 'react-aria-components';
|
|
83
|
-
import { TooltipTrigger as TooltipTrigger_2 } from 'react-aria-components';
|
|
84
97
|
import { TooltipTriggerComponentProps } from 'react-aria-components';
|
|
85
98
|
import { UnstyledProp } from '@chakra-ui/react';
|
|
86
99
|
import { useButton } from 'react-aria';
|
|
@@ -100,8 +113,12 @@ export declare const Accordion: {
|
|
|
100
113
|
isExpanded?: boolean;
|
|
101
114
|
onExpandedChange?: (isExpanded: boolean) => void;
|
|
102
115
|
} & RefAttributes<HTMLDivElement>>;
|
|
103
|
-
Header: ForwardRefExoticComponent<
|
|
104
|
-
|
|
116
|
+
Header: ForwardRefExoticComponent< {
|
|
117
|
+
children: ReactNode;
|
|
118
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
119
|
+
Content: ForwardRefExoticComponent<Omit<{
|
|
120
|
+
children: ReactNode;
|
|
121
|
+
} & Omit<PatchHtmlProps<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "display" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "emptyCells" | "filter" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollBehavior" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "scrollSnapMarginTop" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "all" | "animation" | "animationRange" | "background" | "backgroundPosition" | "border" | "borderBlock" | "borderBlockEnd" | "borderBlockStart" | "borderBottom" | "borderColor" | "borderImage" | "borderInline" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "caret" | "columnRule" | "columns" | "containIntrinsicSize" | "flex" | "flexFlow" | "font" | "gap" | "grid" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "inset" | "insetBlock" | "insetInline" | "lineClamp" | "listStyle" | "margin" | "marginBlock" | "marginInline" | "mask" | "maskBorder" | "offset" | "outline" | "overflow" | "overscrollBehavior" | "padding" | "paddingBlock" | "paddingInline" | "placeContent" | "placeItems" | "placeSelf" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginInline" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingInline" | "scrollSnapMargin" | "scrollTimeline" | "textDecoration" | "textEmphasis" | "transition" | "viewTimeline" | "WebkitAppearance" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "WebkitBorderBefore" | "WebkitMask" | "WebkitTextStroke" | "boxAlign" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "clip" | "gridColumnGap" | "gridGap" | "gridRowGap" | "imeMode" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapTypeX" | "scrollSnapTypeY" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "colorPalette" | "focusVisibleRing" | "layerStyle" | "textStyle" | "css" | "anchorName" | "anchorScope" | "colorInterpolationFilters" | "cx" | "cy" | "d" | "fieldSizing" | "initialLetterAlign" | "interpolateSize" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "r" | "rx" | "ry" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textSpacingTrim" | "textWrapMode" | "textWrapStyle" | "x" | "y" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "animationStyle" | keyof PolymorphicProps> & Omit<JsxStyleProps, never> & PolymorphicProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
105
122
|
HeaderRightContent: ForwardRefExoticComponent<Omit<PatchHtmlProps<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "display" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "emptyCells" | "filter" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollBehavior" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "scrollSnapMarginTop" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "all" | "animation" | "animationRange" | "background" | "backgroundPosition" | "border" | "borderBlock" | "borderBlockEnd" | "borderBlockStart" | "borderBottom" | "borderColor" | "borderImage" | "borderInline" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "caret" | "columnRule" | "columns" | "containIntrinsicSize" | "flex" | "flexFlow" | "font" | "gap" | "grid" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "inset" | "insetBlock" | "insetInline" | "lineClamp" | "listStyle" | "margin" | "marginBlock" | "marginInline" | "mask" | "maskBorder" | "offset" | "outline" | "overflow" | "overscrollBehavior" | "padding" | "paddingBlock" | "paddingInline" | "placeContent" | "placeItems" | "placeSelf" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginInline" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingInline" | "scrollSnapMargin" | "scrollTimeline" | "textDecoration" | "textEmphasis" | "transition" | "viewTimeline" | "WebkitAppearance" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "WebkitBorderBefore" | "WebkitMask" | "WebkitTextStroke" | "boxAlign" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "clip" | "gridColumnGap" | "gridGap" | "gridRowGap" | "imeMode" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapTypeX" | "scrollSnapTypeY" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "colorPalette" | "focusVisibleRing" | "layerStyle" | "textStyle" | "css" | "anchorName" | "anchorScope" | "colorInterpolationFilters" | "cx" | "cy" | "d" | "fieldSizing" | "initialLetterAlign" | "interpolateSize" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "r" | "rx" | "ry" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textSpacingTrim" | "textWrapMode" | "textWrapStyle" | "x" | "y" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "animationStyle" | keyof PolymorphicProps> & Omit<JsxStyleProps, never> & PolymorphicProps & RefAttributes<HTMLDivElement>>;
|
|
106
123
|
};
|
|
107
124
|
|
|
@@ -114,6 +131,35 @@ export declare type AccordionComposition = {
|
|
|
114
131
|
isFocusVisible: boolean;
|
|
115
132
|
};
|
|
116
133
|
|
|
134
|
+
export declare const _AccordionContent: default_2.ForwardRefExoticComponent<Omit<AccordionContentProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
|
|
136
|
+
declare type AccordionContentProps = {
|
|
137
|
+
/**
|
|
138
|
+
* The content to display
|
|
139
|
+
*/
|
|
140
|
+
children: ReactNode;
|
|
141
|
+
} & ComponentProps<typeof AccordionPanel>;
|
|
142
|
+
|
|
143
|
+
export declare const _AccordionHeader: default_2.ForwardRefExoticComponent<AccordionHeaderProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
144
|
+
|
|
145
|
+
declare type AccordionHeaderProps = {
|
|
146
|
+
/**
|
|
147
|
+
* The text / content to display in the Header
|
|
148
|
+
*/
|
|
149
|
+
children: ReactNode;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export declare const _AccordionHeaderRightContent: ForwardRefExoticComponent<Omit<PatchHtmlProps<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "display" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "emptyCells" | "filter" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollBehavior" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "scrollSnapMarginTop" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "all" | "animation" | "animationRange" | "background" | "backgroundPosition" | "border" | "borderBlock" | "borderBlockEnd" | "borderBlockStart" | "borderBottom" | "borderColor" | "borderImage" | "borderInline" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "caret" | "columnRule" | "columns" | "containIntrinsicSize" | "flex" | "flexFlow" | "font" | "gap" | "grid" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "inset" | "insetBlock" | "insetInline" | "lineClamp" | "listStyle" | "margin" | "marginBlock" | "marginInline" | "mask" | "maskBorder" | "offset" | "outline" | "overflow" | "overscrollBehavior" | "padding" | "paddingBlock" | "paddingInline" | "placeContent" | "placeItems" | "placeSelf" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginInline" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingInline" | "scrollSnapMargin" | "scrollTimeline" | "textDecoration" | "textEmphasis" | "transition" | "viewTimeline" | "WebkitAppearance" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "WebkitBorderBefore" | "WebkitMask" | "WebkitTextStroke" | "boxAlign" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "clip" | "gridColumnGap" | "gridGap" | "gridRowGap" | "imeMode" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapTypeX" | "scrollSnapTypeY" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "colorPalette" | "focusVisibleRing" | "layerStyle" | "textStyle" | "css" | "anchorName" | "anchorScope" | "colorInterpolationFilters" | "cx" | "cy" | "d" | "fieldSizing" | "initialLetterAlign" | "interpolateSize" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "r" | "rx" | "ry" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textSpacingTrim" | "textWrapMode" | "textWrapStyle" | "x" | "y" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "animationStyle" | keyof PolymorphicProps> & Omit<JsxStyleProps, never> & PolymorphicProps & RefAttributes<HTMLDivElement>>;
|
|
153
|
+
|
|
154
|
+
export declare const _AccordionItem: default_2.ForwardRefExoticComponent<AccordionItemProps_3 & {
|
|
155
|
+
children: default_2.ReactNode;
|
|
156
|
+
id?: string;
|
|
157
|
+
value?: string;
|
|
158
|
+
isDisabled?: boolean;
|
|
159
|
+
isExpanded?: boolean;
|
|
160
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
161
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
162
|
+
|
|
117
163
|
export declare type AccordionItemProps = {
|
|
118
164
|
isDisabled?: boolean;
|
|
119
165
|
isExpanded?: boolean;
|
|
@@ -123,6 +169,8 @@ export declare type AccordionItemProps = {
|
|
|
123
169
|
title?: string;
|
|
124
170
|
};
|
|
125
171
|
|
|
172
|
+
declare const AccordionPanel: ForwardRefExoticComponent<Omit<PatchHtmlProps<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "display" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "emptyCells" | "filter" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollBehavior" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "scrollSnapMarginTop" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "all" | "animation" | "animationRange" | "background" | "backgroundPosition" | "border" | "borderBlock" | "borderBlockEnd" | "borderBlockStart" | "borderBottom" | "borderColor" | "borderImage" | "borderInline" | "borderInlineEnd" | "borderInlineStart" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "caret" | "columnRule" | "columns" | "containIntrinsicSize" | "flex" | "flexFlow" | "font" | "gap" | "grid" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "inset" | "insetBlock" | "insetInline" | "lineClamp" | "listStyle" | "margin" | "marginBlock" | "marginInline" | "mask" | "maskBorder" | "offset" | "outline" | "overflow" | "overscrollBehavior" | "padding" | "paddingBlock" | "paddingInline" | "placeContent" | "placeItems" | "placeSelf" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginInline" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingInline" | "scrollSnapMargin" | "scrollTimeline" | "textDecoration" | "textEmphasis" | "transition" | "viewTimeline" | "WebkitAppearance" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "WebkitBorderBefore" | "WebkitMask" | "WebkitTextStroke" | "boxAlign" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "clip" | "gridColumnGap" | "gridGap" | "gridRowGap" | "imeMode" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapTypeX" | "scrollSnapTypeY" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "colorPalette" | "focusVisibleRing" | "layerStyle" | "textStyle" | "css" | "anchorName" | "anchorScope" | "colorInterpolationFilters" | "cx" | "cy" | "d" | "fieldSizing" | "initialLetterAlign" | "interpolateSize" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "r" | "rx" | "ry" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textSpacingTrim" | "textWrapMode" | "textWrapStyle" | "x" | "y" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "animationStyle" | keyof PolymorphicProps> & Omit<JsxStyleProps, never> & PolymorphicProps & RefAttributes<HTMLDivElement>>;
|
|
173
|
+
|
|
126
174
|
export declare interface AccordionProps extends Omit<DisclosureProps, "children" | "id"> {
|
|
127
175
|
additionalTriggerComponent?: ReactNode;
|
|
128
176
|
children: ReactNode;
|
|
@@ -130,6 +178,8 @@ export declare interface AccordionProps extends Omit<DisclosureProps, "children"
|
|
|
130
178
|
size?: "sm" | "md";
|
|
131
179
|
}
|
|
132
180
|
|
|
181
|
+
export declare const _AccordionRoot: default_2.ForwardRefExoticComponent<Omit<DisclosureGroupProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
182
|
+
|
|
133
183
|
export declare type AccordionRootProps = HTMLChakraProps<"div", RecipeVariantProps<typeof accordionSlotRecipe>>;
|
|
134
184
|
|
|
135
185
|
/**
|
|
@@ -194,12 +244,27 @@ export declare const Alert: {
|
|
|
194
244
|
};
|
|
195
245
|
};
|
|
196
246
|
|
|
247
|
+
export declare const _AlertActions: {
|
|
248
|
+
({ children, ...props }: AlertActionsProps): null;
|
|
249
|
+
displayName: string;
|
|
250
|
+
};
|
|
251
|
+
|
|
197
252
|
/** Base Chakra styling props for the `actions` slot (`div`). */
|
|
198
253
|
export declare type AlertActionsProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
199
254
|
|
|
255
|
+
export declare const _AlertDescription: {
|
|
256
|
+
({ children, ...props }: AlertDescriptionProps): null;
|
|
257
|
+
displayName: string;
|
|
258
|
+
};
|
|
259
|
+
|
|
200
260
|
/** Props for the `Alert.Description` sub-component (inherits from Text). */
|
|
201
261
|
export declare type AlertDescriptionProps = TextProps;
|
|
202
262
|
|
|
263
|
+
export declare const _AlertDismissButton: {
|
|
264
|
+
({ children, ...props }: AlertDismissButtonProps): null;
|
|
265
|
+
displayName: string;
|
|
266
|
+
};
|
|
267
|
+
|
|
203
268
|
/** Props for the `Alert.DismissButton` sub-component (inherits from Button). */
|
|
204
269
|
export declare type AlertDismissButtonProps = ButtonProps;
|
|
205
270
|
|
|
@@ -209,6 +274,7 @@ export declare type AlertIconProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
|
209
274
|
/** Final external props for the `<Alert>` component (variants + children + data-* attrs). */
|
|
210
275
|
export declare type AlertProps = PropsWithChildren<AlertVariantProps> & {
|
|
211
276
|
[key: `data-${string}`]: unknown;
|
|
277
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
212
278
|
};
|
|
213
279
|
|
|
214
280
|
/**
|
|
@@ -252,19 +318,34 @@ borderRadius: "200";
|
|
|
252
318
|
};
|
|
253
319
|
}>;
|
|
254
320
|
|
|
255
|
-
/**
|
|
256
|
-
|
|
321
|
+
/**
|
|
322
|
+
* Alert
|
|
323
|
+
* ============================================================
|
|
324
|
+
* Provides feedback to the user about the status of an action or system event
|
|
325
|
+
*/
|
|
326
|
+
export declare const _AlertRoot: AlertRootComponent;
|
|
327
|
+
|
|
328
|
+
/** Type signature for the main `Alert` component. */
|
|
329
|
+
export declare type AlertRootComponent = React.FC<AlertProps>;
|
|
257
330
|
|
|
258
331
|
/** Base Chakra styling props for the root `div` slot. */
|
|
259
332
|
export declare type AlertRootProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
260
333
|
|
|
334
|
+
export declare const _AlertTitle: {
|
|
335
|
+
({ children, ...props }: AlertTitleProps): null;
|
|
336
|
+
displayName: string;
|
|
337
|
+
};
|
|
338
|
+
|
|
261
339
|
/** Props for the `Alert.Title` sub-component (inherits from Text). */
|
|
262
340
|
export declare type AlertTitleProps = TextProps;
|
|
263
341
|
|
|
264
342
|
/** Combined root props including Chakra styles and recipe variants. */
|
|
265
343
|
declare type AlertVariantProps = AlertRootProps & RecipeVariantProps<typeof alertRecipe>;
|
|
266
344
|
|
|
267
|
-
export declare const Avatar:
|
|
345
|
+
export declare const Avatar: {
|
|
346
|
+
(props: AvatarProps): JSX.Element;
|
|
347
|
+
displayName: string;
|
|
348
|
+
};
|
|
268
349
|
|
|
269
350
|
export declare interface AvatarComponentProps extends HTMLAttributes<HTMLDivElement>, RecipeVariantProps<typeof avatarRecipe> {
|
|
270
351
|
/**
|
|
@@ -291,6 +372,7 @@ export declare interface AvatarComponentProps extends HTMLAttributes<HTMLDivElem
|
|
|
291
372
|
|
|
292
373
|
export declare interface AvatarProps extends FunctionalAvatarProps {
|
|
293
374
|
children?: React.ReactNode;
|
|
375
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
294
376
|
}
|
|
295
377
|
|
|
296
378
|
declare const avatarRecipe: RecipeDefinition< {
|
|
@@ -332,7 +414,10 @@ declare interface AvatarRootProps extends HTMLChakraProps<"div", AvatarRecipePro
|
|
|
332
414
|
* - allows overriding styles by using style-props
|
|
333
415
|
* - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)
|
|
334
416
|
*/
|
|
335
|
-
export declare const Badge:
|
|
417
|
+
export declare const Badge: {
|
|
418
|
+
(props: BadgeProps): JSX.Element;
|
|
419
|
+
displayName: string;
|
|
420
|
+
};
|
|
336
421
|
|
|
337
422
|
/**
|
|
338
423
|
* Main props interface for the Badge component.
|
|
@@ -341,6 +426,7 @@ export declare const Badge: ForwardRefExoticComponent<BadgeProps & RefAttributes
|
|
|
341
426
|
*/
|
|
342
427
|
export declare interface BadgeProps extends BadgeVariantProps {
|
|
343
428
|
children?: React.ReactNode;
|
|
429
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
344
430
|
}
|
|
345
431
|
|
|
346
432
|
/**
|
|
@@ -409,15 +495,20 @@ declare type BadgeVariantProps = BadgeRootProps & RecipeVariantProps<typeof badg
|
|
|
409
495
|
[key: `data-${string}`]: string;
|
|
410
496
|
};
|
|
411
497
|
|
|
412
|
-
export
|
|
413
|
-
|
|
414
|
-
|
|
498
|
+
export declare const Box: {
|
|
499
|
+
(props: BoxProps): JSX.Element;
|
|
500
|
+
displayName: string;
|
|
501
|
+
};
|
|
415
502
|
|
|
416
503
|
export declare interface BoxProps extends HTMLChakraProps<"div"> {
|
|
417
504
|
children?: React.ReactNode;
|
|
505
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
418
506
|
}
|
|
419
507
|
|
|
420
|
-
export declare const Button:
|
|
508
|
+
export declare const Button: {
|
|
509
|
+
(props: ButtonProps): JSX.Element;
|
|
510
|
+
displayName: string;
|
|
511
|
+
};
|
|
421
512
|
|
|
422
513
|
/**
|
|
423
514
|
* Recipe configuration for the ToggleButtonGroup component.
|
|
@@ -475,6 +566,8 @@ colorPalette: "neutral";
|
|
|
475
566
|
}>;
|
|
476
567
|
|
|
477
568
|
export declare interface ButtonProps extends FunctionalButtonProps {
|
|
569
|
+
slot?: string | null | undefined;
|
|
570
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
478
571
|
}
|
|
479
572
|
|
|
480
573
|
/**
|
|
@@ -489,34 +582,39 @@ declare interface ButtonRecipeProps extends RecipeProps<"button">, UnstyledProp
|
|
|
489
582
|
* This creates a complete set of props for the root element, combining
|
|
490
583
|
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
491
584
|
*/
|
|
492
|
-
declare
|
|
585
|
+
declare interface ButtonRootProps extends Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> {
|
|
586
|
+
slot?: string | null | undefined;
|
|
587
|
+
}
|
|
493
588
|
|
|
494
589
|
export declare const Card: {
|
|
495
|
-
Root:
|
|
590
|
+
Root: {
|
|
591
|
+
({ children, ref, ...props }: CardProps_2): JSX.Element;
|
|
592
|
+
displayName: string;
|
|
593
|
+
};
|
|
496
594
|
Header: {
|
|
497
|
-
({ children, ...props }:
|
|
595
|
+
({ children, ...props }: CardHeaderProps): null;
|
|
498
596
|
displayName: string;
|
|
499
597
|
};
|
|
500
598
|
Content: {
|
|
501
|
-
({ children, ...props }:
|
|
599
|
+
({ children, ...props }: CardContentProps): null;
|
|
502
600
|
displayName: string;
|
|
503
601
|
};
|
|
504
602
|
};
|
|
505
603
|
|
|
506
|
-
export declare const
|
|
507
|
-
({ children, ...props }:
|
|
604
|
+
export declare const _CardContent: {
|
|
605
|
+
({ children, ...props }: CardContentProps_2): null;
|
|
508
606
|
displayName: string;
|
|
509
607
|
};
|
|
510
608
|
|
|
511
|
-
declare interface
|
|
609
|
+
declare interface CardContentProps_2 extends HTMLChakraProps<"div", CardRecipeProps> {
|
|
512
610
|
}
|
|
513
611
|
|
|
514
|
-
export declare const
|
|
515
|
-
({ children, ...props }:
|
|
612
|
+
export declare const _CardHeader: {
|
|
613
|
+
({ children, ...props }: CardHeaderProps_2): null;
|
|
516
614
|
displayName: string;
|
|
517
615
|
};
|
|
518
616
|
|
|
519
|
-
declare interface
|
|
617
|
+
declare interface CardHeaderProps_2 extends HTMLChakraProps<"div", CardRecipeProps> {
|
|
520
618
|
}
|
|
521
619
|
|
|
522
620
|
/**
|
|
@@ -526,6 +624,7 @@ declare interface CardHeaderProps extends HTMLChakraProps<"div", CardRecipeProps
|
|
|
526
624
|
*/
|
|
527
625
|
export declare interface CardProps extends CardVariantProps {
|
|
528
626
|
children?: React.ReactNode;
|
|
627
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
529
628
|
}
|
|
530
629
|
|
|
531
630
|
/**
|
|
@@ -588,7 +687,10 @@ backgroundColor: "colorPalette.2";
|
|
|
588
687
|
declare interface CardRecipeProps extends RecipeProps<"div">, UnstyledProp {
|
|
589
688
|
}
|
|
590
689
|
|
|
591
|
-
export declare const
|
|
690
|
+
export declare const _CardRoot: {
|
|
691
|
+
({ children, ref, ...props }: CardProps): JSX.Element;
|
|
692
|
+
displayName: string;
|
|
693
|
+
};
|
|
592
694
|
|
|
593
695
|
/**
|
|
594
696
|
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
@@ -620,7 +722,10 @@ declare type CardVariantProps = CardRootProps & RecipeVariantProps<typeof cardRe
|
|
|
620
722
|
* - allows overriding styles by using style-props
|
|
621
723
|
* - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)
|
|
622
724
|
*/
|
|
623
|
-
export declare const Checkbox:
|
|
725
|
+
export declare const Checkbox: {
|
|
726
|
+
(props: CheckboxProps): JSX.Element;
|
|
727
|
+
displayName: string;
|
|
728
|
+
};
|
|
624
729
|
|
|
625
730
|
/**
|
|
626
731
|
* Main props interface for the Checkbox component.
|
|
@@ -629,6 +734,7 @@ export declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttr
|
|
|
629
734
|
*/
|
|
630
735
|
export declare interface CheckboxProps extends CheckboxVariantProps {
|
|
631
736
|
children?: React.ReactNode;
|
|
737
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
632
738
|
}
|
|
633
739
|
|
|
634
740
|
declare interface CheckboxRootProps extends HTMLChakraProps<"label", RecipeVariantProps<typeof checkboxSlotRecipe>> {
|
|
@@ -669,40 +775,297 @@ zIndex: number;
|
|
|
669
775
|
*/
|
|
670
776
|
declare type CheckboxVariantProps = CheckboxRootProps & RecipeVariantProps<typeof checkboxSlotRecipe> & AriaCheckboxProps;
|
|
671
777
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
778
|
+
/**
|
|
779
|
+
* @experimental This component is experimental and may change or be removed in future versions.
|
|
780
|
+
*/
|
|
781
|
+
export declare const Code: ForwardRefExoticComponent<CodeProps & RefAttributes<HTMLElement>>;
|
|
675
782
|
|
|
676
783
|
declare interface ColorModeProviderProps extends ThemeProviderProps {
|
|
677
784
|
}
|
|
678
785
|
|
|
679
|
-
export declare const
|
|
786
|
+
export declare const ComboBox: {
|
|
787
|
+
Root: {
|
|
788
|
+
<T extends object>({ children, ref, ...props }: ComboBoxRootProps_2<T>): JSX.Element;
|
|
789
|
+
displayName: string;
|
|
790
|
+
};
|
|
791
|
+
OptionGroup: {
|
|
792
|
+
<T extends object>({ children, label, items, ref, ...props }: ComboBoxOptionGroupProps_2<T> & RefAttributes<HTMLDivElement>): JSX.Element;
|
|
793
|
+
displayName: string;
|
|
794
|
+
};
|
|
795
|
+
Option: {
|
|
796
|
+
<T extends object>({ children, ref, ...props }: ComboBoxOptionProps_2<T>): JSX.Element;
|
|
797
|
+
displayName: string;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
/** component prop interface */
|
|
802
|
+
export declare type ComboBoxButtonGroupProps = {
|
|
803
|
+
selectedKeys?: ComboBoxMultiSelectRootProps<{}>["selectedKeys"];
|
|
804
|
+
onSelectionChange?: ComboBoxMultiSelectRootProps<{}>["onSelectionChange"];
|
|
805
|
+
onInputChange?: ComboBoxMultiSelectRootProps<{}>["onInputChange"];
|
|
806
|
+
onOpenChange?: ComboBoxSingleSelectRootProps<{}>["onOpenChange"];
|
|
807
|
+
containerRef?: RefObject<HTMLDivElement | null>;
|
|
808
|
+
isOpen?: boolean;
|
|
809
|
+
isLoading?: boolean;
|
|
810
|
+
isDisabled?: boolean;
|
|
811
|
+
isReadOnly?: boolean;
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
/** The slot is a wrapper for multiple components,
|
|
815
|
+
* and therefore not combined with the component props
|
|
816
|
+
* because it is not used to style the component directly using asChild */
|
|
817
|
+
export declare interface ComboBoxButtonGroupSlotProps extends HTMLChakraProps<"div", RecipeProps<"buttonGroup">> {
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/** MultiSelect combobox */
|
|
821
|
+
export declare interface ComboBoxMultiSelect<T extends object> extends Omit<AutocompleteProps, "children" | "filter" | "slot">, Omit<ListBoxProps<T>, "filter" | "autoFocus" | "style" | "slot"> {
|
|
822
|
+
defaultFilter?: (textValue: string, inputValue: string) => boolean;
|
|
823
|
+
defaultInputValue?: ComboBoxProps<T>["defaultInputValue"];
|
|
824
|
+
defaultItems?: ComboBoxProps<T>["defaultItems"];
|
|
825
|
+
validate?: ComboBoxProps<T>["validate"];
|
|
826
|
+
allowsCustomValue?: boolean;
|
|
827
|
+
onSubmitCustomValue?: (value: string) => void;
|
|
828
|
+
onOpenChange?: ComboBoxProps<T>["onOpenChange"];
|
|
829
|
+
autoFocus?: boolean;
|
|
830
|
+
isLoading?: boolean;
|
|
831
|
+
isDisabled?: boolean;
|
|
832
|
+
isReadOnly?: boolean;
|
|
833
|
+
isRequired?: boolean;
|
|
834
|
+
isInvalid?: boolean;
|
|
835
|
+
itemId?: string;
|
|
836
|
+
itemValue?: string;
|
|
837
|
+
placeholder?: string;
|
|
838
|
+
ref?: Ref<HTMLDivElement>;
|
|
839
|
+
size?: RecipeVariantProps<typeof comboBoxSlotRecipe>["size"];
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
export declare interface ComboBoxMultiSelectInputSlotProps extends HTMLChakraProps<"input", RecipeProps<"multiSelectInput">> {
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/** Combined props for the multi select root element (Chakra styles + Aria behavior + Recipe variants). */
|
|
846
|
+
export declare interface ComboBoxMultiSelectRootProps<T extends object> extends Omit<ComboBoxMultiSelectRootSlotProps<T>, "selectionMode">, ComboBoxMultiSelect<T> {
|
|
847
|
+
ref?: Ref<HTMLDivElement>;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/** Base Chakra styling props for the root `div` slot when multi select*/
|
|
851
|
+
export declare interface ComboBoxMultiSelectRootSlotProps<T extends object> extends HTMLChakraProps<"div", RecipeVariantProps<typeof comboBoxSlotRecipe> & ComboBoxMultiSelect<T>> {
|
|
852
|
+
}
|
|
680
853
|
|
|
681
|
-
|
|
854
|
+
/** component prop interface */
|
|
855
|
+
export declare type ComboBoxMultiSelectValueProps<T extends object> = {
|
|
856
|
+
items: ComboBoxMultiSelectRootProps<T>["items"];
|
|
857
|
+
itemId: ComboBoxMultiSelectRootProps<T>["itemId"];
|
|
858
|
+
itemValue: ComboBoxMultiSelectRootProps<T>["itemValue"];
|
|
859
|
+
selectedKeys: ComboBoxMultiSelectRootProps<T>["selectedKeys"];
|
|
860
|
+
onSelectionChange: ComboBoxMultiSelectRootProps<T>["onSelectionChange"];
|
|
861
|
+
placeholder?: string;
|
|
862
|
+
isDisabled?: boolean;
|
|
863
|
+
isReadOnly?: boolean;
|
|
864
|
+
ref?: Ref<HTMLDivElement>;
|
|
865
|
+
containerRef?: RefObject<HTMLDivElement | null>;
|
|
866
|
+
size?: RecipeVariantProps<typeof comboBoxSlotRecipe>["size"];
|
|
867
|
+
};
|
|
682
868
|
|
|
683
|
-
export declare const
|
|
869
|
+
export declare const _ComboBoxOption: {
|
|
870
|
+
<T extends object>({ children, ref, ...props }: ComboBoxOptionProps<T>): JSX.Element;
|
|
871
|
+
displayName: string;
|
|
872
|
+
};
|
|
684
873
|
|
|
685
|
-
export declare
|
|
874
|
+
export declare type ComboBoxOptionContentSlotProps = HTMLChakraProps<"span", RecipeProps<"span">>;
|
|
686
875
|
|
|
687
|
-
export declare const
|
|
876
|
+
export declare const _ComboBoxOptionGroup: {
|
|
877
|
+
<T extends object>({ children, label, items, ref, ...props }: ComboBoxOptionGroupProps<T> & RefAttributes<HTMLDivElement>): JSX.Element;
|
|
878
|
+
displayName: string;
|
|
879
|
+
};
|
|
688
880
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
backdrop?: boolean;
|
|
881
|
+
/** Combined props for the OptionGroup element (Chakra styles + Aria behavior + Recipe variants). */
|
|
882
|
+
export declare interface ComboBoxOptionGroupProps<T extends object> extends ListBoxSectionProps<T>, Omit<ComboBoxOptionGroupSlotProps, keyof ListBoxSectionProps<T>> {
|
|
883
|
+
label?: ReactNode;
|
|
693
884
|
}
|
|
694
885
|
|
|
695
|
-
|
|
886
|
+
/** Base Chakra styling props for the root `div` slot. */
|
|
887
|
+
declare type ComboBoxOptionGroupSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
888
|
+
|
|
889
|
+
export declare type ComboBoxOptionIndicatorSlotProps = HTMLChakraProps<"span", RecipeProps<"span">>;
|
|
890
|
+
|
|
891
|
+
/** Combined props for the ListBoxItem element (Chakra styles + Aria behavior + Recipe variants). */
|
|
892
|
+
export declare interface ComboBoxOptionProps<T extends object> extends ListBoxItemProps<T>, Omit<ComboBoxOptionSlotProps, keyof ListBoxItemProps<T>> {
|
|
893
|
+
ref?: Ref<HTMLDivElement>;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/** Base Chakra styling props for the root `div` slot. */
|
|
897
|
+
declare type ComboBoxOptionSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
898
|
+
|
|
899
|
+
/** Combined props for the ListBox element used in Single Select (Chakra styles + Aria behavior + Recipe variants) */
|
|
900
|
+
export declare interface ComboBoxOptionsProps<T extends object> extends ListBoxProps<T>, Omit<ComboBoxOptionsSlotProps, keyof ListBoxProps<T>> {
|
|
901
|
+
ref?: Ref<HTMLDivElement>;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/** Base Chakra styling props for the root `div` slot. */
|
|
905
|
+
export declare interface ComboBoxOptionsSlotProps extends HTMLChakraProps<"div", RecipeProps<"options">> {
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export declare interface ComboBoxPopoverSlotProps extends HTMLChakraProps<"div", RecipeProps<"popover">> {
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
export declare const _ComboBoxRoot: {
|
|
912
|
+
<T extends object>({ children, ref, ...props }: ComboBoxRootProps<T>): JSX.Element;
|
|
913
|
+
displayName: string;
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
/** Root element can either be single or multi select */
|
|
917
|
+
export declare type ComboBoxRootProps<T extends object> = ComboBoxSingleSelectRootProps<T> | ComboBoxMultiSelectRootProps<T>;
|
|
918
|
+
|
|
919
|
+
/** Combined props for the single select root element (Chakra styles + Aria behavior + Recipe variants). */
|
|
920
|
+
export declare interface ComboBoxSingleSelectRootProps<T extends object> extends ComboBoxSingleSelectRootSlotProps<T>, ComboBoxWithCustomChildren<T> {
|
|
921
|
+
ref?: Ref<HTMLDivElement>;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/** Base Chakra styling props for the root `div` slot when single select*/
|
|
925
|
+
export declare interface ComboBoxSingleSelectRootSlotProps<T extends object> extends HTMLChakraProps<"div", RecipeVariantProps<typeof comboBoxSlotRecipe> & ComboBoxWithCustomChildren<T>> {
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Recipe configuration for the Combobox component.
|
|
930
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
931
|
+
*/
|
|
932
|
+
declare const comboBoxSlotRecipe: SlotRecipeDefinition<"option" | "popover" | "value" | "root" | "options" | "optionGroup" | "buttonGroup" | "multiSelectInput" | "optionIndicator" | "optionContent", {
|
|
933
|
+
size: {
|
|
934
|
+
sm: {
|
|
935
|
+
value: {
|
|
936
|
+
minH: "800";
|
|
937
|
+
textStyle: "sm";
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
md: {
|
|
941
|
+
value: {
|
|
942
|
+
minH: "1000";
|
|
943
|
+
textStyle: "md";
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
variant: {
|
|
948
|
+
solid: {
|
|
949
|
+
root: {
|
|
950
|
+
width: "7200";
|
|
951
|
+
bg: "primary.1";
|
|
952
|
+
};
|
|
953
|
+
value: {
|
|
954
|
+
width: "100%";
|
|
955
|
+
"--border-width"?: "sizes.25" | undefined;
|
|
956
|
+
"--border-color"?: "colors.neutral.7" | undefined;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
ghost: {
|
|
960
|
+
root: {
|
|
961
|
+
maxW: "7200";
|
|
962
|
+
bg?: "transparent" | undefined;
|
|
963
|
+
"&:hover"?: {
|
|
964
|
+
bg: "primaryAlpha.2";
|
|
965
|
+
} | undefined;
|
|
966
|
+
};
|
|
967
|
+
value: {
|
|
968
|
+
bg: "transparent";
|
|
969
|
+
"--border-width"?: "sizes.25" | undefined;
|
|
970
|
+
"--border-color"?: "transparent" | undefined;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
selectionMode: {
|
|
975
|
+
multiple: {
|
|
976
|
+
options: {
|
|
977
|
+
boxShadow: "none";
|
|
978
|
+
px: "200";
|
|
979
|
+
my: "200";
|
|
980
|
+
minW: "unset";
|
|
981
|
+
"& section:first-of-type > header": {
|
|
982
|
+
mt: number;
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
option: {
|
|
986
|
+
colorPalette: "primary";
|
|
987
|
+
display: "flex";
|
|
988
|
+
alignItems: "flex-start";
|
|
989
|
+
justifyContent: "center";
|
|
990
|
+
position: "relative";
|
|
991
|
+
cursor: "pointer";
|
|
992
|
+
gap: "200";
|
|
993
|
+
mb: "var(--focus-ring-width)";
|
|
994
|
+
"&:last-of-type": {
|
|
995
|
+
mb: number;
|
|
996
|
+
};
|
|
997
|
+
'&[aria-selected="true"]': {
|
|
998
|
+
bg: "unset";
|
|
999
|
+
};
|
|
1000
|
+
'&[data-focused="true"]': {
|
|
1001
|
+
outlineWidth: "var(--focus-ring-width)";
|
|
1002
|
+
outlineColor: "var(--focus-ring-color)";
|
|
1003
|
+
outlineStyle: "var(--focus-ring-style)";
|
|
1004
|
+
bg: "unset";
|
|
1005
|
+
};
|
|
1006
|
+
_hover: {
|
|
1007
|
+
bg: "primary.2";
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
single: {};
|
|
1012
|
+
none: {};
|
|
1013
|
+
};
|
|
1014
|
+
}>;
|
|
1015
|
+
|
|
1016
|
+
/** The slot is a wrapper for multiple components,
|
|
1017
|
+
* and therefore not combined with the component props
|
|
1018
|
+
* because it is not used to style the component directly using asChild */
|
|
1019
|
+
export declare interface ComboBoxValueSlotProps extends HTMLChakraProps<"div", RecipeProps<"value">> {
|
|
1020
|
+
}
|
|
696
1021
|
|
|
697
|
-
|
|
1022
|
+
/** ComboBox with overridden children prop based on expected dom structure. */
|
|
1023
|
+
declare type ComboBoxWithCustomChildren<T extends object> = Omit<ComboBoxProps<T>, "children"> & {
|
|
1024
|
+
onSubmitCustomValue?: (value: string) => void;
|
|
1025
|
+
renderEmptyState?: ListBoxProps<T>["renderEmptyState"];
|
|
1026
|
+
placeholder?: string;
|
|
1027
|
+
isLoading?: boolean;
|
|
1028
|
+
children: ReactNode | ((item: T) => default_2.ReactNode);
|
|
1029
|
+
ref?: Ref<HTMLDivElement>;
|
|
1030
|
+
};
|
|
698
1031
|
|
|
699
|
-
|
|
1032
|
+
/**
|
|
1033
|
+
* Properties from TimeFieldStateOptions that would conflict with similarly named
|
|
1034
|
+
* properties in TimeInputRootProps. We use this to prevent TypeScript interface
|
|
1035
|
+
* merging conflicts by prioritizing the TimeFieldStateOptions implementation.
|
|
1036
|
+
*
|
|
1037
|
+
* Examples include: value, defaultValue, onChange, onBlur, onFocus, etc.
|
|
1038
|
+
*/
|
|
1039
|
+
declare type ConflictingFieldStateProps = keyof TimeFieldStateOptions<TimeValue>;
|
|
700
1040
|
|
|
701
|
-
|
|
1041
|
+
/**
|
|
1042
|
+
* @experimental This component is experimental and may change or be removed in future versions.
|
|
1043
|
+
*/
|
|
1044
|
+
export declare const Dialog: DialogComponents;
|
|
1045
|
+
|
|
1046
|
+
declare interface DialogComponents {
|
|
1047
|
+
Root: typeof Dialog_2.Root;
|
|
1048
|
+
Trigger: typeof Dialog_2.Trigger;
|
|
1049
|
+
Content: typeof DialogContent;
|
|
1050
|
+
Backdrop: typeof Dialog_2.Backdrop;
|
|
1051
|
+
Positioner: typeof Dialog_2.Positioner;
|
|
1052
|
+
Title: typeof Dialog_2.Title;
|
|
1053
|
+
Description: typeof Dialog_2.Description;
|
|
1054
|
+
Body: typeof Dialog_2.Body;
|
|
1055
|
+
Footer: typeof Dialog_2.Footer;
|
|
1056
|
+
Header: typeof Dialog_2.Header;
|
|
1057
|
+
CloseTrigger: typeof Dialog_2.CloseTrigger;
|
|
1058
|
+
ActionTrigger: typeof Dialog_2.ActionTrigger;
|
|
1059
|
+
}
|
|
702
1060
|
|
|
703
|
-
|
|
1061
|
+
declare const DialogContent: (props: DialogContentProps) => JSX.Element;
|
|
704
1062
|
|
|
705
|
-
|
|
1063
|
+
declare interface DialogContentProps extends Dialog_2.ContentProps {
|
|
1064
|
+
portalled?: boolean;
|
|
1065
|
+
portalRef?: React.RefObject<HTMLElement>;
|
|
1066
|
+
backdrop?: boolean;
|
|
1067
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1068
|
+
}
|
|
706
1069
|
|
|
707
1070
|
export declare type DisclosureGroupProps = AccordionProps & {
|
|
708
1071
|
children: ReactNode;
|
|
@@ -722,7 +1085,18 @@ export declare type DisclosureItemProps = AccordionItemProps & {
|
|
|
722
1085
|
onExpandedChange?: (isExpanded: boolean) => void;
|
|
723
1086
|
};
|
|
724
1087
|
|
|
725
|
-
|
|
1088
|
+
declare type ExcludedNumberInputProps = "asChild" | "onChange";
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Additional properties we want to exclude from the TimeInput component.
|
|
1092
|
+
* These are either deprecated or not intended for use in this component.
|
|
1093
|
+
*/
|
|
1094
|
+
declare type ExcludedProps = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild";
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* List of props that should be excluded from the root props when combining with ARIA props
|
|
1098
|
+
*/
|
|
1099
|
+
declare type ExcludedSwitchProps = "asChild" | "isIndeterminate" | "colorScheme" | "validationState" | "validationBehavior" | "validate";
|
|
726
1100
|
|
|
727
1101
|
/**
|
|
728
1102
|
* For use in components that use the polymorphic `as` and `asChild` props
|
|
@@ -751,39 +1125,33 @@ export declare const FormField: {
|
|
|
751
1125
|
}) => null;
|
|
752
1126
|
};
|
|
753
1127
|
|
|
754
|
-
export declare const
|
|
1128
|
+
export declare const _FormFieldDescription: ({ children, ...descriptionSlotProps }: FormFieldDescriptionSlotProps_2) => null;
|
|
755
1129
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
labelSlotProps?: FormFieldLabelSlotProps;
|
|
759
|
-
input: ReactNode;
|
|
760
|
-
inputSlotProps?: FormFieldInputSlotProps;
|
|
761
|
-
description: ReactNode;
|
|
762
|
-
descriptionSlotProps?: FormFieldDescriptionSlotProps;
|
|
763
|
-
error: ReactNode;
|
|
764
|
-
errorSlotProps?: FormFieldErrorSlotProps;
|
|
765
|
-
info: ReactNode;
|
|
766
|
-
isInvalid?: boolean;
|
|
767
|
-
isRequired?: boolean;
|
|
768
|
-
isDisabled?: boolean;
|
|
769
|
-
isReadOnly?: boolean;
|
|
770
|
-
};
|
|
1130
|
+
declare interface FormFieldDescriptionSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
1131
|
+
}
|
|
771
1132
|
|
|
772
|
-
export declare
|
|
773
|
-
context: FormFieldContextPayloadType;
|
|
774
|
-
setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;
|
|
775
|
-
};
|
|
1133
|
+
export declare const _FormFieldError: ({ children, ...errorSlotProps }: FormFieldErrorSlotProps_2) => null;
|
|
776
1134
|
|
|
777
|
-
declare interface
|
|
1135
|
+
declare interface FormFieldErrorSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
778
1136
|
}
|
|
779
1137
|
|
|
780
|
-
declare
|
|
781
|
-
}
|
|
1138
|
+
export declare const _FormFieldInfoBox: ({ children }: FormFieldInfoBoxProps) => null;
|
|
782
1139
|
|
|
783
|
-
declare
|
|
1140
|
+
declare type FormFieldInfoBoxProps = {
|
|
1141
|
+
/**
|
|
1142
|
+
* The content to display in the InfoBox
|
|
1143
|
+
*/
|
|
1144
|
+
children: ReactNode;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
export declare const _FormFieldInput: ({ children, ...inputSlotProps }: FormFieldInputSlotProps_2) => null;
|
|
1148
|
+
|
|
1149
|
+
declare interface FormFieldInputSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
784
1150
|
}
|
|
785
1151
|
|
|
786
|
-
declare
|
|
1152
|
+
export declare const _FormFieldLabel: ({ children, ...labelSlotProps }: FormFieldLabelSlotProps_2) => null;
|
|
1153
|
+
|
|
1154
|
+
declare interface FormFieldLabelSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
787
1155
|
}
|
|
788
1156
|
|
|
789
1157
|
/**
|
|
@@ -853,17 +1221,27 @@ mt: "var(--grid-gap)";
|
|
|
853
1221
|
};
|
|
854
1222
|
}>;
|
|
855
1223
|
|
|
1224
|
+
/**
|
|
1225
|
+
* FormField
|
|
1226
|
+
* ============================================================
|
|
1227
|
+
* displays inputs in a FormField context
|
|
1228
|
+
*/
|
|
1229
|
+
export declare const _FormFieldRoot: ForwardRefExoticComponent<FormFieldProps & RefAttributes<HTMLDivElement>>;
|
|
1230
|
+
|
|
856
1231
|
declare interface FormFieldRootSlotProps extends HTMLChakraProps<"div", RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp> {
|
|
857
1232
|
}
|
|
858
1233
|
|
|
859
1234
|
declare type FunctionalAvatarProps = AvatarRootProps & AvatarComponentProps;
|
|
860
1235
|
|
|
861
1236
|
/** combine chakra-button props with aria-button props */
|
|
862
|
-
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps> & {
|
|
1237
|
+
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
|
|
863
1238
|
[key: `data-${string}`]: unknown;
|
|
864
1239
|
};
|
|
865
1240
|
|
|
866
|
-
export declare const Grid:
|
|
1241
|
+
export declare const Grid: {
|
|
1242
|
+
(props: GridProps): JSX.Element;
|
|
1243
|
+
displayName: string;
|
|
1244
|
+
} & {
|
|
867
1245
|
Item: ForwardRefExoticComponent<GridItemProps & RefAttributes<HTMLDivElement>>;
|
|
868
1246
|
};
|
|
869
1247
|
|
|
@@ -878,17 +1256,19 @@ export declare const Grid: ForwardRefExoticComponent<GridProps & RefAttributes<H
|
|
|
878
1256
|
*/
|
|
879
1257
|
export declare interface GridProps extends GridProps_2 {
|
|
880
1258
|
children?: React.ReactNode;
|
|
1259
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
881
1260
|
}
|
|
882
1261
|
|
|
883
1262
|
export { Heading }
|
|
884
1263
|
|
|
885
|
-
export { Highlight_2 as Highlight }
|
|
886
|
-
|
|
887
1264
|
/**
|
|
888
1265
|
* Icon
|
|
889
1266
|
* displays icon components
|
|
890
1267
|
*/
|
|
891
|
-
export declare const Icon:
|
|
1268
|
+
export declare const Icon: {
|
|
1269
|
+
(props: IconProps): JSX.Element;
|
|
1270
|
+
displayName: string;
|
|
1271
|
+
};
|
|
892
1272
|
|
|
893
1273
|
/**
|
|
894
1274
|
* IconButton
|
|
@@ -896,7 +1276,10 @@ export declare const Icon: ForwardRefExoticComponent<IconProps & RefAttributes<S
|
|
|
896
1276
|
* displays a button with only an icon as child. It is based
|
|
897
1277
|
* on the regular `Button` component, but with a few adjustments.
|
|
898
1278
|
*/
|
|
899
|
-
export declare const IconButton:
|
|
1279
|
+
export declare const IconButton: {
|
|
1280
|
+
(props: IconButtonProps): JSX.Element;
|
|
1281
|
+
displayName: string;
|
|
1282
|
+
};
|
|
900
1283
|
|
|
901
1284
|
/**
|
|
902
1285
|
* Main props interface for the IconButton component.
|
|
@@ -904,6 +1287,7 @@ export declare const IconButton: ForwardRefExoticComponent<IconButtonProps & Ref
|
|
|
904
1287
|
export declare interface IconButtonProps extends ButtonProps {
|
|
905
1288
|
/** explains the intended action, required for accessibility */
|
|
906
1289
|
"aria-label": string;
|
|
1290
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
907
1291
|
}
|
|
908
1292
|
|
|
909
1293
|
/**
|
|
@@ -925,6 +1309,10 @@ export declare interface IconProps extends IconVariantProps {
|
|
|
925
1309
|
* Accepts a React component to be rendered as the icon .
|
|
926
1310
|
*/
|
|
927
1311
|
as?: BoxProps["as"];
|
|
1312
|
+
/**
|
|
1313
|
+
* Ref to the icon element
|
|
1314
|
+
*/
|
|
1315
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
928
1316
|
}
|
|
929
1317
|
|
|
930
1318
|
/**
|
|
@@ -984,13 +1372,19 @@ declare type IconVariantProps = Omit<IconRootSlotProps, keyof React.SVGProps<SVG
|
|
|
984
1372
|
*
|
|
985
1373
|
* Use this component to display an image.
|
|
986
1374
|
*/
|
|
987
|
-
declare const Image_2:
|
|
1375
|
+
declare const Image_2: {
|
|
1376
|
+
(props: ImageProps): JSX.Element;
|
|
1377
|
+
displayName: string;
|
|
1378
|
+
};
|
|
988
1379
|
export { Image_2 as Image }
|
|
989
1380
|
|
|
990
1381
|
export declare interface ImageProps extends ImageProps_2 {
|
|
991
1382
|
}
|
|
992
1383
|
|
|
993
|
-
|
|
1384
|
+
/**
|
|
1385
|
+
* @experimental This component is experimental and may change or be removed in future versions.
|
|
1386
|
+
*/
|
|
1387
|
+
export declare const Kbd: ForwardRefExoticComponent<KbdProps & RefAttributes<HTMLElement>>;
|
|
994
1388
|
|
|
995
1389
|
/**
|
|
996
1390
|
* Link
|
|
@@ -1005,7 +1399,10 @@ export { Kbd }
|
|
|
1005
1399
|
* - allows overriding styles by using style-props
|
|
1006
1400
|
* - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)
|
|
1007
1401
|
*/
|
|
1008
|
-
export declare const Link:
|
|
1402
|
+
export declare const Link: {
|
|
1403
|
+
(props: LinkProps): JSX.Element;
|
|
1404
|
+
displayName: string;
|
|
1405
|
+
};
|
|
1009
1406
|
|
|
1010
1407
|
/**
|
|
1011
1408
|
* Main props interface for the Link component.
|
|
@@ -1014,6 +1411,7 @@ export declare const Link: ForwardRefExoticComponent<LinkProps & RefAttributes<H
|
|
|
1014
1411
|
*/
|
|
1015
1412
|
export declare interface LinkProps extends LinkVariantProps {
|
|
1016
1413
|
children?: React.ReactNode;
|
|
1414
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
1017
1415
|
}
|
|
1018
1416
|
|
|
1019
1417
|
/**
|
|
@@ -1067,38 +1465,43 @@ declare type LinkRootProps = HTMLChakraProps<"a", LinkRecipeProps>;
|
|
|
1067
1465
|
* Differences between LinkRootProps and LinkVariantProps necessitate
|
|
1068
1466
|
* the use of Omit and Pick to ensure the correct props are passed
|
|
1069
1467
|
*/
|
|
1070
|
-
declare type LinkVariantProps = Omit<LinkRootProps, "onFocus" | "onBlur"> & Pick<AriaLinkOptions, "onFocus" | "onBlur"> & RecipeVariantProps<typeof linkRecipe> & {
|
|
1468
|
+
declare type LinkVariantProps = Omit<LinkRootProps, "onFocus" | "onBlur" | "onClick"> & Pick<AriaLinkOptions, "onFocus" | "onBlur" | "onClick"> & RecipeVariantProps<typeof linkRecipe> & {
|
|
1071
1469
|
[key: `data-${string}`]: string;
|
|
1072
1470
|
};
|
|
1073
1471
|
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1472
|
+
/**
|
|
1473
|
+
* @experimental This component is experimental and may change or be removed in future versions.
|
|
1474
|
+
*/
|
|
1475
|
+
export declare const List: {
|
|
1476
|
+
Root: ForwardRefExoticComponent<List_2.RootProps & RefAttributes<HTMLUListElement>>;
|
|
1477
|
+
Item: ForwardRefExoticComponent<List_2.ItemProps & RefAttributes<HTMLLIElement>>;
|
|
1478
|
+
Indicator: ForwardRefExoticComponent<ListIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
1479
|
+
};
|
|
1077
1480
|
|
|
1078
|
-
export declare
|
|
1481
|
+
export declare const _ListIndicator: ForwardRefExoticComponent<ListIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
1079
1482
|
|
|
1080
|
-
export declare const
|
|
1483
|
+
export declare const _ListItem: ForwardRefExoticComponent<List_2.ItemProps & RefAttributes<HTMLLIElement>>;
|
|
1081
1484
|
|
|
1082
|
-
export declare
|
|
1485
|
+
export declare const _ListRoot: ForwardRefExoticComponent<List_2.RootProps & RefAttributes<HTMLUListElement>>;
|
|
1083
1486
|
|
|
1084
1487
|
/**
|
|
1085
1488
|
* LoadingSpinner
|
|
1086
1489
|
* ============================================================
|
|
1087
1490
|
* Indicates ongoing processes or loading states
|
|
1088
1491
|
*/
|
|
1089
|
-
export declare const LoadingSpinner:
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
}
|
|
1093
|
-
[key: `data-${string}`]: string;
|
|
1094
|
-
} & RefAttributes<HTMLDivElement>>;
|
|
1492
|
+
export declare const LoadingSpinner: {
|
|
1493
|
+
(props: LoadingSpinnerProps): JSX.Element;
|
|
1494
|
+
displayName: string;
|
|
1495
|
+
};
|
|
1095
1496
|
|
|
1096
1497
|
/**
|
|
1097
1498
|
* Main props interface for the LoadingSpinner component.
|
|
1098
1499
|
* Extends LoadingSpinnerVariantProps to include both root props and variant props,
|
|
1099
1500
|
* while adding support for React children.
|
|
1100
1501
|
*/
|
|
1101
|
-
export declare type LoadingSpinnerProps = LoadingSpinnerVariantProps
|
|
1502
|
+
export declare type LoadingSpinnerProps = LoadingSpinnerVariantProps & {
|
|
1503
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1504
|
+
};
|
|
1102
1505
|
|
|
1103
1506
|
/**
|
|
1104
1507
|
* Recipe configuration for the LoadingSpinner component.
|
|
@@ -1149,7 +1552,7 @@ declare interface LoadingSpinnerRecipeProps extends RecipeProps<"div">, Unstyled
|
|
|
1149
1552
|
* This creates a complete set of props for the root element, combining
|
|
1150
1553
|
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
1151
1554
|
*/
|
|
1152
|
-
declare type
|
|
1555
|
+
declare type LoadingSpinnerRootProps = Omit<HTMLChakraProps<"div", LoadingSpinnerRecipeProps>, "as" | "asChild">;
|
|
1153
1556
|
|
|
1154
1557
|
/**
|
|
1155
1558
|
* Combines the root props with Chakra UI's recipe variant props and Aria's progress bar props.
|
|
@@ -1157,7 +1560,7 @@ declare type LoadingSpinnerRootProps_2 = Omit<HTMLChakraProps<"div", LoadingSpin
|
|
|
1157
1560
|
* This allows the component to accept both structural props from Root
|
|
1158
1561
|
* and styling variants from the recipe.
|
|
1159
1562
|
*/
|
|
1160
|
-
declare type LoadingSpinnerVariantProps =
|
|
1563
|
+
declare type LoadingSpinnerVariantProps = LoadingSpinnerRootProps & RecipeVariantProps<typeof loadingSpinnerRecipe> & {
|
|
1161
1564
|
[key: `data-${string}`]: string;
|
|
1162
1565
|
};
|
|
1163
1566
|
|
|
@@ -1185,33 +1588,347 @@ export declare const MakeElementFocusable: ForwardRefExoticComponent<FocusableOp
|
|
|
1185
1588
|
children?: ReactNode | undefined;
|
|
1186
1589
|
} & RefAttributes<HTMLElement>>;
|
|
1187
1590
|
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1591
|
+
/**
|
|
1592
|
+
* MultilineTextInput
|
|
1593
|
+
* ============================================================
|
|
1594
|
+
* A textarea component that takes in multiline text as input
|
|
1595
|
+
*
|
|
1596
|
+
* Features:
|
|
1597
|
+
*
|
|
1598
|
+
* - allows forwarding refs to the underlying DOM element
|
|
1599
|
+
* - accepts all native html 'HTMLTextAreaElement' attributes (including aria- & data-attributes)
|
|
1600
|
+
* - supports 'variants', 'sizes', etc. configured in the recipe
|
|
1601
|
+
* - allows overriding styles by using style-props
|
|
1602
|
+
* - supports auto-growing height based on content when `autoGrow` is enabled
|
|
1603
|
+
*/
|
|
1604
|
+
export declare const MultilineTextInput: {
|
|
1605
|
+
(props: MultilineTextInputProps): JSX.Element;
|
|
1606
|
+
displayName: string;
|
|
1195
1607
|
};
|
|
1196
1608
|
|
|
1197
|
-
export declare
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1609
|
+
export declare interface MultilineTextInputProps extends TextFieldProps, Omit<MultilineTextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> {
|
|
1610
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
1611
|
+
/**
|
|
1612
|
+
* When true, the textarea will automatically grow in height to fit its content.
|
|
1613
|
+
* This works in addition to the default draggable resize behavior.
|
|
1614
|
+
*/
|
|
1615
|
+
autoGrow?: boolean;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Recipe configuration for the MultilineTextInput component.
|
|
1620
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
1621
|
+
*/
|
|
1622
|
+
declare const multilineTextInputRecipe: RecipeDefinition< {
|
|
1623
|
+
size: {
|
|
1624
|
+
sm: {
|
|
1625
|
+
minH: number;
|
|
1626
|
+
textStyle: "sm";
|
|
1627
|
+
px: number;
|
|
1628
|
+
py: number;
|
|
1629
|
+
};
|
|
1630
|
+
md: {
|
|
1631
|
+
minH: number;
|
|
1632
|
+
textStyle: "md";
|
|
1633
|
+
px: number;
|
|
1634
|
+
py: number;
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
variant: {
|
|
1638
|
+
solid: {
|
|
1639
|
+
"--border-width": "sizes.25";
|
|
1640
|
+
"--border-color": "colors.neutral.7";
|
|
1641
|
+
backgroundColor: "neutral.1";
|
|
1642
|
+
_hover: {
|
|
1643
|
+
backgroundColor: "primary.2";
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
ghost: {
|
|
1647
|
+
_hover: {
|
|
1648
|
+
backgroundColor: "primary.2";
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
}>;
|
|
1653
|
+
|
|
1654
|
+
declare interface MultilineTextInputRecipeProps extends RecipeVariantProps<typeof multilineTextInputRecipe>, UnstyledProp {
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
declare type MultilineTextInputRootSlotProps = HTMLChakraProps<"textarea", MultilineTextInputRecipeProps>;
|
|
1658
|
+
|
|
1659
|
+
export declare function NimbusProvider({ children, locale, ...props }: ColorModeProviderProps & {
|
|
1660
|
+
locale?: string;
|
|
1661
|
+
}): JSX.Element;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* NumberInput
|
|
1665
|
+
* ============================================================
|
|
1666
|
+
* An input component that accepts only numbers with increment/decrement buttons
|
|
1667
|
+
*
|
|
1668
|
+
* Features:
|
|
1669
|
+
*
|
|
1670
|
+
* - supports ref forwarding to the underlying DOM element
|
|
1671
|
+
* - supports number-specific props like min, max, step
|
|
1672
|
+
* - includes increment/decrement buttons for easy number adjustment
|
|
1673
|
+
* - supports 'variants', 'sizes', etc. configured in the recipe
|
|
1674
|
+
* - allows overriding styles by using style-props
|
|
1675
|
+
* - provides full accessibility support
|
|
1676
|
+
*/
|
|
1677
|
+
export declare const NumberInput: {
|
|
1678
|
+
(props: NumberInputProps): JSX.Element;
|
|
1679
|
+
displayName: string;
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
export declare interface NumberInputProps extends AriaNumberFieldProps, Omit<NumberInputRootSlotProps, keyof AriaNumberFieldProps | ExcludedNumberInputProps> {
|
|
1683
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Recipe configuration for the NumberInput component.
|
|
1688
|
+
* Defines the styling variants and base styles using Chakra UI's slot recipe system.
|
|
1689
|
+
*/
|
|
1690
|
+
declare const numberInputRecipe: SlotRecipeDefinition<"input" | "root" | "incrementButton" | "decrementButton", {
|
|
1691
|
+
size: {
|
|
1692
|
+
sm: {
|
|
1693
|
+
input: {
|
|
1694
|
+
h: number;
|
|
1695
|
+
textStyle: "sm";
|
|
1696
|
+
px: number;
|
|
1697
|
+
paddingRight: number;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
md: {
|
|
1701
|
+
input: {
|
|
1702
|
+
h: number;
|
|
1703
|
+
textStyle: "md";
|
|
1704
|
+
px: number;
|
|
1705
|
+
paddingRight: number;
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
};
|
|
1709
|
+
variant: {
|
|
1710
|
+
solid: {
|
|
1711
|
+
root: {
|
|
1712
|
+
"&:has(button:hover) input": {
|
|
1713
|
+
backgroundColor: "primary.2";
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
input: {
|
|
1717
|
+
"&[data-invalid='true']": {
|
|
1718
|
+
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)";
|
|
1719
|
+
"--border-width": "sizes.50";
|
|
1720
|
+
};
|
|
1721
|
+
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)";
|
|
1722
|
+
backgroundColor: "neutral.1";
|
|
1723
|
+
_hover: {
|
|
1724
|
+
backgroundColor: "primary.2";
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
incrementButton: {
|
|
1728
|
+
"&[data-invalid='true']": {
|
|
1729
|
+
borderTop: "2px solid var(--border-color)";
|
|
1730
|
+
borderRight: "2px solid var(--border-color)";
|
|
1731
|
+
};
|
|
1732
|
+
borderTop: "var(--border-width) solid var(--border-color)";
|
|
1733
|
+
borderRight: "var(--border-width) solid var(--border-color)";
|
|
1734
|
+
borderLeft: "var(--border-width) solid var(--border-color)";
|
|
1735
|
+
boxShadow: "inset 0 -0.5px 0 0 var(--border-color)";
|
|
1736
|
+
_hover: {
|
|
1737
|
+
backgroundColor: "primaryAlpha.3";
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
decrementButton: {
|
|
1741
|
+
"&[data-invalid='true']": {
|
|
1742
|
+
borderBottom: "2px solid var(--border-color)";
|
|
1743
|
+
borderRight: "2px solid var(--border-color)";
|
|
1744
|
+
};
|
|
1745
|
+
borderBottom: "var(--border-width) solid var(--border-color)";
|
|
1746
|
+
borderRight: "var(--border-width) solid var(--border-color)";
|
|
1747
|
+
borderLeft: "var(--border-width) solid var(--border-color)";
|
|
1748
|
+
boxShadow: "inset 0 0.5px 0 0 var(--border-color)";
|
|
1749
|
+
_hover: {
|
|
1750
|
+
backgroundColor: "primaryAlpha.3";
|
|
1751
|
+
};
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
ghost: {
|
|
1755
|
+
root: {
|
|
1756
|
+
"&:has(button:hover) input": {
|
|
1757
|
+
backgroundColor: "primary.2";
|
|
1758
|
+
};
|
|
1759
|
+
};
|
|
1760
|
+
input: {
|
|
1761
|
+
"&[data-invalid='true']": {
|
|
1762
|
+
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)";
|
|
1763
|
+
"--border-width": "sizes.50";
|
|
1764
|
+
};
|
|
1765
|
+
_hover: {
|
|
1766
|
+
backgroundColor: "primary.2";
|
|
1767
|
+
};
|
|
1768
|
+
};
|
|
1769
|
+
incrementButton: {
|
|
1770
|
+
"&[data-invalid='true']": {
|
|
1771
|
+
borderTop: "2px solid var(--border-color)";
|
|
1772
|
+
borderRight: "2px solid var(--border-color)";
|
|
1773
|
+
};
|
|
1774
|
+
_hover: {
|
|
1775
|
+
backgroundColor: "primaryAlpha.3";
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
decrementButton: {
|
|
1779
|
+
"&[data-invalid='true']": {
|
|
1780
|
+
borderBottom: "2px solid var(--border-color)";
|
|
1781
|
+
borderRight: "2px solid var(--border-color)";
|
|
1782
|
+
};
|
|
1783
|
+
_hover: {
|
|
1784
|
+
backgroundColor: "primaryAlpha.3";
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
}>;
|
|
1790
|
+
|
|
1791
|
+
declare interface NumberInputRecipeProps extends RecipeVariantProps<typeof numberInputRecipe>, UnstyledProp {
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
declare type NumberInputRootSlotProps = HTMLChakraProps<"div", NumberInputRecipeProps>;
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* PasswordInput
|
|
1798
|
+
* ============================================================
|
|
1799
|
+
* An input component that takes in password as input with toggleable visibility
|
|
1800
|
+
*
|
|
1801
|
+
* Features:
|
|
1802
|
+
*
|
|
1803
|
+
* - Based on TextInput with added password visibility toggle
|
|
1804
|
+
* - Allows toggling between type="password" and type="text"
|
|
1805
|
+
* - Positions the toggle button at the right edge of the input
|
|
1806
|
+
* - Inherits all TextInput features and props
|
|
1807
|
+
*/
|
|
1808
|
+
export declare const PasswordInput: ForwardRefExoticComponent<Omit<PasswordInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
* Interface for PasswordInput component props
|
|
1812
|
+
* Extends TextInputProps but omits the type prop since it's controlled internally
|
|
1813
|
+
* We want to keep this as an explicit interface to allow for future additions
|
|
1814
|
+
*/
|
|
1815
|
+
export declare interface PasswordInputProps extends Omit<TextInputProps, "type"> {
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
declare type RadioGroupProps = Omit<RadioGroupProps_2, "children"> & {
|
|
1819
|
+
children?: React.ReactNode;
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
export declare const RadioInput: {
|
|
1823
|
+
Root: {
|
|
1824
|
+
(props: RadioInputRootProps_2): JSX.Element;
|
|
1825
|
+
displayName: string;
|
|
1826
|
+
};
|
|
1827
|
+
Option: {
|
|
1828
|
+
({ children, value, ...rest }: RadioInputOptionProps_2): JSX.Element;
|
|
1829
|
+
displayName: string;
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
export declare const _RadioInputOption: {
|
|
1834
|
+
({ children, value, ...rest }: RadioInputOptionProps): JSX.Element;
|
|
1835
|
+
displayName: string;
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
export declare interface RadioInputOptionProps extends RadioProps, Omit<RadioInputOptionSlotProps, keyof RadioProps> {
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
export declare interface RadioInputOptionSlotProps extends HTMLChakraProps<"span", RecipeProps<"option">> {
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
export declare const _RadioInputRoot: {
|
|
1845
|
+
(props: RadioInputRootProps): JSX.Element;
|
|
1846
|
+
displayName: string;
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
export declare interface RadioInputRootProps extends RadioGroupProps, Omit<RadioInputRootSlotProps, keyof RadioGroupProps> {
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
export declare interface RadioInputRootSlotProps extends HTMLChakraProps<"div", RecipeVariantProps<typeof radioInputSlotRecipe>> {
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* Recipe configuration for the RadioInput component.
|
|
1857
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
1858
|
+
*/
|
|
1859
|
+
declare const radioInputSlotRecipe: SlotRecipeDefinition<"option" | "root", {
|
|
1860
|
+
orientation: {
|
|
1861
|
+
horizontal: {
|
|
1862
|
+
root: {
|
|
1863
|
+
flexDirection: "row";
|
|
1864
|
+
gap: "600";
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
vertical: {
|
|
1868
|
+
root: {
|
|
1869
|
+
flexDirection: "column";
|
|
1870
|
+
alignItems: "flex-start";
|
|
1871
|
+
gap: "400";
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
}>;
|
|
1876
|
+
|
|
1877
|
+
export declare const Select: {
|
|
1878
|
+
Root: ForwardRefExoticComponent<SelectRootProps_2 & RefAttributes<HTMLDivElement>>;
|
|
1879
|
+
Options: {
|
|
1880
|
+
<T extends object>(props: SelectOptionsProps_2<T> & {
|
|
1881
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1882
|
+
}): JSX.Element;
|
|
1883
|
+
displayName: string;
|
|
1884
|
+
};
|
|
1885
|
+
Option: {
|
|
1886
|
+
<T extends object>(props: SelectOptionProps_2<T> & {
|
|
1887
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1888
|
+
}): JSX.Element;
|
|
1889
|
+
displayName: string;
|
|
1890
|
+
};
|
|
1891
|
+
OptionGroup: {
|
|
1892
|
+
<T extends object>(props: SelectOptionGroupProps_2<T> & {
|
|
1893
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1894
|
+
}): JSX.Element;
|
|
1895
|
+
displayName: string;
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
export declare const _SelectOption: {
|
|
1900
|
+
<T extends object>(props: SelectOptionProps<T> & {
|
|
1901
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1902
|
+
}): JSX.Element;
|
|
1903
|
+
displayName: string;
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
export declare const _SelectOptionGroup: {
|
|
1907
|
+
<T extends object>(props: SelectOptionGroupProps<T> & {
|
|
1908
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1909
|
+
}): JSX.Element;
|
|
1910
|
+
displayName: string;
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
export declare interface SelectOptionGroupProps<T> extends ListBoxSectionProps<T>, Omit<SelectOptionGroupSlotProps, keyof ListBoxSectionProps<T>> {
|
|
1914
|
+
/** the label for the section */
|
|
1915
|
+
label: string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare interface SelectOptionGroupSlotProps extends HTMLChakraProps<"div"> {
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
export declare interface SelectOptionProps<T> extends Omit<ListBoxItemProps<T>, keyof SelectOptionSlotProps>, SelectOptionSlotProps {
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export declare const _SelectOptions: {
|
|
1925
|
+
<T extends object>(props: SelectOptionsProps<T> & {
|
|
1926
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1927
|
+
}): JSX.Element;
|
|
1928
|
+
displayName: string;
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
declare interface SelectOptionSlotProps extends HTMLChakraProps<"div"> {
|
|
1215
1932
|
}
|
|
1216
1933
|
|
|
1217
1934
|
export declare interface SelectOptionsProps<T> extends ListBoxProps<T>, Omit<SelectOptionsSlotProps, keyof ListBoxProps<T>> {
|
|
@@ -1258,7 +1975,7 @@ textStyle: "md";
|
|
|
1258
1975
|
variant: {
|
|
1259
1976
|
outline: {
|
|
1260
1977
|
root: {
|
|
1261
|
-
bg: "
|
|
1978
|
+
bg: "primary.1";
|
|
1262
1979
|
"&:hover": {
|
|
1263
1980
|
bg: "primary.2";
|
|
1264
1981
|
};
|
|
@@ -1283,7 +2000,10 @@ trigger: {
|
|
|
1283
2000
|
};
|
|
1284
2001
|
}>;
|
|
1285
2002
|
|
|
1286
|
-
export declare const SimpleGrid:
|
|
2003
|
+
export declare const SimpleGrid: {
|
|
2004
|
+
(props: SimpleGridProps): JSX.Element;
|
|
2005
|
+
displayName: string;
|
|
2006
|
+
} & {
|
|
1287
2007
|
Item: ForwardRefExoticComponent<GridItemProps & RefAttributes<HTMLDivElement>>;
|
|
1288
2008
|
};
|
|
1289
2009
|
|
|
@@ -1298,53 +2018,94 @@ export declare const SimpleGrid: ForwardRefExoticComponent<SimpleGridProps & Ref
|
|
|
1298
2018
|
*/
|
|
1299
2019
|
export declare interface SimpleGridProps extends SimpleGridProps_2 {
|
|
1300
2020
|
children?: React.ReactNode;
|
|
2021
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
export declare interface SingleSelectInputProps {
|
|
2025
|
+
placeholder?: string;
|
|
2026
|
+
inputValue?: string;
|
|
2027
|
+
allowsCustomValue?: boolean;
|
|
2028
|
+
onSubmitCustomValue?: (value: string) => void;
|
|
2029
|
+
onInputChange?: (value: string) => void;
|
|
2030
|
+
ref?: default_2.Ref<HTMLInputElement>;
|
|
1301
2031
|
}
|
|
1302
2032
|
|
|
1303
|
-
export declare const Stack:
|
|
2033
|
+
export declare const Stack: {
|
|
2034
|
+
(props: StackProps): JSX.Element;
|
|
2035
|
+
displayName: string;
|
|
2036
|
+
};
|
|
1304
2037
|
|
|
1305
2038
|
export declare interface StackProps extends StackProps_2 {
|
|
1306
2039
|
children?: React.ReactNode;
|
|
2040
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1307
2041
|
}
|
|
1308
2042
|
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
export declare type TableCellProps = React.ComponentProps<typeof Table.Cell>;
|
|
1320
|
-
|
|
1321
|
-
export declare const TableColumn: (props: TableColumnProps) => JSX.Element;
|
|
1322
|
-
|
|
1323
|
-
export declare const TableColumnGroup: (props: TableColumnGroupProps) => JSX.Element;
|
|
1324
|
-
|
|
1325
|
-
export declare type TableColumnGroupProps = React.ComponentProps<typeof Table.ColumnGroup>;
|
|
1326
|
-
|
|
1327
|
-
export declare const TableColumnHeader: (props: TableColumnHeaderProps) => JSX.Element;
|
|
1328
|
-
|
|
1329
|
-
export declare type TableColumnHeaderProps = React.ComponentProps<typeof Table.ColumnHeader>;
|
|
1330
|
-
|
|
1331
|
-
export declare type TableColumnProps = React.ComponentProps<typeof Table.Column>;
|
|
1332
|
-
|
|
1333
|
-
export declare const TableFooter: (props: TableFooterProps) => JSX.Element;
|
|
1334
|
-
|
|
1335
|
-
export declare type TableFooterProps = React.ComponentProps<typeof Table.Footer>;
|
|
1336
|
-
|
|
1337
|
-
export declare const TableHeader: (props: TableHeaderProps) => JSX.Element;
|
|
2043
|
+
/**
|
|
2044
|
+
* Switch
|
|
2045
|
+
* ============================================================
|
|
2046
|
+
* displays a switch toggle and optionally an associated label
|
|
2047
|
+
*/
|
|
2048
|
+
export declare const Switch: {
|
|
2049
|
+
({ ref: externalRef, ...props }: SwitchProps): JSX.Element;
|
|
2050
|
+
displayName: string;
|
|
2051
|
+
};
|
|
1338
2052
|
|
|
1339
|
-
|
|
2053
|
+
/**
|
|
2054
|
+
* Main props interface for the Switch component.
|
|
2055
|
+
* Combines root element props with ARIA toggle functionality props.
|
|
2056
|
+
*/
|
|
2057
|
+
export declare type SwitchProps = Omit<SwitchRootProps, ExcludedSwitchProps | "onChange"> & Omit<AriaCheckboxProps, ExcludedSwitchProps> & {
|
|
2058
|
+
/**
|
|
2059
|
+
* The content to display next to the switch.
|
|
2060
|
+
* Can be a string or React node.
|
|
2061
|
+
*/
|
|
2062
|
+
children?: React.ReactNode;
|
|
2063
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
2064
|
+
};
|
|
1340
2065
|
|
|
1341
|
-
|
|
2066
|
+
/**
|
|
2067
|
+
* Props for the Switch component root element.
|
|
2068
|
+
* Includes all HTML props for the label element and recipe variant props.
|
|
2069
|
+
*/
|
|
2070
|
+
declare interface SwitchRootProps extends HTMLChakraProps<"label", RecipeVariantProps<typeof switchSlotRecipe>> {
|
|
2071
|
+
}
|
|
1342
2072
|
|
|
1343
|
-
|
|
2073
|
+
/**
|
|
2074
|
+
* Recipe configuration for the Switch component.
|
|
2075
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
2076
|
+
*/
|
|
2077
|
+
declare const switchSlotRecipe: SlotRecipeDefinition<"label" | "track" | "root" | "thumb", {
|
|
2078
|
+
size: {
|
|
2079
|
+
sm: {
|
|
2080
|
+
track: {
|
|
2081
|
+
"--track-height": "sizes.400";
|
|
2082
|
+
"--track-width": "sizes.700";
|
|
2083
|
+
};
|
|
2084
|
+
thumb: {
|
|
2085
|
+
"--thumb-size": "sizes.400";
|
|
2086
|
+
};
|
|
2087
|
+
label: {
|
|
2088
|
+
"--label-font-size": "fontSizes.350";
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
md: {
|
|
2092
|
+
track: {
|
|
2093
|
+
"--track-height": "sizes.600";
|
|
2094
|
+
"--track-width": "sizes.1100";
|
|
2095
|
+
};
|
|
2096
|
+
thumb: {
|
|
2097
|
+
"--thumb-size": "sizes.600";
|
|
2098
|
+
};
|
|
2099
|
+
label: {
|
|
2100
|
+
"--label-font-size": "fontSizes.400";
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
}>;
|
|
1344
2105
|
|
|
1345
|
-
export declare const
|
|
2106
|
+
export declare const system: SystemContext;
|
|
1346
2107
|
|
|
1347
|
-
export
|
|
2108
|
+
export { Table }
|
|
1348
2109
|
|
|
1349
2110
|
/**
|
|
1350
2111
|
* TagGroup
|
|
@@ -1362,10 +2123,12 @@ export declare const TagGroup: {
|
|
|
1362
2123
|
};
|
|
1363
2124
|
|
|
1364
2125
|
/** Final external props for the `<TagGroup>` component, including `children`. */
|
|
1365
|
-
export declare type TagGroupProps = PropsWithChildren<TagGroupRootProps
|
|
2126
|
+
export declare type TagGroupProps = PropsWithChildren<TagGroupRootProps> & {
|
|
2127
|
+
ref?: React.Ref<typeof TagGroup_2>;
|
|
2128
|
+
};
|
|
1366
2129
|
|
|
1367
|
-
/** Type signature for the main `TagGroup` component
|
|
1368
|
-
export declare type TagGroupRootComponent = FC<
|
|
2130
|
+
/** Type signature for the main `TagGroup` component. */
|
|
2131
|
+
export declare type TagGroupRootComponent = FC<TagGroupProps>;
|
|
1369
2132
|
|
|
1370
2133
|
/** Combined props for the root element (Chakra styles + Aria behavior + Recipe variants). */
|
|
1371
2134
|
declare type TagGroupRootProps = TagGroupRootSlotProps & TagGroupProps_2 & RecipeVariantProps<typeof tagGroupSlotRecipe>;
|
|
@@ -1403,20 +2166,24 @@ padding: "200";
|
|
|
1403
2166
|
};
|
|
1404
2167
|
}>;
|
|
1405
2168
|
|
|
1406
|
-
/** Type signature for the `TagGroup.Tag` sub-component
|
|
1407
|
-
export declare type TagGroupTagComponent = FC<TagGroupTagProps
|
|
2169
|
+
/** Type signature for the `TagGroup.Tag` sub-component. */
|
|
2170
|
+
export declare type TagGroupTagComponent = FC<TagGroupTagProps>;
|
|
1408
2171
|
|
|
1409
|
-
/** Type signature for the `TagGroup.TagList` sub-component
|
|
1410
|
-
export declare type TagGroupTagListComponent<T extends object> = FC<TagGroupTagListProps<T
|
|
2172
|
+
/** Type signature for the `TagGroup.TagList` sub-component. */
|
|
2173
|
+
export declare type TagGroupTagListComponent<T extends object> = FC<TagGroupTagListProps<T>>;
|
|
1411
2174
|
|
|
1412
2175
|
/** Combined props for the tagList element (Chakra styles + Aria behavior + Recipe variants). */
|
|
1413
|
-
export declare type TagGroupTagListProps<T extends object> = TagListProps<T> & Omit<TagGroupTagListSlotProps, keyof TagListProps<T
|
|
2176
|
+
export declare type TagGroupTagListProps<T extends object> = TagListProps<T> & Omit<TagGroupTagListSlotProps, keyof TagListProps<T>> & {
|
|
2177
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2178
|
+
};
|
|
1414
2179
|
|
|
1415
2180
|
/** Base Chakra styling props for the root `div` slot. */
|
|
1416
2181
|
declare type TagGroupTagListSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
1417
2182
|
|
|
1418
2183
|
/** Combined props for the tag element (Chakra styles + Aria behavior + Recipe variants). */
|
|
1419
|
-
export declare type TagGroupTagProps = TagProps & Omit<TagGroupTagSlotProps, keyof TagProps
|
|
2184
|
+
export declare type TagGroupTagProps = TagProps & Omit<TagGroupTagSlotProps, keyof TagProps> & {
|
|
2185
|
+
ref?: React.Ref<typeof Tag>;
|
|
2186
|
+
};
|
|
1420
2187
|
|
|
1421
2188
|
/** Base Chakra styling props for the root `div` slot. */
|
|
1422
2189
|
declare type TagGroupTagSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
@@ -1429,7 +2196,10 @@ declare type TagGroupTagSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
|
1429
2196
|
*
|
|
1430
2197
|
* @see https://DOMAIN/components/typography/text
|
|
1431
2198
|
*/
|
|
1432
|
-
declare const Text_2:
|
|
2199
|
+
declare const Text_2: {
|
|
2200
|
+
(props: TextProps): JSX.Element;
|
|
2201
|
+
displayName: string;
|
|
2202
|
+
};
|
|
1433
2203
|
export { Text_2 as Text }
|
|
1434
2204
|
|
|
1435
2205
|
/**
|
|
@@ -1444,9 +2214,13 @@ export { Text_2 as Text }
|
|
|
1444
2214
|
* - supports 'variants', 'sizes', etc. configured in the recipe
|
|
1445
2215
|
* - allows overriding styles by using style-props
|
|
1446
2216
|
*/
|
|
1447
|
-
export declare const TextInput:
|
|
2217
|
+
export declare const TextInput: {
|
|
2218
|
+
(props: TextInputProps): JSX.Element;
|
|
2219
|
+
displayName: string;
|
|
2220
|
+
};
|
|
1448
2221
|
|
|
1449
2222
|
export declare interface TextInputProps extends TextFieldProps, Omit<TextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> {
|
|
2223
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
1450
2224
|
}
|
|
1451
2225
|
|
|
1452
2226
|
/**
|
|
@@ -1470,7 +2244,7 @@ variant: {
|
|
|
1470
2244
|
solid: {
|
|
1471
2245
|
"--border-width": "sizes.25";
|
|
1472
2246
|
"--border-color": "colors.neutral.7";
|
|
1473
|
-
backgroundColor: "
|
|
2247
|
+
backgroundColor: "primary.1";
|
|
1474
2248
|
_hover: {
|
|
1475
2249
|
backgroundColor: "primary.2";
|
|
1476
2250
|
};
|
|
@@ -1489,6 +2263,84 @@ declare interface TextInputRecipeProps extends RecipeVariantProps<typeof textInp
|
|
|
1489
2263
|
declare type TextInputRootSlotProps = HTMLChakraProps<"input", TextInputRecipeProps>;
|
|
1490
2264
|
|
|
1491
2265
|
export declare interface TextProps extends TextProps_2 {
|
|
2266
|
+
ref?: React.Ref<HTMLParagraphElement>;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* TimeInput
|
|
2271
|
+
* ============================================================
|
|
2272
|
+
* allows entering a time in the currently selected locale
|
|
2273
|
+
*/
|
|
2274
|
+
export declare const TimeInput: {
|
|
2275
|
+
(props: TimeInputProps): JSX.Element;
|
|
2276
|
+
displayName: string;
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* Main props interface for the TimeInput component.
|
|
2281
|
+
*
|
|
2282
|
+
* We use Omit to remove:
|
|
2283
|
+
* 1. Conflicting props from TimeInputRootProps to avoid TypeScript errors
|
|
2284
|
+
* 2. Explicitly excluded props that we don't want users to access
|
|
2285
|
+
*/
|
|
2286
|
+
export declare interface TimeInputProps extends Omit<TimeInputRootProps, ConflictingFieldStateProps | ExcludedProps>, Omit<TimeFieldStateOptions<TimeValue>, ExcludedProps>, RecipeVariantProps<typeof timeInputRecipe> {
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* Recipe configuration for the TimeInput component.
|
|
2291
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
2292
|
+
*/
|
|
2293
|
+
declare const timeInputRecipe: SlotRecipeDefinition<"root" | "segmentGroup" | "segment", {
|
|
2294
|
+
size: {
|
|
2295
|
+
sm: {
|
|
2296
|
+
segmentGroup: {
|
|
2297
|
+
h: number;
|
|
2298
|
+
textStyle: "sm";
|
|
2299
|
+
px: number;
|
|
2300
|
+
};
|
|
2301
|
+
};
|
|
2302
|
+
md: {
|
|
2303
|
+
segmentGroup: {
|
|
2304
|
+
h: number;
|
|
2305
|
+
textStyle: "md";
|
|
2306
|
+
px: number;
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
variant: {
|
|
2311
|
+
solid: {
|
|
2312
|
+
segmentGroup: {
|
|
2313
|
+
"--border-width": "sizes.25";
|
|
2314
|
+
"--border-color": "colors.neutral.7";
|
|
2315
|
+
backgroundColor: "neutral.1";
|
|
2316
|
+
_hover: {
|
|
2317
|
+
backgroundColor: "primary.2";
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2321
|
+
ghost: {
|
|
2322
|
+
segmentGroup: {
|
|
2323
|
+
_hover: {
|
|
2324
|
+
backgroundColor: "primary.2";
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2329
|
+
}>;
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
2333
|
+
* with the unstyled prop option for the div element.
|
|
2334
|
+
*/
|
|
2335
|
+
declare interface TimeInputRecipeProps extends RecipeProps<"div">, UnstyledProp {
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
2340
|
+
* This creates a complete set of props for the root element, combining
|
|
2341
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
2342
|
+
*/
|
|
2343
|
+
declare interface TimeInputRootProps extends HTMLChakraProps<"div", TimeInputRecipeProps> {
|
|
1492
2344
|
}
|
|
1493
2345
|
|
|
1494
2346
|
/**
|
|
@@ -1501,24 +2353,28 @@ export declare const ToggleButtonGroup: {
|
|
|
1501
2353
|
Button: ToggleButtonGroupButtonComponent_2;
|
|
1502
2354
|
};
|
|
1503
2355
|
|
|
1504
|
-
export declare const
|
|
2356
|
+
export declare const _ToggleButtonGroupButton: ToggleButtonGroupButtonComponent;
|
|
1505
2357
|
|
|
1506
|
-
/** Type signature for the `ToggleButtonGroup.Button` sub-component
|
|
1507
|
-
export declare type ToggleButtonGroupButtonComponent =
|
|
2358
|
+
/** Type signature for the `ToggleButtonGroup.Button` sub-component. */
|
|
2359
|
+
export declare type ToggleButtonGroupButtonComponent = React.FC<ToggleButtonGroupButtonProps>;
|
|
1508
2360
|
|
|
1509
2361
|
/** Combined props for the button element (Chakra styles + Aria behavior). */
|
|
1510
|
-
export declare type ToggleButtonGroupButtonProps = ToggleButtonGroupButtonSlotProps & AriaToggleButtonProps
|
|
2362
|
+
export declare type ToggleButtonGroupButtonProps = ToggleButtonGroupButtonSlotProps & AriaToggleButtonProps & {
|
|
2363
|
+
ref?: React.Ref<typeof ToggleButton>;
|
|
2364
|
+
};
|
|
1511
2365
|
|
|
1512
2366
|
/** Base Chakra styling props for the `button` slot. */
|
|
1513
2367
|
declare type ToggleButtonGroupButtonSlotProps = HTMLChakraProps<"button", RecipeProps<"button">>;
|
|
1514
2368
|
|
|
1515
2369
|
/** Final external props for the `<ToggleButtonGroup>` component, including `children`. */
|
|
1516
|
-
export declare type ToggleButtonGroupProps = PropsWithChildren<ToggleButtonGroupRootProps
|
|
2370
|
+
export declare type ToggleButtonGroupProps = PropsWithChildren<ToggleButtonGroupRootProps> & {
|
|
2371
|
+
ref?: React.Ref<typeof ToggleButtonGroup_2>;
|
|
2372
|
+
};
|
|
1517
2373
|
|
|
1518
|
-
export declare const
|
|
2374
|
+
export declare const _ToggleButtonGroupRoot: ToggleButtonGroupRootComponent;
|
|
1519
2375
|
|
|
1520
|
-
/** Type signature for the main `ToggleButtonGroup` component
|
|
1521
|
-
export declare type ToggleButtonGroupRootComponent =
|
|
2376
|
+
/** Type signature for the main `ToggleButtonGroup` component. */
|
|
2377
|
+
export declare type ToggleButtonGroupRootComponent = React.FC<ToggleButtonGroupProps>;
|
|
1522
2378
|
|
|
1523
2379
|
/** Combined props for the root element (Chakra styles + Aria behavior + Recipe variants). */
|
|
1524
2380
|
declare type ToggleButtonGroupRootProps = ToggleButtonGroupRootSlotProps & AriaToggleButtonGroupProps & RecipeVariantProps<typeof buttonGroupRecipe>;
|
|
@@ -1526,8 +2382,13 @@ declare type ToggleButtonGroupRootProps = ToggleButtonGroupRootSlotProps & AriaT
|
|
|
1526
2382
|
/** Base Chakra styling props for the root `div` slot. */
|
|
1527
2383
|
declare type ToggleButtonGroupRootSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
1528
2384
|
|
|
2385
|
+
export declare const Tooltip: {
|
|
2386
|
+
Root: typeof _TooltipRoot;
|
|
2387
|
+
Content: typeof _TooltipContent;
|
|
2388
|
+
};
|
|
2389
|
+
|
|
1529
2390
|
/**
|
|
1530
|
-
*
|
|
2391
|
+
* TooltipContent
|
|
1531
2392
|
* ============================================================
|
|
1532
2393
|
* A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.
|
|
1533
2394
|
*
|
|
@@ -1540,7 +2401,13 @@ declare type ToggleButtonGroupRootSlotProps = HTMLChakraProps<"div", RecipeProps
|
|
|
1540
2401
|
* - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)
|
|
1541
2402
|
* - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)
|
|
1542
2403
|
*/
|
|
1543
|
-
export declare
|
|
2404
|
+
export declare function _TooltipContent({ children, placement, ref, ...props }: TooltipProps & {
|
|
2405
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2406
|
+
}): JSX.Element;
|
|
2407
|
+
|
|
2408
|
+
export declare namespace _TooltipContent {
|
|
2409
|
+
var displayName: string;
|
|
2410
|
+
}
|
|
1544
2411
|
|
|
1545
2412
|
/**
|
|
1546
2413
|
* Main props interface for the Tooltip components
|
|
@@ -1563,26 +2430,26 @@ declare interface TooltipRecipeProps extends RecipeProps<"div">, UnstyledProp {
|
|
|
1563
2430
|
}
|
|
1564
2431
|
|
|
1565
2432
|
/**
|
|
1566
|
-
*
|
|
1567
|
-
* This creates a complete set of props for the root element, combining
|
|
1568
|
-
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
1569
|
-
*/
|
|
1570
|
-
declare interface TooltipRootProps extends HTMLChakraProps<"div", TooltipRecipeProps> {
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* TooltipTrigger
|
|
2433
|
+
* TooltipRoot
|
|
1575
2434
|
* ============================================================
|
|
1576
|
-
*
|
|
2435
|
+
* Root component that wraps around a trigger element and Tooltip content.
|
|
1577
2436
|
* It handles opening and closing the Tooltip when the user hovers over or focuses the trigger,
|
|
1578
2437
|
* and positioning the Tooltip relative to the trigger.
|
|
1579
2438
|
*
|
|
1580
|
-
*
|
|
1581
|
-
* - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)
|
|
2439
|
+
* This acts as the context provider for the compound Tooltip component.
|
|
1582
2440
|
*/
|
|
1583
|
-
export declare
|
|
2441
|
+
export declare function _TooltipRoot({ delay, closeDelay, ...props }: TooltipTriggerComponentProps): JSX.Element;
|
|
1584
2442
|
|
|
1585
|
-
export declare
|
|
2443
|
+
export declare namespace _TooltipRoot {
|
|
2444
|
+
var displayName: string;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
2449
|
+
* This creates a complete set of props for the root element, combining
|
|
2450
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
2451
|
+
*/
|
|
2452
|
+
declare interface TooltipRootProps extends HTMLChakraProps<"div", TooltipRecipeProps> {
|
|
1586
2453
|
}
|
|
1587
2454
|
|
|
1588
2455
|
/**
|