@worknice/whiteboard 0.60.1 → 0.62.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/ArrowsCompress.d.ts +5 -0
- package/dist/icons/components/ArrowsCompress.js +14 -0
- package/dist/icons/components/ArrowsExpand.d.ts +5 -0
- package/dist/icons/components/ArrowsExpand.js +14 -0
- 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/FitView.d.ts +5 -0
- package/dist/icons/components/FitView.js +14 -0
- 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 +104 -0
- package/dist/icons/components/index.js +209 -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/ArrowsCompress.js +2 -0
- package/dist/icons/svgs/ArrowsExpand.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/FitView.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 -35
- 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 -3
- package/dist/presentation/RichList/RichListRow.js +53 -65
- package/dist/presentation/RichList/RichListRow.module.js +0 -1
- package/dist/presentation/RichList/RichListRow_module.css +0 -6
- 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 +3 -1
- package/dist/presentation/RichList/stories/EmployeePeople.js +58 -28
- 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/ArrowsCompress.svg +3 -0
- package/dist/static/svg/ArrowsExpand.svg +3 -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/FitView.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,12 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentCertificate_js_feafbcda__ from "../../../icons/components/AssignmentCertificate.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentDocument_js_0e5cad31__ from "../../../icons/components/AssignmentDocument.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentQuestionnaire_js_065f7cd5__ from "../../../icons/components/AssignmentQuestionnaire.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__ from "../../../icons/components/Calendar.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Paperwork_js_7e1b2821__ from "../../../icons/components/Paperwork.js";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__ from "../../../icons/components/Warning.js";
|
|
2
8
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
3
9
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
5
10
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
6
11
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
7
12
|
import * as __WEBPACK_EXTERNAL_MODULE__shared_bulkActionStubs_js_0d607dd0__ from "./shared/bulkActionStubs.js";
|
|
@@ -9,7 +14,7 @@ const items = [
|
|
|
9
14
|
{
|
|
10
15
|
id: "doc-1",
|
|
11
16
|
title: "Superannuation Choice Form",
|
|
12
|
-
|
|
17
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentQuestionnaire_js_065f7cd5__["default"], {}),
|
|
13
18
|
statusBadge: {
|
|
14
19
|
id: "s1",
|
|
15
20
|
text: "Missing",
|
|
@@ -21,7 +26,7 @@ const items = [
|
|
|
21
26
|
{
|
|
22
27
|
id: "doc-2",
|
|
23
28
|
title: "Code of Conduct",
|
|
24
|
-
|
|
29
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentDocument_js_0e5cad31__["default"], {}),
|
|
25
30
|
statusBadge: {
|
|
26
31
|
id: "s1",
|
|
27
32
|
text: "Expired",
|
|
@@ -33,7 +38,7 @@ const items = [
|
|
|
33
38
|
{
|
|
34
39
|
id: "doc-3",
|
|
35
40
|
title: "Work Rights Entitlement Certificate",
|
|
36
|
-
|
|
41
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentCertificate_js_feafbcda__["default"], {}),
|
|
37
42
|
statusBadge: {
|
|
38
43
|
id: "s1",
|
|
39
44
|
text: "Expiring soon",
|
|
@@ -45,7 +50,7 @@ const items = [
|
|
|
45
50
|
{
|
|
46
51
|
id: "doc-4",
|
|
47
52
|
title: "Payroll Form",
|
|
48
|
-
|
|
53
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentQuestionnaire_js_065f7cd5__["default"], {}),
|
|
49
54
|
statusBadge: {
|
|
50
55
|
id: "s1",
|
|
51
56
|
text: "Assigned",
|
|
@@ -57,7 +62,7 @@ const items = [
|
|
|
57
62
|
{
|
|
58
63
|
id: "doc-5",
|
|
59
64
|
title: "TFN Declaration",
|
|
60
|
-
|
|
65
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentQuestionnaire_js_065f7cd5__["default"], {}),
|
|
61
66
|
statusBadge: {
|
|
62
67
|
id: "s1",
|
|
63
68
|
text: "Submitted",
|
|
@@ -69,7 +74,7 @@ const items = [
|
|
|
69
74
|
{
|
|
70
75
|
id: "doc-6",
|
|
71
76
|
title: "Working from Home Policy",
|
|
72
|
-
|
|
77
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Paperwork_js_7e1b2821__["default"], {}),
|
|
73
78
|
statusBadge: null,
|
|
74
79
|
statusTone: "muted",
|
|
75
80
|
statusLine: "Expires in 8 months"
|
|
@@ -77,7 +82,7 @@ const items = [
|
|
|
77
82
|
{
|
|
78
83
|
id: "doc-7",
|
|
79
84
|
title: "National Police Check",
|
|
80
|
-
|
|
85
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentCertificate_js_feafbcda__["default"], {}),
|
|
81
86
|
statusBadge: null,
|
|
82
87
|
statusTone: "muted",
|
|
83
88
|
statusLine: "Expires in 9 months"
|
|
@@ -85,7 +90,7 @@ const items = [
|
|
|
85
90
|
{
|
|
86
91
|
id: "doc-8",
|
|
87
92
|
title: "Policy - IT Use and Internet",
|
|
88
|
-
|
|
93
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Paperwork_js_7e1b2821__["default"], {}),
|
|
89
94
|
statusBadge: null,
|
|
90
95
|
statusTone: "muted",
|
|
91
96
|
statusLine: "Expires in 6 months"
|
|
@@ -93,19 +98,20 @@ const items = [
|
|
|
93
98
|
{
|
|
94
99
|
id: "doc-9",
|
|
95
100
|
title: "Fair Work Information Statement",
|
|
96
|
-
|
|
101
|
+
leadingIcon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Paperwork_js_7e1b2821__["default"], {}),
|
|
97
102
|
statusBadge: null,
|
|
98
103
|
statusTone: "muted",
|
|
99
104
|
statusLine: "Expires in 11 months"
|
|
100
105
|
}
|
|
101
106
|
];
|
|
102
|
-
function
|
|
103
|
-
return "muted" === statusTone ? "
|
|
107
|
+
function statusLineIconComponentForRow(statusTone) {
|
|
108
|
+
return "muted" === statusTone ? __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__["default"] : __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__["default"];
|
|
104
109
|
}
|
|
105
|
-
const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment,
|
|
110
|
+
const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
106
111
|
const titleField = {
|
|
107
112
|
label: "Title",
|
|
108
113
|
value: (r)=>r.title,
|
|
114
|
+
enableSorting: true,
|
|
109
115
|
globalFiltering: true,
|
|
110
116
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
111
117
|
font: "regular-bold",
|
|
@@ -122,14 +128,13 @@ const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment, enableSort
|
|
|
122
128
|
globalFiltering: false,
|
|
123
129
|
csvExport: false,
|
|
124
130
|
render: (r)=>{
|
|
125
|
-
const
|
|
131
|
+
const LineIcon = statusLineIconComponentForRow(r.statusTone);
|
|
126
132
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
127
133
|
spacing: "n3",
|
|
128
134
|
align: "center",
|
|
129
135
|
tagName: "span",
|
|
130
136
|
children: [
|
|
131
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
132
|
-
symbol: lineIcon,
|
|
137
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(LineIcon, {
|
|
133
138
|
size: "small",
|
|
134
139
|
tone: r.statusTone
|
|
135
140
|
}),
|
|
@@ -151,10 +156,7 @@ const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment, enableSort
|
|
|
151
156
|
borderRadius: "var(--size-n2)",
|
|
152
157
|
padding: "var(--size-n2)"
|
|
153
158
|
},
|
|
154
|
-
children:
|
|
155
|
-
symbol: r.leadingSymbol,
|
|
156
|
-
size: "default"
|
|
157
|
-
})
|
|
159
|
+
children: r.leadingIcon
|
|
158
160
|
}),
|
|
159
161
|
size: 32
|
|
160
162
|
};
|
|
@@ -162,16 +164,16 @@ const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment, enableSort
|
|
|
162
164
|
id: "status",
|
|
163
165
|
label: "Status",
|
|
164
166
|
value: (r)=>r.statusLine,
|
|
167
|
+
enableSorting: true,
|
|
165
168
|
globalFiltering: true,
|
|
166
169
|
render: (r)=>{
|
|
167
|
-
const
|
|
170
|
+
const LineIcon = statusLineIconComponentForRow(r.statusTone);
|
|
168
171
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
169
172
|
spacing: "n2",
|
|
170
173
|
align: "center",
|
|
171
174
|
children: [
|
|
172
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
173
|
-
|
|
174
|
-
size: "Warning" === lineIcon ? "default" : "small",
|
|
175
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(LineIcon, {
|
|
176
|
+
size: "danger" === r.statusTone ? "default" : "small",
|
|
175
177
|
tone: r.statusTone
|
|
176
178
|
}),
|
|
177
179
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
@@ -205,7 +207,6 @@ const EmployeePaperworkList = ({ compactBreakpoint, contentAlignment, enableSort
|
|
|
205
207
|
secondaryBulkActions: (0, __WEBPACK_EXTERNAL_MODULE__shared_bulkActionStubs_js_0d607dd0__.richListStorySecondaryBulkActions)(),
|
|
206
208
|
compactBreakpoint: compactBreakpoint,
|
|
207
209
|
contentAlignment: contentAlignment,
|
|
208
|
-
enableSorting: enableSorting,
|
|
209
210
|
rowHeight: rowHeight,
|
|
210
211
|
csvFilename: "employee-paperwork.csv",
|
|
211
212
|
mainSlot: {
|
|
@@ -5,6 +5,8 @@ export type EmployeePeopleRow = {
|
|
|
5
5
|
imageUrl: string | null;
|
|
6
6
|
/** “Role at location” (single line, may truncate in the list). */
|
|
7
7
|
line: string;
|
|
8
|
+
workEmail: string | null;
|
|
9
|
+
workPhone: string | null;
|
|
8
10
|
};
|
|
9
|
-
declare const EmployeePeopleList: ({ compactBreakpoint, contentAlignment,
|
|
11
|
+
declare const EmployeePeopleList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export default EmployeePeopleList;
|
|
@@ -1,8 +1,9 @@
|
|
|
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_Email_js_c0058dca__ from "../../../icons/components/Email.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Phone_js_aed4f2f1__ from "../../../icons/components/Phone.js";
|
|
3
5
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__ from "../../../utils/storybook.js";
|
|
4
6
|
import * as __WEBPACK_EXTERNAL_MODULE__Avatar_js_1229b6e4__ from "../../Avatar.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
7
8
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
8
9
|
const employees = [
|
|
@@ -10,91 +11,121 @@ const employees = [
|
|
|
10
11
|
id: "e1",
|
|
11
12
|
name: "Sarah Jenkins",
|
|
12
13
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(19),
|
|
13
|
-
line: "VP of Engineering at New York"
|
|
14
|
+
line: "VP of Engineering at New York",
|
|
15
|
+
workEmail: "sarah.jenkins@example.com",
|
|
16
|
+
workPhone: "+1 212 555 0101"
|
|
14
17
|
},
|
|
15
18
|
{
|
|
16
19
|
id: "e2",
|
|
17
20
|
name: "David Miller",
|
|
18
21
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(20),
|
|
19
|
-
line: "Product Manager at London"
|
|
22
|
+
line: "Product Manager at London",
|
|
23
|
+
workEmail: "david.miller@example.com",
|
|
24
|
+
workPhone: null
|
|
20
25
|
},
|
|
21
26
|
{
|
|
22
27
|
id: "e3",
|
|
23
28
|
name: "Emily Chen",
|
|
24
29
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(21),
|
|
25
|
-
line: "Frontend Developer at Remote"
|
|
30
|
+
line: "Frontend Developer at Remote",
|
|
31
|
+
workEmail: null,
|
|
32
|
+
workPhone: "+1 415 555 0103"
|
|
26
33
|
},
|
|
27
34
|
{
|
|
28
35
|
id: "e4",
|
|
29
36
|
name: "James Washington",
|
|
30
37
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(22),
|
|
31
|
-
line: "HR Specialist at Chicago"
|
|
38
|
+
line: "HR Specialist at Chicago",
|
|
39
|
+
workEmail: null,
|
|
40
|
+
workPhone: null
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
id: "e5",
|
|
35
44
|
name: "Priya Shah",
|
|
36
45
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(23),
|
|
37
|
-
line: "Director of Finance at Sydney"
|
|
46
|
+
line: "Director of Finance at Sydney",
|
|
47
|
+
workEmail: "priya.shah@example.com",
|
|
48
|
+
workPhone: "+61 2 5555 0105"
|
|
38
49
|
},
|
|
39
50
|
{
|
|
40
51
|
id: "e6",
|
|
41
52
|
name: "Marcus Webb",
|
|
42
53
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(24),
|
|
43
|
-
line: "Warehouse Lead at Melbourne"
|
|
54
|
+
line: "Warehouse Lead at Melbourne",
|
|
55
|
+
workEmail: "marcus.webb@example.com",
|
|
56
|
+
workPhone: null
|
|
44
57
|
},
|
|
45
58
|
{
|
|
46
59
|
id: "e7",
|
|
47
60
|
name: "Nina Okonkwo",
|
|
48
61
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(25),
|
|
49
|
-
line: "Legal Counsel at Head Office"
|
|
62
|
+
line: "Legal Counsel at Head Office",
|
|
63
|
+
workEmail: null,
|
|
64
|
+
workPhone: "+44 20 7946 0107"
|
|
50
65
|
},
|
|
51
66
|
{
|
|
52
67
|
id: "e8",
|
|
53
68
|
name: "Oliver Grant",
|
|
54
69
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(26),
|
|
55
|
-
line: "Sales Manager at Remote"
|
|
70
|
+
line: "Sales Manager at Remote",
|
|
71
|
+
workEmail: null,
|
|
72
|
+
workPhone: null
|
|
56
73
|
},
|
|
57
74
|
{
|
|
58
75
|
id: "e9",
|
|
59
76
|
name: "Rachel Kim",
|
|
60
77
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(27),
|
|
61
|
-
line: "UX Researcher at San Francisco"
|
|
78
|
+
line: "UX Researcher at San Francisco",
|
|
79
|
+
workEmail: "rachel.kim@example.com",
|
|
80
|
+
workPhone: "+1 415 555 0109"
|
|
62
81
|
},
|
|
63
82
|
{
|
|
64
83
|
id: "e10",
|
|
65
84
|
name: "Samuel Ortiz",
|
|
66
85
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(28),
|
|
67
|
-
line: "DevOps Engineer at Austin"
|
|
86
|
+
line: "DevOps Engineer at Austin",
|
|
87
|
+
workEmail: "samuel.ortiz@example.com",
|
|
88
|
+
workPhone: null
|
|
68
89
|
},
|
|
69
90
|
{
|
|
70
91
|
id: "e11",
|
|
71
92
|
name: "Tessa Bloom",
|
|
72
93
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(29),
|
|
73
|
-
line: "Chief of Staff at Seattle"
|
|
94
|
+
line: "Chief of Staff at Seattle",
|
|
95
|
+
workEmail: null,
|
|
96
|
+
workPhone: "+1 206 555 0111"
|
|
74
97
|
},
|
|
75
98
|
{
|
|
76
99
|
id: "e12",
|
|
77
100
|
name: "Victor Ng",
|
|
78
101
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(30),
|
|
79
|
-
line: "Data Analyst at Singapore"
|
|
102
|
+
line: "Data Analyst at Singapore",
|
|
103
|
+
workEmail: null,
|
|
104
|
+
workPhone: null
|
|
80
105
|
},
|
|
81
106
|
{
|
|
82
107
|
id: "e13",
|
|
83
108
|
name: "Yuki Tanaka",
|
|
84
109
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(31),
|
|
85
|
-
line: "Account Executive at Tokyo"
|
|
110
|
+
line: "Account Executive at Tokyo",
|
|
111
|
+
workEmail: "yuki.tanaka@example.com",
|
|
112
|
+
workPhone: "+81 3 5555 0113"
|
|
86
113
|
},
|
|
87
114
|
{
|
|
88
115
|
id: "e14",
|
|
89
116
|
name: "Zara Ali",
|
|
90
117
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(32),
|
|
91
|
-
line: "Customer Success at Dubai"
|
|
118
|
+
line: "Customer Success at Dubai",
|
|
119
|
+
workEmail: "zara.ali@example.com",
|
|
120
|
+
workPhone: null
|
|
92
121
|
},
|
|
93
122
|
{
|
|
94
123
|
id: "e15",
|
|
95
124
|
name: "Ben Carter",
|
|
96
125
|
imageUrl: (0, __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__.avatarUrl)(33),
|
|
97
|
-
line: "Facilities Coordinator at Manchester"
|
|
126
|
+
line: "Facilities Coordinator at Manchester",
|
|
127
|
+
workEmail: null,
|
|
128
|
+
workPhone: "+44 161 555 0115"
|
|
98
129
|
}
|
|
99
130
|
];
|
|
100
131
|
const rowActions = ()=>[
|
|
@@ -102,21 +133,19 @@ const rowActions = ()=>[
|
|
|
102
133
|
id: "email",
|
|
103
134
|
label: "Email",
|
|
104
135
|
alwaysVisible: true,
|
|
105
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
onClick: ()=>void 0
|
|
136
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Email_js_c0058dca__["default"], {}),
|
|
137
|
+
type: "link",
|
|
138
|
+
predicate: (row)=>Boolean(row.workEmail),
|
|
139
|
+
href: (row)=>`mailto:${row.workEmail}`
|
|
110
140
|
},
|
|
111
141
|
{
|
|
112
142
|
id: "phone",
|
|
113
143
|
label: "Call",
|
|
114
144
|
alwaysVisible: true,
|
|
115
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
onClick: ()=>void 0
|
|
145
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Phone_js_aed4f2f1__["default"], {}),
|
|
146
|
+
type: "link",
|
|
147
|
+
predicate: (row)=>Boolean(row.workPhone),
|
|
148
|
+
href: (row)=>`tel:${row.workPhone}`
|
|
120
149
|
}
|
|
121
150
|
];
|
|
122
151
|
const leadingSlot = {
|
|
@@ -130,10 +159,11 @@ const leadingSlot = {
|
|
|
130
159
|
}),
|
|
131
160
|
size: 48
|
|
132
161
|
};
|
|
133
|
-
const EmployeePeopleList = ({ compactBreakpoint, contentAlignment,
|
|
162
|
+
const EmployeePeopleList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
134
163
|
const titleField = {
|
|
135
164
|
label: "Name",
|
|
136
165
|
value: (r)=>r.name,
|
|
166
|
+
enableSorting: true,
|
|
137
167
|
globalFiltering: true,
|
|
138
168
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
139
169
|
font: "h6",
|
|
@@ -143,6 +173,7 @@ const EmployeePeopleList = ({ compactBreakpoint, contentAlignment, enableSorting
|
|
|
143
173
|
const subtitleField = {
|
|
144
174
|
label: "Role",
|
|
145
175
|
value: (r)=>r.line,
|
|
176
|
+
enableSorting: true,
|
|
146
177
|
globalFiltering: true,
|
|
147
178
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
148
179
|
font: "small",
|
|
@@ -154,7 +185,6 @@ const EmployeePeopleList = ({ compactBreakpoint, contentAlignment, enableSorting
|
|
|
154
185
|
compactBreakpoint: compactBreakpoint,
|
|
155
186
|
contentAlignment: contentAlignment,
|
|
156
187
|
data: employees,
|
|
157
|
-
enableSorting: enableSorting,
|
|
158
188
|
fillContainerHeight: true,
|
|
159
189
|
getRowId: (r)=>r.id,
|
|
160
190
|
rowActions: rowActions,
|
|
@@ -17,5 +17,5 @@ export type LeaveRow = {
|
|
|
17
17
|
/** `null` means show an em dash (no approver). */
|
|
18
18
|
approverImageUrl: string | null;
|
|
19
19
|
};
|
|
20
|
-
declare const LeaveList: ({ compactBreakpoint, contentAlignment,
|
|
20
|
+
declare const LeaveList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default LeaveList;
|
|
@@ -1,11 +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_Calendar_js_1bfa8ee4__ from "../../../icons/components/Calendar.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Comment_js_158e39fb__ from "../../../icons/components/Comment.js";
|
|
3
5
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__ from "../../../utils/storybook.js";
|
|
4
6
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__ from "../../../utils/useNextContext.js";
|
|
5
7
|
import * as __WEBPACK_EXTERNAL_MODULE__Avatar_js_1229b6e4__ from "../../Avatar.js";
|
|
6
8
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
7
9
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
9
10
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
10
11
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
11
12
|
const rows = [
|
|
@@ -173,11 +174,12 @@ const personSlotLinkStyle = {
|
|
|
173
174
|
textDecoration: "none",
|
|
174
175
|
zIndex: 2
|
|
175
176
|
};
|
|
176
|
-
const LeaveList = ({ compactBreakpoint, contentAlignment,
|
|
177
|
+
const LeaveList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
177
178
|
const { Link } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__["default"])();
|
|
178
179
|
const titleField = {
|
|
179
180
|
label: "Leave",
|
|
180
181
|
value: (r)=>r.kind,
|
|
182
|
+
enableSorting: true,
|
|
181
183
|
globalFiltering: true,
|
|
182
184
|
filter: {
|
|
183
185
|
isMulti: true,
|
|
@@ -201,6 +203,7 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
201
203
|
const subtitleField = {
|
|
202
204
|
label: "Dates",
|
|
203
205
|
value: (r)=>r.dateLine,
|
|
206
|
+
enableSorting: true,
|
|
204
207
|
globalFiltering: true,
|
|
205
208
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
206
209
|
spacing: "n2",
|
|
@@ -212,8 +215,7 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
212
215
|
align: "center",
|
|
213
216
|
tagName: "div",
|
|
214
217
|
children: [
|
|
215
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
216
|
-
symbol: "Calendar",
|
|
218
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__["default"], {
|
|
217
219
|
size: "small",
|
|
218
220
|
tone: "muted"
|
|
219
221
|
}),
|
|
@@ -224,8 +226,7 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
224
226
|
})
|
|
225
227
|
]
|
|
226
228
|
}),
|
|
227
|
-
r.hasComment ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
228
|
-
symbol: "Comment",
|
|
229
|
+
r.hasComment ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Comment_js_158e39fb__["default"], {
|
|
229
230
|
size: "small",
|
|
230
231
|
tone: "muted"
|
|
231
232
|
}) : null
|
|
@@ -237,6 +238,7 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
237
238
|
label: "Requester",
|
|
238
239
|
canToggleVisibility: true,
|
|
239
240
|
value: (r)=>r.requesterName,
|
|
241
|
+
enableSorting: true,
|
|
240
242
|
globalFiltering: true,
|
|
241
243
|
filter: {
|
|
242
244
|
isMulti: true,
|
|
@@ -278,6 +280,7 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
278
280
|
id: "approver",
|
|
279
281
|
label: "Approver",
|
|
280
282
|
value: (r)=>r.approverImageUrl ? "set" : "—",
|
|
283
|
+
enableSorting: true,
|
|
281
284
|
globalFiltering: true,
|
|
282
285
|
render: (r)=>r.approverImageUrl ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
283
286
|
style: {
|
|
@@ -315,7 +318,6 @@ const LeaveList = ({ compactBreakpoint, contentAlignment, enableSorting, rowHeig
|
|
|
315
318
|
requesterSlot
|
|
316
319
|
],
|
|
317
320
|
data: rows,
|
|
318
|
-
enableSorting: enableSorting,
|
|
319
321
|
fillContainerHeight: true,
|
|
320
322
|
getRowId: (r)=>r.id,
|
|
321
323
|
href: ()=>"#",
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type { ComponentProps } from "react";
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import Badge from "../../Badge";
|
|
3
|
-
import Icon from "../../Icon";
|
|
4
3
|
import { type CommonProps } from "./shared";
|
|
5
4
|
type NameBadgeColor = NonNullable<ComponentProps<typeof Badge>["color"]>;
|
|
6
|
-
type IconSymbol = ComponentProps<typeof Icon>["symbol"];
|
|
7
5
|
export type PaperworkRow = {
|
|
8
6
|
id: string;
|
|
9
7
|
title: string;
|
|
10
|
-
leadingIcon:
|
|
8
|
+
leadingIcon: ReactNode;
|
|
11
9
|
statusBadge: {
|
|
12
10
|
id: string;
|
|
13
11
|
text: string;
|
|
@@ -18,5 +16,5 @@ export type PaperworkRow = {
|
|
|
18
16
|
assigneeName: string;
|
|
19
17
|
assigneeImageUrl: string | null;
|
|
20
18
|
};
|
|
21
|
-
declare const PaperworkList: ({ compactBreakpoint, contentAlignment,
|
|
19
|
+
declare const PaperworkList: ({ compactBreakpoint, contentAlignment, rowHeight }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
20
|
export default PaperworkList;
|
|
@@ -1,16 +1,19 @@
|
|
|
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_AssignmentCertificate_js_feafbcda__ from "../../../icons/components/AssignmentCertificate.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentDocument_js_0e5cad31__ from "../../../icons/components/AssignmentDocument.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__ from "../../../icons/components/Calendar.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__ from "../../../icons/components/Warning.js";
|
|
3
7
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_storybook_js_9566133d__ from "../../../utils/storybook.js";
|
|
4
8
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__ from "../../../utils/useNextContext.js";
|
|
5
9
|
import * as __WEBPACK_EXTERNAL_MODULE__Avatar_js_1229b6e4__ from "../../Avatar.js";
|
|
6
10
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_56d6dba9__ from "../../Badge.js";
|
|
7
11
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__ from "../../HStack.js";
|
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_b85e52f7__ from "../../Icon.js";
|
|
9
12
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__ from "../../PlainText.js";
|
|
10
13
|
import * as __WEBPACK_EXTERNAL_MODULE__RichList_js_64f3f04c__ from "../RichList.js";
|
|
11
14
|
import * as __WEBPACK_EXTERNAL_MODULE__shared_bulkActionStubs_js_0d607dd0__ from "./shared/bulkActionStubs.js";
|
|
12
|
-
const LEADING_CERTIFICATE = "
|
|
13
|
-
const LEADING_DOCUMENT = "
|
|
15
|
+
const LEADING_CERTIFICATE = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentCertificate_js_feafbcda__["default"], {});
|
|
16
|
+
const LEADING_DOCUMENT = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_AssignmentDocument_js_0e5cad31__["default"], {});
|
|
14
17
|
const rows = [
|
|
15
18
|
{
|
|
16
19
|
id: "p1",
|
|
@@ -262,14 +265,15 @@ const assigneeLinkStyle = {
|
|
|
262
265
|
textDecoration: "none",
|
|
263
266
|
zIndex: 2
|
|
264
267
|
};
|
|
265
|
-
function
|
|
266
|
-
return "muted" === statusTone ? "
|
|
268
|
+
function statusLineIconComponentForRow(statusTone) {
|
|
269
|
+
return "muted" === statusTone ? __WEBPACK_EXTERNAL_MODULE__icons_components_Calendar_js_1bfa8ee4__["default"] : __WEBPACK_EXTERNAL_MODULE__icons_components_Warning_js_100033e0__["default"];
|
|
267
270
|
}
|
|
268
|
-
const PaperworkList = ({ compactBreakpoint, contentAlignment,
|
|
271
|
+
const PaperworkList = ({ compactBreakpoint, contentAlignment, rowHeight })=>{
|
|
269
272
|
const { Link } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_b4604910__["default"])();
|
|
270
273
|
const titleField = {
|
|
271
274
|
label: "Document",
|
|
272
275
|
value: (r)=>r.title,
|
|
276
|
+
enableSorting: true,
|
|
273
277
|
globalFiltering: true,
|
|
274
278
|
render: (r)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
275
279
|
font: "regular-bold",
|
|
@@ -293,10 +297,7 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
293
297
|
justifyContent: "center",
|
|
294
298
|
padding: "var(--size-n2)"
|
|
295
299
|
},
|
|
296
|
-
children:
|
|
297
|
-
symbol: r.leadingIcon,
|
|
298
|
-
size: "default"
|
|
299
|
-
})
|
|
300
|
+
children: r.leadingIcon
|
|
300
301
|
}),
|
|
301
302
|
size: 32
|
|
302
303
|
};
|
|
@@ -305,6 +306,7 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
305
306
|
label: "Status / timeline",
|
|
306
307
|
canToggleVisibility: true,
|
|
307
308
|
value: (r)=>r.statusLine,
|
|
309
|
+
enableSorting: true,
|
|
308
310
|
globalFiltering: true,
|
|
309
311
|
filter: {
|
|
310
312
|
isMulti: true,
|
|
@@ -316,15 +318,14 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
316
318
|
}))
|
|
317
319
|
},
|
|
318
320
|
render: (r)=>{
|
|
319
|
-
const
|
|
321
|
+
const LineIcon = statusLineIconComponentForRow(r.statusTone);
|
|
320
322
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
321
323
|
spacing: "n2",
|
|
322
324
|
align: "center",
|
|
323
325
|
tagName: "div",
|
|
324
326
|
children: [
|
|
325
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
326
|
-
|
|
327
|
-
size: "Warning" === lineIcon ? "default" : "small",
|
|
327
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(LineIcon, {
|
|
328
|
+
size: "danger" === r.statusTone ? "default" : "small",
|
|
328
329
|
tone: r.statusTone
|
|
329
330
|
}),
|
|
330
331
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__PlainText_js_acfb96d1__["default"], {
|
|
@@ -345,14 +346,13 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
345
346
|
globalFiltering: false,
|
|
346
347
|
csvExport: false,
|
|
347
348
|
render: (r)=>{
|
|
348
|
-
const
|
|
349
|
+
const LineIcon = statusLineIconComponentForRow(r.statusTone);
|
|
349
350
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__HStack_js_d2f77bae__["default"], {
|
|
350
351
|
spacing: "n3",
|
|
351
352
|
align: "center",
|
|
352
353
|
tagName: "span",
|
|
353
354
|
children: [
|
|
354
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
355
|
-
symbol: lineIcon,
|
|
355
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(LineIcon, {
|
|
356
356
|
size: "small",
|
|
357
357
|
tone: r.statusTone
|
|
358
358
|
}),
|
|
@@ -369,6 +369,7 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
369
369
|
id: "assignee",
|
|
370
370
|
label: "Person",
|
|
371
371
|
value: (r)=>r.assigneeName,
|
|
372
|
+
enableSorting: true,
|
|
372
373
|
globalFiltering: true,
|
|
373
374
|
filter: {
|
|
374
375
|
isMulti: true,
|
|
@@ -426,7 +427,6 @@ const PaperworkList = ({ compactBreakpoint, contentAlignment, enableSorting, row
|
|
|
426
427
|
statusSlot
|
|
427
428
|
],
|
|
428
429
|
data: rows,
|
|
429
|
-
enableSorting: enableSorting,
|
|
430
430
|
fillContainerHeight: true,
|
|
431
431
|
getRowId: (r)=>r.id,
|
|
432
432
|
leadingSlot: leadingSlot,
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type { ComponentProps } from "react";
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import Badge from "../../Badge";
|
|
3
|
-
import Icon from "../../Icon";
|
|
4
3
|
import { type CommonProps } from "./shared";
|
|
5
4
|
type NameBadgeColor = NonNullable<ComponentProps<typeof Badge>["color"]>;
|
|
6
|
-
type IconSymbol = ComponentProps<typeof Icon>["symbol"];
|
|
7
5
|
export type PaperworkApprovalsRow = {
|
|
8
6
|
id: string;
|
|
9
7
|
title: string;
|
|
10
|
-
leadingIcon:
|
|
8
|
+
leadingIcon: ReactNode;
|
|
11
9
|
statusBadge: {
|
|
12
10
|
id: string;
|
|
13
11
|
text: string;
|
|
@@ -19,5 +17,5 @@ export type PaperworkApprovalsRow = {
|
|
|
19
17
|
secondaryName: string;
|
|
20
18
|
secondaryImageUrl: string | null;
|
|
21
19
|
};
|
|
22
|
-
declare const PaperworkApprovalsList: ({ compactBreakpoint, contentAlignment,
|
|
20
|
+
declare const PaperworkApprovalsList: ({ compactBreakpoint, contentAlignment, rowHeight, }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
21
|
export default PaperworkApprovalsList;
|