@aws-amplify/ui-react 4.6.3 → 5.0.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/esm/PrimitiveCatalog.mjs +1 -1
- package/dist/esm/components/AccountSettings/ChangePassword/ChangePassword.mjs +1 -1
- package/dist/esm/components/index.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/primitives/Autocomplete/AutocompleteMenu.mjs +1 -1
- package/dist/esm/primitives/Autocomplete/AutocompleteOption.mjs +1 -1
- package/dist/esm/primitives/Link/Link.mjs +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/styles.css +0 -378
- package/dist/types/components/AccountSettings/types.d.ts +4 -7
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/primitives/Alert/Alert.d.ts +2 -3
- package/dist/types/primitives/Autocomplete/Autocomplete.d.ts +2 -3
- package/dist/types/primitives/Autocomplete/AutocompleteMenu.d.ts +2 -2
- package/dist/types/primitives/Autocomplete/AutocompleteOption.d.ts +2 -2
- package/dist/types/primitives/Badge/Badge.d.ts +2 -3
- package/dist/types/primitives/Button/Button.d.ts +2 -3
- package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +2 -3
- package/dist/types/primitives/Card/Card.d.ts +2 -3
- package/dist/types/primitives/Checkbox/Checkbox.d.ts +3 -3
- package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +2 -3
- package/dist/types/primitives/Collection/Collection.d.ts +2 -2
- package/dist/types/primitives/Divider/Divider.d.ts +2 -3
- package/dist/types/primitives/Expander/Expander.d.ts +3 -3
- package/dist/types/primitives/Expander/ExpanderItem.d.ts +3 -3
- package/dist/types/primitives/Field/Field.d.ts +3 -4
- package/dist/types/primitives/Field/FieldClearButton.d.ts +2 -3
- package/dist/types/primitives/Field/FieldDescription.d.ts +2 -2
- package/dist/types/primitives/Field/FieldErrorMessage.d.ts +2 -2
- package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +2 -3
- package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +2 -3
- package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +2 -3
- package/dist/types/primitives/Flex/Flex.d.ts +2 -3
- package/dist/types/primitives/Grid/Grid.d.ts +2 -3
- package/dist/types/primitives/Heading/Heading.d.ts +2 -5
- package/dist/types/primitives/HighlightMatch/HighlightMatch.d.ts +2 -3
- package/dist/types/primitives/Icon/Icon.d.ts +2 -3
- package/dist/types/primitives/Image/Image.d.ts +2 -3
- package/dist/types/primitives/Input/Input.d.ts +2 -3
- package/dist/types/primitives/Label/Label.d.ts +2 -3
- package/dist/types/primitives/Link/Link.d.ts +2 -3
- package/dist/types/primitives/Loader/Loader.d.ts +3 -3
- package/dist/types/primitives/Menu/Menu.d.ts +2 -3
- package/dist/types/primitives/Menu/MenuButton.d.ts +2 -8
- package/dist/types/primitives/Menu/MenuItem.d.ts +2 -6
- package/dist/types/primitives/Pagination/Pagination.d.ts +2 -3
- package/dist/types/primitives/Pagination/PaginationItem.d.ts +2 -2
- package/dist/types/primitives/PasswordField/PasswordField.d.ts +2 -3
- package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +2 -3
- package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +2 -3
- package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +2 -3
- package/dist/types/primitives/Placeholder/Placeholder.d.ts +2 -3
- package/dist/types/primitives/Radio/Radio.d.ts +2 -3
- package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +2 -3
- package/dist/types/primitives/Rating/Rating.d.ts +2 -3
- package/dist/types/primitives/ScrollView/ScrollView.d.ts +2 -3
- package/dist/types/primitives/SearchField/SearchField.d.ts +2 -3
- package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +2 -3
- package/dist/types/primitives/Select/Select.d.ts +3 -3
- package/dist/types/primitives/SelectField/SelectField.d.ts +2 -3
- package/dist/types/primitives/SliderField/SliderField.d.ts +3 -4
- package/dist/types/primitives/StepperField/StepperField.d.ts +3 -3
- package/dist/types/primitives/StepperField/useStepper.d.ts +1 -1
- package/dist/types/primitives/SwitchField/SwitchField.d.ts +2 -3
- package/dist/types/primitives/Table/Table.d.ts +2 -3
- package/dist/types/primitives/Table/TableBody.d.ts +2 -3
- package/dist/types/primitives/Table/TableCell.d.ts +2 -3
- package/dist/types/primitives/Table/TableFoot.d.ts +2 -3
- package/dist/types/primitives/Table/TableHead.d.ts +2 -3
- package/dist/types/primitives/Table/TableRow.d.ts +2 -3
- package/dist/types/primitives/Tabs/Tabs.d.ts +3 -4
- package/dist/types/primitives/Text/Text.d.ts +2 -3
- package/dist/types/primitives/TextArea/TextArea.d.ts +3 -3
- package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +3 -3
- package/dist/types/primitives/TextField/TextField.d.ts +2 -3
- package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +2 -3
- package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -3
- package/dist/types/primitives/View/View.d.ts +2 -7
- package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +2 -3
- package/dist/types/primitives/shared/styleUtils.d.ts +3 -3
- package/dist/types/primitives/types/alert.d.ts +4 -2
- package/dist/types/primitives/types/autocomplete.d.ts +8 -5
- package/dist/types/primitives/types/badge.d.ts +3 -2
- package/dist/types/primitives/types/base.d.ts +5 -0
- package/dist/types/primitives/types/button.d.ts +3 -2
- package/dist/types/primitives/types/buttonGroup.d.ts +5 -3
- package/dist/types/primitives/types/card.d.ts +3 -2
- package/dist/types/primitives/types/checkbox.d.ts +5 -3
- package/dist/types/primitives/types/checkboxField.d.ts +5 -3
- package/dist/types/primitives/types/collection.d.ts +7 -5
- package/dist/types/primitives/types/divider.d.ts +3 -2
- package/dist/types/primitives/types/expander.d.ts +5 -3
- package/dist/types/primitives/types/field.d.ts +12 -7
- package/dist/types/primitives/types/fieldGroup.d.ts +4 -2
- package/dist/types/primitives/types/fieldGroupIcon.d.ts +6 -4
- package/dist/types/primitives/types/flex.d.ts +3 -2
- package/dist/types/primitives/types/grid.d.ts +3 -2
- package/dist/types/primitives/types/heading.d.ts +5 -2
- package/dist/types/primitives/types/highlightMatch.d.ts +3 -2
- package/dist/types/primitives/types/icon.d.ts +3 -2
- package/dist/types/primitives/types/image.d.ts +3 -2
- package/dist/types/primitives/types/input.d.ts +3 -2
- package/dist/types/primitives/types/label.d.ts +3 -2
- package/dist/types/primitives/types/link.d.ts +8 -16
- package/dist/types/primitives/types/loader.d.ts +3 -2
- package/dist/types/primitives/types/menu.d.ts +7 -4
- package/dist/types/primitives/types/pagination.d.ts +6 -7
- package/dist/types/primitives/types/passwordField.d.ts +7 -4
- package/dist/types/primitives/types/phoneNumberField.d.ts +8 -5
- package/dist/types/primitives/types/placeholder.d.ts +3 -2
- package/dist/types/primitives/types/radio.d.ts +4 -2
- package/dist/types/primitives/types/radioGroupField.d.ts +5 -3
- package/dist/types/primitives/types/rating.d.ts +4 -2
- package/dist/types/primitives/types/scrollView.d.ts +3 -2
- package/dist/types/primitives/types/searchField.d.ts +6 -3
- package/dist/types/primitives/types/select.d.ts +3 -2
- package/dist/types/primitives/types/selectField.d.ts +5 -3
- package/dist/types/primitives/types/sliderField.d.ts +4 -3
- package/dist/types/primitives/types/stepperField.d.ts +4 -2
- package/dist/types/primitives/types/switchField.d.ts +5 -3
- package/dist/types/primitives/types/table.d.ts +13 -8
- package/dist/types/primitives/types/tabs.d.ts +6 -3
- package/dist/types/primitives/types/text.d.ts +3 -7
- package/dist/types/primitives/types/textArea.d.ts +3 -2
- package/dist/types/primitives/types/textAreaField.d.ts +5 -3
- package/dist/types/primitives/types/textField.d.ts +7 -5
- package/dist/types/primitives/types/toggleButton.d.ts +4 -2
- package/dist/types/primitives/types/toggleButtonGroup.d.ts +5 -3
- package/dist/types/primitives/types/view.d.ts +14 -30
- package/dist/types/primitives/types/visuallyHidden.d.ts +3 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -22
- package/dist/esm/components/Geo/LocationSearch/index.mjs +0 -1
- package/dist/esm/components/Geo/MapView/index.mjs +0 -1
- package/dist/esm/components/InAppMessaging/Backdrop/Backdrop.mjs +0 -1
- package/dist/esm/components/InAppMessaging/Backdrop/withBackdrop.mjs +0 -1
- package/dist/esm/components/InAppMessaging/BannerMessage/BannerMessage.mjs +0 -1
- package/dist/esm/components/InAppMessaging/BannerMessage/constants.mjs +0 -1
- package/dist/esm/components/InAppMessaging/CloseIconButton/CloseIconButton.mjs +0 -1
- package/dist/esm/components/InAppMessaging/FullScreenMessage/FullScreenMessage.mjs +0 -1
- package/dist/esm/components/InAppMessaging/FullScreenMessage/constants.mjs +0 -1
- package/dist/esm/components/InAppMessaging/InAppMessageDisplay/InAppMessageDisplay.mjs +0 -1
- package/dist/esm/components/InAppMessaging/InAppMessageDisplay/handleMessageLinkAction.mjs +0 -1
- package/dist/esm/components/InAppMessaging/MessageLayout/MessageLayout.mjs +0 -1
- package/dist/esm/components/InAppMessaging/MessageLayout/constants.mjs +0 -1
- package/dist/esm/components/InAppMessaging/MessageLayout/utils.mjs +0 -1
- package/dist/esm/components/InAppMessaging/ModalMessage/ModalMessage.mjs +0 -1
- package/dist/esm/components/InAppMessaging/ModalMessage/constants.mjs +0 -1
- package/dist/esm/components/InAppMessaging/hooks/useMessageImage/types.mjs +0 -1
- package/dist/esm/components/InAppMessaging/hooks/useMessageImage/useMessageImage.mjs +0 -1
- package/dist/esm/components/InAppMessaging/hooks/useMessageProps/useMessageProps.mjs +0 -1
- package/dist/esm/components/InAppMessaging/hooks/useMessageProps/utils.mjs +0 -1
- package/dist/esm/components/InAppMessaging/withInAppMessaging/withInAppMessaging.mjs +0 -1
- package/dist/types/components/Geo/LocationSearch/index.d.ts +0 -25
- package/dist/types/components/Geo/MapView/index.d.ts +0 -24
- package/dist/types/components/Geo/index.d.ts +0 -2
- package/dist/types/components/Geo/types/maplibre-gl-geocoder.d.ts +0 -171
- package/dist/types/components/InAppMessaging/Backdrop/Backdrop.d.ts +0 -4
- package/dist/types/components/InAppMessaging/Backdrop/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/Backdrop/types.d.ts +0 -8
- package/dist/types/components/InAppMessaging/Backdrop/withBackdrop.d.ts +0 -3
- package/dist/types/components/InAppMessaging/BannerMessage/BannerMessage.d.ts +0 -3
- package/dist/types/components/InAppMessaging/BannerMessage/constants.d.ts +0 -1
- package/dist/types/components/InAppMessaging/BannerMessage/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/BannerMessage/types.d.ts +0 -7
- package/dist/types/components/InAppMessaging/CloseIconButton/CloseIconButton.d.ts +0 -3
- package/dist/types/components/InAppMessaging/CloseIconButton/index.d.ts +0 -1
- package/dist/types/components/InAppMessaging/CloseIconButton/types.d.ts +0 -8
- package/dist/types/components/InAppMessaging/FullScreenMessage/FullScreenMessage.d.ts +0 -3
- package/dist/types/components/InAppMessaging/FullScreenMessage/constants.d.ts +0 -1
- package/dist/types/components/InAppMessaging/FullScreenMessage/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/FullScreenMessage/types.d.ts +0 -4
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/InAppMessageDisplay.d.ts +0 -10
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/handleMessageLinkAction.d.ts +0 -3
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/InAppMessageDisplay/types.d.ts +0 -23
- package/dist/types/components/InAppMessaging/MessageLayout/MessageLayout.d.ts +0 -3
- package/dist/types/components/InAppMessaging/MessageLayout/constants.d.ts +0 -16
- package/dist/types/components/InAppMessaging/MessageLayout/index.d.ts +0 -1
- package/dist/types/components/InAppMessaging/MessageLayout/types.d.ts +0 -23
- package/dist/types/components/InAppMessaging/MessageLayout/utils.d.ts +0 -13
- package/dist/types/components/InAppMessaging/ModalMessage/ModalMessage.d.ts +0 -3
- package/dist/types/components/InAppMessaging/ModalMessage/constants.d.ts +0 -2
- package/dist/types/components/InAppMessaging/ModalMessage/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/ModalMessage/types.d.ts +0 -4
- package/dist/types/components/InAppMessaging/hooks/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/index.d.ts +0 -1
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/types.d.ts +0 -10
- package/dist/types/components/InAppMessaging/hooks/useMessageImage/useMessageImage.d.ts +0 -9
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/index.d.ts +0 -2
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/types.d.ts +0 -39
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/useMessageProps.d.ts +0 -11
- package/dist/types/components/InAppMessaging/hooks/useMessageProps/utils.d.ts +0 -23
- package/dist/types/components/InAppMessaging/index.d.ts +0 -6
- package/dist/types/components/InAppMessaging/withInAppMessaging/index.d.ts +0 -1
- package/dist/types/components/InAppMessaging/withInAppMessaging/withInAppMessaging.d.ts +0 -5
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const TableRow: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<TableRowProps, "tr">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "as" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
1
|
+
import { ForwardRefPrimitive, BaseTableRowProps } from '../types';
|
|
2
|
+
export declare const TableRow: ForwardRefPrimitive<BaseTableRowProps, 'tr'>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TabsProps, TabItemProps } from '../types';
|
|
1
|
+
import { BaseTabsProps, BaseTabItemProps, ForwardRefPrimitive } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
|
|
5
4
|
*/
|
|
6
|
-
export declare const Tabs: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<TabsProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "as" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>>, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "as" | "spacing" | "defaultIndex" | "currentIndex" | "indicatorPosition" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export declare const TabItem:
|
|
5
|
+
export declare const Tabs: ForwardRefPrimitive<BaseTabsProps, 'div'>;
|
|
6
|
+
export declare const TabItem: ForwardRefPrimitive<BaseTabItemProps, 'button'>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TextProps } from '../types';
|
|
1
|
+
import { BaseTextProps, ForwardRefPrimitive } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/text)
|
|
5
4
|
*/
|
|
6
|
-
export declare const Text:
|
|
5
|
+
export declare const Text: ForwardRefPrimitive<BaseTextProps, 'p'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export declare const TextArea:
|
|
1
|
+
import { ForwardRefPrimitive } from '../types/view';
|
|
2
|
+
import { BaseTextAreaProps } from '../types/textArea';
|
|
3
|
+
export declare const TextArea: ForwardRefPrimitive<BaseTextAreaProps, 'textarea'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { ForwardRefPrimitive } from '../types';
|
|
2
|
+
import { BaseTextAreaFieldProps } from '../types/textAreaField';
|
|
3
3
|
export declare const DEFAULT_ROW_COUNT = 3;
|
|
4
4
|
/**
|
|
5
5
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/textareafield)
|
|
6
6
|
*/
|
|
7
|
-
export declare const TextAreaField:
|
|
7
|
+
export declare const TextAreaField: ForwardRefPrimitive<BaseTextAreaFieldProps, 'textarea'>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TextFieldProps } from '../types';
|
|
1
|
+
import { ForwardRefPrimitive, BaseTextFieldProps } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/textfield)
|
|
5
4
|
*/
|
|
6
|
-
export declare const TextField:
|
|
5
|
+
export declare const TextField: ForwardRefPrimitive<BaseTextFieldProps, 'input'>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ToggleButtonProps } from '../types';
|
|
1
|
+
import { BaseToggleButtonProps, ForwardRefPrimitive } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/togglebutton)
|
|
5
4
|
*/
|
|
6
|
-
export declare const ToggleButton: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ToggleButtonProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").ButtonProps, "button">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "size" | "type" | "value" | "isLoading" | "isFullWidth" | "loadingText" | "as" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLButtonElement>>>, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "size" | "type" | "value" | "isLoading" | "isFullWidth" | "loadingText" | "as" | "isPressed" | "defaultPressed" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export declare const ToggleButton: ForwardRefPrimitive<BaseToggleButtonProps, 'button'>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ToggleButtonGroupProps } from '../types';
|
|
1
|
+
import { ForwardRefPrimitive, BaseToggleButtonGroupProps } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/togglebutton#togglebuttongroup)
|
|
5
4
|
*/
|
|
6
|
-
export declare const ToggleButtonGroup: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<ToggleButtonGroupProps, React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<import("../types").FlexProps, "div">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "as" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>>, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "value" | "as" | "isExclusive" | "isSelectionRequired" | "style" | "onLoad" | "onError" | "onClick" | "onSubmit" | "onChange" | "onSelect" | "onBlur" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export declare const ToggleButtonGroup: ForwardRefPrimitive<BaseToggleButtonGroupProps, 'div'>;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ElementType, ViewProps } from '../types';
|
|
1
|
+
import { ForwardRefPrimitive, BaseViewProps } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/view)
|
|
5
4
|
*/
|
|
6
|
-
export declare const View:
|
|
7
|
-
as?: ElementType | undefined;
|
|
8
|
-
} & Omit<Omit<any, "ref">, "area" | "isDisabled" | "id" | "className" | "testId" | "inert" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "as" | "style"> & {
|
|
9
|
-
ref?: React.Ref<HTMLFormElement | HTMLElement | HTMLImageElement | HTMLButtonElement | HTMLInputElement | SVGPathElement | SVGElement | HTMLSelectElement | SVGSymbolElement | HTMLObjectElement | HTMLAreaElement | HTMLSlotElement | HTMLTitleElement | HTMLLabelElement | SVGPatternElement | SVGClipPathElement | SVGFilterElement | SVGMaskElement | HTMLLinkElement | HTMLTrackElement | HTMLMapElement | HTMLBaseElement | HTMLTimeElement | SVGImageElement | HTMLTableElement | SVGTextElement | SVGSVGElement | HTMLDialogElement | HTMLOptionElement | HTMLBodyElement | HTMLHeadElement | HTMLDataElement | SVGSwitchElement | HTMLStyleElement | HTMLAnchorElement | HTMLAudioElement | HTMLQuoteElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLIElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLParamElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLSpanElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableDataCellElement | HTMLTextAreaElement | HTMLTableHeaderCellElement | HTMLTableRowElement | HTMLUListElement | HTMLVideoElement | HTMLWebViewElement | SVGCircleElement | SVGDefsElement | SVGDescElement | SVGEllipseElement | SVGFEBlendElement | SVGFEColorMatrixElement | SVGFEComponentTransferElement | SVGFECompositeElement | SVGFEConvolveMatrixElement | SVGFEDiffuseLightingElement | SVGFEDisplacementMapElement | SVGFEDistantLightElement | SVGFEDropShadowElement | SVGFEFloodElement | SVGFEFuncAElement | SVGFEFuncBElement | SVGFEFuncGElement | SVGFEFuncRElement | SVGFEGaussianBlurElement | SVGFEImageElement | SVGFEMergeElement | SVGFEMergeNodeElement | SVGFEMorphologyElement | SVGFEOffsetElement | SVGFEPointLightElement | SVGFESpecularLightingElement | SVGFESpotLightElement | SVGFETileElement | SVGFETurbulenceElement | SVGForeignObjectElement | SVGGElement | SVGLineElement | SVGLinearGradientElement | SVGMarkerElement | SVGMetadataElement | SVGPolygonElement | SVGPolylineElement | SVGRadialGradientElement | SVGRectElement | SVGStopElement | SVGTextPathElement | SVGTSpanElement | SVGUseElement | SVGViewElement> | undefined;
|
|
10
|
-
}, string | number | symbol> & React.RefAttributes<HTMLFormElement | HTMLElement | HTMLImageElement | HTMLButtonElement | HTMLInputElement | SVGPathElement | SVGElement | HTMLSelectElement | SVGSymbolElement | HTMLObjectElement | HTMLAreaElement | HTMLSlotElement | HTMLTitleElement | HTMLLabelElement | SVGPatternElement | SVGClipPathElement | SVGFilterElement | SVGMaskElement | HTMLLinkElement | HTMLTrackElement | HTMLMapElement | HTMLBaseElement | HTMLTimeElement | SVGImageElement | HTMLTableElement | SVGTextElement | SVGSVGElement | HTMLDialogElement | HTMLOptionElement | HTMLBodyElement | HTMLHeadElement | HTMLDataElement | SVGSwitchElement | HTMLStyleElement | HTMLAnchorElement | HTMLAudioElement | HTMLQuoteElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLIElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLParamElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLSpanElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableDataCellElement | HTMLTextAreaElement | HTMLTableHeaderCellElement | HTMLTableRowElement | HTMLUListElement | HTMLVideoElement | HTMLWebViewElement | SVGCircleElement | SVGDefsElement | SVGDescElement | SVGEllipseElement | SVGFEBlendElement | SVGFEColorMatrixElement | SVGFEComponentTransferElement | SVGFECompositeElement | SVGFEConvolveMatrixElement | SVGFEDiffuseLightingElement | SVGFEDisplacementMapElement | SVGFEDistantLightElement | SVGFEDropShadowElement | SVGFEFloodElement | SVGFEFuncAElement | SVGFEFuncBElement | SVGFEFuncGElement | SVGFEFuncRElement | SVGFEGaussianBlurElement | SVGFEImageElement | SVGFEMergeElement | SVGFEMergeNodeElement | SVGFEMorphologyElement | SVGFEOffsetElement | SVGFEPointLightElement | SVGFESpecularLightingElement | SVGFESpotLightElement | SVGFETileElement | SVGFETurbulenceElement | SVGForeignObjectElement | SVGGElement | SVGLineElement | SVGLinearGradientElement | SVGMarkerElement | SVGMetadataElement | SVGPolygonElement | SVGPolylineElement | SVGRadialGradientElement | SVGRectElement | SVGStopElement | SVGTextPathElement | SVGTSpanElement | SVGUseElement | SVGViewElement>>;
|
|
5
|
+
export declare const View: ForwardRefPrimitive<BaseViewProps, 'div'>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { VisuallyHiddenProps } from '../types';
|
|
1
|
+
import { ForwardRefPrimitive, BaseVisuallyHiddenProps } from '../types';
|
|
3
2
|
/**
|
|
4
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/visuallyhidden)
|
|
5
4
|
*/
|
|
6
|
-
export declare const VisuallyHidden:
|
|
5
|
+
export declare const VisuallyHidden: ForwardRefPrimitive<BaseVisuallyHiddenProps, 'span'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { WebTheme } from '@aws-amplify/ui';
|
|
3
|
-
import { GridItemStyleProps, GridSpanType,
|
|
3
|
+
import { GridItemStyleProps, GridSpanType, BaseViewProps } from '../types';
|
|
4
4
|
import { Breakpoint, Breakpoints } from '../types/responsive';
|
|
5
5
|
export declare const isSpanPrimitiveValue: (spanValue: GridItemStyleProps['rowSpan'] | GridItemStyleProps['columnSpan']) => spanValue is GridSpanType;
|
|
6
6
|
export declare const getGridSpan: (spanValue: GridSpanType) => string;
|
|
@@ -29,7 +29,7 @@ interface ConvertStylePropsToStyleObjParams {
|
|
|
29
29
|
export interface ConvertStylePropsToStyleObj {
|
|
30
30
|
(params: ConvertStylePropsToStyleObjParams): {
|
|
31
31
|
propStyles: React.CSSProperties;
|
|
32
|
-
nonStyleProps: Partial<
|
|
32
|
+
nonStyleProps: Partial<BaseViewProps>;
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -39,6 +39,6 @@ export interface ConvertStylePropsToStyleObj {
|
|
|
39
39
|
export declare const convertStylePropsToStyleObj: ConvertStylePropsToStyleObj;
|
|
40
40
|
export declare const useStyles: (props: Record<string, unknown>, style?: React.CSSProperties) => {
|
|
41
41
|
propStyles: React.CSSProperties;
|
|
42
|
-
nonStyleProps: Partial<
|
|
42
|
+
nonStyleProps: Partial<BaseViewProps>;
|
|
43
43
|
};
|
|
44
44
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BaseFlexProps } from './flex';
|
|
3
|
+
import { ElementType, PrimitiveProps } from './view';
|
|
3
4
|
export type AlertVariations = 'info' | 'error' | 'warning' | 'success';
|
|
4
|
-
export interface
|
|
5
|
+
export interface BaseAlertProps extends BaseFlexProps {
|
|
5
6
|
/**
|
|
6
7
|
* @description
|
|
7
8
|
* The variation property will affect the background color of the Alert.
|
|
@@ -38,3 +39,4 @@ export interface AlertProps extends FlexProps {
|
|
|
38
39
|
*/
|
|
39
40
|
buttonRef?: React.Ref<HTMLButtonElement>;
|
|
40
41
|
}
|
|
42
|
+
export type AlertProps<Element extends ElementType = 'div'> = PrimitiveProps<BaseAlertProps, Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BaseSearchFieldProps } from './searchField';
|
|
3
|
+
import { ElementType, PrimitiveProps, BaseViewProps } from './view';
|
|
4
4
|
export interface AutocompleteComboboxProps {
|
|
5
5
|
role: React.AriaRole;
|
|
6
6
|
'aria-activedescendant': React.AriaAttributes['aria-activedescendant'];
|
|
@@ -23,7 +23,7 @@ export interface ComboBoxOption {
|
|
|
23
23
|
*/
|
|
24
24
|
label: string;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface BaseAutocompleteOptionProps extends BaseViewProps {
|
|
27
27
|
/**
|
|
28
28
|
* React node that will be wrapped inside a li element
|
|
29
29
|
*/
|
|
@@ -34,7 +34,8 @@ export interface AutocompleteOptionProps extends ViewProps {
|
|
|
34
34
|
*/
|
|
35
35
|
isActive: boolean;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type AutocompleteOptionProps<Element extends ElementType = 'li'> = PrimitiveProps<BaseAutocompleteOptionProps, Element>;
|
|
38
|
+
export interface BaseAutocompleteMenuProps extends BaseViewProps {
|
|
38
39
|
/**
|
|
39
40
|
* @description
|
|
40
41
|
* Defines a string value that labels an interactive element for accessibility
|
|
@@ -78,7 +79,8 @@ export interface AutocompleteMenuProps extends ViewProps {
|
|
|
78
79
|
*/
|
|
79
80
|
listboxId: string;
|
|
80
81
|
}
|
|
81
|
-
export
|
|
82
|
+
export type AutocompleteMenuProps<Element extends ElementType = 'div'> = PrimitiveProps<BaseAutocompleteMenuProps, Element>;
|
|
83
|
+
export interface BaseAutocompleteProps extends BaseSearchFieldProps {
|
|
82
84
|
/**
|
|
83
85
|
* @description
|
|
84
86
|
* A list of options
|
|
@@ -113,6 +115,7 @@ export interface AutocompleteProps extends SearchFieldProps {
|
|
|
113
115
|
*/
|
|
114
116
|
onSelect?: (option: ComboBoxOption) => void;
|
|
115
117
|
}
|
|
118
|
+
export type AutocompleteProps<Element extends ElementType = 'input'> = PrimitiveProps<BaseAutocompleteProps, Element>;
|
|
116
119
|
export interface UseAutocompleteProps extends Partial<AutocompleteProps> {
|
|
117
120
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
118
121
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Sizes } from './base';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementType, PrimitiveProps, BaseViewProps } from './view';
|
|
3
3
|
export type BadgeVariations = 'info' | 'error' | 'warning' | 'success';
|
|
4
4
|
export type BadgeSizes = Sizes;
|
|
5
|
-
export interface
|
|
5
|
+
export interface BaseBadgeProps extends BaseViewProps {
|
|
6
6
|
/**
|
|
7
7
|
* @description
|
|
8
8
|
* The variation property will affect the background color of the badge.
|
|
@@ -14,3 +14,4 @@ export interface BadgeProps extends ViewProps {
|
|
|
14
14
|
*/
|
|
15
15
|
size?: BadgeSizes;
|
|
16
16
|
}
|
|
17
|
+
export type BadgeProps<Element extends ElementType = 'span'> = PrimitiveProps<BaseBadgeProps, Element>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Sizes } from './base';
|
|
3
|
-
import {
|
|
3
|
+
import { ElementType, PrimitiveProps, BaseViewProps } from './view';
|
|
4
4
|
import { FlexContainerStyleProps } from './flex';
|
|
5
5
|
export type ButtonSizes = Sizes;
|
|
6
6
|
export type ButtonTypes = 'button' | 'reset' | 'submit';
|
|
7
7
|
export type ButtonVariations = 'primary' | 'link' | 'menu' | 'warning' | 'destructive';
|
|
8
|
-
export interface
|
|
8
|
+
export interface BaseButtonProps extends BaseViewProps, FlexContainerStyleProps {
|
|
9
9
|
/**
|
|
10
10
|
* @description
|
|
11
11
|
* If `true`, the button will be disabled.
|
|
@@ -52,3 +52,4 @@ export interface ButtonProps extends ViewProps, FlexContainerStyleProps {
|
|
|
52
52
|
*/
|
|
53
53
|
variation?: ButtonVariations;
|
|
54
54
|
}
|
|
55
|
+
export type ButtonProps<Element extends ElementType = 'button'> = PrimitiveProps<BaseButtonProps, Element>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AriaProps } from './base';
|
|
3
3
|
import { BaseStyleProps } from './style';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
4
|
+
import { BaseButtonProps } from './button';
|
|
5
|
+
import { BaseFlexProps } from './flex';
|
|
6
|
+
import { ElementType, PrimitiveProps } from './view';
|
|
7
|
+
export interface BaseButtonGroupProps extends AriaProps, BaseStyleProps, BaseFlexProps, Pick<BaseButtonProps, 'size' | 'variation'> {
|
|
7
8
|
children: React.ReactNode;
|
|
8
9
|
}
|
|
10
|
+
export type ButtonGroupProps<Element extends ElementType = 'div'> = PrimitiveProps<BaseButtonGroupProps, Element>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType, PrimitiveProps, BaseViewProps } from './view';
|
|
2
2
|
export type CardVariations = 'outlined' | 'elevated';
|
|
3
|
-
export interface
|
|
3
|
+
export interface BaseCardProps extends BaseViewProps {
|
|
4
4
|
/**
|
|
5
5
|
* @description
|
|
6
6
|
* Changes the displayed style of the Card. Options include ‘outlined’, ‘elevated’ and none (default)
|
|
7
7
|
*/
|
|
8
8
|
variation?: CardVariations;
|
|
9
9
|
}
|
|
10
|
+
export type CardProps<Element extends ElementType = 'div'> = PrimitiveProps<BaseCardProps, Element>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ChangeEvent, Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BaseFlexProps } from './flex';
|
|
3
|
+
import { BaseInputProps } from './input';
|
|
4
4
|
import { FieldProps, LabelPositions } from './field';
|
|
5
5
|
import { BaseStyleProps } from './style';
|
|
6
|
-
|
|
6
|
+
import { ElementType, PrimitiveProps } from './view';
|
|
7
|
+
export interface BaseCheckboxProps extends BaseFlexProps, BaseInputProps {
|
|
7
8
|
/**
|
|
8
9
|
* @description
|
|
9
10
|
* Sets the label text
|
|
@@ -43,6 +44,7 @@ export interface CheckboxProps extends FlexProps, InputProps {
|
|
|
43
44
|
*/
|
|
44
45
|
inputStyles?: BaseStyleProps;
|
|
45
46
|
}
|
|
47
|
+
export type CheckboxProps<Element extends ElementType = 'input'> = PrimitiveProps<BaseCheckboxProps, Element>;
|
|
46
48
|
export interface UseCheckbox {
|
|
47
49
|
dataChecked?: boolean;
|
|
48
50
|
dataFocus: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { BaseCheckboxProps } from './checkbox';
|
|
2
|
+
import { BaseFieldProps } from './field';
|
|
3
|
+
import { ElementType, PrimitiveProps } from './view';
|
|
4
|
+
export interface BaseCheckboxFieldProps extends BaseCheckboxProps, BaseFieldProps {
|
|
4
5
|
}
|
|
6
|
+
export type CheckboxFieldProps<Element extends ElementType = 'input'> = PrimitiveProps<BaseCheckboxFieldProps, Element>;
|