@worknice/whiteboard 0.60.0 → 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,8 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_0d271bb6__ from "./Icon.js";
|
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__IconBadge_module_js_cbb5a845__ from "./IconBadge.module.js";
|
|
5
|
-
const IconBadge = ({
|
|
4
|
+
const IconBadge = ({ icon, id, color = "grey" })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
6
5
|
id: id,
|
|
7
6
|
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__IconBadge_module_js_cbb5a845__["default"].badge, {
|
|
8
7
|
[__WEBPACK_EXTERNAL_MODULE__IconBadge_module_js_cbb5a845__["default"].blue]: "blue" === color,
|
|
@@ -15,10 +14,7 @@ const IconBadge = ({ symbol, id, color = "grey" })=>/*#__PURE__*/ (0, __WEBPACK_
|
|
|
15
14
|
[__WEBPACK_EXTERNAL_MODULE__IconBadge_module_js_cbb5a845__["default"].teal]: "teal" === color,
|
|
16
15
|
[__WEBPACK_EXTERNAL_MODULE__IconBadge_module_js_cbb5a845__["default"].yellow]: "yellow" === color
|
|
17
16
|
}),
|
|
18
|
-
children:
|
|
19
|
-
symbol: symbol,
|
|
20
|
-
size: "default"
|
|
21
|
-
})
|
|
17
|
+
children: icon
|
|
22
18
|
});
|
|
23
19
|
const IconBadge_rslib_entry_ = IconBadge;
|
|
24
20
|
export { IconBadge_rslib_entry_ as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_MenuButton_js_b23cdd05__ from "../controls/MenuButton.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Overflow_js_53ee91ec__ from "../icons/components/Overflow.js";
|
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__ from "../utils/useNextContext.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_0d271bb6__ from "./Icon.js";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__LightweightTable_module_js_15596fa6__ from "./LightweightTable.module.js";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__Placeholder_js_b43af71f__ from "./Placeholder.js";
|
|
7
7
|
const LightweightTable = ({ items, getItemId, itemToHref, renderLeading, Content, renderTrailing, rowActions, emptyState = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Placeholder_js_b43af71f__["default"], {
|
|
@@ -53,9 +53,7 @@ const LightweightTable = ({ items, getItemId, itemToHref, renderLeading, Content
|
|
|
53
53
|
type: "ghost",
|
|
54
54
|
size: "small",
|
|
55
55
|
options: rowActions(item).filter((action)=>null !== action),
|
|
56
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
57
|
-
symbol: "Overflow"
|
|
58
|
-
})
|
|
56
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Overflow_js_53ee91ec__["default"], {})
|
|
59
57
|
})
|
|
60
58
|
}) : null
|
|
61
59
|
]
|
|
@@ -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_ChevronRight_js_3a199590__ from "../icons/components/ChevronRight.js";
|
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__ from "../utils/useNextContext.js";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_0d271bb6__ from "./Icon.js";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__Label_js_56960635__ from "./Label.js";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__ListCard_module_js_03577d96__ from "./ListCard.module.js";
|
|
6
6
|
const ListCard = ({ fields = [], href, statuses, title })=>{
|
|
@@ -38,9 +38,7 @@ const ListCard = ({ fields = [], href, statuses, title })=>{
|
|
|
38
38
|
}),
|
|
39
39
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
40
40
|
className: __WEBPACK_EXTERNAL_MODULE__ListCard_module_js_03577d96__["default"].chevron,
|
|
41
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
42
|
-
symbol: "ChevronRight"
|
|
43
|
-
})
|
|
41
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_ChevronRight_js_3a199590__["default"], {})
|
|
44
42
|
})
|
|
45
43
|
]
|
|
46
44
|
})
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Hidden_js_a4065ee0__ from "../icons/components/Hidden.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Visible_js_03fb7d76__ from "../icons/components/Visible.js";
|
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE__ObscuredText_module_js_1e05c3bc__ from "./ObscuredText.module.js";
|
|
5
6
|
const ObscuredText = ({ children })=>{
|
|
6
7
|
const [visible, setVisible] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
@@ -14,9 +15,10 @@ const ObscuredText = ({ children })=>{
|
|
|
14
15
|
className: __WEBPACK_EXTERNAL_MODULE__ObscuredText_module_js_1e05c3bc__["default"].text,
|
|
15
16
|
children: visible ? children : children.replace(/./g, "•")
|
|
16
17
|
}),
|
|
17
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
18
|
-
size: "small"
|
|
19
|
-
|
|
18
|
+
visible ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Visible_js_03fb7d76__["default"], {
|
|
19
|
+
size: "small"
|
|
20
|
+
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Hidden_js_a4065ee0__["default"], {
|
|
21
|
+
size: "small"
|
|
20
22
|
})
|
|
21
23
|
]
|
|
22
24
|
});
|
|
@@ -6,8 +6,8 @@ declare const meta: {
|
|
|
6
6
|
name?: string;
|
|
7
7
|
imageUrl?: string | null;
|
|
8
8
|
hue?: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
badgeIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
10
|
+
hoverIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
11
11
|
onClick?: (event: import("react").MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
12
12
|
} & {
|
|
13
13
|
href: string;
|
|
@@ -18,8 +18,8 @@ declare const meta: {
|
|
|
18
18
|
name?: string;
|
|
19
19
|
imageUrl?: string | null;
|
|
20
20
|
hue?: string;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
badgeIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
22
|
+
hoverIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
23
23
|
onClick?: (event: import("react").MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
24
24
|
} & {
|
|
25
25
|
href?: never;
|
|
@@ -30,8 +30,8 @@ declare const meta: {
|
|
|
30
30
|
name?: string;
|
|
31
31
|
imageUrl?: string | null;
|
|
32
32
|
hue?: string;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
badgeIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
34
|
+
hoverIconComponent?: import("react").ComponentType<import("../icons/types").IconProps>;
|
|
35
35
|
onClick?: (event: import("react").MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
36
36
|
} & {
|
|
37
37
|
href?: never;
|
|
@@ -45,15 +45,15 @@ declare const meta: {
|
|
|
45
45
|
size: "xlarge";
|
|
46
46
|
};
|
|
47
47
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/nextjs-vite").ReactRenderer, {
|
|
48
|
-
id: string;
|
|
49
48
|
size?: ("small" | "large" | "xlarge" | "tiny" | "xtiny") | undefined;
|
|
49
|
+
id: string;
|
|
50
50
|
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void) | undefined;
|
|
51
51
|
name?: string | undefined;
|
|
52
52
|
hue?: string | undefined;
|
|
53
53
|
href?: string | undefined;
|
|
54
54
|
imageUrl?: string | null | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
badgeIconComponent?: import("react").ComponentType<import("../icons/types").IconProps> | undefined;
|
|
56
|
+
hoverIconComponent?: import("react").ComponentType<import("../icons/types").IconProps> | undefined;
|
|
57
57
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
58
58
|
parameters: {
|
|
59
59
|
layout: string;
|
|
@@ -89,12 +89,6 @@ type CommonProps<Type> = {
|
|
|
89
89
|
* @default `RICH_LIST_CONTENT_COMPACT_MAX_PX` (1024); see `helpers.ts`
|
|
90
90
|
*/
|
|
91
91
|
compactBreakpoint?: number;
|
|
92
|
-
/**
|
|
93
|
-
* If `true`, users can change sort order from the Display dialog. Resets to the
|
|
94
|
-
* default are separate from the toolbar filter reset.
|
|
95
|
-
* @default `false`
|
|
96
|
-
*/
|
|
97
|
-
enableSorting?: boolean;
|
|
98
92
|
/**
|
|
99
93
|
* Content when a filter or search returns no rows.
|
|
100
94
|
* @default the string `No results`
|
|
@@ -129,6 +123,11 @@ type NavigationProps<Type> = {
|
|
|
129
123
|
* link covers the rest of the row (same idea as row actions not covering the whole row).
|
|
130
124
|
*/
|
|
131
125
|
href?: (row: Type) => string;
|
|
126
|
+
/**
|
|
127
|
+
* Invoked when the user activates the row’s main content zone (click or keyboard).
|
|
128
|
+
* Takes precedence over bulk row-click selection; `href` takes precedence over this.
|
|
129
|
+
*/
|
|
130
|
+
onClick?: (row: Type) => void;
|
|
132
131
|
/**
|
|
133
132
|
* Primary bulk actions in the bar when rows are selected. Each can open a panel (the
|
|
134
133
|
* `render` on the action). Row selection is enabled when this or `secondaryBulkActions`
|
|
@@ -148,6 +147,6 @@ type NavigationProps<Type> = {
|
|
|
148
147
|
* `helpers.ts`.
|
|
149
148
|
*/
|
|
150
149
|
export type RichListProps<Type> = CommonProps<Type> & NavigationProps<Type>;
|
|
151
|
-
declare const RichList: <Type>({ data, getRowId, leadingSlot, mainSlot, contentSlots, contentAlignment, trailingSlot, href, rowActions, bulkActions, secondaryBulkActions, rowHeight, csvFilename, fillContainerHeight, compactBreakpoint: compactBreakpointProp,
|
|
150
|
+
declare const RichList: <Type>({ data, getRowId, leadingSlot, mainSlot, contentSlots, contentAlignment, trailingSlot, href, onClick, rowActions, bulkActions, secondaryBulkActions, rowHeight, csvFilename, fillContainerHeight, compactBreakpoint: compactBreakpointProp, emptyState, id, pathName, localStorageSchema, header, }: RichListProps<Type>) => import("react/jsx-runtime").JSX.Element;
|
|
152
151
|
export default RichList;
|
|
153
152
|
export type { RichListBulkAction, RichListColumnWidthMode, RichListContentSlot, RichListLayoutVisibility, RichListMainSlot, RichListRowAction, RichListSlot, RichListSlotSize, RichListTextField, } from "./types";
|
|
@@ -41,7 +41,7 @@ function mergeInlineSinglePersistedColumnFilters(tableColumnFilters, inlineColum
|
|
|
41
41
|
}
|
|
42
42
|
];
|
|
43
43
|
}
|
|
44
|
-
const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_RICH_LIST_CONTENT_SLOTS, contentAlignment = "space-evenly", trailingSlot, href, rowActions, bulkActions = EMPTY_RICH_LIST_BULK_ACTIONS, secondaryBulkActions = EMPTY_RICH_LIST_BULK_ACTIONS, rowHeight = "medium", csvFilename, fillContainerHeight = false, compactBreakpoint: compactBreakpointProp,
|
|
44
|
+
const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_RICH_LIST_CONTENT_SLOTS, contentAlignment = "space-evenly", trailingSlot, href, onClick, rowActions, bulkActions = EMPTY_RICH_LIST_BULK_ACTIONS, secondaryBulkActions = EMPTY_RICH_LIST_BULK_ACTIONS, rowHeight = "medium", csvFilename, fillContainerHeight = false, compactBreakpoint: compactBreakpointProp, emptyState = "No results", id, pathName, localStorageSchema, header })=>{
|
|
45
45
|
const [searchTerm, setSearchTerm] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)("");
|
|
46
46
|
const [inlineSingleSelectChoice, setInlineSingleSelectChoice] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(void 0);
|
|
47
47
|
const [isFilterModalOpen, setIsFilterModalOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
@@ -143,9 +143,13 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
143
143
|
const toggleableContentSlots = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>allEntries.filter((e)=>(0, __WEBPACK_EXTERNAL_MODULE__helpers_js_87289b43__.isToggleableContentColumn)(e)), [
|
|
144
144
|
allEntries
|
|
145
145
|
]);
|
|
146
|
-
const sortableEntries = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>allEntries.filter((e)=>null !== e && void 0 !== e.value), [
|
|
146
|
+
const sortableEntries = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>allEntries.filter((e)=>null !== e && e.enableSorting && void 0 !== e.value), [
|
|
147
147
|
allEntries
|
|
148
148
|
]);
|
|
149
|
+
const hasSortableEntries = sortableEntries.length > 0;
|
|
150
|
+
const sortableEntryIds = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>new Set(sortableEntries.map((entry)=>entry.id)), [
|
|
151
|
+
sortableEntries
|
|
152
|
+
]);
|
|
149
153
|
const columnDefs = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
150
154
|
const columnHelper = (0, __WEBPACK_EXTERNAL_MODULE__tanstack_react_table_777e1b4b__.createColumnHelper)();
|
|
151
155
|
const tableFilteringForEntry = (entryId)=>!(void 0 !== inlineSingleSelectExcludedFromTableColumnId && entryId === inlineSingleSelectExcludedFromTableColumnId);
|
|
@@ -164,12 +168,9 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
164
168
|
cell: ({ row })=>entry.render(row.original),
|
|
165
169
|
enableHiding: (0, __WEBPACK_EXTERNAL_MODULE__helpers_js_87289b43__.isColumnWithVisibilityState)(entry),
|
|
166
170
|
enableGlobalFilter: entry.globalFiltering,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
} : {
|
|
171
|
-
enableSorting: false
|
|
172
|
-
},
|
|
171
|
+
enableSorting: entry.enableSorting,
|
|
172
|
+
sortingFn: entry.sortingFn ?? "auto",
|
|
173
|
+
sortUndefined: 1,
|
|
173
174
|
filterFn: entry.filter && tableFiltering ? (row, _columnId, filterValue)=>{
|
|
174
175
|
const filter = entry.filter;
|
|
175
176
|
if (!filter) return true;
|
|
@@ -199,7 +200,6 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
199
200
|
}, [
|
|
200
201
|
allEntries,
|
|
201
202
|
enableRowSelection,
|
|
202
|
-
enableSorting,
|
|
203
203
|
inlineSingleSelectExcludedFromTableColumnId
|
|
204
204
|
]);
|
|
205
205
|
const columnFiltersInitialState = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>entriesWithFilter.map((entry)=>{
|
|
@@ -234,6 +234,10 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
234
234
|
localStorageData,
|
|
235
235
|
localStorageSchema
|
|
236
236
|
]);
|
|
237
|
+
const initialSorting = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>(parsedLocalStorage.sorting ?? []).filter((sort)=>sortableEntryIds.has(sort.id)), [
|
|
238
|
+
parsedLocalStorage.sorting,
|
|
239
|
+
sortableEntryIds
|
|
240
|
+
]);
|
|
237
241
|
const mergedInitialPersistedColumnFilters = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>parsedLocalStorage.columnFilters ?? columnFiltersInitialState, [
|
|
238
242
|
parsedLocalStorage.columnFilters,
|
|
239
243
|
columnFiltersInitialState
|
|
@@ -309,7 +313,7 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
309
313
|
getRowId,
|
|
310
314
|
getCoreRowModel: (0, __WEBPACK_EXTERNAL_MODULE__tanstack_react_table_777e1b4b__.getCoreRowModel)(),
|
|
311
315
|
getFilteredRowModel: (0, __WEBPACK_EXTERNAL_MODULE__tanstack_react_table_777e1b4b__.getFilteredRowModel)(),
|
|
312
|
-
...
|
|
316
|
+
...hasSortableEntries ? {
|
|
313
317
|
getSortedRowModel: (0, __WEBPACK_EXTERNAL_MODULE__tanstack_react_table_777e1b4b__.getSortedRowModel)()
|
|
314
318
|
} : {},
|
|
315
319
|
getColumnCanGlobalFilter: ()=>true,
|
|
@@ -318,7 +322,7 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
318
322
|
columnFilters: tableColumnFiltersInitialState,
|
|
319
323
|
columnVisibility: initialColumnVisibility,
|
|
320
324
|
globalFilter: "",
|
|
321
|
-
sorting:
|
|
325
|
+
sorting: initialSorting
|
|
322
326
|
},
|
|
323
327
|
defaultColumn: {
|
|
324
328
|
enableColumnFilter: false,
|
|
@@ -343,6 +347,10 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
343
347
|
table
|
|
344
348
|
]);
|
|
345
349
|
const tableState = table.getState();
|
|
350
|
+
const persistedSorting = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>tableState.sorting.filter((sort)=>sortableEntryIds.has(sort.id)), [
|
|
351
|
+
sortableEntryIds,
|
|
352
|
+
tableState.sorting
|
|
353
|
+
]);
|
|
346
354
|
const rows = table.getRowModel().rows;
|
|
347
355
|
const filteredSelectedRows = table.getFilteredSelectedRowModel();
|
|
348
356
|
const throttledSetGlobalFilter = (0, __WEBPACK_EXTERNAL_MODULE__react_hook_throttle_d66151d4__.useThrottleCallback)((value)=>table.setGlobalFilter(value), 4);
|
|
@@ -355,13 +363,13 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
355
363
|
if (storageKey) window.localStorage.setItem(storageKey, JSON.stringify({
|
|
356
364
|
columnFilters: mergeInlineSinglePersistedColumnFilters(tableState.columnFilters, inlineSingleSelectExcludedFromTableColumnId, inlineSingleSelectOptionIdResolved),
|
|
357
365
|
columnVisibility: tableState.columnVisibility,
|
|
358
|
-
sorting:
|
|
366
|
+
sorting: persistedSorting
|
|
359
367
|
}));
|
|
360
368
|
}, [
|
|
361
369
|
storageKey,
|
|
362
370
|
tableState.columnFilters,
|
|
363
371
|
tableState.columnVisibility,
|
|
364
|
-
|
|
372
|
+
persistedSorting,
|
|
365
373
|
inlineSingleSelectExcludedFromTableColumnId,
|
|
366
374
|
inlineSingleSelectOptionIdResolved
|
|
367
375
|
]);
|
|
@@ -391,7 +399,7 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
391
399
|
"--richlist-padding-inline": `${(0, __WEBPACK_EXTERNAL_MODULE__helpers_js_87289b43__.richListInlinePaddingPx)(rowHeight)}px`
|
|
392
400
|
});
|
|
393
401
|
const showDisplayForColumnVisibility = !isCompactContentSlots && toggleableContentSlots.length > 0;
|
|
394
|
-
const showDisplayButton =
|
|
402
|
+
const showDisplayButton = hasSortableEntries || showDisplayForColumnVisibility;
|
|
395
403
|
const defaultDisplayColumnVisibility = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>Object.fromEntries(toggleableContentSlots.map((entry)=>[
|
|
396
404
|
entry.id,
|
|
397
405
|
!("hiddenByDefault" in entry && entry.hiddenByDefault)
|
|
@@ -411,7 +419,7 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
411
419
|
defaultVisible: !("hiddenByDefault" in entry && entry.hiddenByDefault)
|
|
412
420
|
}));
|
|
413
421
|
const displayColumnsForDisplayModal = isCompactContentSlots ? [] : displayColumnsForModal;
|
|
414
|
-
const displayActiveCount = (0, __WEBPACK_EXTERNAL_MODULE__RichListDisplayModal_js_6277e838__.getDisplayFormActiveExpanderCount)(
|
|
422
|
+
const displayActiveCount = (0, __WEBPACK_EXTERNAL_MODULE__RichListDisplayModal_js_6277e838__.getDisplayFormActiveExpanderCount)(hasSortableEntries, persistedSorting, displayColumnsForDisplayModal);
|
|
415
423
|
const hasToolbar = enableRowSelection || entriesWithGlobalFilter.length > 0 || entriesWithFilter.length > 0 || showDisplayButton || shouldShowCsvExport;
|
|
416
424
|
const actionsByRowId = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
|
|
417
425
|
const map = new Map();
|
|
@@ -565,6 +573,7 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
565
573
|
table: table,
|
|
566
574
|
enableRowSelection: enableRowSelection,
|
|
567
575
|
href: href,
|
|
576
|
+
onClick: onClick,
|
|
568
577
|
normalizedLeadingSlots: normalizedLeadingSlots,
|
|
569
578
|
normalizedPrimary: normalizedPrimary,
|
|
570
579
|
normalizedSecondary: normalizedSecondary,
|
|
@@ -594,8 +603,8 @@ const RichList = ({ data, getRowId, leadingSlot, mainSlot, contentSlots = EMPTY_
|
|
|
594
603
|
}),
|
|
595
604
|
isDisplayModalOpen && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__RichListDisplayModal_js_6277e838__["default"], {
|
|
596
605
|
onClose: ()=>setIsDisplayModalOpen(false),
|
|
597
|
-
sortableColumns:
|
|
598
|
-
currentSorting:
|
|
606
|
+
sortableColumns: sortableColumnsForModal,
|
|
607
|
+
currentSorting: persistedSorting,
|
|
599
608
|
onApplySorting: (sorting)=>table.setSorting(sorting),
|
|
600
609
|
displayColumns: displayColumnsForDisplayModal,
|
|
601
610
|
onApplyColumnVisibility: (vis)=>{
|
|
@@ -27,7 +27,6 @@ const meta = {
|
|
|
27
27
|
component: __WEBPACK_EXTERNAL_MODULE__RichList_js_174fa6e8__["default"],
|
|
28
28
|
args: {
|
|
29
29
|
rowHeight: "medium",
|
|
30
|
-
enableSorting: false,
|
|
31
30
|
contentAlignment: "space-evenly",
|
|
32
31
|
compactBreakpoint: __WEBPACK_EXTERNAL_MODULE__helpers_js_87289b43__.RICH_LIST_CONTENT_COMPACT_MAX_PX
|
|
33
32
|
},
|
|
@@ -69,9 +68,6 @@ const meta = {
|
|
|
69
68
|
emptyState: {
|
|
70
69
|
control: false
|
|
71
70
|
},
|
|
72
|
-
enableSorting: {
|
|
73
|
-
control: "boolean"
|
|
74
|
-
},
|
|
75
71
|
fillContainerHeight: {
|
|
76
72
|
control: false
|
|
77
73
|
},
|
|
@@ -84,6 +80,9 @@ const meta = {
|
|
|
84
80
|
href: {
|
|
85
81
|
control: false
|
|
86
82
|
},
|
|
83
|
+
onClick: {
|
|
84
|
+
control: false
|
|
85
|
+
},
|
|
87
86
|
id: {
|
|
88
87
|
control: false
|
|
89
88
|
},
|
|
@@ -153,13 +152,11 @@ const meta = {
|
|
|
153
152
|
const RichList_stories_rslib_entry_ = meta;
|
|
154
153
|
const PeopleDirectory = {
|
|
155
154
|
args: {
|
|
156
|
-
compactBreakpoint: 800
|
|
157
|
-
enableSorting: true
|
|
155
|
+
compactBreakpoint: 800
|
|
158
156
|
},
|
|
159
157
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_PeopleList_js_08c544af__["default"], {
|
|
160
158
|
compactBreakpoint: args.compactBreakpoint,
|
|
161
159
|
contentAlignment: args.contentAlignment,
|
|
162
|
-
enableSorting: args.enableSorting,
|
|
163
160
|
rowHeight: args.rowHeight
|
|
164
161
|
})
|
|
165
162
|
};
|
|
@@ -171,59 +168,50 @@ const EmployeePaperwork = {
|
|
|
171
168
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_EmployeePaperwork_js_ce2a4560__["default"], {
|
|
172
169
|
compactBreakpoint: args.compactBreakpoint,
|
|
173
170
|
contentAlignment: args.contentAlignment,
|
|
174
|
-
enableSorting: args.enableSorting,
|
|
175
171
|
rowHeight: args.rowHeight
|
|
176
172
|
})
|
|
177
173
|
};
|
|
178
174
|
const Paperwork = {
|
|
179
175
|
args: {
|
|
180
176
|
compactBreakpoint: 800,
|
|
181
|
-
enableSorting: true,
|
|
182
177
|
contentAlignment: "flex-end"
|
|
183
178
|
},
|
|
184
179
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Paperwork_js_6aeab56c__["default"], {
|
|
185
180
|
compactBreakpoint: args.compactBreakpoint,
|
|
186
181
|
contentAlignment: args.contentAlignment,
|
|
187
|
-
enableSorting: args.enableSorting,
|
|
188
182
|
rowHeight: args.rowHeight
|
|
189
183
|
})
|
|
190
184
|
};
|
|
191
185
|
const PaperworkApprovals = {
|
|
192
186
|
args: {
|
|
193
187
|
compactBreakpoint: 800,
|
|
194
|
-
enableSorting: true,
|
|
195
188
|
contentAlignment: "flex-end"
|
|
196
189
|
},
|
|
197
190
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_PaperworkApprovals_js_59df2dae__["default"], {
|
|
198
191
|
compactBreakpoint: args.compactBreakpoint,
|
|
199
192
|
contentAlignment: args.contentAlignment,
|
|
200
|
-
enableSorting: args.enableSorting,
|
|
201
193
|
rowHeight: args.rowHeight
|
|
202
194
|
})
|
|
203
195
|
};
|
|
204
196
|
const Leave = {
|
|
205
197
|
args: {
|
|
206
198
|
compactBreakpoint: 800,
|
|
207
|
-
enableSorting: true,
|
|
208
199
|
contentAlignment: "flex-end"
|
|
209
200
|
},
|
|
210
201
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Leave_js_fe8f2780__["default"], {
|
|
211
202
|
compactBreakpoint: args.compactBreakpoint,
|
|
212
203
|
contentAlignment: args.contentAlignment,
|
|
213
|
-
enableSorting: args.enableSorting,
|
|
214
204
|
rowHeight: args.rowHeight
|
|
215
205
|
})
|
|
216
206
|
};
|
|
217
207
|
const Tasks = {
|
|
218
208
|
args: {
|
|
219
209
|
compactBreakpoint: 800,
|
|
220
|
-
enableSorting: true,
|
|
221
210
|
contentAlignment: "flex-end"
|
|
222
211
|
},
|
|
223
212
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Tasks_js_9f5cc0bc__["default"], {
|
|
224
213
|
compactBreakpoint: args.compactBreakpoint,
|
|
225
214
|
contentAlignment: args.contentAlignment,
|
|
226
|
-
enableSorting: args.enableSorting,
|
|
227
215
|
rowHeight: args.rowHeight
|
|
228
216
|
})
|
|
229
217
|
};
|
|
@@ -231,8 +219,7 @@ const EmployeeCompliance = {
|
|
|
231
219
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_EmployeeCompliance_js_97782914__["default"], {
|
|
232
220
|
compactBreakpoint: args.compactBreakpoint,
|
|
233
221
|
contentAlignment: args.contentAlignment,
|
|
234
|
-
rowHeight: args.rowHeight
|
|
235
|
-
enableSorting: args.enableSorting
|
|
222
|
+
rowHeight: args.rowHeight
|
|
236
223
|
})
|
|
237
224
|
};
|
|
238
225
|
const ComplianceGroups = {
|
|
@@ -283,43 +270,34 @@ const Tables = {
|
|
|
283
270
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Tables_js_73ee4da7__["default"], {
|
|
284
271
|
compactBreakpoint: args.compactBreakpoint,
|
|
285
272
|
contentAlignment: args.contentAlignment,
|
|
286
|
-
enableSorting: args.enableSorting,
|
|
287
273
|
rowHeight: args.rowHeight
|
|
288
274
|
})
|
|
289
275
|
};
|
|
290
276
|
const Positions = {
|
|
291
277
|
args: {
|
|
292
|
-
enableSorting: true,
|
|
293
278
|
contentAlignment: "flex-end"
|
|
294
279
|
},
|
|
295
280
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Positions_js_26e8c2fc__["default"], {
|
|
296
281
|
compactBreakpoint: args.compactBreakpoint,
|
|
297
282
|
contentAlignment: args.contentAlignment,
|
|
298
|
-
enableSorting: args.enableSorting,
|
|
299
283
|
rowHeight: args.rowHeight
|
|
300
284
|
})
|
|
301
285
|
};
|
|
302
286
|
const EmployeePeople = {
|
|
303
|
-
args: {
|
|
304
|
-
enableSorting: false
|
|
305
|
-
},
|
|
306
287
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_EmployeePeople_js_30f49b1f__["default"], {
|
|
307
288
|
compactBreakpoint: args.compactBreakpoint,
|
|
308
289
|
contentAlignment: args.contentAlignment,
|
|
309
|
-
enableSorting: args.enableSorting,
|
|
310
290
|
rowHeight: args.rowHeight
|
|
311
291
|
})
|
|
312
292
|
};
|
|
313
293
|
const Reviews = {
|
|
314
294
|
args: {
|
|
315
295
|
rowHeight: "large",
|
|
316
|
-
enableSorting: false,
|
|
317
296
|
compactBreakpoint: 450
|
|
318
297
|
},
|
|
319
298
|
render: (args)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__stories_Reviews_js_1264af6d__["default"], {
|
|
320
299
|
compactBreakpoint: args.compactBreakpoint,
|
|
321
300
|
contentAlignment: args.contentAlignment,
|
|
322
|
-
enableSorting: args.enableSorting,
|
|
323
301
|
rowHeight: args.rowHeight
|
|
324
302
|
})
|
|
325
303
|
};
|
|
@@ -329,7 +307,6 @@ const EmptyList = {
|
|
|
329
307
|
fillContainerHeight: true,
|
|
330
308
|
compactBreakpoint: args.compactBreakpoint,
|
|
331
309
|
contentAlignment: args.contentAlignment,
|
|
332
|
-
enableSorting: args.enableSorting,
|
|
333
310
|
getRowId: (r)=>r.id,
|
|
334
311
|
rowHeight: args.rowHeight,
|
|
335
312
|
mainSlot: {
|
|
@@ -3,11 +3,13 @@ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/j
|
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__ from "../../controls/Button.js";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_Disclosure_js_07249afc__ from "../../controls/Disclosure.js";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__controls_MenuButton_js_fa7c5c89__ from "../../controls/MenuButton.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Close_js_387b6f2b__ from "../../icons/components/Close.js";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Download_js_486a4eac__ from "../../icons/components/Download.js";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Overflow_js_e85d27d7__ from "../../icons/components/Overflow.js";
|
|
6
9
|
import * as __WEBPACK_EXTERNAL_MODULE__Badge_js_a2cbb2b8__ from "../Badge.js";
|
|
7
10
|
import * as __WEBPACK_EXTERNAL_MODULE__Card_js_2e00482a__ from "../Card.js";
|
|
8
11
|
import * as __WEBPACK_EXTERNAL_MODULE__CardContent_js_bacbf899__ from "../CardContent.js";
|
|
9
12
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_5c2eb952__ from "../HStack.js";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__ from "../Icon.js";
|
|
11
13
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_6d36b5d5__ from "../PlainText.js";
|
|
12
14
|
import * as __WEBPACK_EXTERNAL_MODULE__helpers_js_87289b43__ from "./helpers.js";
|
|
13
15
|
import * as __WEBPACK_EXTERNAL_MODULE__RichListBulkActionBar_module_js_84de7cc9__ from "./RichListBulkActionBar.module.js";
|
|
@@ -79,8 +81,7 @@ const RichListBulkActionBar = ({ table, floatingRef, leftCoordinate, selectedCou
|
|
|
79
81
|
{
|
|
80
82
|
id: "download-selected-rows",
|
|
81
83
|
label: "Download CSV",
|
|
82
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
83
|
-
symbol: "Download",
|
|
84
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Download_js_486a4eac__["default"], {
|
|
84
85
|
size: "small"
|
|
85
86
|
}),
|
|
86
87
|
type: "onClick",
|
|
@@ -88,14 +89,10 @@ const RichListBulkActionBar = ({ table, floatingRef, leftCoordinate, selectedCou
|
|
|
88
89
|
}
|
|
89
90
|
] : []
|
|
90
91
|
],
|
|
91
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
92
|
-
symbol: "Overflow"
|
|
93
|
-
})
|
|
92
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Overflow_js_e85d27d7__["default"], {})
|
|
94
93
|
}) : null,
|
|
95
94
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__["default"], {
|
|
96
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
97
|
-
symbol: "Close"
|
|
98
|
-
}),
|
|
95
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Close_js_387b6f2b__["default"], {}),
|
|
99
96
|
onClick: ()=>table.resetRowSelection(true),
|
|
100
97
|
title: `Deselect ${selectedCount} ${1 === selectedCount ? "selection" : "selections"}`,
|
|
101
98
|
type: "ghost"
|
|
@@ -8,10 +8,10 @@ import * as __WEBPACK_EXTERNAL_MODULE__fields_BooleanField_js_6389bc93__ from ".
|
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE__fields_SimpleRadioSetField_js_bf559bf6__ from "../../fields/SimpleRadioSetField.js";
|
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE__forms_FormButtonSet_js_786d786e__ from "../../forms/FormButtonSet.js";
|
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE__forms_useForm_js_e95dafc7__ from "../../forms/useForm.js";
|
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_Restore_js_f78ce3bd__ from "../../icons/components/Restore.js";
|
|
11
12
|
import * as __WEBPACK_EXTERNAL_MODULE__inputs_SelectInput_js_a37c3c04__ from "../../inputs/SelectInput.js";
|
|
12
13
|
import * as __WEBPACK_EXTERNAL_MODULE__Card_js_2e00482a__ from "../Card.js";
|
|
13
14
|
import * as __WEBPACK_EXTERNAL_MODULE__HStack_js_5c2eb952__ from "../HStack.js";
|
|
14
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__ from "../Icon.js";
|
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE__Modal_js_91697624__ from "../Modal.js";
|
|
16
16
|
import * as __WEBPACK_EXTERNAL_MODULE__PlainText_js_6d36b5d5__ from "../PlainText.js";
|
|
17
17
|
import * as __WEBPACK_EXTERNAL_MODULE__VStack_js_6ebc0134__ from "../VStack.js";
|
|
@@ -92,9 +92,7 @@ const RichListDisplayModal = ({ onClose, sortableColumns, currentSorting, onAppl
|
|
|
92
92
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__["default"], {
|
|
93
93
|
type: "secondary",
|
|
94
94
|
onClick: handleReset,
|
|
95
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
96
|
-
symbol: "Restore"
|
|
97
|
-
}),
|
|
95
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Restore_js_f78ce3bd__["default"], {}),
|
|
98
96
|
disabled: !hasSortSection && !hasDisplaySection,
|
|
99
97
|
children: "Reset"
|
|
100
98
|
}),
|
|
@@ -119,7 +117,7 @@ const RichListDisplayModal = ({ onClose, sortableColumns, currentSorting, onAppl
|
|
|
119
117
|
className: __WEBPACK_EXTERNAL_MODULE__controls_FilterModal_module_js_3b5407aa__["default"].filterExpandersContainer,
|
|
120
118
|
children: [
|
|
121
119
|
hasSortSection ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_FilterModal_js_c5dcd344__.FilterExpander, {
|
|
122
|
-
label: "Sort",
|
|
120
|
+
label: "Sort by",
|
|
123
121
|
highlight: isSortActive,
|
|
124
122
|
defaultOpen: !hasDisplaySection || isSortActive,
|
|
125
123
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE__VStack_js_6ebc0134__["default"], {
|
|
@@ -8,6 +8,7 @@ type Props<Type> = {
|
|
|
8
8
|
/** When the list has bulk actions, rows can be selected via the checkbox lane. */
|
|
9
9
|
enableRowSelection: boolean;
|
|
10
10
|
href: ((row: Type) => string) | undefined;
|
|
11
|
+
onClick: ((row: Type) => void) | undefined;
|
|
11
12
|
normalizedLeadingSlots: Array<NormalizedSlot<Type>>;
|
|
12
13
|
normalizedPrimary: NormalizedTextField<Type>;
|
|
13
14
|
normalizedSecondary: NormalizedTextField<Type> | null;
|
|
@@ -35,5 +36,5 @@ type Props<Type> = {
|
|
|
35
36
|
anyRowHasOverflowAction: boolean;
|
|
36
37
|
lastSelectedRowRef: MutableRefObject<Row<Type> | undefined>;
|
|
37
38
|
};
|
|
38
|
-
declare const RichListRow: <Type>({ row, table, enableRowSelection, href, normalizedLeadingSlots, normalizedPrimary, normalizedSecondary, mainSlotMaxWidthPx, normalizedContentSlots, normalizedTrailingSlots, isCompactContentSlots, rowMainHidesContentSlotColumns, contentSlotsJustifyContent, actionsForRow, maxAlwaysVisibleActions, anyRowHasOverflowAction, lastSelectedRowRef, }: Props<Type>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare const RichListRow: <Type>({ row, table, enableRowSelection, href, onClick, normalizedLeadingSlots, normalizedPrimary, normalizedSecondary, mainSlotMaxWidthPx, normalizedContentSlots, normalizedTrailingSlots, isCompactContentSlots, rowMainHidesContentSlotColumns, contentSlotsJustifyContent, actionsForRow, maxAlwaysVisibleActions, anyRowHasOverflowAction, lastSelectedRowRef, }: Props<Type>) => import("react/jsx-runtime").JSX.Element;
|
|
39
40
|
export default RichListRow;
|