@luscii-healthtech/web-ui 58.19.2 → 59.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/Accordion/AccordionItem.js +2 -2
- package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +9 -29
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Avatar/AvatarGroup.js +2 -8
- package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js +1 -3
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/ButtonV2/ButtonV2.js +11 -10
- package/dist/esm/components/ButtonV2/ButtonV2.js.map +1 -1
- package/dist/esm/components/ButtonV2/PrimaryButton.js +1 -1
- package/dist/esm/components/ButtonV2/PrimaryButton.js.map +1 -1
- package/dist/esm/components/ButtonV2/SecondaryButton.js +1 -1
- package/dist/esm/components/ButtonV2/TertiaryButton.js +1 -1
- package/dist/esm/components/Card/Card.js +4 -4
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/CenteredHero/CenteredHero.js +2 -2
- package/dist/esm/components/CenteredHero/CenteredHero.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js +5 -13
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js.map +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js.map +1 -1
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js +2 -2
- package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +2 -3
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/EmptyListMessage/EmptyListMessage.js +1 -1
- package/dist/esm/components/EmptyListMessage/EmptyListMessage.js.map +1 -1
- package/dist/esm/components/FlyOutMenu/FlyOutMenu.js +3 -4
- package/dist/esm/components/FlyOutMenu/FlyOutMenu.js.map +1 -1
- package/dist/esm/components/InfoField/InfoField.js +1 -1
- package/dist/esm/components/InfoField/InfoField.js.map +1 -1
- package/dist/esm/components/Input/SearchInput.js.map +1 -1
- package/dist/esm/components/MediaPicker/ImageCategory.js +1 -1
- package/dist/esm/components/MediaPicker/ImageCategory.js.map +1 -1
- package/dist/esm/components/MediaPicker/MediaPicker.js +1 -1
- package/dist/esm/components/MediaPicker/MediaPicker.js.map +1 -1
- package/dist/esm/components/Modal/FullPageModal.js +2 -2
- package/dist/esm/components/Modal/FullPageModal.js.map +1 -1
- package/dist/esm/components/Modal/FullPageModalHeader.js +2 -3
- package/dist/esm/components/Modal/FullPageModalHeader.js.map +1 -1
- package/dist/esm/components/Modal/ModalBase.js +1 -1
- package/dist/esm/components/Modal/ModalBase.js.map +1 -1
- package/dist/esm/components/Modal/ModalFooter.js +3 -5
- package/dist/esm/components/Modal/ModalFooter.js.map +1 -1
- package/dist/esm/components/Modal/ModalHeader.js +2 -2
- package/dist/esm/components/Modal/ModalHeader.js.map +1 -1
- package/dist/esm/components/Page/CRUDPage.js +3 -7
- package/dist/esm/components/Page/CRUDPage.js.map +1 -1
- package/dist/esm/components/Page/Page.js +2 -2
- package/dist/esm/components/Page/Page.js.map +1 -1
- package/dist/esm/components/PaginationMenu/PaginationMenu.js +1 -1
- package/dist/esm/components/PaginationMenu/PaginationMenu.js.map +1 -1
- package/dist/esm/components/RangeCoverage/RangeCoverage.js +2 -2
- package/dist/esm/components/RangeCoverage/RangeCoverage.js.map +1 -1
- package/dist/esm/components/Section/Section.js.map +1 -1
- package/dist/esm/components/Section/SectionItemWithContent.js +1 -1
- package/dist/esm/components/Section/SectionItemWithContent.js.map +1 -1
- package/dist/esm/components/Section/subcomponents/SectionHeader.js +2 -2
- package/dist/esm/components/Section/subcomponents/SectionHeader.js.map +1 -1
- package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js +3 -3
- package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js.map +1 -1
- package/dist/esm/components/Switcher/SwitcherItem.js +1 -1
- package/dist/esm/components/Switcher/SwitcherItem.js.map +1 -1
- package/dist/esm/components/Table/TableBodyRowDataCell.js +2 -1
- package/dist/esm/components/Table/TableBodyRowDataCell.js.map +1 -1
- package/dist/esm/components/Tag/TagGroup.js +2 -3
- package/dist/esm/components/Tag/TagGroup.js.map +1 -1
- package/dist/esm/components/Text/Text.js +7 -15
- package/dist/esm/components/Text/Text.js.map +1 -1
- package/dist/esm/components/TextEditor/LinkTooltip.js +1 -1
- package/dist/esm/components/TextEditor/LinkTooltip.js.map +1 -1
- package/dist/esm/components/Timeline/TimelineHeader.js +2 -2
- package/dist/esm/components/Timeline/TimelineHeader.js.map +1 -1
- package/dist/esm/components/Timeline/TimelineStep.js +1 -1
- package/dist/esm/components/Timeline/TimelineStep.js.map +1 -1
- package/dist/esm/components/TimelineCard/TimelineCard.js +6 -8
- package/dist/esm/components/TimelineCard/TimelineCard.js.map +1 -1
- package/dist/esm/components/Title/PageTitle.js +1 -0
- package/dist/esm/components/Title/PageTitle.js.map +1 -1
- package/dist/esm/index.js +2 -20
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/system/Sizes.js.map +1 -1
- package/dist/index.development.js +668 -1139
- 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/ActionController/ActionController.d.ts +1 -1
- package/dist/src/components/Avatar/Avatar.d.ts +9 -42
- package/dist/src/components/Badge/Badge.d.ts +0 -4
- package/dist/src/components/Box/Box.d.ts +3 -3
- package/dist/src/components/ButtonV2/ButtonProps.type.d.ts +0 -13
- package/dist/src/components/Card/Card.d.ts +3 -3
- package/dist/src/components/Checkbox/Checkbox.d.ts +2 -11
- package/dist/src/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
- package/dist/src/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -10
- package/dist/src/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
- package/dist/src/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
- package/dist/src/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
- package/dist/src/components/Icons/types/IconProps.type.d.ts +1 -1
- package/dist/src/components/Input/Input.d.ts +1 -1
- package/dist/src/components/Input/SearchInput.d.ts +0 -11
- package/dist/src/components/Input/StyledInput.d.ts +2 -2
- package/dist/src/components/InputSelect/InputSelect.d.ts +1 -1
- package/dist/src/components/InputSelect/InputSelect.utils.d.ts +1 -1
- package/dist/src/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/dist/src/components/Modal/FullPageModal.d.ts +0 -10
- package/dist/src/components/Modal/FullPageModalHeader.d.ts +0 -7
- package/dist/src/components/Modal/ModalFooter.d.ts +0 -17
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -5
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
- package/dist/src/components/Page/CRUDPage.types.d.ts +0 -25
- package/dist/src/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
- package/dist/src/components/Section/Section.d.ts +0 -4
- package/dist/src/components/Select/StyledSelect.d.ts +2 -2
- package/dist/src/components/Stack/Stack.d.ts +1 -1
- package/dist/src/components/Table/Table.types.d.ts +6 -3
- package/dist/src/components/Tag/TagGroup.d.ts +1 -17
- package/dist/src/components/Text/Text.d.ts +0 -33
- package/dist/src/components/Timeline/TimelineHeader.d.ts +3 -3
- package/dist/src/components/TimelineCard/TimelineCard.d.ts +2 -21
- package/dist/src/components/Title/PageTitle.d.ts +1 -0
- package/dist/src/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/dist/src/components/forms/shared/LabelText.d.ts +1 -1
- package/dist/src/generated/components/ActionController/ActionController.d.ts +1 -1
- package/dist/src/generated/components/Avatar/Avatar.d.ts +9 -42
- package/dist/src/generated/components/Badge/Badge.d.ts +0 -4
- package/dist/src/generated/components/Box/Box.d.ts +3 -3
- package/dist/src/generated/components/ButtonV2/ButtonProps.type.d.ts +0 -13
- package/dist/src/generated/components/Card/Card.d.ts +3 -3
- package/dist/src/generated/components/Checkbox/Checkbox.d.ts +2 -11
- package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
- package/dist/src/generated/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
- package/dist/src/generated/components/DatePicker/DatePicker.d.ts +0 -10
- package/dist/src/generated/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
- package/dist/src/generated/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
- package/dist/src/generated/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
- package/dist/src/generated/components/Icons/types/IconProps.type.d.ts +1 -1
- package/dist/src/generated/components/Input/Input.d.ts +1 -1
- package/dist/src/generated/components/Input/SearchInput.d.ts +0 -11
- package/dist/src/generated/components/Input/StyledInput.d.ts +2 -2
- package/dist/src/generated/components/InputSelect/InputSelect.d.ts +1 -1
- package/dist/src/generated/components/InputSelect/InputSelect.utils.d.ts +1 -1
- package/dist/src/generated/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/dist/src/generated/components/Modal/FullPageModal.d.ts +0 -10
- package/dist/src/generated/components/Modal/FullPageModalHeader.d.ts +0 -7
- package/dist/src/generated/components/Modal/ModalFooter.d.ts +0 -17
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -5
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
- package/dist/src/generated/components/Page/CRUDPage.types.d.ts +0 -25
- package/dist/src/generated/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
- package/dist/src/generated/components/Section/Section.d.ts +0 -4
- package/dist/src/generated/components/Select/StyledSelect.d.ts +2 -2
- package/dist/src/generated/components/Stack/Stack.d.ts +1 -1
- package/dist/src/generated/components/Table/Table.types.d.ts +6 -3
- package/dist/src/generated/components/Tag/TagGroup.d.ts +1 -17
- package/dist/src/generated/components/Text/Text.d.ts +0 -33
- package/dist/src/generated/components/Timeline/TimelineHeader.d.ts +3 -3
- package/dist/src/generated/components/TimelineCard/TimelineCard.d.ts +2 -21
- package/dist/src/generated/components/Title/PageTitle.d.ts +1 -0
- package/dist/src/generated/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/dist/src/generated/components/forms/shared/LabelText.d.ts +1 -1
- package/dist/src/generated/index.d.ts +2 -11
- package/dist/src/generated/system/Sizes.d.ts +2 -5
- package/dist/src/generated/types/general.types.d.ts +1 -1
- package/dist/src/index.d.ts +2 -11
- package/dist/src/system/Sizes.d.ts +2 -5
- package/dist/src/types/general.types.d.ts +1 -1
- package/dist/stories/AccordionListRecipe.stories.d.ts +1 -2
- package/dist/stories/ActionController.stories.d.ts +6 -6
- package/dist/stories/AsideLayout.stories.d.ts +6 -6
- package/dist/stories/Avatar.stories.d.ts +4 -9
- package/dist/stories/Badge.stories.d.ts +0 -1
- package/dist/stories/Box.stories.d.ts +6 -6
- package/dist/stories/DatePicker.stories.d.ts +0 -1
- package/dist/stories/DetailsDisclosure.stories.d.ts +1669 -1669
- package/dist/stories/Divider.stories.d.ts +12 -12
- package/dist/stories/FullPageModal.stories.d.ts +0 -11
- package/dist/stories/HoverIndicatorControl.stories.d.ts +6 -6
- package/dist/stories/LabeledDatePicker.stories.d.ts +0 -1
- package/dist/stories/ListRecipe.stories.d.ts +1 -2
- package/dist/stories/ModalDialog.stories.d.ts +3553 -3553
- package/dist/stories/NaturalLanguageForm.stories.d.ts +0 -4
- package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +18 -18
- package/dist/stories/PrimaryTabBar.stories.d.ts +44 -44
- package/dist/stories/RangeCoverage.stories.d.ts +1 -1
- package/dist/stories/Section.stories.d.ts +6 -6
- package/dist/stories/SplitViewLayout.stories.d.ts +6 -6
- package/dist/stories/Stack.stories.d.ts +1 -1
- package/dist/stories/StyledOrderedList.stories.d.ts +44 -44
- package/dist/stories/StyledUnorderedList.stories.d.ts +44 -44
- package/dist/stories/Tabs.stories.d.ts +6 -6
- package/dist/stories/Text.stories.d.ts +0 -20
- package/dist/stories/TextColors.stories.d.ts +0 -1
- package/dist/stories/TextLegacy.stories.d.ts +0 -3
- package/dist/stories/TimelineCard.stories.d.ts +0 -8
- package/dist/stories/TimelineCardLayout.stories.d.ts +6 -6
- package/dist/stories/VerticalMenu.stories.d.ts +6 -6
- package/dist/web-ui-tailwind.css +0 -127
- package/package.json +18 -24
- package/dist/esm/components/AccordionList/AccordionList.js +0 -74
- package/dist/esm/components/AccordionList/AccordionList.js.map +0 -1
- package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js +0 -8
- package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js.map +0 -1
- package/dist/esm/components/BaseList/BaseList.js +0 -28
- package/dist/esm/components/BaseList/BaseList.js.map +0 -1
- package/dist/esm/components/BaseList/BaseListEmptyState.js +0 -14
- package/dist/esm/components/BaseList/BaseListEmptyState.js.map +0 -1
- package/dist/esm/components/BaseList/BaseListHeader.js +0 -24
- package/dist/esm/components/BaseList/BaseListHeader.js.map +0 -1
- package/dist/esm/components/BaseList/BaseListIcon.js +0 -19
- package/dist/esm/components/BaseList/BaseListIcon.js.map +0 -1
- package/dist/esm/components/BaseList/BaseListItem.js +0 -40
- package/dist/esm/components/BaseList/BaseListItem.js.map +0 -1
- package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js +0 -12
- package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js.map +0 -1
- package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js +0 -22
- package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js.map +0 -1
- package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js +0 -8
- package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js.map +0 -1
- package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js +0 -13
- package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js.map +0 -1
- package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js +0 -5
- package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js.map +0 -1
- package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js +0 -13
- package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js.map +0 -1
- package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js +0 -28
- package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js.map +0 -1
- package/dist/esm/components/BaseList/utils.js +0 -29
- package/dist/esm/components/BaseList/utils.js.map +0 -1
- package/dist/esm/components/List/List.js +0 -125
- package/dist/esm/components/List/List.js.map +0 -1
- package/dist/esm/components/List/ListItem.js +0 -16
- package/dist/esm/components/List/ListItem.js.map +0 -1
- package/dist/esm/components/Radio/RadioV2.js +0 -19
- package/dist/esm/components/Radio/RadioV2.js.map +0 -1
- package/dist/esm/components/RadioGroup/RadioGroupV2.js +0 -22
- package/dist/esm/components/RadioGroup/RadioGroupV2.js.map +0 -1
- package/dist/esm/components/TextLink/TextLink.js +0 -19
- package/dist/esm/components/TextLink/TextLink.js.map +0 -1
- package/dist/esm/components/Title/Title.js +0 -51
- package/dist/esm/components/Title/Title.js.map +0 -1
- package/dist/src/components/AccordionList/AccordionList.d.ts +0 -54
- package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
- package/dist/src/components/BaseList/BaseList.d.ts +0 -7
- package/dist/src/components/BaseList/BaseList.types.d.ts +0 -88
- package/dist/src/components/BaseList/BaseListEmptyState.d.ts +0 -7
- package/dist/src/components/BaseList/BaseListHeader.d.ts +0 -4
- package/dist/src/components/BaseList/BaseListIcon.d.ts +0 -5
- package/dist/src/components/BaseList/BaseListItem.d.ts +0 -4
- package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
- package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
- package/dist/src/components/BaseList/DraggableBaseList/index.d.ts +0 -2
- package/dist/src/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
- package/dist/src/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
- package/dist/src/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
- package/dist/src/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
- package/dist/src/components/BaseList/SortableBaseList/index.d.ts +0 -2
- package/dist/src/components/BaseList/index.d.ts +0 -6
- package/dist/src/components/BaseList/utils.d.ts +0 -10
- package/dist/src/components/List/List.d.ts +0 -8
- package/dist/src/components/List/List.types.d.ts +0 -30
- package/dist/src/components/List/ListItem.d.ts +0 -4
- package/dist/src/components/List/index.d.ts +0 -5
- package/dist/src/components/Radio/RadioV2.d.ts +0 -23
- package/dist/src/components/RadioGroup/RadioGroupV2.d.ts +0 -23
- package/dist/src/components/TextLink/TextLink.d.ts +0 -14
- package/dist/src/components/Title/Title.d.ts +0 -44
- package/dist/src/generated/components/AccordionList/AccordionList.d.ts +0 -54
- package/dist/src/generated/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
- package/dist/src/generated/components/BaseList/BaseList.d.ts +0 -7
- package/dist/src/generated/components/BaseList/BaseList.types.d.ts +0 -88
- package/dist/src/generated/components/BaseList/BaseListEmptyState.d.ts +0 -7
- package/dist/src/generated/components/BaseList/BaseListHeader.d.ts +0 -4
- package/dist/src/generated/components/BaseList/BaseListIcon.d.ts +0 -5
- package/dist/src/generated/components/BaseList/BaseListItem.d.ts +0 -4
- package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
- package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
- package/dist/src/generated/components/BaseList/DraggableBaseList/index.d.ts +0 -2
- package/dist/src/generated/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
- package/dist/src/generated/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
- package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
- package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
- package/dist/src/generated/components/BaseList/SortableBaseList/index.d.ts +0 -2
- package/dist/src/generated/components/BaseList/index.d.ts +0 -6
- package/dist/src/generated/components/BaseList/utils.d.ts +0 -10
- package/dist/src/generated/components/List/List.d.ts +0 -8
- package/dist/src/generated/components/List/List.types.d.ts +0 -30
- package/dist/src/generated/components/List/ListItem.d.ts +0 -4
- package/dist/src/generated/components/List/index.d.ts +0 -5
- package/dist/src/generated/components/Radio/RadioV2.d.ts +0 -23
- package/dist/src/generated/components/RadioGroup/RadioGroupV2.d.ts +0 -23
- package/dist/src/generated/components/TextLink/TextLink.d.ts +0 -14
- package/dist/src/generated/components/Title/Title.d.ts +0 -44
- package/dist/stories/AccordionList.stories.d.ts +0 -120
- package/dist/stories/BaseList.stories.d.ts +0 -16
- package/dist/stories/Checkbox.stories.d.ts +0 -61
- package/dist/stories/DraggableAccordionList.stories.d.ts +0 -11
- package/dist/stories/DraggableList.stories.d.ts +0 -9
- package/dist/stories/EmptyListMessage.stories.d.ts +0 -32
- package/dist/stories/List.stories.d.ts +0 -248
- package/dist/stories/RadioGroupV2.stories.d.ts +0 -37
- package/dist/stories/RadioV2.stories.d.ts +0 -42
- package/dist/stories/SortableList.stories.d.ts +0 -9
- package/dist/stories/TextLink.stories.d.ts +0 -10
- package/dist/stories/Title.stories.d.ts +0 -16
|
@@ -74,35 +74,12 @@ export type TextStyle = keyof typeof allowedTextStyles;
|
|
|
74
74
|
*/
|
|
75
75
|
export type LegacyTextProps<C extends ElementType> = ComponentPropsWithoutRef<C> & {
|
|
76
76
|
as?: C;
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated
|
|
79
|
-
* Use `children` instead, as you would with a regular `<p>` tag.
|
|
80
|
-
*/
|
|
81
|
-
text?: string;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated
|
|
84
|
-
* Use `variant` instead. "type" is a word that is too ambiguous and
|
|
85
|
-
* is also often used as an attribute name in HTML.
|
|
86
|
-
*
|
|
87
|
-
* @default "base"
|
|
88
|
-
*/
|
|
89
|
-
type?: TextStyle;
|
|
90
77
|
/**
|
|
91
78
|
* The styling variant of the text.
|
|
92
79
|
*
|
|
93
80
|
* @default "base"
|
|
94
81
|
*/
|
|
95
82
|
variant?: TextStyle;
|
|
96
|
-
/**
|
|
97
|
-
* Changes the component to be rendered inline. This is useful for
|
|
98
|
-
* using this component inside of itself, for example, when you want
|
|
99
|
-
* to render bold text inside of a paragraph rendered by this same component.
|
|
100
|
-
*
|
|
101
|
-
* @default false
|
|
102
|
-
*
|
|
103
|
-
* @deprecated use `as="span"` instead.
|
|
104
|
-
*/
|
|
105
|
-
inline?: boolean;
|
|
106
83
|
/**
|
|
107
84
|
* @default "base"
|
|
108
85
|
*/
|
|
@@ -111,16 +88,6 @@ export type LegacyTextProps<C extends ElementType> = ComponentPropsWithoutRef<C>
|
|
|
111
88
|
* @default "base"
|
|
112
89
|
*/
|
|
113
90
|
hoverColor?: TextHoverColor;
|
|
114
|
-
/**
|
|
115
|
-
* Tailwind class modifier that allows you to apply hover styles on this component
|
|
116
|
-
* based on the styles of its parent.
|
|
117
|
-
* https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state
|
|
118
|
-
*
|
|
119
|
-
* @deprecated
|
|
120
|
-
* Since this is a Tailwind specific feature we should not expose this to the consumer. We
|
|
121
|
-
* should only use group-hover styles in the components in WebUI instead.
|
|
122
|
-
*/
|
|
123
|
-
hoverInGroup?: boolean;
|
|
124
91
|
className?: string;
|
|
125
92
|
/**
|
|
126
93
|
* Interpret an HTML string as regular markup, instead of rendering it as a string.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { FC } from "react";
|
|
1
|
+
import type { FC, ReactNode } from "react";
|
|
2
2
|
import { type ButtonDefinitionWithKey, type ButtonProps } from "../ButtonV2/ButtonProps.type";
|
|
3
|
-
import { type TitleProps } from "../Title/Title";
|
|
4
3
|
export type TimelineHeaderProps = {
|
|
5
|
-
|
|
4
|
+
/** A string renders as the default heading; pass a node to render your own. */
|
|
5
|
+
title?: ReactNode;
|
|
6
6
|
buttons?: ButtonDefinitionWithKey<ButtonProps>[];
|
|
7
7
|
withBorder?: boolean;
|
|
8
8
|
};
|
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
import { type FC, type ReactNode } from "react";
|
|
2
|
-
import { type IconKey } from "../Icons/types/IconProps.type";
|
|
3
2
|
type Props = {
|
|
4
3
|
title: ReactNode;
|
|
5
4
|
subtitle?: ReactNode;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated use leadingIcon instead.
|
|
8
|
-
*/
|
|
9
|
-
icon?: {
|
|
10
|
-
url: string;
|
|
11
|
-
iconKey?: never;
|
|
12
|
-
} | {
|
|
13
|
-
iconKey: IconKey;
|
|
14
|
-
url?: never;
|
|
15
|
-
};
|
|
16
5
|
/**
|
|
17
6
|
* The icon to render on the leading side of the card
|
|
18
7
|
*/
|
|
@@ -25,18 +14,10 @@ type Props = {
|
|
|
25
14
|
* Copy to display the status of the card
|
|
26
15
|
*/
|
|
27
16
|
statusText?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The state of the card, options are:
|
|
30
|
-
* - default
|
|
31
|
-
* - highlighted
|
|
32
|
-
* - bold
|
|
33
|
-
* @default "default"
|
|
34
|
-
*
|
|
35
|
-
* @deprecated use variant instead
|
|
36
|
-
*/
|
|
37
|
-
state?: "default" | "highlighted" | "bold";
|
|
38
17
|
/**
|
|
39
18
|
* The variant to present
|
|
19
|
+
*
|
|
20
|
+
* @default "default"
|
|
40
21
|
*/
|
|
41
22
|
variant?: "default" | "highlighted" | "bold";
|
|
42
23
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps } from "react";
|
|
2
|
-
import { Text } from "../../../../components/Text/Text.
|
|
2
|
+
import { Text } from "../../../../components/Text/Text.js";
|
|
3
3
|
type Props = ComponentProps<typeof Text>;
|
|
4
4
|
export declare const LabelText: (props: Props) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { SIZES } from "./system/Sizes";
|
|
2
1
|
export { FlexColumn } from "./components/Container/FlexColumn";
|
|
3
2
|
export { FlexRow } from "./components/Container/FlexRow";
|
|
4
3
|
export type { FlexContainerProps } from "./components/Container/types/FlexContainerProps.type";
|
|
@@ -11,12 +10,11 @@ export { toast } from "./components/Toaster/toast";
|
|
|
11
10
|
* to the new version.
|
|
12
11
|
*/
|
|
13
12
|
export { default as AccordionTemporary } from "./components/Accordion/Accordion";
|
|
14
|
-
export { AccordionList, type AccordionListItemProps, type AccordionListProps, } from "./components/AccordionList/AccordionList";
|
|
15
13
|
export { Modal, type ModalProps } from "./components/Modal/Modal";
|
|
16
14
|
export { ChatBubble } from "./components/ChatBubble/ChatBubble";
|
|
17
15
|
export { type ModalSize, type ModalBaseProps, } from "./components/Modal/ModalBase";
|
|
18
16
|
export { type ModalHeaderProps } from "./components/Modal/ModalHeader";
|
|
19
|
-
export { type ModalFooterProps, type
|
|
17
|
+
export { type ModalFooterProps, type ModalFooterTrailingComponents, } from "./components/Modal/ModalFooter";
|
|
20
18
|
export { Avatar } from "./components/Avatar/Avatar";
|
|
21
19
|
export { AvatarGroup } from "./components/Avatar/AvatarGroup";
|
|
22
20
|
export { default as Badge } from "./components/Badge/Badge";
|
|
@@ -30,7 +28,6 @@ export { TertiaryIconButton } from "./components/ButtonV2/TertiaryIconButton";
|
|
|
30
28
|
export { ButtonGroup, type ButtonGroupProps, } from "./components/ButtonGroup/ButtonGroup";
|
|
31
29
|
export { default as Carousel } from "./components/Carousel/Carousel";
|
|
32
30
|
export { default as CenteredHero } from "./components/CenteredHero/CenteredHero";
|
|
33
|
-
export { Checkbox } from "./components/Checkbox/Checkbox";
|
|
34
31
|
export { LabeledCheckbox } from "./components/Checkbox/LabeledCheckbox";
|
|
35
32
|
export { LabeledCheckboxGroup } from "./components/Checkbox/LabeledCheckboxGroup";
|
|
36
33
|
export { LabeledCheckboxCard } from "./components/Checkbox/LabeledCheckbox";
|
|
@@ -42,7 +39,6 @@ export { ConfirmationDialog } from "./components/ConfirmationDialog/Confirmation
|
|
|
42
39
|
export type { ConfirmationDialogChoice, ConfirmationDialogProps, ConfirmationDialogTitleProps, } from "./components/ConfirmationDialog/types/ConfirmationDialog.types";
|
|
43
40
|
export { DatePicker } from "./components/DatePicker/DatePicker";
|
|
44
41
|
export { DatePicker as DatePickerV2 } from "./components/DatePicker/DatePicker";
|
|
45
|
-
export { EmptyListMessage } from "./components/EmptyListMessage/EmptyListMessage";
|
|
46
42
|
export { InfoField } from "./components/InfoField/InfoField";
|
|
47
43
|
export { default as Input } from "./components/Input/Input";
|
|
48
44
|
export { FlyOutMenu } from "./components/FlyOutMenu/FlyOutMenu";
|
|
@@ -66,7 +62,6 @@ export { prepareClientSidePagination } from "./components/Table/Table.utils";
|
|
|
66
62
|
export { TableNew } from "./components/TableNew/TableNew";
|
|
67
63
|
export { type TableFieldConfig, type TableFieldContent, type TableFieldText, type TableFieldAction, } from "./components/Table/Table.types";
|
|
68
64
|
export { LoadingIndicator, type LoadingIndicatorProps, } from "./components/LoadingIndicator/LoadingIndicator";
|
|
69
|
-
export { List, ListItem, type ListProps, type ListItemProps, type DraggableListProps, type SortableListProps, type SortableListItemProps, type OnAssetLoadErrorPayload, getDndListItemProps, } from "./components/List";
|
|
70
65
|
export { CheckboxList, type CheckboxListProps, } from "./components/CheckboxList/CheckboxList";
|
|
71
66
|
export { NavLayout, type Props as NavLayoutProps, } from "./components/NavMenu/NavLayout";
|
|
72
67
|
export { NotificationBanner, type NotificationBannerColor, type NotificationBannerLinkProps, } from "./components/NotificationBanner/NotificationBanner";
|
|
@@ -74,9 +69,7 @@ export { Page, CRUDPage, type CRUDPageProps } from "./components/Page";
|
|
|
74
69
|
export { PaginationMenu } from "./components/PaginationMenu/PaginationMenu";
|
|
75
70
|
export { type PageSize as PaginationMenuPageSize, type OnPaginationChange as OnPaginationMenuChange, type Localization as PaginationMenuLocalization, type PaginationMenuProps, } from "./components/PaginationMenu/PaginationMenu.types";
|
|
76
71
|
export { default as PreviewPhone } from "./components/PreviewPhone/PreviewPhone";
|
|
77
|
-
export {
|
|
78
|
-
export { type RadioGroupProps, RadioGroupV2, } from "./components/RadioGroup/RadioGroupV2";
|
|
79
|
-
export { default as Section, type SectionProps, } from "./components/Section/Section";
|
|
72
|
+
export { default as Section } from "./components/Section/Section";
|
|
80
73
|
export { default as SectionItemWithContent } from "./components/Section/SectionItemWithContent";
|
|
81
74
|
export { default as SectionItem, type SectionItemProps, } from "./components/Section/SectionItem";
|
|
82
75
|
export { type SelectProps, Select } from "./components/Select/Select";
|
|
@@ -104,9 +97,7 @@ export { Textarea, type TextareaProps, type ResizeTypes, } from "./components/Te
|
|
|
104
97
|
export { TextEditor, type TextEditorTag, } from "./components/TextEditor/TextEditor";
|
|
105
98
|
export { type TextEditorTranslations } from "./components/TextEditor/textEditorTranslations";
|
|
106
99
|
export { Link } from "./components/Link/Link";
|
|
107
|
-
export { TextLink, type TextLinkProps } from "./components/TextLink/TextLink";
|
|
108
100
|
export { Heading } from "./components/Heading/Heading";
|
|
109
|
-
export { Title, type TitleStyle } from "./components/Title/Title";
|
|
110
101
|
export { PageTitle } from "./components/Title/PageTitle";
|
|
111
102
|
export { Timeline } from "./components/Timeline/Timeline";
|
|
112
103
|
export { UnorderedList, UList } from "./components/UnorderedList/UnorderedList";
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @deprecated Use `SpacingKeys` instead.
|
|
5
|
-
* These sizes were incorrect from the start, and we're moving towards a new
|
|
6
|
-
* system of spacing that is more intuitive and consistent.
|
|
2
|
+
* The original size scale. Internal: it only types `Box`'s `width` and
|
|
3
|
+
* border-radius props. Spacing uses `SpacingKey` instead.
|
|
7
4
|
*/
|
|
8
5
|
export declare const SIZES: {
|
|
9
6
|
readonly none: "0";
|
|
@@ -12,6 +12,6 @@ export type BackgroundColor = "base" | "blue" | "red" | "green" | "amber" | "sur
|
|
|
12
12
|
* Format: {category}-{variant}
|
|
13
13
|
* These map to the semantic tokens: semanticTokens.color.background.{category}.{variant}
|
|
14
14
|
*/
|
|
15
|
-
export type SemanticBackgroundColor = keyof typeof import("../../tokens/generated/tokens.
|
|
15
|
+
export type SemanticBackgroundColor = keyof typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background extends infer K ? K extends keyof typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background ? keyof (typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background)[K] extends infer V ? V extends keyof (typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background)[K] ? `${K & string}-${V & string}` : never : never : never : never;
|
|
16
16
|
export type FormFieldSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
17
17
|
export type CursorOption = "auto" | "default" | "pointer" | "wait" | "move" | "help" | "not-allowed" | "progress" | "copy" | "no-drop" | "grab" | "grabbing";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { SIZES } from "./system/Sizes";
|
|
2
1
|
export { FlexColumn } from "./components/Container/FlexColumn";
|
|
3
2
|
export { FlexRow } from "./components/Container/FlexRow";
|
|
4
3
|
export type { FlexContainerProps } from "./components/Container/types/FlexContainerProps.type";
|
|
@@ -11,12 +10,11 @@ export { toast } from "./components/Toaster/toast";
|
|
|
11
10
|
* to the new version.
|
|
12
11
|
*/
|
|
13
12
|
export { default as AccordionTemporary } from "./components/Accordion/Accordion";
|
|
14
|
-
export { AccordionList, type AccordionListItemProps, type AccordionListProps, } from "./components/AccordionList/AccordionList";
|
|
15
13
|
export { Modal, type ModalProps } from "./components/Modal/Modal";
|
|
16
14
|
export { ChatBubble } from "./components/ChatBubble/ChatBubble";
|
|
17
15
|
export { type ModalSize, type ModalBaseProps, } from "./components/Modal/ModalBase";
|
|
18
16
|
export { type ModalHeaderProps } from "./components/Modal/ModalHeader";
|
|
19
|
-
export { type ModalFooterProps, type
|
|
17
|
+
export { type ModalFooterProps, type ModalFooterTrailingComponents, } from "./components/Modal/ModalFooter";
|
|
20
18
|
export { Avatar } from "./components/Avatar/Avatar";
|
|
21
19
|
export { AvatarGroup } from "./components/Avatar/AvatarGroup";
|
|
22
20
|
export { default as Badge } from "./components/Badge/Badge";
|
|
@@ -30,7 +28,6 @@ export { TertiaryIconButton } from "./components/ButtonV2/TertiaryIconButton";
|
|
|
30
28
|
export { ButtonGroup, type ButtonGroupProps, } from "./components/ButtonGroup/ButtonGroup";
|
|
31
29
|
export { default as Carousel } from "./components/Carousel/Carousel";
|
|
32
30
|
export { default as CenteredHero } from "./components/CenteredHero/CenteredHero";
|
|
33
|
-
export { Checkbox } from "./components/Checkbox/Checkbox";
|
|
34
31
|
export { LabeledCheckbox } from "./components/Checkbox/LabeledCheckbox";
|
|
35
32
|
export { LabeledCheckboxGroup } from "./components/Checkbox/LabeledCheckboxGroup";
|
|
36
33
|
export { LabeledCheckboxCard } from "./components/Checkbox/LabeledCheckbox";
|
|
@@ -42,7 +39,6 @@ export { ConfirmationDialog } from "./components/ConfirmationDialog/Confirmation
|
|
|
42
39
|
export type { ConfirmationDialogChoice, ConfirmationDialogProps, ConfirmationDialogTitleProps, } from "./components/ConfirmationDialog/types/ConfirmationDialog.types";
|
|
43
40
|
export { DatePicker } from "./components/DatePicker/DatePicker";
|
|
44
41
|
export { DatePicker as DatePickerV2 } from "./components/DatePicker/DatePicker";
|
|
45
|
-
export { EmptyListMessage } from "./components/EmptyListMessage/EmptyListMessage";
|
|
46
42
|
export { InfoField } from "./components/InfoField/InfoField";
|
|
47
43
|
export { default as Input } from "./components/Input/Input";
|
|
48
44
|
export { FlyOutMenu } from "./components/FlyOutMenu/FlyOutMenu";
|
|
@@ -66,7 +62,6 @@ export { prepareClientSidePagination } from "./components/Table/Table.utils";
|
|
|
66
62
|
export { TableNew } from "./components/TableNew/TableNew";
|
|
67
63
|
export { type TableFieldConfig, type TableFieldContent, type TableFieldText, type TableFieldAction, } from "./components/Table/Table.types";
|
|
68
64
|
export { LoadingIndicator, type LoadingIndicatorProps, } from "./components/LoadingIndicator/LoadingIndicator";
|
|
69
|
-
export { List, ListItem, type ListProps, type ListItemProps, type DraggableListProps, type SortableListProps, type SortableListItemProps, type OnAssetLoadErrorPayload, getDndListItemProps, } from "./components/List";
|
|
70
65
|
export { CheckboxList, type CheckboxListProps, } from "./components/CheckboxList/CheckboxList";
|
|
71
66
|
export { NavLayout, type Props as NavLayoutProps, } from "./components/NavMenu/NavLayout";
|
|
72
67
|
export { NotificationBanner, type NotificationBannerColor, type NotificationBannerLinkProps, } from "./components/NotificationBanner/NotificationBanner";
|
|
@@ -74,9 +69,7 @@ export { Page, CRUDPage, type CRUDPageProps } from "./components/Page";
|
|
|
74
69
|
export { PaginationMenu } from "./components/PaginationMenu/PaginationMenu";
|
|
75
70
|
export { type PageSize as PaginationMenuPageSize, type OnPaginationChange as OnPaginationMenuChange, type Localization as PaginationMenuLocalization, type PaginationMenuProps, } from "./components/PaginationMenu/PaginationMenu.types";
|
|
76
71
|
export { default as PreviewPhone } from "./components/PreviewPhone/PreviewPhone";
|
|
77
|
-
export {
|
|
78
|
-
export { type RadioGroupProps, RadioGroupV2, } from "./components/RadioGroup/RadioGroupV2";
|
|
79
|
-
export { default as Section, type SectionProps, } from "./components/Section/Section";
|
|
72
|
+
export { default as Section } from "./components/Section/Section";
|
|
80
73
|
export { default as SectionItemWithContent } from "./components/Section/SectionItemWithContent";
|
|
81
74
|
export { default as SectionItem, type SectionItemProps, } from "./components/Section/SectionItem";
|
|
82
75
|
export { type SelectProps, Select } from "./components/Select/Select";
|
|
@@ -104,9 +97,7 @@ export { Textarea, type TextareaProps, type ResizeTypes, } from "./components/Te
|
|
|
104
97
|
export { TextEditor, type TextEditorTag, } from "./components/TextEditor/TextEditor";
|
|
105
98
|
export { type TextEditorTranslations } from "./components/TextEditor/textEditorTranslations";
|
|
106
99
|
export { Link } from "./components/Link/Link";
|
|
107
|
-
export { TextLink, type TextLinkProps } from "./components/TextLink/TextLink";
|
|
108
100
|
export { Heading } from "./components/Heading/Heading";
|
|
109
|
-
export { Title, type TitleStyle } from "./components/Title/Title";
|
|
110
101
|
export { PageTitle } from "./components/Title/PageTitle";
|
|
111
102
|
export { Timeline } from "./components/Timeline/Timeline";
|
|
112
103
|
export { UnorderedList, UList } from "./components/UnorderedList/UnorderedList";
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @deprecated Use `SpacingKeys` instead.
|
|
5
|
-
* These sizes were incorrect from the start, and we're moving towards a new
|
|
6
|
-
* system of spacing that is more intuitive and consistent.
|
|
2
|
+
* The original size scale. Internal: it only types `Box`'s `width` and
|
|
3
|
+
* border-radius props. Spacing uses `SpacingKey` instead.
|
|
7
4
|
*/
|
|
8
5
|
export declare const SIZES: {
|
|
9
6
|
readonly none: "0";
|
|
@@ -12,6 +12,6 @@ export type BackgroundColor = "base" | "blue" | "red" | "green" | "amber" | "sur
|
|
|
12
12
|
* Format: {category}-{variant}
|
|
13
13
|
* These map to the semantic tokens: semanticTokens.color.background.{category}.{variant}
|
|
14
14
|
*/
|
|
15
|
-
export type SemanticBackgroundColor = keyof typeof import("../tokens/generated/tokens.
|
|
15
|
+
export type SemanticBackgroundColor = keyof typeof import("../tokens/generated/tokens.js").semanticTokens.color.background extends infer K ? K extends keyof typeof import("../tokens/generated/tokens.js").semanticTokens.color.background ? keyof (typeof import("../tokens/generated/tokens.js").semanticTokens.color.background)[K] extends infer V ? V extends keyof (typeof import("../tokens/generated/tokens.js").semanticTokens.color.background)[K] ? `${K & string}-${V & string}` : never : never : never : never;
|
|
16
16
|
export type FormFieldSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
17
17
|
export type CursorOption = "auto" | "default" | "pointer" | "wait" | "move" | "help" | "not-allowed" | "progress" | "copy" | "no-drop" | "grab" | "grabbing";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { type StoryObj } from "@storybook/react-vite";
|
|
2
2
|
/**
|
|
3
3
|
* This recipe demonstrates how to build accordion list interfaces
|
|
4
|
-
* using composition with Card, UnorderedList, and DetailsDisclosure
|
|
5
|
-
* instead of the pre-configured AccordionList component.
|
|
4
|
+
* using composition with Card, UnorderedList, and DetailsDisclosure.
|
|
6
5
|
*
|
|
7
6
|
* This approach gives you complete control over the structure,
|
|
8
7
|
* styling, and behavior of your accordion lists.
|
|
@@ -19,14 +19,14 @@ declare const meta: {
|
|
|
19
19
|
activeBackgroundColor?: import("../src/types/general.types").SemanticBackgroundColor;
|
|
20
20
|
actionVisibility?: "always" | "on-interaction";
|
|
21
21
|
children: import("react").ReactNode;
|
|
22
|
-
} & Omit<Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "
|
|
22
|
+
} & Omit<Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "base" | "s" | "xs" | "xl" | "m" | "l" | "2xl" | "3xl" | "4xl">> & {
|
|
23
23
|
as?: import("react").ElementType | undefined;
|
|
24
|
-
elevation?: "
|
|
25
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/
|
|
24
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
25
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/system/Sizes").SIZES;
|
|
26
26
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
27
|
-
borderRadius?: keyof typeof import("../src/
|
|
28
|
-
borderRadiusLeft?: keyof typeof import("../src/
|
|
29
|
-
borderRadiusRight?: keyof typeof import("../src/
|
|
27
|
+
borderRadius?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
28
|
+
borderRadiusLeft?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
29
|
+
borderRadiusRight?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
30
30
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
31
31
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
32
32
|
} & {
|
|
@@ -5,14 +5,14 @@ declare const meta: {
|
|
|
5
5
|
aside?: import("react").ReactNode;
|
|
6
6
|
} & {
|
|
7
7
|
children?: import("react").ReactNode | undefined;
|
|
8
|
-
} & Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "
|
|
8
|
+
} & Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "base" | "s" | "xs" | "xl" | "m" | "l" | "2xl" | "3xl" | "4xl">> & {
|
|
9
9
|
as?: import("react").ElementType | undefined;
|
|
10
|
-
elevation?: "
|
|
11
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src").SIZES;
|
|
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/system/Sizes").SIZES;
|
|
12
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;
|
|
13
|
+
borderRadius?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
14
|
+
borderRadiusLeft?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
15
|
+
borderRadiusRight?: keyof typeof import("../src/system/Sizes").SIZES;
|
|
16
16
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
17
17
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
18
18
|
} & {
|
|
@@ -4,23 +4,18 @@ declare const meta: {
|
|
|
4
4
|
component: import("react").FC<{
|
|
5
5
|
src?: string;
|
|
6
6
|
alt?: string;
|
|
7
|
-
size?:
|
|
7
|
+
size?: "s" | "xs" | "m";
|
|
8
|
+
isSelf?: boolean;
|
|
8
9
|
defaultImage?: string;
|
|
9
10
|
className?: string;
|
|
10
11
|
applyGroupOffset?: boolean;
|
|
11
|
-
} & (
|
|
12
|
+
} & ({
|
|
12
13
|
initials: string;
|
|
13
14
|
children?: never;
|
|
14
15
|
} | {
|
|
15
16
|
children: import("react").ReactNode;
|
|
16
17
|
initials?: never;
|
|
17
|
-
})
|
|
18
|
-
isSelf?: boolean;
|
|
19
|
-
color?: never;
|
|
20
|
-
} | {
|
|
21
|
-
color: "primary" | "slate";
|
|
22
|
-
isSelf?: never;
|
|
23
|
-
}))>;
|
|
18
|
+
})>;
|
|
24
19
|
argTypes: {
|
|
25
20
|
size: {
|
|
26
21
|
control: {
|
|
@@ -3,14 +3,14 @@ import { type ComponentProps } from "react";
|
|
|
3
3
|
import { type BackgroundColor, type CursorOption } from "../src/types/general.types";
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: <C extends import("react").ElementType = "div">(props: import("react").PropsWithoutRef<ComponentProps<C>> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "
|
|
6
|
+
component: <C extends import("react").ElementType = "div">(props: import("react").PropsWithoutRef<ComponentProps<C>> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "base" | "s" | "xs" | "xl" | "m" | "l" | "2xl" | "3xl" | "4xl">> & {
|
|
7
7
|
as?: C | undefined;
|
|
8
|
-
elevation?: "
|
|
9
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/system/Sizes.
|
|
8
|
+
elevation?: "small" | "medium" | "large" | "base" | "drag" | "surface" | "extraLarge";
|
|
9
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
10
10
|
backgroundColor?: BackgroundColor;
|
|
11
|
-
borderRadius?: keyof typeof import("../src/system/Sizes.
|
|
12
|
-
borderRadiusLeft?: keyof typeof import("../src/system/Sizes.
|
|
13
|
-
borderRadiusRight?: keyof typeof import("../src/system/Sizes.
|
|
11
|
+
borderRadius?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
12
|
+
borderRadiusLeft?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
13
|
+
borderRadiusRight?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
14
14
|
hoverBackgroundColor?: BackgroundColor;
|
|
15
15
|
cursor?: CursorOption;
|
|
16
16
|
} & {
|
|
@@ -24,7 +24,6 @@ declare const meta: {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
27
|
-
locale?: keyof typeof import("../src/system/Locale").LOCALE_MAP | undefined;
|
|
28
27
|
className?: string | undefined;
|
|
29
28
|
selected?: Date | undefined;
|
|
30
29
|
hasCloseButton?: boolean | undefined;
|