welcome-ui 8.1.1 → 8.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AXB53BZF-BOEe01VW.mjs → AXB53BZF-XKOjjeWO.mjs} +3 -3
- package/dist/Accordion.mjs +30 -23
- package/dist/Alert.mjs +72 -66
- package/dist/AspectRatio.mjs +9 -9
- package/dist/Avatar.mjs +45 -41
- package/dist/{BYC7LY2E-B1IDizRs.mjs → BYC7LY2E-CWSI38FM.mjs} +128 -127
- package/dist/Badge.mjs +25 -25
- package/dist/Box.mjs +5 -5
- package/dist/Breadcrumb.mjs +118 -112
- package/dist/Button.mjs +72 -67
- package/dist/ButtonGroup.mjs +12 -11
- package/dist/Card.mjs +14 -14
- package/dist/Checkbox.mjs +2 -2
- package/dist/ClearButton.mjs +15 -15
- package/dist/CloseButton.mjs +9 -9
- package/dist/{CustomInput-IA_gVoXd.mjs → CustomPopper-DezjKb9n.mjs} +1458 -1442
- package/dist/DatePicker.mjs +63 -62
- package/dist/DateTimePicker.mjs +69 -63
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +171 -159
- package/dist/DropdownMenu.mjs +354 -351
- package/dist/Field.mjs +103 -92
- package/dist/FieldGroup.mjs +12 -9
- package/dist/FileDrop.mjs +316 -295
- package/dist/FileUpload.mjs +83 -69
- package/dist/Files.mjs +41 -41
- package/dist/Flex.mjs +13 -13
- package/dist/Grid.mjs +29 -29
- package/dist/Hint.mjs +12 -12
- package/dist/{ITI7HKP4-EL9KXYBU.mjs → ITI7HKP4-C89kOQb8.mjs} +68 -67
- package/dist/Icon.mjs +25 -25
- package/dist/Icons.mjs +988 -988
- package/dist/IconsFont.mjs +22 -22
- package/dist/InputText.mjs +64 -56
- package/dist/{JC64G2H7-BzklVBKM.mjs → JC64G2H7-afsomHuH.mjs} +47 -46
- package/dist/{KUU7WJ55-CS4NemC6.mjs → KUU7WJ55-CzsjuIMv.mjs} +1 -1
- package/dist/LVA2YJMS-C-kJ1lkr.mjs +873 -0
- package/dist/Label.mjs +37 -35
- package/dist/Link.mjs +32 -28
- package/dist/Loader.mjs +20 -16
- package/dist/Logo.mjs +55 -42
- package/dist/{MTZPJQMC-CMjAwC0N.mjs → MTZPJQMC-TybFZCho.mjs} +2 -2
- package/dist/Modal.mjs +263 -244
- package/dist/{NLEBE274-QOMV1l7e.mjs → NLEBE274-oSxMftGy.mjs} +9 -9
- package/dist/{P2CTZE2T-Cl2w7OLV.mjs → P2CTZE2T-DOT1mNnX.mjs} +49 -48
- package/dist/{P4IRICAX-DezbJY4s.mjs → P4IRICAX-CWSZLTGz.mjs} +3 -3
- package/dist/Pagination.mjs +105 -103
- package/dist/PasswordInput.mjs +35 -34
- package/dist/Picker.mjs +36 -34
- package/dist/Popover.mjs +106 -99
- package/dist/{QYJ6MIDR-Bb0O5xUM.mjs → QYJ6MIDR-DJ-vUdAM.mjs} +31 -30
- package/dist/Radio.mjs +52 -46
- package/dist/RadioGroup.mjs +47 -47
- package/dist/RadioTab.mjs +37 -35
- package/dist/{SYRFVSLH-jn06-eLy.mjs → SYRFVSLH-B6m278Vb.mjs} +11 -10
- package/dist/Search.mjs +147 -135
- package/dist/Select.mjs +348 -330
- package/dist/Shape.mjs +9 -9
- package/dist/Slider.mjs +353 -326
- package/dist/Stack.mjs +24 -23
- package/dist/Swiper.mjs +192 -186
- package/dist/Table.mjs +23 -23
- package/dist/Tabs.mjs +205 -200
- package/dist/Tag.mjs +49 -47
- package/dist/Text.mjs +20 -20
- package/dist/Textarea.mjs +40 -40
- package/dist/TimePicker.mjs +59 -58
- package/dist/Toast.mjs +135 -128
- package/dist/Toggle.mjs +27 -24
- package/dist/Tooltip.mjs +103 -99
- package/dist/UniversalLink.mjs +15 -15
- package/dist/{VEVQD5MH-CuegL0m0.mjs → VEVQD5MH-0w9Y7Ytc.mjs} +3 -3
- package/dist/{VGCJ63VH-BMzoZtCu.mjs → VGCJ63VH-C0UPBY-5.mjs} +39 -38
- package/dist/VariantIcon.mjs +23 -22
- package/dist/WelcomeLoader.mjs +122 -121
- package/dist/WuiProvider.mjs +52 -44
- package/dist/{X5NMLKT6-CvSCix-_.mjs → X5NMLKT6-BJw3xE-K.mjs} +2 -2
- package/dist/{YV4JVR4I-Bh7B7TET.mjs → YV4JVR4I-DPC8mMuG.mjs} +57 -57
- package/dist/hide-focus-rings-root-CCXdysih.mjs +15 -0
- package/dist/{index-5PUh49rV.mjs → index-62h-enZF.mjs} +62 -61
- package/dist/{index-C7zM96J_.mjs → index-BaLGEKs7.mjs} +8 -8
- package/dist/index-CYmF7qCH.mjs +11 -0
- package/dist/index-C_k-m0Rl.mjs +36 -0
- package/dist/index-D8v_VJ9z.mjs +26 -0
- package/dist/{index-BNGGwOCo.mjs → index-DAZ1SYdj.mjs} +7 -7
- package/dist/index-DpkNUfAS.mjs +11 -0
- package/dist/{index-DqBUFsqP.mjs → index-DvzWKxKE.mjs} +7 -7
- package/dist/{index-Bkl89twW.mjs → index-QaLwIvZS.mjs} +8 -8
- package/dist/{index-BQtDgQBH.mjs → index-SQQQ4dEE.mjs} +8 -8
- package/dist/index-i_anpNhw.mjs +66 -0
- package/dist/index-wl3X6EM1.mjs +16 -0
- package/dist/jsx-runtime-B7I4PJ0H.mjs +613 -0
- package/dist/radio-group-C0fUHvam.mjs +52 -0
- package/dist/theme.mjs +805 -805
- package/dist/types/components/Accordion/index.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +2 -2
- package/dist/types/components/Alert/styles.d.ts +4 -4
- package/dist/types/components/Alert/theme.d.ts +4 -4
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +4 -4
- package/dist/types/components/Avatar/theme.d.ts +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Button/index.d.ts +4 -5
- package/dist/types/components/Button/theme.d.ts +7 -7
- package/dist/types/components/ButtonGroup/index.d.ts +3 -3
- package/dist/types/components/Card/Cover.styles.d.ts +2 -2
- package/dist/types/components/Card/index.d.ts +2 -3
- package/dist/types/components/Checkbox/index.d.ts +2 -2
- package/dist/types/components/ClearButton/index.d.ts +4 -5
- package/dist/types/components/ClearButton/styles.d.ts +2 -2
- package/dist/types/components/CloseButton/styles.d.ts +2 -2
- package/dist/types/components/DatePicker/index.d.ts +3 -3
- package/dist/types/components/DateTimePicker/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +8 -8
- package/dist/types/components/Drawer/styles.d.ts +3 -3
- package/dist/types/components/Drawer/theme.d.ts +1 -1
- package/dist/types/components/DropdownMenu/index.d.ts +4 -4
- package/dist/types/components/Field/index.d.ts +8 -8
- package/dist/types/components/Field/styles.d.ts +1 -1
- package/dist/types/components/Field/utils.d.ts +1 -1
- package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
- package/dist/types/components/FileDrop/Message.d.ts +1 -1
- package/dist/types/components/FileDrop/index.d.ts +16 -16
- package/dist/types/components/FileUpload/index.d.ts +13 -13
- package/dist/types/components/Files/index.d.ts +4 -4
- package/dist/types/components/Files/types.d.ts +1 -1
- package/dist/types/components/Hint/index.d.ts +1 -2
- package/dist/types/components/Icon/index.d.ts +3 -3
- package/dist/types/components/Icon/styles.d.ts +3 -3
- package/dist/types/components/Icon/theme.d.ts +1 -1
- package/dist/types/components/Icons/index.d.ts +2 -2
- package/dist/types/components/IconsFont/index.d.ts +2 -3
- package/dist/types/components/IconsFont/styles.d.ts +1 -1
- package/dist/types/components/InputText/index.d.ts +1 -1
- package/dist/types/components/InputText/styles.d.ts +1 -1
- package/dist/types/components/Label/index.d.ts +2 -3
- package/dist/types/components/Link/index.d.ts +3 -3
- package/dist/types/components/Link/styles.d.ts +2 -2
- package/dist/types/components/Loader/index.d.ts +1 -1
- package/dist/types/components/Loader/styles.d.ts +2 -2
- package/dist/types/components/Loader/theme.d.ts +2 -2
- package/dist/types/components/Logo/Solutions.d.ts +1 -2
- package/dist/types/components/Logo/Symbol.d.ts +1 -2
- package/dist/types/components/Logo/Wui.d.ts +1 -2
- package/dist/types/components/Logo/index.d.ts +5 -5
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -5
- package/dist/types/components/Modal/Assets/Iframe.d.ts +1 -2
- package/dist/types/components/Modal/Assets/index.d.ts +5 -5
- package/dist/types/components/Modal/Assets/styles.d.ts +4 -4
- package/dist/types/components/Modal/Close.d.ts +1 -2
- package/dist/types/components/Modal/Footer.d.ts +1 -1
- package/dist/types/components/Modal/Header.d.ts +2 -2
- package/dist/types/components/Modal/index.d.ts +11 -11
- package/dist/types/components/Modal/styles.d.ts +4 -4
- package/dist/types/components/Modal/theme.d.ts +1 -1
- package/dist/types/components/Pagination/index.d.ts +2 -2
- package/dist/types/components/Pagination/utils.d.ts +1 -1
- package/dist/types/components/Popover/Arrow.d.ts +1 -2
- package/dist/types/components/Popover/Content.d.ts +2 -3
- package/dist/types/components/Popover/Popover.d.ts +4 -5
- package/dist/types/components/Popover/PopoverHover.d.ts +3 -4
- package/dist/types/components/Popover/Trigger.d.ts +1 -1
- package/dist/types/components/Popover/usePopover.d.ts +6 -6
- package/dist/types/components/Radio/index.d.ts +5 -5
- package/dist/types/components/Radio/styles.d.ts +2 -2
- package/dist/types/components/RadioGroup/index.d.ts +2 -2
- package/dist/types/components/RadioTab/index.d.ts +2 -2
- package/dist/types/components/RadioTab/styles.d.ts +9 -9
- package/dist/types/components/Search/index.d.ts +4 -4
- package/dist/types/components/Select/index.d.ts +9 -9
- package/dist/types/components/Select/styles.d.ts +4 -4
- package/dist/types/components/Select/utils.d.ts +4 -4
- package/dist/types/components/Shape/index.d.ts +1 -1
- package/dist/types/components/Shape/styles.d.ts +2 -2
- package/dist/types/components/Slider/Range.d.ts +3 -3
- package/dist/types/components/Slider/index.d.ts +2 -2
- package/dist/types/components/Slider/styles.d.ts +10 -10
- package/dist/types/components/Stack/index.d.ts +1 -1
- package/dist/types/components/Swiper/index.d.ts +16 -17
- package/dist/types/components/Swiper/styles.d.ts +55 -55
- package/dist/types/components/System/index.d.ts +10 -10
- package/dist/types/components/Table/index.d.ts +6 -7
- package/dist/types/components/Table/styles.d.ts +1 -1
- package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
- package/dist/types/components/Tabs/TabList.d.ts +2 -2
- package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
- package/dist/types/components/Tabs/theme.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -3
- package/dist/types/components/Tag/styles.d.ts +1 -1
- package/dist/types/components/Tag/theme.d.ts +2 -2
- package/dist/types/components/Text/index.d.ts +2 -2
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/TimePicker/index.d.ts +2 -2
- package/dist/types/components/Toast/Growl.d.ts +1 -1
- package/dist/types/components/Toast/Snackbar.d.ts +1 -1
- package/dist/types/components/Toast/ToastWrapper.d.ts +4 -4
- package/dist/types/components/Toast/index.d.ts +5 -5
- package/dist/types/components/Toast/styles.d.ts +10 -10
- package/dist/types/components/Toast/theme.d.ts +1 -1
- package/dist/types/components/Toast/utils.d.ts +13 -13
- package/dist/types/components/Toggle/index.d.ts +2 -2
- package/dist/types/components/Toggle/theme.d.ts +4 -4
- package/dist/types/components/Tooltip/index.d.ts +3 -3
- package/dist/types/components/VariantIcon/index.d.ts +1 -1
- package/dist/types/components/VariantIcon/styles.d.ts +1 -1
- package/dist/types/components/VariantIcon/theme.d.ts +1 -1
- package/dist/types/theme/colors.d.ts +3 -3
- package/dist/types/theme/dark.d.ts +1 -1
- package/dist/types/theme/defaultFields.d.ts +5 -5
- package/dist/types/theme/fonts.d.ts +5 -5
- package/dist/types/theme/index.d.ts +31 -31
- package/dist/types/theme/screens.d.ts +7 -7
- package/dist/types/theme/space.d.ts +9 -9
- package/dist/types/utils/field-styles.d.ts +2 -2
- package/dist/types/utils/index.d.ts +2 -2
- package/dist/types/utils/ts-utils.d.ts +1 -1
- package/dist/types/utils/use-copy-text.d.ts +1 -1
- package/dist/types/utils/use-create-portal.d.ts +1 -1
- package/dist/types/utils/wrap-children.d.ts +1 -1
- package/dist/{use-viewport-CfklieD-.mjs → use-viewport-CWpjoHXy.mjs} +2 -2
- package/dist/utils.mjs +13 -13
- package/dist/wrap-children-CzmhoRzd.mjs +13 -0
- package/package.json +3 -27
- package/dist/LVA2YJMS-DDEmK0pp.mjs +0 -1482
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +0 -14
- package/dist/index-B0gDDiFm.mjs +0 -66
- package/dist/index-B22SHR8h.mjs +0 -26
- package/dist/index-CQD9fgf_.mjs +0 -11
- package/dist/index-CmsWSKKs.mjs +0 -11
- package/dist/index-u1oHKa7X.mjs +0 -16
- package/dist/index-wr_b5GSV.mjs +0 -36
- package/dist/radio-group-RFyDp0KD.mjs +0 -51
- package/dist/wrap-children-aq69jtFP.mjs +0 -12
- package/dist/{downshift.esm-D0ns_SQs.mjs → downshift.esm-B7Jil1wW.mjs} +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "
|
|
1
|
+
export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "dataTestId" | "as" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions> & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, keyof import('../Button').ButtonOptions> & import('../Button').ButtonOptions & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
2
2
|
as?: import('../System').As;
|
|
3
3
|
}, keyof import('../Button').ButtonOptions> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
4
4
|
as?: import('../System').As;
|
|
5
|
-
}, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "
|
|
5
|
+
}, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "dataTestId" | "as" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions>, "ref"> & {
|
|
6
6
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
7
7
|
}, never>> & string & Omit<import('../System').CreateWuiComponent<"button", import('../Button').ButtonProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactDatePickerProps } from 'react-datepicker';
|
|
2
|
-
import { CreateWuiProps } from '../System';
|
|
3
2
|
import { CustomHeaderProps, CustomInputOptions, StyledDatePicker } from '../DateTimePickerCommon';
|
|
3
|
+
import { CreateWuiProps } from '../System';
|
|
4
4
|
export interface DatePickerOptions {
|
|
5
5
|
onBlur?: CustomInputOptions['handleBlur'];
|
|
6
6
|
onChange?: (date?: Date) => void;
|
|
@@ -9,7 +9,7 @@ export interface DatePickerOptions {
|
|
|
9
9
|
preventVirtualKeyboard?: boolean;
|
|
10
10
|
transparent?: boolean;
|
|
11
11
|
useWeekdaysShort?: boolean;
|
|
12
|
-
value:
|
|
12
|
+
value: Date | string;
|
|
13
13
|
}
|
|
14
|
-
export type DatePickerProps = CreateWuiProps<typeof StyledDatePicker, Omit<
|
|
14
|
+
export type DatePickerProps = CreateWuiProps<typeof StyledDatePicker, DatePickerOptions & Omit<CustomInputOptions, 'focused' | 'handleBlur' | 'handleFocus' | 'onReset' | 'value'> & Omit<ReactDatePickerProps, 'locale' | keyof DatePickerOptions> & Partial<Pick<CustomHeaderProps, 'endYear' | 'startYear'>> & Pick<CustomHeaderProps, 'locale'>>;
|
|
15
15
|
export declare const DatePicker: import('../System').CreateWuiComponent<"input", DatePickerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatePickerProps } from '../DatePicker';
|
|
2
|
-
import { TimePickerProps } from '../TimePicker';
|
|
3
2
|
import { CreateWuiProps } from '../System';
|
|
4
|
-
|
|
3
|
+
import { TimePickerProps } from '../TimePicker';
|
|
4
|
+
export type DateTimePickerProps = CreateWuiProps<'input', Pick<DatePickerProps, 'disabled' | 'locale' | 'onChange' | 'size' | 'transparent' | 'value'> & Pick<TimePickerProps, 'disabled' | 'locale' | 'onChange' | 'size' | 'transparent' | 'value'>>;
|
|
5
5
|
export declare const DateTimePicker: import('../System').CreateWuiComponent<"input", DateTimePickerProps>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DefaultFieldStylesProps } from '../../utils/field-styles';
|
|
3
|
-
export type Focused = 'date' | 'time' | null;
|
|
4
|
-
export type Icon = JSX.Element;
|
|
5
|
-
export type IconPlacement = 'right' | 'left';
|
|
6
3
|
export interface CustomInputOptions {
|
|
7
4
|
focused: Focused;
|
|
8
5
|
handleBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
|
|
@@ -11,7 +8,10 @@ export interface CustomInputOptions {
|
|
|
11
8
|
iconPlacement?: IconPlacement;
|
|
12
9
|
onReset?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
13
10
|
size?: DefaultFieldStylesProps['size'];
|
|
14
|
-
value?:
|
|
11
|
+
value?: null | string;
|
|
15
12
|
}
|
|
16
|
-
export type CustomInputProps = Omit<React.ComponentProps<'input'>, keyof CustomInputOptions
|
|
13
|
+
export type CustomInputProps = CustomInputOptions & Omit<React.ComponentProps<'input'>, keyof CustomInputOptions>;
|
|
14
|
+
export type Focused = 'date' | 'time' | null;
|
|
15
|
+
export type Icon = JSX.Element;
|
|
16
|
+
export type IconPlacement = 'left' | 'right';
|
|
17
17
|
export declare const CustomInput: React.ForwardRefExoticComponent<Omit<CustomInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './CustomHeader';
|
|
2
|
-
export * from './CustomPopper';
|
|
3
2
|
export * from './CustomInput';
|
|
4
|
-
export * from './
|
|
3
|
+
export * from './CustomPopper';
|
|
5
4
|
export { fixAriaMessageStyle, StyledDatePicker, StyledTimePicker } from './styles';
|
|
5
|
+
export * from './utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Locale } from 'date-fns';
|
|
2
2
|
import { SelectOption, SelectOptions } from '../Select';
|
|
3
3
|
export declare const DEFAULT_DATE: Date;
|
|
4
|
-
export declare const getDate: (date:
|
|
4
|
+
export declare const getDate: (date: Date | number | string, interval?: number) => Date;
|
|
5
5
|
export declare const getMonths: (locale: Locale) => SelectOptions["options"];
|
|
6
6
|
export declare const getYears: (startYear: number, endYear: number) => SelectOption[];
|
|
@@ -25,7 +25,7 @@ type HeaderProps = {
|
|
|
25
25
|
export declare const Header: React.FC<HeaderProps>;
|
|
26
26
|
export type IconBlockProps = {
|
|
27
27
|
icon: React.FC<IconProps>;
|
|
28
|
-
size?: '
|
|
28
|
+
size?: 'md' | 'sm';
|
|
29
29
|
};
|
|
30
30
|
export declare const IconBlock: React.FC<IconBlockProps>;
|
|
31
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateWuiProps } from '../../System';
|
|
2
|
-
import * as Ariakit from '@ariakit/react';
|
|
2
|
+
import type * as Ariakit from '@ariakit/react';
|
|
3
3
|
export type AssetDrawerProps = CreateWuiProps<'div', Ariakit.DialogOptions>;
|
|
4
4
|
export declare const AssetDrawerComponent: import('../../System').CreateWuiComponent<"div", AssetDrawerProps>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { As, CreateWuiProps } from '../System';
|
|
3
3
|
import * as Ariakit from '@ariakit/react';
|
|
4
|
-
type Placement = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
-
type Size = 'sm' | 'md' | 'lg' | 'auto' | string;
|
|
6
4
|
export interface DrawerOptions extends Ariakit.DialogOptions<'div'> {
|
|
7
5
|
placement?: Placement;
|
|
8
6
|
size?: Size;
|
|
@@ -10,13 +8,15 @@ export interface DrawerOptions extends Ariakit.DialogOptions<'div'> {
|
|
|
10
8
|
withCloseButton?: boolean;
|
|
11
9
|
}
|
|
12
10
|
export type DrawerProps = CreateWuiProps<'div', DrawerOptions>;
|
|
11
|
+
type Placement = 'bottom' | 'left' | 'right' | 'top';
|
|
12
|
+
type Size = 'auto' | 'sm' | 'md' | 'lg' | string;
|
|
13
|
+
export interface DrawerBackdropOptions {
|
|
14
|
+
hideOnInteractOutside?: boolean;
|
|
15
|
+
}
|
|
13
16
|
export type UseDrawer = Ariakit.DialogStore;
|
|
14
17
|
export type UseDrawerProps = Ariakit.DialogStoreProps;
|
|
15
18
|
export type UseDrawerState = Ariakit.DialogStoreState;
|
|
16
19
|
export declare function useDrawer(options?: UseDrawerProps): UseDrawer;
|
|
17
|
-
export interface DrawerBackdropOptions {
|
|
18
|
-
hideOnInteractOutside?: boolean;
|
|
19
|
-
}
|
|
20
20
|
/**
|
|
21
21
|
* @name Drawer.Backdrop
|
|
22
22
|
*/
|
|
@@ -28,19 +28,18 @@ type TriggerProps = {
|
|
|
28
28
|
};
|
|
29
29
|
export declare const Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
30
30
|
export declare const Drawer: import('../System').CreateWuiComponent<"div", DrawerProps> & {
|
|
31
|
-
Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
32
31
|
Backdrop: React.FC<DrawerBackdropOptions>;
|
|
33
32
|
Close: React.FC<import('./Close').CloseProps>;
|
|
34
|
-
Title: React.FC<import('../Text').TextProps>;
|
|
35
33
|
Content: import('../System').CreateWuiComponent<"div", Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('../System').WuiProps>, never> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
36
34
|
as?: As;
|
|
37
35
|
}, never>>;
|
|
38
36
|
Footer: import('../System').CreateWuiComponent<"div", Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('../System').WuiProps>, never> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
39
37
|
as?: As;
|
|
40
38
|
}, never>>;
|
|
39
|
+
Title: React.FC<import('../Text').TextProps>;
|
|
40
|
+
Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
41
41
|
};
|
|
42
42
|
export declare const AssetDrawer: import('../System').CreateWuiComponent<"div", import('./AssetDrawer').AssetDrawerProps> & {
|
|
43
|
-
Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
44
43
|
Header: React.FC<{
|
|
45
44
|
action?: React.ReactNode;
|
|
46
45
|
icon?: React.FC<import('../Icon').IconProps>;
|
|
@@ -48,5 +47,6 @@ export declare const AssetDrawer: import('../System').CreateWuiComponent<"div",
|
|
|
48
47
|
subtitle?: React.ReactNode;
|
|
49
48
|
title: React.ReactNode;
|
|
50
49
|
}>;
|
|
50
|
+
Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
51
51
|
};
|
|
52
52
|
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { DrawerOptions } from '.';
|
|
2
|
-
import * as Ariakit from '@ariakit/react';
|
|
2
|
+
import type * as Ariakit from '@ariakit/react';
|
|
3
3
|
export declare const Drawer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Pick<DrawerOptions, "size" | "placement">>> & string;
|
|
4
4
|
export declare const Backdrop: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
|
|
5
5
|
hideOnInteractOutside: Ariakit.DialogProps["hideOnInteractOutside"];
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
|
|
8
8
|
export declare const Content: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
|
|
9
|
-
export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "
|
|
9
|
+
export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "dataTestId" | "as" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions> & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, keyof import('../Button').ButtonOptions> & import('../Button').ButtonOptions & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
10
10
|
as?: import('../System').As;
|
|
11
11
|
}, keyof import('../Button').ButtonOptions> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
|
|
12
12
|
as?: import('../System').As;
|
|
13
|
-
}, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "
|
|
13
|
+
}, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "dataTestId" | "as" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions>, "ref"> & {
|
|
14
14
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
15
15
|
}, never>> & string & Omit<import('../System').CreateWuiComponent<"button", import('../Button').ButtonProps>, keyof import('react').Component<any, {}, any>>;
|
|
16
16
|
export declare const Footer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSObject } from '@xstyled/styled-components';
|
|
2
2
|
import { ThemeValues } from '../../theme';
|
|
3
|
-
type Size = 'sm' | 'md' | 'lg';
|
|
4
3
|
export type ThemeDrawers = {
|
|
5
4
|
backdrop: CSSObject;
|
|
6
5
|
closeButton: CSSObject;
|
|
@@ -13,5 +12,6 @@ export type ThemeDrawers = {
|
|
|
13
12
|
};
|
|
14
13
|
title: CSSObject;
|
|
15
14
|
};
|
|
15
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
16
16
|
export declare const getDrawers: (theme: ThemeValues) => ThemeDrawers;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ThemeValues } from '../../theme';
|
|
2
1
|
import { CreateWuiProps, WuiProps } from '../System';
|
|
2
|
+
import { ThemeValues } from '../../theme';
|
|
3
3
|
import * as Ariakit from '@ariakit/react';
|
|
4
4
|
export interface DropdownMenuOptions extends Omit<Ariakit.MenuProps, 'gutter'> {
|
|
5
5
|
/** default 4px (space.xs) */
|
|
@@ -11,15 +11,15 @@ export type DropdownMenuProps = CreateWuiProps<'div', DropdownMenuOptions>;
|
|
|
11
11
|
export type UseDropdownMenu = Ariakit.MenuStore;
|
|
12
12
|
export type UseDropdownMenuProps = Ariakit.MenuStoreProps;
|
|
13
13
|
export type UseDropdownMenuState = Ariakit.MenuStoreState;
|
|
14
|
-
export declare function useDropdownMenu(options?: UseDropdownMenuProps): UseDropdownMenu;
|
|
15
14
|
type TriggerOptions = {
|
|
16
15
|
store: UseDropdownMenu;
|
|
17
16
|
};
|
|
18
17
|
type TriggerProps = CreateWuiProps<'button', TriggerOptions>;
|
|
18
|
+
export declare function useDropdownMenu(options?: UseDropdownMenuProps): UseDropdownMenu;
|
|
19
19
|
export declare const DropdownMenu: import('../System').CreateWuiComponent<"div", DropdownMenuProps> & {
|
|
20
|
-
|
|
20
|
+
Arrow: import('../System').CreateWuiComponent<"div", import('./Arrow').ArrowProps>;
|
|
21
21
|
Item: import('../System').CreateWuiComponent<"button", import('./Item').ItemProps>;
|
|
22
22
|
Separator: import('../System').CreateWuiComponent<"div", import('./Separator').SeparatorProps>;
|
|
23
|
-
|
|
23
|
+
Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
|
|
24
24
|
};
|
|
25
25
|
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { getBaseType } from './utils';
|
|
3
2
|
import { CreateWuiProps } from '../System';
|
|
4
|
-
|
|
5
|
-
error?: string | JSX.Element;
|
|
6
|
-
success?: string | JSX.Element;
|
|
7
|
-
warning?: string | JSX.Element;
|
|
8
|
-
};
|
|
3
|
+
import { getBaseType } from './utils';
|
|
9
4
|
export interface FieldOptions extends VariantProps {
|
|
10
5
|
children: JSX.Element;
|
|
11
6
|
disabled?: boolean;
|
|
12
7
|
disabledIcon?: JSX.Element;
|
|
13
|
-
hint?:
|
|
14
|
-
label?:
|
|
8
|
+
hint?: JSX.Element | string;
|
|
9
|
+
label?: JSX.Element | string;
|
|
15
10
|
required?: boolean;
|
|
16
11
|
transparent?: boolean;
|
|
17
12
|
}
|
|
18
13
|
export type FieldProps = CreateWuiProps<'div', FieldOptions>;
|
|
14
|
+
type VariantProps = {
|
|
15
|
+
error?: JSX.Element | string;
|
|
16
|
+
success?: JSX.Element | string;
|
|
17
|
+
warning?: JSX.Element | string;
|
|
18
|
+
};
|
|
19
19
|
export declare const Field: import('../System').CreateWuiComponent<"div", FieldProps>;
|
|
20
20
|
export declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
|
|
21
21
|
iconPlacement: "left" | "right";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldOptions } from '.';
|
|
2
2
|
export declare const getBaseType: (type: string) => string;
|
|
3
|
-
export declare const getVariant: ({ error, success, warning, }: Pick<FieldOptions, "error" | "success" | "warning">) => "danger" | "
|
|
3
|
+
export declare const getVariant: ({ error, success, warning, }: Pick<FieldOptions, "error" | "success" | "warning">) => "danger" | "success" | "warning";
|
|
4
4
|
export declare const generateRandomId: () => string;
|
|
5
5
|
export declare const forwardedProps: string[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FileDropChildren } from './index';
|
|
3
2
|
import { ForceFileType } from '../Files';
|
|
3
|
+
import { FileDropChildren } from './index';
|
|
4
4
|
export interface MessageProps {
|
|
5
5
|
file: FileDropChildren['file'];
|
|
6
6
|
fileName?: string;
|
|
7
7
|
forceFileType?: ForceFileType;
|
|
8
8
|
}
|
|
9
|
-
export declare const FilePreview: React.FC<
|
|
9
|
+
export declare const FilePreview: React.FC<FileDropChildren['wordings'] & MessageProps>;
|
|
@@ -4,4 +4,4 @@ export interface MessageProps {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
openFile?: FileDropChildren['openFile'];
|
|
6
6
|
}
|
|
7
|
-
export declare const Message: React.FC<
|
|
7
|
+
export declare const Message: React.FC<FileDropChildren['wordings'] & MessageProps>;
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Accept, DropEvent, DropzoneProps, DropzoneState } from 'react-dropzone';
|
|
3
|
-
import { CreateEvent } from '../../utils/create-event';
|
|
4
3
|
import { ForceFileType } from '../Files';
|
|
5
4
|
import { CreateWuiProps } from '../System';
|
|
6
|
-
|
|
7
|
-
preview?: string;
|
|
8
|
-
}
|
|
9
|
-
type FileType = string | FileWithPreview;
|
|
10
|
-
type FileUrlType = string | URL;
|
|
11
|
-
type OpenType = DropzoneState['open'];
|
|
12
|
-
type WordingsType = {
|
|
13
|
-
fileButtonText?: string | JSX.Element;
|
|
14
|
-
hint?: string | JSX.Element;
|
|
15
|
-
previewButtonText?: string | JSX.Element;
|
|
16
|
-
title?: string | JSX.Element;
|
|
17
|
-
};
|
|
5
|
+
import { CreateEvent } from '../../utils/create-event';
|
|
18
6
|
export type FileDropChildren = {
|
|
19
7
|
disabled?: boolean;
|
|
20
8
|
error?: string;
|
|
@@ -34,19 +22,31 @@ export interface FileDropOptions {
|
|
|
34
22
|
children?: (state: FileDropChildren) => JSX.Element;
|
|
35
23
|
fileName?: string;
|
|
36
24
|
forceFileType?: ForceFileType;
|
|
37
|
-
handleAddFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement>
|
|
38
|
-
handleRemoveFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement>
|
|
25
|
+
handleAddFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
|
|
26
|
+
handleRemoveFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
|
|
39
27
|
isClearable?: boolean;
|
|
40
28
|
isEditable?: boolean;
|
|
41
29
|
name?: string;
|
|
42
30
|
onBlur?: () => void;
|
|
43
|
-
onChange?: (event: DropEvent | React.ChangeEvent<HTMLInputElement>
|
|
31
|
+
onChange?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
|
|
44
32
|
onError?: (event?: string) => void;
|
|
45
33
|
value: FileType;
|
|
46
34
|
/** Pass an object with optional fields title, hint, fileButtonText and/or previewButtonText (string or JSX.Element) */
|
|
47
35
|
wordings?: WordingsType;
|
|
48
36
|
}
|
|
49
37
|
export type FileDropProps = CreateWuiProps<'div', FileDropOptions> & Omit<DropzoneProps, 'children'>;
|
|
38
|
+
export interface FileWithPreview extends File {
|
|
39
|
+
preview?: string;
|
|
40
|
+
}
|
|
41
|
+
type FileType = FileWithPreview | string;
|
|
42
|
+
type FileUrlType = string | URL;
|
|
43
|
+
type OpenType = DropzoneState['open'];
|
|
44
|
+
type WordingsType = {
|
|
45
|
+
fileButtonText?: JSX.Element | string;
|
|
46
|
+
hint?: JSX.Element | string;
|
|
47
|
+
previewButtonText?: JSX.Element | string;
|
|
48
|
+
title?: JSX.Element | string;
|
|
49
|
+
};
|
|
50
50
|
export declare const FileDrop: import('../System').CreateWuiComponent<"div", FileDropProps>;
|
|
51
51
|
export declare const ImagePreview: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
|
|
52
52
|
export {};
|