@commercetools/nimbus 0.0.0-canary-20251015173928 → 0.0.0-canary-20251015182814
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/accordion.d.ts +26 -11
- package/dist/alert.d.ts +54 -28
- package/dist/avatar.d.ts +17 -19
- package/dist/badge.d.ts +16 -17
- package/dist/button.d.ts +23 -16
- package/dist/calendar.d.ts +0 -4
- package/dist/card.d.ts +18 -18
- package/dist/checkbox.d.ts +14 -9
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
- package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -1
- package/dist/chunks/alert-lNg0Rz2w.es.js.map +1 -1
- package/dist/chunks/{avatar-BfEMp9g8.es.js → avatar-CTiSGVoD.es.js} +4 -2
- package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
- package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -1
- package/dist/chunks/{badge-JEfh4EDj.es.js → badge-Csn5glEd.es.js} +4 -2
- package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
- package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -1
- package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -1
- package/dist/chunks/button-IZUJaJku.es.js.map +1 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
- package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -1
- package/dist/chunks/card-BB_1xrND.es.js.map +1 -1
- package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -1
- package/dist/chunks/{checkbox-DII0AOBy.es.js → checkbox-BB-WJdal.es.js} +2 -8
- package/dist/chunks/{checkbox-DII0AOBy.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -1
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -1
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
- package/dist/chunks/{combobox-CxEeal66.es.js → combobox-D_7gr3DY.es.js} +2 -2
- package/dist/chunks/{combobox-CxEeal66.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
- package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -1
- package/dist/chunks/{data-table-BGCmY93Q.es.js → data-table-ClMivKY1.es.js} +5 -8
- package/dist/chunks/{data-table-BGCmY93Q.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
- package/dist/chunks/date-input-Cap8-3zj.es.js.map +1 -1
- package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -1
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -1
- package/dist/chunks/date-picker-ChZ8H-MT.es.js.map +1 -1
- package/dist/chunks/date-range-picker-DGWMdcAN.es.js.map +1 -1
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -1
- package/dist/chunks/{draggable-list-Dv372xXb.es.js → draggable-list-s43baxoM.es.js} +2 -2
- package/dist/chunks/{draggable-list-Dv372xXb.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
- package/dist/chunks/{field-errors-CHxHaB5C.es.js → field-errors-ClQprmQz.es.js} +1 -6
- package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
- package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
- package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
- package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
- package/dist/chunks/{icon-V6yr3oou.es.js → icon-CenxuChf.es.js} +2 -4
- package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
- package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
- package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
- package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
- package/dist/chunks/link-BEhlSTUU.es.js.map +1 -1
- package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -1
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -1
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -1
- package/dist/chunks/{localized-field-D4R1lSbz.es.js → localized-field-D3G0Uy7Z.es.js} +6 -6
- package/dist/chunks/{localized-field-D4R1lSbz.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
- package/dist/chunks/{menu-BkPvV5Ey.es.js → menu-D-vE6ZpM.es.js} +3 -6
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -0
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
- package/dist/chunks/{money-input-jPYw0Jyg.es.js → money-input-sk0Slpeu.es.js} +2 -2
- package/dist/chunks/{money-input-jPYw0Jyg.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -1
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -1
- package/dist/chunks/{password-input-Bf_SPzLj.es.js → password-input-6MO4I-2j.es.js} +2 -2
- package/dist/chunks/{password-input-Bf_SPzLj.es.js.map → password-input-6MO4I-2j.es.js.map} +1 -1
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
- package/dist/chunks/{popover-DF0ppmkw.es.js → popover-DNaC7CwB.es.js} +2 -4
- package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -1
- package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -1
- package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -1
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
- package/dist/chunks/{rich-text-input-D7DcSuhr.es.js → rich-text-input-BC8CBVio.es.js} +5 -5
- package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -0
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
- package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -1
- package/dist/chunks/search-input-DJy2NHYW.es.js.map +1 -1
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
- package/dist/chunks/{separator-B0qxXI4c.es.js → separator-DJGUFG-o.es.js} +2 -4
- package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
- package/dist/chunks/{split-button-yfUsgbxF.es.js → split-button-BxyZmuNi.es.js} +3 -3
- package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
- package/dist/chunks/{switch-Df_0twKu.es.js → switch-01hEhL9A.es.js} +2 -14
- package/dist/chunks/switch-01hEhL9A.es.js.map +1 -0
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
- package/dist/chunks/{tabs-BCLrKRoZ.es.js → tabs-Dhte-RCe.es.js} +2 -8
- package/dist/chunks/{tabs-BCLrKRoZ.es.js.map → tabs-Dhte-RCe.es.js.map} +1 -1
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
- package/dist/chunks/{tag-group-B-eOhltn.es.js → tag-group-D2dgXSsV.es.js} +3 -9
- package/dist/chunks/{tag-group-B-eOhltn.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
- package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -1
- package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -1
- package/dist/chunks/time-input--a_qv-Jk.es.js.map +1 -1
- package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -1
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -1
- package/dist/chunks/toggle-button-awb1jBf8.es.js.map +1 -1
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -1
- package/dist/chunks/{toolbar-BDatiEYj.es.js → toolbar-Dduysqqi.es.js} +4 -2
- package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
- package/dist/chunks/{tooltip-CHm25f4m.es.js → tooltip-sgakxhiy.es.js} +2 -4
- package/dist/chunks/{tooltip-CHm25f4m.es.js.map → tooltip-sgakxhiy.es.js.map} +1 -1
- package/dist/collapsible-motion.d.ts +55 -42
- package/dist/combobox.d.ts +45 -25
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/field-errors.es.js +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/components.d.ts +31 -20
- package/dist/data-table.d.ts +4 -24
- package/dist/date-input.d.ts +10 -35
- package/dist/date-picker.d.ts +13 -66
- package/dist/date-range-picker.d.ts +10 -21
- package/dist/dialog.d.ts +31 -20
- package/dist/draggable-list.d.ts +35 -11
- package/dist/drawer.d.ts +45 -36
- package/dist/field-errors.d.ts +33 -25
- package/dist/form-field.d.ts +32 -12
- package/dist/group.d.ts +8 -12
- package/dist/icon-button.d.ts +29 -20
- package/dist/icon-toggle-button.d.ts +21 -16
- package/dist/icon.d.ts +0 -19
- package/dist/index.d.ts +31 -20
- package/dist/index.es.js +21 -21
- package/dist/inline-svg.d.ts +2 -21
- package/dist/link.d.ts +14 -24
- package/dist/loading-spinner.d.ts +13 -22
- package/dist/localized-field.d.ts +2 -5
- package/dist/money-input.d.ts +4 -0
- package/dist/multiline-text-input.d.ts +21 -7
- package/dist/nimbus-provider.d.ts +20 -8
- package/dist/number-input.d.ts +13 -2
- package/dist/pagination.d.ts +33 -9
- package/dist/password-input.d.ts +16 -10
- package/dist/popover.d.ts +3 -3
- package/dist/progress-bar.d.ts +21 -22
- package/dist/radio-input.d.ts +8 -3
- package/dist/range-calendar.d.ts +0 -7
- package/dist/scoped-search-input.d.ts +29 -92
- package/dist/search-input.d.ts +14 -10
- package/dist/select.d.ts +25 -9
- package/dist/separator.d.ts +10 -27
- package/dist/split-button.d.ts +23 -16
- package/dist/switch.d.ts +6 -11
- package/dist/tabs.d.ts +12 -13
- package/dist/tag-group.d.ts +4 -10
- package/dist/text-input.d.ts +19 -8
- package/dist/time-input.d.ts +8 -38
- package/dist/toggle-button-group.d.ts +9 -10
- package/dist/toggle-button.d.ts +15 -15
- package/dist/toolbar.d.ts +5 -11
- package/dist/tooltip.d.ts +23 -28
- package/package.json +5 -5
- package/dist/chunks/avatar-BfEMp9g8.es.js.map +0 -1
- package/dist/chunks/badge-JEfh4EDj.es.js.map +0 -1
- package/dist/chunks/field-errors-CHxHaB5C.es.js.map +0 -1
- package/dist/chunks/icon-V6yr3oou.es.js.map +0 -1
- package/dist/chunks/menu-BkPvV5Ey.es.js.map +0 -1
- package/dist/chunks/popover-DF0ppmkw.es.js.map +0 -1
- package/dist/chunks/rich-text-input-D7DcSuhr.es.js.map +0 -1
- package/dist/chunks/separator-B0qxXI4c.es.js.map +0 -1
- package/dist/chunks/split-button-yfUsgbxF.es.js.map +0 -1
- package/dist/chunks/switch-Df_0twKu.es.js.map +0 -1
- package/dist/chunks/toolbar-BDatiEYj.es.js.map +0 -1
package/dist/accordion.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AccordionContentProps as AccordionContentProps_2 } from './accordion.types';
|
|
2
2
|
import { AccordionHeaderProps as AccordionHeaderProps_2 } from './accordion.types';
|
|
3
|
-
import { AccordionHeaderRightContentSlot as _AccordionHeaderRightContent } from './accordion.slots';
|
|
4
3
|
import { AccordionItemProps as AccordionItemProps_2 } from './accordion.types';
|
|
5
4
|
import { AccordionRootProps as AccordionRootProps_2 } from './accordion.types';
|
|
6
5
|
import { ButtonProps } from 'react-aria-components';
|
|
@@ -31,7 +30,7 @@ export declare const Accordion: {
|
|
|
31
30
|
export declare const _AccordionContent: ({ children, ref, ...props }: AccordionContentProps) => JSX.Element;
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
|
-
* Props for Accordion
|
|
33
|
+
* Props for the Accordion.Content component.
|
|
35
34
|
* Contains the collapsible content area.
|
|
36
35
|
*/
|
|
37
36
|
export declare type AccordionContentProps = ExcludePolymorphicFromProps<DisclosurePanelProps & HTMLChakraProps<"div">> & {
|
|
@@ -44,7 +43,7 @@ export declare type AccordionContentProps = ExcludePolymorphicFromProps<Disclosu
|
|
|
44
43
|
export declare const _AccordionHeader: ({ children, ref, ...props }: AccordionHeaderProps) => JSX.Element;
|
|
45
44
|
|
|
46
45
|
/**
|
|
47
|
-
* Props for Accordion
|
|
46
|
+
* Props for the Accordion.Header component.
|
|
48
47
|
* Displays the clickable header that expands/collapses content.
|
|
49
48
|
*/
|
|
50
49
|
export declare type AccordionHeaderProps = ExcludePolymorphicFromProps<ButtonProps & HTMLChakraProps<"div">> & {
|
|
@@ -54,12 +53,12 @@ export declare type AccordionHeaderProps = ExcludePolymorphicFromProps<ButtonPro
|
|
|
54
53
|
ref?: Ref<HTMLButtonElement>;
|
|
55
54
|
};
|
|
56
55
|
|
|
57
|
-
export { _AccordionHeaderRightContent }
|
|
56
|
+
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" | "borderRadius" | "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" | "display" | "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" | "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" | "invert" | "focusVisibleRing" | "layerStyle" | "focusRing" | "h" | "minW" | "px" | "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" | "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" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "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" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "textStyle" | "animationStyle" | "css" | keyof PolymorphicProps> & Omit<JsxStyleProps, never> & PolymorphicProps & RefAttributes<HTMLDivElement>>;
|
|
58
57
|
|
|
59
58
|
export declare const _AccordionItem: ({ children, value, ref, ...props }: AccordionItemProps) => JSX.Element;
|
|
60
59
|
|
|
61
60
|
/**
|
|
62
|
-
* Props for
|
|
61
|
+
* Props for the Accordion.Item component.
|
|
63
62
|
*/
|
|
64
63
|
export declare type AccordionItemProps = ExcludePolymorphicFromProps<DisclosureProps & HTMLChakraProps<"div">> & {
|
|
65
64
|
/** The accordion item content (Header and Content components) */
|
|
@@ -82,7 +81,7 @@ declare type AccordionRecipeProps = SlotRecipeProps<"accordion">;
|
|
|
82
81
|
export declare const _AccordionRoot: (props: AccordionRootProps) => JSX.Element;
|
|
83
82
|
|
|
84
83
|
/**
|
|
85
|
-
* Props for the Accordion
|
|
84
|
+
* Props for the Accordion.Root component.
|
|
86
85
|
* Controls the overall accordion container and behavior.
|
|
87
86
|
*/
|
|
88
87
|
export declare type AccordionRootProps = AccordionRootSlotProps & DisclosureGroupProps & {
|
|
@@ -95,16 +94,32 @@ export declare type AccordionRootProps = AccordionRootSlotProps & DisclosureGrou
|
|
|
95
94
|
export declare type AccordionRootSlotProps = HTMLChakraProps<"div", AccordionRecipeProps>;
|
|
96
95
|
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* Utility type helpers for Nimbus components
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Excludes polymorphic props (`as` and `asChild`) from a type.
|
|
101
|
+
*
|
|
102
|
+
* **Use case:** For components that use the polymorphic `as` and `asChild` props
|
|
99
103
|
* internally, but do not make them available to the consumer.
|
|
100
104
|
*
|
|
101
|
-
*
|
|
105
|
+
* **Background:**
|
|
102
106
|
* React-Aria's components cannot be configured to use `as` and `asChild` internally,
|
|
103
|
-
* and cannot be directly styled by
|
|
104
|
-
* from `react-aria-components` should be wrapped in a
|
|
107
|
+
* and cannot be directly styled by Chakra's styledSystem. Therefore components
|
|
108
|
+
* from `react-aria-components` should be wrapped in a Chakra `withContext`
|
|
105
109
|
* root component to set the styles onto the `r-a-c` component using `asChild`.
|
|
106
110
|
* This means that we need to allow polymorphism internally, but should not
|
|
107
|
-
* allow it in the external props
|
|
111
|
+
* allow it in the external props API since it would not work.
|
|
112
|
+
*
|
|
113
|
+
* @template T - The type to exclude polymorphic props from
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```typescript
|
|
117
|
+
* export type AccordionItemProps = ExcludePolymorphicFromProps<
|
|
118
|
+
* RaDisclosureProps & HTMLChakraProps<"div">
|
|
119
|
+
* > & {
|
|
120
|
+
* children: ReactNode;
|
|
121
|
+
* };
|
|
122
|
+
* ```
|
|
108
123
|
*/
|
|
109
124
|
declare type ExcludePolymorphicFromProps<T> = Omit<T, "as" | "asChild">;
|
|
110
125
|
|
package/dist/alert.d.ts
CHANGED
|
@@ -40,15 +40,21 @@ export declare const _AlertActions: {
|
|
|
40
40
|
displayName: string;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
/**
|
|
44
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Props for the Alert.Actions component.
|
|
45
|
+
*/
|
|
46
|
+
export declare type AlertActionsProps = AlertActionsSlotProps;
|
|
47
|
+
|
|
48
|
+
export declare type AlertActionsSlotProps = HTMLChakraProps<"div">;
|
|
45
49
|
|
|
46
50
|
export declare const _AlertDescription: {
|
|
47
51
|
({ children, ...props }: AlertDescriptionProps): null;
|
|
48
52
|
displayName: string;
|
|
49
53
|
};
|
|
50
54
|
|
|
51
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Props for the Alert.Description component.
|
|
57
|
+
*/
|
|
52
58
|
export declare type AlertDescriptionProps = Omit<TextProps, "ref"> & {
|
|
53
59
|
ref?: React.Ref<HTMLDivElement>;
|
|
54
60
|
};
|
|
@@ -58,20 +64,30 @@ export declare const _AlertDismissButton: {
|
|
|
58
64
|
displayName: string;
|
|
59
65
|
};
|
|
60
66
|
|
|
61
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Props for the Alert.DismissButton component.
|
|
69
|
+
*/
|
|
62
70
|
export declare type AlertDismissButtonProps = ButtonProps;
|
|
63
71
|
|
|
64
|
-
/**
|
|
65
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Props for the Alert.Icon component.
|
|
74
|
+
*/
|
|
75
|
+
export declare type AlertIconProps = AlertIconSlotProps;
|
|
76
|
+
|
|
77
|
+
export declare type AlertIconSlotProps = HTMLChakraProps<"div">;
|
|
66
78
|
|
|
67
|
-
/**
|
|
68
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Props for the Alert.Root component.
|
|
81
|
+
*/
|
|
82
|
+
export declare type AlertProps = AlertRootSlotProps & {
|
|
69
83
|
[key: `data-${string}`]: unknown;
|
|
70
84
|
ref?: React.Ref<HTMLDivElement>;
|
|
71
85
|
};
|
|
72
86
|
|
|
73
87
|
declare type AlertRecipeProps = {
|
|
88
|
+
/** Color tone palette for the alert */
|
|
74
89
|
tone?: SlotRecipeProps<"alert">["tone"];
|
|
90
|
+
/** Visual style variant of the alert */
|
|
75
91
|
variant?: SlotRecipeProps<"alert">["variant"];
|
|
76
92
|
};
|
|
77
93
|
|
|
@@ -84,51 +100,61 @@ declare type AlertRecipeProps = {
|
|
|
84
100
|
*/
|
|
85
101
|
export declare const _AlertRoot: AlertRootComponent;
|
|
86
102
|
|
|
87
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Type signature for the main Alert component.
|
|
105
|
+
*/
|
|
88
106
|
export declare type AlertRootComponent = React.FC<AlertProps>;
|
|
89
107
|
|
|
90
|
-
|
|
91
|
-
export declare type AlertRootProps = HTMLChakraProps<"div", AlertRecipeProps>;
|
|
108
|
+
export declare type AlertRootSlotProps = HTMLChakraProps<"div", AlertRecipeProps>;
|
|
92
109
|
|
|
93
110
|
export declare const _AlertTitle: {
|
|
94
111
|
({ children, ...props }: AlertTitleProps): null;
|
|
95
112
|
displayName: string;
|
|
96
113
|
};
|
|
97
114
|
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* Props for the Alert.Title component.
|
|
117
|
+
*/
|
|
99
118
|
export declare type AlertTitleProps = Omit<TextProps, "ref"> & {
|
|
100
119
|
ref?: React.Ref<HTMLDivElement>;
|
|
101
120
|
};
|
|
102
121
|
|
|
103
|
-
declare type ButtonProps =
|
|
122
|
+
declare type ButtonProps = Omit<ButtonRootSlotProps, keyof AriaButtonProps> & AriaButtonProps & {
|
|
123
|
+
/**
|
|
124
|
+
* Data attributes for testing or custom metadata
|
|
125
|
+
*/
|
|
126
|
+
[key: `data-${string}`]: unknown;
|
|
127
|
+
/**
|
|
128
|
+
* Slot name for React Aria Components composition
|
|
129
|
+
*/
|
|
104
130
|
slot?: string | null | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Ref forwarding to the button element
|
|
133
|
+
*/
|
|
105
134
|
ref?: React.Ref<HTMLButtonElement>;
|
|
106
135
|
};
|
|
107
136
|
|
|
108
|
-
/**
|
|
109
|
-
* Base recipe props interface that combines Chakra UI's recipe props
|
|
110
|
-
* with the unstyled prop option for the button element.
|
|
111
|
-
*/
|
|
112
137
|
declare type ButtonRecipeProps = {
|
|
138
|
+
/**
|
|
139
|
+
* Size variant of the button
|
|
140
|
+
* @default "md"
|
|
141
|
+
*/
|
|
113
142
|
size?: RecipeProps<"button">["size"];
|
|
143
|
+
/**
|
|
144
|
+
* Visual style variant of the button
|
|
145
|
+
* @default "subtle"
|
|
146
|
+
*/
|
|
114
147
|
variant?: RecipeProps<"button">["variant"];
|
|
148
|
+
/**
|
|
149
|
+
* Color tone palette for the button
|
|
150
|
+
*/
|
|
115
151
|
tone?: RecipeProps<"button">["tone"];
|
|
116
152
|
} & UnstyledProp;
|
|
117
153
|
|
|
118
|
-
|
|
119
|
-
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
120
|
-
* This creates a complete set of props for the root element, combining
|
|
121
|
-
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
122
|
-
*/
|
|
123
|
-
declare type ButtonRootProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
|
|
154
|
+
declare type ButtonRootSlotProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
|
|
124
155
|
slot?: string | null | undefined;
|
|
125
156
|
};
|
|
126
157
|
|
|
127
|
-
/** combine chakra-button props with aria-button props */
|
|
128
|
-
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
|
|
129
|
-
[key: `data-${string}`]: unknown;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
158
|
declare type TextProps = Omit<TextProps_2, "slot"> & {
|
|
133
159
|
ref?: React.Ref<HTMLElement>;
|
|
134
160
|
slot?: string | null | undefined;
|
package/dist/avatar.d.ts
CHANGED
|
@@ -9,49 +9,47 @@ export declare const Avatar: {
|
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export declare type
|
|
12
|
+
export declare type AvatarProps = AvatarRootSlotProps & HTMLAttributes<HTMLDivElement> & {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* First name for generating initials
|
|
15
15
|
*/
|
|
16
16
|
firstName: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Last name for generating initials
|
|
19
19
|
*/
|
|
20
20
|
lastName: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Image source URL for the avatar
|
|
23
23
|
*/
|
|
24
24
|
src?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Alternative text for the avatar image
|
|
27
27
|
*/
|
|
28
28
|
alt?: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Whether the avatar is disabled
|
|
31
|
+
* @default false
|
|
31
32
|
*/
|
|
32
33
|
isDisabled?: boolean;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Custom content to override default avatar rendering
|
|
36
|
+
*/
|
|
36
37
|
children?: React.ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Ref forwarding to the root element
|
|
40
|
+
*/
|
|
37
41
|
ref?: React.Ref<HTMLDivElement>;
|
|
38
42
|
};
|
|
39
43
|
|
|
40
44
|
declare type AvatarRecipeProps = {
|
|
41
|
-
size?: RecipeProps<"avatar">["size"];
|
|
42
|
-
} & UnstyledProp;
|
|
43
|
-
|
|
44
|
-
declare type AvatarRecipeVariantProps = {
|
|
45
45
|
/**
|
|
46
|
-
* Size variant
|
|
46
|
+
* Size variant of the avatar
|
|
47
47
|
* @default "md"
|
|
48
48
|
*/
|
|
49
|
-
size?: "
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export declare type AvatarRootProps = HTMLChakraProps<"div", AvatarRecipeProps>;
|
|
49
|
+
size?: RecipeProps<"avatar">["size"];
|
|
50
|
+
} & UnstyledProp;
|
|
53
51
|
|
|
54
|
-
declare type
|
|
52
|
+
export declare type AvatarRootSlotProps = HTMLChakraProps<"div", AvatarRecipeProps>;
|
|
55
53
|
|
|
56
54
|
export { }
|
|
57
55
|
|
package/dist/badge.d.ts
CHANGED
|
@@ -15,31 +15,30 @@ export declare const Badge: {
|
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
export declare type BadgeProps = BadgeRootProps & {
|
|
18
|
+
export declare type BadgeProps = BadgeRootSlotProps & {
|
|
19
|
+
/**
|
|
20
|
+
* Content to display inside the badge
|
|
21
|
+
*/
|
|
24
22
|
children?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Ref forwarding to the root element
|
|
25
|
+
*/
|
|
25
26
|
ref?: React.Ref<HTMLSpanElement>;
|
|
27
|
+
/**
|
|
28
|
+
* Data attributes for testing or custom metadata
|
|
29
|
+
*/
|
|
26
30
|
[key: `data-${string}`]: string;
|
|
27
31
|
};
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
declare type BadgeRecipeProps = {
|
|
34
|
+
/**
|
|
35
|
+
* Size variant of the badge
|
|
36
|
+
* @default "md"
|
|
37
|
+
*/
|
|
34
38
|
size?: RecipeProps<"badge">["size"];
|
|
35
39
|
} & UnstyledProp;
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
39
|
-
* This creates a complete set of props for the root element, combining
|
|
40
|
-
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
41
|
-
*/
|
|
42
|
-
export declare type BadgeRootProps = HTMLChakraProps<"span", BadgeRecipeProps>;
|
|
41
|
+
export declare type BadgeRootSlotProps = HTMLChakraProps<"span", BadgeRecipeProps>;
|
|
43
42
|
|
|
44
43
|
export { }
|
|
45
44
|
|
package/dist/button.d.ts
CHANGED
|
@@ -16,35 +16,42 @@ export declare const Button: {
|
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
export declare type ButtonProps =
|
|
19
|
+
export declare type ButtonProps = Omit<ButtonRootSlotProps, keyof AriaButtonProps> & AriaButtonProps & {
|
|
20
|
+
/**
|
|
21
|
+
* Data attributes for testing or custom metadata
|
|
22
|
+
*/
|
|
23
|
+
[key: `data-${string}`]: unknown;
|
|
24
|
+
/**
|
|
25
|
+
* Slot name for React Aria Components composition
|
|
26
|
+
*/
|
|
20
27
|
slot?: string | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Ref forwarding to the button element
|
|
30
|
+
*/
|
|
21
31
|
ref?: React.Ref<HTMLButtonElement>;
|
|
22
32
|
};
|
|
23
33
|
|
|
24
|
-
/**
|
|
25
|
-
* Base recipe props interface that combines Chakra UI's recipe props
|
|
26
|
-
* with the unstyled prop option for the button element.
|
|
27
|
-
*/
|
|
28
34
|
declare type ButtonRecipeProps = {
|
|
35
|
+
/**
|
|
36
|
+
* Size variant of the button
|
|
37
|
+
* @default "md"
|
|
38
|
+
*/
|
|
29
39
|
size?: RecipeProps<"button">["size"];
|
|
40
|
+
/**
|
|
41
|
+
* Visual style variant of the button
|
|
42
|
+
* @default "subtle"
|
|
43
|
+
*/
|
|
30
44
|
variant?: RecipeProps<"button">["variant"];
|
|
45
|
+
/**
|
|
46
|
+
* Color tone palette for the button
|
|
47
|
+
*/
|
|
31
48
|
tone?: RecipeProps<"button">["tone"];
|
|
32
49
|
} & UnstyledProp;
|
|
33
50
|
|
|
34
|
-
|
|
35
|
-
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
36
|
-
* This creates a complete set of props for the root element, combining
|
|
37
|
-
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
38
|
-
*/
|
|
39
|
-
export declare type ButtonRootProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
|
|
51
|
+
export declare type ButtonRootSlotProps = Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> & {
|
|
40
52
|
slot?: string | null | undefined;
|
|
41
53
|
};
|
|
42
54
|
|
|
43
|
-
/** combine chakra-button props with aria-button props */
|
|
44
|
-
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
|
|
45
|
-
[key: `data-${string}`]: unknown;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
55
|
export { }
|
|
49
56
|
|
|
50
57
|
|
package/dist/calendar.d.ts
CHANGED
|
@@ -36,10 +36,6 @@ declare type CalendarRecipeProps = SlotRecipeProps<"calendar">;
|
|
|
36
36
|
|
|
37
37
|
export declare type CalendarRootSlotProps = HTMLChakraProps<"div", CalendarRecipeProps>;
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* Additional properties we want to exclude from the TimeInput component.
|
|
41
|
-
* These are either deprecated or not intended for use in this component.
|
|
42
|
-
*/
|
|
43
39
|
declare type ExcludedProps = "as" | "asChild" | "style" | "createCalendar";
|
|
44
40
|
|
|
45
41
|
export { }
|
package/dist/card.d.ts
CHANGED
|
@@ -26,34 +26,39 @@ export declare const _CardContent: {
|
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export declare type CardContentProps =
|
|
29
|
+
export declare type CardContentProps = CardContentSlotProps & {
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export declare type CardContentSlotProps = HTMLChakraProps<"div">;
|
|
30
35
|
|
|
31
36
|
export declare const _CardHeader: {
|
|
32
37
|
({ children, ...props }: CardHeaderProps): null;
|
|
33
38
|
displayName: string;
|
|
34
39
|
};
|
|
35
40
|
|
|
36
|
-
export declare type CardHeaderProps =
|
|
41
|
+
export declare type CardHeaderProps = CardHeaderSlotProps & {
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export declare type CardHeaderSlotProps = HTMLChakraProps<"div">;
|
|
37
47
|
|
|
38
|
-
|
|
39
|
-
* Main props interface for the Card component.
|
|
40
|
-
* Extends CardRecipeVariantProps to include both root props and variant props,
|
|
41
|
-
* while adding support for React children.
|
|
42
|
-
*/
|
|
43
|
-
export declare type CardProps = CardRootProps & {
|
|
48
|
+
export declare type CardProps = CardRootSlotProps & {
|
|
44
49
|
children?: React.ReactNode;
|
|
45
50
|
ref?: React.Ref<HTMLDivElement>;
|
|
46
51
|
[key: `data-${string}`]: unknown;
|
|
47
52
|
};
|
|
48
53
|
|
|
49
|
-
/**
|
|
50
|
-
* Base recipe props interface that combines Chakra UI's recipe props
|
|
51
|
-
* with the unstyled prop option for the div element.
|
|
52
|
-
*/
|
|
53
54
|
declare type CardRecipeProps = {
|
|
55
|
+
/** Internal padding variant for the card content */
|
|
54
56
|
cardPadding?: SlotRecipeProps<"card">["cardPadding"];
|
|
57
|
+
/** Border style variant (outline, none, etc.) */
|
|
55
58
|
borderStyle?: SlotRecipeProps<"card">["borderStyle"];
|
|
59
|
+
/** Elevation shadow level for the card */
|
|
56
60
|
elevation?: SlotRecipeProps<"card">["elevation"];
|
|
61
|
+
/** Background style variant (white, gray, etc.) */
|
|
57
62
|
backgroundStyle?: SlotRecipeProps<"card">["backgroundStyle"];
|
|
58
63
|
} & UnstyledProp;
|
|
59
64
|
|
|
@@ -69,12 +74,7 @@ export declare const _CardRoot: {
|
|
|
69
74
|
displayName: string;
|
|
70
75
|
};
|
|
71
76
|
|
|
72
|
-
|
|
73
|
-
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
74
|
-
* This creates a complete set of props for the root element, combining
|
|
75
|
-
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
76
|
-
*/
|
|
77
|
-
export declare type CardRootProps = HTMLChakraProps<"div", CardRecipeProps>;
|
|
77
|
+
export declare type CardRootSlotProps = HTMLChakraProps<"div", CardRecipeProps>;
|
|
78
78
|
|
|
79
79
|
export { }
|
|
80
80
|
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -17,25 +17,30 @@ export declare const Checkbox: {
|
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
export declare type
|
|
20
|
+
export declare type CheckboxIndicatorSlotProps = HTMLChakraProps<"span">;
|
|
21
21
|
|
|
22
|
-
export declare type
|
|
22
|
+
export declare type CheckboxLabelSlotProps = HTMLChakraProps<"span">;
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
export declare type CheckboxProps = CheckboxRootProps & {
|
|
24
|
+
export declare type CheckboxProps = CheckboxRootSlotProps & {
|
|
25
|
+
/**
|
|
26
|
+
* Ref forwarding to the label element
|
|
27
|
+
*/
|
|
30
28
|
ref?: Ref<HTMLLabelElement>;
|
|
29
|
+
/**
|
|
30
|
+
* The label content to display next to the checkbox
|
|
31
|
+
*/
|
|
31
32
|
children?: ReactNode;
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
declare type CheckboxRecipeProps = {
|
|
36
|
+
/**
|
|
37
|
+
* Size variant of the checkbox
|
|
38
|
+
* @default "md"
|
|
39
|
+
*/
|
|
35
40
|
size?: SlotRecipeProps<"checkbox">["size"];
|
|
36
41
|
};
|
|
37
42
|
|
|
38
|
-
export declare type
|
|
43
|
+
export declare type CheckboxRootSlotProps = Omit<HTMLChakraProps<"label", CheckboxRecipeProps>, keyof CheckboxProps_2> & CheckboxProps_2;
|
|
39
44
|
|
|
40
45
|
export { }
|
|
41
46
|
|