@luscii-healthtech/web-ui 0.0.0-alpha.00bf0f6
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 +181 -0
- package/dist/.storybook/constants.d.ts +18 -0
- package/dist/.storybook/decorators.d.ts +31 -0
- package/dist/index.development.js +6041 -0
- package/dist/index.development.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/src/components/Accordion/Accordion.d.ts +15 -0
- package/dist/src/components/Accordion/AccordionItem.d.ts +17 -0
- package/dist/src/components/AccordionList/AccordionList.d.ts +51 -0
- package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +18 -0
- package/dist/src/components/Alerts/AlertWidget.d.ts +20 -0
- package/dist/src/components/AsideLayout/AsideLayout.d.ts +7 -0
- package/dist/src/components/Avatar/Avatar.d.ts +53 -0
- package/dist/src/components/Avatar/AvatarGroup.d.ts +31 -0
- package/dist/src/components/Badge/Badge.d.ts +11 -0
- package/dist/src/components/BaseList/BaseList.d.ts +7 -0
- package/dist/src/components/BaseList/BaseList.types.d.ts +84 -0
- package/dist/src/components/BaseList/BaseListEmptyState.d.ts +7 -0
- package/dist/src/components/BaseList/BaseListHeader.d.ts +4 -0
- package/dist/src/components/BaseList/BaseListIcon.d.ts +5 -0
- package/dist/src/components/BaseList/BaseListItem.d.ts +4 -0
- package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +4 -0
- package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +3 -0
- package/dist/src/components/BaseList/DraggableBaseList/index.d.ts +2 -0
- package/dist/src/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +1 -0
- package/dist/src/components/BaseList/ListSkeleton/ListSkeleton.d.ts +7 -0
- package/dist/src/components/BaseList/SortableBaseList/SortableBaseList.d.ts +4 -0
- package/dist/src/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +3 -0
- package/dist/src/components/BaseList/SortableBaseList/index.d.ts +2 -0
- package/dist/src/components/BaseList/index.d.ts +6 -0
- package/dist/src/components/BaseList/utils.d.ts +10 -0
- package/dist/src/components/Box/Box.d.ts +39 -0
- package/dist/src/components/Breadcrumbs/BreadcrumbItem.d.ts +4 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.types.d.ts +25 -0
- package/dist/src/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/components/ButtonV2/ButtonProps.type.d.ts +104 -0
- package/dist/src/components/ButtonV2/ButtonV2.d.ts +3 -0
- package/dist/src/components/ButtonV2/PrimaryButton.d.ts +3 -0
- package/dist/src/components/ButtonV2/PrimaryIconButton.d.ts +3 -0
- package/dist/src/components/ButtonV2/SecondaryButton.d.ts +3 -0
- package/dist/src/components/ButtonV2/SecondaryIconButton.d.ts +3 -0
- package/dist/src/components/ButtonV2/TertiaryButton.d.ts +3 -0
- package/dist/src/components/ButtonV2/TertiaryIconButton.d.ts +15 -0
- package/dist/src/components/Card/Actions.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +67 -0
- package/dist/src/components/Card/Padding.d.ts +6 -0
- package/dist/src/components/Card/Section.d.ts +6 -0
- package/dist/src/components/Card/TopBar.d.ts +10 -0
- package/dist/src/components/Carousel/Carousel.d.ts +30 -0
- package/dist/src/components/CenteredHero/CenteredHero.d.ts +16 -0
- package/dist/src/components/ChatBubble/ChatBubble.d.ts +54 -0
- package/dist/src/components/CheckBoxListModal/CheckboxListModal.d.ts +35 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +68 -0
- package/dist/src/components/CheckboxList/CheckboxGroup.d.ts +7 -0
- package/dist/src/components/CheckboxList/CheckboxList.d.ts +10 -0
- package/dist/src/components/CheckboxList/CheckboxList.types.d.ts +74 -0
- package/dist/src/components/Chip/Chip.d.ts +9 -0
- package/dist/src/components/Collapse/Collapse.d.ts +25 -0
- package/dist/src/components/ConfirmationDialog/ConfirmationDialog.d.ts +3 -0
- package/dist/src/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +7 -0
- package/dist/src/components/ConfirmationDialog/ConfirmationDialogMessage.d.ts +4 -0
- package/dist/src/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +3 -0
- package/dist/src/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +52 -0
- package/dist/src/components/Container/FlexColumn.d.ts +7 -0
- package/dist/src/components/Container/FlexContainer.d.ts +9 -0
- package/dist/src/components/Container/FlexRow.d.ts +7 -0
- package/dist/src/components/Container/types/FlexContainerProps.type.d.ts +26 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +72 -0
- package/dist/src/components/DatePicker/LabeledDatePicker.d.ts +9 -0
- package/dist/src/components/DetailsDisclosure/DetailsDisclosure.d.ts +81 -0
- package/dist/src/components/Divider/Divider.d.ts +36 -0
- package/dist/src/components/DragHandle/DragHandle.d.ts +6 -0
- package/dist/src/components/DragHandle/DragHandle.types.d.ts +5 -0
- package/dist/src/components/DragHandle/index.d.ts +2 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +61 -0
- package/dist/src/components/Dropzone/Dropzone.d.ts +6 -0
- package/dist/src/components/Dropzone/Dropzone.types.d.ts +33 -0
- package/dist/src/components/Dropzone/index.d.ts +2 -0
- package/dist/src/components/EmptyListMessage/EmptyListMessage.d.ts +13 -0
- package/dist/src/components/FilePreviewModal/FilePreview.d.ts +25 -0
- package/dist/src/components/FileUpload/FileUpload.d.ts +32 -0
- package/dist/src/components/FilterBar/ActiveFilters.d.ts +9 -0
- package/dist/src/components/FilterBar/FilterBar.d.ts +111 -0
- package/dist/src/components/FilterBar/FilterBar.utils.d.ts +32 -0
- package/dist/src/components/FilterBar/FilterBarProps.type.d.ts +135 -0
- package/dist/src/components/FilterBar/FilterMenu.d.ts +10 -0
- package/dist/src/components/FilterBar/FiltersMenus.d.ts +11 -0
- package/dist/src/components/FilterBar/PresetFiltersMenu.d.ts +9 -0
- package/dist/src/components/FilterBar/SortMenu.d.ts +9 -0
- package/dist/src/components/FilterBar/index.d.ts +2 -0
- package/dist/src/components/FlyOutMenu/FlyOutMenu.d.ts +59 -0
- package/dist/src/components/HoverCard/HoverCard.d.ts +40 -0
- package/dist/src/components/HoverCard/index.d.ts +1 -0
- package/dist/src/components/HoverIndicatorControl/HoverIndicatorControl.d.ts +24 -0
- package/dist/src/components/Icon/Icon.d.ts +17 -0
- package/dist/src/components/Icon/index.d.ts +1 -0
- package/dist/src/components/Icons/AbsentIcon.d.ts +3 -0
- package/dist/src/components/Icons/AddNoteIcon.d.ts +3 -0
- package/dist/src/components/Icons/AlarmClockIcon.d.ts +3 -0
- package/dist/src/components/Icons/AmberAlertIcon.d.ts +3 -0
- package/dist/src/components/Icons/ArrowForward.d.ts +3 -0
- package/dist/src/components/Icons/AssignIcon.d.ts +3 -0
- package/dist/src/components/Icons/AssignedIcon.d.ts +3 -0
- package/dist/src/components/Icons/BellIcon.d.ts +3 -0
- package/dist/src/components/Icons/BellIconSlashed.d.ts +3 -0
- package/dist/src/components/Icons/BluetoothIcon.d.ts +3 -0
- package/dist/src/components/Icons/BrushIcon.d.ts +3 -0
- package/dist/src/components/Icons/CakeIcon.d.ts +3 -0
- package/dist/src/components/Icons/CalendarDayIcon.d.ts +3 -0
- package/dist/src/components/Icons/CalendarMonthIcon.d.ts +3 -0
- package/dist/src/components/Icons/CalendarRepeatIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChartBarsIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChartLineAndBarsIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChartLineIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChatBubbleIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChatBubbleWithTextIcon.d.ts +3 -0
- package/dist/src/components/Icons/CheckIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChevronDoubleIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/src/components/Icons/ChevronRightIcon.d.ts +3 -0
- package/dist/src/components/Icons/ClockIcon.d.ts +3 -0
- package/dist/src/components/Icons/CogwheelIcon.d.ts +3 -0
- package/dist/src/components/Icons/CompareIcon.d.ts +3 -0
- package/dist/src/components/Icons/CopyToClipboardIcon.d.ts +3 -0
- package/dist/src/components/Icons/CrossIcon.d.ts +3 -0
- package/dist/src/components/Icons/CrossInCircleIcon.d.ts +3 -0
- package/dist/src/components/Icons/CrossInFilledCircleIcon.d.ts +3 -0
- package/dist/src/components/Icons/DatabaseIcon.d.ts +3 -0
- package/dist/src/components/Icons/DownloadIcon.d.ts +3 -0
- package/dist/src/components/Icons/DragIndicatorIcon.d.ts +3 -0
- package/dist/src/components/Icons/EarthIcon.d.ts +3 -0
- package/dist/src/components/Icons/EmailIcon.d.ts +3 -0
- package/dist/src/components/Icons/EmptyIcon.d.ts +3 -0
- package/dist/src/components/Icons/ExclamationMarkIcon.d.ts +3 -0
- package/dist/src/components/Icons/ExportIcon.d.ts +3 -0
- package/dist/src/components/Icons/ExternalLinkIcon.d.ts +3 -0
- package/dist/src/components/Icons/EyeClosedIcon.d.ts +3 -0
- package/dist/src/components/Icons/EyeOpenIcon.d.ts +3 -0
- package/dist/src/components/Icons/FilterIcon.d.ts +3 -0
- package/dist/src/components/Icons/FireIcon.d.ts +3 -0
- package/dist/src/components/Icons/FirstAidKitIcon.d.ts +3 -0
- package/dist/src/components/Icons/FlagIcon.d.ts +3 -0
- package/dist/src/components/Icons/FolderIcon.d.ts +3 -0
- package/dist/src/components/Icons/ForwardIcon.d.ts +3 -0
- package/dist/src/components/Icons/GrayAlertIcon.d.ts +3 -0
- package/dist/src/components/Icons/GroupIcon.d.ts +3 -0
- package/dist/src/components/Icons/GroupOfThreeIcon.d.ts +3 -0
- package/dist/src/components/Icons/HamburgerIcon.d.ts +3 -0
- package/dist/src/components/Icons/HandUp.d.ts +3 -0
- package/dist/src/components/Icons/HandshakeIcon.d.ts +3 -0
- package/dist/src/components/Icons/HeartIcon.d.ts +3 -0
- package/dist/src/components/Icons/HeartMinusIcon.d.ts +3 -0
- package/dist/src/components/Icons/HomeIcon.d.ts +3 -0
- package/dist/src/components/Icons/IdBadgeIcon.d.ts +3 -0
- package/dist/src/components/Icons/ImageIcon.d.ts +3 -0
- package/dist/src/components/Icons/ImageLibraryIcon.d.ts +3 -0
- package/dist/src/components/Icons/InfoIcon.d.ts +3 -0
- package/dist/src/components/Icons/LifebuoyIcon.d.ts +3 -0
- package/dist/src/components/Icons/LightBulbIcon.d.ts +3 -0
- package/dist/src/components/Icons/LinkIcon.d.ts +3 -0
- package/dist/src/components/Icons/ListDescIcon.d.ts +3 -0
- package/dist/src/components/Icons/ListIcon.d.ts +3 -0
- package/dist/src/components/Icons/LockIcon.d.ts +3 -0
- package/dist/src/components/Icons/LogInIcon.d.ts +3 -0
- package/dist/src/components/Icons/LogOutIcon.d.ts +3 -0
- package/dist/src/components/Icons/MessageWithArrowIcon.d.ts +3 -0
- package/dist/src/components/Icons/MoreIcon.d.ts +3 -0
- package/dist/src/components/Icons/MouseIcon.d.ts +3 -0
- package/dist/src/components/Icons/NoteIcon.d.ts +3 -0
- package/dist/src/components/Icons/OpenFolderIcon.d.ts +3 -0
- package/dist/src/components/Icons/PageIcon.d.ts +3 -0
- package/dist/src/components/Icons/PageViewIcon.d.ts +3 -0
- package/dist/src/components/Icons/PaperclipIcon.d.ts +3 -0
- package/dist/src/components/Icons/PatientIcon.d.ts +3 -0
- package/dist/src/components/Icons/PencilIcon.d.ts +3 -0
- package/dist/src/components/Icons/PersonIcon.d.ts +3 -0
- package/dist/src/components/Icons/PhoneIcon.d.ts +3 -0
- package/dist/src/components/Icons/PieChartIcon.d.ts +3 -0
- package/dist/src/components/Icons/PinIcon.d.ts +3 -0
- package/dist/src/components/Icons/PlusIcon.d.ts +3 -0
- package/dist/src/components/Icons/PrinterIcon.d.ts +3 -0
- package/dist/src/components/Icons/RedAlertIcon.d.ts +3 -0
- package/dist/src/components/Icons/RobotIcon.d.ts +3 -0
- package/dist/src/components/Icons/RocketIcon.d.ts +3 -0
- package/dist/src/components/Icons/SearchIcon.d.ts +3 -0
- package/dist/src/components/Icons/SendIcon.d.ts +3 -0
- package/dist/src/components/Icons/ShareIcon.d.ts +3 -0
- package/dist/src/components/Icons/SidebarIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallArrowDownIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallArrowUpIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallCircleIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallDiamondIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallSquareIcon.d.ts +3 -0
- package/dist/src/components/Icons/SmallUpsideDownTriangleIcon.d.ts +3 -0
- package/dist/src/components/Icons/StarFilledIcon.d.ts +3 -0
- package/dist/src/components/Icons/StarIcon.d.ts +3 -0
- package/dist/src/components/Icons/StopwatchIcon.d.ts +3 -0
- package/dist/src/components/Icons/SummaryIcon.d.ts +3 -0
- package/dist/src/components/Icons/TadaIcon.d.ts +3 -0
- package/dist/src/components/Icons/ThresholdIcon.d.ts +3 -0
- package/dist/src/components/Icons/TrashBinIcon.d.ts +3 -0
- package/dist/src/components/Icons/TreeIcon.d.ts +3 -0
- package/dist/src/components/Icons/UnassignedIcon.d.ts +3 -0
- package/dist/src/components/Icons/UnpinIcon.d.ts +3 -0
- package/dist/src/components/Icons/UploadIcon.d.ts +3 -0
- package/dist/src/components/Icons/VideoIcon.d.ts +3 -0
- package/dist/src/components/Icons/iconWrapper/iconWrapper.d.ts +4 -0
- package/dist/src/components/Icons/iconWrapper/index.d.ts +1 -0
- package/dist/src/components/Icons/index.d.ts +288 -0
- package/dist/src/components/Icons/special-icons/AmberAlertColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/ChartLineColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/CheckFilledColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/FlagDeColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/FlagFrColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/FlagNlColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/FlagPtColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/FlagUkColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/GearColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/GrayAlertColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/GreenAlertColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/GroupColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/RedAlertColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusActiveColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusAddedColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusBlockedColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusCancelledColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/StatusStoppedColoredIcon.d.ts +3 -0
- package/dist/src/components/Icons/special-icons/index.d.ts +19 -0
- package/dist/src/components/Icons/types/IconProps.type.d.ts +18 -0
- package/dist/src/components/Image/Image.d.ts +17 -0
- package/dist/src/components/InfoField/InfoField.d.ts +28 -0
- package/dist/src/components/Input/Input.d.ts +53 -0
- package/dist/src/components/Input/LabeledInput.d.ts +23 -0
- package/dist/src/components/Input/SearchInput.d.ts +24 -0
- package/dist/src/components/Input/StyledInput.d.ts +12 -0
- package/dist/src/components/Line/Line.d.ts +14 -0
- package/dist/src/components/Link/Link.d.ts +19 -0
- package/dist/src/components/List/List.d.ts +6 -0
- package/dist/src/components/List/List.types.d.ts +30 -0
- package/dist/src/components/List/ListItem.d.ts +4 -0
- package/dist/src/components/List/index.d.ts +5 -0
- package/dist/src/components/LoadingIndicator/LoadingIndicator.d.ts +11 -0
- package/dist/src/components/MediaPicker/ImageCategory.d.ts +14 -0
- package/dist/src/components/MediaPicker/MediaPicker.d.ts +91 -0
- package/dist/src/components/Modal/FullPageModal.d.ts +41 -0
- package/dist/src/components/Modal/FullPageModalHeader.d.ts +13 -0
- package/dist/src/components/Modal/Modal.d.ts +11 -0
- package/dist/src/components/Modal/ModalBase.d.ts +16 -0
- package/dist/src/components/Modal/ModalFooter.d.ts +27 -0
- package/dist/src/components/Modal/ModalHeader.d.ts +6 -0
- package/dist/src/components/Modal/subcomponents/FullPageModalActions.d.ts +18 -0
- package/dist/src/components/ModalDialog/ModalDialog.d.ts +97 -0
- package/dist/src/components/NavMenu/NavLayout.d.ts +35 -0
- package/dist/src/components/NotificationBanner/NotificationBanner.d.ts +35 -0
- package/dist/src/components/Page/CRUDPage.d.ts +4 -0
- package/dist/src/components/Page/CRUDPage.types.d.ts +62 -0
- package/dist/src/components/Page/Page.d.ts +56 -0
- package/dist/src/components/Page/index.d.ts +3 -0
- package/dist/src/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/src/components/PageHeader/PageHeader.types.d.ts +46 -0
- package/dist/src/components/PageHeader/index.d.ts +2 -0
- package/dist/src/components/PaginationMenu/PaginationMenu.d.ts +2 -0
- package/dist/src/components/PaginationMenu/PaginationMenu.types.d.ts +62 -0
- package/dist/src/components/PaginationMenu/PaginationMenu.utils.d.ts +15 -0
- package/dist/src/components/PaginationMenu/PaginationMenuCursor.d.ts +3 -0
- package/dist/src/components/PaginationMenu/PaginationMenuLarge.d.ts +3 -0
- package/dist/src/components/PaginationMenu/PaginationMenuSmall.d.ts +2 -0
- package/dist/src/components/PreviewPhone/PreviewPhone.d.ts +7 -0
- package/dist/src/components/PreviewPhone/useWindowDimensions.d.ts +4 -0
- package/dist/src/components/Radio/LabeledRadio.d.ts +67 -0
- package/dist/src/components/Radio/LabeledRadioGroup.d.ts +23 -0
- package/dist/src/components/Radio/Radio.d.ts +25 -0
- package/dist/src/components/Radio/RadioV2.d.ts +16 -0
- package/dist/src/components/Radio/StyledRadio.d.ts +5 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +33 -0
- package/dist/src/components/RadioGroup/RadioGroupV2.d.ts +10 -0
- package/dist/src/components/Section/Section.d.ts +29 -0
- package/dist/src/components/Section/SectionItem.d.ts +9 -0
- package/dist/src/components/Section/SectionItemWithContent.d.ts +8 -0
- package/dist/src/components/Section/subcomponents/SectionActions.d.ts +21 -0
- package/dist/src/components/Section/subcomponents/SectionFooter.d.ts +6 -0
- package/dist/src/components/Section/subcomponents/SectionHeader.d.ts +8 -0
- package/dist/src/components/Select/LabeledSelect.d.ts +21 -0
- package/dist/src/components/Select/Select.d.ts +49 -0
- package/dist/src/components/Select/Select.types.d.ts +4 -0
- package/dist/src/components/Select/SelectDropdownIndicator.d.ts +3 -0
- package/dist/src/components/Select/SelectLoadingIndicator.d.ts +3 -0
- package/dist/src/components/Select/StyledSelect.d.ts +10 -0
- package/dist/src/components/SettingsMenuButton/SettingsMenuButton.d.ts +19 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +9 -0
- package/dist/src/components/Spinner/Spinner.d.ts +6 -0
- package/dist/src/components/Stack/Stack.d.ts +49 -0
- package/dist/src/components/StatusIndicator/StatusIndicator.d.ts +16 -0
- package/dist/src/components/Steps/Step.d.ts +9 -0
- package/dist/src/components/Steps/Steps.d.ts +9 -0
- package/dist/src/components/StyledLists/StyledBaseList.d.ts +33 -0
- package/dist/src/components/StyledLists/StyledOrderedList.d.ts +25 -0
- package/dist/src/components/StyledLists/StyledUnorderedList.d.ts +43 -0
- package/dist/src/components/Switch/Switch.d.ts +23 -0
- package/dist/src/components/Switcher/Switcher.d.ts +26 -0
- package/dist/src/components/Switcher/SwitcherItem.d.ts +24 -0
- package/dist/src/components/Tabbar/Tabbar.d.ts +20 -0
- package/dist/src/components/Tabbar/TabbarItem.d.ts +15 -0
- package/dist/src/components/Table/Table.d.ts +52 -0
- package/dist/src/components/Table/Table.types.d.ts +41 -0
- package/dist/src/components/Table/Table.utils.d.ts +58 -0
- package/dist/src/components/Table/TableBody.d.ts +32 -0
- package/dist/src/components/Table/TableBodyRowDataCell.d.ts +7 -0
- package/dist/src/components/Table/TableFooter.d.ts +7 -0
- package/dist/src/components/Table/TableHeader.d.ts +18 -0
- package/dist/src/components/Tag/Tag.d.ts +31 -0
- package/dist/src/components/Tag/TagGroup.d.ts +23 -0
- package/dist/src/components/Text/Text.d.ts +138 -0
- package/dist/src/components/TextEditor/TextEditor.d.ts +69 -0
- package/dist/src/components/TextLink/TextLink.d.ts +13 -0
- package/dist/src/components/Textarea/Textarea.d.ts +29 -0
- package/dist/src/components/Timeline/Timeline.d.ts +13 -0
- package/dist/src/components/Timeline/TimelineHeader.d.ts +10 -0
- package/dist/src/components/Timeline/TimelineStep.d.ts +10 -0
- package/dist/src/components/TimelineCard/LoadingState.d.ts +1 -0
- package/dist/src/components/TimelineCard/TimelineCard.d.ts +52 -0
- package/dist/src/components/TimelineCardLayout/TimelineCardLayout.d.ts +18 -0
- package/dist/src/components/Title/PageTitle.d.ts +6 -0
- package/dist/src/components/Title/Title.d.ts +41 -0
- package/dist/src/components/Toaster/Toaster.d.ts +3 -0
- package/dist/src/components/Toaster/ToasterPanel.d.ts +15 -0
- package/dist/src/components/Toaster/toast.d.ts +12 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +40 -0
- package/dist/src/components/Tooltip/index.d.ts +1 -0
- package/dist/src/components/UnorderedList/UnorderedList.d.ts +63 -0
- package/dist/src/components/VerticalMenu/VerticalMenu.d.ts +128 -0
- package/dist/src/components/WeekdaysPicker/WeekdaysPicker.d.ts +42 -0
- package/dist/src/components/forms/shared/HelperAndErrorText.d.ts +13 -0
- package/dist/src/components/forms/shared/LabelText.d.ts +5 -0
- package/dist/src/context/LocaleContext.d.ts +3 -0
- package/dist/src/index.d.ts +126 -0
- package/dist/src/system/Elevation.d.ts +9 -0
- package/dist/src/system/Locale.d.ts +3 -0
- package/dist/src/system/Sizes.d.ts +43 -0
- package/dist/src/types/general.types.d.ts +11 -0
- package/dist/src/utils/radius.utils.d.ts +37 -0
- package/dist/src/utils/responsiveness.utils.d.ts +30 -0
- package/dist/src/utils/shadow.utils.d.ts +21 -0
- package/dist/src/utils/string.utils.d.ts +7 -0
- package/dist/src/utils/useOutsideClick.d.ts +2 -0
- package/dist/stories/Accordion.stories.d.ts +24 -0
- package/dist/stories/AccordionList.stories.d.ts +109 -0
- package/dist/stories/AlertsWidget.stories.d.ts +14 -0
- package/dist/stories/AsideLayout.stories.d.ts +22 -0
- package/dist/stories/Avatar.stories.d.ts +46 -0
- package/dist/stories/Badge.stories.d.ts +21 -0
- package/dist/stories/BaseList.stories.d.ts +16 -0
- package/dist/stories/Box.stories.d.ts +15 -0
- package/dist/stories/Breadcrumbs.stories.d.ts +10 -0
- package/dist/stories/Button.stories.d.ts +11 -0
- package/dist/stories/CRUDPage.stories.d.ts +15 -0
- package/dist/stories/Card.stories.d.ts +43 -0
- package/dist/stories/Carousel.stories.d.ts +44 -0
- package/dist/stories/CenteredHero.stories.d.ts +14 -0
- package/dist/stories/ChatBubble.stories.d.ts +50 -0
- package/dist/stories/CheckBoxListModal.stories.d.ts +137 -0
- package/dist/stories/Checkbox.stories.d.ts +61 -0
- package/dist/stories/CheckboxList.stories.d.ts +23 -0
- package/dist/stories/Chip.stories.d.ts +15 -0
- package/dist/stories/Collapse.stories.d.ts +25 -0
- package/dist/stories/ConfirmationDialog.stories.d.ts +13 -0
- package/dist/stories/DatePicker.stories.d.ts +56 -0
- package/dist/stories/DetailsDisclosure.stories.d.ts +9506 -0
- package/dist/stories/Divider.stories.d.ts +67 -0
- package/dist/stories/DragHandle.stories.d.ts +23 -0
- package/dist/stories/DraggableAccordionList.stories.d.ts +11 -0
- package/dist/stories/DraggableList.stories.d.ts +10 -0
- package/dist/stories/Dropdown.stories.d.ts +13 -0
- package/dist/stories/Dropzone.stories.d.ts +14 -0
- package/dist/stories/EmptyListMessage.stories.d.ts +21 -0
- package/dist/stories/FilePreview.stories.d.ts +29 -0
- package/dist/stories/FileUpload.stories.d.ts +9 -0
- package/dist/stories/FilterBar.stories.d.ts +34 -0
- package/dist/stories/FlexContainer.stories.d.ts +13 -0
- package/dist/stories/FlyOutMenu.stories.d.ts +15 -0
- package/dist/stories/FullPageModal.stories.d.ts +42 -0
- package/dist/stories/HoverCard.stories.d.ts +8 -0
- package/dist/stories/HoverIndicatorControl.stories.d.ts +31 -0
- package/dist/stories/Icon.stories.d.ts +16 -0
- package/dist/stories/InfoField.stories.d.ts +35 -0
- package/dist/stories/Input.stories.d.ts +26 -0
- package/dist/stories/LabeledDatePicker.stories.d.ts +56 -0
- package/dist/stories/LabeledInput.stories.d.ts +44 -0
- package/dist/stories/LabeledRadio.stories.d.ts +33 -0
- package/dist/stories/Line.stories.d.ts +22 -0
- package/dist/stories/Link.stories.d.ts +20 -0
- package/dist/stories/LinkIcon.stories.d.ts +13 -0
- package/dist/stories/List.stories.d.ts +253 -0
- package/dist/stories/LoadingIndicator.stories.d.ts +26 -0
- package/dist/stories/MediaPicker.stories.d.ts +11 -0
- package/dist/stories/Modal.stories.d.ts +119 -0
- package/dist/stories/ModalDialog.stories.d.ts +17572 -0
- package/dist/stories/NavLayout.stories.d.ts +25 -0
- package/dist/stories/NotificationBanner.stories.d.ts +43 -0
- package/dist/stories/Page.stories.d.ts +36 -0
- package/dist/stories/PageHeader.stories.d.ts +23 -0
- package/dist/stories/Pagination.stories.d.ts +18 -0
- package/dist/stories/PreviewPhone.stories.d.ts +17 -0
- package/dist/stories/PrimaryButton.stories.d.ts +18 -0
- package/dist/stories/PrimaryIconButton.stories.d.ts +13 -0
- package/dist/stories/Radio.stories.d.ts +28 -0
- package/dist/stories/RadioGroup.stories.d.ts +30 -0
- package/dist/stories/RadioGroupV2.stories.d.ts +36 -0
- package/dist/stories/RadioV2.stories.d.ts +41 -0
- package/dist/stories/SearchInput.stories.d.ts +14 -0
- package/dist/stories/SecondaryButton.stories.d.ts +15 -0
- package/dist/stories/SecondaryIconButton.stories.d.ts +12 -0
- package/dist/stories/Section.stories.d.ts +68 -0
- package/dist/stories/SectionItem.stories.d.ts +16 -0
- package/dist/stories/SectionItemWithContent.stories.d.ts +16 -0
- package/dist/stories/Select.stories.d.ts +181 -0
- package/dist/stories/SettingsMenuButton.stories.d.ts +98 -0
- package/dist/stories/Skeleton.stories.d.ts +19 -0
- package/dist/stories/SortableList.stories.d.ts +9 -0
- package/dist/stories/Spinner.stories.d.ts +17 -0
- package/dist/stories/Stack.stories.d.ts +21 -0
- package/dist/stories/StatusIndicator.stories.d.ts +19 -0
- package/dist/stories/Step.stories.d.ts +25 -0
- package/dist/stories/Steps.stories.d.ts +14 -0
- package/dist/stories/StyledOrderedList.stories.d.ts +281 -0
- package/dist/stories/StyledUnorderedList.stories.d.ts +285 -0
- package/dist/stories/Switch.stories.d.ts +11 -0
- package/dist/stories/Switcher.stories.d.ts +40 -0
- package/dist/stories/Tabbar.stories.d.ts +8 -0
- package/dist/stories/Table.stories.d.ts +3263 -0
- package/dist/stories/Tag.stories.d.ts +18 -0
- package/dist/stories/TertiaryButton.stories.d.ts +14 -0
- package/dist/stories/TertiaryIconButton.stories.d.ts +20 -0
- package/dist/stories/Text.stories.d.ts +45 -0
- package/dist/stories/TextColors.stories.d.ts +30 -0
- package/dist/stories/TextEditor.stories.d.ts +29 -0
- package/dist/stories/TextLink.stories.d.ts +13 -0
- package/dist/stories/Textarea.stories.d.ts +65 -0
- package/dist/stories/Timeline.stories.d.ts +11 -0
- package/dist/stories/TimelineCard.stories.d.ts +39 -0
- package/dist/stories/TimelineCardLayout.stories.d.ts +40 -0
- package/dist/stories/Title.stories.d.ts +19 -0
- package/dist/stories/Toaster.stories.d.ts +12 -0
- package/dist/stories/Tooltip.stories.d.ts +8 -0
- package/dist/stories/UnorderedList.stories.d.ts +40 -0
- package/dist/stories/VerticalMenu.stories.d.ts +105 -0
- package/dist/stories/WeekdaysPicker.stories.d.ts +40 -0
- package/dist/web-ui-tailwind.css +4611 -0
- package/dist/web-ui.esm.js +2 -0
- package/dist/web-ui.esm.js.map +1 -0
- package/package.json +178 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<(Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
dark?: boolean;
|
|
6
|
+
}) | (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
7
|
+
version: "v2";
|
|
8
|
+
color?: "divider" | "border" | "high-contrast" | "low-contrast";
|
|
9
|
+
variant?: "hr";
|
|
10
|
+
}) | (Omit<any, "ref"> & {
|
|
11
|
+
as?: import("react").ElementType | undefined;
|
|
12
|
+
gap?: "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl";
|
|
13
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
14
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
15
|
+
axis?: "x" | "y";
|
|
16
|
+
reverse?: boolean;
|
|
17
|
+
wrap?: boolean;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
divider?: React.ReactNode;
|
|
21
|
+
} & Partial<Record<"p" | "m" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "mt" | "mr" | "mb" | "ml" | "mx" | "my", "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
|
|
22
|
+
as?: import("react").ElementType | undefined;
|
|
23
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
24
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src").SIZES;
|
|
25
|
+
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
26
|
+
borderRadius?: keyof typeof import("../src").SIZES;
|
|
27
|
+
borderRadiusLeft?: keyof typeof import("../src").SIZES;
|
|
28
|
+
borderRadiusRight?: keyof typeof import("../src").SIZES;
|
|
29
|
+
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
30
|
+
cursor?: import("../src/types/general.types").CursorOption;
|
|
31
|
+
} & {
|
|
32
|
+
version: "v2";
|
|
33
|
+
variant: "vertical-flow";
|
|
34
|
+
}) | (Omit<any, "ref"> & {
|
|
35
|
+
as?: import("react").ElementType | undefined;
|
|
36
|
+
gap?: "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl";
|
|
37
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
38
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
39
|
+
axis?: "x" | "y";
|
|
40
|
+
reverse?: boolean;
|
|
41
|
+
wrap?: boolean;
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
className?: string;
|
|
44
|
+
divider?: React.ReactNode;
|
|
45
|
+
} & Partial<Record<"p" | "m" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "mt" | "mr" | "mb" | "ml" | "mx" | "my", "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
|
|
46
|
+
as?: import("react").ElementType | undefined;
|
|
47
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
48
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src").SIZES;
|
|
49
|
+
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
50
|
+
borderRadius?: keyof typeof import("../src").SIZES;
|
|
51
|
+
borderRadiusLeft?: keyof typeof import("../src").SIZES;
|
|
52
|
+
borderRadiusRight?: keyof typeof import("../src").SIZES;
|
|
53
|
+
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
54
|
+
cursor?: import("../src/types/general.types").CursorOption;
|
|
55
|
+
} & {
|
|
56
|
+
version: "v2";
|
|
57
|
+
variant: "horizontal-flow";
|
|
58
|
+
})>;
|
|
59
|
+
};
|
|
60
|
+
export default meta;
|
|
61
|
+
type Story = StoryObj<typeof meta>;
|
|
62
|
+
export declare const Base: Story;
|
|
63
|
+
export declare const Dark: Story;
|
|
64
|
+
export declare const Light: Story;
|
|
65
|
+
export declare const VerticalFlow: Story;
|
|
66
|
+
export declare const HorizontalFlow: Story;
|
|
67
|
+
export declare const SemanticColors: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLButtonElement> & {
|
|
4
|
+
grabbing: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
dataTestId?: string;
|
|
7
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
argTypes: {};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Simple: {
|
|
12
|
+
args: {};
|
|
13
|
+
};
|
|
14
|
+
export declare const Grabbing: {
|
|
15
|
+
args: {
|
|
16
|
+
grabbing: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const Disabled: {
|
|
20
|
+
args: {
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import AccordionList, { type AccordionListProps } from "../src/components/AccordionList/AccordionList";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<AccordionListProps> & {
|
|
6
|
+
Actions: typeof import("../src/components/AccordionList/subcomponents/AccordionListActions").AccordionListActions;
|
|
7
|
+
};
|
|
8
|
+
argTypes: {};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Simple: StoryObj<typeof AccordionList>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { type DraggableListProps } from "../src/components/List";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("../src/components/List").ListProps>;
|
|
6
|
+
argTypes: {};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Simple: StoryObj<DraggableListProps>;
|
|
10
|
+
export declare const WithDropzone: StoryObj<DraggableListProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import Dropdown from "../src/components/Dropdown/Dropdown";
|
|
3
|
+
import { BADGES } from "../.storybook/constants";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Dropdown;
|
|
7
|
+
parameters: {
|
|
8
|
+
badges: BADGES[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Example: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { Dropzone, DropzonePresentation } from "../src/components/Dropzone";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("../src/components/Dropzone").DropzoneProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: StoryObj<typeof Dropzone>;
|
|
9
|
+
export declare const Highlighted: StoryObj<typeof DropzonePresentation>;
|
|
10
|
+
export declare const WithMessage: StoryObj<typeof DropzonePresentation>;
|
|
11
|
+
export declare const LeftAlignedMessage: StoryObj<typeof DropzonePresentation>;
|
|
12
|
+
export declare const WithIconDeprecated: StoryObj<typeof DropzonePresentation>;
|
|
13
|
+
export declare const WithChildren: StoryObj<typeof Dropzone>;
|
|
14
|
+
export declare const WithDraggable: StoryObj<typeof Dropzone>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: ({ text, imageName, dataTestId, className, }: {
|
|
4
|
+
text: string;
|
|
5
|
+
imageName?: "no-open-alerts" | "search-not-found" | "no-notes-found";
|
|
6
|
+
dataTestId?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Base: {
|
|
12
|
+
args: {
|
|
13
|
+
text: string;
|
|
14
|
+
imageName: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const WithoutImage: {
|
|
18
|
+
args: {
|
|
19
|
+
text: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { FilePreview } from "../src";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
fileUrl: string;
|
|
6
|
+
downloadUrl?: string;
|
|
7
|
+
localization: {
|
|
8
|
+
closeButtonLabel: string;
|
|
9
|
+
downloadButtonLabel: string;
|
|
10
|
+
};
|
|
11
|
+
onClose: import("react").MouseEventHandler<HTMLElement>;
|
|
12
|
+
onDownload?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
13
|
+
}>;
|
|
14
|
+
title: string;
|
|
15
|
+
decorators: import("@storybook/react").Decorator[];
|
|
16
|
+
parameters: {
|
|
17
|
+
chromatic: {
|
|
18
|
+
/**
|
|
19
|
+
* These stories load remote content, so we have to wait a little for them to load to prevent timing issues.
|
|
20
|
+
*/
|
|
21
|
+
delay: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
type Story = StoryObj<typeof FilePreview>;
|
|
27
|
+
export declare const ImageLandscape: Story;
|
|
28
|
+
export declare const ImagePortrait: Story;
|
|
29
|
+
export declare const PDF: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { FileUpload } from "../src/components/FileUpload/FileUpload";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("../src/components/FileUpload/FileUpload").FileUploadProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
type FileStory = StoryObj<typeof FileUpload>;
|
|
9
|
+
export declare const Primary: FileStory;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { FilterBar } from "../src/components/FilterBar";
|
|
3
|
+
import { type TransformedSortingOptions } from "../src/components/FilterBar/FilterBarProps.type";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: <SortableEntity extends object>({ localization, categorizedFilters, sortingOptions, presetFilterOptions, hideActiveFiltersWhenEmpty, menuOrder, ...props }: {
|
|
7
|
+
categorizedFilters: import("../src/components/FilterBar/FilterBarProps.type").CategorizedFilters;
|
|
8
|
+
hideActiveFiltersWhenEmpty?: boolean;
|
|
9
|
+
onFilterChange: (updatedFilters: import("../src/components/FilterBar/FilterBarProps.type").CategorizedFilters) => void;
|
|
10
|
+
sortingOptions: TransformedSortingOptions<SortableEntity>;
|
|
11
|
+
onSortingChange?: ((updatedSortingOptions: TransformedSortingOptions<SortableEntity>) => void) | undefined;
|
|
12
|
+
presetFilterOptions?: import("../src/components/FilterBar/FilterBarProps.type").TransformedPresetFilterOptions<SortableEntity> | undefined;
|
|
13
|
+
onPresetFilterChange?: ((updatedPresetFilterOptions: import("../src/components/FilterBar/FilterBarProps.type").TransformedPresetFilterOptions<SortableEntity>) => void) | undefined;
|
|
14
|
+
localization: import("../src/components/FilterBar/FilterBarProps.type").FilterBarLocalization;
|
|
15
|
+
menuOrder?: ["presetFilters", "divider", "sorting"] | ["sorting", "divider", "presetFilters"];
|
|
16
|
+
} & import("../src/components/FilterBar/FilterBarProps.type").HasSingleSelection) => import("react").ReactElement | null;
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof FilterBar<TShirtFromApi>>;
|
|
20
|
+
interface TShirtFromApi {
|
|
21
|
+
uuid: string;
|
|
22
|
+
brand: string;
|
|
23
|
+
size: "S" | "M" | "L";
|
|
24
|
+
color: "blue" | "yellow" | "green" | "beige" | "red";
|
|
25
|
+
type: "tee" | "button" | "new";
|
|
26
|
+
popularity: number;
|
|
27
|
+
rating: number;
|
|
28
|
+
dateAdded: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const Base: Story;
|
|
31
|
+
export declare const SingleSelection: Story;
|
|
32
|
+
export declare const PresetFilters: Story;
|
|
33
|
+
export declare const MenuOrder: Story;
|
|
34
|
+
export declare const NoActiveFiltersWhenEmpty: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { FlexColumn } from "../src/components/Container/FlexColumn";
|
|
3
|
+
import { type FlexContainerProps } from "../src/components/Container/types/FlexContainerProps.type";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("react").FC<FlexContainerProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const ARedFlexContainerThatDoesNotStretch: StoryObj<typeof FlexColumn>;
|
|
10
|
+
export declare const ARedContainerThatStretches: StoryObj<typeof FlexColumn>;
|
|
11
|
+
export declare const WithTwoElementsSideBySide: StoryObj<FlexContainerProps>;
|
|
12
|
+
export declare const WithElementAlignedToEnd: StoryObj<FlexContainerProps>;
|
|
13
|
+
export declare const MoreElaborateLayout: StoryObj<FlexContainerProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: React.ComponentPropsWithoutRef<React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuProps>>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
backgrounds: {
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Base: Story;
|
|
15
|
+
export declare const InteractionTest: Story;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import("react").FC<import("../src/components/Modal/FullPageModal").FullPageModalProps> & {
|
|
4
|
+
Actions: typeof import("../src/components/Modal/subcomponents/FullPageModalActions").FullPageModalActions;
|
|
5
|
+
setAppElement: any;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
declare function openModalInteraction({ canvasElement }: {
|
|
10
|
+
canvasElement: any;
|
|
11
|
+
}): Promise<void>;
|
|
12
|
+
export declare const FullSizeModalWithTwoColumns: {
|
|
13
|
+
render: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
14
|
+
args: {
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const FullSizeModalWithOneColumn: {
|
|
19
|
+
render: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
20
|
+
args: {
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const DeprecatedWithPrimaryButtonProps: {
|
|
25
|
+
render: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
26
|
+
play: typeof openModalInteraction;
|
|
27
|
+
args: {
|
|
28
|
+
isOpen: boolean;
|
|
29
|
+
primaryButtonProps: {
|
|
30
|
+
onClick: import("@storybook/addon-actions").HandlerFunction;
|
|
31
|
+
text: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const WithActions: {
|
|
36
|
+
render: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
37
|
+
play: typeof openModalInteraction;
|
|
38
|
+
args: {
|
|
39
|
+
isOpen: boolean;
|
|
40
|
+
actions: import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<import("@radix-ui/react-hover-card").HoverCardProps>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Base: Story;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
indicator: import("react").ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
as?: import("react").ElementType;
|
|
8
|
+
children: import("react").ReactNode;
|
|
9
|
+
} & Omit<any, "ref"> & Partial<Record<"p" | "m" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "mt" | "mr" | "mb" | "ml" | "mx" | "my", "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
|
|
10
|
+
as?: import("react").ElementType | undefined;
|
|
11
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
12
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src").SIZES;
|
|
13
|
+
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
14
|
+
borderRadius?: keyof typeof import("../src").SIZES;
|
|
15
|
+
borderRadiusLeft?: keyof typeof import("../src").SIZES;
|
|
16
|
+
borderRadiusRight?: keyof typeof import("../src").SIZES;
|
|
17
|
+
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
18
|
+
cursor?: import("../src/types/general.types").CursorOption;
|
|
19
|
+
}> & {
|
|
20
|
+
Indicator: import("react").FC;
|
|
21
|
+
};
|
|
22
|
+
parameters: {
|
|
23
|
+
backgrounds: {
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof meta>;
|
|
30
|
+
export declare const Base: Story;
|
|
31
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { Icon } from "../src/components/Icon";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<{
|
|
6
|
+
name: import("../src").IconKey;
|
|
7
|
+
} & {
|
|
8
|
+
size?: "s" | "m";
|
|
9
|
+
className?: string;
|
|
10
|
+
"data-test-id"?: string;
|
|
11
|
+
color?: import("../src/components/Text/Text").TextColor;
|
|
12
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref">>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Example: StoryObj<typeof Icon>;
|
|
16
|
+
export declare const IconSizes: StoryObj<typeof Icon>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { BADGES } from "../.storybook/constants";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
linkType: "none" | "link" | "clipboard" | "tel";
|
|
9
|
+
supportsMultiline?: boolean;
|
|
10
|
+
onCopyToClipboard?: (value?: string) => void;
|
|
11
|
+
icon?: JSX.Element;
|
|
12
|
+
className?: string;
|
|
13
|
+
}>;
|
|
14
|
+
args: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
linkType: "clipboard";
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
linkType: {
|
|
21
|
+
control: "radio";
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
parameters: {
|
|
26
|
+
badges: BADGES[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Base: Story;
|
|
32
|
+
export declare const Clipboard: Story;
|
|
33
|
+
export declare const Phone: Story;
|
|
34
|
+
export declare const Link: Story;
|
|
35
|
+
export declare const Icon: Story;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../src/components/Input/Input").InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Base: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const Clearable: Story;
|
|
11
|
+
export declare const Password: Story;
|
|
12
|
+
export declare const Email: Story;
|
|
13
|
+
export declare const NumberInput: Story;
|
|
14
|
+
export declare const WithIcon: Story;
|
|
15
|
+
export declare const WithPrefix: Story;
|
|
16
|
+
export declare const WithPrefixAndIcon: Story;
|
|
17
|
+
export declare const WithSuffix: Story;
|
|
18
|
+
export declare const WithSuffixAndIcon: Story;
|
|
19
|
+
export declare const Small: Story;
|
|
20
|
+
export declare const Medium: Story;
|
|
21
|
+
export declare const Large: Story;
|
|
22
|
+
export declare const XL: Story;
|
|
23
|
+
export declare const Full: Story;
|
|
24
|
+
export declare const Responsive: Story;
|
|
25
|
+
export declare const InStack: Story;
|
|
26
|
+
export declare const InputModes: Story;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { BADGES } from "../.storybook/constants";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<{
|
|
6
|
+
locale?: keyof typeof import("../src/system/Locale").LOCALE_MAP;
|
|
7
|
+
className?: string;
|
|
8
|
+
selected?: Date;
|
|
9
|
+
hasCloseButton?: boolean;
|
|
10
|
+
closeButtonText?: string;
|
|
11
|
+
onChange?: (date: Date | null) => void;
|
|
12
|
+
showMonthDropdown?: boolean;
|
|
13
|
+
showYearDropdown?: boolean;
|
|
14
|
+
minDate?: Date;
|
|
15
|
+
maxDate?: Date;
|
|
16
|
+
isDisabled?: boolean;
|
|
17
|
+
adjustDateOnChange?: boolean;
|
|
18
|
+
formatDateWithTime?: boolean;
|
|
19
|
+
shouldCloseOnSelect?: boolean;
|
|
20
|
+
allowSameDay?: boolean;
|
|
21
|
+
} & {
|
|
22
|
+
includeDates?: Date[];
|
|
23
|
+
openToDate?: Date;
|
|
24
|
+
placeholderText?: string;
|
|
25
|
+
portalId?: string;
|
|
26
|
+
zIndex?: 10 | 20 | 30 | 40 | 50;
|
|
27
|
+
popperZIndex?: 10 | 20 | 30 | 40 | 50;
|
|
28
|
+
} & {
|
|
29
|
+
label?: string;
|
|
30
|
+
helperText?: React.ReactNode;
|
|
31
|
+
errorText?: React.ReactNode;
|
|
32
|
+
}>;
|
|
33
|
+
argTypes: {
|
|
34
|
+
helperText: {
|
|
35
|
+
control: {
|
|
36
|
+
type: "text";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
errorText: {
|
|
40
|
+
control: {
|
|
41
|
+
type: "text";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
parameters: {
|
|
46
|
+
backgrounds: {
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
badges: BADGES[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default meta;
|
|
53
|
+
type Story = StoryObj<typeof meta>;
|
|
54
|
+
export declare const Base: Story;
|
|
55
|
+
export declare const HelperText: Story;
|
|
56
|
+
export declare const ErrorText: Story;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { BADGES } from "../.storybook/constants";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
|
|
6
|
+
suffix?: string;
|
|
7
|
+
prefix?: string;
|
|
8
|
+
icon?: React.FC<import("../src").IconProps> | import("../src").IconKey;
|
|
9
|
+
width?: import("../src/types/general.types").FormFieldSize | [import("../src/types/general.types").FormFieldSize, import("../src/types/general.types").FormFieldSize?, import("../src/types/general.types").FormFieldSize?, import("../src/types/general.types").FormFieldSize?, import("../src/types/general.types").FormFieldSize?];
|
|
10
|
+
isError?: boolean;
|
|
11
|
+
isClearIconVisible?: boolean;
|
|
12
|
+
onClickClearField?: () => void;
|
|
13
|
+
} & import("react").RefAttributes<HTMLInputElement>, "ref">, "width" | "icon"> & {
|
|
14
|
+
label?: string;
|
|
15
|
+
icon?: React.FC<import("../src").IconProps>;
|
|
16
|
+
helperText?: React.ReactNode;
|
|
17
|
+
errorText?: React.ReactNode;
|
|
18
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
19
|
+
argTypes: {
|
|
20
|
+
helperText: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "text";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
errorText: {
|
|
26
|
+
control: {
|
|
27
|
+
type: "text";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
parameters: {
|
|
32
|
+
backgrounds: {
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
badges: BADGES[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default meta;
|
|
39
|
+
type Story = StoryObj<typeof meta>;
|
|
40
|
+
export declare const Base: Story;
|
|
41
|
+
export declare const Disabled: Story;
|
|
42
|
+
export declare const Password: Story;
|
|
43
|
+
export declare const HelperText: Story;
|
|
44
|
+
export declare const ErrorText: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLInputElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
inputClassName?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
id: string;
|
|
12
|
+
label?: React.ReactNode;
|
|
13
|
+
helperText?: React.ReactNode;
|
|
14
|
+
errorText?: React.ReactNode;
|
|
15
|
+
}, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
parameters: {
|
|
17
|
+
backgrounds: {
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
docs: {
|
|
21
|
+
helperText: {
|
|
22
|
+
component: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Base: Story;
|
|
30
|
+
export declare const WithDifferentLabels: Story;
|
|
31
|
+
export declare const Disabled: Story;
|
|
32
|
+
export declare const CheckedAndDisabled: Story;
|
|
33
|
+
export declare const _LabeledRadioGroup: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: {
|
|
4
|
+
({ left, right, className }: {
|
|
5
|
+
left: any;
|
|
6
|
+
right: any;
|
|
7
|
+
className: any;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
propTypes: {
|
|
10
|
+
left: import("prop-types").Requireable<any[]>;
|
|
11
|
+
right: import("prop-types").Requireable<any[]>;
|
|
12
|
+
className: import("prop-types").Requireable<string>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Example: {
|
|
18
|
+
args: {
|
|
19
|
+
left: import("react/jsx-runtime").JSX.Element[];
|
|
20
|
+
right: import("react/jsx-runtime").JSX.Element[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { BADGES } from "../.storybook/constants";
|
|
3
|
+
import { Link } from "../src/components/Link/Link";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Link;
|
|
7
|
+
parameters: {
|
|
8
|
+
badges: BADGES[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Base: Story;
|
|
14
|
+
export declare const AsButton: Story;
|
|
15
|
+
export declare const AsWrapperWithoutText: Story;
|
|
16
|
+
export declare const AsWrapperForTextComponent: Story;
|
|
17
|
+
export declare const LinkInText: Story;
|
|
18
|
+
export declare const LinkInTextStyled: Story;
|
|
19
|
+
export declare const HIDE_UnclearLinkText: Story;
|
|
20
|
+
export declare const HIDE_LinkTextDifferentStyle: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: ({ className, size, color, ...rest }: import("../src").IconProps) => JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
args: {};
|
|
8
|
+
};
|
|
9
|
+
export declare const WithClick: {
|
|
10
|
+
args: {
|
|
11
|
+
onClick: import("@storybook/addon-actions").HandlerFunction;
|
|
12
|
+
};
|
|
13
|
+
};
|