@cfx-dev/ui-components 4.5.22 → 5.0.2
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/DropdownContent-BMfQCuaP.js +964 -0
- package/dist/Table.module-CMz5ENmI.js +17 -0
- package/dist/assets/all_css.css +1 -1
- package/dist/assets/css/Accordion.css +1 -1
- package/dist/assets/css/AccordionShowcase.css +1 -1
- package/dist/assets/css/Avatar.css +1 -1
- package/dist/assets/css/Badge.css +1 -1
- package/dist/assets/css/BurgerMenu.css +1 -1
- package/dist/assets/css/Button.css +1 -1
- package/dist/assets/css/Checkbox.css +1 -1
- package/dist/assets/css/ControlBox.css +1 -1
- package/dist/assets/css/CountryFlag.css +1 -1
- package/dist/assets/css/DataTable.css +1 -1
- package/dist/assets/css/Dot.css +1 -1
- package/dist/assets/css/DropdownContent.css +1 -1
- package/dist/assets/css/DropdownSelect.css +1 -1
- package/dist/assets/css/FlexShowcase.css +1 -1
- package/dist/assets/css/Flyout.css +1 -1
- package/dist/assets/css/FormField.css +1 -0
- package/dist/assets/css/Icon.css +1 -1
- package/dist/assets/css/IconButton.css +1 -1
- package/dist/assets/css/InfoPanel.css +1 -1
- package/dist/assets/css/Input.css +1 -1
- package/dist/assets/css/InputDropzone.css +1 -1
- package/dist/assets/css/Island.css +1 -1
- package/dist/assets/css/ItemPreview.css +1 -1
- package/dist/assets/css/Link.css +1 -1
- package/dist/assets/css/Loaf.css +1 -1
- package/dist/assets/css/Modal.css +1 -1
- package/dist/assets/css/NavList.css +1 -1
- package/dist/assets/css/Page.css +1 -1
- package/dist/assets/css/Popover.css +1 -1
- package/dist/assets/css/Prose.css +1 -1
- package/dist/assets/css/Radio.css +1 -1
- package/dist/assets/css/Range.css +1 -1
- package/dist/assets/css/RangeInput.css +1 -1
- package/dist/assets/css/RichInput.css +1 -1
- package/dist/assets/css/Select.css +1 -1
- package/dist/assets/css/Separator.css +1 -1
- package/dist/assets/css/Skeleton.css +1 -1
- package/dist/assets/css/Slider.css +1 -1
- package/dist/assets/css/StyledInput.css +1 -1
- package/dist/assets/css/StyledTextarea.css +1 -1
- package/dist/assets/css/Switch.css +1 -1
- package/dist/assets/css/Table.css +1 -1
- package/dist/assets/css/Tabular.css +1 -1
- package/dist/assets/css/Text.css +1 -1
- package/dist/assets/css/TextShowcase.css +1 -1
- package/dist/assets/css/Textarea.css +1 -1
- package/dist/assets/css/Title.css +1 -1
- package/dist/assets/css/ToggleGroup.css +1 -1
- package/dist/assets/general/global.css +1 -1
- package/dist/cfxIcons-0xD_EEXT.js +110 -0
- package/dist/cfxIconsXLarge-D0vz6Yd_.js +110 -0
- package/dist/components/Accordion/Accordion.d.ts +0 -3
- package/dist/components/Accordion/Accordion.js +117 -121
- package/dist/components/Accordion/AccordionShowcase.js +22 -26
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +12 -12
- package/dist/components/Avatar/AvatarShowcase.js +4 -4
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.js +7 -7
- package/dist/components/Badge/BadgeShowcase.js +20 -20
- package/dist/components/BurgerMenu/BurgerMenu.js +7 -7
- package/dist/components/BurgerMenu/BurgerMenuShowcase.js +8 -8
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +15 -15
- package/dist/components/Button/ButtonShowcase.js +80 -57
- package/dist/components/Checkbox/Checkbox.d.ts +4 -1
- package/dist/components/Checkbox/Checkbox.js +276 -191
- package/dist/components/Checkbox/CheckboxShowcase.js +170 -29
- package/dist/components/ControlBox/ControlBox.d.ts +1 -1
- package/dist/components/ControlBox/ControlBox.js +17 -17
- package/dist/components/DataTable/DataTableShowcase.js +5 -5
- package/dist/components/Dot/Dot.d.ts +1 -1
- package/dist/components/Dot/Dot.js +15 -15
- package/dist/components/DropdownContent/DropdownContent.d.ts +1 -5
- package/dist/components/DropdownContent/DropdownContent.js +2 -3
- package/dist/components/DropdownContent/index.d.ts +1 -1
- package/dist/components/DropdownContent/index.js +2 -3
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -2
- package/dist/components/DropdownMenu/DropdownMenu.js +17 -19
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +0 -5
- package/dist/components/DropdownSelect/DropdownSelect.js +47 -55
- package/dist/components/DropdownSelect/DropdownSelectShowcase.js +10 -11
- package/dist/components/Flyout/Flyout.d.ts +1 -1
- package/dist/components/Flyout/Flyout.js +10 -10
- package/dist/components/FormField/FormField.d.ts +20 -0
- package/dist/components/FormField/FormField.js +68 -0
- package/dist/components/FormField/FormFieldShowcase.d.ts +5 -0
- package/dist/components/FormField/FormFieldShowcase.js +59 -0
- package/dist/components/FormField/index.d.ts +1 -0
- package/dist/components/FormField/index.js +4 -0
- package/dist/components/Icon/Icon.d.ts +6 -2
- package/dist/components/Icon/Icon.js +33 -32
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Icons/Icons.types.d.ts +1 -3
- package/dist/components/Icons/IconsShowcase.js +224 -92
- package/dist/components/Icons/cfx-icons/Cart.js +17 -33
- package/dist/components/Icons/cfx-icons/Close.js +7 -8
- package/dist/components/Icons/cfx-icons/Controller.js +13 -20
- package/dist/components/Icons/cfx-icons/Copy.js +6 -7
- package/dist/components/Icons/cfx-icons/DownArrow.js +4 -5
- package/dist/components/Icons/cfx-icons/DownChevron.js +4 -5
- package/dist/components/Icons/cfx-icons/Download.js +6 -7
- package/dist/components/Icons/cfx-icons/Expand.js +1 -1
- package/dist/components/Icons/cfx-icons/ExternalLink.js +9 -10
- package/dist/components/Icons/cfx-icons/Filter.js +9 -9
- package/dist/components/Icons/cfx-icons/Folder.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/Folder.js +24 -0
- package/dist/components/Icons/cfx-icons/Heart.js +9 -10
- package/dist/components/Icons/cfx-icons/HeartFilled.js +3 -4
- package/dist/components/Icons/cfx-icons/Help.js +9 -10
- package/dist/components/Icons/cfx-icons/LeftArrow.js +9 -10
- package/dist/components/Icons/cfx-icons/LeftChevron.js +7 -8
- package/dist/components/Icons/cfx-icons/Map.js +14 -30
- package/dist/components/Icons/cfx-icons/Menu.js +17 -40
- package/dist/components/Icons/cfx-icons/Minus.js +2 -3
- package/dist/components/Icons/cfx-icons/More.js +4 -5
- package/dist/components/Icons/cfx-icons/MoreInfo.js +6 -7
- package/dist/components/Icons/cfx-icons/Pencil.js +3 -3
- package/dist/components/Icons/cfx-icons/Play.js +6 -6
- package/dist/components/Icons/cfx-icons/Plus.js +4 -5
- package/dist/components/Icons/cfx-icons/Radio.js +15 -25
- package/dist/components/Icons/cfx-icons/Refresh.js +10 -11
- package/dist/components/Icons/cfx-icons/RightArrow.js +9 -10
- package/dist/components/Icons/cfx-icons/RightChevron.js +4 -5
- package/dist/components/Icons/cfx-icons/Search.js +9 -10
- package/dist/components/Icons/cfx-icons/ServerList.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/ServerList.js +24 -0
- package/dist/components/Icons/cfx-icons/ServerReconnect.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/ServerReconnect.js +24 -0
- package/dist/components/Icons/cfx-icons/Sort.js +6 -7
- package/dist/components/Icons/cfx-icons/Square.js +8 -9
- package/dist/components/Icons/cfx-icons/SquareFilled.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/SquareFilled.js +23 -0
- package/dist/components/Icons/cfx-icons/SquareTick.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/SquareTick.js +26 -0
- package/dist/components/Icons/cfx-icons/Stop.js +7 -8
- package/dist/components/Icons/cfx-icons/Success.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/Success.js +26 -0
- package/dist/components/Icons/cfx-icons/Tick.js +4 -5
- package/dist/components/Icons/cfx-icons/Transfer.js +7 -8
- package/dist/components/Icons/cfx-icons/Trash.js +6 -6
- package/dist/components/Icons/cfx-icons/Undo.js +5 -6
- package/dist/components/Icons/cfx-icons/UpArrow.js +9 -10
- package/dist/components/Icons/cfx-icons/UpChevron.js +4 -5
- package/dist/components/Icons/cfx-icons/Upload.js +7 -8
- package/dist/components/Icons/cfx-icons/UpvotesBurst.js +10 -10
- package/dist/components/Icons/cfx-icons/UpvotesRecurring.js +10 -11
- package/dist/components/Icons/cfx-icons/User.js +13 -20
- package/dist/components/Icons/cfx-icons/Users.js +13 -32
- package/dist/components/Icons/cfx-icons/Verified.js +1 -1
- package/dist/components/Icons/cfx-icons/Visibility.js +8 -8
- package/dist/components/Icons/cfx-icons/VisibilityOff.js +1 -1
- package/dist/components/Icons/cfx-icons/Warning.js +9 -10
- package/dist/components/Icons/cfx-iconsXLarge/Cart.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Cart.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Close.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Close.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Controller.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Controller.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Copy.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Copy.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/DownArrow.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/DownArrow.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/DownChevron.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/DownChevron.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Download.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Download.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Expand.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Expand.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/ExternalLink.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/ExternalLink.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Filter.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Filter.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/Folder.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Folder.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Heart.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Heart.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/HeartFilled.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/HeartFilled.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Help.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Help.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/LeftArrow.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/LeftArrow.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/LeftChevron.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/LeftChevron.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Map.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Map.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/Menu.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Menu.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Minus.d.ts +5 -0
- package/dist/components/Icons/{cfx-icons-big/Upload.js → cfx-iconsXLarge/Minus.js} +2 -3
- package/dist/components/Icons/cfx-iconsXLarge/More.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/More.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/MoreInfo.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/MoreInfo.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Pencil.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Pencil.js +25 -0
- package/dist/components/Icons/cfx-iconsXLarge/Play.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Play.js +25 -0
- package/dist/components/Icons/cfx-iconsXLarge/Plus.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Plus.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Radio.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Radio.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Refresh.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Refresh.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/RightArrow.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/RightArrow.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/RightChevron.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/RightChevron.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Search.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Search.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/ServerList.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/ServerList.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/ServerReconnect.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/ServerReconnect.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Sort.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Sort.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Square.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Square.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/SquareFilled.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/SquareFilled.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/SquareTick.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/SquareTick.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Stop.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Stop.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Success.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Success.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Tick.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Tick.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Transfer.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Transfer.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Trash.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Trash.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/Undo.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Undo.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpArrow.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpArrow.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpChevron.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpChevron.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/Upload.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpvotesBurst.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpvotesBurst.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpvotesRecurring.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/UpvotesRecurring.js +26 -0
- package/dist/components/Icons/cfx-iconsXLarge/User.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/User.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Users.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Users.js +24 -0
- package/dist/components/Icons/cfx-iconsXLarge/Verified.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Verified.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/Visibility.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/Visibility.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/VisibilityOff.d.ts +5 -0
- package/dist/components/Icons/cfx-iconsXLarge/VisibilityOff.js +23 -0
- package/dist/components/Icons/cfx-iconsXLarge/Warning.js +26 -0
- package/dist/components/Icons/cfxIcons.d.ts +6 -1
- package/dist/components/Icons/cfxIcons.js +88 -78
- package/dist/components/Icons/cfxIconsXLarge.d.ts +52 -0
- package/dist/components/Icons/cfxIconsXLarge.js +106 -0
- package/dist/components/Icons/index.d.ts +2 -2
- package/dist/components/Icons/index.js +3 -3
- package/dist/components/InfoPanel/InfoPanel.d.ts +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +10 -10
- package/dist/components/InfoPanel/InfoPanelShowcase.js +30 -30
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.js +94 -107
- package/dist/components/Input/Input.types.d.ts +1 -1
- package/dist/components/Input/InputShowcase.js +80 -64
- package/dist/components/Input/RichInput.js +48 -62
- package/dist/components/InputDropzone/InputDropzone.js +52 -43
- package/dist/components/InputDropzone/ItemPreview.js +23 -21
- package/dist/components/Layout/Pad/Pad.d.ts +2 -2
- package/dist/components/Layout/Pad/Pad.js +1 -1
- package/dist/components/Link/LinkShowcase.js +39 -39
- package/dist/components/Loaf/Loaf.d.ts +2 -2
- package/dist/components/Loaf/Loaf.js +15 -15
- package/dist/components/Modal/Modal.d.ts +3 -3
- package/dist/components/Modal/Modal.js +26 -26
- package/dist/components/Modal/ModalShowcase.js +13 -13
- package/dist/components/Pagination/Pagination.js +5 -5
- package/dist/components/RSC/Flex/Flex.d.ts +2 -2
- package/dist/components/RSC/Flex/Flex.js +17 -17
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +19 -19
- package/dist/components/Range/RangeShowcase.js +10 -10
- package/dist/components/Select/Select.d.ts +0 -3
- package/dist/components/Select/Select.js +372 -391
- package/dist/components/Select/SelectShowcase.js +20 -47
- package/dist/components/Separator/Separator.d.ts +1 -2
- package/dist/components/Separator/Separator.js +29 -42
- package/dist/components/Skeleton/SkeletonShowcase.js +12 -12
- package/dist/components/Slider/SliderShowcase.js +6 -6
- package/dist/components/StyledInput/StyledInput.d.ts +3 -3
- package/dist/components/StyledInput/StyledInput.js +16 -32
- package/dist/components/Switch/Switch.d.ts +6 -0
- package/dist/components/Switch/Switch.js +99 -85
- package/dist/components/Table/TableBody.js +1 -1
- package/dist/components/Table/TableCell.js +1 -1
- package/dist/components/Table/TableCellCheckbox.js +1 -1
- package/dist/components/Table/TableHeader.js +1 -1
- package/dist/components/Table/TableIconButton.js +1 -1
- package/dist/components/Table/TableRoot.js +1 -1
- package/dist/components/Table/TableRow.d.ts +1 -1
- package/dist/components/Table/TableRow.js +8 -8
- package/dist/components/TableResponsiveText/TableResponsiveText.js +4 -4
- package/dist/components/Tabular/TabularShowcase.js +22 -22
- package/dist/components/Text/BodyShowcase.js +261 -48
- package/dist/components/Text/HeadingShowcase.js +179 -24
- package/dist/components/Text/Text.d.ts +1 -0
- package/dist/components/Text/Text.js +62 -57
- package/dist/components/Text/Text.types.d.ts +6 -4
- package/dist/components/Text/TextShowcase.d.ts +15 -6
- package/dist/components/Text/TextShowcase.js +63 -38
- package/dist/components/Title/TitleShowcase.js +97 -17
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +22 -22
- package/dist/components/ToggleGroup/ToggleGroupShowcase.js +76 -40
- package/dist/main.d.ts +5 -6
- package/dist/main.js +87 -87
- package/dist/styles-scss/_ui.scss +94 -14
- package/dist/styles-scss/global.scss +17 -15
- package/dist/styles-scss/tokens.scss +158 -53
- package/dist/utils/ui/index.d.ts +2 -2
- package/dist/utils/ui/index.js +12 -10
- package/dist/utils/ui/ui.d.ts +7 -2
- package/dist/utils/ui/ui.js +64 -46
- package/dist/utils/ui/ui.types.d.ts +67 -22
- package/dist/utils/ui/ui.types.js +10 -7
- package/package.json +1 -1
- package/dist/DropdownContent-MvHlrWi6.js +0 -989
- package/dist/Table.module-DffST69u.js +0 -17
- package/dist/assets/css/IconBig.css +0 -1
- package/dist/cfxIcons-B4SQ4Ljd.js +0 -100
- package/dist/cfxIconsBig-BLJjMT-Y.js +0 -16
- package/dist/components/IconBig/IconBig.d.ts +0 -13
- package/dist/components/IconBig/IconBig.js +0 -78
- package/dist/components/IconBig/index.d.ts +0 -2
- package/dist/components/IconBig/index.js +0 -4
- package/dist/components/Icons/cfx-icons/SquareCheck.d.ts +0 -5
- package/dist/components/Icons/cfx-icons/SquareCheck.js +0 -27
- package/dist/components/Icons/cfx-icons-big/Confirm.d.ts +0 -5
- package/dist/components/Icons/cfx-icons-big/Confirm.js +0 -39
- package/dist/components/Icons/cfx-icons-big/Like.d.ts +0 -5
- package/dist/components/Icons/cfx-icons-big/Like.js +0 -25
- package/dist/components/Icons/cfx-icons-big/Subscriptions.d.ts +0 -5
- package/dist/components/Icons/cfx-icons-big/Subscriptions.js +0 -33
- package/dist/components/Icons/cfx-icons-big/Warning.js +0 -27
- package/dist/components/Icons/cfxIconsBig.d.ts +0 -5
- package/dist/components/Icons/cfxIconsBig.js +0 -12
- /package/dist/components/Icons/{cfx-icons-big → cfx-iconsXLarge}/Upload.d.ts +0 -0
- /package/dist/components/Icons/{cfx-icons-big → cfx-iconsXLarge}/Warning.d.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { Icon as _ } from "../Icon/Icon.js";
|
|
4
|
-
import { clsx as
|
|
5
|
-
const
|
|
6
|
-
rootUnset:
|
|
7
|
-
root:
|
|
4
|
+
import { clsx as I } from "../../utils/clsx.js";
|
|
5
|
+
const p = "cfxui__InfoPanel__rootUnset__7ca3f", x = "cfxui__InfoPanel__root__a19ad", P = "cfxui__InfoPanel__interactiveIcon__03510", v = "cfxui__InfoPanel__interactive__1b051", y = "cfxui__InfoPanel__icon__b2fca", d = "cfxui__InfoPanel__content__43082", n = {
|
|
6
|
+
rootUnset: p,
|
|
7
|
+
root: x,
|
|
8
8
|
interactiveIcon: P,
|
|
9
9
|
interactive: v,
|
|
10
10
|
"type-neutral": "cfxui__InfoPanel__type-neutral__c4653",
|
|
@@ -19,13 +19,13 @@ const I = "cfxui__InfoPanel__rootUnset__7ca3f", p = "cfxui__InfoPanel__root__a19
|
|
|
19
19
|
function b(a) {
|
|
20
20
|
const {
|
|
21
21
|
type: c = "neutral",
|
|
22
|
-
size: i = "
|
|
22
|
+
size: i = "medium",
|
|
23
23
|
className: s,
|
|
24
24
|
onClick: e,
|
|
25
25
|
ariaLabel: r,
|
|
26
26
|
icon: t,
|
|
27
27
|
children: l
|
|
28
|
-
} = a, f =
|
|
28
|
+
} = a, f = I(
|
|
29
29
|
n.rootUnset,
|
|
30
30
|
n.root,
|
|
31
31
|
s,
|
|
@@ -43,14 +43,14 @@ function b(a) {
|
|
|
43
43
|
onClick: e,
|
|
44
44
|
"aria-label": r,
|
|
45
45
|
children: [
|
|
46
|
-
t && /* @__PURE__ */ o(_, { size: "
|
|
46
|
+
t && /* @__PURE__ */ o(_, { size: "small", name: t, className: n.icon }),
|
|
47
47
|
/* @__PURE__ */ o("div", { className: n.content, children: l }),
|
|
48
|
-
e && /* @__PURE__ */ o(_, { size: "
|
|
48
|
+
e && /* @__PURE__ */ o(_, { size: "small", name: "RightArrow", className: n.interactiveIcon })
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
const
|
|
53
|
+
const U = u.memo(b);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
U as default
|
|
56
56
|
};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import
|
|
4
|
-
import { Text as
|
|
3
|
+
import i from "../Flex/Flex.js";
|
|
4
|
+
import { Text as n } from "../Text/Text.js";
|
|
5
5
|
import "../../utils/ui/ui.js";
|
|
6
6
|
import { LOREM_IPSUM as t } from "../../utils/loremipsum.js";
|
|
7
|
-
import
|
|
8
|
-
function
|
|
9
|
-
return /* @__PURE__ */
|
|
7
|
+
import c from "./InfoPanel.js";
|
|
8
|
+
function l() {
|
|
9
|
+
return /* @__PURE__ */ e(n, { size: "small", children: t });
|
|
10
10
|
}
|
|
11
11
|
const o = () => {
|
|
12
12
|
};
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
13
|
+
function d() {
|
|
14
|
+
return /* @__PURE__ */ r(i, { gap: "large", vertical: !0, children: [
|
|
15
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
16
|
+
/* @__PURE__ */ e(n, { children: "Default" }),
|
|
17
|
+
/* @__PURE__ */ e(c, { onClick: o, icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
20
|
+
/* @__PURE__ */ e(n, { children: "Success" }),
|
|
21
|
+
/* @__PURE__ */ e(c, { onClick: o, type: "success", icon: "Close", children: /* @__PURE__ */ e(l, {}) })
|
|
22
22
|
] }),
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
23
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
24
|
+
/* @__PURE__ */ e(n, { children: "Error" }),
|
|
25
|
+
/* @__PURE__ */ e(c, { onClick: o, type: "error", icon: "Users", children: /* @__PURE__ */ e(l, {}) })
|
|
26
26
|
] }),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
28
|
+
/* @__PURE__ */ e(n, { children: "Warning" }),
|
|
29
|
+
/* @__PURE__ */ e(c, { onClick: o, type: "warning", icon: "Search", children: /* @__PURE__ */ e(l, {}) })
|
|
30
30
|
] }),
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
31
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
32
|
+
/* @__PURE__ */ e(n, { children: "Small" }),
|
|
33
|
+
/* @__PURE__ */ e(c, { onClick: o, size: "small", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
34
34
|
] }),
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
36
|
+
/* @__PURE__ */ e(n, { children: "Large" }),
|
|
37
|
+
/* @__PURE__ */ e(c, { onClick: o, size: "large", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
38
38
|
] }),
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
40
|
+
/* @__PURE__ */ e(n, { children: "Not interactive" }),
|
|
41
|
+
/* @__PURE__ */ e(c, { icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
42
42
|
] })
|
|
43
43
|
] });
|
|
44
44
|
}
|
|
45
|
-
const v = a.memo(
|
|
45
|
+
const v = a.memo(d);
|
|
46
46
|
export {
|
|
47
47
|
v as default
|
|
48
48
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IconName } from '../Icon';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { StateType } from '../StyledInput/StyledInput';
|
|
4
|
+
import { InputTheme } from './Input.types';
|
|
5
5
|
|
|
6
6
|
type InputTypeSpecificProps = {
|
|
7
7
|
type?: 'text' | 'password' | 'search';
|
|
@@ -18,7 +18,6 @@ type InputTypeSpecificProps = {
|
|
|
18
18
|
export type InputProps = InputTypeSpecificProps & {
|
|
19
19
|
name?: string;
|
|
20
20
|
id?: string;
|
|
21
|
-
size?: ResponsiveValueType<InputSize>;
|
|
22
21
|
theme?: InputTheme;
|
|
23
22
|
tabIndex?: number;
|
|
24
23
|
autofocus?: boolean;
|
|
@@ -28,6 +27,7 @@ export type InputProps = InputTypeSpecificProps & {
|
|
|
28
27
|
containerClassName?: string;
|
|
29
28
|
placeholder?: string;
|
|
30
29
|
placeholderIcon?: IconName;
|
|
30
|
+
state?: StateType;
|
|
31
31
|
disabled?: boolean;
|
|
32
32
|
loading?: boolean;
|
|
33
33
|
backdropBlur?: boolean;
|
|
@@ -1,143 +1,130 @@
|
|
|
1
|
-
import { jsxs as q, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as q, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
3
|
import { Icon as H } from "../Icon/Icon.js";
|
|
4
4
|
import J from "../IconButton/IconButton.js";
|
|
5
5
|
import { Indicator as L } from "../Indicator/Indicator.js";
|
|
6
6
|
import O from "../StyledInput/StyledInput.js";
|
|
7
|
-
import { clsx as
|
|
7
|
+
import { clsx as w } from "../../utils/clsx.js";
|
|
8
8
|
import { getValue as P } from "../../utils/getValue.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
backdropBlur: te,
|
|
18
|
-
"size-initial-large": "cfxui__Input__size-initial-large__61eb0",
|
|
19
|
-
"size-initial-small": "cfxui__Input__size-initial-small__f4fae",
|
|
20
|
-
"size-small-large": "cfxui__Input__size-small-large__6e2dd",
|
|
21
|
-
"size-small-small": "cfxui__Input__size-small-small__d0b97",
|
|
22
|
-
"size-small-medium-large": "cfxui__Input__size-small-medium-large__ea27c",
|
|
23
|
-
"size-small-medium-small": "cfxui__Input__size-small-medium-small__1272f",
|
|
24
|
-
"size-medium-large": "cfxui__Input__size-medium-large__5a941",
|
|
25
|
-
"size-medium-small": "cfxui__Input__size-medium-small__11d17",
|
|
26
|
-
"size-medium-large-large": "cfxui__Input__size-medium-large-large__47a52",
|
|
27
|
-
"size-medium-large-small": "cfxui__Input__size-medium-large-small__13d07",
|
|
28
|
-
"size-large-large": "cfxui__Input__size-large-large__70f5f",
|
|
29
|
-
"size-large-small": "cfxui__Input__size-large-small__3aa81",
|
|
30
|
-
"size-xlarge-large": "cfxui__Input__size-xlarge-large__2becf",
|
|
31
|
-
"size-xlarge-small": "cfxui__Input__size-xlarge-small__3bac0"
|
|
9
|
+
const Q = "cfxui__Input__root__6392b", U = "cfxui__Input__fullWidth__5a033", Y = "cfxui__Input__empty__3b36a", Z = "cfxui__Input__placeholderIcon__4d079", ee = "cfxui__Input__input__07830", te = "cfxui__Input__decorator__3b81f", oe = "cfxui__Input__backdropBlur__fdde1", e = {
|
|
10
|
+
root: Q,
|
|
11
|
+
fullWidth: U,
|
|
12
|
+
empty: Y,
|
|
13
|
+
placeholderIcon: Z,
|
|
14
|
+
input: ee,
|
|
15
|
+
decorator: te,
|
|
16
|
+
backdropBlur: oe
|
|
32
17
|
};
|
|
33
|
-
function
|
|
18
|
+
function ae(n) {
|
|
34
19
|
const {
|
|
35
|
-
decorator:
|
|
36
|
-
loading:
|
|
37
|
-
type:
|
|
38
|
-
hasValue:
|
|
39
|
-
onCleare:
|
|
40
|
-
} =
|
|
41
|
-
return
|
|
20
|
+
decorator: u,
|
|
21
|
+
loading: f,
|
|
22
|
+
type: _,
|
|
23
|
+
hasValue: a,
|
|
24
|
+
onCleare: s
|
|
25
|
+
} = n;
|
|
26
|
+
return f ? /* @__PURE__ */ o("div", { className: e.decorator, children: /* @__PURE__ */ o(L, {}) }) : u ? /* @__PURE__ */ o("div", { className: e.decorator, children: P(u) }) : _ === "search" && a ? /* @__PURE__ */ o("div", { className: e.decorator, children: /* @__PURE__ */ o(J, { size: "xsmall", areaSize: "large", name: "Close", onClick: s }) }) : null;
|
|
42
27
|
}
|
|
43
|
-
function fe(
|
|
28
|
+
function fe(n) {
|
|
44
29
|
const {
|
|
45
|
-
id:
|
|
46
|
-
name:
|
|
47
|
-
fullWidth:
|
|
48
|
-
value:
|
|
49
|
-
defaultValue:
|
|
50
|
-
onChange:
|
|
30
|
+
id: u,
|
|
31
|
+
name: f,
|
|
32
|
+
fullWidth: _ = !1,
|
|
33
|
+
value: a,
|
|
34
|
+
defaultValue: s,
|
|
35
|
+
onChange: m,
|
|
51
36
|
onSubmit: p,
|
|
52
|
-
onKeyDown:
|
|
53
|
-
pattern:
|
|
54
|
-
tabIndex:
|
|
55
|
-
loading:
|
|
56
|
-
spellCheck:
|
|
57
|
-
autofocus:
|
|
37
|
+
onKeyDown: h,
|
|
38
|
+
pattern: I,
|
|
39
|
+
tabIndex: R,
|
|
40
|
+
loading: E = !1,
|
|
41
|
+
spellCheck: V = !0,
|
|
42
|
+
autofocus: v = !1,
|
|
58
43
|
disabled: B = !1,
|
|
59
44
|
className: S,
|
|
60
45
|
containerClassName: W,
|
|
61
|
-
placeholder:
|
|
62
|
-
placeholderIcon:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
theme:
|
|
66
|
-
decorator:
|
|
46
|
+
placeholder: i = "",
|
|
47
|
+
placeholderIcon: d,
|
|
48
|
+
state: D,
|
|
49
|
+
type: x = "text",
|
|
50
|
+
theme: C = "default",
|
|
51
|
+
decorator: A,
|
|
67
52
|
backdropBlur: F = !1,
|
|
68
|
-
ref:
|
|
69
|
-
} =
|
|
70
|
-
let
|
|
71
|
-
if (
|
|
53
|
+
ref: K
|
|
54
|
+
} = n, [b, M] = l.useState(a || s), y = typeof b < "u" && b !== "" && b !== null || typeof a < "u" && a !== "" && a !== null;
|
|
55
|
+
let N, k, g;
|
|
56
|
+
if (n.type === "number") {
|
|
72
57
|
const {
|
|
73
|
-
min:
|
|
74
|
-
max:
|
|
58
|
+
min: t,
|
|
59
|
+
max: c,
|
|
75
60
|
step: $
|
|
76
|
-
} =
|
|
77
|
-
|
|
61
|
+
} = n;
|
|
62
|
+
g = $ ?? 1, N = t ?? Number.MIN_SAFE_INTEGER, k = c ?? Number.MAX_SAFE_INTEGER;
|
|
78
63
|
}
|
|
79
|
-
const r =
|
|
80
|
-
|
|
81
|
-
}, [
|
|
82
|
-
(
|
|
64
|
+
const r = l.useCallback((t) => {
|
|
65
|
+
M(t), m && m(t);
|
|
66
|
+
}, [m]), j = l.useCallback(
|
|
67
|
+
(t) => {
|
|
83
68
|
const {
|
|
84
|
-
value:
|
|
85
|
-
} =
|
|
86
|
-
if (
|
|
87
|
-
|
|
69
|
+
value: c
|
|
70
|
+
} = t.target;
|
|
71
|
+
if (I) {
|
|
72
|
+
I.test(c) && r(c);
|
|
88
73
|
return;
|
|
89
74
|
}
|
|
90
|
-
r(
|
|
75
|
+
r(c);
|
|
91
76
|
},
|
|
92
|
-
[r,
|
|
93
|
-
),
|
|
94
|
-
|
|
95
|
-
}, [
|
|
77
|
+
[r, I]
|
|
78
|
+
), z = l.useCallback((t) => {
|
|
79
|
+
h && h(t), p && t.key === "Enter" && p();
|
|
80
|
+
}, [h, p]), G = l.useCallback(() => {
|
|
96
81
|
r("");
|
|
97
|
-
}, [r]), T =
|
|
98
|
-
|
|
99
|
-
|
|
82
|
+
}, [r]), T = w(
|
|
83
|
+
e.root,
|
|
84
|
+
e[C],
|
|
100
85
|
W,
|
|
101
|
-
Q.getResponsiveFlatClassnames("size", h).map((e) => l[e]),
|
|
102
86
|
{
|
|
103
|
-
[
|
|
104
|
-
[
|
|
105
|
-
[
|
|
87
|
+
[e.fullWidth]: _,
|
|
88
|
+
[e.backdropBlur]: F,
|
|
89
|
+
[e.empty]: !y
|
|
106
90
|
}
|
|
107
|
-
), X =
|
|
91
|
+
), X = l.useMemo(() => i ? d ? ` ${i.trim()}` : i.trim() : "", [i, d]);
|
|
108
92
|
return /* @__PURE__ */ q("div", { className: T, children: [
|
|
109
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ o(
|
|
110
94
|
O,
|
|
111
95
|
{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
96
|
+
theme: C,
|
|
97
|
+
id: u,
|
|
98
|
+
name: f,
|
|
99
|
+
ref: K,
|
|
100
|
+
type: x,
|
|
101
|
+
tabIndex: R,
|
|
102
|
+
className: w(
|
|
103
|
+
e.input,
|
|
104
|
+
S
|
|
105
|
+
),
|
|
106
|
+
value: a,
|
|
121
107
|
placeholder: X,
|
|
122
108
|
disabled: B,
|
|
123
|
-
onChange:
|
|
124
|
-
onKeyDown:
|
|
125
|
-
spellCheck:
|
|
126
|
-
min:
|
|
127
|
-
max:
|
|
128
|
-
step:
|
|
129
|
-
defaultValue:
|
|
130
|
-
|
|
109
|
+
onChange: j,
|
|
110
|
+
onKeyDown: z,
|
|
111
|
+
spellCheck: V,
|
|
112
|
+
min: N,
|
|
113
|
+
max: k,
|
|
114
|
+
step: g,
|
|
115
|
+
defaultValue: s,
|
|
116
|
+
state: D,
|
|
117
|
+
autoFocus: v
|
|
131
118
|
}
|
|
132
119
|
),
|
|
133
|
-
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
|
|
120
|
+
d && /* @__PURE__ */ o(H, { name: d, className: e.placeholderIcon }),
|
|
121
|
+
/* @__PURE__ */ o(
|
|
122
|
+
ae,
|
|
136
123
|
{
|
|
137
|
-
decorator:
|
|
138
|
-
loading:
|
|
139
|
-
type:
|
|
140
|
-
hasValue:
|
|
124
|
+
decorator: A,
|
|
125
|
+
loading: E,
|
|
126
|
+
type: x,
|
|
127
|
+
hasValue: y,
|
|
141
128
|
onCleare: G
|
|
142
129
|
}
|
|
143
130
|
)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type InputSize = 'small' | '
|
|
1
|
+
export type InputSize = 'small' | 'medium' | 'large';
|
|
2
2
|
export type InputTheme = 'default' | 'onlight';
|
|
@@ -1,120 +1,136 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import l from "../Flex/Flex.js";
|
|
4
|
+
import { FormField as a } from "../FormField/FormField.js";
|
|
5
|
+
import { Text as c } from "../Text/Text.js";
|
|
5
6
|
import "../../utils/ui/ui.js";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
function
|
|
9
|
-
const [o, n] =
|
|
10
|
-
return /* @__PURE__ */ l
|
|
11
|
-
/* @__PURE__ */ l
|
|
12
|
-
/* @__PURE__ */ e(
|
|
13
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
7
|
+
import i from "./Input.js";
|
|
8
|
+
const s = /^\+?[0-9]*$/;
|
|
9
|
+
function v() {
|
|
10
|
+
const [o, n] = d.useState(""), [u, p] = d.useState(0), [h, t] = d.useState("");
|
|
11
|
+
return /* @__PURE__ */ r(l, { gap: "large", vertical: !0, children: [
|
|
12
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
13
|
+
/* @__PURE__ */ e(c, { children: "Default" }),
|
|
14
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" }) })
|
|
14
15
|
] }),
|
|
15
|
-
/* @__PURE__ */ l
|
|
16
|
-
/* @__PURE__ */ e(
|
|
17
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
16
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
17
|
+
/* @__PURE__ */ e(c, { children: "Success" }),
|
|
18
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
19
|
+
a,
|
|
20
|
+
{
|
|
21
|
+
state: "success",
|
|
22
|
+
message: "This is a success message",
|
|
23
|
+
children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" })
|
|
24
|
+
}
|
|
25
|
+
) })
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
28
|
+
/* @__PURE__ */ e(c, { children: "Error" }),
|
|
29
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(a, { state: "error", message: "This is an error message", children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", state: "error" }) }) })
|
|
18
30
|
] }),
|
|
19
|
-
/* @__PURE__ */ l
|
|
20
|
-
/* @__PURE__ */ e(
|
|
21
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
31
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
32
|
+
/* @__PURE__ */ e(c, { children: "Label" }),
|
|
33
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
34
|
+
a,
|
|
35
|
+
{
|
|
36
|
+
label: "label",
|
|
37
|
+
icon: "MoreInfo",
|
|
38
|
+
required: !0,
|
|
39
|
+
title: "title",
|
|
40
|
+
children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" })
|
|
41
|
+
}
|
|
42
|
+
) })
|
|
22
43
|
] }),
|
|
23
|
-
/* @__PURE__ */ l
|
|
24
|
-
/* @__PURE__ */ e(
|
|
25
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
26
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
44
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
45
|
+
/* @__PURE__ */ e(c, { children: "Disabled" }),
|
|
46
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", disabled: !0 }) }),
|
|
47
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", disabled: !0, value: "Some input value" }) })
|
|
27
48
|
] }),
|
|
28
|
-
/* @__PURE__ */ l
|
|
29
|
-
/* @__PURE__ */ e(
|
|
30
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
49
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
50
|
+
/* @__PURE__ */ e(c, { children: "With placrholder icon" }),
|
|
51
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
31
52
|
] }),
|
|
32
|
-
/* @__PURE__ */ l
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
53
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
54
|
+
/* @__PURE__ */ e(c, { children: "BackdropBlur" }),
|
|
55
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { backdropBlur: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
35
56
|
] }),
|
|
36
|
-
/* @__PURE__ */ l
|
|
37
|
-
/* @__PURE__ */ e(
|
|
38
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
57
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
58
|
+
/* @__PURE__ */ e(c, { children: "Full width" }),
|
|
59
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { fullWidth: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
39
60
|
] }),
|
|
40
|
-
/* @__PURE__ */ l
|
|
41
|
-
/* @__PURE__ */ e(
|
|
42
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
61
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
62
|
+
/* @__PURE__ */ e(c, { children: "Loading" }),
|
|
63
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { disabled: !0, loading: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
43
64
|
] }),
|
|
44
|
-
/* @__PURE__ */ l
|
|
45
|
-
/* @__PURE__ */ e(
|
|
65
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
66
|
+
/* @__PURE__ */ e(c, { children: "With phone pattern Regex" }),
|
|
46
67
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
47
|
-
|
|
68
|
+
i,
|
|
48
69
|
{
|
|
49
|
-
pattern:
|
|
70
|
+
pattern: s,
|
|
50
71
|
placeholder: "Placeholder",
|
|
51
|
-
size: "large",
|
|
52
72
|
placeholderIcon: "Tick",
|
|
53
73
|
value: o,
|
|
54
74
|
onChange: n
|
|
55
75
|
}
|
|
56
76
|
) })
|
|
57
77
|
] }),
|
|
58
|
-
/* @__PURE__ */ l
|
|
59
|
-
/* @__PURE__ */ e(
|
|
78
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
79
|
+
/* @__PURE__ */ e(c, { children: "Decorator" }),
|
|
60
80
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
61
|
-
|
|
81
|
+
i,
|
|
62
82
|
{
|
|
63
83
|
placeholder: "Placeholder",
|
|
64
|
-
size: "large",
|
|
65
84
|
placeholderIcon: "Tick",
|
|
66
|
-
decorator: /* @__PURE__ */ e(
|
|
85
|
+
decorator: /* @__PURE__ */ e(c, { children: "Decorator" })
|
|
67
86
|
}
|
|
68
87
|
) })
|
|
69
88
|
] }),
|
|
70
|
-
/* @__PURE__ */ l
|
|
71
|
-
/* @__PURE__ */ e(
|
|
89
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
90
|
+
/* @__PURE__ */ e(c, { children: "Type Number input with min=1 max=100" }),
|
|
72
91
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
73
|
-
|
|
92
|
+
i,
|
|
74
93
|
{
|
|
75
94
|
placeholder: "Placeholder",
|
|
76
|
-
size: "large",
|
|
77
95
|
placeholderIcon: "Tick",
|
|
78
96
|
type: "number",
|
|
79
97
|
min: 1,
|
|
80
98
|
max: 100,
|
|
81
|
-
value:
|
|
82
|
-
onChange: (
|
|
99
|
+
value: u,
|
|
100
|
+
onChange: (m) => p(Number(m))
|
|
83
101
|
}
|
|
84
102
|
) })
|
|
85
103
|
] }),
|
|
86
|
-
/* @__PURE__ */ l
|
|
87
|
-
/* @__PURE__ */ e(
|
|
104
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
105
|
+
/* @__PURE__ */ e(c, { children: "Type search" }),
|
|
88
106
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
89
|
-
|
|
107
|
+
i,
|
|
90
108
|
{
|
|
91
109
|
placeholder: "Placeholder",
|
|
92
|
-
size: "large",
|
|
93
110
|
placeholderIcon: "Search",
|
|
94
111
|
type: "search",
|
|
95
|
-
value:
|
|
96
|
-
onChange:
|
|
112
|
+
value: h,
|
|
113
|
+
onChange: t
|
|
97
114
|
}
|
|
98
115
|
) })
|
|
99
116
|
] }),
|
|
100
|
-
/* @__PURE__ */ l
|
|
101
|
-
/* @__PURE__ */ e(
|
|
117
|
+
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
118
|
+
/* @__PURE__ */ e(c, { children: "Theme onlight" }),
|
|
102
119
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
103
|
-
|
|
120
|
+
i,
|
|
104
121
|
{
|
|
105
122
|
placeholder: "Placeholder",
|
|
106
|
-
size: "large",
|
|
107
123
|
placeholderIcon: "Search",
|
|
108
124
|
type: "search",
|
|
109
|
-
value:
|
|
110
|
-
onChange:
|
|
125
|
+
value: h,
|
|
126
|
+
onChange: t,
|
|
111
127
|
theme: "onlight"
|
|
112
128
|
}
|
|
113
129
|
) })
|
|
114
130
|
] })
|
|
115
131
|
] });
|
|
116
132
|
}
|
|
117
|
-
const
|
|
133
|
+
const k = d.memo(v);
|
|
118
134
|
export {
|
|
119
|
-
|
|
135
|
+
k as default
|
|
120
136
|
};
|