@luscii-healthtech/web-ui 0.0.0-alpha.ccdf511 → 0.0.0-alpha.d330180
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 +69 -1
- package/dist/.storybook/constants.d.ts +35 -0
- package/dist/.storybook/decorators.d.ts +31 -0
- package/dist/codemods/v48-tag-props-update.d.ts +2 -0
- package/dist/codemods/v48-tag-props-update.js +163 -0
- package/dist/index.development.js +5119 -3957
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- 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 +54 -0
- package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +18 -0
- package/dist/src/components/ActionController/ActionController.d.ts +38 -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 +88 -0
- package/dist/src/components/BaseList/BaseListEmptyState.d.ts +7 -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/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/utils.d.ts +10 -0
- package/dist/src/components/Box/Box.d.ts +69 -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/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 +78 -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 +58 -0
- package/dist/src/components/CheckBoxListModal/CheckboxListModal.d.ts +35 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +81 -0
- package/dist/src/components/Checkbox/LabeledCheckbox.d.ts +75 -0
- package/dist/src/components/Checkbox/LabeledCheckboxCardGroup.d.ts +26 -0
- package/dist/src/components/Checkbox/LabeledCheckboxGroup.d.ts +23 -0
- package/dist/src/components/Checkbox/StyledCheckbox.d.ts +4 -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 +87 -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/Dropdown/Dropdown.d.ts +61 -0
- package/dist/src/components/Dropzone/Dropzone.d.ts +7 -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 +36 -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/FlyOutMenu/FlyOutMenu.d.ts +64 -0
- package/dist/src/components/Heading/Heading.d.ts +29 -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/Icons/AbsentIcon.d.ts +4 -0
- package/dist/src/components/Icons/AddNoteIcon.d.ts +4 -0
- package/dist/src/components/Icons/AlarmClockIcon.d.ts +4 -0
- package/dist/src/components/Icons/AmberAlertIcon.d.ts +4 -0
- package/dist/src/components/Icons/ArrowBackward.d.ts +4 -0
- package/dist/src/components/Icons/ArrowForward.d.ts +4 -0
- package/dist/src/components/Icons/AssignIcon.d.ts +4 -0
- package/dist/src/components/Icons/AssignedIcon.d.ts +4 -0
- package/dist/src/components/Icons/BellIcon.d.ts +4 -0
- package/dist/src/components/Icons/BellIconSlashed.d.ts +4 -0
- package/dist/src/components/Icons/BluetoothIcon.d.ts +4 -0
- package/dist/src/components/Icons/BrushIcon.d.ts +4 -0
- package/dist/src/components/Icons/CakeIcon.d.ts +4 -0
- package/dist/src/components/Icons/CalendarDayIcon.d.ts +4 -0
- package/dist/src/components/Icons/CalendarMonthIcon.d.ts +4 -0
- package/dist/src/components/Icons/CalendarRepeatIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChartBarsIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChartLineAndBarsIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChartLineIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChatBubbleIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChatBubbleWithTextIcon.d.ts +4 -0
- package/dist/src/components/Icons/CheckIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChevronDoubleIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChevronDownIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChevronLeftIcon.d.ts +4 -0
- package/dist/src/components/Icons/ChevronRightIcon.d.ts +4 -0
- package/dist/src/components/Icons/ClockIcon.d.ts +4 -0
- package/dist/src/components/Icons/CogwheelIcon.d.ts +4 -0
- package/dist/src/components/Icons/CompareIcon.d.ts +4 -0
- package/dist/src/components/Icons/CopyToClipboardIcon.d.ts +4 -0
- package/dist/src/components/Icons/CrossIcon.d.ts +4 -0
- package/dist/src/components/Icons/CrossInCircleIcon.d.ts +4 -0
- package/dist/src/components/Icons/CrossInFilledCircleIcon.d.ts +4 -0
- package/dist/src/components/Icons/DatabaseIcon.d.ts +4 -0
- package/dist/src/components/Icons/DownloadIcon.d.ts +4 -0
- package/dist/src/components/Icons/DragIndicatorIcon.d.ts +4 -0
- package/dist/src/components/Icons/EarthIcon.d.ts +4 -0
- package/dist/src/components/Icons/EmailIcon.d.ts +4 -0
- package/dist/src/components/Icons/EmojiIcon.d.ts +4 -0
- package/dist/src/components/Icons/EmptyIcon.d.ts +4 -0
- package/dist/src/components/Icons/ExclamationMarkIcon.d.ts +4 -0
- package/dist/src/components/Icons/ExportIcon.d.ts +4 -0
- package/dist/src/components/Icons/ExternalLinkIcon.d.ts +4 -0
- package/dist/src/components/Icons/EyeClosedIcon.d.ts +4 -0
- package/dist/src/components/Icons/EyeOpenIcon.d.ts +4 -0
- package/dist/src/components/Icons/FilterIcon.d.ts +4 -0
- package/dist/src/components/Icons/FireIcon.d.ts +4 -0
- package/dist/src/components/Icons/FirstAidKitIcon.d.ts +4 -0
- package/dist/src/components/Icons/FlagIcon.d.ts +4 -0
- package/dist/src/components/Icons/FolderIcon.d.ts +4 -0
- package/dist/src/components/Icons/ForwardIcon.d.ts +4 -0
- package/dist/src/components/Icons/GifIcon.d.ts +4 -0
- package/dist/src/components/Icons/GrayAlertIcon.d.ts +4 -0
- package/dist/src/components/Icons/GroupIcon.d.ts +4 -0
- package/dist/src/components/Icons/GroupOfThreeIcon.d.ts +4 -0
- package/dist/src/components/Icons/HamburgerIcon.d.ts +4 -0
- package/dist/src/components/Icons/HandUp.d.ts +4 -0
- package/dist/src/components/Icons/HandshakeIcon.d.ts +4 -0
- package/dist/src/components/Icons/HeartIcon.d.ts +4 -0
- package/dist/src/components/Icons/HeartMinusIcon.d.ts +4 -0
- package/dist/src/components/Icons/HomeIcon.d.ts +4 -0
- package/dist/src/components/Icons/IdBadgeIcon.d.ts +4 -0
- package/dist/src/components/Icons/ImageIcon.d.ts +4 -0
- package/dist/src/components/Icons/ImageLibraryIcon.d.ts +4 -0
- package/dist/src/components/Icons/InfoIcon.d.ts +4 -0
- package/dist/src/components/Icons/LifebuoyIcon.d.ts +4 -0
- package/dist/src/components/Icons/LightBulbIcon.d.ts +4 -0
- package/dist/src/components/Icons/LinkIcon.d.ts +4 -0
- package/dist/src/components/Icons/ListDescIcon.d.ts +4 -0
- package/dist/src/components/Icons/ListIcon.d.ts +4 -0
- package/dist/src/components/Icons/LockIcon.d.ts +4 -0
- package/dist/src/components/Icons/LogInIcon.d.ts +4 -0
- package/dist/src/components/Icons/LogOutIcon.d.ts +4 -0
- package/dist/src/components/Icons/MessageWithArrowIcon.d.ts +4 -0
- package/dist/src/components/Icons/MoreIcon.d.ts +4 -0
- package/dist/src/components/Icons/MouseIcon.d.ts +4 -0
- package/dist/src/components/Icons/NoteIcon.d.ts +4 -0
- package/dist/src/components/Icons/OpenAlertIcon.d.ts +4 -0
- package/dist/src/components/Icons/OpenFolderIcon.d.ts +4 -0
- package/dist/src/components/Icons/PageIcon.d.ts +4 -0
- package/dist/src/components/Icons/PageViewIcon.d.ts +4 -0
- package/dist/src/components/Icons/PaperclipIcon.d.ts +4 -0
- package/dist/src/components/Icons/PatientIcon.d.ts +4 -0
- package/dist/src/components/Icons/PencilIcon.d.ts +4 -0
- package/dist/src/components/Icons/PersonIcon.d.ts +4 -0
- package/dist/src/components/Icons/PhoneIcon.d.ts +4 -0
- package/dist/src/components/Icons/PieChartIcon.d.ts +4 -0
- package/dist/src/components/Icons/PinIcon.d.ts +4 -0
- package/dist/src/components/Icons/PlusIcon.d.ts +4 -0
- package/dist/src/components/Icons/PrinterIcon.d.ts +4 -0
- package/dist/src/components/Icons/RedAlertIcon.d.ts +4 -0
- package/dist/src/components/Icons/RobotIcon.d.ts +4 -0
- package/dist/src/components/Icons/RocketIcon.d.ts +4 -0
- package/dist/src/components/Icons/SearchIcon.d.ts +4 -0
- package/dist/src/components/Icons/SendIcon.d.ts +4 -0
- package/dist/src/components/Icons/ShareIcon.d.ts +4 -0
- package/dist/src/components/Icons/SidebarIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallArrowDownIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallArrowUpIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallCircleIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallDiamondIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallSquareIcon.d.ts +4 -0
- package/dist/src/components/Icons/SmallUpsideDownTriangleIcon.d.ts +4 -0
- package/dist/src/components/Icons/StarFilledIcon.d.ts +4 -0
- package/dist/src/components/Icons/StarIcon.d.ts +4 -0
- package/dist/src/components/Icons/StopwatchIcon.d.ts +4 -0
- package/dist/src/components/Icons/SummaryIcon.d.ts +4 -0
- package/dist/src/components/Icons/TadaIcon.d.ts +4 -0
- package/dist/src/components/Icons/ThresholdIcon.d.ts +4 -0
- package/dist/src/components/Icons/TrashBinIcon.d.ts +4 -0
- package/dist/src/components/Icons/TreeIcon.d.ts +4 -0
- package/dist/src/components/Icons/UnassignedIcon.d.ts +4 -0
- package/dist/src/components/Icons/UnlinkIcon.d.ts +4 -0
- package/dist/src/components/Icons/UnpinIcon.d.ts +4 -0
- package/dist/src/components/Icons/UploadIcon.d.ts +4 -0
- package/dist/src/components/Icons/VideoIcon.d.ts +4 -0
- package/dist/src/components/Icons/WorkflowIcon.d.ts +4 -0
- package/dist/src/components/Icons/iconWrapper/iconWrapper.d.ts +4 -0
- package/dist/src/components/Icons/index.d.ts +294 -0
- package/dist/src/components/Icons/special-icons/AmberAlertColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/BeterDichtbijColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/ChartLineColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/CheckFilledColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/FlagDeColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/FlagFrColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/FlagNlColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/FlagPtColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/FlagUkColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/GearColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/GrayAlertColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/GreenAlertColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/GroupColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/RedAlertColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusActiveColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusAddedColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusBlockedColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusCancelledColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/StatusStoppedColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/VaultColoredIcon.d.ts +4 -0
- package/dist/src/components/Icons/special-icons/index.d.ts +21 -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 +55 -0
- package/dist/src/components/Input/LabeledInput.d.ts +24 -0
- package/dist/src/components/Input/StyledInput.d.ts +14 -0
- package/dist/src/components/InputSelect/InputSelect.d.ts +37 -0
- package/dist/src/components/InputSelect/InputSelect.utils.d.ts +9 -0
- package/dist/src/components/InputSelect/InputSelectInput.d.ts +11 -0
- package/dist/src/components/InputSelect/InputSelectSelect.d.ts +9 -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 +9 -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/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 +18 -0
- package/dist/src/components/Modal/ModalBase.d.ts +21 -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 +111 -0
- package/dist/src/components/ModalDialog/use-on-close-animation-finished.d.ts +8 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +77 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +8 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormInput.d.ts +11 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormInputSelect.d.ts +21 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormSelect.d.ts +9 -0
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormText.d.ts +8 -0
- package/dist/src/components/NavMenu/NavLayout.d.ts +47 -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 +83 -0
- package/dist/src/components/Page/Page.d.ts +56 -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/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts +28 -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/PrimaryTabBar/PrimaryTabBar.d.ts +48 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarContent.d.ts +5 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarExtras.d.ts +5 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarList.d.ts +5 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarOverflowIndicator.d.ts +7 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarRoot.d.ts +5 -0
- package/dist/src/components/PrimaryTabBar/PrimaryTabBarTrigger.d.ts +7 -0
- package/dist/src/components/Radio/LabeledRadio.d.ts +67 -0
- package/dist/src/components/Radio/LabeledRadioCard.d.ts +69 -0
- package/dist/src/components/Radio/LabeledRadioCardGroup.d.ts +28 -0
- package/dist/src/components/Radio/LabeledRadioGroup.d.ts +23 -0
- package/dist/src/components/Radio/RadioV2.d.ts +23 -0
- package/dist/src/components/Radio/StyledRadio.d.ts +4 -0
- package/dist/src/components/RadioGroup/RadioGroupV2.d.ts +23 -0
- package/dist/src/components/RangeCoverage/RangeCoverage.d.ts +99 -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 +22 -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 +12 -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/SplitViewLayout/SplitViewLayout.d.ts +20 -0
- package/dist/src/components/Stack/Stack.d.ts +55 -0
- package/dist/src/components/StatusIndicator/StatusIndicator.d.ts +16 -0
- package/dist/src/components/Steps/Steps.d.ts +11 -0
- package/dist/src/components/Steps/subcomponents/Step.d.ts +7 -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 +55 -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/TableNew/TableNew.d.ts +71 -0
- package/dist/src/components/TableNew/index.d.ts +1 -0
- package/dist/src/components/Tabs/Tabs.d.ts +50 -0
- package/dist/src/components/Tabs/index.d.ts +1 -0
- package/dist/src/components/Tag/Tag.d.ts +18 -0
- package/dist/src/components/Tag/TagGroup.d.ts +23 -0
- package/dist/src/components/Text/Text.d.ts +199 -0
- package/dist/src/components/TextEditor/LinkTooltip.d.ts +9 -0
- package/dist/src/components/TextEditor/TextEditor.d.ts +64 -0
- package/dist/src/components/TextEditor/TextEditorToolbar.d.ts +13 -0
- package/dist/src/components/TextEditor/TextEditorToolbarButton.d.ts +8 -0
- package/dist/src/components/TextLink/TextLink.d.ts +13 -0
- package/dist/src/components/Textarea/Textarea.d.ts +30 -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 +44 -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/Tooltip/Tooltip.d.ts +42 -0
- package/dist/src/components/Tooltip/index.d.ts +3 -0
- package/dist/src/components/UnorderedList/UnorderedList.d.ts +63 -0
- package/dist/src/components/VerticalMenu/VerticalMenu.d.ts +125 -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/generated/components/Accordion/Accordion.d.ts +15 -0
- package/dist/src/generated/components/Accordion/AccordionItem.d.ts +17 -0
- package/dist/src/generated/components/AccordionList/AccordionList.d.ts +54 -0
- package/dist/src/generated/components/AccordionList/subcomponents/AccordionListActions.d.ts +18 -0
- package/dist/src/generated/components/ActionController/ActionController.d.ts +38 -0
- package/dist/src/generated/components/Alerts/AlertWidget.d.ts +20 -0
- package/dist/src/generated/components/AsideLayout/AsideLayout.d.ts +7 -0
- package/dist/src/generated/components/Avatar/Avatar.d.ts +53 -0
- package/dist/src/generated/components/Avatar/AvatarGroup.d.ts +31 -0
- package/dist/src/generated/components/Badge/Badge.d.ts +11 -0
- package/dist/src/generated/components/BaseList/BaseList.d.ts +7 -0
- package/dist/src/generated/components/BaseList/BaseList.types.d.ts +88 -0
- package/dist/src/generated/components/BaseList/BaseListEmptyState.d.ts +7 -0
- package/dist/src/generated/components/BaseList/BaseListHeader.d.ts +4 -0
- package/dist/src/generated/components/BaseList/BaseListIcon.d.ts +5 -0
- package/dist/src/generated/components/BaseList/BaseListItem.d.ts +4 -0
- package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +4 -0
- package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +3 -0
- package/dist/src/generated/components/BaseList/DraggableBaseList/index.d.ts +2 -0
- package/dist/src/generated/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +1 -0
- package/dist/src/generated/components/BaseList/ListSkeleton/ListSkeleton.d.ts +7 -0
- package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseList.d.ts +4 -0
- package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +3 -0
- package/dist/src/generated/components/BaseList/SortableBaseList/index.d.ts +2 -0
- package/dist/src/generated/components/BaseList/index.d.ts +6 -0
- package/dist/src/generated/components/BaseList/utils.d.ts +10 -0
- package/dist/src/generated/components/Box/Box.d.ts +69 -0
- package/dist/src/generated/components/Breadcrumbs/BreadcrumbItem.d.ts +4 -0
- package/dist/src/generated/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/src/generated/components/Breadcrumbs/Breadcrumbs.types.d.ts +25 -0
- package/dist/src/generated/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/generated/components/ButtonV2/ButtonProps.type.d.ts +104 -0
- package/dist/src/generated/components/ButtonV2/ButtonV2.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/PrimaryButton.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/PrimaryIconButton.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/SecondaryButton.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/SecondaryIconButton.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/TertiaryButton.d.ts +3 -0
- package/dist/src/generated/components/ButtonV2/TertiaryIconButton.d.ts +15 -0
- package/dist/src/generated/components/Card/Actions.d.ts +2 -0
- package/dist/src/generated/components/Card/Card.d.ts +78 -0
- package/dist/src/generated/components/Card/Padding.d.ts +6 -0
- package/dist/src/generated/components/Card/Section.d.ts +6 -0
- package/dist/src/generated/components/Card/TopBar.d.ts +10 -0
- package/dist/src/generated/components/Carousel/Carousel.d.ts +30 -0
- package/dist/src/generated/components/CenteredHero/CenteredHero.d.ts +16 -0
- package/dist/src/generated/components/ChatBubble/ChatBubble.d.ts +58 -0
- package/dist/src/generated/components/CheckBoxListModal/CheckboxListModal.d.ts +35 -0
- package/dist/src/generated/components/Checkbox/Checkbox.d.ts +81 -0
- package/dist/src/generated/components/Checkbox/LabeledCheckbox.d.ts +75 -0
- package/dist/src/generated/components/Checkbox/LabeledCheckboxCardGroup.d.ts +26 -0
- package/dist/src/generated/components/Checkbox/LabeledCheckboxGroup.d.ts +23 -0
- package/dist/src/generated/components/Checkbox/StyledCheckbox.d.ts +4 -0
- package/dist/src/generated/components/CheckboxList/CheckboxGroup.d.ts +7 -0
- package/dist/src/generated/components/CheckboxList/CheckboxList.d.ts +10 -0
- package/dist/src/generated/components/CheckboxList/CheckboxList.types.d.ts +74 -0
- package/dist/src/generated/components/Chip/Chip.d.ts +9 -0
- package/dist/src/generated/components/Collapse/Collapse.d.ts +25 -0
- package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialog.d.ts +3 -0
- package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +7 -0
- package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogMessage.d.ts +4 -0
- package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +3 -0
- package/dist/src/generated/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +52 -0
- package/dist/src/generated/components/Container/FlexColumn.d.ts +7 -0
- package/dist/src/generated/components/Container/FlexContainer.d.ts +9 -0
- package/dist/src/generated/components/Container/FlexRow.d.ts +7 -0
- package/dist/src/generated/components/Container/types/FlexContainerProps.type.d.ts +26 -0
- package/dist/src/generated/components/DatePicker/DatePicker.d.ts +72 -0
- package/dist/src/generated/components/DatePicker/LabeledDatePicker.d.ts +9 -0
- package/dist/src/generated/components/DetailsDisclosure/DetailsDisclosure.d.ts +87 -0
- package/dist/src/generated/components/Divider/Divider.d.ts +36 -0
- package/dist/src/generated/components/DragHandle/DragHandle.d.ts +6 -0
- package/dist/src/generated/components/DragHandle/DragHandle.types.d.ts +5 -0
- package/dist/src/generated/components/DragHandle/index.d.ts +2 -0
- package/dist/src/generated/components/Dropdown/Dropdown.d.ts +61 -0
- package/dist/src/generated/components/Dropzone/Dropzone.d.ts +7 -0
- package/dist/src/generated/components/EmptyListMessage/EmptyListMessage.d.ts +13 -0
- package/dist/src/generated/components/FilePreviewModal/FilePreview.d.ts +25 -0
- package/dist/src/generated/components/FileUpload/FileUpload.d.ts +36 -0
- package/dist/src/generated/components/FilterBar/ActiveFilters.d.ts +9 -0
- package/dist/src/generated/components/FilterBar/FilterBar.d.ts +111 -0
- package/dist/src/generated/components/FilterBar/FilterBar.utils.d.ts +32 -0
- package/dist/src/generated/components/FilterBar/FilterBarProps.type.d.ts +135 -0
- package/dist/src/generated/components/FilterBar/FilterMenu.d.ts +10 -0
- package/dist/src/generated/components/FilterBar/FiltersMenus.d.ts +11 -0
- package/dist/src/generated/components/FilterBar/PresetFiltersMenu.d.ts +9 -0
- package/dist/src/generated/components/FilterBar/SortMenu.d.ts +9 -0
- package/dist/src/generated/components/FilterBar/index.d.ts +2 -0
- package/dist/src/generated/components/FlyOutMenu/FlyOutMenu.d.ts +64 -0
- package/dist/src/generated/components/Heading/Heading.d.ts +29 -0
- package/dist/src/generated/components/HoverCard/HoverCard.d.ts +40 -0
- package/dist/src/generated/components/HoverCard/index.d.ts +1 -0
- package/dist/src/generated/components/HoverIndicatorControl/HoverIndicatorControl.d.ts +24 -0
- package/dist/src/generated/components/Icon/Icon.d.ts +17 -0
- package/dist/src/generated/components/Icon/index.d.ts +1 -0
- package/dist/src/generated/components/Icons/AbsentIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/AddNoteIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/AlarmClockIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/AmberAlertIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ArrowBackward.d.ts +4 -0
- package/dist/src/generated/components/Icons/ArrowForward.d.ts +4 -0
- package/dist/src/generated/components/Icons/AssignIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/AssignedIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/BellIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/BellIconSlashed.d.ts +4 -0
- package/dist/src/generated/components/Icons/BluetoothIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/BrushIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CakeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CalendarDayIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CalendarMonthIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CalendarRepeatIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChartBarsIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChartLineAndBarsIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChartLineIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChatBubbleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChatBubbleWithTextIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CheckIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChevronDoubleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChevronDownIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChevronLeftIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ChevronRightIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ClockIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CogwheelIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CompareIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CopyToClipboardIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CrossIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CrossInCircleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/CrossInFilledCircleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/DatabaseIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/DownloadIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/DragIndicatorIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EarthIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EmailIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EmojiIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EmptyIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ExclamationMarkIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ExportIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ExternalLinkIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EyeClosedIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/EyeOpenIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/FilterIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/FireIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/FirstAidKitIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/FlagIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/FolderIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ForwardIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/GifIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/GrayAlertIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/GroupIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/GroupOfThreeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/HamburgerIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/HandUp.d.ts +4 -0
- package/dist/src/generated/components/Icons/HandshakeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/HeartIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/HeartMinusIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/HomeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/IdBadgeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ImageIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ImageLibraryIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/InfoIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LifebuoyIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LightBulbIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LinkIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ListDescIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ListIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LockIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LogInIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/LogOutIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/MessageWithArrowIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/MoreIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/MouseIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/NoteIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/OpenAlertIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/OpenFolderIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PageIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PageViewIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PaperclipIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PatientIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PencilIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PersonIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PhoneIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PieChartIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PinIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PlusIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/PrinterIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/RedAlertIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/RobotIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/RocketIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SearchIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SendIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ShareIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SidebarIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallArrowDownIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallArrowUpIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallCircleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallDiamondIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallSquareIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SmallUpsideDownTriangleIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/StarFilledIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/StarIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/StopwatchIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/SummaryIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/TadaIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/ThresholdIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/TrashBinIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/TreeIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/UnassignedIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/UnlinkIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/UnpinIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/UploadIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/VideoIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/WorkflowIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/iconWrapper/iconWrapper.d.ts +4 -0
- package/dist/src/generated/components/Icons/iconWrapper/index.d.ts +1 -0
- package/dist/src/generated/components/Icons/index.d.ts +294 -0
- package/dist/src/generated/components/Icons/special-icons/AmberAlertColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/BeterDichtbijColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/ChartLineColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/CheckFilledColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/FlagDeColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/FlagFrColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/FlagNlColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/FlagPtColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/FlagUkColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/GearColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/GrayAlertColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/GreenAlertColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/GroupColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/RedAlertColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusActiveColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusAddedColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusBlockedColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusCancelledColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/StatusStoppedColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/VaultColoredIcon.d.ts +4 -0
- package/dist/src/generated/components/Icons/special-icons/index.d.ts +21 -0
- package/dist/src/generated/components/Icons/types/IconProps.type.d.ts +18 -0
- package/dist/src/generated/components/Image/Image.d.ts +17 -0
- package/dist/src/generated/components/InfoField/InfoField.d.ts +28 -0
- package/dist/src/generated/components/Input/Input.d.ts +55 -0
- package/dist/src/generated/components/Input/LabeledInput.d.ts +24 -0
- package/dist/src/generated/components/Input/SearchInput.d.ts +24 -0
- package/dist/src/generated/components/Input/StyledInput.d.ts +14 -0
- package/dist/src/generated/components/InputSelect/InputSelect.d.ts +37 -0
- package/dist/src/generated/components/InputSelect/InputSelect.utils.d.ts +9 -0
- package/dist/src/generated/components/InputSelect/InputSelectInput.d.ts +11 -0
- package/dist/src/generated/components/InputSelect/InputSelectSelect.d.ts +9 -0
- package/dist/src/generated/components/Line/Line.d.ts +14 -0
- package/dist/src/generated/components/Link/Link.d.ts +19 -0
- package/dist/src/generated/components/List/List.d.ts +9 -0
- package/dist/src/generated/components/List/List.types.d.ts +30 -0
- package/dist/src/generated/components/List/ListItem.d.ts +4 -0
- package/dist/src/generated/components/List/index.d.ts +5 -0
- package/dist/src/generated/components/LoadingIndicator/LoadingIndicator.d.ts +11 -0
- package/dist/src/generated/components/MediaPicker/ImageCategory.d.ts +14 -0
- package/dist/src/generated/components/MediaPicker/MediaPicker.d.ts +91 -0
- package/dist/src/generated/components/Modal/FullPageModal.d.ts +41 -0
- package/dist/src/generated/components/Modal/FullPageModalHeader.d.ts +13 -0
- package/dist/src/generated/components/Modal/Modal.d.ts +18 -0
- package/dist/src/generated/components/Modal/ModalBase.d.ts +21 -0
- package/dist/src/generated/components/Modal/ModalFooter.d.ts +27 -0
- package/dist/src/generated/components/Modal/ModalHeader.d.ts +6 -0
- package/dist/src/generated/components/Modal/subcomponents/FullPageModalActions.d.ts +18 -0
- package/dist/src/generated/components/ModalDialog/ModalDialog.d.ts +111 -0
- package/dist/src/generated/components/ModalDialog/use-on-close-animation-finished.d.ts +8 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +77 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +8 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormInput.d.ts +11 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormInputSelect.d.ts +21 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormSelect.d.ts +9 -0
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormText.d.ts +8 -0
- package/dist/src/generated/components/NavMenu/NavLayout.d.ts +47 -0
- package/dist/src/generated/components/NotificationBanner/NotificationBanner.d.ts +35 -0
- package/dist/src/generated/components/Page/CRUDPage.d.ts +4 -0
- package/dist/src/generated/components/Page/CRUDPage.types.d.ts +83 -0
- package/dist/src/generated/components/Page/Page.d.ts +56 -0
- package/dist/src/generated/components/Page/index.d.ts +3 -0
- package/dist/src/generated/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/src/generated/components/PageHeader/PageHeader.types.d.ts +46 -0
- package/dist/src/generated/components/PageHeader/index.d.ts +2 -0
- package/dist/src/generated/components/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts +28 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenu.d.ts +2 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenu.types.d.ts +62 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenu.utils.d.ts +15 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenuCursor.d.ts +3 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenuLarge.d.ts +3 -0
- package/dist/src/generated/components/PaginationMenu/PaginationMenuSmall.d.ts +2 -0
- package/dist/src/generated/components/PreviewPhone/PreviewPhone.d.ts +7 -0
- package/dist/src/generated/components/PreviewPhone/useWindowDimensions.d.ts +4 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBar.d.ts +48 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarContent.d.ts +5 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarExtras.d.ts +5 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarList.d.ts +5 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarOverflowIndicator.d.ts +7 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarRoot.d.ts +5 -0
- package/dist/src/generated/components/PrimaryTabBar/PrimaryTabBarTrigger.d.ts +7 -0
- package/dist/src/generated/components/Radio/LabeledRadio.d.ts +67 -0
- package/dist/src/generated/components/Radio/LabeledRadioCard.d.ts +69 -0
- package/dist/src/generated/components/Radio/LabeledRadioCardGroup.d.ts +28 -0
- package/dist/src/generated/components/Radio/LabeledRadioGroup.d.ts +23 -0
- package/dist/src/generated/components/Radio/RadioV2.d.ts +23 -0
- package/dist/src/generated/components/Radio/StyledRadio.d.ts +4 -0
- package/dist/src/generated/components/RadioGroup/RadioGroupV2.d.ts +23 -0
- package/dist/src/generated/components/RangeCoverage/RangeCoverage.d.ts +99 -0
- package/dist/src/generated/components/Section/Section.d.ts +29 -0
- package/dist/src/generated/components/Section/SectionItem.d.ts +9 -0
- package/dist/src/generated/components/Section/SectionItemWithContent.d.ts +8 -0
- package/dist/src/generated/components/Section/subcomponents/SectionActions.d.ts +21 -0
- package/dist/src/generated/components/Section/subcomponents/SectionFooter.d.ts +6 -0
- package/dist/src/generated/components/Section/subcomponents/SectionHeader.d.ts +8 -0
- package/dist/src/generated/components/Select/LabeledSelect.d.ts +22 -0
- package/dist/src/generated/components/Select/Select.d.ts +49 -0
- package/dist/src/generated/components/Select/Select.types.d.ts +4 -0
- package/dist/src/generated/components/Select/SelectDropdownIndicator.d.ts +3 -0
- package/dist/src/generated/components/Select/SelectLoadingIndicator.d.ts +3 -0
- package/dist/src/generated/components/Select/StyledSelect.d.ts +12 -0
- package/dist/src/generated/components/SettingsMenuButton/SettingsMenuButton.d.ts +19 -0
- package/dist/src/generated/components/Skeleton/Skeleton.d.ts +9 -0
- package/dist/src/generated/components/Spinner/Spinner.d.ts +6 -0
- package/dist/src/generated/components/SplitViewLayout/SplitViewLayout.d.ts +20 -0
- package/dist/src/generated/components/Stack/Stack.d.ts +55 -0
- package/dist/src/generated/components/StatusIndicator/StatusIndicator.d.ts +16 -0
- package/dist/src/generated/components/Steps/Steps.d.ts +11 -0
- package/dist/src/generated/components/Steps/subcomponents/Step.d.ts +7 -0
- package/dist/src/generated/components/StyledLists/StyledBaseList.d.ts +33 -0
- package/dist/src/generated/components/StyledLists/StyledOrderedList.d.ts +25 -0
- package/dist/src/generated/components/StyledLists/StyledUnorderedList.d.ts +43 -0
- package/dist/src/generated/components/Switch/Switch.d.ts +23 -0
- package/dist/src/generated/components/Switcher/Switcher.d.ts +26 -0
- package/dist/src/generated/components/Switcher/SwitcherItem.d.ts +24 -0
- package/dist/src/generated/components/Tabbar/Tabbar.d.ts +20 -0
- package/dist/src/generated/components/Tabbar/TabbarItem.d.ts +15 -0
- package/dist/src/generated/components/Table/Table.d.ts +55 -0
- package/dist/src/generated/components/Table/Table.types.d.ts +41 -0
- package/dist/src/generated/components/Table/Table.utils.d.ts +58 -0
- package/dist/src/generated/components/Table/TableBody.d.ts +32 -0
- package/dist/src/generated/components/Table/TableBodyRowDataCell.d.ts +7 -0
- package/dist/src/generated/components/Table/TableFooter.d.ts +7 -0
- package/dist/src/generated/components/Table/TableHeader.d.ts +18 -0
- package/dist/src/generated/components/TableNew/TableNew.d.ts +71 -0
- package/dist/src/generated/components/TableNew/index.d.ts +1 -0
- package/dist/src/generated/components/Tabs/Tabs.d.ts +50 -0
- package/dist/src/generated/components/Tabs/index.d.ts +1 -0
- package/dist/src/generated/components/Tag/Tag.d.ts +18 -0
- package/dist/src/generated/components/Tag/TagGroup.d.ts +23 -0
- package/dist/src/generated/components/Text/Text.d.ts +199 -0
- package/dist/src/generated/components/TextEditor/LinkTooltip.d.ts +9 -0
- package/dist/src/generated/components/TextEditor/TextEditor.d.ts +64 -0
- package/dist/src/generated/components/TextEditor/TextEditorToolbar.d.ts +13 -0
- package/dist/src/generated/components/TextEditor/TextEditorToolbarButton.d.ts +8 -0
- package/dist/src/generated/components/TextLink/TextLink.d.ts +13 -0
- package/dist/src/generated/components/Textarea/Textarea.d.ts +30 -0
- package/dist/src/generated/components/Timeline/Timeline.d.ts +13 -0
- package/dist/src/generated/components/Timeline/TimelineHeader.d.ts +10 -0
- package/dist/src/generated/components/Timeline/TimelineStep.d.ts +10 -0
- package/dist/src/generated/components/TimelineCard/LoadingState.d.ts +1 -0
- package/dist/src/generated/components/TimelineCard/TimelineCard.d.ts +52 -0
- package/dist/src/generated/components/TimelineCardLayout/TimelineCardLayout.d.ts +18 -0
- package/dist/src/generated/components/Title/PageTitle.d.ts +6 -0
- package/dist/src/generated/components/Title/Title.d.ts +44 -0
- package/dist/src/generated/components/Toaster/Toaster.d.ts +3 -0
- package/dist/src/generated/components/Toaster/ToasterPanel.d.ts +15 -0
- package/dist/src/generated/components/Toaster/toast.d.ts +12 -0
- package/dist/src/generated/components/Tooltip/Tooltip.d.ts +42 -0
- package/dist/src/generated/components/Tooltip/index.d.ts +3 -0
- package/dist/src/generated/components/UnorderedList/UnorderedList.d.ts +63 -0
- package/dist/src/generated/components/VerticalMenu/VerticalMenu.d.ts +125 -0
- package/dist/src/generated/components/WeekdaysPicker/WeekdaysPicker.d.ts +42 -0
- package/dist/src/generated/components/forms/shared/HelperAndErrorText.d.ts +13 -0
- package/dist/src/generated/components/forms/shared/LabelText.d.ts +5 -0
- package/dist/src/generated/context/LocaleContext.d.ts +3 -0
- package/dist/src/generated/generated/iconNames.d.ts +6 -0
- package/dist/src/generated/iconNames.d.ts +6 -0
- package/dist/src/generated/iconNames.js +118 -0
- package/dist/src/generated/iconNames.js.map +1 -0
- package/dist/src/generated/index.d.ts +140 -0
- package/dist/src/generated/system/Elevation.d.ts +9 -0
- package/dist/src/generated/system/Locale.d.ts +3 -0
- package/dist/src/generated/system/Sizes.d.ts +62 -0
- package/dist/src/generated/tokens/generated/tokens.d.ts +1526 -0
- package/dist/src/generated/types/general.types.d.ts +17 -0
- package/dist/src/generated/utils/prefixKeys.d.ts +13 -0
- package/dist/src/generated/utils/radius.utils.d.ts +37 -0
- package/dist/src/generated/utils/responsiveness.utils.d.ts +30 -0
- package/dist/src/generated/utils/shadow.utils.d.ts +21 -0
- package/dist/src/generated/utils/useOutsideClick.d.ts +2 -0
- package/dist/src/index.d.ts +140 -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 +62 -0
- package/dist/src/tokens/generated/tokens.d.ts +1526 -0
- package/dist/src/types/general.types.d.ts +17 -0
- package/dist/src/utils/prefixKeys.d.ts +13 -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 +21 -0
- package/dist/stories/AccordionList.stories.d.ts +118 -0
- package/dist/stories/AccordionListRecipe.stories.d.ts +58 -0
- package/dist/stories/ActionController.stories.d.ts +74 -0
- package/dist/stories/AlertsWidget.stories.d.ts +14 -0
- package/dist/stories/AsideLayout.stories.d.ts +37 -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 +16 -0
- package/dist/stories/Breadcrumbs.stories.d.ts +10 -0
- package/dist/stories/Button.stories.d.ts +12 -0
- package/dist/stories/CRUDPage.stories.d.ts +15 -0
- package/dist/stories/Card.stories.d.ts +44 -0
- package/dist/stories/CardTableRecipe.stories.d.ts +37 -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 +49 -0
- package/dist/stories/CheckBoxListModal.stories.d.ts +145 -0
- package/dist/stories/Checkbox.stories.d.ts +61 -0
- package/dist/stories/CheckboxList.stories.d.ts +20 -0
- package/dist/stories/Chip.stories.d.ts +15 -0
- package/dist/stories/Collapse.stories.d.ts +22 -0
- package/dist/stories/ConfirmationDialog.stories.d.ts +21 -0
- package/dist/stories/DatePicker.stories.d.ts +56 -0
- package/dist/stories/DetailsDisclosure.stories.d.ts +10001 -0
- package/dist/stories/Divider.stories.d.ts +99 -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 +9 -0
- package/dist/stories/Dropdown.stories.d.ts +10 -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 +10 -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 +50 -0
- package/dist/stories/Heading.stories.d.ts +31 -0
- package/dist/stories/HoverCard.stories.d.ts +8 -0
- package/dist/stories/HoverIndicatorControl.stories.d.ts +46 -0
- package/dist/stories/Icon.stories.d.ts +16 -0
- package/dist/stories/InfoField.stories.d.ts +32 -0
- package/dist/stories/Input.stories.d.ts +27 -0
- package/dist/stories/InputSelect.stories.d.ts +34 -0
- package/dist/stories/LabeledCheckbox.stories.d.ts +36 -0
- package/dist/stories/LabeledDatePicker.stories.d.ts +55 -0
- package/dist/stories/LabeledInput.stories.d.ts +44 -0
- package/dist/stories/LabeledRadio.stories.d.ts +37 -0
- package/dist/stories/Line.stories.d.ts +22 -0
- package/dist/stories/Link.stories.d.ts +17 -0
- package/dist/stories/LinkIcon.stories.d.ts +13 -0
- package/dist/stories/List.stories.d.ts +256 -0
- package/dist/stories/ListRecipe.stories.d.ts +57 -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 +149 -0
- package/dist/stories/ModalDialog.stories.d.ts +26535 -0
- package/dist/stories/NaturalLanguageForm.stories.d.ts +74 -0
- package/dist/stories/NavLayout.stories.d.ts +26 -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/PageWithCenteredContentLayout.stories.d.ts +98 -0
- package/dist/stories/Pagination.stories.d.ts +20 -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/PrimaryTabBar.stories.d.ts +299 -0
- package/dist/stories/PrimitiveColors.d.ts +1 -0
- package/dist/stories/RadioGroupV2.stories.d.ts +37 -0
- package/dist/stories/RadioV2.stories.d.ts +42 -0
- package/dist/stories/RangeCoverage.stories.d.ts +31 -0
- package/dist/stories/SearchInput.stories.d.ts +11 -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 +83 -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/SemanticColors.d.ts +12 -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 +14 -0
- package/dist/stories/SplitViewLayout.stories.d.ts +44 -0
- package/dist/stories/Stack.stories.d.ts +22 -0
- package/dist/stories/StatusIndicator.stories.d.ts +19 -0
- package/dist/stories/Steps.stories.d.ts +26 -0
- package/dist/stories/StyledOrderedList.stories.d.ts +281 -0
- package/dist/stories/StyledSelect.stories.d.ts +18 -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 +3264 -0
- package/dist/stories/TableCardRecipe.stories.d.ts +56 -0
- package/dist/stories/TableNew.stories.d.ts +33 -0
- package/dist/stories/Tabs.stories.d.ts +44 -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 +78 -0
- package/dist/stories/TextColors.stories.d.ts +16 -0
- package/dist/stories/TextEditor.stories.d.ts +25 -0
- package/dist/stories/TextLegacy.stories.d.ts +32 -0
- package/dist/stories/TextLink.stories.d.ts +10 -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 +56 -0
- package/dist/stories/Title.stories.d.ts +16 -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 +39 -0
- package/dist/stories/VerticalMenu.stories.d.ts +117 -0
- package/dist/stories/WeekdaysPicker.stories.d.ts +39 -0
- package/dist/web-ui-tailwind.css +6380 -2810
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +110 -90
- package/dist/components/Accordion/Accordion.d.ts +0 -15
- package/dist/components/Accordion/AccordionItem.d.ts +0 -17
- package/dist/components/AccordionList/AccordionList.d.ts +0 -45
- package/dist/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
- package/dist/components/Avatar/Avatar.d.ts +0 -23
- package/dist/components/Badge/Badge.d.ts +0 -7
- package/dist/components/BaseList/BaseList.d.ts +0 -7
- package/dist/components/BaseList/BaseList.types.d.ts +0 -55
- package/dist/components/BaseList/BaseListEmptyState.d.ts +0 -7
- package/dist/components/BaseList/BaseListIcon.d.ts +0 -5
- package/dist/components/BaseList/BaseListItem.d.ts +0 -4
- package/dist/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
- package/dist/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
- package/dist/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
- package/dist/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -8
- package/dist/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
- package/dist/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
- package/dist/components/BaseList/utils.d.ts +0 -10
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -4
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
- package/dist/components/Button/Button.d.ts +0 -9
- package/dist/components/Button/Button.types.d.ts +0 -32
- package/dist/components/Button/ButtonIcon.d.ts +0 -7
- package/dist/components/ButtonV2/ButtonProps.type.d.ts +0 -54
- package/dist/components/ButtonV2/ButtonV2.d.ts +0 -3
- package/dist/components/ButtonV2/PrimaryButton.d.ts +0 -3
- package/dist/components/ButtonV2/SecondaryButton.d.ts +0 -3
- package/dist/components/ButtonV2/TertiaryButton.d.ts +0 -3
- package/dist/components/Card/Actions.d.ts +0 -2
- package/dist/components/Card/Card.d.ts +0 -57
- package/dist/components/Card/Padding.d.ts +0 -6
- package/dist/components/Card/Section.d.ts +0 -6
- package/dist/components/Card/TopBar.d.ts +0 -9
- package/dist/components/Carousel/Carousel.d.ts +0 -9
- package/dist/components/Carousel/GliderContainer.d.ts +0 -7
- package/dist/components/CenteredHero/CenteredHero.d.ts +0 -14
- package/dist/components/CheckBoxListModal/CheckboxListModal.d.ts +0 -30
- package/dist/components/Checkbox/Checkbox.d.ts +0 -64
- package/dist/components/CheckboxList/CheckboxGroup.d.ts +0 -3
- package/dist/components/CheckboxList/CheckboxList.d.ts +0 -4
- package/dist/components/CheckboxList/CheckboxList.types.d.ts +0 -74
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -3
- package/dist/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +0 -7
- package/dist/components/ConfirmationDialog/ConfirmationDialogMessage.d.ts +0 -4
- package/dist/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +0 -3
- package/dist/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +0 -41
- package/dist/components/Container/FlexColumn.d.ts +0 -7
- package/dist/components/Container/FlexContainer.d.ts +0 -9
- package/dist/components/Container/FlexRow.d.ts +0 -7
- package/dist/components/Container/types/FlexContainerProps.type.d.ts +0 -26
- package/dist/components/Divider/Divider.d.ts +0 -17
- package/dist/components/DragHandle/DragHandle.d.ts +0 -7
- package/dist/components/DragHandle/DragHandle.types.d.ts +0 -6
- package/dist/components/Dropzone/Dropzone.d.ts +0 -6
- package/dist/components/Dropzone/Dropzone.types.d.ts +0 -33
- package/dist/components/Dropzone/index.d.ts +0 -2
- package/dist/components/EmptyListMessage/EmptyListMessage.d.ts +0 -14
- package/dist/components/FilterBar/ActiveFilters.d.ts +0 -9
- package/dist/components/FilterBar/FilterBar.d.ts +0 -96
- package/dist/components/FilterBar/FilterBar.utils.d.ts +0 -32
- package/dist/components/FilterBar/FilterBarProps.type.d.ts +0 -86
- package/dist/components/FilterBar/FiltersMenus.d.ts +0 -8
- package/dist/components/FilterBar/SortMenu.d.ts +0 -9
- package/dist/components/Form/Form.d.ts +0 -30
- package/dist/components/Form/FormFieldCheckbox.d.ts +0 -9
- package/dist/components/Form/FormFieldCheckboxList.d.ts +0 -9
- package/dist/components/Form/FormFieldErrorMessages.d.ts +0 -8
- package/dist/components/Form/FormFieldLabeler.d.ts +0 -8
- package/dist/components/Form/FormImagePicker.d.ts +0 -9
- package/dist/components/Form/FormInput.d.ts +0 -14
- package/dist/components/Form/FormRadioGroup.d.ts +0 -13
- package/dist/components/Form/FormSelect.d.ts +0 -10
- package/dist/components/Form/FormTextarea.d.ts +0 -14
- package/dist/components/Form/form.transformer.d.ts +0 -3
- package/dist/components/Form/form.types.d.ts +0 -92
- package/dist/components/Icon/Icon.d.ts +0 -17
- package/dist/components/Icons/BellIcon.d.ts +0 -4
- package/dist/components/Icons/BluetoothIcon.d.ts +0 -4
- package/dist/components/Icons/BrushIcon.d.ts +0 -4
- package/dist/components/Icons/CalendarDayIcon.d.ts +0 -4
- package/dist/components/Icons/CalendarMonthIcon.d.ts +0 -4
- package/dist/components/Icons/CalendarRepeatIcon.d.ts +0 -4
- package/dist/components/Icons/ChartBarsIcon.d.ts +0 -4
- package/dist/components/Icons/ChartLineAndBarsIcon.d.ts +0 -4
- package/dist/components/Icons/ChatBubbleIcon.d.ts +0 -4
- package/dist/components/Icons/ChatBubbleWithTextIcon.d.ts +0 -4
- package/dist/components/Icons/CheckIcon.d.ts +0 -4
- package/dist/components/Icons/ChevronDoubleIcon.d.ts +0 -4
- package/dist/components/Icons/ChevronDownIcon.d.ts +0 -4
- package/dist/components/Icons/ChevronLeftIcon.d.ts +0 -4
- package/dist/components/Icons/ChevronRightIcon.d.ts +0 -4
- package/dist/components/Icons/ClockIcon.d.ts +0 -4
- package/dist/components/Icons/CogwheelIcon.d.ts +0 -4
- package/dist/components/Icons/CopyToClipboardIcon.d.ts +0 -4
- package/dist/components/Icons/CrossIcon.d.ts +0 -4
- package/dist/components/Icons/CrossInCircleIcon.d.ts +0 -4
- package/dist/components/Icons/CrossInFilledCircleIcon.d.ts +0 -4
- package/dist/components/Icons/DatabaseIcon.d.ts +0 -4
- package/dist/components/Icons/DragIndicatorIcon.d.ts +0 -4
- package/dist/components/Icons/EarthIcon.d.ts +0 -4
- package/dist/components/Icons/EmailIcon.d.ts +0 -4
- package/dist/components/Icons/EmptyIcon.d.ts +0 -4
- package/dist/components/Icons/ExclamationMarkIcon.d.ts +0 -4
- package/dist/components/Icons/ExportIcon.d.ts +0 -4
- package/dist/components/Icons/EyeClosedIcon.d.ts +0 -4
- package/dist/components/Icons/EyeIconSlashed.d.ts +0 -4
- package/dist/components/Icons/EyeOpenIcon.d.ts +0 -4
- package/dist/components/Icons/FilterIcon.d.ts +0 -4
- package/dist/components/Icons/FireIcon.d.ts +0 -4
- package/dist/components/Icons/FirstAidKitIcon.d.ts +0 -4
- package/dist/components/Icons/FlagIcon.d.ts +0 -4
- package/dist/components/Icons/ForwardIcon.d.ts +0 -4
- package/dist/components/Icons/GroupIcon.d.ts +0 -4
- package/dist/components/Icons/GroupOfThreeIcon.d.ts +0 -4
- package/dist/components/Icons/HamburgerIcon.d.ts +0 -4
- package/dist/components/Icons/HandshakeIcon.d.ts +0 -4
- package/dist/components/Icons/HeartIcon.d.ts +0 -4
- package/dist/components/Icons/HomeIcon.d.ts +0 -4
- package/dist/components/Icons/ImageIcon.d.ts +0 -4
- package/dist/components/Icons/InfoIcon.d.ts +0 -4
- package/dist/components/Icons/LifebuoyIcon.d.ts +0 -4
- package/dist/components/Icons/LightBulbIcon.d.ts +0 -4
- package/dist/components/Icons/LinkIcon.d.ts +0 -4
- package/dist/components/Icons/LockIcon.d.ts +0 -4
- package/dist/components/Icons/LogInIcon.d.ts +0 -4
- package/dist/components/Icons/LogOutIcon.d.ts +0 -4
- package/dist/components/Icons/MessageWithArrowIcon.d.ts +0 -4
- package/dist/components/Icons/MoreIcon.d.ts +0 -4
- package/dist/components/Icons/MouseIcon.d.ts +0 -4
- package/dist/components/Icons/NoteIcon.d.ts +0 -4
- package/dist/components/Icons/PageViewIcon.d.ts +0 -4
- package/dist/components/Icons/PatientIcon.d.ts +0 -4
- package/dist/components/Icons/PencilIcon.d.ts +0 -4
- package/dist/components/Icons/PhoneIcon.d.ts +0 -4
- package/dist/components/Icons/PieChartIcon.d.ts +0 -4
- package/dist/components/Icons/PinIcon.d.ts +0 -4
- package/dist/components/Icons/PlusIcon.d.ts +0 -4
- package/dist/components/Icons/PrinterIcon.d.ts +0 -4
- package/dist/components/Icons/RobotIcon.d.ts +0 -4
- package/dist/components/Icons/RocketIcon.d.ts +0 -4
- package/dist/components/Icons/SearchIcon.d.ts +0 -4
- package/dist/components/Icons/ShareIcon.d.ts +0 -4
- package/dist/components/Icons/SmallCircleIcon.d.ts +0 -4
- package/dist/components/Icons/SmallDiamondIcon.d.ts +0 -4
- package/dist/components/Icons/SmallSquareIcon.d.ts +0 -4
- package/dist/components/Icons/StarIcon.d.ts +0 -4
- package/dist/components/Icons/TrashBinIcon.d.ts +0 -4
- package/dist/components/Icons/TreeIcon.d.ts +0 -4
- package/dist/components/Icons/iconWrapper/iconWrapper.d.ts +0 -4
- package/dist/components/Icons/index.d.ts +0 -248
- package/dist/components/Icons/special-icons/ChartLineColoredIcon.d.ts +0 -4
- package/dist/components/Icons/special-icons/GearColoredIcon.d.ts +0 -4
- package/dist/components/Icons/special-icons/GroupColoredIcon.d.ts +0 -4
- package/dist/components/Icons/special-icons/StatusColoredIcon.d.ts +0 -4
- package/dist/components/Icons/special-icons/index.d.ts +0 -4
- package/dist/components/Icons/types/IconProps.type.d.ts +0 -8
- package/dist/components/Image/Image.d.ts +0 -10
- package/dist/components/InfoField/InfoField.d.ts +0 -28
- package/dist/components/Input/Input.d.ts +0 -56
- package/dist/components/Link/Link.d.ts +0 -19
- package/dist/components/List/List.d.ts +0 -6
- package/dist/components/List/List.types.d.ts +0 -19
- package/dist/components/List/ListItem.d.ts +0 -4
- package/dist/components/LoadingIndicator/LoadingIndicator.d.ts +0 -12
- package/dist/components/MediaPicker/ImageCategory.d.ts +0 -14
- package/dist/components/MediaPicker/MediaPicker.d.ts +0 -91
- package/dist/components/Modal/FullPageModal.d.ts +0 -41
- package/dist/components/Modal/FullPageModalHeader.d.ts +0 -13
- package/dist/components/Modal/Modal.d.ts +0 -11
- package/dist/components/Modal/ModalBase.d.ts +0 -16
- package/dist/components/Modal/ModalFooter.d.ts +0 -12
- package/dist/components/Modal/ModalHeader.d.ts +0 -6
- package/dist/components/Modal/subcomponents/FullPageModalActions.d.ts +0 -18
- package/dist/components/NavMenu/NavLayout.d.ts +0 -35
- package/dist/components/NavMenu/NavMenu.d.ts +0 -16
- package/dist/components/NavMenu/NavMenuContent.d.ts +0 -3
- package/dist/components/NavMenu/NavMenuFooter.d.ts +0 -3
- package/dist/components/NavMenu/NavMenuHeader.d.ts +0 -3
- package/dist/components/NavMenu/NavMenuItem.d.ts +0 -3
- package/dist/components/NavMenu/types/NavMenuFooterProps.type.d.ts +0 -5
- package/dist/components/NavMenu/types/NavMenuHeaderProps.type.d.ts +0 -11
- package/dist/components/NavMenu/types/NavMenuItemProps.type.d.ts +0 -11
- package/dist/components/NotificationBanner/NotificationBanner.d.ts +0 -41
- package/dist/components/Page/CRUDPage.d.ts +0 -4
- package/dist/components/Page/CRUDPage.types.d.ts +0 -36
- package/dist/components/PageHeader/PageHeader.d.ts +0 -4
- package/dist/components/PageHeader/PageHeader.types.d.ts +0 -32
- package/dist/components/PaginationMenu/PaginationMenu.d.ts +0 -3
- package/dist/components/PaginationMenu/PaginationMenu.types.d.ts +0 -37
- package/dist/components/PaginationMenu/PaginationMenu.utils.d.ts +0 -15
- package/dist/components/PaginationMenu/PaginationMenuLarge.d.ts +0 -3
- package/dist/components/PaginationMenu/PaginationMenuSmall.d.ts +0 -3
- package/dist/components/PreviewPhone/PreviewPhone.d.ts +0 -7
- package/dist/components/Radio/RadioV2.d.ts +0 -17
- package/dist/components/RadioGroup/RadioGroupV2.d.ts +0 -10
- package/dist/components/Section/Section.d.ts +0 -25
- package/dist/components/Section/SectionItem.d.ts +0 -9
- package/dist/components/Section/SectionItemWithContent.d.ts +0 -9
- package/dist/components/Section/subcomponents/SectionActions.d.ts +0 -21
- package/dist/components/Select/Select.d.ts +0 -46
- package/dist/components/Select/SelectDropdownIndicator.d.ts +0 -3
- package/dist/components/Select/SelectLoadingIndicator.d.ts +0 -3
- package/dist/components/SettingsMenuButton/SettingsMenuButton.d.ts +0 -19
- package/dist/components/Spinner/Spinner.d.ts +0 -6
- package/dist/components/Steps/Step.d.ts +0 -10
- package/dist/components/Steps/Steps.d.ts +0 -10
- package/dist/components/Tabbar/Tabbar.d.ts +0 -21
- package/dist/components/Tabbar/TabbarItem.d.ts +0 -16
- package/dist/components/Table/Table.d.ts +0 -16
- package/dist/components/Table/Table.types.d.ts +0 -42
- package/dist/components/Table/Table.utils.d.ts +0 -3
- package/dist/components/Table/TableBody.d.ts +0 -13
- package/dist/components/Table/TableBodyRow.d.ts +0 -10
- package/dist/components/Table/TableBodyRowDataCell.d.ts +0 -8
- package/dist/components/Table/TableFooter.d.ts +0 -8
- package/dist/components/Table/TableHeader.d.ts +0 -7
- package/dist/components/Tag/Tag.d.ts +0 -26
- package/dist/components/Tag/TagGroup.d.ts +0 -23
- package/dist/components/Text/Text.d.ts +0 -115
- package/dist/components/TextEditor/TextEditor.d.ts +0 -53
- package/dist/components/TextLink/TextLink.d.ts +0 -14
- package/dist/components/Textarea/Textarea.d.ts +0 -33
- package/dist/components/Timeline/Timeline.d.ts +0 -14
- package/dist/components/Timeline/TimelineHeader.d.ts +0 -10
- package/dist/components/Timeline/TimelineStep.d.ts +0 -10
- package/dist/components/Title/PageTitle.d.ts +0 -6
- package/dist/components/Title/Title.d.ts +0 -31
- package/dist/components/Toaster/Toaster.d.ts +0 -17
- package/dist/components/Toaster/toast-elements-getter.d.ts +0 -22
- package/dist/components/Toaster/toast-progress-animator.d.ts +0 -12
- package/dist/components/UnorderedList/UnorderedList.d.ts +0 -61
- package/dist/components/VerticalMenu/VerticalMenu.d.ts +0 -86
- package/dist/components/ViewItem/ViewItem.d.ts +0 -16
- package/dist/components/WeekdaysPicker/WeekdaysPicker.d.ts +0 -42
- package/dist/index.d.ts +0 -89
- package/dist/types/general.types.d.ts +0 -8
- /package/dist/{components → src/components}/BaseList/BaseListHeader.d.ts +0 -0
- /package/dist/{components → src/components}/BaseList/DraggableBaseList/index.d.ts +0 -0
- /package/dist/{components → src/components}/BaseList/SortableBaseList/index.d.ts +0 -0
- /package/dist/{components → src/components}/BaseList/index.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/index.d.ts +0 -0
- /package/dist/{components → src/components}/DragHandle/index.d.ts +0 -0
- /package/dist/{components → src/components}/FilterBar/index.d.ts +0 -0
- /package/dist/{components → src/components}/Icon/index.d.ts +0 -0
- /package/dist/{components → src/components}/Icons/iconWrapper/index.d.ts +0 -0
- /package/dist/{components → src/components}/Input/SearchInput.d.ts +0 -0
- /package/dist/{components → src/components}/List/index.d.ts +0 -0
- /package/dist/{components → src/components}/Page/index.d.ts +0 -0
- /package/dist/{components → src/components}/PageHeader/index.d.ts +0 -0
- /package/dist/{components → src/components}/Toaster/toast.d.ts +0 -0
- /package/dist/{utils → src/generated/utils}/string.utils.d.ts +0 -0
package/README.md
CHANGED
|
@@ -29,7 +29,18 @@ function MyComponent() {
|
|
|
29
29
|
|
|
30
30
|
### Fonts
|
|
31
31
|
|
|
32
|
-
WebUI uses the
|
|
32
|
+
WebUI uses the Inter font family for most of its text. This font should be provided by your application if you're using WebUI. The weights needed to show the full gamut of weights in the design system are 300, 400, 500, 600 and 700. One way of doing this is using a Google Fonts link in your HTML file:
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
36
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
37
|
+
<link
|
|
38
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
|
|
39
|
+
rel="stylesheet"
|
|
40
|
+
/>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
For some headings WebUI uses the Avenir Next LT Pro font family. If you want to use these, you need to make them available in your project. You can do this by declaring the following `@font-face` rules in your CSS:
|
|
33
44
|
|
|
34
45
|
```css
|
|
35
46
|
@font-face {
|
|
@@ -55,6 +66,63 @@ The `font-family` property value is important, as this is what WebUI is referenc
|
|
|
55
66
|
|
|
56
67
|
If you don't declare these `@font-face` rules, the font will not be available and the headings will gracefully fall back to next available font in your application.
|
|
57
68
|
|
|
69
|
+
### LocaleProvider
|
|
70
|
+
|
|
71
|
+
WebUI exposes a `LocaleProvider`, which is used to make components adjust their data formats to the locale of the application.
|
|
72
|
+
You should wrap your app with the `LocaleProvider`.
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
import { LocaleProvider } from "@luscii-healthtech/web-ui";
|
|
76
|
+
import React from "react";
|
|
77
|
+
import { createRoot } from "react-dom/client";
|
|
78
|
+
import App from "./App";
|
|
79
|
+
|
|
80
|
+
function start() {
|
|
81
|
+
const root = createRoot(document.querySelector("#root"));
|
|
82
|
+
root.render(
|
|
83
|
+
<LocaleProvider value="nl-NL">
|
|
84
|
+
<App />
|
|
85
|
+
</LocaleProvider>
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
The locale passed should adhere to the `{language}-{region}` format, for example:
|
|
91
|
+
|
|
92
|
+
- `nl-NL`
|
|
93
|
+
- `en-GB`
|
|
94
|
+
- `pt-PT`
|
|
95
|
+
- `de-DE`
|
|
96
|
+
- `fr-FR`
|
|
97
|
+
|
|
98
|
+
### Tooltip Provider
|
|
99
|
+
|
|
100
|
+
Install the `@radix-ui/react-tooltip` peer dependency into your project:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
yarn add @radix-ui/react-tooltip
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Wrap your app with the `Tooltip.Provider` component:
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
import * as Tooltip from "@radix-ui/react-tooltip";
|
|
110
|
+
import React from "react";
|
|
111
|
+
import { createRoot } from "react-dom/client";
|
|
112
|
+
import App from "./App";
|
|
113
|
+
|
|
114
|
+
function start() {
|
|
115
|
+
const root = createRoot(document.querySelector("#root"));
|
|
116
|
+
root.render(
|
|
117
|
+
<Tooltip.Provider delayDuration={800} skipDelayDuration={500}>
|
|
118
|
+
<App />
|
|
119
|
+
</Tooltip.Provider>
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
More about this component can be found in its [documentation](https://www.radix-ui.com/primitives/docs/components/tooltip).
|
|
125
|
+
|
|
58
126
|
## How to use
|
|
59
127
|
|
|
60
128
|
The primary goal of WebUI is to make frontend development faster. It does this by providing a set of commonly used components that can be composed together to build user interfaces.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Meta } from "@storybook/react-vite";
|
|
2
|
+
export declare const BADGES: {
|
|
3
|
+
readonly NEEDS_REVISION: "needs-revision";
|
|
4
|
+
readonly DOCUMENTED: "documented";
|
|
5
|
+
readonly STABLE: "stable";
|
|
6
|
+
readonly NEW: "new";
|
|
7
|
+
readonly DEPRECATED: "deprecated";
|
|
8
|
+
};
|
|
9
|
+
type TAGS = (typeof BADGES)[keyof typeof BADGES][];
|
|
10
|
+
/**
|
|
11
|
+
* A drop-in replacements for `"@storybook/react"`'s Meta type which extends the type with web-ui's tags.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
*
|
|
15
|
+
* const meta = {
|
|
16
|
+
* title: "Layout/SplitViewLayout",
|
|
17
|
+
* component: Component,
|
|
18
|
+
* tags: ["new"], // `tags` is now type-checked and auto-completes
|
|
19
|
+
* } satisfies MMeta<typeof Component>;
|
|
20
|
+
*/
|
|
21
|
+
export type MMeta<T> = Meta<T> & {
|
|
22
|
+
tags: TAGS;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* For stories specifically used in the Docs page that are not intended
|
|
26
|
+
* to be used for snapshots. E.g. stories that are used to demonstrate
|
|
27
|
+
* what NOT to do, or stories that are used to demonstrate a component
|
|
28
|
+
* and that don't need to show up in snapshots.
|
|
29
|
+
*/
|
|
30
|
+
export declare const NO_SNAPSHOT_PARAMS: {
|
|
31
|
+
chromatic: {
|
|
32
|
+
disableSnapshot: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type Decorator } from "@storybook/react-vite";
|
|
2
|
+
import { type ComponentProps, type HTMLAttributes, type ReactNode } from "react";
|
|
3
|
+
import { ModalDialog } from "../src";
|
|
4
|
+
export declare const LocaleDecorator: Decorator;
|
|
5
|
+
export declare const TooltipDecorator: Decorator;
|
|
6
|
+
export declare const createHoverCardDecorator: (trigger: ReactNode) => Decorator;
|
|
7
|
+
export declare const CenteredDecorator: Decorator;
|
|
8
|
+
/**
|
|
9
|
+
* Wraps the story in a div with the provided role.
|
|
10
|
+
*
|
|
11
|
+
* @example // Wrap the story within <div role="status"><Story /></div>
|
|
12
|
+
*
|
|
13
|
+
* const story = {
|
|
14
|
+
* // ...
|
|
15
|
+
* decorators: [createRoleDecorator("status")]
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare const createRoleDecorator: (role: HTMLAttributes<HTMLDivElement>["role"]) => Decorator;
|
|
20
|
+
/**
|
|
21
|
+
* Wraps the story in a ModalDialog.
|
|
22
|
+
*
|
|
23
|
+
* @example // Wrap the story within <ModalDialog variant="side-modal" size="l"><ModalDialog.Body><Story /></ModalDialog.Body></ModalDialog>
|
|
24
|
+
*
|
|
25
|
+
* const story = {
|
|
26
|
+
* // ...
|
|
27
|
+
* decorators: [createModalDialogDecorator({ size: "l", variant: "side-modal" })]
|
|
28
|
+
* }
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare const createModalDialogDecorator: (options?: Pick<ComponentProps<typeof ModalDialog>, "variant" | "size">) => Decorator;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Codemod for Tag component breaking changes.
|
|
3
|
+
//
|
|
4
|
+
// Handles:
|
|
5
|
+
// - colorTheme="red"|"amber"|"green"|"gray"|"blue" → _type="danger"|"negative"|"positive"|"neutral"|"info"
|
|
6
|
+
// - size="base" → _size="large", size="small" → _size="small"
|
|
7
|
+
// - variant → _variant
|
|
8
|
+
// - truncate → _truncate
|
|
9
|
+
// - text="..." → children (prop removed, value becomes children)
|
|
10
|
+
// - showIcon → _leadingIcon with a TODO comment (boolean → ReactNode, can't auto-migrate)
|
|
11
|
+
// - as → _as (on direct <Tag> elements only)
|
|
12
|
+
// - Also handles polymorphic usage via `as={Tag}` (e.g. <Stack as={Tag} variant="bordered" />),
|
|
13
|
+
// transforming Tag-specific props on the parent element (but not renaming `as` itself)
|
|
14
|
+
//
|
|
15
|
+
// Usage: npx jscodeshift --parser=tsx --extensions=tsx,ts -t @luscii-healthtech/web-ui/dist/codemods/v48-tag-props-update <target-dir>
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.default = transformer;
|
|
18
|
+
const COLOR_THEME_TO_TYPE = {
|
|
19
|
+
red: "danger",
|
|
20
|
+
amber: "negative",
|
|
21
|
+
green: "positive",
|
|
22
|
+
gray: "neutral",
|
|
23
|
+
blue: "info",
|
|
24
|
+
};
|
|
25
|
+
// Props that simply get an underscore prefix (no value change)
|
|
26
|
+
const RENAMED_PROPS = {
|
|
27
|
+
type: "_type",
|
|
28
|
+
variant: "_variant",
|
|
29
|
+
truncate: "_truncate",
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Transform Tag-specific props on a JSX opening element.
|
|
33
|
+
* Returns true if any changes were made.
|
|
34
|
+
*/
|
|
35
|
+
function transformTagProps(opening, j) {
|
|
36
|
+
var _a, _b, _c, _d, _e, _f;
|
|
37
|
+
let changed = false;
|
|
38
|
+
// --- colorTheme → _type (with value mapping) ---
|
|
39
|
+
const colorThemeAttr = findAttribute(opening, "colorTheme");
|
|
40
|
+
if (colorThemeAttr) {
|
|
41
|
+
colorThemeAttr.name = j.jsxIdentifier("_type");
|
|
42
|
+
if (((_a = colorThemeAttr.value) === null || _a === void 0 ? void 0 : _a.type) === "StringLiteral") {
|
|
43
|
+
const mapped = COLOR_THEME_TO_TYPE[colorThemeAttr.value.value];
|
|
44
|
+
if (mapped) {
|
|
45
|
+
colorThemeAttr.value = j.stringLiteral(mapped);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
else if (((_b = colorThemeAttr.value) === null || _b === void 0 ? void 0 : _b.type) === "JSXExpressionContainer" &&
|
|
49
|
+
colorThemeAttr.value.expression.type === "StringLiteral") {
|
|
50
|
+
const mapped = COLOR_THEME_TO_TYPE[colorThemeAttr.value.expression.value];
|
|
51
|
+
if (mapped) {
|
|
52
|
+
colorThemeAttr.value = j.stringLiteral(mapped);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
changed = true;
|
|
56
|
+
}
|
|
57
|
+
// --- size → _size (with "base" → "large") ---
|
|
58
|
+
const sizeAttr = findAttribute(opening, "size");
|
|
59
|
+
if (sizeAttr) {
|
|
60
|
+
sizeAttr.name = j.jsxIdentifier("_size");
|
|
61
|
+
if (((_c = sizeAttr.value) === null || _c === void 0 ? void 0 : _c.type) === "StringLiteral") {
|
|
62
|
+
if (sizeAttr.value.value === "base") {
|
|
63
|
+
sizeAttr.value = j.stringLiteral("large");
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else if (((_d = sizeAttr.value) === null || _d === void 0 ? void 0 : _d.type) === "JSXExpressionContainer" &&
|
|
67
|
+
sizeAttr.value.expression.type === "StringLiteral" &&
|
|
68
|
+
sizeAttr.value.expression.value === "base") {
|
|
69
|
+
sizeAttr.value = j.stringLiteral("large");
|
|
70
|
+
}
|
|
71
|
+
changed = true;
|
|
72
|
+
}
|
|
73
|
+
// --- Simple renames (variant → _variant, truncate → _truncate) ---
|
|
74
|
+
for (const [oldName, newName] of Object.entries(RENAMED_PROPS)) {
|
|
75
|
+
const attr = findAttribute(opening, oldName);
|
|
76
|
+
if (attr) {
|
|
77
|
+
attr.name = j.jsxIdentifier(newName);
|
|
78
|
+
changed = true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
// --- showIcon → _leadingIcon with TODO ---
|
|
82
|
+
const showIconAttr = findAttribute(opening, "showIcon");
|
|
83
|
+
if (showIconAttr) {
|
|
84
|
+
const attrIndex = (_f = (_e = opening.attributes) === null || _e === void 0 ? void 0 : _e.indexOf(showIconAttr)) !== null && _f !== void 0 ? _f : -1;
|
|
85
|
+
if (attrIndex !== -1 && opening.attributes) {
|
|
86
|
+
opening.attributes[attrIndex] = j.jsxAttribute(j.jsxIdentifier("_leadingIcon"), j.jsxExpressionContainer(j.identifier("undefined /* TODO: showIcon was removed — pass a ReactNode icon to _leadingIcon instead */")));
|
|
87
|
+
}
|
|
88
|
+
changed = true;
|
|
89
|
+
}
|
|
90
|
+
return changed;
|
|
91
|
+
}
|
|
92
|
+
function transformer(file, api) {
|
|
93
|
+
const j = api.jscodeshift;
|
|
94
|
+
const root = j(file.source);
|
|
95
|
+
let hasChanges = false;
|
|
96
|
+
// --- Pass 1: Direct <Tag> elements ---
|
|
97
|
+
root.findJSXElements("Tag").forEach((path) => {
|
|
98
|
+
var _a;
|
|
99
|
+
const opening = path.value.openingElement;
|
|
100
|
+
if (transformTagProps(opening, j)) {
|
|
101
|
+
hasChanges = true;
|
|
102
|
+
}
|
|
103
|
+
// --- as → _as (Tag's own polymorphic prop) ---
|
|
104
|
+
const asAttr = findAttribute(opening, "as");
|
|
105
|
+
if (asAttr) {
|
|
106
|
+
asAttr.name = j.jsxIdentifier("_as");
|
|
107
|
+
hasChanges = true;
|
|
108
|
+
}
|
|
109
|
+
// --- text="..." → children (only for direct <Tag> usage) ---
|
|
110
|
+
const textAttr = findAttribute(opening, "text");
|
|
111
|
+
if (textAttr) {
|
|
112
|
+
const textValue = textAttr.value;
|
|
113
|
+
// Remove the text attribute
|
|
114
|
+
opening.attributes = (_a = opening.attributes) === null || _a === void 0 ? void 0 : _a.filter((a) => {
|
|
115
|
+
if (a.type !== "JSXAttribute") {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
return a.name.type === "JSXIdentifier" && a.name.name !== "text";
|
|
119
|
+
});
|
|
120
|
+
// Convert self-closing to open/close if needed
|
|
121
|
+
if (path.value.openingElement.selfClosing) {
|
|
122
|
+
path.value.openingElement.selfClosing = false;
|
|
123
|
+
path.value.closingElement = j.jsxClosingElement(j.jsxIdentifier("Tag"));
|
|
124
|
+
}
|
|
125
|
+
if ((textValue === null || textValue === void 0 ? void 0 : textValue.type) === "StringLiteral") {
|
|
126
|
+
path.value.children = [j.jsxText(textValue.value)];
|
|
127
|
+
}
|
|
128
|
+
else if ((textValue === null || textValue === void 0 ? void 0 : textValue.type) === "JSXExpressionContainer") {
|
|
129
|
+
path.value.children = [textValue];
|
|
130
|
+
}
|
|
131
|
+
hasChanges = true;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
// --- Pass 2: Polymorphic as={Tag} usage (e.g. <Stack as={Tag} variant="bordered" />) ---
|
|
135
|
+
root.find(j.JSXOpeningElement).forEach((path) => {
|
|
136
|
+
var _a;
|
|
137
|
+
const opening = path.value;
|
|
138
|
+
const asAttr = findAttribute(opening, "as");
|
|
139
|
+
if (!asAttr) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
// Check for as={Tag}
|
|
143
|
+
const isTagAs = ((_a = asAttr.value) === null || _a === void 0 ? void 0 : _a.type) === "JSXExpressionContainer" &&
|
|
144
|
+
asAttr.value.expression.type === "Identifier" &&
|
|
145
|
+
asAttr.value.expression.name === "Tag";
|
|
146
|
+
if (!isTagAs) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if (transformTagProps(opening, j)) {
|
|
150
|
+
hasChanges = true;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
if (!hasChanges) {
|
|
154
|
+
return file.source;
|
|
155
|
+
}
|
|
156
|
+
return root.toSource({ quote: "double" });
|
|
157
|
+
}
|
|
158
|
+
function findAttribute(opening, name) {
|
|
159
|
+
var _a;
|
|
160
|
+
return (_a = opening.attributes) === null || _a === void 0 ? void 0 : _a.find((attr) => attr.type === "JSXAttribute" &&
|
|
161
|
+
attr.name.type === "JSXIdentifier" &&
|
|
162
|
+
attr.name.name === name);
|
|
163
|
+
}
|