@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,22 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
aside?: import("react").ReactNode;
|
|
6
|
+
} & {
|
|
7
|
+
children?: import("react").ReactNode | undefined;
|
|
8
|
+
} & 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">> & {
|
|
9
|
+
as?: import("react").ElementType | undefined;
|
|
10
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
11
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src").SIZES;
|
|
12
|
+
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
13
|
+
borderRadius?: keyof typeof import("../src").SIZES;
|
|
14
|
+
borderRadiusLeft?: keyof typeof import("../src").SIZES;
|
|
15
|
+
borderRadiusRight?: keyof typeof import("../src").SIZES;
|
|
16
|
+
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
17
|
+
cursor?: import("../src/types/general.types").CursorOption;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<typeof meta>;
|
|
22
|
+
export declare const Base: Story;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
color?: "primary" | "slate";
|
|
6
|
+
src?: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
size?: "small" | "medium" | "large" | "xsmall";
|
|
9
|
+
defaultImage?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
applyGroupOffset?: boolean;
|
|
12
|
+
} & ({
|
|
13
|
+
initials: string;
|
|
14
|
+
children?: never;
|
|
15
|
+
} | {
|
|
16
|
+
children: import("react").ReactNode;
|
|
17
|
+
initials?: never;
|
|
18
|
+
})>;
|
|
19
|
+
argTypes: {
|
|
20
|
+
size: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "radio";
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "radio";
|
|
29
|
+
options: string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
parameters: {
|
|
34
|
+
backgrounds: {
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default meta;
|
|
40
|
+
type Story = StoryObj<typeof meta>;
|
|
41
|
+
export declare const Base: Story;
|
|
42
|
+
export declare const Sizes: Story;
|
|
43
|
+
export declare const Colors: Story;
|
|
44
|
+
export declare const WithIcons: Story;
|
|
45
|
+
export declare const WithImage: Story;
|
|
46
|
+
export declare const InAvatarGroup: Story;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import BadgeDocumentation from "./Badge.docs.mdx";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<{
|
|
6
|
+
badgeCount?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
children: string | number;
|
|
9
|
+
}>;
|
|
10
|
+
parameters: {
|
|
11
|
+
docs: {
|
|
12
|
+
page: typeof BadgeDocumentation;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const OneDigit: Story;
|
|
19
|
+
export declare const TwoDigits: Story;
|
|
20
|
+
export declare const ManyDigits: Story;
|
|
21
|
+
export declare const String: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { type BaseListProps } from "../src/components/BaseList";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T extends import("../src/components/BaseList").BaseListItemProps>(props: BaseListProps<T> & {
|
|
6
|
+
ref?: React.ForwardedRef<HTMLUListElement>;
|
|
7
|
+
}) => ReturnType<(<T_1 extends import("../src/components/BaseList").BaseListItemProps>({ dataTestId, title, subtitle, headerButton, headerAccessory, emptyStateMessage, isLoading, items, headerTransparent, itemComponent, footer, withBorder, }: BaseListProps<T_1>, ref: React.ForwardedRef<HTMLUListElement>) => JSX.Element)>;
|
|
8
|
+
argTypes: {};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const MultipleItems: StoryObj<BaseListProps>;
|
|
12
|
+
export declare const EmptyState: StoryObj<BaseListProps>;
|
|
13
|
+
export declare const EmptyStateWithTitle: StoryObj<BaseListProps>;
|
|
14
|
+
export declare const EmptyStateTransparentHeader: StoryObj<BaseListProps>;
|
|
15
|
+
export declare const LoadingState: StoryObj<BaseListProps>;
|
|
16
|
+
export declare const WithFooter: StoryObj<BaseListProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: <C extends import("react").ElementType = "div">(props: import("../src/components/Box/Box").Props<C>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {};
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Base: Story;
|
|
10
|
+
export declare const Spacing: Story;
|
|
11
|
+
export declare const BackgroundColors: Story;
|
|
12
|
+
export declare const Cursor: Story;
|
|
13
|
+
export declare const HoverBackgroundColors: Story;
|
|
14
|
+
export declare const Elevation: Story;
|
|
15
|
+
export declare const Fractions: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { type BreadcrumbProps } from "../src/components/Breadcrumbs";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<BreadcrumbProps>;
|
|
6
|
+
argTypes: {};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Base: StoryObj<BreadcrumbProps>;
|
|
10
|
+
export declare const Truncated: StoryObj<BreadcrumbProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Omit<import("../src/components/ButtonV2/ButtonProps.type").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
decorators: import("@storybook/react").Decorator;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Overview: Story;
|
|
10
|
+
export declare const SizeCheck: Story;
|
|
11
|
+
export declare const CustomTooltipContainer: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import CRUDPage from "../src/components/Page/CRUDPage";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("../src").CRUDPageProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Base: StoryObj<typeof CRUDPage>;
|
|
9
|
+
export declare const Loading: StoryObj<typeof CRUDPage>;
|
|
10
|
+
export declare const Submitting: StoryObj<typeof CRUDPage>;
|
|
11
|
+
export declare const Stepped: StoryObj<typeof CRUDPage>;
|
|
12
|
+
export declare const Breadcrumbs: StoryObj<typeof CRUDPage>;
|
|
13
|
+
export declare const BreadcrumbsAndComponentAboveForm: StoryObj<typeof CRUDPage>;
|
|
14
|
+
export declare const MinimalisticVariant: StoryObj<typeof CRUDPage>;
|
|
15
|
+
export declare const MinimalisticVariantWithHeroBanner: StoryObj<typeof CRUDPage>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { Card } from "../src/components/Card/Card";
|
|
3
|
+
import CardDocs from "./Card.docs.mdx";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Card;
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
page: typeof CardDocs;
|
|
10
|
+
};
|
|
11
|
+
backgrounds: {
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
borderRadius: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: "select";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
elevation: {
|
|
23
|
+
options: string[];
|
|
24
|
+
control: {
|
|
25
|
+
type: "select";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
elevationOnHover: {
|
|
29
|
+
options: string[];
|
|
30
|
+
control: {
|
|
31
|
+
type: "select";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof meta>;
|
|
38
|
+
export declare const Base: Story;
|
|
39
|
+
export declare const UsingProps: Story;
|
|
40
|
+
export declare const UsingSubcomponents: StoryObj;
|
|
41
|
+
export declare const HoverEffects: Story;
|
|
42
|
+
export declare const HasBorder: Story;
|
|
43
|
+
export declare const HasBorderWithHoverEffect: Story;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import("react").FC<{
|
|
4
|
+
slides?: import("react").ReactNode[];
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
labels?: {
|
|
8
|
+
nextButton?: string;
|
|
9
|
+
previousButton?: string;
|
|
10
|
+
dotButton?: (index: number) => string;
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Base: {
|
|
16
|
+
args: {
|
|
17
|
+
slides: import("react/jsx-runtime").JSX.Element[];
|
|
18
|
+
className: string;
|
|
19
|
+
labels: {
|
|
20
|
+
nextButton: string;
|
|
21
|
+
previousButton: string;
|
|
22
|
+
dotButton: (index: any) => string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const TwoSlides: {
|
|
27
|
+
args: {
|
|
28
|
+
slides: import("react/jsx-runtime").JSX.Element[];
|
|
29
|
+
className: string;
|
|
30
|
+
labels: {
|
|
31
|
+
nextButton: string;
|
|
32
|
+
previousButton: string;
|
|
33
|
+
dotButton: (index: any) => string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
parameters: {
|
|
37
|
+
chromatic: {
|
|
38
|
+
disableSnapshot: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
play: ({ canvasElement }: {
|
|
42
|
+
canvasElement: any;
|
|
43
|
+
}) => Promise<void>;
|
|
44
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<import("../src/components/CenteredHero/CenteredHero").CenteredHeroProps>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Text: Story;
|
|
9
|
+
export declare const TitleText: Story;
|
|
10
|
+
export declare const TitleTextImage: Story;
|
|
11
|
+
export declare const TitleTextLargeImage: Story;
|
|
12
|
+
export declare const TitleButton: Story;
|
|
13
|
+
export declare const TitleImageButton: Story;
|
|
14
|
+
export declare const TitleTextImageButton: Story;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { ChatBubble } from "../src";
|
|
3
|
+
import { BADGES } from "../.storybook/constants";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof ChatBubble;
|
|
7
|
+
parameters: {
|
|
8
|
+
backgrounds: {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
badges: BADGES[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof meta>;
|
|
16
|
+
export declare const Base: Story;
|
|
17
|
+
/**
|
|
18
|
+
* Below is an overview of all the different combinations
|
|
19
|
+
* of props, to show how the layout responds to one or
|
|
20
|
+
* more props being present or missing.
|
|
21
|
+
*/
|
|
22
|
+
export declare const Overview: Story;
|
|
23
|
+
/**
|
|
24
|
+
* This is an example of what a conversation between a doctor
|
|
25
|
+
* and a patient would look like. You are in control of every
|
|
26
|
+
* part of the message, like color, tip position, and all of the
|
|
27
|
+
* times/dates mentioned. This allows you to e.g. not put a
|
|
28
|
+
* message tip on consecutive messages from the same person
|
|
29
|
+
* and hide the sender name.
|
|
30
|
+
*/
|
|
31
|
+
export declare const ExampleConversation: StoryObj;
|
|
32
|
+
/**
|
|
33
|
+
* You can place a tip at any corner of the message.
|
|
34
|
+
*/
|
|
35
|
+
export declare const TipPosition: Story;
|
|
36
|
+
/**
|
|
37
|
+
* There's two different colors to choose from. We don't offer
|
|
38
|
+
* more colors because we want to keep the UI consistent. Since
|
|
39
|
+
* the chat is always between a patient and an HCP (even if the
|
|
40
|
+
* role is filled by multiple people for the same patient), we
|
|
41
|
+
* don't need more than two colors.
|
|
42
|
+
*/
|
|
43
|
+
export declare const Colors: Story;
|
|
44
|
+
/**
|
|
45
|
+
* This story shows that you can either provide a string
|
|
46
|
+
* as the contents of the message, or provide more rich
|
|
47
|
+
* content, like images, links, and other components, as
|
|
48
|
+
* message content.
|
|
49
|
+
*/
|
|
50
|
+
export declare const ChildrenTextVsNodes: Story;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { CheckboxListModal } from "../src/components/CheckBoxListModal/CheckboxListModal";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ texts, accessory, initialItems, isLoadingInitialItems, isOpen, onSave, onCloseClick, filterItem, hasSearch, }: import("../src").CheckboxListModalProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
type Story = StoryObj<typeof CheckboxListModal>;
|
|
9
|
+
export declare const Base: {
|
|
10
|
+
args: {
|
|
11
|
+
texts: {
|
|
12
|
+
title: string;
|
|
13
|
+
confirmLabel: string;
|
|
14
|
+
cancelLabel: string;
|
|
15
|
+
searchPlaceHolder: string;
|
|
16
|
+
emptyState: string;
|
|
17
|
+
};
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
initialItems: ({
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
isChecked: boolean;
|
|
23
|
+
group: string;
|
|
24
|
+
isPinned: boolean;
|
|
25
|
+
isDisabled?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
isChecked: boolean;
|
|
30
|
+
group: string;
|
|
31
|
+
isPinned?: undefined;
|
|
32
|
+
isDisabled?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
id: string;
|
|
35
|
+
label: string;
|
|
36
|
+
isChecked: boolean;
|
|
37
|
+
isDisabled: boolean;
|
|
38
|
+
group: string;
|
|
39
|
+
isPinned?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
id: string;
|
|
42
|
+
label: string;
|
|
43
|
+
isChecked: boolean;
|
|
44
|
+
group?: undefined;
|
|
45
|
+
isPinned?: undefined;
|
|
46
|
+
isDisabled?: undefined;
|
|
47
|
+
})[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const WithSearch: {
|
|
51
|
+
args: {
|
|
52
|
+
texts: {
|
|
53
|
+
title: string;
|
|
54
|
+
confirmLabel: string;
|
|
55
|
+
cancelLabel: string;
|
|
56
|
+
searchPlaceHolder: string;
|
|
57
|
+
emptyState: string;
|
|
58
|
+
};
|
|
59
|
+
isOpen: boolean;
|
|
60
|
+
initialItems: ({
|
|
61
|
+
id: string;
|
|
62
|
+
label: string;
|
|
63
|
+
isChecked: boolean;
|
|
64
|
+
group: string;
|
|
65
|
+
isPinned: boolean;
|
|
66
|
+
isDisabled?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
id: string;
|
|
69
|
+
label: string;
|
|
70
|
+
isChecked: boolean;
|
|
71
|
+
group: string;
|
|
72
|
+
isPinned?: undefined;
|
|
73
|
+
isDisabled?: undefined;
|
|
74
|
+
} | {
|
|
75
|
+
id: string;
|
|
76
|
+
label: string;
|
|
77
|
+
isChecked: boolean;
|
|
78
|
+
isDisabled: boolean;
|
|
79
|
+
group: string;
|
|
80
|
+
isPinned?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
id: string;
|
|
83
|
+
label: string;
|
|
84
|
+
isChecked: boolean;
|
|
85
|
+
group?: undefined;
|
|
86
|
+
isPinned?: undefined;
|
|
87
|
+
isDisabled?: undefined;
|
|
88
|
+
})[];
|
|
89
|
+
hasSearch: boolean;
|
|
90
|
+
filterItem: (item: any, searchQuery: any) => any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export declare const WithLabeledSearch: {
|
|
94
|
+
args: {
|
|
95
|
+
texts: {
|
|
96
|
+
searchInputLabel: string;
|
|
97
|
+
title: string;
|
|
98
|
+
confirmLabel: string;
|
|
99
|
+
cancelLabel: string;
|
|
100
|
+
searchPlaceHolder: string;
|
|
101
|
+
emptyState: string;
|
|
102
|
+
};
|
|
103
|
+
isOpen: boolean;
|
|
104
|
+
initialItems: ({
|
|
105
|
+
id: string;
|
|
106
|
+
label: string;
|
|
107
|
+
isChecked: boolean;
|
|
108
|
+
group: string;
|
|
109
|
+
isPinned: boolean;
|
|
110
|
+
isDisabled?: undefined;
|
|
111
|
+
} | {
|
|
112
|
+
id: string;
|
|
113
|
+
label: string;
|
|
114
|
+
isChecked: boolean;
|
|
115
|
+
group: string;
|
|
116
|
+
isPinned?: undefined;
|
|
117
|
+
isDisabled?: undefined;
|
|
118
|
+
} | {
|
|
119
|
+
id: string;
|
|
120
|
+
label: string;
|
|
121
|
+
isChecked: boolean;
|
|
122
|
+
isDisabled: boolean;
|
|
123
|
+
group: string;
|
|
124
|
+
isPinned?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
id: string;
|
|
127
|
+
label: string;
|
|
128
|
+
isChecked: boolean;
|
|
129
|
+
group?: undefined;
|
|
130
|
+
isPinned?: undefined;
|
|
131
|
+
isDisabled?: undefined;
|
|
132
|
+
})[];
|
|
133
|
+
hasSearch: boolean;
|
|
134
|
+
filterItem: (item: any, searchQuery: any) => any;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
export declare const WithAccessoryComponent: Story;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StoryObj } from "@storybook/react";
|
|
3
|
+
import CheckboxDocumentation from "./Checkbox.docs.mdx";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<import("../src/components/Checkbox/Checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
page: typeof CheckboxDocumentation;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Base: {
|
|
16
|
+
args: {
|
|
17
|
+
text: string;
|
|
18
|
+
isChecked: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare const IsChecked: {
|
|
22
|
+
args: {
|
|
23
|
+
text: string;
|
|
24
|
+
isChecked: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const IsIndeterminate: {
|
|
28
|
+
args: {
|
|
29
|
+
text: string;
|
|
30
|
+
isIndeterminate: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const IsDisabled: {
|
|
34
|
+
args: {
|
|
35
|
+
text: string;
|
|
36
|
+
isDisabled: boolean;
|
|
37
|
+
isChecked: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare const Error: {
|
|
41
|
+
args: {
|
|
42
|
+
text: string;
|
|
43
|
+
error: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const Explanation: {
|
|
47
|
+
args: {
|
|
48
|
+
text: string;
|
|
49
|
+
explanation: string;
|
|
50
|
+
isChecked: boolean;
|
|
51
|
+
};
|
|
52
|
+
render: (args: any) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
};
|
|
54
|
+
export declare const ExplanationDisabled: {
|
|
55
|
+
args: {
|
|
56
|
+
text: string;
|
|
57
|
+
explanation: string;
|
|
58
|
+
isDisabled: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const CustomLabel: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
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<import("../src").CheckboxListProps>;
|
|
6
|
+
parameters: {
|
|
7
|
+
badges: BADGES[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Base: Story;
|
|
13
|
+
export declare const BaseControlled: Story;
|
|
14
|
+
export declare const Disabled: Story;
|
|
15
|
+
export declare const AllDisabled: Story;
|
|
16
|
+
export declare const BigList: Story;
|
|
17
|
+
export declare const GroupNonCollapsible: Story;
|
|
18
|
+
export declare const HIDE_LongListWithGroups: Story;
|
|
19
|
+
export declare const HIDE_LongListWithSimpleOptions: Story;
|
|
20
|
+
export declare const HIDE_MultipleShortLists: Story;
|
|
21
|
+
export declare const HIDE_MultipleShortListsGrouped: Story;
|
|
22
|
+
export declare const HIDE_NoTitle: Story;
|
|
23
|
+
export declare const HIDE_WithTitle: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ accessory, leadingIcon, onClick, text }: {
|
|
5
|
+
accessory?: React.ReactNode;
|
|
6
|
+
leadingIcon?: React.ReactNode;
|
|
7
|
+
onClick: (event?: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
+
text: string | React.ReactNode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Base: Story;
|
|
14
|
+
export declare const WithoutAccessory: Story;
|
|
15
|
+
export declare const WithoutLeadingIcon: Story;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { BADGES } from "../.storybook/constants";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: {
|
|
6
|
+
children: import("react").ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
contentClassName?: string;
|
|
9
|
+
isCollapsed?: boolean;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
moreIndicator?: import("react").ReactNode;
|
|
12
|
+
showMoreIndicator?: boolean;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
parameters: {
|
|
15
|
+
badges: BADGES[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Base: Story;
|
|
21
|
+
export declare const Collapsed: Story;
|
|
22
|
+
export declare const Expanded: Story;
|
|
23
|
+
export declare const InChatBubble: Story;
|
|
24
|
+
export declare const CustomMoreIndicator: Story;
|
|
25
|
+
export declare const HiddenMoreIndicator: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import type { ConfirmationDialogProps } from "../src/components/ConfirmationDialog/types/ConfirmationDialog.types";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<ConfirmationDialogProps>;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Base: Story;
|
|
10
|
+
export declare const WithChildrenSmallSize: Story;
|
|
11
|
+
export declare const WithChildrenMediumSize: Story;
|
|
12
|
+
export declare const ConfirmationDialogWithChoicesExample: StoryObj<ConfirmationDialogProps>;
|
|
13
|
+
export declare const WithoutConfirmButton: StoryObj<ConfirmationDialogProps>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("../src/components/DatePicker/DatePicker").DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
argTypes: {
|
|
6
|
+
adjustDateOnChange: {
|
|
7
|
+
control: {
|
|
8
|
+
type: "boolean";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
control: {
|
|
13
|
+
type: "date";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
parameters: {
|
|
18
|
+
docs: {
|
|
19
|
+
story: {
|
|
20
|
+
autoplay: boolean;
|
|
21
|
+
height: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
26
|
+
locale?: keyof typeof import("../src/system/Locale").LOCALE_MAP | undefined;
|
|
27
|
+
className?: string | undefined;
|
|
28
|
+
selected?: Date | undefined;
|
|
29
|
+
hasCloseButton?: boolean | undefined;
|
|
30
|
+
closeButtonText?: string | undefined;
|
|
31
|
+
onChange?: ((date: Date | null) => void) | undefined;
|
|
32
|
+
showMonthDropdown?: boolean | undefined;
|
|
33
|
+
showYearDropdown?: boolean | undefined;
|
|
34
|
+
minDate?: Date | undefined;
|
|
35
|
+
maxDate?: Date | undefined;
|
|
36
|
+
isDisabled?: boolean | undefined;
|
|
37
|
+
adjustDateOnChange?: boolean | undefined;
|
|
38
|
+
formatDateWithTime?: boolean | undefined;
|
|
39
|
+
shouldCloseOnSelect?: boolean | undefined;
|
|
40
|
+
allowSameDay?: boolean | undefined;
|
|
41
|
+
includeDates?: Date[] | undefined;
|
|
42
|
+
openToDate?: Date | undefined;
|
|
43
|
+
placeholderText?: string | undefined;
|
|
44
|
+
portalId?: string | undefined;
|
|
45
|
+
zIndex?: 10 | 20 | 30 | 40 | 50 | undefined;
|
|
46
|
+
popperZIndex?: 10 | 20 | 30 | 40 | 50 | undefined;
|
|
47
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
48
|
+
};
|
|
49
|
+
export default meta;
|
|
50
|
+
type Story = StoryObj<typeof meta>;
|
|
51
|
+
export declare const Base: Story;
|
|
52
|
+
export declare const PrefillDate: Story;
|
|
53
|
+
export declare const LocalizedToPortuguese: Story;
|
|
54
|
+
export declare const WithCloseButton: Story;
|
|
55
|
+
export declare const InsideModal: Story;
|
|
56
|
+
export declare const WithLimitedDateSelection: Story;
|