@kaizen/components 1.67.11 → 1.67.13
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/codemods/migrateBrandMomentMoodToVariant/index.ts +1 -2
- package/codemods/migrateBrandMomentMoodToVariant/transformBrandMomentMoodToVariant.spec.ts +7 -3
- package/codemods/migrateCardVariantToColor/index.ts +1 -2
- package/codemods/migrateCardVariantToColor/transformCardVariantToColor.spec.ts +9 -3
- package/codemods/migrateConfirmationModalMoodsToVariant/index.ts +1 -2
- package/codemods/migrateConfirmationModalMoodsToVariant/transformConfirmationModalMoodsToVariant.spec.ts +8 -8
- package/codemods/migrateEmptyStateIllustrationTypeToVariant/index.ts +1 -2
- package/codemods/migrateEmptyStateIllustrationTypeToVariant/transformEmptyStateIllustrationTypeToVariant.spec.ts +7 -3
- package/codemods/migrateGlobalNotificationTypeToVariant/index.ts +2 -3
- package/codemods/migrateInformationTileMoodToVariant/index.ts +1 -2
- package/codemods/migrateInformationTileMoodToVariant/transformInformationTileMoodToVariant.spec.ts +7 -3
- package/codemods/migrateInlineNotificationTypeToVariant/index.ts +2 -3
- package/codemods/migrateMultiActionTileMoodToVariant/index.ts +0 -1
- package/codemods/migrateMultiActionTileMoodToVariant/transformMultiActionTileMoodToVariant.spec.ts +7 -3
- package/codemods/migrateNotificationTypeToVariant/migrateNotificationTypeToVariant.spec.ts +8 -8
- package/codemods/migrateProgressBarMoodToColor/index.ts +0 -1
- package/codemods/migrateProgressBarMoodToColor/transformProgressBarMoodToColor.spec.ts +7 -3
- package/codemods/migrateToastNotificationTypeToVariant/index.ts +1 -2
- package/codemods/migrateWellVariantToColor/index.ts +1 -2
- package/codemods/migrateWellVariantToColor/transformWellVariantToColor.spec.ts +12 -12
- package/codemods/migrateWellVariantToColor/transformWellVariantToColor.ts +2 -3
- package/codemods/removeInputEditModalMood/index.ts +1 -2
- package/codemods/removeInputEditModalMood/removeInputEditModalMood.spec.ts +4 -4
- package/codemods/removePopoverVariant/index.ts +1 -2
- package/codemods/removePopoverVariant/removePopoverVariant.spec.ts +5 -5
- package/codemods/upgradeIconV1/index.ts +5 -5
- package/codemods/upgradeIconV1/upgradeIconV1.spec.ts +5 -6
- package/codemods/upgradeIconV1/upgradeIconV1.ts +7 -5
- package/codemods/utils/__fixtures__/KaioComponent.tsx +2 -3
- package/codemods/utils/__snapshots__/emptyLineEncoder.spec.ts.snap +19 -0
- package/codemods/utils/__snapshots__/transformSource.spec.ts.snap +14 -4
- package/codemods/utils/createEncodedSourceFile.ts +15 -0
- package/codemods/utils/createProp.spec.ts +6 -8
- package/codemods/utils/emptyLineEncoder.spec.ts +25 -0
- package/codemods/utils/emptyLineEncoder.ts +18 -0
- package/codemods/utils/migrateStringProp.spec.ts +7 -3
- package/codemods/utils/migrateStringProp.ts +2 -3
- package/codemods/utils/printAst.ts +1 -0
- package/codemods/utils/removeProps.spec.ts +5 -5
- package/codemods/utils/removeProps.ts +2 -2
- package/codemods/utils/transformComponentsInDir.ts +14 -15
- package/codemods/utils/transformSource.spec.ts +63 -34
- package/codemods/utils/transformSource.ts +32 -19
- package/codemods/utils/updateKaioImports.ts +6 -3
- package/dist/cjs/Pagination/Pagination.cjs +4 -4
- package/dist/cjs/Pagination/Pagination.module.scss.cjs +1 -2
- package/dist/cjs/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.cjs +1 -1
- package/dist/cjs/Pagination/subcomponents/TruncateIndicator/{TruncateIndicator.module.scss.cjs → TruncateIndicator.module.css.cjs} +1 -1
- package/dist/esm/Pagination/Pagination.mjs +4 -4
- package/dist/esm/Pagination/Pagination.module.scss.mjs +1 -2
- package/dist/esm/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.mjs +1 -1
- package/dist/esm/Pagination/subcomponents/TruncateIndicator/{TruncateIndicator.module.scss.mjs → TruncateIndicator.module.css.mjs} +1 -1
- package/dist/styles.css +38 -49
- package/dist/types/Avatar/Avatar.d.ts +1 -1
- package/dist/types/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/types/Badge/Badge.d.ts +1 -1
- package/dist/types/Brand/Brand.d.ts +1 -1
- package/dist/types/BrandMoment/BrandMoment.d.ts +3 -3
- package/dist/types/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/dist/types/Calendar/CalendarPopover/CalendarPopover.d.ts +1 -1
- package/dist/types/Calendar/CalendarRange/CalendarRange.d.ts +1 -1
- package/dist/types/Calendar/CalendarSingle/CalendarSingle.d.ts +1 -1
- package/dist/types/Card/Card.d.ts +1 -1
- package/dist/types/Checkbox/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/types/ClearButton/ClearButton.d.ts +1 -1
- package/dist/types/Collapsible/Collapsible/Collapsible.d.ts +1 -1
- package/dist/types/Collapsible/CollapsibleGroup/CollapsibleGroup.d.ts +3 -3
- package/dist/types/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.d.ts +1 -1
- package/dist/types/Content/Content.d.ts +1 -1
- package/dist/types/DateInput/DateInput/DateInput.d.ts +1 -1
- package/dist/types/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/DatePicker/subcomponents/DateInputField/DateInputField.d.ts +3 -3
- package/dist/types/DatePicker/types.d.ts +1 -1
- package/dist/types/DatePicker/utils/validateDate.d.ts +1 -1
- package/dist/types/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/dist/types/DateRangePicker/utils/formatDateRangeValue.d.ts +1 -1
- package/dist/types/Divider/Divider.d.ts +1 -1
- package/dist/types/EmptyState/EmptyState.d.ts +3 -3
- package/dist/types/ErrorPage/ErrorPage.d.ts +1 -1
- package/dist/types/FieldGroup/FieldGroup.d.ts +1 -1
- package/dist/types/FieldMessage/FieldMessage.d.ts +1 -1
- package/dist/types/Filter/Filter/Filter.d.ts +1 -1
- package/dist/types/Filter/Filter/subcomponents/FilterContents/FilterContents.d.ts +1 -1
- package/dist/types/Filter/Filter/subcomponents/FilterPopover/FilterPopover.d.ts +1 -1
- package/dist/types/Filter/FilterBar/FilterBar.d.ts +1 -1
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.d.ts +2 -2
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.d.ts +1 -1
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarDateRangePicker/FilterBarDateRangePicker.d.ts +1 -1
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.d.ts +1 -1
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.d.ts +1 -1
- package/dist/types/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.d.ts +3 -3
- package/dist/types/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/hooks/useDateInputHandlers.d.ts +2 -2
- package/dist/types/Filter/FilterDatePicker/hooks/useDateValidation.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.d.ts +6 -6
- package/dist/types/Filter/FilterDatePicker/types.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/utils/transformDateToInputValue.d.ts +1 -1
- package/dist/types/Filter/FilterDatePicker/utils/validateDate.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/FilterDateRangePicker.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.d.ts +2 -2
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.d.ts +5 -5
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useEndDateValidation.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/hooks/useStartDateValidation.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/types.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/utils/validateEndDateBeforeStartDate.d.ts +1 -1
- package/dist/types/Filter/FilterDateRangePicker/utils/isCompleteDateRange.d.ts +1 -1
- package/dist/types/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.d.ts +1 -1
- package/dist/types/Filter/FilterSelect/FilterSelect.d.ts +6 -6
- package/dist/types/Filter/FilterSelect/types.d.ts +1 -1
- package/dist/types/GuidanceBlock/GuidanceBlock.d.ts +4 -4
- package/dist/types/Heading/Heading.d.ts +1 -1
- package/dist/types/Icon/AcademyIcon.d.ts +1 -1
- package/dist/types/Icon/ActionOffIcon.d.ts +1 -1
- package/dist/types/Icon/ActionOffWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ActionOnIcon.d.ts +1 -1
- package/dist/types/Icon/AddIcon.d.ts +1 -1
- package/dist/types/Icon/AddLinkIcon.d.ts +1 -1
- package/dist/types/Icon/AddWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/AiIcon.d.ts +1 -1
- package/dist/types/Icon/ArchivedIcon.d.ts +1 -1
- package/dist/types/Icon/ArchivedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowBackwardIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowDownIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowForwardIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowLeftIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowRightIcon.d.ts +1 -1
- package/dist/types/Icon/ArrowUpIcon.d.ts +1 -1
- package/dist/types/Icon/AssignmentIcon.d.ts +1 -1
- package/dist/types/Icon/BlankIcon.d.ts +1 -1
- package/dist/types/Icon/BoldIcon.d.ts +1 -1
- package/dist/types/Icon/BookmarkOffIcon.d.ts +1 -1
- package/dist/types/Icon/BookmarkOnIcon.d.ts +1 -1
- package/dist/types/Icon/BranchingIcon.d.ts +1 -1
- package/dist/types/Icon/BullettedListIcon.d.ts +1 -1
- package/dist/types/Icon/CaMonogramIcon.d.ts +1 -1
- package/dist/types/Icon/CameraIcon.d.ts +1 -1
- package/dist/types/Icon/CautionIcon.d.ts +1 -1
- package/dist/types/Icon/CautionWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CheckIcon.d.ts +1 -1
- package/dist/types/Icon/ChevronDownIcon.d.ts +1 -1
- package/dist/types/Icon/ChevronLeftIcon.d.ts +1 -1
- package/dist/types/Icon/ChevronRightIcon.d.ts +1 -1
- package/dist/types/Icon/ChevronUpIcon.d.ts +1 -1
- package/dist/types/Icon/ClearIcon.d.ts +1 -1
- package/dist/types/Icon/ClearWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CloseIcon.d.ts +1 -1
- package/dist/types/Icon/ClosedIcon.d.ts +1 -1
- package/dist/types/Icon/ClosedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CommentAddIcon.d.ts +1 -1
- package/dist/types/Icon/CommentAddWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CommentBankIcon.d.ts +1 -1
- package/dist/types/Icon/CommentDisabledIcon.d.ts +1 -1
- package/dist/types/Icon/CommentDisabledWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CommentIcon.d.ts +1 -1
- package/dist/types/Icon/CommentWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/CommunicationsIcon.d.ts +1 -1
- package/dist/types/Icon/CompetencyLibraryIcon.d.ts +1 -1
- package/dist/types/Icon/ConfigureIcon.d.ts +1 -1
- package/dist/types/Icon/ConnectIcon.d.ts +1 -1
- package/dist/types/Icon/ConnectLineIcon.d.ts +1 -1
- package/dist/types/Icon/CustomIcon.d.ts +1 -1
- package/dist/types/Icon/DashboardIcon.d.ts +1 -1
- package/dist/types/Icon/DateEndIcon.d.ts +1 -1
- package/dist/types/Icon/DateEndWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DateRangeIcon.d.ts +1 -1
- package/dist/types/Icon/DateRangeWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DateStartIcon.d.ts +1 -1
- package/dist/types/Icon/DateStartWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DecreaseIndentIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaBareIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaBareWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaFlatIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaNegativeIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaPositiveIcon.d.ts +1 -1
- package/dist/types/Icon/DeltaWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DemographicsIcon.d.ts +1 -1
- package/dist/types/Icon/DepartmentIcon.d.ts +1 -1
- package/dist/types/Icon/DraftIcon.d.ts +1 -1
- package/dist/types/Icon/DraftWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/DragIcon.d.ts +1 -1
- package/dist/types/Icon/DuplicateIcon.d.ts +1 -1
- package/dist/types/Icon/EditIcon.d.ts +1 -1
- package/dist/types/Icon/EffectivenessIcon.d.ts +1 -1
- package/dist/types/Icon/EllipsisIcon.d.ts +1 -1
- package/dist/types/Icon/EmailIcon.d.ts +1 -1
- package/dist/types/Icon/EmptyIcon.d.ts +1 -1
- package/dist/types/Icon/EmptyWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/EndIcon.d.ts +1 -1
- package/dist/types/Icon/EngagementIcon.d.ts +1 -1
- package/dist/types/Icon/EngagementWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/EqualIcon.d.ts +1 -1
- package/dist/types/Icon/EqualWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ExclamationIcon.d.ts +1 -1
- package/dist/types/Icon/ExclamationOctagonIcon.d.ts +1 -1
- package/dist/types/Icon/ExclamationOctagonWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ExclamationWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ExperienceIcon.d.ts +1 -1
- package/dist/types/Icon/ExportIcon.d.ts +1 -1
- package/dist/types/Icon/ExportWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ExternalLinkIcon.d.ts +1 -1
- package/dist/types/Icon/FaceDissatisfiedIcon.d.ts +1 -1
- package/dist/types/Icon/FaceDissatisfiedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FaceNeutralIcon.d.ts +1 -1
- package/dist/types/Icon/FaceNeutralWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FaceSatisfiedIcon.d.ts +1 -1
- package/dist/types/Icon/FaceSatisfiedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FaceVeryDissatisfiedIcon.d.ts +1 -1
- package/dist/types/Icon/FaceVeryDissatisfiedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FaceVerySatisfiedIcon.d.ts +1 -1
- package/dist/types/Icon/FaceVerySatisfiedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FactorsIcon.d.ts +1 -1
- package/dist/types/Icon/FavoriteOffIcon.d.ts +1 -1
- package/dist/types/Icon/FavoriteOnIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackClassifyIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackClassifyWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackCompletedIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackCompletedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackReportIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackReportWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackReviewIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackReviewWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackShareIcon.d.ts +1 -1
- package/dist/types/Icon/FeedbackShareWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FileIcon.d.ts +1 -1
- package/dist/types/Icon/FileWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FilterIcon.d.ts +1 -1
- package/dist/types/Icon/FlagOffIcon.d.ts +1 -1
- package/dist/types/Icon/FlagOffWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/FlagOnIcon.d.ts +1 -1
- package/dist/types/Icon/FullIcon.d.ts +1 -1
- package/dist/types/Icon/GridViewIcon.d.ts +1 -1
- package/dist/types/Icon/GuidanceIcon.d.ts +1 -1
- package/dist/types/Icon/HamburgerIcon.d.ts +1 -1
- package/dist/types/Icon/HeatmapIcon.d.ts +1 -1
- package/dist/types/Icon/HeatmapWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/HierarchyIcon.d.ts +1 -1
- package/dist/types/Icon/HomeIcon.d.ts +1 -1
- package/dist/types/Icon/ImportIcon.d.ts +1 -1
- package/dist/types/Icon/ImportWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/IncreaseIndentIcon.d.ts +1 -1
- package/dist/types/Icon/IndicatorActiveIcon.d.ts +1 -1
- package/dist/types/Icon/IndicatorInactiveIcon.d.ts +1 -1
- package/dist/types/Icon/InformationIcon.d.ts +1 -1
- package/dist/types/Icon/InformationWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/InsightIcon.d.ts +1 -1
- package/dist/types/Icon/InsightsIcon.d.ts +1 -1
- package/dist/types/Icon/InvisibleIcon.d.ts +1 -1
- package/dist/types/Icon/ItalicsIcon.d.ts +1 -1
- package/dist/types/Icon/KebabIcon.d.ts +1 -1
- package/dist/types/Icon/KioskIcon.d.ts +1 -1
- package/dist/types/Icon/KioskWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/LaunchIcon.d.ts +1 -1
- package/dist/types/Icon/LaunchWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/LeaderboardIcon.d.ts +1 -1
- package/dist/types/Icon/ListViewIcon.d.ts +1 -1
- package/dist/types/Icon/LiveIcon.d.ts +1 -1
- package/dist/types/Icon/LockIcon.d.ts +1 -1
- package/dist/types/Icon/LockWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/LogOutIcon.d.ts +1 -1
- package/dist/types/Icon/MaximizeIcon.d.ts +1 -1
- package/dist/types/Icon/MeatballsIcon.d.ts +1 -1
- package/dist/types/Icon/MinimizeIcon.d.ts +1 -1
- package/dist/types/Icon/MinusIcon.d.ts +1 -1
- package/dist/types/Icon/NavigatorIcon.d.ts +1 -1
- package/dist/types/Icon/NotificationIcon.d.ts +1 -1
- package/dist/types/Icon/NumberedListIcon.d.ts +1 -1
- package/dist/types/Icon/NumberedListRtlIcon.d.ts +1 -1
- package/dist/types/Icon/OpenIcon.d.ts +1 -1
- package/dist/types/Icon/OpenWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/OrganizationIcon.d.ts +1 -1
- package/dist/types/Icon/ParticipationIcon.d.ts +1 -1
- package/dist/types/Icon/ParticipationWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/PauseIcon.d.ts +1 -1
- package/dist/types/Icon/PauseWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/PercentageIcon.d.ts +1 -1
- package/dist/types/Icon/PermissionsIcon.d.ts +1 -1
- package/dist/types/Icon/PersonIcon.d.ts +1 -1
- package/dist/types/Icon/PhotoUploadIcon.d.ts +1 -1
- package/dist/types/Icon/PowerIcon.d.ts +1 -1
- package/dist/types/Icon/PrintIcon.d.ts +1 -1
- package/dist/types/Icon/PrintWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ProcessManagerIcon.d.ts +1 -1
- package/dist/types/Icon/PromotionIcon.d.ts +1 -1
- package/dist/types/Icon/PromotionWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/QuestionIcon.d.ts +1 -1
- package/dist/types/Icon/QuestionWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/QuestionsIcon.d.ts +1 -1
- package/dist/types/Icon/RedoIcon.d.ts +1 -1
- package/dist/types/Icon/RefreshIcon.d.ts +1 -1
- package/dist/types/Icon/RemoveLinkIcon.d.ts +1 -1
- package/dist/types/Icon/RepeatsIcon.d.ts +1 -1
- package/dist/types/Icon/ReportIcon.d.ts +1 -1
- package/dist/types/Icon/ReportSharingIcon.d.ts +1 -1
- package/dist/types/Icon/RestoreIcon.d.ts +1 -1
- package/dist/types/Icon/SaveIcon.d.ts +1 -1
- package/dist/types/Icon/SearchIcon.d.ts +1 -1
- package/dist/types/Icon/SearchWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/SecurityTipIcon.d.ts +1 -1
- package/dist/types/Icon/SendIcon.d.ts +1 -1
- package/dist/types/Icon/SendRtlIcon.d.ts +1 -1
- package/dist/types/Icon/SettingsIcon.d.ts +1 -1
- package/dist/types/Icon/SettingsWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ShareIcon.d.ts +1 -1
- package/dist/types/Icon/SkipIcon.d.ts +1 -1
- package/dist/types/Icon/SkipWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/SortAscendingIcon.d.ts +1 -1
- package/dist/types/Icon/SortDescendingIcon.d.ts +1 -1
- package/dist/types/Icon/SpinnerIcon.d.ts +1 -1
- package/dist/types/Icon/StarOffIcon.d.ts +1 -1
- package/dist/types/Icon/StarOnIcon.d.ts +1 -1
- package/dist/types/Icon/StartIcon.d.ts +1 -1
- package/dist/types/Icon/SubtractIcon.d.ts +1 -1
- package/dist/types/Icon/SubtractWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/SuccessIcon.d.ts +1 -1
- package/dist/types/Icon/SuccessWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/SupportIcon.d.ts +1 -1
- package/dist/types/Icon/SurveysIcon.d.ts +1 -1
- package/dist/types/Icon/SurveysWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/SyncIcon.d.ts +1 -1
- package/dist/types/Icon/TagIcon.d.ts +1 -1
- package/dist/types/Icon/TasksIcon.d.ts +1 -1
- package/dist/types/Icon/TasksWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/TemplateIcon.d.ts +1 -1
- package/dist/types/Icon/TemplateWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/TextAnalyticsIcon.d.ts +1 -1
- package/dist/types/Icon/TextAnalyticsWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsDownIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsDownOffIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsDownOnIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsUpIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsUpOffIcon.d.ts +1 -1
- package/dist/types/Icon/ThumbsUpOnIcon.d.ts +1 -1
- package/dist/types/Icon/TimeIcon.d.ts +1 -1
- package/dist/types/Icon/TimeWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/TranslationIcon.d.ts +1 -1
- package/dist/types/Icon/TrashIcon.d.ts +1 -1
- package/dist/types/Icon/UnattributedIcon.d.ts +1 -1
- package/dist/types/Icon/UnattributedWhiteIcon.d.ts +1 -1
- package/dist/types/Icon/UnderlineIcon.d.ts +1 -1
- package/dist/types/Icon/UndoIcon.d.ts +1 -1
- package/dist/types/Icon/UserAddIcon.d.ts +1 -1
- package/dist/types/Icon/UserDeleteIcon.d.ts +1 -1
- package/dist/types/Icon/UserExitIcon.d.ts +1 -1
- package/dist/types/Icon/UserIcon.d.ts +1 -1
- package/dist/types/Icon/UserSelectIcon.d.ts +1 -1
- package/dist/types/Icon/UserSettingsIcon.d.ts +1 -1
- package/dist/types/Icon/UserUpdateIcon.d.ts +1 -1
- package/dist/types/Icon/UsersIcon.d.ts +1 -1
- package/dist/types/Icon/VisibleIcon.d.ts +1 -1
- package/dist/types/Icon/WritingIcon.d.ts +1 -1
- package/dist/types/Icon/ZoomInIcon.d.ts +1 -1
- package/dist/types/Icon/ZoomOutIcon.d.ts +1 -1
- package/dist/types/Icon/bin/Template.d.ts +1 -1
- package/dist/types/Icon/subcomponents/SVG/SVG.d.ts +1 -1
- package/dist/types/Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.d.ts +1 -1
- package/dist/types/Illustration/subcomponents/Base/Base.d.ts +1 -1
- package/dist/types/Input/Input/Input.d.ts +1 -1
- package/dist/types/Input/InputRange/InputRange.d.ts +1 -1
- package/dist/types/Input/InputSearch/InputSearch.d.ts +1 -1
- package/dist/types/Label/Label.d.ts +1 -1
- package/dist/types/LabelledMessage/LabelledMessage.d.ts +1 -1
- package/dist/types/Loading/LoadingGraphic/LoadingGraphic.d.ts +1 -1
- package/dist/types/Loading/LoadingHeading/LoadingHeading.d.ts +2 -2
- package/dist/types/Loading/LoadingInput/LoadingInput.d.ts +1 -1
- package/dist/types/Loading/LoadingParagraph/LoadingParagraph.d.ts +1 -1
- package/dist/types/Loading/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/types/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.d.ts +1 -1
- package/dist/types/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/types/MultiSelect/subcomponents/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.d.ts +1 -1
- package/dist/types/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.d.ts +1 -1
- package/dist/types/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.d.ts +2 -2
- package/dist/types/MultiSelect/subcomponents/Popover/Popover.d.ts +1 -1
- package/dist/types/MultiSelect/types.d.ts +1 -1
- package/dist/types/Notification/GlobalNotification/GlobalNotification.d.ts +1 -1
- package/dist/types/Notification/InlineNotification/InlineNotification.d.ts +2 -2
- package/dist/types/Notification/ToastNotification/ToastNotification/ToastNotification.d.ts +1 -1
- package/dist/types/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.d.ts +1 -1
- package/dist/types/Notification/ToastNotification/context/ToastNotificationContext.d.ts +1 -1
- package/dist/types/Notification/ToastNotification/types.d.ts +1 -1
- package/dist/types/Notification/subcomponents/GenericNotification/GenericNotification.d.ts +3 -3
- package/dist/types/Notification/subcomponents/NotificationHeading/NotificationHeading.d.ts +1 -1
- package/dist/types/Notification/subcomponents/NotificationIcon/NotificationIcon.d.ts +1 -1
- package/dist/types/Pagination/Pagination.d.ts +1 -1
- package/dist/types/Pagination/subcomponents/DirectionalLink/DirectionalLink.d.ts +1 -1
- package/dist/types/Pagination/subcomponents/PaginationLink/PaginationLink.d.ts +1 -1
- package/dist/types/Popover/Popover.d.ts +1 -1
- package/dist/types/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/types/Radio/Radio/Radio.d.ts +1 -1
- package/dist/types/Radio/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/RichTextEditor/EditableRichTextContent/EditableRichTextContent.d.ts +1 -1
- package/dist/types/RichTextEditor/RichTextContent/RichTextContent.d.ts +1 -1
- package/dist/types/RichTextEditor/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/dist/types/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.d.ts +1 -1
- package/dist/types/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.d.ts +1 -1
- package/dist/types/SearchField/SearchField.d.ts +1 -1
- package/dist/types/Skirt/Skirt.d.ts +1 -1
- package/dist/types/Skirt/subcomponents/SkirtCard/SkirtCard.d.ts +1 -1
- package/dist/types/Slider/Slider.d.ts +1 -1
- package/dist/types/SplitButton/SplitButton.d.ts +2 -2
- package/dist/types/SplitButton/subcomponents/BaseButton/BaseButton.d.ts +1 -1
- package/dist/types/Table/Table.d.ts +2 -2
- package/dist/types/Tabs/subcomponents/Tab.d.ts +1 -1
- package/dist/types/Tabs/subcomponents/TabList.d.ts +1 -1
- package/dist/types/Tabs/subcomponents/TabPanel.d.ts +1 -1
- package/dist/types/Tabs/subcomponents/TabPanels.d.ts +1 -1
- package/dist/types/Tag/Tag.d.ts +1 -1
- package/dist/types/Text/Text.d.ts +1 -1
- package/dist/types/TextArea/TextArea.d.ts +1 -1
- package/dist/types/TextAreaField/TextAreaField.d.ts +1 -1
- package/dist/types/TextField/TextField.d.ts +1 -1
- package/dist/types/Tile/TileGrid/TileGrid.d.ts +1 -1
- package/dist/types/Tile/subcomponents/GenericTile/GenericTile.d.ts +3 -3
- package/dist/types/TimeField/TimeField.d.ts +1 -1
- package/dist/types/TitleBlockZen/subcomponents/MobileActions.d.ts +1 -1
- package/dist/types/TitleBlockZen/subcomponents/Toolbar.d.ts +1 -1
- package/dist/types/TitleBlockZen/types.d.ts +3 -3
- package/dist/types/ToggleSwitch/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/dist/types/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/types/Well/Well.d.ts +1 -1
- package/dist/types/Workflow/Workflow.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Footer/Footer.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Footer/components/Root/Root.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Header/components/Actions/Actions.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Header/components/Branding/Branding.d.ts +2 -2
- package/dist/types/Workflow/subcomponents/Header/components/Root/Root.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Header/components/Titles/Titles.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Main/Main.d.ts +1 -1
- package/dist/types/Workflow/subcomponents/Wrapper/Wrapper.d.ts +1 -1
- package/dist/types/__actions__/Menu/v1/Menu.d.ts +1 -1
- package/dist/types/__actions__/Menu/v1/subcomponents/MenuHeading/MenuHeading.d.ts +1 -1
- package/dist/types/__actions__/Menu/v1/subcomponents/MenuList/MenuList.d.ts +1 -1
- package/dist/types/__future__/Icon/Icon.d.ts +1 -1
- package/dist/types/__future__/Select/Select.d.ts +1 -1
- package/dist/types/__future__/Select/subcomponents/ListBox/ListBox.d.ts +1 -1
- package/dist/types/__future__/Select/subcomponents/Option/Option.d.ts +1 -1
- package/dist/types/__future__/Select/subcomponents/Overlay/Overlay.d.ts +1 -1
- package/dist/types/__future__/Select/subcomponents/SelectToggle/SelectToggle.d.ts +1 -1
- package/dist/types/__future__/Tag/RemovableTag/subcomponents/RemoveButton.d.ts +1 -1
- package/dist/types/__future__/Tag/Tag/Tag.d.ts +1 -1
- package/package.json +3 -3
- package/src/Pagination/Pagination.module.scss +0 -12
- package/src/Pagination/Pagination.spec.tsx +5 -0
- package/src/Pagination/Pagination.tsx +10 -5
- package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +1 -1
- package/src/Pagination/subcomponents/TruncateIndicator/{TruncateIndicator.module.scss → TruncateIndicator.module.css} +2 -4
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.tsx +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
+
import { useMediaQueries } from '../utils/useMediaQueries.mjs';
|
|
4
5
|
import { DirectionalLink } from './subcomponents/DirectionalLink/DirectionalLink.mjs';
|
|
5
6
|
import { PaginationLink } from './subcomponents/PaginationLink/PaginationLink.mjs';
|
|
6
7
|
import { TruncateIndicator } from './subcomponents/TruncateIndicator/TruncateIndicator.mjs';
|
|
@@ -21,6 +22,7 @@ var Pagination = function (_a) {
|
|
|
21
22
|
onPageChange = _a.onPageChange,
|
|
22
23
|
classNameOverride = _a.classNameOverride,
|
|
23
24
|
restProps = __rest(_a, ["currentPage", "pageCount", "ariaLabelNextPage", "ariaLabelPreviousPage", "ariaLabelPage", "onPageChange", "classNameOverride"]);
|
|
25
|
+
var queries = useMediaQueries().queries;
|
|
24
26
|
// Click event for all pagination buttons (next, prev, and the actual numbers)
|
|
25
27
|
var handleButtonClick = function (newPage) {
|
|
26
28
|
if (newPage === "prev") {
|
|
@@ -44,10 +46,8 @@ var Pagination = function (_a) {
|
|
|
44
46
|
}
|
|
45
47
|
});
|
|
46
48
|
};
|
|
47
|
-
var pagination = function () {
|
|
49
|
+
var pagination = function (boundaryPagesRange, siblingPagesRange) {
|
|
48
50
|
var items = [];
|
|
49
|
-
var boundaryPagesRange = 1;
|
|
50
|
-
var siblingPagesRange = 1;
|
|
51
51
|
// truncateSize is 1 now but could be 0 if we add the ability to hide it.
|
|
52
52
|
var truncateSize = 1;
|
|
53
53
|
var showAllPages = 1 + 2 * truncateSize + 2 * siblingPagesRange + 2 * boundaryPagesRange >= pageCount;
|
|
@@ -101,7 +101,7 @@ var Pagination = function (_a) {
|
|
|
101
101
|
}
|
|
102
102
|
}), /*#__PURE__*/React.createElement("div", {
|
|
103
103
|
className: styles.pagesIndicatorWrapper
|
|
104
|
-
}, pagination()), /*#__PURE__*/React.createElement(DirectionalLink, {
|
|
104
|
+
}, pagination(1, queries.isSmall ? 0 : 1)), /*#__PURE__*/React.createElement(DirectionalLink, {
|
|
105
105
|
label: ariaLabelNextPage,
|
|
106
106
|
direction: "next",
|
|
107
107
|
disabled: nextPageDisabled,
|
|
@@ -2,7 +2,6 @@ var styles = {
|
|
|
2
2
|
"container": "Pagination-module_container__JHnDH",
|
|
3
3
|
"pagesIndicatorWrapper": "Pagination-module_pagesIndicatorWrapper__taluU",
|
|
4
4
|
"arrowIconWrapper": "Pagination-module_arrowIconWrapper__RMTET",
|
|
5
|
-
"pageIndicatorFocusRing": "Pagination-module_pageIndicatorFocusRing__57ku4"
|
|
6
|
-
"truncateIndicatorWrapper": "Pagination-module_truncateIndicatorWrapper__bwywo"
|
|
5
|
+
"pageIndicatorFocusRing": "Pagination-module_pageIndicatorFocusRing__57ku4"
|
|
7
6
|
};
|
|
8
7
|
export { styles as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Icon } from '../../../__future__/Icon/Icon.mjs';
|
|
3
|
-
import styles from './TruncateIndicator.module.
|
|
3
|
+
import styles from './TruncateIndicator.module.css.mjs';
|
|
4
4
|
var TruncateIndicator = function () {
|
|
5
5
|
return /*#__PURE__*/React.createElement("div", {
|
|
6
6
|
className: styles.truncateIndicatorWrapper,
|
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
@layer tokens, normalize, reset;@layer tokens{:root{--theme-key:heart;--animation-easing-function-ease-in-out:cubic-bezier(0.455,0.03,0.515,0.955);--animation-easing-function-ease-in:cubic-bezier(0.55,0.085,0.68,0.53);--animation-easing-function-ease-out:cubic-bezier(0.25,0.46,0.45,0.94);--animation-easing-function-linear:linear;--animation-easing-function-bounce-in:cubic-bezier(0.485,0.155,0.24,1.245);--animation-easing-function-bounce-out:cubic-bezier(0.485,0.155,0.515,0.845);--animation-easing-function-bounce-in-out:cubic-bezier(0.76,-0.245,0.24,1.245);--animation-duration-instant:0ms;--animation-duration-immediate:100ms;--animation-duration-rapid:200ms;--animation-duration-fast:300ms;--animation-duration-slow:400ms;--animation-duration-deliberate:700ms;--border-solid-border-width:2px;--border-solid-border-radius:7px;--border-solid-border-style:solid;--border-solid-border-color:#e1e2ea;--border-solid-border-color-rgb:225,226,234;--border-dashed-border-width:2px;--border-dashed-border-radius:7px;--border-dashed-border-style:dashed;--border-borderless-border-width:2px;--border-borderless-border-radius:7px;--border-borderless-border-style:solid;--border-borderless-border-color:transparent;--border-borderless-border-color-rgb:0,0,0;--border-focus-ring-border-width:2px;--border-focus-ring-border-radius:10px;--border-focus-ring-border-style:solid;--border-width-1:1px;--color-purple-100:#f4edf8;--color-purple-100-rgb:244,237,248;--color-purple-200:#dfc9ea;--color-purple-200-rgb:223,201,234;--color-purple-300:#c9a5dd;--color-purple-300-rgb:201,165,221;--color-purple-400:#ae67b1;--color-purple-400-rgb:174,103,177;--color-purple-500:#844587;--color-purple-500-rgb:132,69,135;--color-purple-600:#5f3361;--color-purple-600-rgb:95,51,97;--color-purple-700:#4a234d;--color-purple-700-rgb:74,35,77;--color-purple-800:#2f2438;--color-purple-800-rgb:47,36,56;--color-blue-100:#e6f6ff;--color-blue-100-rgb:230,246,255;--color-blue-200:#bde2f5;--color-blue-200-rgb:189,226,245;--color-blue-300:#73c0e8;--color-blue-300-rgb:115,192,232;--color-blue-400:#008bd6;--color-blue-400-rgb:0,139,214;--color-blue-500:#0168b3;--color-blue-500-rgb:1,104,179;--color-blue-600:#004970;--color-blue-600-rgb:0,73,112;--color-blue-700:#003157;--color-blue-700-rgb:0,49,87;--color-green-100:#e8f8f4;--color-green-100-rgb:232,248,244;--color-green-200:#c4ede2;--color-green-200-rgb:196,237,226;--color-green-300:#8fdbc7;--color-green-300-rgb:143,219,199;--color-green-400:#5dcaad;--color-green-400-rgb:93,202,173;--color-green-500:#3f9a86;--color-green-500-rgb:63,154,134;--color-green-600:#2c7d67;--color-green-600-rgb:44,125,103;--color-green-700:#22594a;--color-green-700-rgb:34,89,74;--color-yellow-100:#fff9e4;--color-yellow-100-rgb:255,249,228;--color-yellow-200:#ffeeb3;--color-yellow-200-rgb:255,238,179;--color-yellow-300:#ffe36e;--color-yellow-300-rgb:255,227,110;--color-yellow-400:#ffca4d;--color-yellow-400-rgb:255,202,77;--color-yellow-500:#ffb600;--color-yellow-500-rgb:255,182,0;--color-yellow-600:#c68600;--color-yellow-600-rgb:198,134,0;--color-yellow-700:#876400;--color-yellow-700-rgb:135,100,0;--color-red-100:#fdeaee;--color-red-100-rgb:253,234,238;--color-red-200:#f9c2cb;--color-red-200-rgb:249,194,203;--color-red-300:#f597a8;--color-red-300-rgb:245,151,168;--color-red-400:#e0707d;--color-red-400-rgb:224,112,125;--color-red-500:#c93b55;--color-red-500-rgb:201,59,85;--color-red-600:#a82433;--color-red-600-rgb:168,36,51;--color-red-700:#6c1e20;--color-red-700-rgb:108,30,32;--color-orange-100:#fff0e8;--color-orange-100-rgb:255,240,232;--color-orange-200:#ffd1b9;--color-orange-200-rgb:255,209,185;--color-orange-300:#ffb08a;--color-orange-300-rgb:255,176,138;--color-orange-400:#ff9461;--color-orange-400-rgb:255,148,97;--color-orange-500:#e96c2f;--color-orange-500-rgb:233,108,47;--color-orange-600:#b74302;--color-orange-600-rgb:183,67,2;--color-orange-700:#903c00;--color-orange-700-rgb:144,60,0;--color-gray-100:#f9f9f9;--color-gray-100-rgb:249,249,249;--color-gray-200:#f4f4f5;--color-gray-200-rgb:244,244,245;--color-gray-300:#eaeaec;--color-gray-300-rgb:234,234,236;--color-gray-400:#cdcdd0;--color-gray-400-rgb:205,205,208;--color-gray-500:#878792;--color-gray-500-rgb:135,135,146;--color-gray-600:#524e56;--color-gray-600-rgb:82,78,86;--color-white:#fff;--color-white-rgb:255,255,255;--color-black:#000;--color-black-rgb:0,0,0;--data-viz-favorable:#7dd5bd;--data-viz-favorable-rgb:125,213,189;--data-viz-unfavorable:#e68d97;--data-viz-unfavorable-rgb:230,141,151;--layout-content-max-width:1392px;--layout-content-max-width-with-sidebar:1080px;--layout-content-side-margin:72px;--layout-mobile-actions-drawer-height:60px;--layout-navigation-bar-height:72px;--layout-breakpoints-medium:768px;--layout-breakpoints-large:1080px;--shadow-small-box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 3px 16px 0 rgba(0,0,0,.06);--shadow-large-box-shadow:0 3px 9px 0 rgba(0,0,0,.1),0 8px 40px 0 rgba(0,0,0,.08);--spacing-0:0;--spacing-1:.0625rem;--spacing-2:.125rem;--spacing-4:.25rem;--spacing-6:.375rem;--spacing-8:.5rem;--spacing-12:.75rem;--spacing-16:1rem;--spacing-20:1.25rem;--spacing-24:1.5rem;--spacing-32:2rem;--spacing-40:2.5rem;--spacing-48:3rem;--spacing-56:3.5rem;--spacing-64:4rem;--spacing-72:4.5rem;--spacing-80:5rem;--spacing-96:6rem;--spacing-112:7rem;--spacing-128:8rem;--spacing-160:10rem;--spacing-200:12.5rem;--spacing-240:15rem;--spacing-280:17.5rem;--spacing-320:20rem;--spacing-xs:0.375rem;--spacing-sm:0.75rem;--spacing-md:1.5rem;--spacing-lg:2.25rem;--spacing-xl:3rem;--spacing-xxl:3.75rem;--spacing-xxxl:4.5rem;--spacing-xxxxl:5.25rem;--spacing-xxxxxl:6rem;--typography-data-large-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-font-weight:700;--typography-data-large-font-size:5.25rem;--typography-data-large-line-height:5.25rem;--typography-data-large-letter-spacing:normal;--typography-data-large-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-units-font-weight:700;--typography-data-large-units-font-size:2.625rem;--typography-data-large-units-line-height:5.25rem;--typography-data-large-units-letter-spacing:normal;--typography-data-medium-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-font-weight:700;--typography-data-medium-font-size:3rem;--typography-data-medium-line-height:5rem;--typography-data-medium-letter-spacing:normal;--typography-data-medium-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-units-font-weight:700;--typography-data-medium-units-font-size:1.5rem;--typography-data-medium-units-line-height:5rem;--typography-data-medium-units-letter-spacing:normal;--typography-data-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-font-weight:700;--typography-data-small-font-size:1.5rem;--typography-data-small-line-height:1.5rem;--typography-data-small-letter-spacing:normal;--typography-data-small-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-units-font-weight:700;--typography-data-small-units-font-size:1.125rem;--typography-data-small-units-line-height:1.5rem;--typography-data-small-units-letter-spacing:normal;--typography-display-0-font-family:"Tiempos Headline",Georgia,serif;--typography-display-0-font-weight:800;--typography-display-0-font-size:4.5rem;--typography-display-0-line-height:5.25rem;--typography-display-0-letter-spacing:0em;--typography-heading-1-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-1-font-weight:500;--typography-heading-1-font-size:2.125rem;--typography-heading-1-line-height:2.625rem;--typography-heading-1-letter-spacing:normal;--typography-heading-2-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-2-font-weight:600;--typography-heading-2-font-size:1.75rem;--typography-heading-2-line-height:2.25rem;--typography-heading-2-letter-spacing:normal;--typography-heading-3-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-3-font-weight:600;--typography-heading-3-font-size:1.375rem;--typography-heading-3-line-height:1.875rem;--typography-heading-3-letter-spacing:normal;--typography-heading-4-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-4-font-weight:600;--typography-heading-4-font-size:1.125rem;--typography-heading-4-line-height:1.5rem;--typography-heading-4-letter-spacing:normal;--typography-heading-5-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-5-font-weight:600;--typography-heading-5-font-size:1rem;--typography-heading-5-line-height:1.5rem;--typography-heading-5-letter-spacing:normal;--typography-heading-6-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-6-font-weight:600;--typography-heading-6-font-size:0.875rem;--typography-heading-6-line-height:1.5rem;--typography-heading-6-letter-spacing:normal;--typography-paragraph-intro-lede-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-intro-lede-font-weight:400;--typography-paragraph-intro-lede-font-size:1.25rem;--typography-paragraph-intro-lede-line-height:1.875rem;--typography-paragraph-intro-lede-letter-spacing:0;--typography-paragraph-intro-lede-max-width:975px;--typography-paragraph-body-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-body-font-weight:400;--typography-paragraph-body-font-size:1rem;--typography-paragraph-body-line-height:1.5rem;--typography-paragraph-body-letter-spacing:normal;--typography-paragraph-body-max-width:780px;--typography-paragraph-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-small-font-weight:400;--typography-paragraph-small-font-size:0.875rem;--typography-paragraph-small-line-height:1.125rem;--typography-paragraph-small-letter-spacing:normal;--typography-paragraph-small-max-width:680px;--typography-paragraph-extra-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-extra-small-font-weight:400;--typography-paragraph-extra-small-font-size:0.75rem;--typography-paragraph-extra-small-line-height:1.125rem;--typography-paragraph-extra-small-letter-spacing:normal;--typography-paragraph-extra-small-max-width:600px;--typography-paragraph-bold-font-weight:600;--typography-button-primary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-primary-font-weight:500;--typography-button-primary-font-size:1.125rem;--typography-button-primary-line-height:1.5rem;--typography-button-primary-letter-spacing:normal;--typography-button-secondary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-secondary-font-weight:500;--typography-button-secondary-font-size:1rem;--typography-button-secondary-line-height:1.5rem;--typography-button-secondary-letter-spacing:normal}}@layer normalize{html{text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}}@layer reset{@font-face{font-family:Tiempos Headline;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff)}@font-face{font-family:Tiempos Headline;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff)}@font-face{font-family:Greycliff CF;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-light.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-regular.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-medium.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-extra-bold.woff) format("woff")}@font-face{font-family:Inter;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff)}@font-face{font-family:Inter;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff)}@font-face{font-family:Inter;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff)}@font-face{font-family:Inter;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff)}@font-face{font-family:Inter;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff)}@font-face{font-family:Inter;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff)}@font-face{font-family:IBM Plex Mono;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff)}}@layer reset{*,:after,:before{border-color:var(--border-solid-border-color,"currentColor");border-style:solid;border-width:0}}
|
|
2
|
+
.Menu-module_menu__AowD8 {
|
|
3
|
+
background-color: var(--color-white);
|
|
4
|
+
color: var(--color-purple-800);
|
|
5
|
+
width: 248px;
|
|
6
|
+
max-height: 22rem;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
padding-block: var(--spacing-6);
|
|
9
|
+
outline: none;
|
|
10
|
+
border-radius: var(--border-solid-border-radius);
|
|
11
|
+
box-shadow: var(--shadow-large-box-shadow);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.Menu-module_menu__AowD8 .react-aria-Header {
|
|
15
|
+
font-family: var(--typography-heading-6-font-family);
|
|
16
|
+
font-size: var(--typography-heading-6-font-size);
|
|
17
|
+
letter-spacing: var(--typography-heading-6-letter-spacing);
|
|
18
|
+
font-weight: var(--typography-heading-6-font-weight);
|
|
19
|
+
line-height: var(--typography-heading-6-line-height);
|
|
20
|
+
padding: var(--spacing-6) 10px;
|
|
21
|
+
margin-inline: var(--spacing-6);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Menu-module_menu__AowD8 section:not(:last-of-type) {
|
|
25
|
+
&::after {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 1px;
|
|
28
|
+
background-color: var(--border-solid-border-color);
|
|
29
|
+
content: "";
|
|
30
|
+
display: block;
|
|
31
|
+
margin-block: var(--spacing-6);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
2
35
|
.MenuItem-module_item__uImZI {
|
|
3
36
|
display: block;
|
|
4
37
|
font-family: var(--typography-paragraph-body-font-family);
|
|
@@ -39,39 +72,6 @@
|
|
|
39
72
|
opacity: 0.3;
|
|
40
73
|
}
|
|
41
74
|
|
|
42
|
-
.Menu-module_menu__AowD8 {
|
|
43
|
-
background-color: var(--color-white);
|
|
44
|
-
color: var(--color-purple-800);
|
|
45
|
-
width: 248px;
|
|
46
|
-
max-height: 22rem;
|
|
47
|
-
overflow: auto;
|
|
48
|
-
padding-block: var(--spacing-6);
|
|
49
|
-
outline: none;
|
|
50
|
-
border-radius: var(--border-solid-border-radius);
|
|
51
|
-
box-shadow: var(--shadow-large-box-shadow);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.Menu-module_menu__AowD8 .react-aria-Header {
|
|
55
|
-
font-family: var(--typography-heading-6-font-family);
|
|
56
|
-
font-size: var(--typography-heading-6-font-size);
|
|
57
|
-
letter-spacing: var(--typography-heading-6-letter-spacing);
|
|
58
|
-
font-weight: var(--typography-heading-6-font-weight);
|
|
59
|
-
line-height: var(--typography-heading-6-line-height);
|
|
60
|
-
padding: var(--spacing-6) 10px;
|
|
61
|
-
margin-inline: var(--spacing-6);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.Menu-module_menu__AowD8 section:not(:last-of-type) {
|
|
65
|
-
&::after {
|
|
66
|
-
width: 100%;
|
|
67
|
-
height: 1px;
|
|
68
|
-
background-color: var(--border-solid-border-color);
|
|
69
|
-
content: "";
|
|
70
|
-
display: block;
|
|
71
|
-
margin-block: var(--spacing-6);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
75
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
76
76
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
77
77
|
.OverlayArrow-module_overlayArrow__hoDyK {
|
|
@@ -1442,7 +1442,7 @@
|
|
|
1442
1442
|
width: 40px;
|
|
1443
1443
|
height: 40px;
|
|
1444
1444
|
min-height: auto;
|
|
1445
|
-
margin: 0 var(--spacing-
|
|
1445
|
+
margin: 0 var(--spacing-2);
|
|
1446
1446
|
border-radius: 50%;
|
|
1447
1447
|
}
|
|
1448
1448
|
.GenericButton-module_circleButton__Ovqs1:not(:disabled):focus-visible::after {
|
|
@@ -7575,16 +7575,16 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
|
|
|
7575
7575
|
.MultiSelect-module_popover__jI13O {
|
|
7576
7576
|
padding: var(--spacing-12, 0.75rem);
|
|
7577
7577
|
}
|
|
7578
|
-
|
|
7579
|
-
.TruncateIndicator-module_truncateIndicatorWrapper__FgApk {
|
|
7578
|
+
.TruncateIndicator-module_truncateIndicatorWrapper__Ft9Pp {
|
|
7580
7579
|
display: flex;
|
|
7581
7580
|
align-items: center;
|
|
7582
7581
|
justify-content: center;
|
|
7583
7582
|
width: 36px;
|
|
7584
7583
|
background-color: transparent;
|
|
7585
|
-
color: rgba(var(
|
|
7586
|
-
margin: 0
|
|
7584
|
+
color: rgba(var(color-purple-800-rgb), 0.7);
|
|
7585
|
+
margin: 0 var(--spacing-2);
|
|
7587
7586
|
}
|
|
7587
|
+
|
|
7588
7588
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7589
7589
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7590
7590
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
@@ -7629,17 +7629,6 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
|
|
|
7629
7629
|
.Pagination-module_arrowIconWrapper__RMTET:focus .Pagination-module_pageIndicatorFocusRing__57ku4 {
|
|
7630
7630
|
border: var(--border-focus-ring-border-width, 2px) var(--border-focus-ring-border-style, solid) var(--color-blue-500, #0168b3);
|
|
7631
7631
|
}
|
|
7632
|
-
|
|
7633
|
-
.Pagination-module_truncateIndicatorWrapper__bwywo {
|
|
7634
|
-
display: flex;
|
|
7635
|
-
align-items: center;
|
|
7636
|
-
justify-content: center;
|
|
7637
|
-
height: 36px;
|
|
7638
|
-
width: 36px;
|
|
7639
|
-
background-color: transparent;
|
|
7640
|
-
color: rgba(var(--color-purple-800-rgb, 47, 36, 56), 0.7);
|
|
7641
|
-
margin: 0 5px;
|
|
7642
|
-
}
|
|
7643
7632
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7644
7633
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7645
7634
|
.Popover-module_root__OrmwT {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type AvatarSizes = "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
4
4
|
type BaseAvatarProps = {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import { CompanyAvatarProps, GenericAvatarProps } from "
|
|
3
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { CompanyAvatarProps, GenericAvatarProps } from "../Avatar";
|
|
3
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
4
4
|
export type AvatarGroupAvatarProps = Omit<GenericAvatarProps, "size"> | Omit<CompanyAvatarProps, "size">;
|
|
5
5
|
export type AvatarGroupSize = "small" | "medium" | "large";
|
|
6
6
|
export type AvatarList = [AvatarGroupAvatarProps, ...AvatarGroupAvatarProps[]];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode, ReactElement, HTMLAttributes } from "react";
|
|
2
|
-
import { SceneProps } from "
|
|
3
|
-
import { ButtonProps } from "
|
|
4
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { SceneProps } from "../Illustration";
|
|
3
|
+
import { ButtonProps } from "../__actions__/v2";
|
|
4
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
5
5
|
type DeprecatedMoodProps = {
|
|
6
6
|
/** @deprecated Use `variant` instead */
|
|
7
7
|
mood: "informative" | "positive" | "negative";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { FilterButtonBaseProps } from "
|
|
3
|
-
import { TooltipProps } from "
|
|
4
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { FilterButtonBaseProps } from "../Filter/FilterButton/subcomponents/FilterButtonBase";
|
|
3
|
+
import { TooltipProps } from "../__overlays__/Tooltip/v1";
|
|
4
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
5
5
|
export type ButtonGroupProps = {
|
|
6
6
|
children: React.ReactElement<FilterButtonBaseProps | TooltipProps> | Array<React.ReactElement<FilterButtonBaseProps | TooltipProps>>;
|
|
7
7
|
} & Omit<OverrideClassName<HTMLAttributes<HTMLDivElement>>, "children">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
2
|
import { UseFloatingOptions } from "@floating-ui/react-dom";
|
|
3
|
-
import { OverrideClassName } from "
|
|
3
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
4
4
|
export type CalendarPopoverProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
referenceElement: HTMLElement | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DayPickerRangeProps } from "react-day-picker";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
export type CalendarRangeElement = HTMLDivElement;
|
|
4
4
|
export type CalendarRangeProps = {
|
|
5
5
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DayPickerSingleProps } from "react-day-picker";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
export type CalendarSingleElement = HTMLDivElement;
|
|
4
4
|
export type CalendarSingleProps = {
|
|
5
5
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type CardVariants = "default" | "informative" | "positive" | "cautionary" | "destructive" | "assertive" | "highlight";
|
|
4
4
|
export type CardColors = "blue" | "green" | "gray" | "orange" | "purple" | "red" | "white" | "yellow";
|
|
5
5
|
export type CardProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
export type CheckedStatus = "on" | "off" | "mixed";
|
|
4
4
|
export type CheckboxProps = {
|
|
5
5
|
checkedStatus?: CheckedStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
export type CheckboxGroupProps = {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
labelText: string | React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type ClearButtonProps = {
|
|
4
4
|
isReversed?: boolean;
|
|
5
5
|
} & OverrideClassName<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
import { Sticky } from "../types";
|
|
4
4
|
export type CollapsibleProps = {
|
|
5
5
|
children: JSX.Element | JSX.Element[] | string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { CollapsibleProps } from "
|
|
3
|
-
import { Sticky } from "
|
|
4
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { CollapsibleProps } from "../Collapsible";
|
|
3
|
+
import { Sticky } from "../types";
|
|
4
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
5
5
|
export type CollapsibleGroupProps = {
|
|
6
6
|
children: Array<React.ReactElement<CollapsibleProps>>;
|
|
7
7
|
separated?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollapsibleProps } from "
|
|
1
|
+
import { CollapsibleProps } from "../Collapsible";
|
|
2
2
|
export type ExpertAdviceCollapsibleProps = Omit<CollapsibleProps, "renderHeader" | "variant" | "group" | "separated">;
|
|
3
3
|
/**
|
|
4
4
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082094383/Collapsible Guidance} |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
|
-
import { CalendarSingleProps, DisabledDayMatchers } from "
|
|
2
|
+
import { CalendarSingleProps, DisabledDayMatchers } from "../Calendar";
|
|
3
3
|
import { DateInputFieldProps } from "./subcomponents/DateInputField";
|
|
4
4
|
import type { ValidationResponse } from "./types";
|
|
5
5
|
import { DatePickerSupportedLocales } from "./utils/getLocale";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { Locale } from "date-fns";
|
|
3
|
-
import { DateInputDescriptionProps, DateInputWithIconButtonProps, DateInputWithIconButtonRefs } from "
|
|
4
|
-
import { FieldMessageStatus } from "
|
|
3
|
+
import { DateInputDescriptionProps, DateInputWithIconButtonProps, DateInputWithIconButtonRefs } from "../../../DateInput";
|
|
4
|
+
import { FieldMessageStatus } from "../../../FieldMessage";
|
|
5
5
|
export type DateInputFieldProps = {
|
|
6
6
|
/**
|
|
7
7
|
* A description that provides context for the text field
|
|
@@ -33,4 +33,4 @@ export declare const DateInputField: React.ForwardRefExoticComponent<{
|
|
|
33
33
|
locale?: Locale;
|
|
34
34
|
} & {
|
|
35
35
|
onButtonClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
36
|
-
} & Omit<import("
|
|
36
|
+
} & Omit<import("../../../DateInput").DateInputProps, "startIconAdornment" | "endIconAdornment"> & React.RefAttributes<DateInputWithIconButtonRefs>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
2
|
import { DateRange } from "react-day-picker";
|
|
3
|
-
import { DisabledDayMatchers } from "
|
|
4
|
-
import { LegacyCalendarRangeProps } from "
|
|
3
|
+
import { DisabledDayMatchers } from "../Calendar";
|
|
4
|
+
import { LegacyCalendarRangeProps } from "../Calendar/LegacyCalendarRange";
|
|
5
5
|
export type DateRangePickerProps = {
|
|
6
6
|
id?: string;
|
|
7
7
|
classNameOverride?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DateRange } from "
|
|
1
|
+
import { DateRange } from "../../Calendar";
|
|
2
2
|
export declare const formatDateRangeValue: (dateRange: DateRange) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type DividerProps = {
|
|
4
4
|
variant: "content" | "canvas" | "menuSeparator";
|
|
5
5
|
isReversed?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { HeadingProps } from "
|
|
3
|
-
import { AnimatedSceneProps } from "
|
|
4
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { HeadingProps } from "../Heading";
|
|
3
|
+
import { AnimatedSceneProps } from "../Illustration";
|
|
4
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
5
5
|
export type EmptyStateProps = {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
import { ErrorStatuses } from "./hooks";
|
|
4
4
|
export type ErrorPageProps = {
|
|
5
5
|
code: ErrorStatuses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type FieldGroupProps = {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
inline?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
3
3
|
export type FieldMessageStatus = "default" | "success" | "error" | "caution";
|
|
4
4
|
export type FieldMessageProps = {
|
|
5
5
|
message?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
3
3
|
import { FilterTriggerRef } from "./types";
|
|
4
4
|
export type FilterProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../../../types/OverrideClassName";
|
|
3
3
|
export type FilterContentsProps = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
} & OverrideClassName<HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
2
|
import { Options } from "@popperjs/core";
|
|
3
|
-
import { OverrideClassName } from "
|
|
3
|
+
import { OverrideClassName } from "../../../../types/OverrideClassName";
|
|
4
4
|
export type FilterPopoverProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
referenceElement: HTMLElement | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OverrideClassName } from "
|
|
1
|
+
import { OverrideClassName } from "../../types/OverrideClassName";
|
|
2
2
|
import { FilterBarProviderProps } from "./context/FilterBarContext";
|
|
3
3
|
import { FiltersValues } from "./types";
|
|
4
4
|
export type FilterBarProps<ValuesMap extends FiltersValues> = OverrideClassName<Omit<FilterBarProviderProps<ValuesMap>, "children">>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { FilterTriggerRef } from "
|
|
3
|
-
import { FilterButtonProps } from "
|
|
2
|
+
import { FilterTriggerRef } from "../../../Filter";
|
|
3
|
+
import { FilterButtonProps } from "../../../FilterButton";
|
|
4
4
|
export type FilterBarButtonProps = FilterButtonProps & {
|
|
5
5
|
filterId: string;
|
|
6
6
|
isRemovable: boolean | undefined;
|
package/dist/types/Filter/FilterBar/subcomponents/FilterBarDatePicker/FilterBarDatePicker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterDatePickerProps } from "
|
|
1
|
+
import { FilterDatePickerProps } from "../../../FilterDatePicker";
|
|
2
2
|
export type FilterBarDatePickerProps = Omit<FilterDatePickerProps, "id" | "label" | "renderTrigger" | "isOpen" | "setIsOpen" | "selectedDate" | "onDateChange" | "locale"> & {
|
|
3
3
|
id?: string;
|
|
4
4
|
locale?: FilterDatePickerProps["locale"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterDateRangePickerProps } from "
|
|
1
|
+
import { FilterDateRangePickerProps } from "../../../FilterDateRangePicker";
|
|
2
2
|
export type FilterBarDateRangePickerProps = Omit<FilterDateRangePickerProps, "id" | "label" | "renderTrigger" | "isOpen" | "setIsOpen" | "selectedRange" | "onRangeChange" | "locale"> & {
|
|
3
3
|
id?: string;
|
|
4
4
|
onRangeChange?: FilterDateRangePickerProps["onRangeChange"];
|
package/dist/types/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Key } from "@react-types/shared";
|
|
2
|
-
import { FilterMultiSelectProps } from "
|
|
2
|
+
import { FilterMultiSelectProps } from "../../../FilterMultiSelect";
|
|
3
3
|
export type FilterBarMultiSelectProps = Omit<FilterMultiSelectProps, "label" | "trigger"> & {
|
|
4
4
|
id?: string;
|
|
5
5
|
label?: FilterMultiSelectProps["label"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterSelectProps, SelectOption } from "
|
|
1
|
+
import { FilterSelectProps, SelectOption } from "../../../FilterSelect";
|
|
2
2
|
export type FilterBarSelectProps<Option extends SelectOption = SelectOption> = Omit<FilterSelectProps<Option>, "isOpen" | "setIsOpen" | "renderTrigger" | "label" | "selectedKey"> & {
|
|
3
3
|
id?: string;
|
|
4
4
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ButtonGroupProps } from "
|
|
3
|
-
import { FilterTriggerRef } from "
|
|
4
|
-
import { DataAttributes } from "
|
|
2
|
+
import { ButtonGroupProps } from "../../../ButtonGroup";
|
|
3
|
+
import { FilterTriggerRef } from "../../Filter";
|
|
4
|
+
import { DataAttributes } from "../../../types/DataAttributes";
|
|
5
5
|
import { FilterButtonProps } from "../FilterButton";
|
|
6
6
|
import { FilterButtonBaseProps } from "../subcomponents/FilterButtonBase";
|
|
7
7
|
export type FilterButtonRemovableProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes } from "react";
|
|
2
|
-
import { OverrideClassName } from "
|
|
2
|
+
import { OverrideClassName } from "../../../../types/OverrideClassName";
|
|
3
3
|
export type FilterButtonBaseProps = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
} & OverrideClassName<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Locale } from "date-fns";
|
|
2
|
-
import { DisabledDays } from "
|
|
3
|
-
import { DateInputProps } from "
|
|
2
|
+
import { DisabledDays } from "../../../Calendar";
|
|
3
|
+
import { DateInputProps } from "../../../DateInput";
|
|
4
4
|
type UseDateInputHandlersArgs = {
|
|
5
5
|
locale: Locale;
|
|
6
6
|
disabledDays?: DisabledDays;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisabledDays } from "
|
|
1
|
+
import { DisabledDays } from "../../../Calendar";
|
|
2
2
|
import { ValidationMessage, DateValidationResponse } from "../types";
|
|
3
3
|
import { validateDate } from "../utils/validateDate";
|
|
4
4
|
export type UseDateValidationArgs = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { Locale } from "date-fns";
|
|
3
|
-
import { DateInputProps, DateInputDescriptionProps } from "
|
|
3
|
+
import { DateInputProps, DateInputDescriptionProps } from "../../../../DateInput";
|
|
4
4
|
import { ValidationMessage } from "../../types";
|
|
5
5
|
export type DateInputFieldProps = {
|
|
6
6
|
id: string;
|