@worknice/whiteboard 0.60.1 → 0.61.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/controls/Action.js +5 -7
- package/dist/controls/Action.stories.d.ts +1 -1
- package/dist/controls/Action.stories.js +5 -7
- package/dist/controls/Button.stories.d.ts +1 -1
- package/dist/controls/Button.stories.js +5 -7
- package/dist/controls/ButtonCard.js +6 -7
- package/dist/controls/ButtonCard.stories.d.ts +1 -1
- package/dist/controls/ButtonLink.stories.js +6 -10
- package/dist/controls/Disclosure.stories.js +6 -10
- package/dist/controls/FilterModal.js +4 -7
- package/dist/controls/LinkCard.js +2 -3
- package/dist/controls/MenuButton.js +3 -4
- package/dist/controls/MenuButton.stories.d.ts +1 -1
- package/dist/controls/MenuButton.stories.js +4 -7
- package/dist/controls/PageTabSet.js +3 -4
- package/dist/controls/Sortable.stories.d.ts +1 -1
- package/dist/controls/Sortable.stories.js +4 -10
- package/dist/controls/SortableItem.js +2 -4
- package/dist/controls/TabSet.stories.d.ts +1 -1
- package/dist/controls/TabSetLink.stories.js +11 -19
- package/dist/fields/CheckboxSetField.stories.d.ts +1 -1
- package/dist/fields/ColorPickerField.stories.d.ts +1 -1
- package/dist/fields/OrgLogoField.stories.d.ts +1 -1
- package/dist/fields/PaletteColorPickerField.stories.d.ts +1 -1
- package/dist/fields/TimezoneField.stories.d.ts +1 -1
- package/dist/forms/FormErrorList.js +2 -4
- package/dist/forms/FormStatusIndicator.js +7 -10
- package/dist/hud/NavSection.js +3 -4
- package/dist/icons/IconGallery.js +5 -11
- package/dist/icons/components/Approval.d.ts +5 -0
- package/dist/icons/components/Approval.js +14 -0
- package/dist/icons/components/Apps.d.ts +5 -0
- package/dist/icons/{AppsIcon.js → components/Apps.js} +7 -4
- package/dist/icons/components/Archive.d.ts +5 -0
- package/dist/icons/{ArchiveIcon.js → components/Archive.js} +7 -4
- package/dist/icons/components/ArrowLeft.d.ts +5 -0
- package/dist/icons/{ArrowLeftIcon.js → components/ArrowLeft.js} +7 -4
- package/dist/icons/components/ArrowRight.d.ts +5 -0
- package/dist/icons/{ArrowRightIcon.js → components/ArrowRight.js} +7 -4
- package/dist/icons/components/ArrowTurnLeftUp.d.ts +5 -0
- package/dist/icons/{ArrowTurnLeftUpIcon.js → components/ArrowTurnLeftUp.js} +7 -4
- package/dist/icons/components/ArrowsUpDown.d.ts +5 -0
- package/dist/icons/{ArrowsUpDownIcon.js → components/ArrowsUpDown.js} +7 -4
- package/dist/icons/components/Assign.d.ts +5 -0
- package/dist/icons/{AssignIcon.js → components/Assign.js} +7 -6
- package/dist/icons/components/AssignmentCertificate.d.ts +5 -0
- package/dist/icons/components/AssignmentCertificate.js +14 -0
- package/dist/icons/components/AssignmentDocument.d.ts +5 -0
- package/dist/icons/components/AssignmentDocument.js +14 -0
- package/dist/icons/components/AssignmentQuestionnaire.d.ts +5 -0
- package/dist/icons/components/AssignmentQuestionnaire.js +14 -0
- package/dist/icons/components/BankAccount.d.ts +5 -0
- package/dist/icons/{BankAccountIcon.js → components/BankAccount.js} +7 -4
- package/dist/icons/components/BookOpenLines.d.ts +5 -0
- package/dist/icons/{BookOpenLinesIcon.js → components/BookOpenLines.js} +7 -4
- package/dist/icons/components/Bug.d.ts +5 -0
- package/dist/icons/{BugIcon.js → components/Bug.js} +7 -4
- package/dist/icons/components/Calendar.d.ts +5 -0
- package/dist/icons/{CalendarIcon.js → components/Calendar.js} +7 -4
- package/dist/icons/components/Cancel.d.ts +5 -0
- package/dist/icons/{CancelIcon.js → components/Cancel.js} +7 -4
- package/dist/icons/components/CaratDown.d.ts +5 -0
- package/dist/icons/{CaratDownIcon.js → components/CaratDown.js} +7 -4
- package/dist/icons/components/CaratLeft.d.ts +5 -0
- package/dist/icons/{CaratLeftIcon.js → components/CaratLeft.js} +7 -4
- package/dist/icons/components/CaratRight.d.ts +5 -0
- package/dist/icons/{CaratRightIcon.js → components/CaratRight.js} +7 -4
- package/dist/icons/components/CaratUp.d.ts +5 -0
- package/dist/icons/{CaratUpIcon.js → components/CaratUp.js} +7 -4
- package/dist/icons/components/CheckMark.d.ts +5 -0
- package/dist/icons/{CheckmarkIcon.js → components/CheckMark.js} +7 -4
- package/dist/icons/components/ChevronDown.d.ts +5 -0
- package/dist/icons/{ChevronDownIcon.js → components/ChevronDown.js} +7 -4
- package/dist/icons/components/ChevronLeft.d.ts +5 -0
- package/dist/icons/{ChevronLeftIcon.js → components/ChevronLeft.js} +7 -4
- package/dist/icons/components/ChevronRight.d.ts +5 -0
- package/dist/icons/{ChevronRightIcon.js → components/ChevronRight.js} +7 -4
- package/dist/icons/components/ChevronUp.d.ts +5 -0
- package/dist/icons/{ChevronUpIcon.js → components/ChevronUp.js} +7 -4
- package/dist/icons/components/Close.d.ts +5 -0
- package/dist/icons/{CloseIcon.js → components/Close.js} +7 -4
- package/dist/icons/components/Columns.d.ts +5 -0
- package/dist/icons/{ColumnsIcon.js → components/Columns.js} +7 -4
- package/dist/icons/components/Comment.d.ts +5 -0
- package/dist/icons/{CommentIcon.js → components/Comment.js} +7 -4
- package/dist/icons/components/Copy.d.ts +5 -0
- package/dist/icons/components/Copy.js +14 -0
- package/dist/icons/components/Dash.d.ts +5 -0
- package/dist/icons/{DashIcon.js → components/Dash.js} +7 -4
- package/dist/icons/components/Delete.d.ts +5 -0
- package/dist/icons/{DeleteIcon.js → components/Delete.js} +7 -4
- package/dist/icons/components/Directory.d.ts +5 -0
- package/dist/icons/{DirectoryIcon.js → components/Directory.js} +7 -4
- package/dist/icons/components/DocumentProcessingFailed.d.ts +5 -0
- package/dist/icons/{DocumentProcessingFailedIcon.js → components/DocumentProcessingFailed.js} +7 -4
- package/dist/icons/components/Download.d.ts +5 -0
- package/dist/icons/{DownloadIcon.js → components/Download.js} +7 -4
- package/dist/icons/components/Edit.d.ts +5 -0
- package/dist/icons/{EditIcon.js → components/Edit.js} +7 -4
- package/dist/icons/components/Email.d.ts +5 -0
- package/dist/icons/{EmailIcon.js → components/Email.js} +7 -4
- package/dist/icons/components/EmergencyContact.d.ts +5 -0
- package/dist/icons/{EmergencyContactIcon.js → components/EmergencyContact.js} +7 -4
- package/dist/icons/components/Events.d.ts +5 -0
- package/dist/icons/components/Events.js +14 -0
- package/dist/icons/components/External.d.ts +5 -0
- package/dist/icons/components/External.js +14 -0
- package/dist/icons/components/FileExport.d.ts +5 -0
- package/dist/icons/{FileExportIcon.js → components/FileExport.js} +7 -4
- package/dist/icons/components/Filter.d.ts +5 -0
- package/dist/icons/{FilterIcon.js → components/Filter.js} +7 -4
- package/dist/icons/components/FilterList.d.ts +5 -0
- package/dist/icons/{FilterListIcon.js → components/FilterList.js} +7 -4
- package/dist/icons/components/Globe.d.ts +5 -0
- package/dist/icons/{GlobeIcon.js → components/Globe.js} +7 -4
- package/dist/icons/components/GripLines.d.ts +5 -0
- package/dist/icons/{GripLinesIcon.js → components/GripLines.js} +7 -4
- package/dist/icons/components/Help.d.ts +5 -0
- package/dist/icons/{HelpIcon.js → components/Help.js} +7 -4
- package/dist/icons/components/Hidden.d.ts +5 -0
- package/dist/icons/{HiddenIcon.js → components/Hidden.js} +7 -4
- package/dist/icons/components/Inbox.d.ts +5 -0
- package/dist/icons/{InboxIcon.js → components/Inbox.js} +7 -4
- package/dist/icons/components/Info.d.ts +5 -0
- package/dist/icons/{InfoIcon.js → components/Info.js} +7 -4
- package/dist/icons/components/Insights.d.ts +5 -0
- package/dist/icons/{InsightsIcon.js → components/Insights.js} +7 -4
- package/dist/icons/components/Job.d.ts +5 -0
- package/dist/icons/{JobIcon.js → components/Job.js} +7 -4
- package/dist/icons/components/Leave.d.ts +5 -0
- package/dist/icons/{LeaveIcon.js → components/Leave.js} +7 -4
- package/dist/icons/components/Lightbulb.d.ts +5 -0
- package/dist/icons/{LightbulbIcon.js → components/Lightbulb.js} +7 -4
- package/dist/icons/components/Loading.d.ts +5 -0
- package/dist/icons/{LoadingIcon.js → components/Loading.js} +7 -16
- package/dist/icons/components/LocationCheck.d.ts +5 -0
- package/dist/icons/components/LocationCheck.js +14 -0
- package/dist/icons/components/Logout.d.ts +5 -0
- package/dist/icons/{LogoutIcon.js → components/Logout.js} +7 -4
- package/dist/icons/components/Messages.d.ts +5 -0
- package/dist/icons/{MessagesIcon.js → components/Messages.js} +7 -4
- package/dist/icons/components/Microsoft.d.ts +5 -0
- package/dist/icons/{MicrosoftIcon.js → components/Microsoft.js} +7 -4
- package/dist/icons/components/Minus.d.ts +5 -0
- package/dist/icons/{MinusIcon.js → components/Minus.js} +7 -4
- package/dist/icons/components/Newspaper.d.ts +5 -0
- package/dist/icons/{NewspaperIcon.js → components/Newspaper.js} +7 -4
- package/dist/icons/components/Overflow.d.ts +5 -0
- package/dist/icons/components/Overflow.js +14 -0
- package/dist/icons/components/Paperwork.d.ts +5 -0
- package/dist/icons/{PaperworkIcon.js → components/Paperwork.js} +7 -4
- package/dist/icons/components/PaperworkAssigned.d.ts +5 -0
- package/dist/icons/components/PaperworkAssigned.js +14 -0
- package/dist/icons/components/PaperworkDraft.d.ts +5 -0
- package/dist/icons/components/PaperworkDraft.js +14 -0
- package/dist/icons/components/PaperworkExpired.d.ts +5 -0
- package/dist/icons/components/PaperworkExpired.js +14 -0
- package/dist/icons/components/PaperworkExpiringSoon.d.ts +5 -0
- package/dist/icons/components/PaperworkExpiringSoon.js +14 -0
- package/dist/icons/components/PaperworkMissing.d.ts +5 -0
- package/dist/icons/components/PaperworkMissing.js +14 -0
- package/dist/icons/components/PaperworkProcessed.d.ts +5 -0
- package/dist/icons/components/PaperworkProcessed.js +14 -0
- package/dist/icons/components/PaperworkSubmitted.d.ts +5 -0
- package/dist/icons/components/PaperworkSubmitted.js +14 -0
- package/dist/icons/components/People.d.ts +5 -0
- package/dist/icons/{PeopleIcon.js → components/People.js} +11 -8
- package/dist/icons/components/Phone.d.ts +5 -0
- package/dist/icons/{PhoneIcon.js → components/Phone.js} +7 -4
- package/dist/icons/components/Plus.d.ts +5 -0
- package/dist/icons/{PlusIcon.js → components/Plus.js} +7 -4
- package/dist/icons/components/Positions.d.ts +5 -0
- package/dist/icons/{PositionsIcon.js → components/Positions.js} +23 -20
- package/dist/icons/components/Profile.d.ts +5 -0
- package/dist/icons/{ProfileIcon.js → components/Profile.js} +11 -8
- package/dist/icons/components/ProfileFemale.d.ts +5 -0
- package/dist/icons/{ProfileFemaleIcon.js → components/ProfileFemale.js} +7 -4
- package/dist/icons/components/ProfileMale.d.ts +5 -0
- package/dist/icons/{ProfileMaleIcon.js → components/ProfileMale.js} +7 -4
- package/dist/icons/components/Remuneration.d.ts +5 -0
- package/dist/icons/{RemunerationIcon.js → components/Remuneration.js} +7 -4
- package/dist/icons/components/Reschedule.d.ts +5 -0
- package/dist/icons/{RescheduleIcon.js → components/Reschedule.js} +7 -6
- package/dist/icons/components/Restore.d.ts +5 -0
- package/dist/icons/{RestoreIcon.js → components/Restore.js} +7 -4
- package/dist/icons/components/Review.d.ts +5 -0
- package/dist/icons/{ReviewIcon.js → components/Review.js} +8 -5
- package/dist/icons/components/Schedule.d.ts +5 -0
- package/dist/icons/{ScheduleIcon.js → components/Schedule.js} +7 -6
- package/dist/icons/components/Search.d.ts +5 -0
- package/dist/icons/{SearchIcon.js → components/Search.js} +7 -4
- package/dist/icons/components/Settings.d.ts +5 -0
- package/dist/icons/{SettingsIcon.js → components/Settings.js} +7 -4
- package/dist/icons/components/Sidebar.d.ts +5 -0
- package/dist/icons/{SidebarIcon.js → components/Sidebar.js} +7 -4
- package/dist/icons/components/Sliders.d.ts +5 -0
- package/dist/icons/{SlidersIcon.js → components/Sliders.js} +7 -4
- package/dist/icons/components/SortAsc.d.ts +5 -0
- package/dist/icons/{SortAscIcon.js → components/SortAsc.js} +7 -4
- package/dist/icons/components/SortDefault.d.ts +5 -0
- package/dist/icons/{SortDefaultIcon.js → components/SortDefault.js} +7 -4
- package/dist/icons/components/SortDes.d.ts +5 -0
- package/dist/icons/{SortDesIcon.js → components/SortDes.js} +7 -4
- package/dist/icons/components/StepsComplete.d.ts +5 -0
- package/dist/icons/{StepsCompleteIcon.js → components/StepsComplete.js} +7 -4
- package/dist/icons/components/StepsCurrent.d.ts +5 -0
- package/dist/icons/{StepsCurrentIcon.js → components/StepsCurrent.js} +7 -4
- package/dist/icons/components/StepsIncomplete.d.ts +5 -0
- package/dist/icons/{StepsIncompleteIcon.js → components/StepsIncomplete.js} +7 -4
- package/dist/icons/components/Submit.d.ts +5 -0
- package/dist/icons/{SubmitIcon.js → components/Submit.js} +7 -6
- package/dist/icons/components/Success.d.ts +5 -0
- package/dist/icons/{SuccessIcon.js → components/Success.js} +7 -6
- package/dist/icons/components/SuperFund.d.ts +5 -0
- package/dist/icons/{SuperFundIcon.js → components/SuperFund.js} +7 -4
- package/dist/icons/components/Sync.d.ts +5 -0
- package/dist/icons/{SyncIcon.js → components/Sync.js} +7 -4
- package/dist/icons/components/Table.d.ts +5 -0
- package/dist/icons/{TableIcon.js → components/Table.js} +7 -4
- package/dist/icons/components/Task.d.ts +5 -0
- package/dist/icons/{TaskIcon.js → components/Task.js} +7 -4
- package/dist/icons/components/Tax.d.ts +5 -0
- package/dist/icons/{TaxIcon.js → components/Tax.js} +7 -4
- package/dist/icons/components/Tenure.d.ts +5 -0
- package/dist/icons/{TenureIcon.js → components/Tenure.js} +7 -4
- package/dist/icons/components/Visible.d.ts +5 -0
- package/dist/icons/{VisibleIcon.js → components/Visible.js} +7 -4
- package/dist/icons/components/Warning.d.ts +5 -0
- package/dist/icons/{WarningIcon.js → components/Warning.js} +7 -4
- package/dist/icons/components/Workflows.d.ts +5 -0
- package/dist/icons/{WorkflowsIcon.js → components/Workflows.js} +14 -11
- package/dist/icons/components/index.d.ts +101 -0
- package/dist/icons/components/index.js +203 -0
- package/dist/icons/createIcon.d.ts +6 -0
- package/dist/icons/createIcon.js +16 -0
- package/dist/icons/createIcon.module.js +5 -0
- package/dist/icons/createIcon_module.css +15 -0
- package/dist/icons/svgs/Approval.js +2 -0
- package/dist/icons/svgs/Apps.js +2 -0
- package/dist/icons/svgs/Archive.js +2 -0
- package/dist/icons/svgs/ArrowLeft.js +2 -0
- package/dist/icons/svgs/ArrowRight.js +2 -0
- package/dist/icons/svgs/ArrowTurnLeftUp.js +2 -0
- package/dist/icons/svgs/ArrowsUpDown.js +2 -0
- package/dist/icons/svgs/Assign.js +2 -0
- package/dist/icons/svgs/AssignmentCertificate.js +2 -0
- package/dist/icons/svgs/AssignmentDocument.js +2 -0
- package/dist/icons/svgs/AssignmentQuestionnaire.js +2 -0
- package/dist/icons/svgs/BankAccount.js +2 -0
- package/dist/icons/svgs/BookOpenLines.js +2 -0
- package/dist/icons/svgs/Bug.js +2 -0
- package/dist/icons/svgs/Calendar.js +2 -0
- package/dist/icons/svgs/Cancel.js +2 -0
- package/dist/icons/svgs/CaratDown.js +2 -0
- package/dist/icons/svgs/CaratLeft.js +2 -0
- package/dist/icons/svgs/CaratRight.js +2 -0
- package/dist/icons/svgs/CaratUp.js +2 -0
- package/dist/icons/svgs/CheckMark.js +2 -0
- package/dist/icons/svgs/ChevronDown.js +2 -0
- package/dist/icons/svgs/ChevronLeft.js +2 -0
- package/dist/icons/svgs/ChevronRight.js +2 -0
- package/dist/icons/svgs/ChevronUp.js +2 -0
- package/dist/icons/svgs/Close.js +2 -0
- package/dist/icons/svgs/Columns.js +2 -0
- package/dist/icons/svgs/Comment.js +2 -0
- package/dist/icons/svgs/Copy.js +2 -0
- package/dist/icons/svgs/Dash.js +2 -0
- package/dist/icons/svgs/Delete.js +2 -0
- package/dist/icons/svgs/Directory.js +2 -0
- package/dist/icons/svgs/DocumentProcessingFailed.js +2 -0
- package/dist/icons/svgs/Download.js +2 -0
- package/dist/icons/svgs/Edit.js +2 -0
- package/dist/icons/svgs/Email.js +2 -0
- package/dist/icons/svgs/EmergencyContact.js +2 -0
- package/dist/icons/svgs/Events.js +2 -0
- package/dist/icons/svgs/External.js +2 -0
- package/dist/icons/svgs/FileExport.js +2 -0
- package/dist/icons/svgs/Filter.js +2 -0
- package/dist/icons/svgs/FilterList.js +2 -0
- package/dist/icons/svgs/Globe.js +2 -0
- package/dist/icons/svgs/GripLines.js +2 -0
- package/dist/icons/svgs/Help.js +2 -0
- package/dist/icons/svgs/Hidden.js +2 -0
- package/dist/icons/svgs/Inbox.js +2 -0
- package/dist/icons/svgs/Info.js +2 -0
- package/dist/icons/svgs/Insights.js +2 -0
- package/dist/icons/svgs/Job.js +2 -0
- package/dist/icons/svgs/Leave.js +2 -0
- package/dist/icons/svgs/Lightbulb.js +2 -0
- package/dist/icons/svgs/Loading.js +2 -0
- package/dist/icons/svgs/LocationCheck.js +2 -0
- package/dist/icons/svgs/Logout.js +2 -0
- package/dist/icons/svgs/Messages.js +2 -0
- package/dist/icons/svgs/Microsoft.js +2 -0
- package/dist/icons/svgs/Minus.js +2 -0
- package/dist/icons/svgs/Newspaper.js +2 -0
- package/dist/icons/svgs/Overflow.js +2 -0
- package/dist/icons/svgs/Paperwork.js +2 -0
- package/dist/icons/svgs/PaperworkAssigned.js +2 -0
- package/dist/icons/svgs/PaperworkDraft.js +2 -0
- package/dist/icons/svgs/PaperworkExpired.js +2 -0
- package/dist/icons/svgs/PaperworkExpiringSoon.js +2 -0
- package/dist/icons/svgs/PaperworkMissing.js +2 -0
- package/dist/icons/svgs/PaperworkProcessed.js +2 -0
- package/dist/icons/svgs/PaperworkSubmitted.js +2 -0
- package/dist/icons/svgs/People.js +2 -0
- package/dist/icons/svgs/Phone.js +2 -0
- package/dist/icons/svgs/Plus.js +2 -0
- package/dist/icons/svgs/Positions.js +2 -0
- package/dist/icons/svgs/Profile.js +2 -0
- package/dist/icons/svgs/ProfileFemale.js +2 -0
- package/dist/icons/svgs/ProfileMale.js +2 -0
- package/dist/icons/svgs/Remuneration.js +2 -0
- package/dist/icons/svgs/Reschedule.js +2 -0
- package/dist/icons/svgs/Restore.js +2 -0
- package/dist/icons/svgs/Review.js +2 -0
- package/dist/icons/svgs/Schedule.js +2 -0
- package/dist/icons/svgs/Search.js +2 -0
- package/dist/icons/svgs/Settings.js +2 -0
- package/dist/icons/svgs/Sidebar.js +2 -0
- package/dist/icons/svgs/Sliders.js +2 -0
- package/dist/icons/svgs/SortAsc.js +2 -0
- package/dist/icons/svgs/SortDefault.js +2 -0
- package/dist/icons/svgs/SortDes.js +2 -0
- package/dist/icons/svgs/StepsComplete.js +2 -0
- package/dist/icons/svgs/StepsCurrent.js +2 -0
- package/dist/icons/svgs/StepsIncomplete.js +2 -0
- package/dist/icons/svgs/Submit.js +2 -0
- package/dist/icons/svgs/Success.js +2 -0
- package/dist/icons/svgs/SuperFund.js +2 -0
- package/dist/icons/svgs/Sync.js +2 -0
- package/dist/icons/svgs/Table.js +2 -0
- package/dist/icons/svgs/Task.js +2 -0
- package/dist/icons/svgs/Tax.js +2 -0
- package/dist/icons/svgs/Tenure.js +2 -0
- package/dist/icons/svgs/Visible.js +2 -0
- package/dist/icons/svgs/Warning.js +2 -0
- package/dist/icons/svgs/Workflows.js +2 -0
- package/dist/icons/types.d.ts +12 -0
- package/dist/icons/types.js +8 -0
- package/dist/inputs/CheckboxInput.js +6 -7
- package/dist/inputs/ColorInput.stories.d.ts +1 -1
- package/dist/inputs/FileSlotInput.js +2 -4
- package/dist/inputs/MultipleFileInput.js +2 -4
- package/dist/inputs/PaletteColorInput.js +2 -4
- package/dist/inputs/PaletteColorInput.stories.d.ts +1 -1
- package/dist/inputs/SelectInput.js +5 -9
- package/dist/inputs/SingleSelectComboboxInput.js +7 -12
- package/dist/layouts/FullLayout.js +74 -77
- package/dist/layouts/MinimalLayout.js +1 -2
- package/dist/presentation/Avatar.d.ts +5 -6
- package/dist/presentation/Avatar.js +8 -12
- package/dist/presentation/Avatar.stories.d.ts +7 -7
- package/dist/presentation/Avatar.stories.js +7 -4
- package/dist/presentation/Card.js +2 -4
- package/dist/presentation/ConfirmationModal.js +2 -4
- package/dist/presentation/CustomizableTable/CustomizableTable.js +24 -35
- package/dist/presentation/CustomizableTable/CustomizableTable.module.js +0 -1
- package/dist/presentation/CustomizableTable/CustomizableTable_module.css +1 -1
- package/dist/presentation/File.js +2 -4
- package/dist/presentation/IconBadge.d.ts +4 -4
- package/dist/presentation/IconBadge.js +2 -6
- package/dist/presentation/LightweightTable.js +2 -4
- package/dist/presentation/ListCard.js +2 -4
- package/dist/presentation/ObscuredText.js +6 -4
- package/dist/presentation/PersonCover.stories.d.ts +9 -9
- package/dist/presentation/RichList/RichList.d.ts +6 -7
- package/dist/presentation/RichList/RichList.js +26 -17
- package/dist/presentation/RichList/RichList.stories.js +5 -28
- package/dist/presentation/RichList/RichListBulkActionBar.js +6 -9
- package/dist/presentation/RichList/RichListDisplayModal.js +3 -5
- package/dist/presentation/RichList/RichListRow.d.ts +2 -1
- package/dist/presentation/RichList/RichListRow.js +39 -29
- package/dist/presentation/RichList/RichListToolbar.js +11 -16
- package/dist/presentation/RichList/helpers.d.ts +3 -1
- package/dist/presentation/RichList/helpers.js +33 -3
- package/dist/presentation/RichList/stories/ComplianceGroups.js +8 -12
- package/dist/presentation/RichList/stories/CustomFields.js +2 -5
- package/dist/presentation/RichList/stories/EmployeeCompliance.d.ts +1 -1
- package/dist/presentation/RichList/stories/EmployeeCompliance.js +8 -10
- package/dist/presentation/RichList/stories/EmployeePaperwork.d.ts +3 -5
- package/dist/presentation/RichList/stories/EmployeePaperwork.js +26 -25
- package/dist/presentation/RichList/stories/EmployeePeople.d.ts +1 -1
- package/dist/presentation/RichList/stories/EmployeePeople.js +11 -13
- package/dist/presentation/RichList/stories/Leave.d.ts +1 -1
- package/dist/presentation/RichList/stories/Leave.js +9 -7
- package/dist/presentation/RichList/stories/Paperwork.d.ts +3 -5
- package/dist/presentation/RichList/stories/Paperwork.js +18 -18
- package/dist/presentation/RichList/stories/PaperworkApprovals.d.ts +3 -5
- package/dist/presentation/RichList/stories/PaperworkApprovals.js +14 -12
- package/dist/presentation/RichList/stories/PeopleList.d.ts +1 -1
- package/dist/presentation/RichList/stories/PeopleList.js +6 -2
- package/dist/presentation/RichList/stories/PeopleTags.js +4 -7
- package/dist/presentation/RichList/stories/Positions.d.ts +1 -1
- package/dist/presentation/RichList/stories/Positions.js +15 -11
- package/dist/presentation/RichList/stories/Reviews.d.ts +1 -1
- package/dist/presentation/RichList/stories/Reviews.js +2 -2
- package/dist/presentation/RichList/stories/SavedQuestions.js +4 -7
- package/dist/presentation/RichList/stories/Tables.d.ts +1 -1
- package/dist/presentation/RichList/stories/Tables.js +43 -29
- package/dist/presentation/RichList/stories/Tasks.d.ts +1 -1
- package/dist/presentation/RichList/stories/Tasks.js +16 -12
- package/dist/presentation/RichList/stories/shared/bulkActionStubs.js +8 -9
- package/dist/presentation/RichList/stories/shared.d.ts +0 -1
- package/dist/presentation/RichList/types.d.ts +38 -2
- package/dist/presentation/Slot.js +2 -4
- package/dist/presentation/Table.js +21 -33
- package/dist/presentation/Table.module.js +0 -1
- package/dist/presentation/Table_module.css +1 -1
- package/dist/static/svg/Approval.svg +3 -0
- package/dist/static/svg/Apps.svg +3 -0
- package/dist/static/svg/Archive.svg +3 -0
- package/dist/static/svg/ArrowLeft.svg +3 -0
- package/dist/static/svg/ArrowRight.svg +3 -0
- package/dist/static/svg/ArrowTurnLeftUp.svg +6 -0
- package/dist/static/svg/ArrowsUpDown.svg +3 -0
- package/dist/static/svg/Assign.svg +3 -0
- package/dist/static/svg/AssignmentCertificate.svg +3 -0
- package/dist/static/svg/AssignmentDocument.svg +3 -0
- package/dist/static/svg/AssignmentQuestionnaire.svg +3 -0
- package/dist/static/svg/BankAccount.svg +3 -0
- package/dist/static/svg/BookOpenLines.svg +3 -0
- package/dist/static/svg/Bug.svg +3 -0
- package/dist/static/svg/Calendar.svg +3 -0
- package/dist/static/svg/Cancel.svg +3 -0
- package/dist/static/svg/CaratDown.svg +3 -0
- package/dist/static/svg/CaratLeft.svg +3 -0
- package/dist/static/svg/CaratRight.svg +3 -0
- package/dist/static/svg/CaratUp.svg +3 -0
- package/dist/static/svg/CheckMark.svg +3 -0
- package/dist/static/svg/ChevronDown.svg +3 -0
- package/dist/static/svg/ChevronLeft.svg +3 -0
- package/dist/static/svg/ChevronRight.svg +3 -0
- package/dist/static/svg/ChevronUp.svg +3 -0
- package/dist/static/svg/Close.svg +3 -0
- package/dist/static/svg/Columns.svg +3 -0
- package/dist/static/svg/Comment.svg +3 -0
- package/dist/static/svg/Copy.svg +3 -0
- package/dist/static/svg/Dash.svg +3 -0
- package/dist/static/svg/Delete.svg +3 -0
- package/dist/static/svg/Directory.svg +3 -0
- package/dist/static/svg/DocumentProcessingFailed.svg +3 -0
- package/dist/static/svg/Download.svg +3 -0
- package/dist/static/svg/Edit.svg +3 -0
- package/dist/static/svg/Email.svg +3 -0
- package/dist/static/svg/EmergencyContact.svg +3 -0
- package/dist/static/svg/Events.svg +1 -0
- package/dist/static/svg/External.svg +3 -0
- package/dist/static/svg/FileExport.svg +3 -0
- package/dist/static/svg/Filter.svg +3 -0
- package/dist/static/svg/FilterList.svg +3 -0
- package/dist/static/svg/Globe.svg +3 -0
- package/dist/static/svg/GripLines.svg +3 -0
- package/dist/static/svg/Help.svg +3 -0
- package/dist/static/svg/Hidden.svg +3 -0
- package/dist/static/svg/Inbox.svg +3 -0
- package/dist/static/svg/Info.svg +3 -0
- package/dist/static/svg/Insights.svg +5 -0
- package/dist/static/svg/Job.svg +3 -0
- package/dist/static/svg/Leave.svg +3 -0
- package/dist/static/svg/Lightbulb.svg +3 -0
- package/dist/static/svg/Loading.svg +3 -0
- package/dist/static/svg/LocationCheck.svg +3 -0
- package/dist/static/svg/Logout.svg +3 -0
- package/dist/static/svg/Messages.svg +3 -0
- package/dist/static/svg/Microsoft.svg +6 -0
- package/dist/static/svg/Minus.svg +3 -0
- package/dist/static/svg/Newspaper.svg +3 -0
- package/dist/static/svg/Overflow.svg +3 -0
- package/dist/static/svg/Paperwork.svg +5 -0
- package/dist/static/svg/PaperworkAssigned.svg +3 -0
- package/dist/static/svg/PaperworkDraft.svg +3 -0
- package/dist/static/svg/PaperworkExpired.svg +3 -0
- package/dist/static/svg/PaperworkExpiringSoon.svg +3 -0
- package/dist/static/svg/PaperworkMissing.svg +3 -0
- package/dist/static/svg/PaperworkProcessed.svg +3 -0
- package/dist/static/svg/PaperworkSubmitted.svg +3 -0
- package/dist/static/svg/People.svg +7 -0
- package/dist/static/svg/Phone.svg +3 -0
- package/dist/static/svg/Plus.svg +3 -0
- package/dist/static/svg/Positions.svg +9 -0
- package/dist/static/svg/Profile.svg +6 -0
- package/dist/static/svg/ProfileFemale.svg +3 -0
- package/dist/static/svg/ProfileMale.svg +3 -0
- package/dist/static/svg/Remuneration.svg +3 -0
- package/dist/static/svg/Reschedule.svg +3 -0
- package/dist/static/svg/Restore.svg +3 -0
- package/dist/static/svg/Review.svg +6 -0
- package/dist/static/svg/Schedule.svg +3 -0
- package/dist/static/svg/Search.svg +3 -0
- package/dist/static/svg/Settings.svg +3 -0
- package/dist/static/svg/Sidebar.svg +3 -0
- package/dist/static/svg/Sliders.svg +6 -0
- package/dist/static/svg/SortAsc.svg +3 -0
- package/dist/static/svg/SortDefault.svg +3 -0
- package/dist/static/svg/SortDes.svg +3 -0
- package/dist/static/svg/StepsComplete.svg +3 -0
- package/dist/static/svg/StepsCurrent.svg +3 -0
- package/dist/static/svg/StepsIncomplete.svg +3 -0
- package/dist/static/svg/Submit.svg +3 -0
- package/dist/static/svg/Success.svg +3 -0
- package/dist/static/svg/SuperFund.svg +3 -0
- package/dist/static/svg/Sync.svg +3 -0
- package/dist/static/svg/Table.svg +3 -0
- package/dist/static/svg/Task.svg +3 -0
- package/dist/static/svg/Tax.svg +3 -0
- package/dist/static/svg/Tenure.svg +3 -0
- package/dist/static/svg/Visible.svg +3 -0
- package/dist/static/svg/Warning.svg +6 -0
- package/dist/static/svg/Workflows.svg +7 -0
- package/dist/utils/storybook.js +7 -7
- package/package.json +8 -3
- package/dist/icons/ApprovalIcon.d.ts +0 -3
- package/dist/icons/ApprovalIcon.js +0 -14
- package/dist/icons/AppsIcon.d.ts +0 -3
- package/dist/icons/ArchiveIcon.d.ts +0 -3
- package/dist/icons/ArrowLeftIcon.d.ts +0 -3
- package/dist/icons/ArrowRightIcon.d.ts +0 -3
- package/dist/icons/ArrowTurnLeftUpIcon.d.ts +0 -3
- package/dist/icons/ArrowsUpDownIcon.d.ts +0 -3
- package/dist/icons/AssignIcon.d.ts +0 -3
- package/dist/icons/AssignmentCertificateIcon.d.ts +0 -3
- package/dist/icons/AssignmentCertificateIcon.js +0 -14
- package/dist/icons/AssignmentDocumentIcon.d.ts +0 -3
- package/dist/icons/AssignmentDocumentIcon.js +0 -14
- package/dist/icons/AssignmentQuestionnaireIcon.d.ts +0 -3
- package/dist/icons/AssignmentQuestionnaireIcon.js +0 -14
- package/dist/icons/BankAccountIcon.d.ts +0 -3
- package/dist/icons/BookOpenLinesIcon.d.ts +0 -3
- package/dist/icons/BugIcon.d.ts +0 -3
- package/dist/icons/CalendarIcon.d.ts +0 -3
- package/dist/icons/CancelIcon.d.ts +0 -3
- package/dist/icons/CaratDownIcon.d.ts +0 -3
- package/dist/icons/CaratLeftIcon.d.ts +0 -3
- package/dist/icons/CaratRightIcon.d.ts +0 -3
- package/dist/icons/CaratUpIcon.d.ts +0 -3
- package/dist/icons/CheckmarkIcon.d.ts +0 -3
- package/dist/icons/ChevronDownIcon.d.ts +0 -3
- package/dist/icons/ChevronLeftIcon.d.ts +0 -3
- package/dist/icons/ChevronRightIcon.d.ts +0 -3
- package/dist/icons/ChevronUpIcon.d.ts +0 -3
- package/dist/icons/CloseIcon.d.ts +0 -3
- package/dist/icons/ColumnsIcon.d.ts +0 -3
- package/dist/icons/CommentIcon.d.ts +0 -3
- package/dist/icons/CopyIcon.d.ts +0 -3
- package/dist/icons/CopyIcon.js +0 -14
- package/dist/icons/DashIcon.d.ts +0 -3
- package/dist/icons/DeleteIcon.d.ts +0 -3
- package/dist/icons/DirectoryIcon.d.ts +0 -3
- package/dist/icons/DocumentProcessingFailedIcon.d.ts +0 -3
- package/dist/icons/DownloadIcon.d.ts +0 -3
- package/dist/icons/EditIcon.d.ts +0 -3
- package/dist/icons/EmailIcon.d.ts +0 -3
- package/dist/icons/EmergencyContactIcon.d.ts +0 -3
- package/dist/icons/ExternalIcon.d.ts +0 -3
- package/dist/icons/ExternalIcon.js +0 -14
- package/dist/icons/FileExportIcon.d.ts +0 -3
- package/dist/icons/FilterIcon.d.ts +0 -3
- package/dist/icons/FilterListIcon.d.ts +0 -3
- package/dist/icons/GlobeIcon.d.ts +0 -3
- package/dist/icons/GripLinesIcon.d.ts +0 -3
- package/dist/icons/HelpIcon.d.ts +0 -3
- package/dist/icons/HiddenIcon.d.ts +0 -3
- package/dist/icons/InboxIcon.d.ts +0 -3
- package/dist/icons/InfoIcon.d.ts +0 -3
- package/dist/icons/InsightsIcon.d.ts +0 -3
- package/dist/icons/JobIcon.d.ts +0 -3
- package/dist/icons/LeaveIcon.d.ts +0 -3
- package/dist/icons/LightbulbIcon.d.ts +0 -3
- package/dist/icons/LoadingIcon.d.ts +0 -4
- package/dist/icons/LogoutIcon.d.ts +0 -3
- package/dist/icons/MessagesIcon.d.ts +0 -3
- package/dist/icons/MicrosoftIcon.d.ts +0 -3
- package/dist/icons/MinusIcon.d.ts +0 -3
- package/dist/icons/NewspaperIcon.d.ts +0 -3
- package/dist/icons/OverflowIcon.d.ts +0 -3
- package/dist/icons/OverflowIcon.js +0 -11
- package/dist/icons/PaperworkAssignedIcon.d.ts +0 -3
- package/dist/icons/PaperworkAssignedIcon.js +0 -14
- package/dist/icons/PaperworkDraftIcon.d.ts +0 -3
- package/dist/icons/PaperworkDraftIcon.js +0 -14
- package/dist/icons/PaperworkExpiredIcon.d.ts +0 -3
- package/dist/icons/PaperworkExpiredIcon.js +0 -14
- package/dist/icons/PaperworkExpiringSoonIcon.d.ts +0 -3
- package/dist/icons/PaperworkExpiringSoonIcon.js +0 -14
- package/dist/icons/PaperworkIcon.d.ts +0 -3
- package/dist/icons/PaperworkMissingIcon.d.ts +0 -3
- package/dist/icons/PaperworkMissingIcon.js +0 -14
- package/dist/icons/PaperworkProcessedIcon.d.ts +0 -3
- package/dist/icons/PaperworkProcessedIcon.js +0 -14
- package/dist/icons/PaperworkSubmittedIcon.d.ts +0 -3
- package/dist/icons/PaperworkSubmittedIcon.js +0 -14
- package/dist/icons/PeopleIcon.d.ts +0 -3
- package/dist/icons/PhoneIcon.d.ts +0 -3
- package/dist/icons/PlusIcon.d.ts +0 -3
- package/dist/icons/PositionsIcon.d.ts +0 -3
- package/dist/icons/ProfileFemaleIcon.d.ts +0 -3
- package/dist/icons/ProfileIcon.d.ts +0 -3
- package/dist/icons/ProfileMaleIcon.d.ts +0 -3
- package/dist/icons/RemunerationIcon.d.ts +0 -3
- package/dist/icons/RescheduleIcon.d.ts +0 -3
- package/dist/icons/RestoreIcon.d.ts +0 -3
- package/dist/icons/ReviewIcon.d.ts +0 -3
- package/dist/icons/ScheduleIcon.d.ts +0 -3
- package/dist/icons/SearchIcon.d.ts +0 -3
- package/dist/icons/SettingsIcon.d.ts +0 -3
- package/dist/icons/SidebarIcon.d.ts +0 -3
- package/dist/icons/SlidersIcon.d.ts +0 -3
- package/dist/icons/SortAscIcon.d.ts +0 -3
- package/dist/icons/SortDefaultIcon.d.ts +0 -3
- package/dist/icons/SortDesIcon.d.ts +0 -3
- package/dist/icons/StepsCompleteIcon.d.ts +0 -3
- package/dist/icons/StepsCurrentIcon.d.ts +0 -3
- package/dist/icons/StepsIncompleteIcon.d.ts +0 -3
- package/dist/icons/SubmitIcon.d.ts +0 -3
- package/dist/icons/SuccessIcon.d.ts +0 -3
- package/dist/icons/SuperFundIcon.d.ts +0 -3
- package/dist/icons/SyncIcon.d.ts +0 -3
- package/dist/icons/TableIcon.d.ts +0 -3
- package/dist/icons/TaskIcon.d.ts +0 -3
- package/dist/icons/TaxIcon.d.ts +0 -3
- package/dist/icons/TenureIcon.d.ts +0 -3
- package/dist/icons/VisibleIcon.d.ts +0 -3
- package/dist/icons/WarningIcon.d.ts +0 -3
- package/dist/icons/WorkflowsIcon.d.ts +0 -3
- package/dist/icons/_types.d.ts +0 -4
- package/dist/icons/_types.js +0 -0
- package/dist/icons/index.d.ts +0 -99
- package/dist/icons/index.js +0 -100
- package/dist/layouts/BaseLayout.d.ts +0 -6
- package/dist/layouts/BaseLayout.js +0 -10
- package/dist/presentation/Icon.d.ts +0 -21
- package/dist/presentation/Icon.js +0 -28
- package/dist/presentation/Icon.stories.d.ts +0 -20
- package/dist/presentation/Icon.stories.js +0 -24
- package/dist/presentation/IconSymbolSet.d.ts +0 -6
- package/dist/presentation/IconSymbolSet.js +0 -16
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__ from "../../../icons/components/Edit.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_People_js_eb6cef46__ from "../../../icons/components/People.js";
|
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
3
5
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
7
8
|
const tags = [
|
|
@@ -55,9 +56,7 @@ const rowActions = ()=>[
|
|
|
55
56
|
{
|
|
56
57
|
id: "more",
|
|
57
58
|
label: "Tag actions",
|
|
58
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
59
|
-
symbol: "Edit"
|
|
60
|
-
}),
|
|
59
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"], {}),
|
|
61
60
|
alwaysVisible: false,
|
|
62
61
|
type: "onClick",
|
|
63
62
|
onClick: ()=>void 0
|
|
@@ -67,7 +66,6 @@ const PeopleTagsList = ({ compactBreakpoint, contentAlignment, rowHeight })=>/*#
|
|
|
67
66
|
compactBreakpoint: compactBreakpoint,
|
|
68
67
|
contentAlignment: contentAlignment,
|
|
69
68
|
data: tags,
|
|
70
|
-
enableSorting: false,
|
|
71
69
|
fillContainerHeight: true,
|
|
72
70
|
getRowId: (r)=>r.id,
|
|
73
71
|
rowActions: rowActions,
|
|
@@ -90,8 +88,7 @@ const PeopleTagsList = ({ compactBreakpoint, contentAlignment, rowHeight })=>/*#
|
|
|
90
88
|
justify: "end",
|
|
91
89
|
tagName: "div",
|
|
92
90
|
children: [
|
|
93
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
94
|
-
symbol: "People",
|
|
91
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_People_js_eb6cef46__["default"], {
|
|
95
92
|
size: "small",
|
|
96
93
|
tone: "muted"
|
|
97
94
|
}),
|
|
@@ -18,5 +18,5 @@ export type PositionsRow = {
|
|
|
18
18
|
*/
|
|
19
19
|
manager: PersonRef | "vacant" | null;
|
|
20
20
|
};
|
|
21
|
-
declare const PositionsList: ({ compactBreakpoint, contentAlignment,
|
|
21
|
+
declare const PositionsList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default PositionsList;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_ArrowTurnLeftUp_js_efb58056__ from "../../../icons/components/ArrowTurnLeftUp.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__ from "../../../icons/components/Edit.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_People_js_eb6cef46__ from "../../../icons/components/People.js";
|
|
3
6
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__ from "../../../utils/storybook.js";
|
|
4
7
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__ from "../../../utils/useNextContext.js";
|
|
5
8
|
import * as __WEBPACK_EXTERNAL_MODULE__Avatar_js_1229b6e4__ from "../../Avatar.js";
|
|
6
9
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
8
10
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
9
11
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
10
12
|
const positions = [
|
|
@@ -276,7 +278,7 @@ const slotLinkStyle = {
|
|
|
276
278
|
textDecoration: "none",
|
|
277
279
|
zIndex: 2
|
|
278
280
|
};
|
|
279
|
-
const PositionsList = ({ compactBreakpoint, contentAlignment,
|
|
281
|
+
const PositionsList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
280
282
|
const { Link } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__["default"])();
|
|
281
283
|
const renderAssignee = (r)=>{
|
|
282
284
|
if ("vacant" === r.assignee) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Link, {
|
|
@@ -292,7 +294,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
292
294
|
id: `${r.id}-assign-vacant`,
|
|
293
295
|
size: "small",
|
|
294
296
|
href: `#assignee-${r.id}`,
|
|
295
|
-
|
|
297
|
+
hoverIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"]
|
|
296
298
|
}),
|
|
297
299
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
298
300
|
font: "small",
|
|
@@ -318,7 +320,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
318
320
|
size: "small",
|
|
319
321
|
hue: "200",
|
|
320
322
|
href: `#assignee-${r.id}`,
|
|
321
|
-
|
|
323
|
+
hoverIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"]
|
|
322
324
|
}),
|
|
323
325
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
324
326
|
font: "small",
|
|
@@ -338,8 +340,8 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
338
340
|
id: `${r.id}-mgr-vacant`,
|
|
339
341
|
size: "small",
|
|
340
342
|
href: `#manager-${r.id}`,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
+
hoverIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"],
|
|
344
|
+
badgeIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_ArrowTurnLeftUp_js_efb58056__["default"]
|
|
343
345
|
})
|
|
344
346
|
});
|
|
345
347
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Link, {
|
|
@@ -354,8 +356,8 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
354
356
|
name: r.manager.name,
|
|
355
357
|
imageUrl: r.manager.imageUrl,
|
|
356
358
|
href: `#manager-${r.id}`,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
+
hoverIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"],
|
|
360
|
+
badgeIconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_ArrowTurnLeftUp_js_efb58056__["default"],
|
|
359
361
|
size: "small",
|
|
360
362
|
hue: "200"
|
|
361
363
|
})
|
|
@@ -364,6 +366,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
364
366
|
const titleField = {
|
|
365
367
|
label: "Position",
|
|
366
368
|
value: (r)=>`${r.title} ${r.department}`,
|
|
369
|
+
enableSorting: true,
|
|
367
370
|
globalFiltering: true,
|
|
368
371
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
369
372
|
font: "regular-bold",
|
|
@@ -373,6 +376,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
373
376
|
const subtitleField = {
|
|
374
377
|
label: "Code / function / reports",
|
|
375
378
|
value: (r)=>`${r.positionCode} ${r.department} ${r.directReports} direct reports`,
|
|
379
|
+
enableSorting: true,
|
|
376
380
|
globalFiltering: true,
|
|
377
381
|
filter: {
|
|
378
382
|
isMulti: true,
|
|
@@ -416,8 +420,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
416
420
|
spacing: "n1",
|
|
417
421
|
tagName: "div",
|
|
418
422
|
children: [
|
|
419
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
420
|
-
symbol: "People",
|
|
423
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_People_js_eb6cef46__["default"], {
|
|
421
424
|
size: "small",
|
|
422
425
|
tone: "muted"
|
|
423
426
|
}),
|
|
@@ -439,6 +442,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
439
442
|
id: "assigned",
|
|
440
443
|
label: "Assigned",
|
|
441
444
|
value: (r)=>"vacant" === r.assignee ? "Vacant" : r.assignee.name,
|
|
445
|
+
enableSorting: true,
|
|
442
446
|
render: (r)=>renderAssignee(r),
|
|
443
447
|
align: "start",
|
|
444
448
|
size: 200,
|
|
@@ -470,6 +474,7 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
470
474
|
if ("vacant" === r.manager) return "Vacant";
|
|
471
475
|
return r.manager.name;
|
|
472
476
|
},
|
|
477
|
+
enableSorting: true,
|
|
473
478
|
globalFiltering: true,
|
|
474
479
|
render: (r)=>renderManager(r),
|
|
475
480
|
align: "center",
|
|
@@ -500,7 +505,6 @@ const PositionsList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
500
505
|
data: positions,
|
|
501
506
|
compactBreakpoint: compactBreakpoint,
|
|
502
507
|
contentAlignment: contentAlignment,
|
|
503
|
-
enableSorting: enableSorting,
|
|
504
508
|
fillContainerHeight: true,
|
|
505
509
|
getRowId: (r)=>r.id,
|
|
506
510
|
rowHeight: rowHeight,
|
|
@@ -15,5 +15,5 @@ export type ReviewsRow = {
|
|
|
15
15
|
* (see `RichList` / `MenuButton`), with performance-style rows: avatar, cycle title, type badge,
|
|
16
16
|
* due / submitted copy on the trailing edge.
|
|
17
17
|
*/
|
|
18
|
-
declare const ReviewsList: ({ compactBreakpoint, contentAlignment,
|
|
18
|
+
declare const ReviewsList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export default ReviewsList;
|
|
@@ -151,6 +151,7 @@ const avatarSlot = {
|
|
|
151
151
|
const primaryField = {
|
|
152
152
|
label: "Review",
|
|
153
153
|
value: (r)=>`${r.cycleName} ${r.personName}`,
|
|
154
|
+
enableSorting: true,
|
|
154
155
|
globalFiltering: true,
|
|
155
156
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
156
157
|
font: "regular-bold",
|
|
@@ -192,13 +193,12 @@ const statusFilterSlot = {
|
|
|
192
193
|
]
|
|
193
194
|
}
|
|
194
195
|
};
|
|
195
|
-
const ReviewsList = ({ compactBreakpoint, contentAlignment,
|
|
196
|
+
const ReviewsList = ({ compactBreakpoint, contentAlignment, rowHeight })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__["default"], {
|
|
196
197
|
data: reviewRows,
|
|
197
198
|
getRowId: (r)=>r.id,
|
|
198
199
|
fillContainerHeight: true,
|
|
199
200
|
compactBreakpoint: compactBreakpoint,
|
|
200
201
|
contentAlignment: contentAlignment,
|
|
201
|
-
enableSorting: enableSorting,
|
|
202
202
|
rowHeight: rowHeight,
|
|
203
203
|
leadingSlot: avatarSlot,
|
|
204
204
|
mainSlot: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Comment_js_158e39fb__ from "../../../icons/components/Comment.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__ from "../../../icons/components/Edit.js";
|
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
3
5
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
7
8
|
const questions = [
|
|
@@ -97,9 +98,7 @@ const rowActions = ()=>[
|
|
|
97
98
|
{
|
|
98
99
|
id: "more",
|
|
99
100
|
label: "Question actions",
|
|
100
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
101
|
-
symbol: "Edit"
|
|
102
|
-
}),
|
|
101
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Edit_js_1595b5f9__["default"], {}),
|
|
103
102
|
alwaysVisible: false,
|
|
104
103
|
type: "onClick",
|
|
105
104
|
onClick: ()=>void 0
|
|
@@ -109,7 +108,6 @@ const SavedQuestionsList = ({ compactBreakpoint, contentAlignment, rowHeight })=
|
|
|
109
108
|
compactBreakpoint: compactBreakpoint,
|
|
110
109
|
contentAlignment: contentAlignment,
|
|
111
110
|
data: questions,
|
|
112
|
-
enableSorting: false,
|
|
113
111
|
fillContainerHeight: true,
|
|
114
112
|
getRowId: (r)=>r.id,
|
|
115
113
|
rowActions: rowActions,
|
|
@@ -124,8 +122,7 @@ const SavedQuestionsList = ({ compactBreakpoint, contentAlignment, rowHeight })=
|
|
|
124
122
|
align: "center",
|
|
125
123
|
tagName: "div",
|
|
126
124
|
children: [
|
|
127
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
128
|
-
symbol: "Comment",
|
|
125
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Comment_js_158e39fb__["default"], {
|
|
129
126
|
size: "small",
|
|
130
127
|
tone: "muted"
|
|
131
128
|
}),
|
|
@@ -5,5 +5,5 @@ export type TablesRow = {
|
|
|
5
5
|
description: string;
|
|
6
6
|
columnCount: number;
|
|
7
7
|
};
|
|
8
|
-
declare const TablesList: ({ compactBreakpoint, contentAlignment,
|
|
8
|
+
declare const TablesList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default TablesList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Columns_js_a53f0b82__ from "../../../icons/components/Columns.js";
|
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
6
6
|
const tables = [
|
|
@@ -41,45 +41,59 @@ const tables = [
|
|
|
41
41
|
columnCount: 5
|
|
42
42
|
}
|
|
43
43
|
];
|
|
44
|
-
const TablesList = ({ compactBreakpoint, contentAlignment,
|
|
44
|
+
const TablesList = ({ compactBreakpoint, contentAlignment, rowHeight })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__["default"], {
|
|
45
45
|
data: tables,
|
|
46
46
|
fillContainerHeight: true,
|
|
47
47
|
compactBreakpoint: compactBreakpoint,
|
|
48
48
|
contentAlignment: contentAlignment,
|
|
49
|
-
enableSorting: enableSorting,
|
|
50
49
|
getRowId: (r)=>r.id,
|
|
51
50
|
href: ()=>"#",
|
|
52
51
|
rowHeight: rowHeight,
|
|
53
52
|
mainSlot: {
|
|
54
|
-
primary:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__["default"], {
|
|
69
|
-
symbol: "Columns",
|
|
70
|
-
size: "small",
|
|
71
|
-
tone: "muted"
|
|
72
|
-
}),
|
|
73
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
53
|
+
primary: {
|
|
54
|
+
label: "Name",
|
|
55
|
+
value: (r)=>r.title,
|
|
56
|
+
enableSorting: true,
|
|
57
|
+
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
58
|
+
font: "regular-bold",
|
|
59
|
+
children: r.title
|
|
60
|
+
})
|
|
61
|
+
},
|
|
62
|
+
secondary: {
|
|
63
|
+
label: "Description",
|
|
64
|
+
value: (r)=>r.description,
|
|
65
|
+
enableSorting: true,
|
|
66
|
+
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
74
67
|
font: "small",
|
|
75
68
|
tone: "muted",
|
|
76
|
-
children:
|
|
77
|
-
r.columnCount,
|
|
78
|
-
" columns"
|
|
79
|
-
]
|
|
69
|
+
children: r.description
|
|
80
70
|
})
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
trailingSlot: {
|
|
74
|
+
id: "columnCount",
|
|
75
|
+
label: "Columns",
|
|
76
|
+
value: (r)=>r.columnCount,
|
|
77
|
+
enableSorting: true,
|
|
78
|
+
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
79
|
+
align: "center",
|
|
80
|
+
spacing: "n2",
|
|
81
|
+
children: [
|
|
82
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Columns_js_a53f0b82__["default"], {
|
|
83
|
+
size: "small",
|
|
84
|
+
tone: "muted"
|
|
85
|
+
}),
|
|
86
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
87
|
+
font: "small",
|
|
88
|
+
tone: "muted",
|
|
89
|
+
children: [
|
|
90
|
+
r.columnCount,
|
|
91
|
+
" columns"
|
|
92
|
+
]
|
|
93
|
+
})
|
|
94
|
+
]
|
|
95
|
+
})
|
|
96
|
+
}
|
|
83
97
|
});
|
|
84
98
|
const Tables_rslib_entry_ = TablesList;
|
|
85
99
|
export { Tables_rslib_entry_ as default };
|
|
@@ -12,5 +12,5 @@ export type TasksRow = {
|
|
|
12
12
|
/** Far-right “secondary” person. */
|
|
13
13
|
secondaryImageUrl: string;
|
|
14
14
|
};
|
|
15
|
-
declare const TasksList: ({ compactBreakpoint, contentAlignment,
|
|
15
|
+
declare const TasksList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default TasksList;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__ from "../../../icons/components/Calendar.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Leave_js_20fd4ebb__ from "../../../icons/components/Leave.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_PaperworkExpired_js_7ea54805__ from "../../../icons/components/PaperworkExpired.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__ from "../../../icons/components/Warning.js";
|
|
2
6
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__ from "../../../utils/storybook.js";
|
|
3
7
|
import * as __WEBPACK_EXTERNAL_MODULE__Avatar_js_1229b6e4__ from "../../Avatar.js";
|
|
4
8
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
5
9
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
7
10
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
8
11
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
9
12
|
const rows = [
|
|
@@ -161,27 +164,28 @@ const rows = [
|
|
|
161
164
|
const uniqueAssigneeNames = [
|
|
162
165
|
...new Set(rows.map((r)=>r.assigneeName))
|
|
163
166
|
].sort((a, b)=>a.localeCompare(b));
|
|
164
|
-
function
|
|
167
|
+
function dueIconComponentAndTones(style) {
|
|
165
168
|
if ("soon" === style) return {
|
|
166
|
-
|
|
169
|
+
iconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Leave_js_20fd4ebb__["default"],
|
|
167
170
|
textTone: "warning",
|
|
168
171
|
iconTone: "warning"
|
|
169
172
|
};
|
|
170
173
|
if ("overdue" === style) return {
|
|
171
|
-
|
|
174
|
+
iconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__["default"],
|
|
172
175
|
textTone: "danger",
|
|
173
176
|
iconTone: "danger"
|
|
174
177
|
};
|
|
175
178
|
return {
|
|
176
|
-
|
|
179
|
+
iconComponent: __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__["default"],
|
|
177
180
|
textTone: "muted",
|
|
178
181
|
iconTone: "muted"
|
|
179
182
|
};
|
|
180
183
|
}
|
|
181
|
-
const TasksList = ({ compactBreakpoint, contentAlignment,
|
|
184
|
+
const TasksList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
182
185
|
const titleField = {
|
|
183
186
|
label: "Task",
|
|
184
187
|
value: (r)=>r.title,
|
|
188
|
+
enableSorting: true,
|
|
185
189
|
globalFiltering: true,
|
|
186
190
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
187
191
|
font: "regular-bold",
|
|
@@ -198,6 +202,7 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
198
202
|
label: "Due",
|
|
199
203
|
canToggleVisibility: true,
|
|
200
204
|
value: (r)=>r.dueText,
|
|
205
|
+
enableSorting: true,
|
|
201
206
|
globalFiltering: true,
|
|
202
207
|
filter: {
|
|
203
208
|
isMulti: true,
|
|
@@ -226,8 +231,7 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
226
231
|
align: "center",
|
|
227
232
|
tagName: "div",
|
|
228
233
|
children: [
|
|
229
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
230
|
-
symbol: "PaperworkExpired",
|
|
234
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_PaperworkExpired_js_7ea54805__["default"], {
|
|
231
235
|
tone: "light"
|
|
232
236
|
}),
|
|
233
237
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
@@ -237,14 +241,13 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
237
241
|
})
|
|
238
242
|
]
|
|
239
243
|
});
|
|
240
|
-
const {
|
|
244
|
+
const { iconComponent: Icon, textTone, iconTone } = dueIconComponentAndTones(r.dueStyle);
|
|
241
245
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
242
246
|
spacing: "n2",
|
|
243
247
|
align: "center",
|
|
244
248
|
tagName: "div",
|
|
245
249
|
children: [
|
|
246
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
247
|
-
symbol: symbol,
|
|
250
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Icon, {
|
|
248
251
|
tone: iconTone
|
|
249
252
|
}),
|
|
250
253
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
@@ -264,6 +267,7 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
264
267
|
label: "Assignee",
|
|
265
268
|
canToggleVisibility: true,
|
|
266
269
|
value: (r)=>r.assigneeName,
|
|
270
|
+
enableSorting: true,
|
|
267
271
|
globalFiltering: true,
|
|
268
272
|
filter: {
|
|
269
273
|
isMulti: true,
|
|
@@ -300,6 +304,7 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
300
304
|
id: "secondary",
|
|
301
305
|
label: "Owner",
|
|
302
306
|
value: (r)=>r.id,
|
|
307
|
+
enableSorting: true,
|
|
303
308
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
304
309
|
style: {
|
|
305
310
|
display: "flex",
|
|
@@ -325,7 +330,6 @@ const TasksList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
325
330
|
assigneeSlot
|
|
326
331
|
],
|
|
327
332
|
data: rows,
|
|
328
|
-
enableSorting: enableSorting,
|
|
329
333
|
fillContainerHeight: true,
|
|
330
334
|
getRowId: (r)=>r.id,
|
|
331
335
|
rowHeight: rowHeight,
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_Button_js_5f9dd2b4__ from "../../../../controls/Button.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Archive_js_74e0c705__ from "../../../../icons/components/Archive.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Download_js_9114c712__ from "../../../../icons/components/Download.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Email_js_49d19450__ from "../../../../icons/components/Email.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Visible_js_aebf335a__ from "../../../../icons/components/Visible.js";
|
|
3
7
|
import * as __WEBPACK_EXTERNAL_MODULE__Card_js_a31a1396__ from "../../../Card.js";
|
|
4
8
|
import * as __WEBPACK_EXTERNAL_MODULE__CardContent_js_3505c994__ from "../../../CardContent.js";
|
|
5
9
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_836c9c03__ from "../../../HStack.js";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_0a12b1b9__ from "../../../Icon.js";
|
|
7
10
|
import * as __WEBPACK_EXTERNAL_MODULE__Modal_js_473ea137__ from "../../../Modal.js";
|
|
8
11
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_8f4f405b__ from "../../../PlainText.js";
|
|
9
12
|
function dismissBulkActionStub({ onClose, resetRowSelection }) {
|
|
@@ -39,8 +42,7 @@ function richListStoryViewBulkAction() {
|
|
|
39
42
|
return {
|
|
40
43
|
key: "view",
|
|
41
44
|
label: "View",
|
|
42
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
43
|
-
symbol: "Visible",
|
|
45
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Visible_js_aebf335a__["default"], {
|
|
44
46
|
size: "small"
|
|
45
47
|
}),
|
|
46
48
|
render: ({ rows, onClose, resetRowSelection })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(RichListStoryStubBulkActionModal, {
|
|
@@ -57,8 +59,7 @@ function richListStoryEmailBulkAction() {
|
|
|
57
59
|
return {
|
|
58
60
|
key: "email",
|
|
59
61
|
label: "Email",
|
|
60
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
61
|
-
symbol: "Email",
|
|
62
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Email_js_49d19450__["default"], {
|
|
62
63
|
size: "small"
|
|
63
64
|
}),
|
|
64
65
|
render: ({ rows, onClose, resetRowSelection })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(RichListStoryStubBulkActionModal, {
|
|
@@ -75,8 +76,7 @@ function richListStoryExportBulkAction() {
|
|
|
75
76
|
return {
|
|
76
77
|
key: "export",
|
|
77
78
|
label: "Export",
|
|
78
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
79
|
-
symbol: "Download",
|
|
79
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Download_js_9114c712__["default"], {
|
|
80
80
|
size: "small"
|
|
81
81
|
}),
|
|
82
82
|
render: ({ rows, onClose, resetRowSelection })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(RichListStoryStubBulkActionModal, {
|
|
@@ -93,8 +93,7 @@ function richListStoryArchiveBulkAction() {
|
|
|
93
93
|
return {
|
|
94
94
|
key: "archive",
|
|
95
95
|
label: "Archive",
|
|
96
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
97
|
-
symbol: "Archive",
|
|
96
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Archive_js_74e0c705__["default"], {
|
|
98
97
|
size: "small"
|
|
99
98
|
}),
|
|
100
99
|
render: ({ rows, onClose, resetRowSelection })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(RichListStoryStubBulkActionModal, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SortingColumnDef } from "@tanstack/react-table";
|
|
1
2
|
import { type ReactNode } from "react";
|
|
2
3
|
import { type Filter } from "../../controls/FilterModal";
|
|
3
4
|
import { type PrimitiveValue } from "../../utils/tables";
|
|
@@ -87,6 +88,17 @@ export type RichListTextField<Type> = ((row: Type) => ReactNode) | {
|
|
|
87
88
|
* @default `false`
|
|
88
89
|
*/
|
|
89
90
|
csvExport?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* If `true`, this field can be selected from the Display dialog's Sort section.
|
|
93
|
+
* Requires `value`.
|
|
94
|
+
* @default `false`
|
|
95
|
+
*/
|
|
96
|
+
enableSorting?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Custom TanStack sorting function for this field.
|
|
99
|
+
* @default `"auto"`
|
|
100
|
+
*/
|
|
101
|
+
sortingFn?: SortingColumnDef<Type>["sortingFn"];
|
|
90
102
|
/**
|
|
91
103
|
* Hide / show this line based on `RichList`’s `compactBreakpoint`. Use
|
|
92
104
|
* `"whenCompact"` on `mainSlot.secondary` to surface a line only at compact
|
|
@@ -165,6 +177,17 @@ type RichListBaseSlotObject<Type> = {
|
|
|
165
177
|
* @default `false`
|
|
166
178
|
*/
|
|
167
179
|
csvExport?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* If `true`, this column can be selected from the Display dialog's Sort section.
|
|
182
|
+
* Requires `value`.
|
|
183
|
+
* @default `false`
|
|
184
|
+
*/
|
|
185
|
+
enableSorting?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Custom TanStack sorting function for this column.
|
|
188
|
+
* @default `"auto"`
|
|
189
|
+
*/
|
|
190
|
+
sortingFn?: SortingColumnDef<Type>["sortingFn"];
|
|
168
191
|
/**
|
|
169
192
|
* Show / hide this whole column based on `RichList`’s `compactBreakpoint`. Combined
|
|
170
193
|
* with column visibility from the Display dialog (which always wins). Useful for
|
|
@@ -248,6 +271,10 @@ export type NormalizedTextField<Type> = {
|
|
|
248
271
|
globalFiltering: boolean;
|
|
249
272
|
/** @default `false` (or `false` for function form). */
|
|
250
273
|
csvExport: boolean;
|
|
274
|
+
/** @default `false` */
|
|
275
|
+
enableSorting: boolean;
|
|
276
|
+
/** @default `"auto"` */
|
|
277
|
+
sortingFn?: SortingColumnDef<Type>["sortingFn"];
|
|
251
278
|
/** @default `"always"` */
|
|
252
279
|
layoutVisibility: RichListLayoutVisibility;
|
|
253
280
|
};
|
|
@@ -287,6 +314,10 @@ export type NormalizedSlot<Type> = {
|
|
|
287
314
|
hiddenByDefault: boolean;
|
|
288
315
|
/** @default `false` if omitted on the object. */
|
|
289
316
|
csvExport: boolean;
|
|
317
|
+
/** @default `false` if omitted on the object. */
|
|
318
|
+
enableSorting: boolean;
|
|
319
|
+
/** @default `"auto"` */
|
|
320
|
+
sortingFn?: SortingColumnDef<Type>["sortingFn"];
|
|
290
321
|
};
|
|
291
322
|
/**
|
|
292
323
|
* One action for a row: an icon in the action strip and/or an item in the “more” menu.
|
|
@@ -312,11 +343,16 @@ export type RichListRowAction<Type> = {
|
|
|
312
343
|
*/
|
|
313
344
|
predicate?: (row: Type) => boolean;
|
|
314
345
|
} & ({
|
|
315
|
-
|
|
346
|
+
type: "link";
|
|
347
|
+
href: (row: Type) => string;
|
|
348
|
+
/** When `true`, opens in a new tab with `rel="noopener noreferrer"`. */
|
|
349
|
+
external?: boolean;
|
|
350
|
+
} | {
|
|
316
351
|
type: "onClick";
|
|
352
|
+
onClick: (row: Type) => void;
|
|
317
353
|
} | {
|
|
318
|
-
render: (onClose: () => void) => ReactNode;
|
|
319
354
|
type: "render";
|
|
355
|
+
render: (onClose: () => void) => ReactNode;
|
|
320
356
|
});
|
|
321
357
|
/**
|
|
322
358
|
* An action on the **selected** rows. Used with `bulkActions` on the list. The `render`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_Action_js_a620af98__ from "../controls/Action.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Close_js_7809217d__ from "../icons/components/Close.js";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__Slot_module_js_6a83970f__ from "./Slot.module.js";
|
|
5
5
|
const Slot = ({ children, disabled = false, onClear })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
6
6
|
className: __WEBPACK_EXTERNAL_MODULE__Slot_module_js_6a83970f__["default"].container,
|
|
@@ -13,9 +13,7 @@ const Slot = ({ children, disabled = false, onClear })=>/*#__PURE__*/ (0, __WEBP
|
|
|
13
13
|
type: "ghost",
|
|
14
14
|
size: "small",
|
|
15
15
|
disabled: disabled,
|
|
16
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
17
|
-
symbol: "Close"
|
|
18
|
-
}),
|
|
16
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Close_js_7809217d__["default"], {}),
|
|
19
17
|
title: "Remove",
|
|
20
18
|
tooltip: "Remove",
|
|
21
19
|
onClick: ()=>{
|