@bloomreach/react-banana-ui 1.1.0-next.1
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/README.md +310 -0
- package/dist/bloomreach-react-banana-ui.es.js +7683 -0
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -0
- package/dist/bloomreach-react-banana-ui.umd.js +52 -0
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -0
- package/dist/components/buttons/button/button.d.ts +71 -0
- package/dist/components/buttons/button/button.qa.stories.d.ts +8 -0
- package/dist/components/buttons/button/button.stories.d.ts +16 -0
- package/dist/components/buttons/button/index.d.ts +1 -0
- package/dist/components/buttons/button-group/button-group.d.ts +41 -0
- package/dist/components/buttons/button-group/button-group.stories.d.ts +9 -0
- package/dist/components/buttons/button-group/index.d.ts +2 -0
- package/dist/components/buttons/index.d.ts +4 -0
- package/dist/components/buttons/toggle-button/index.d.ts +2 -0
- package/dist/components/buttons/toggle-button/toggle-button.d.ts +75 -0
- package/dist/components/buttons/toggle-button/toggle-button.stories.d.ts +7 -0
- package/dist/components/buttons/toggle-button-group/index.d.ts +2 -0
- package/dist/components/buttons/toggle-button-group/toggle-button-group.d.ts +94 -0
- package/dist/components/buttons/toggle-button-group/toggle-button-group.stories.d.ts +8 -0
- package/dist/components/containers/dropdown/dropdown.d.ts +131 -0
- package/dist/components/containers/scroll-region/scroll-region.d.ts +106 -0
- package/dist/components/containers/scroll-view/scroll-view.d.ts +115 -0
- package/dist/components/feedback/alert/alert-title.d.ts +13 -0
- package/dist/components/feedback/alert/alert.d.ts +41 -0
- package/dist/components/feedback/alert/alert.stories.d.ts +11 -0
- package/dist/components/feedback/alert/index.d.ts +2 -0
- package/dist/components/feedback/index.d.ts +1 -0
- package/dist/components/foundations/icon/icon.d.ts +41 -0
- package/dist/components/foundations/icon/icon.qa.stories.d.ts +6 -0
- package/dist/components/foundations/icon/icon.stories.d.ts +16 -0
- package/dist/components/foundations/icon/icons/AbTestIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AggregateIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AnalyticsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AndroidIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AnonymizeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AppleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArchiveAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArchiveIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowCollapseIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowDownIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowExpandIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowKeyboardNextIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowKeyboardPreviousIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowKeyboardUpIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowLeftIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowRightIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ArrowUpIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AxisIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/AxisLimtIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BarChartIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BooleanIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BracketsCancelIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BracketsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BrowserIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/BrowserPushIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CalendarAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CalendarIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CatalogIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChatAddIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChatIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChatsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CheckCircleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CheckFilledIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CheckIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CheckSmallIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronDownFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronDownIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronLeftFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronLeftIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronRightFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronRightIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronUpFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ChevronUpIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ClearFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ClearIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ClipboardAddIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ClockCircleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CloneIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CloseIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CloseSmallIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CloudCheckIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CloudDownloadIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CodeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ColorPickerAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ColorPickerIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ColumnsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ConditionAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ConditionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ConsoleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ConstantAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ConstantIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ContextualPersonalizationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CopyIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CopyToDashboardIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CsvIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CustomRowIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CustomerIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CustomersFilterIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/CustomersSegmentationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DateTimeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DescriptionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DesktopIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DisabledIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DivideIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DocumentationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DownloadIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DragHorizontalIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/DragVericalIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EditIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EducationHubIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EllipsisVerticalIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EllipsissHorizontalIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EmailIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EmojiPickerIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ErrorFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EventIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EventsSegmentationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ExperimentIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ExposeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ExpressionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ExternalLinkIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EyeCrossedIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/EyeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FastForwardIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FileIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FilterIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FireIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FolderEmptyIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FolderFullIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FormulaExpressionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FormulaIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FromStartAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/FullscreenIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/GiftIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/GoToIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/GraphStatsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/GridAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/GridIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/HelpIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/HistoryIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/HomeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/HtmlIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ImagesIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/InfoFilledIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/InfoIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/InfoSmallIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/InternetIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/KeyIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LayoutIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LikeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LineChartIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LinkIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ListIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LoaderIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/LockIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MapIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MetricAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MinusIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobileAppInboxIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobileImageMessageIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobilePhoneLandscapeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobilePhonePortraitIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobilePushIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobileSmsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MobileTextMessageIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/MoveIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/NegationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/NotificationIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/NumberIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/OfflineFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/OfflineIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PaintIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ParagraphCenterAlignIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ParagraphLeftAlignIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ParagraphRightAlignIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PercentageIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PersAlt1Icon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PersAlt2Icon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PersAlt3Icon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PersAlt4Icon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PictureAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PictureIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PinIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PlugPlayIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PlusCircleFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PlusCircleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PlusIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/PoverButtonIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RefreshIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ReleaseNotesIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RenameAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RenameIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ReorderIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ReportIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RetentionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RewertLeftIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RewertRightIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RibbonIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RoadmapIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RobotIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/RunningAggregateIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SaveIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ScenarioIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SearchIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SecurityShieldIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SendIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SettingsAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SettingsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ShareIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ShopIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/ShrinkIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SortIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SplitFlowIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SqlIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StarFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StarIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StartFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StartIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StatusDotIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StopIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StopwatchIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StringComponentIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/StringIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SuggestionIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SurveyIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/SwapIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TabletLangscapeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TabletPortraitIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TagAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TagIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TemplateIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TextBoldIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TextItalicIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TextStyleIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TragetIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TransferIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TrashIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/TrendIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UnExposeIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UnarchiveAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UndoIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UnlinkIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UnlockIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UntilNowAltIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UploadIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UsagesIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/UsersIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/VisualIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/VoucherIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WaitIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WalkthroughsIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WarningFillIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WebhookIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WeblayerIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/WrenchIcon.d.ts +4 -0
- package/dist/components/foundations/icon/icons/index.d.ts +225 -0
- package/dist/components/foundations/icon/index.d.ts +3 -0
- package/dist/components/foundations/index.d.ts +1 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/inputs/base-field/base-field.d.ts +48 -0
- package/dist/components/inputs/base-field/generate-field-id.d.ts +4 -0
- package/dist/components/inputs/base-field/index.d.ts +2 -0
- package/dist/components/inputs/base-input/base-input.d.ts +104 -0
- package/dist/components/inputs/base-input/index.d.ts +2 -0
- package/dist/components/inputs/index.d.ts +2 -0
- package/dist/components/inputs/input-field/index.d.ts +2 -0
- package/dist/components/inputs/input-field/input-field.d.ts +119 -0
- package/dist/components/inputs/input-field/input-field.qa.stories.d.ts +13 -0
- package/dist/components/inputs/input-field/input-field.stories.d.ts +23 -0
- package/dist/components/inputs/internal.d.ts +2 -0
- package/dist/components/inputs/selection/selection.d.ts +233 -0
- package/dist/components/inputs/text-field/index.d.ts +2 -0
- package/dist/components/inputs/text-field/text-field.d.ts +138 -0
- package/dist/components/inputs/text-field/text-field.qa.stories.d.ts +14 -0
- package/dist/components/inputs/text-field/text-field.stories.d.ts +25 -0
- package/dist/components/internal.d.ts +1 -0
- package/dist/components/lists/list-view/list-view.d.ts +149 -0
- package/dist/components/loaders/loader/loader.d.ts +24 -0
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/pagination/index.d.ts +2 -0
- package/dist/components/navigation/pagination/pagination-config.d.ts +4 -0
- package/dist/components/navigation/pagination/pagination-context.d.ts +5 -0
- package/dist/components/navigation/pagination/pagination-items-per-page-selector.d.ts +2 -0
- package/dist/components/navigation/pagination/pagination-navigation-helpers.d.ts +11 -0
- package/dist/components/navigation/pagination/pagination-navigation-item.d.ts +6 -0
- package/dist/components/navigation/pagination/pagination-navigation.d.ts +2 -0
- package/dist/components/navigation/pagination/pagination-summary.d.ts +2 -0
- package/dist/components/navigation/pagination/pagination-types.d.ts +38 -0
- package/dist/components/navigation/pagination/pagination.d.ts +21 -0
- package/dist/components/navigation/pagination/pagination.qa.stories.d.ts +8 -0
- package/dist/components/navigation/pagination/pagination.stories.d.ts +20 -0
- package/dist/components/popovers/index.d.ts +2 -0
- package/dist/components/popovers/modal/index.d.ts +8 -0
- package/dist/components/popovers/modal/modal-body.d.ts +8 -0
- package/dist/components/popovers/modal/modal-close-button.d.ts +13 -0
- package/dist/components/popovers/modal/modal-context.d.ts +5 -0
- package/dist/components/popovers/modal/modal-footer-actions.d.ts +8 -0
- package/dist/components/popovers/modal/modal-footer.d.ts +10 -0
- package/dist/components/popovers/modal/modal-header-title.d.ts +7 -0
- package/dist/components/popovers/modal/modal-header.d.ts +9 -0
- package/dist/components/popovers/modal/modal-types.d.ts +94 -0
- package/dist/components/popovers/modal/modal.d.ts +37 -0
- package/dist/components/popovers/modal/modal.qa.stories.d.ts +10 -0
- package/dist/components/popovers/modal/modal.stories.d.ts +14 -0
- package/dist/components/popovers/tooltip/index.d.ts +2 -0
- package/dist/components/popovers/tooltip/tooltip-config.d.ts +2 -0
- package/dist/components/popovers/tooltip/tooltip.d.ts +50 -0
- package/dist/components/popovers/tooltip/tooltip.qa.stories.d.ts +8 -0
- package/dist/components/popovers/tooltip/tooltip.stories.d.ts +25 -0
- package/dist/components/types.d.ts +19 -0
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/add-font.d.ts +29 -0
- package/dist/utils/after-render.d.ts +5 -0
- package/dist/utils/async-dom-render.d.ts +6 -0
- package/dist/utils/chalk.d.ts +44 -0
- package/dist/utils/chunk.d.ts +4 -0
- package/dist/utils/classnames.d.ts +6 -0
- package/dist/utils/clone-client-rect.d.ts +26 -0
- package/dist/utils/compare-client-rect.d.ts +5 -0
- package/dist/utils/compare-sets.d.ts +5 -0
- package/dist/utils/compose-refs.d.ts +5 -0
- package/dist/utils/cookie-parser.d.ts +8 -0
- package/dist/utils/copy-text-to-clipboard.d.ts +7 -0
- package/dist/utils/debounce.d.ts +4 -0
- package/dist/utils/deep-clone.d.ts +5 -0
- package/dist/utils/deep-equal.d.ts +4 -0
- package/dist/utils/ensure-modal-root.d.ts +4 -0
- package/dist/utils/event-element-position.d.ts +4 -0
- package/dist/utils/filter-react-children.d.ts +6 -0
- package/dist/utils/find-react-children.d.ts +10 -0
- package/dist/utils/flatten-array.d.ts +5 -0
- package/dist/utils/fuzzy-groups.d.ts +51 -0
- package/dist/utils/get-decimal.d.ts +8 -0
- package/dist/utils/get-error-message.d.ts +6 -0
- package/dist/utils/get-first-with-class.d.ts +5 -0
- package/dist/utils/get-index.d.ts +5 -0
- package/dist/utils/get-selected-text.d.ts +4 -0
- package/dist/utils/get-type-name.d.ts +14 -0
- package/dist/utils/group-react-children.d.ts +8 -0
- package/dist/utils/has-child.d.ts +4 -0
- package/dist/utils/hooks/index.d.ts +1 -0
- package/dist/utils/hooks/use-hover.d.ts +10 -0
- package/dist/utils/index.d.ts +43 -0
- package/dist/utils/local-storage.d.ts +42 -0
- package/dist/utils/make-buffer.d.ts +28 -0
- package/dist/utils/map-lookup-values.d.ts +65 -0
- package/dist/utils/no-op.d.ts +4 -0
- package/dist/utils/normalize-wheel/ExecutionEnvironment.d.ts +38 -0
- package/dist/utils/normalize-wheel/UserAgent_DEPRECATED.d.ts +116 -0
- package/dist/utils/normalize-wheel/index.d.ts +2 -0
- package/dist/utils/normalize-wheel/isEventSupported.d.ts +46 -0
- package/dist/utils/normalize-wheel/normalizeWheel.d.ts +139 -0
- package/dist/utils/promise-resolver.d.ts +36 -0
- package/dist/utils/relative-client-rect.d.ts +5 -0
- package/dist/utils/rush.d.ts +4 -0
- package/dist/utils/state-controls.d.ts +28 -0
- package/dist/utils/stop-all-propagation.d.ts +8 -0
- package/dist/utils/template.d.ts +49 -0
- package/dist/utils/to-digits.d.ts +4 -0
- package/dist/utils/to-query-params.d.ts +14 -0
- package/dist/utils/types.d.ts +69 -0
- package/dist/utils/url-join.d.ts +24 -0
- package/dist/utils/wait.d.ts +1 -0
- package/dist/utils/when.d.ts +2 -0
- package/package.json +117 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
export { default as AbTestIcon } from './AbTestIcon';
|
|
2
|
+
export { default as AggregateIcon } from './AggregateIcon';
|
|
3
|
+
export { default as AnalyticsIcon } from './AnalyticsIcon';
|
|
4
|
+
export { default as AndroidIcon } from './AndroidIcon';
|
|
5
|
+
export { default as AnonymizeIcon } from './AnonymizeIcon';
|
|
6
|
+
export { default as AppleIcon } from './AppleIcon';
|
|
7
|
+
export { default as ArchiveAltIcon } from './ArchiveAltIcon';
|
|
8
|
+
export { default as ArchiveIcon } from './ArchiveIcon';
|
|
9
|
+
export { default as ArrowCollapseIcon } from './ArrowCollapseIcon';
|
|
10
|
+
export { default as ArrowDownIcon } from './ArrowDownIcon';
|
|
11
|
+
export { default as ArrowExpandIcon } from './ArrowExpandIcon';
|
|
12
|
+
export { default as ArrowKeyboardNextIcon } from './ArrowKeyboardNextIcon';
|
|
13
|
+
export { default as ArrowKeyboardPreviousIcon } from './ArrowKeyboardPreviousIcon';
|
|
14
|
+
export { default as ArrowKeyboardUpIcon } from './ArrowKeyboardUpIcon';
|
|
15
|
+
export { default as ArrowLeftIcon } from './ArrowLeftIcon';
|
|
16
|
+
export { default as ArrowRightIcon } from './ArrowRightIcon';
|
|
17
|
+
export { default as ArrowUpIcon } from './ArrowUpIcon';
|
|
18
|
+
export { default as AxisIcon } from './AxisIcon';
|
|
19
|
+
export { default as AxisLimtIcon } from './AxisLimtIcon';
|
|
20
|
+
export { default as BarChartIcon } from './BarChartIcon';
|
|
21
|
+
export { default as BooleanIcon } from './BooleanIcon';
|
|
22
|
+
export { default as BracketsCancelIcon } from './BracketsCancelIcon';
|
|
23
|
+
export { default as BracketsIcon } from './BracketsIcon';
|
|
24
|
+
export { default as BrowserIcon } from './BrowserIcon';
|
|
25
|
+
export { default as BrowserPushIcon } from './BrowserPushIcon';
|
|
26
|
+
export { default as CalendarAltIcon } from './CalendarAltIcon';
|
|
27
|
+
export { default as CalendarIcon } from './CalendarIcon';
|
|
28
|
+
export { default as CatalogIcon } from './CatalogIcon';
|
|
29
|
+
export { default as ChatAddIcon } from './ChatAddIcon';
|
|
30
|
+
export { default as ChatIcon } from './ChatIcon';
|
|
31
|
+
export { default as ChatsIcon } from './ChatsIcon';
|
|
32
|
+
export { default as CheckCircleIcon } from './CheckCircleIcon';
|
|
33
|
+
export { default as CheckFilledIcon } from './CheckFilledIcon';
|
|
34
|
+
export { default as CheckIcon } from './CheckIcon';
|
|
35
|
+
export { default as CheckSmallIcon } from './CheckSmallIcon';
|
|
36
|
+
export { default as ChevronDownFillIcon } from './ChevronDownFillIcon';
|
|
37
|
+
export { default as ChevronDownIcon } from './ChevronDownIcon';
|
|
38
|
+
export { default as ChevronLeftFillIcon } from './ChevronLeftFillIcon';
|
|
39
|
+
export { default as ChevronLeftIcon } from './ChevronLeftIcon';
|
|
40
|
+
export { default as ChevronRightFillIcon } from './ChevronRightFillIcon';
|
|
41
|
+
export { default as ChevronRightIcon } from './ChevronRightIcon';
|
|
42
|
+
export { default as ChevronUpFillIcon } from './ChevronUpFillIcon';
|
|
43
|
+
export { default as ChevronUpIcon } from './ChevronUpIcon';
|
|
44
|
+
export { default as ClearFillIcon } from './ClearFillIcon';
|
|
45
|
+
export { default as ClearIcon } from './ClearIcon';
|
|
46
|
+
export { default as ClipboardAddIcon } from './ClipboardAddIcon';
|
|
47
|
+
export { default as ClockCircleIcon } from './ClockCircleIcon';
|
|
48
|
+
export { default as CloneIcon } from './CloneIcon';
|
|
49
|
+
export { default as CloseIcon } from './CloseIcon';
|
|
50
|
+
export { default as CloseSmallIcon } from './CloseSmallIcon';
|
|
51
|
+
export { default as CloudCheckIcon } from './CloudCheckIcon';
|
|
52
|
+
export { default as CloudDownloadIcon } from './CloudDownloadIcon';
|
|
53
|
+
export { default as CodeIcon } from './CodeIcon';
|
|
54
|
+
export { default as ColorPickerAltIcon } from './ColorPickerAltIcon';
|
|
55
|
+
export { default as ColorPickerIcon } from './ColorPickerIcon';
|
|
56
|
+
export { default as ColumnsIcon } from './ColumnsIcon';
|
|
57
|
+
export { default as ConditionAltIcon } from './ConditionAltIcon';
|
|
58
|
+
export { default as ConditionIcon } from './ConditionIcon';
|
|
59
|
+
export { default as ConsoleIcon } from './ConsoleIcon';
|
|
60
|
+
export { default as ConstantAltIcon } from './ConstantAltIcon';
|
|
61
|
+
export { default as ConstantIcon } from './ConstantIcon';
|
|
62
|
+
export { default as ContextualPersonalizationIcon } from './ContextualPersonalizationIcon';
|
|
63
|
+
export { default as CopyIcon } from './CopyIcon';
|
|
64
|
+
export { default as CopyToDashboardIcon } from './CopyToDashboardIcon';
|
|
65
|
+
export { default as CsvIcon } from './CsvIcon';
|
|
66
|
+
export { default as CustomRowIcon } from './CustomRowIcon';
|
|
67
|
+
export { default as CustomerIcon } from './CustomerIcon';
|
|
68
|
+
export { default as CustomersFilterIcon } from './CustomersFilterIcon';
|
|
69
|
+
export { default as CustomersSegmentationIcon } from './CustomersSegmentationIcon';
|
|
70
|
+
export { default as DateTimeIcon } from './DateTimeIcon';
|
|
71
|
+
export { default as DescriptionIcon } from './DescriptionIcon';
|
|
72
|
+
export { default as DesktopIcon } from './DesktopIcon';
|
|
73
|
+
export { default as DisabledIcon } from './DisabledIcon';
|
|
74
|
+
export { default as DivideIcon } from './DivideIcon';
|
|
75
|
+
export { default as DocumentationIcon } from './DocumentationIcon';
|
|
76
|
+
export { default as DownloadIcon } from './DownloadIcon';
|
|
77
|
+
export { default as DragHorizontalIcon } from './DragHorizontalIcon';
|
|
78
|
+
export { default as DragVericalIcon } from './DragVericalIcon';
|
|
79
|
+
export { default as EditIcon } from './EditIcon';
|
|
80
|
+
export { default as EducationHubIcon } from './EducationHubIcon';
|
|
81
|
+
export { default as EllipsisVerticalIcon } from './EllipsisVerticalIcon';
|
|
82
|
+
export { default as EllipsissHorizontalIcon } from './EllipsissHorizontalIcon';
|
|
83
|
+
export { default as EmailIcon } from './EmailIcon';
|
|
84
|
+
export { default as EmojiPickerIcon } from './EmojiPickerIcon';
|
|
85
|
+
export { default as ErrorFillIcon } from './ErrorFillIcon';
|
|
86
|
+
export { default as EventIcon } from './EventIcon';
|
|
87
|
+
export { default as EventsSegmentationIcon } from './EventsSegmentationIcon';
|
|
88
|
+
export { default as ExperimentIcon } from './ExperimentIcon';
|
|
89
|
+
export { default as ExposeIcon } from './ExposeIcon';
|
|
90
|
+
export { default as ExpressionIcon } from './ExpressionIcon';
|
|
91
|
+
export { default as ExternalLinkIcon } from './ExternalLinkIcon';
|
|
92
|
+
export { default as EyeCrossedIcon } from './EyeCrossedIcon';
|
|
93
|
+
export { default as EyeIcon } from './EyeIcon';
|
|
94
|
+
export { default as FastForwardIcon } from './FastForwardIcon';
|
|
95
|
+
export { default as FileIcon } from './FileIcon';
|
|
96
|
+
export { default as FilterIcon } from './FilterIcon';
|
|
97
|
+
export { default as FireIcon } from './FireIcon';
|
|
98
|
+
export { default as FolderEmptyIcon } from './FolderEmptyIcon';
|
|
99
|
+
export { default as FolderFullIcon } from './FolderFullIcon';
|
|
100
|
+
export { default as FormulaExpressionIcon } from './FormulaExpressionIcon';
|
|
101
|
+
export { default as FormulaIcon } from './FormulaIcon';
|
|
102
|
+
export { default as FromStartAltIcon } from './FromStartAltIcon';
|
|
103
|
+
export { default as FullscreenIcon } from './FullscreenIcon';
|
|
104
|
+
export { default as GiftIcon } from './GiftIcon';
|
|
105
|
+
export { default as GoToIcon } from './GoToIcon';
|
|
106
|
+
export { default as GraphStatsIcon } from './GraphStatsIcon';
|
|
107
|
+
export { default as GridAltIcon } from './GridAltIcon';
|
|
108
|
+
export { default as GridIcon } from './GridIcon';
|
|
109
|
+
export { default as HelpIcon } from './HelpIcon';
|
|
110
|
+
export { default as HistoryIcon } from './HistoryIcon';
|
|
111
|
+
export { default as HomeIcon } from './HomeIcon';
|
|
112
|
+
export { default as HtmlIcon } from './HtmlIcon';
|
|
113
|
+
export { default as ImagesIcon } from './ImagesIcon';
|
|
114
|
+
export { default as InfoFilledIcon } from './InfoFilledIcon';
|
|
115
|
+
export { default as InfoIcon } from './InfoIcon';
|
|
116
|
+
export { default as InfoSmallIcon } from './InfoSmallIcon';
|
|
117
|
+
export { default as InternetIcon } from './InternetIcon';
|
|
118
|
+
export { default as KeyIcon } from './KeyIcon';
|
|
119
|
+
export { default as LayoutIcon } from './LayoutIcon';
|
|
120
|
+
export { default as LikeIcon } from './LikeIcon';
|
|
121
|
+
export { default as LineChartIcon } from './LineChartIcon';
|
|
122
|
+
export { default as LinkIcon } from './LinkIcon';
|
|
123
|
+
export { default as ListIcon } from './ListIcon';
|
|
124
|
+
export { default as LoaderIcon } from './LoaderIcon';
|
|
125
|
+
export { default as LockIcon } from './LockIcon';
|
|
126
|
+
export { default as MapIcon } from './MapIcon';
|
|
127
|
+
export { default as MetricAltIcon } from './MetricAltIcon';
|
|
128
|
+
export { default as MinusIcon } from './MinusIcon';
|
|
129
|
+
export { default as MobileAppInboxIcon } from './MobileAppInboxIcon';
|
|
130
|
+
export { default as MobileImageMessageIcon } from './MobileImageMessageIcon';
|
|
131
|
+
export { default as MobilePhoneLandscapeIcon } from './MobilePhoneLandscapeIcon';
|
|
132
|
+
export { default as MobilePhonePortraitIcon } from './MobilePhonePortraitIcon';
|
|
133
|
+
export { default as MobilePushIcon } from './MobilePushIcon';
|
|
134
|
+
export { default as MobileSmsIcon } from './MobileSmsIcon';
|
|
135
|
+
export { default as MobileTextMessageIcon } from './MobileTextMessageIcon';
|
|
136
|
+
export { default as MoveIcon } from './MoveIcon';
|
|
137
|
+
export { default as NegationIcon } from './NegationIcon';
|
|
138
|
+
export { default as NotificationIcon } from './NotificationIcon';
|
|
139
|
+
export { default as NumberIcon } from './NumberIcon';
|
|
140
|
+
export { default as OfflineFillIcon } from './OfflineFillIcon';
|
|
141
|
+
export { default as OfflineIcon } from './OfflineIcon';
|
|
142
|
+
export { default as PaintIcon } from './PaintIcon';
|
|
143
|
+
export { default as ParagraphCenterAlignIcon } from './ParagraphCenterAlignIcon';
|
|
144
|
+
export { default as ParagraphLeftAlignIcon } from './ParagraphLeftAlignIcon';
|
|
145
|
+
export { default as ParagraphRightAlignIcon } from './ParagraphRightAlignIcon';
|
|
146
|
+
export { default as PercentageIcon } from './PercentageIcon';
|
|
147
|
+
export { default as PersAlt1Icon } from './PersAlt1Icon';
|
|
148
|
+
export { default as PersAlt2Icon } from './PersAlt2Icon';
|
|
149
|
+
export { default as PersAlt3Icon } from './PersAlt3Icon';
|
|
150
|
+
export { default as PersAlt4Icon } from './PersAlt4Icon';
|
|
151
|
+
export { default as PictureAltIcon } from './PictureAltIcon';
|
|
152
|
+
export { default as PictureIcon } from './PictureIcon';
|
|
153
|
+
export { default as PinIcon } from './PinIcon';
|
|
154
|
+
export { default as PlugPlayIcon } from './PlugPlayIcon';
|
|
155
|
+
export { default as PlusCircleFillIcon } from './PlusCircleFillIcon';
|
|
156
|
+
export { default as PlusCircleIcon } from './PlusCircleIcon';
|
|
157
|
+
export { default as PlusIcon } from './PlusIcon';
|
|
158
|
+
export { default as PoverButtonIcon } from './PoverButtonIcon';
|
|
159
|
+
export { default as RefreshIcon } from './RefreshIcon';
|
|
160
|
+
export { default as ReleaseNotesIcon } from './ReleaseNotesIcon';
|
|
161
|
+
export { default as RenameAltIcon } from './RenameAltIcon';
|
|
162
|
+
export { default as RenameIcon } from './RenameIcon';
|
|
163
|
+
export { default as ReorderIcon } from './ReorderIcon';
|
|
164
|
+
export { default as ReportIcon } from './ReportIcon';
|
|
165
|
+
export { default as RetentionIcon } from './RetentionIcon';
|
|
166
|
+
export { default as RewertLeftIcon } from './RewertLeftIcon';
|
|
167
|
+
export { default as RewertRightIcon } from './RewertRightIcon';
|
|
168
|
+
export { default as RibbonIcon } from './RibbonIcon';
|
|
169
|
+
export { default as RoadmapIcon } from './RoadmapIcon';
|
|
170
|
+
export { default as RobotIcon } from './RobotIcon';
|
|
171
|
+
export { default as RunningAggregateIcon } from './RunningAggregateIcon';
|
|
172
|
+
export { default as SaveIcon } from './SaveIcon';
|
|
173
|
+
export { default as ScenarioIcon } from './ScenarioIcon';
|
|
174
|
+
export { default as SearchIcon } from './SearchIcon';
|
|
175
|
+
export { default as SecurityShieldIcon } from './SecurityShieldIcon';
|
|
176
|
+
export { default as SendIcon } from './SendIcon';
|
|
177
|
+
export { default as SettingsAltIcon } from './SettingsAltIcon';
|
|
178
|
+
export { default as SettingsIcon } from './SettingsIcon';
|
|
179
|
+
export { default as ShareIcon } from './ShareIcon';
|
|
180
|
+
export { default as ShopIcon } from './ShopIcon';
|
|
181
|
+
export { default as ShrinkIcon } from './ShrinkIcon';
|
|
182
|
+
export { default as SortIcon } from './SortIcon';
|
|
183
|
+
export { default as SplitFlowIcon } from './SplitFlowIcon';
|
|
184
|
+
export { default as SqlIcon } from './SqlIcon';
|
|
185
|
+
export { default as StarFillIcon } from './StarFillIcon';
|
|
186
|
+
export { default as StarIcon } from './StarIcon';
|
|
187
|
+
export { default as StartFillIcon } from './StartFillIcon';
|
|
188
|
+
export { default as StartIcon } from './StartIcon';
|
|
189
|
+
export { default as StatusDotIcon } from './StatusDotIcon';
|
|
190
|
+
export { default as StopIcon } from './StopIcon';
|
|
191
|
+
export { default as StopwatchIcon } from './StopwatchIcon';
|
|
192
|
+
export { default as StringComponentIcon } from './StringComponentIcon';
|
|
193
|
+
export { default as StringIcon } from './StringIcon';
|
|
194
|
+
export { default as SuggestionIcon } from './SuggestionIcon';
|
|
195
|
+
export { default as SurveyIcon } from './SurveyIcon';
|
|
196
|
+
export { default as SwapIcon } from './SwapIcon';
|
|
197
|
+
export { default as TabletLangscapeIcon } from './TabletLangscapeIcon';
|
|
198
|
+
export { default as TabletPortraitIcon } from './TabletPortraitIcon';
|
|
199
|
+
export { default as TagAltIcon } from './TagAltIcon';
|
|
200
|
+
export { default as TagIcon } from './TagIcon';
|
|
201
|
+
export { default as TemplateIcon } from './TemplateIcon';
|
|
202
|
+
export { default as TextBoldIcon } from './TextBoldIcon';
|
|
203
|
+
export { default as TextItalicIcon } from './TextItalicIcon';
|
|
204
|
+
export { default as TextStyleIcon } from './TextStyleIcon';
|
|
205
|
+
export { default as TragetIcon } from './TragetIcon';
|
|
206
|
+
export { default as TransferIcon } from './TransferIcon';
|
|
207
|
+
export { default as TrashIcon } from './TrashIcon';
|
|
208
|
+
export { default as TrendIcon } from './TrendIcon';
|
|
209
|
+
export { default as UnExposeIcon } from './UnExposeIcon';
|
|
210
|
+
export { default as UnarchiveAltIcon } from './UnarchiveAltIcon';
|
|
211
|
+
export { default as UndoIcon } from './UndoIcon';
|
|
212
|
+
export { default as UnlinkIcon } from './UnlinkIcon';
|
|
213
|
+
export { default as UnlockIcon } from './UnlockIcon';
|
|
214
|
+
export { default as UntilNowAltIcon } from './UntilNowAltIcon';
|
|
215
|
+
export { default as UploadIcon } from './UploadIcon';
|
|
216
|
+
export { default as UsagesIcon } from './UsagesIcon';
|
|
217
|
+
export { default as UsersIcon } from './UsersIcon';
|
|
218
|
+
export { default as VisualIcon } from './VisualIcon';
|
|
219
|
+
export { default as VoucherIcon } from './VoucherIcon';
|
|
220
|
+
export { default as WaitIcon } from './WaitIcon';
|
|
221
|
+
export { default as WalkthroughsIcon } from './WalkthroughsIcon';
|
|
222
|
+
export { default as WarningFillIcon } from './WarningFillIcon';
|
|
223
|
+
export { default as WebhookIcon } from './WebhookIcon';
|
|
224
|
+
export { default as WeblayerIcon } from './WeblayerIcon';
|
|
225
|
+
export { default as WrenchIcon } from './WrenchIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icon';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface BrBaseFieldProps {
|
|
3
|
+
/**
|
|
4
|
+
* Custom class name for the container of this component.
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The control element to render as the main content of the field.
|
|
9
|
+
*/
|
|
10
|
+
control: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The `id` of the `control` element to connect it with `label` in the field.
|
|
13
|
+
*/
|
|
14
|
+
controlId: string;
|
|
15
|
+
/**
|
|
16
|
+
* If `true`, the field will indicate an error.
|
|
17
|
+
*/
|
|
18
|
+
error?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* If `true`, the field will take up the full width of its container.
|
|
21
|
+
*/
|
|
22
|
+
fullWidth?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The helper text content.
|
|
25
|
+
*/
|
|
26
|
+
helperText?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* The label content.
|
|
29
|
+
*/
|
|
30
|
+
label?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* The metadata content.
|
|
33
|
+
*/
|
|
34
|
+
metadata?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Tooltip to display when the field has label.
|
|
37
|
+
*/
|
|
38
|
+
tooltip?: ReactNode;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* Base component provides the layout for the field which includes:
|
|
43
|
+
* label (with or without tooltip), helper text and control.
|
|
44
|
+
* It also provides the `error` and `full width` states for the field.
|
|
45
|
+
* Should be used as a base for all other field components and should not be exposed to the end users.
|
|
46
|
+
*/
|
|
47
|
+
declare const BrBaseField: import("react").ForwardRefExoticComponent<BrBaseFieldProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
|
+
export default BrBaseField;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import React, { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface BrBaseInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* Automatically adjusts textarea height to match the length of the content within.
|
|
5
|
+
* When `multiline` is `false`, this prop is ignored.
|
|
6
|
+
*/
|
|
7
|
+
autoSize?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Custom class name for the container of this component.
|
|
10
|
+
*/
|
|
11
|
+
className?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Allow to remove `input` content with clear icon.
|
|
14
|
+
* When `multiline` is `true`, this prop is ignored.
|
|
15
|
+
*/
|
|
16
|
+
clearable?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The default value. Use when the component is not controlled.
|
|
19
|
+
*/
|
|
20
|
+
defaultValue?: string;
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, the field is disabled.
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If `true`, the `field` will indicate an error and set the `aria-invalid` attribute for `input` or `textarea`.
|
|
27
|
+
*/
|
|
28
|
+
error?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The `id` of the `input` or `textarea` element.
|
|
31
|
+
*/
|
|
32
|
+
id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Attributes applied to the `input` or `textarea` element, check the link below for more details.
|
|
35
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes
|
|
36
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#Attributes
|
|
37
|
+
*/
|
|
38
|
+
inputProps?: InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>;
|
|
39
|
+
/**
|
|
40
|
+
* Icon or any element displayed at the end of the `input` or `textarea`.
|
|
41
|
+
*/
|
|
42
|
+
leftElement?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* The maximum number of text lines to grow when `autoSize` and `multiline` are `true`.
|
|
45
|
+
*/
|
|
46
|
+
maxRows?: number;
|
|
47
|
+
/**
|
|
48
|
+
* The number of visible text lines for the field.
|
|
49
|
+
* When `autoSize` is `false`, this prop behaves as `rows` for `textarea`.
|
|
50
|
+
* Works only when `multiline` is `true`.
|
|
51
|
+
*/
|
|
52
|
+
minRows?: number;
|
|
53
|
+
/**
|
|
54
|
+
* If `true`, a `textarea` element is rendered.
|
|
55
|
+
*/
|
|
56
|
+
multiline?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* The `name` attribute of the `input` or `textarea` element.
|
|
59
|
+
*/
|
|
60
|
+
name?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Callback fired when the `input` or `textarea` is blurred.
|
|
63
|
+
*/
|
|
64
|
+
onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
65
|
+
/**
|
|
66
|
+
* Callback fired when the value is changed.
|
|
67
|
+
*/
|
|
68
|
+
onChange?: ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
69
|
+
/**
|
|
70
|
+
* Callback fired when the `input` or `textarea` value length is changed.
|
|
71
|
+
*/
|
|
72
|
+
onCountChange?: (count: number) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Callback fired when the `input` or `textarea` is focused.
|
|
75
|
+
*/
|
|
76
|
+
onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
77
|
+
/**
|
|
78
|
+
* The short hint displayed in the `input` or `textarea` before the user enters a value.
|
|
79
|
+
*/
|
|
80
|
+
placeholder?: string;
|
|
81
|
+
/**
|
|
82
|
+
* If `true`, the `input` or `textarea` will be read-only.
|
|
83
|
+
*/
|
|
84
|
+
readOnly?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* If `true`, the `input` or `textarea` will be required.
|
|
87
|
+
*/
|
|
88
|
+
required?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Icon or any element displayed at the start of the `input` or `textarea`.
|
|
91
|
+
*/
|
|
92
|
+
rightElement?: ReactNode;
|
|
93
|
+
/**
|
|
94
|
+
* The `value` of the `input` or `textarea` element, required for a controlled component.
|
|
95
|
+
*/
|
|
96
|
+
value?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
* The base input component to enter and edit text.
|
|
101
|
+
* Should be used only by other components and not exposed to the end users.
|
|
102
|
+
*/
|
|
103
|
+
declare const BrBaseInput: React.ForwardRefExoticComponent<BrBaseInputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
104
|
+
export default BrBaseInput;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface BrInputFieldProps {
|
|
3
|
+
/**
|
|
4
|
+
* Custom class name for the container of this component.
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Allow to remove `input` content with clear icon.
|
|
9
|
+
*/
|
|
10
|
+
clearable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The default value. Use when the component is not controlled.
|
|
13
|
+
*/
|
|
14
|
+
defaultValue?: string;
|
|
15
|
+
/**
|
|
16
|
+
* If `true`, the field is disabled.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* If `true`, the ``field` will indicate an error and set the `aria-invalid` attribute for `input`.
|
|
21
|
+
*/
|
|
22
|
+
error?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* If `true`, the field will take up the full width of its container.
|
|
25
|
+
*/
|
|
26
|
+
fullWidth?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The helper text content.
|
|
29
|
+
*/
|
|
30
|
+
helperText?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* The `id` of the `input` element.
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Attributes applied to the `input` element, check the link below for more details.
|
|
37
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes
|
|
38
|
+
*/
|
|
39
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
40
|
+
/**
|
|
41
|
+
* The label content.
|
|
42
|
+
*/
|
|
43
|
+
label?: ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Icon or any element displayed at the end of the `input`.
|
|
46
|
+
*/
|
|
47
|
+
leftElement?: React.ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* The `name` attribute of the `input` element.
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired when the `input` is blurred.
|
|
54
|
+
*/
|
|
55
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
56
|
+
/**
|
|
57
|
+
* Callback fired when the value is changed.
|
|
58
|
+
*/
|
|
59
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
60
|
+
/**
|
|
61
|
+
* Callback fired when the `input` is focused.
|
|
62
|
+
*/
|
|
63
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
64
|
+
/**
|
|
65
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
66
|
+
*/
|
|
67
|
+
placeholder?: string;
|
|
68
|
+
/**
|
|
69
|
+
* If `true`, the `input` element will be read-only.
|
|
70
|
+
*/
|
|
71
|
+
readOnly?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* If `true`, the `input` element will be required.
|
|
74
|
+
*/
|
|
75
|
+
required?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Icon or any element displayed at the start of the `input`.
|
|
78
|
+
*/
|
|
79
|
+
rightElement?: React.ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* Tooltip to display when the field has label.
|
|
82
|
+
*/
|
|
83
|
+
tooltip?: ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* The `value` of the `input` element, required for a controlled component.
|
|
86
|
+
*/
|
|
87
|
+
value?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The input field includes a label, a helper text and an input field where users can type one line of text.
|
|
91
|
+
* The input field component typically appears in forms and dialogs.
|
|
92
|
+
*
|
|
93
|
+
* ## Usage
|
|
94
|
+
*
|
|
95
|
+
* ### Basic
|
|
96
|
+
* ```jsx
|
|
97
|
+
* import { BrInputField } from '@bloomreach/react-banana-ui';
|
|
98
|
+
*
|
|
99
|
+
* export default function MyComponent() {
|
|
100
|
+
* return <BrInputField placeholder="Placeholder..." />;
|
|
101
|
+
* }
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* ### With label and helper text
|
|
105
|
+
* ```jsx
|
|
106
|
+
* import { BrInputField } from '@bloomreach/react-banana-ui';
|
|
107
|
+
*
|
|
108
|
+
* export default function MyComponent() {
|
|
109
|
+
* return (
|
|
110
|
+
* <BrInputField
|
|
111
|
+
* label="Field with a label"
|
|
112
|
+
* helperText="This is helper text"
|
|
113
|
+
* />
|
|
114
|
+
* );
|
|
115
|
+
* }
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
declare const BrInputField: import("react").ForwardRefExoticComponent<BrInputFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
119
|
+
export default BrInputField;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { type Story } from './input-field.stories';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const DifferentStates: Story;
|
|
6
|
+
export declare const FieldsInRow: Story;
|
|
7
|
+
export declare const WithTooltip: Story;
|
|
8
|
+
export declare const CompleteField: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const ReadOnly: Story;
|
|
11
|
+
export declare const CompleteFieldFullWidth: Story;
|
|
12
|
+
export declare const Controlled: Story;
|
|
13
|
+
export declare const SetError: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import BrInputField from './input-field';
|
|
3
|
+
declare const meta: Meta<typeof BrInputField>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export type Story = StoryObj<typeof BrInputField>;
|
|
6
|
+
export declare const Basic: Story;
|
|
7
|
+
export declare const WithLabel: Story;
|
|
8
|
+
export declare const WithTooltip: Story;
|
|
9
|
+
export declare const WithHelperText: Story;
|
|
10
|
+
export declare const WithIconElements: Story;
|
|
11
|
+
export declare const WithButtonsElements: Story;
|
|
12
|
+
export declare const Clearable: Story;
|
|
13
|
+
export declare const CompleteField: Story;
|
|
14
|
+
export declare const Disabled: Story;
|
|
15
|
+
export declare const ReadOnly: Story;
|
|
16
|
+
export declare const Error: Story;
|
|
17
|
+
export declare const FullWidth: Story;
|
|
18
|
+
export declare const CompleteFieldFullWidth: Story;
|
|
19
|
+
export declare const Controlled: Story;
|
|
20
|
+
export declare const SetFocus: Story;
|
|
21
|
+
export declare const SetError: Story;
|
|
22
|
+
export declare const FieldsInColumn: Story;
|
|
23
|
+
export declare const FieldsInRow: Story;
|