@bitrise/bitkit 12.82.0 → 12.84.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/package.json +4 -4
- package/src/Components/Accordion/Accordion.tsx +1 -1
- package/src/Components/Accordion/AccordionItem.tsx +4 -4
- package/src/Components/AccordionLegacy/Accordion.theme.ts +59 -59
- package/src/Components/AccordionLegacy/LegacyAccordion.tsx +3 -3
- package/src/Components/AccordionLegacy/LegacyAccordionItem.tsx +4 -4
- package/src/Components/Badge/Badge.theme.ts +5 -5
- package/src/Components/Badge/Badge.tsx +1 -1
- package/src/Components/Breadcrumb/Breadcrumb.theme.ts +10 -10
- package/src/Components/Breadcrumb/Breadcrumb.tsx +1 -1
- package/src/Components/Button/Button.theme.ts +72 -72
- package/src/Components/Card/Card.theme.ts +7 -7
- package/src/Components/CloseButton/CloseButton.theme.ts +10 -10
- package/src/Components/CloseButton/CloseButton.tsx +1 -1
- package/src/Components/CodeBlock/CodeBlock.theme.ts +7 -7
- package/src/Components/CodeBlock/CodeBlock.tsx +4 -4
- package/src/Components/CodeSnippet/CodeSnippet.theme.ts +8 -8
- package/src/Components/CodeSnippet/CodeSnippet.tsx +2 -2
- package/src/Components/ColorButton/ColorButton.theme.ts +27 -27
- package/src/Components/ColorButton/ColorButton.tsx +2 -2
- package/src/Components/DatePicker/DatePicker.tsx +11 -11
- package/src/Components/DatePicker/DatePickerDay.theme.ts +31 -31
- package/src/Components/DatePicker/DatePickerDay.tsx +17 -17
- package/src/Components/DatePicker/DatePickerFooter.tsx +13 -13
- package/src/Components/DatePicker/DatePickerGrid.tsx +1 -1
- package/src/Components/DatePicker/DatePickerHeader.tsx +19 -19
- package/src/Components/DatePicker/DatePickerMonth.tsx +15 -15
- package/src/Components/DatePicker/DatePickerMonthSelector.tsx +25 -25
- package/src/Components/DefinitionTooltip/DefinitionTooltip.theme.ts +5 -5
- package/src/Components/DefinitionTooltip/DefinitionTooltip.tsx +1 -1
- package/src/Components/Dialog/Dialog.theme.ts +51 -51
- package/src/Components/Dialog/Dialog.tsx +5 -5
- package/src/Components/Dot/Dot.tsx +1 -1
- package/src/Components/Drawer/Drawer.theme.ts +20 -20
- package/src/Components/Drawer/Drawer.tsx +5 -5
- package/src/Components/Dropdown/Dropdown.context.tsx +2 -2
- package/src/Components/Dropdown/Dropdown.theme.ts +55 -55
- package/src/Components/Dropdown/Dropdown.tsx +52 -52
- package/src/Components/Dropdown/DropdownButton.tsx +5 -5
- package/src/Components/Dropdown/DropdownOption.tsx +12 -12
- package/src/Components/Dropdown/hooks/useAutoScroll.ts +3 -3
- package/src/Components/Dropdown/hooks/useFloatingDropdown.ts +39 -39
- package/src/Components/Dropdown/hooks/useSimpleSearch.tsx +1 -1
- package/src/Components/EmptyState/EmptyState.theme.ts +11 -11
- package/src/Components/EmptyState/EmptyState.tsx +1 -1
- package/src/Components/ExpandableCard/ExpandableCard.theme.ts +14 -14
- package/src/Components/ExpandableCard/ExpandableCard.tsx +3 -3
- package/src/Components/Filter/Filter.storyData.ts +44 -44
- package/src/Components/Filter/Filter.theme.ts +82 -82
- package/src/Components/Filter/Filter.tsx +6 -6
- package/src/Components/Filter/FilterAdd/FilterAdd.tsx +3 -3
- package/src/Components/Filter/FilterDate/FilterDate.tsx +4 -4
- package/src/Components/Filter/FilterForm/FilterForm.tsx +4 -5
- package/src/Components/Filter/FilterItem/FilterItem.tsx +4 -4
- package/src/Components/Filter/FilterSearch/FilterSearch.tsx +2 -2
- package/src/Components/Filter/FilterSwitch/FilterSwitch.theme.ts +29 -29
- package/src/Components/Filter/FilterSwitch/FilterSwitch.tsx +6 -6
- package/src/Components/Form/Checkbox/Checkbox.theme.ts +25 -25
- package/src/Components/Form/DateInput/DateInput.tsx +50 -0
- package/src/Components/Form/FileInput/FileInput.theme.ts +26 -26
- package/src/Components/Form/FileInput/FileInput.tsx +11 -11
- package/src/Components/Form/Form.theme.ts +5 -5
- package/src/Components/Form/Input/Input.theme.ts +24 -24
- package/src/Components/Form/Input/Input.tsx +17 -17
- package/src/Components/Form/Radio/Radio.theme.ts +26 -26
- package/src/Components/Form/Radio/Radio.tsx +1 -1
- package/src/Components/Form/Textarea/Textarea.tsx +9 -9
- package/src/Components/Icon/Icon.tsx +1 -1
- package/src/Components/IconButton/IconButton.tsx +1 -1
- package/src/Components/Icons/16x16/Addons.tsx +3 -3
- package/src/Components/Icons/16x16/AddonsTuorqouise.tsx +7 -7
- package/src/Components/Icons/16x16/AddonsViolet.tsx +7 -7
- package/src/Components/Icons/16x16/AddonsWhite.tsx +7 -7
- package/src/Components/Icons/16x16/Agent.tsx +3 -3
- package/src/Components/Icons/16x16/Anchor.tsx +3 -3
- package/src/Components/Icons/16x16/Android.tsx +3 -3
- package/src/Components/Icons/16x16/App.tsx +3 -3
- package/src/Components/Icons/16x16/Apple.tsx +3 -3
- package/src/Components/Icons/16x16/AppleFill.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowDown.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveDown.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowMoveLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveRight.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowMoveUp.tsx +3 -3
- package/src/Components/Icons/16x16/ArrowQuit.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowRight.tsx +2 -2
- package/src/Components/Icons/16x16/ArrowUp.tsx +2 -2
- package/src/Components/Icons/16x16/Badge3rdParty.tsx +4 -4
- package/src/Components/Icons/16x16/BadgeBitrise.tsx +4 -4
- package/src/Components/Icons/16x16/Bazel.tsx +8 -8
- package/src/Components/Icons/16x16/Bell.tsx +3 -3
- package/src/Components/Icons/16x16/Bitbot.tsx +4 -4
- package/src/Components/Icons/16x16/BitbotError.tsx +4 -4
- package/src/Components/Icons/16x16/BitbucketBlue.tsx +4 -4
- package/src/Components/Icons/16x16/BitbucketPlain.tsx +3 -3
- package/src/Components/Icons/16x16/BitbucketShadedWhite.tsx +6 -6
- package/src/Components/Icons/16x16/Book.tsx +3 -3
- package/src/Components/Icons/16x16/BoxWithArrowDown.tsx +2 -2
- package/src/Components/Icons/16x16/BoxWithDot.tsx +3 -3
- package/src/Components/Icons/16x16/Branch.tsx +3 -3
- package/src/Components/Icons/16x16/Bug.tsx +3 -3
- package/src/Components/Icons/16x16/Build.tsx +4 -4
- package/src/Components/Icons/16x16/BuildCache.tsx +2 -2
- package/src/Components/Icons/16x16/BuildCacheSolid.tsx +3 -3
- package/src/Components/Icons/16x16/BuildTest.tsx +2 -2
- package/src/Components/Icons/16x16/BuildTestSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusAborted.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusAbortedSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusFailed.tsx +3 -3
- package/src/Components/Icons/16x16/BuildstatusFailedSolid.tsx +2 -2
- package/src/Components/Icons/16x16/BuildstatusLoading.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusLoadingAnimated.tsx +11 -11
- package/src/Components/Icons/16x16/BuildstatusNeverbuilt.tsx +3 -3
- package/src/Components/Icons/16x16/BuildstatusProgressEggplant.tsx +7 -7
- package/src/Components/Icons/16x16/BuildstatusProgressWhite.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusSuccessful.tsx +5 -5
- package/src/Components/Icons/16x16/BuildstatusSuccessfulSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Bulletpoint.tsx +2 -2
- package/src/Components/Icons/16x16/Cache.tsx +4 -4
- package/src/Components/Icons/16x16/Calendar.tsx +3 -3
- package/src/Components/Icons/16x16/ChangePlan.tsx +3 -3
- package/src/Components/Icons/16x16/Chat.tsx +4 -4
- package/src/Components/Icons/16x16/ChatMessage.tsx +3 -3
- package/src/Components/Icons/16x16/CheckCircle.tsx +2 -2
- package/src/Components/Icons/16x16/ChevronDown.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronLeft.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronRight.tsx +3 -3
- package/src/Components/Icons/16x16/ChevronUp.tsx +3 -3
- package/src/Components/Icons/16x16/Clock.tsx +3 -3
- package/src/Components/Icons/16x16/CloseSmall.tsx +3 -3
- package/src/Components/Icons/16x16/Code.tsx +3 -3
- package/src/Components/Icons/16x16/CodeSigning.tsx +4 -4
- package/src/Components/Icons/16x16/Coffee.tsx +3 -3
- package/src/Components/Icons/16x16/Commit.tsx +2 -2
- package/src/Components/Icons/16x16/Conference.tsx +5 -5
- package/src/Components/Icons/16x16/ConnectedAccounts.tsx +2 -2
- package/src/Components/Icons/16x16/Cordova.tsx +3 -3
- package/src/Components/Icons/16x16/Cpu.tsx +4 -4
- package/src/Components/Icons/16x16/Creditcard.tsx +4 -4
- package/src/Components/Icons/16x16/Credits.tsx +5 -5
- package/src/Components/Icons/16x16/Cycle.tsx +3 -3
- package/src/Components/Icons/16x16/DeleteNope.tsx +3 -3
- package/src/Components/Icons/16x16/Deployment.tsx +5 -5
- package/src/Components/Icons/16x16/Details.tsx +2 -2
- package/src/Components/Icons/16x16/Doc.tsx +3 -3
- package/src/Components/Icons/16x16/Dollars.tsx +3 -3
- package/src/Components/Icons/16x16/Download.tsx +3 -3
- package/src/Components/Icons/16x16/DropdownArrows.tsx +3 -3
- package/src/Components/Icons/16x16/Dudes.tsx +3 -3
- package/src/Components/Icons/16x16/Duplicate.tsx +3 -3
- package/src/Components/Icons/16x16/Enterprise.tsx +4 -4
- package/src/Components/Icons/16x16/ErrorGeneral.tsx +4 -4
- package/src/Components/Icons/16x16/Expand.tsx +2 -2
- package/src/Components/Icons/16x16/Fastlane.tsx +3 -3
- package/src/Components/Icons/16x16/FileDoc.tsx +3 -3
- package/src/Components/Icons/16x16/FilePdf.tsx +3 -3
- package/src/Components/Icons/16x16/FilePlist.tsx +5 -5
- package/src/Components/Icons/16x16/FileZip.tsx +5 -5
- package/src/Components/Icons/16x16/Filter.tsx +1 -1
- package/src/Components/Icons/16x16/Flag.tsx +3 -3
- package/src/Components/Icons/16x16/Flutter.tsx +2 -2
- package/src/Components/Icons/16x16/Folder.tsx +3 -3
- package/src/Components/Icons/16x16/Fullscreen.tsx +2 -2
- package/src/Components/Icons/16x16/FullscreenExit.tsx +2 -2
- package/src/Components/Icons/16x16/Gauge.tsx +2 -2
- package/src/Components/Icons/16x16/Github.tsx +3 -3
- package/src/Components/Icons/16x16/GitlabColor.tsx +9 -9
- package/src/Components/Icons/16x16/GitlabPlain.tsx +3 -3
- package/src/Components/Icons/16x16/GitlabShadedWhite.tsx +14 -14
- package/src/Components/Icons/16x16/Globe.tsx +3 -3
- package/src/Components/Icons/16x16/Go.tsx +8 -8
- package/src/Components/Icons/16x16/GoogleColor.tsx +6 -6
- package/src/Components/Icons/16x16/Gradle.tsx +2 -2
- package/src/Components/Icons/16x16/Group.tsx +3 -3
- package/src/Components/Icons/16x16/Heart.tsx +3 -3
- package/src/Components/Icons/16x16/HidePassword.tsx +4 -4
- package/src/Components/Icons/16x16/History.tsx +2 -2
- package/src/Components/Icons/16x16/Image.tsx +3 -3
- package/src/Components/Icons/16x16/Info.tsx +3 -3
- package/src/Components/Icons/16x16/Insights.tsx +2 -2
- package/src/Components/Icons/16x16/InsightsSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Interaction.tsx +4 -4
- package/src/Components/Icons/16x16/Invoice.tsx +3 -3
- package/src/Components/Icons/16x16/Ionic.tsx +3 -3
- package/src/Components/Icons/16x16/Japanese.tsx +3 -3
- package/src/Components/Icons/16x16/Key.tsx +3 -3
- package/src/Components/Icons/16x16/Laptop.tsx +3 -3
- package/src/Components/Icons/16x16/LaunchDarkly.tsx +1 -1
- package/src/Components/Icons/16x16/Lightbulb.tsx +3 -3
- package/src/Components/Icons/16x16/Link.tsx +2 -2
- package/src/Components/Icons/16x16/Lock.tsx +3 -3
- package/src/Components/Icons/16x16/LockOpen.tsx +2 -2
- package/src/Components/Icons/16x16/Login.tsx +3 -3
- package/src/Components/Icons/16x16/Logout.tsx +3 -3
- package/src/Components/Icons/16x16/Macos.tsx +3 -3
- package/src/Components/Icons/16x16/Magnifier.tsx +3 -3
- package/src/Components/Icons/16x16/Mail.tsx +3 -3
- package/src/Components/Icons/16x16/MenuGrid.tsx +3 -3
- package/src/Components/Icons/16x16/MenuHamburger.tsx +3 -3
- package/src/Components/Icons/16x16/Message.tsx +3 -3
- package/src/Components/Icons/16x16/MinusClose.tsx +2 -2
- package/src/Components/Icons/16x16/MinusRemove.tsx +3 -3
- package/src/Components/Icons/16x16/Mobile.tsx +3 -3
- package/src/Components/Icons/16x16/MonitorChart.tsx +2 -2
- package/src/Components/Icons/16x16/MoreHorizontal.tsx +3 -3
- package/src/Components/Icons/16x16/MoreVertical.tsx +3 -3
- package/src/Components/Icons/16x16/News.tsx +4 -4
- package/src/Components/Icons/16x16/NoTie.tsx +3 -3
- package/src/Components/Icons/16x16/Nodejs.tsx +3 -3
- package/src/Components/Icons/16x16/Numero.tsx +3 -3
- package/src/Components/Icons/16x16/OpenInBrowser.tsx +3 -3
- package/src/Components/Icons/16x16/Other.tsx +5 -5
- package/src/Components/Icons/16x16/OverflowingLines.tsx +3 -3
- package/src/Components/Icons/16x16/Overview.tsx +3 -3
- package/src/Components/Icons/16x16/Owner.tsx +4 -4
- package/src/Components/Icons/16x16/Pause.tsx +3 -3
- package/src/Components/Icons/16x16/Pencil.tsx +5 -5
- package/src/Components/Icons/16x16/Percent.tsx +3 -3
- package/src/Components/Icons/16x16/Person.tsx +3 -3
- package/src/Components/Icons/16x16/Play.tsx +3 -3
- package/src/Components/Icons/16x16/PlusAdd.tsx +3 -3
- package/src/Components/Icons/16x16/PlusOpen.tsx +3 -3
- package/src/Components/Icons/16x16/Podcast.tsx +4 -4
- package/src/Components/Icons/16x16/Power.tsx +3 -3
- package/src/Components/Icons/16x16/ProgressEggplant.tsx +5 -5
- package/src/Components/Icons/16x16/ProgressViolet.tsx +5 -5
- package/src/Components/Icons/16x16/ProgressWhite.tsx +5 -5
- package/src/Components/Icons/16x16/Pull.tsx +3 -3
- package/src/Components/Icons/16x16/Push.tsx +3 -3
- package/src/Components/Icons/16x16/ReactIcon.tsx +3 -3
- package/src/Components/Icons/16x16/Refresh.tsx +2 -2
- package/src/Components/Icons/16x16/Release.tsx +2 -2
- package/src/Components/Icons/16x16/ReleaseSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Replace.tsx +2 -2
- package/src/Components/Icons/16x16/Request.tsx +2 -2
- package/src/Components/Icons/16x16/Responsiveness.tsx +3 -3
- package/src/Components/Icons/16x16/Save.tsx +4 -4
- package/src/Components/Icons/16x16/Screenshare.tsx +4 -4
- package/src/Components/Icons/16x16/SecurityShield.tsx +3 -3
- package/src/Components/Icons/16x16/Settings.tsx +3 -3
- package/src/Components/Icons/16x16/SettingsSolid.tsx +2 -2
- package/src/Components/Icons/16x16/Ship.tsx +4 -4
- package/src/Components/Icons/16x16/ShowPassword.tsx +4 -4
- package/src/Components/Icons/16x16/Shuffle.tsx +3 -3
- package/src/Components/Icons/16x16/Siren.tsx +1 -1
- package/src/Components/Icons/16x16/Sort.tsx +2 -2
- package/src/Components/Icons/16x16/SortArrows.tsx +2 -2
- package/src/Components/Icons/16x16/Stability.tsx +4 -4
- package/src/Components/Icons/16x16/Stack.tsx +3 -3
- package/src/Components/Icons/16x16/StageCurrent.tsx +2 -2
- package/src/Components/Icons/16x16/StageIncomplete.tsx +2 -2
- package/src/Components/Icons/16x16/Star.tsx +3 -3
- package/src/Components/Icons/16x16/Status.tsx +5 -5
- package/src/Components/Icons/16x16/StepUpgrade.tsx +3 -3
- package/src/Components/Icons/16x16/StepVersionOk.tsx +3 -3
- package/src/Components/Icons/16x16/Steps.tsx +3 -3
- package/src/Components/Icons/16x16/StepsTuorqouise.tsx +7 -7
- package/src/Components/Icons/16x16/StepsViolet.tsx +7 -7
- package/src/Components/Icons/16x16/StepsWhite.tsx +7 -7
- package/src/Components/Icons/16x16/StepstatusSkip.tsx +5 -5
- package/src/Components/Icons/16x16/StepstatusWarning.tsx +4 -4
- package/src/Components/Icons/16x16/Stopwatch.tsx +5 -5
- package/src/Components/Icons/16x16/Support.tsx +3 -3
- package/src/Components/Icons/16x16/Swag.tsx +2 -2
- package/src/Components/Icons/16x16/Tag.tsx +4 -4
- package/src/Components/Icons/16x16/TestFailed.tsx +4 -4
- package/src/Components/Icons/16x16/TestInconclusive.tsx +4 -4
- package/src/Components/Icons/16x16/TestInfo.tsx +4 -4
- package/src/Components/Icons/16x16/TestInprogress.tsx +3 -3
- package/src/Components/Icons/16x16/TestSkipped.tsx +5 -5
- package/src/Components/Icons/16x16/TestSuccess.tsx +4 -4
- package/src/Components/Icons/16x16/TestWarning.tsx +4 -4
- package/src/Components/Icons/16x16/Testing.tsx +4 -4
- package/src/Components/Icons/16x16/Tick.tsx +3 -3
- package/src/Components/Icons/16x16/Time.tsx +3 -3
- package/src/Components/Icons/16x16/Tools.tsx +3 -3
- package/src/Components/Icons/16x16/Trace.tsx +2 -2
- package/src/Components/Icons/16x16/Trash.tsx +3 -3
- package/src/Components/Icons/16x16/Trigger.tsx +3 -3
- package/src/Components/Icons/16x16/Twitter.tsx +3 -3
- package/src/Components/Icons/16x16/Upload.tsx +1 -1
- package/src/Components/Icons/16x16/ValidateShield.tsx +3 -3
- package/src/Components/Icons/16x16/Video.tsx +5 -5
- package/src/Components/Icons/16x16/Warning.tsx +3 -3
- package/src/Components/Icons/16x16/WarningColored.tsx +2 -2
- package/src/Components/Icons/16x16/WebUi.tsx +5 -5
- package/src/Components/Icons/16x16/Webhooks.tsx +4 -4
- package/src/Components/Icons/16x16/Webinar.tsx +3 -3
- package/src/Components/Icons/16x16/Window.tsx +4 -4
- package/src/Components/Icons/16x16/Workflow.tsx +3 -3
- package/src/Components/Icons/16x16/WorkflowFlow.tsx +3 -3
- package/src/Components/Icons/16x16/Wow.tsx +3 -3
- package/src/Components/Icons/16x16/WrappedLines.tsx +3 -3
- package/src/Components/Icons/16x16/Xamarin.tsx +4 -4
- package/src/Components/Icons/24x24/Addons.tsx +2 -2
- package/src/Components/Icons/24x24/AddonsTuorqouise.tsx +6 -6
- package/src/Components/Icons/24x24/AddonsViolet.tsx +6 -6
- package/src/Components/Icons/24x24/AddonsWhite.tsx +6 -6
- package/src/Components/Icons/24x24/Agent.tsx +3 -3
- package/src/Components/Icons/24x24/Anchor.tsx +2 -2
- package/src/Components/Icons/24x24/Android.tsx +2 -2
- package/src/Components/Icons/24x24/App.tsx +2 -2
- package/src/Components/Icons/24x24/Apple.tsx +2 -2
- package/src/Components/Icons/24x24/AppleFill.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowDown.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveDown.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowMoveLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveRight.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowMoveUp.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowQuit.tsx +1 -1
- package/src/Components/Icons/24x24/ArrowRight.tsx +2 -2
- package/src/Components/Icons/24x24/ArrowUp.tsx +2 -2
- package/src/Components/Icons/24x24/Badge3rdParty.tsx +2 -2
- package/src/Components/Icons/24x24/BadgeBitrise.tsx +2 -2
- package/src/Components/Icons/24x24/Bazel.tsx +8 -8
- package/src/Components/Icons/24x24/Bell.tsx +2 -2
- package/src/Components/Icons/24x24/Bitbot.tsx +2 -2
- package/src/Components/Icons/24x24/BitbotError.tsx +2 -2
- package/src/Components/Icons/24x24/BitbucketBlue.tsx +3 -3
- package/src/Components/Icons/24x24/BitbucketPlain.tsx +2 -2
- package/src/Components/Icons/24x24/BitbucketShadedWhite.tsx +9 -9
- package/src/Components/Icons/24x24/Book.tsx +2 -2
- package/src/Components/Icons/24x24/BoxWithArrowDown.tsx +2 -2
- package/src/Components/Icons/24x24/BoxWithDot.tsx +2 -2
- package/src/Components/Icons/24x24/Branch.tsx +3 -3
- package/src/Components/Icons/24x24/Bug.tsx +2 -2
- package/src/Components/Icons/24x24/Build.tsx +2 -2
- package/src/Components/Icons/24x24/BuildCache.tsx +2 -2
- package/src/Components/Icons/24x24/BuildCacheSolid.tsx +3 -3
- package/src/Components/Icons/24x24/BuildTest.tsx +2 -2
- package/src/Components/Icons/24x24/BuildTestSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusAborted.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusAbortedSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusFailed.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusFailedSolid.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusLoading.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusLoadingAnimated.tsx +11 -11
- package/src/Components/Icons/24x24/BuildstatusNeverbuilt.tsx +2 -2
- package/src/Components/Icons/24x24/BuildstatusProgressEggplant.tsx +6 -6
- package/src/Components/Icons/24x24/BuildstatusProgressWhite.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusSuccessful.tsx +3 -3
- package/src/Components/Icons/24x24/BuildstatusSuccessfulSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Bulletpoint.tsx +2 -2
- package/src/Components/Icons/24x24/Cache.tsx +2 -2
- package/src/Components/Icons/24x24/Calendar.tsx +2 -2
- package/src/Components/Icons/24x24/ChangePlan.tsx +1 -1
- package/src/Components/Icons/24x24/Chat.tsx +2 -2
- package/src/Components/Icons/24x24/ChatMessage.tsx +2 -2
- package/src/Components/Icons/24x24/CheckCircle.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronDown.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronLeft.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronRight.tsx +2 -2
- package/src/Components/Icons/24x24/ChevronUp.tsx +2 -2
- package/src/Components/Icons/24x24/Clock.tsx +2 -2
- package/src/Components/Icons/24x24/CloseSmall.tsx +2 -2
- package/src/Components/Icons/24x24/Code.tsx +1 -1
- package/src/Components/Icons/24x24/CodeSigning.tsx +2 -2
- package/src/Components/Icons/24x24/Coffee.tsx +2 -2
- package/src/Components/Icons/24x24/Commit.tsx +2 -2
- package/src/Components/Icons/24x24/Conference.tsx +2 -2
- package/src/Components/Icons/24x24/ConnectedAccounts.tsx +2 -2
- package/src/Components/Icons/24x24/Cordova.tsx +2 -2
- package/src/Components/Icons/24x24/Cpu.tsx +2 -2
- package/src/Components/Icons/24x24/Creditcard.tsx +2 -2
- package/src/Components/Icons/24x24/Credits.tsx +3 -3
- package/src/Components/Icons/24x24/Cycle.tsx +2 -2
- package/src/Components/Icons/24x24/DeleteNope.tsx +2 -2
- package/src/Components/Icons/24x24/Deployment.tsx +2 -2
- package/src/Components/Icons/24x24/Details.tsx +2 -2
- package/src/Components/Icons/24x24/Doc.tsx +2 -2
- package/src/Components/Icons/24x24/Dollars.tsx +2 -2
- package/src/Components/Icons/24x24/Download.tsx +2 -2
- package/src/Components/Icons/24x24/DropdownArrows.tsx +2 -2
- package/src/Components/Icons/24x24/Dudes.tsx +2 -2
- package/src/Components/Icons/24x24/Duplicate.tsx +2 -2
- package/src/Components/Icons/24x24/Enterprise.tsx +2 -2
- package/src/Components/Icons/24x24/ErrorGeneral.tsx +2 -2
- package/src/Components/Icons/24x24/Expand.tsx +1 -1
- package/src/Components/Icons/24x24/Fastlane.tsx +2 -2
- package/src/Components/Icons/24x24/FileDoc.tsx +2 -2
- package/src/Components/Icons/24x24/FilePdf.tsx +2 -2
- package/src/Components/Icons/24x24/FilePlist.tsx +2 -2
- package/src/Components/Icons/24x24/FileZip.tsx +2 -2
- package/src/Components/Icons/24x24/Filter.tsx +1 -1
- package/src/Components/Icons/24x24/Flag.tsx +2 -2
- package/src/Components/Icons/24x24/Flutter.tsx +1 -1
- package/src/Components/Icons/24x24/Folder.tsx +2 -2
- package/src/Components/Icons/24x24/Fullscreen.tsx +1 -1
- package/src/Components/Icons/24x24/FullscreenExit.tsx +1 -1
- package/src/Components/Icons/24x24/Gauge.tsx +2 -2
- package/src/Components/Icons/24x24/Github.tsx +2 -2
- package/src/Components/Icons/24x24/GitlabColor.tsx +1 -1
- package/src/Components/Icons/24x24/GitlabPlain.tsx +2 -2
- package/src/Components/Icons/24x24/GitlabShadedWhite.tsx +7 -7
- package/src/Components/Icons/24x24/Globe.tsx +2 -2
- package/src/Components/Icons/24x24/Go.tsx +4 -4
- package/src/Components/Icons/24x24/GoogleColor.tsx +6 -6
- package/src/Components/Icons/24x24/Gradle.tsx +3 -3
- package/src/Components/Icons/24x24/Group.tsx +2 -2
- package/src/Components/Icons/24x24/Heart.tsx +2 -2
- package/src/Components/Icons/24x24/HidePassword.tsx +2 -2
- package/src/Components/Icons/24x24/History.tsx +2 -2
- package/src/Components/Icons/24x24/Image.tsx +2 -2
- package/src/Components/Icons/24x24/Info.tsx +2 -2
- package/src/Components/Icons/24x24/Insights.tsx +2 -2
- package/src/Components/Icons/24x24/InsightsSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Interaction.tsx +2 -2
- package/src/Components/Icons/24x24/Invoice.tsx +2 -2
- package/src/Components/Icons/24x24/Ionic.tsx +2 -2
- package/src/Components/Icons/24x24/Japanese.tsx +2 -2
- package/src/Components/Icons/24x24/Key.tsx +2 -2
- package/src/Components/Icons/24x24/Laptop.tsx +2 -2
- package/src/Components/Icons/24x24/LaunchDarkly.tsx +1 -1
- package/src/Components/Icons/24x24/Lightbulb.tsx +2 -2
- package/src/Components/Icons/24x24/Link.tsx +1 -1
- package/src/Components/Icons/24x24/Lock.tsx +2 -2
- package/src/Components/Icons/24x24/LockOpen.tsx +2 -2
- package/src/Components/Icons/24x24/Login.tsx +2 -2
- package/src/Components/Icons/24x24/Logout.tsx +2 -2
- package/src/Components/Icons/24x24/Macos.tsx +2 -2
- package/src/Components/Icons/24x24/Magnifier.tsx +2 -2
- package/src/Components/Icons/24x24/Mail.tsx +2 -2
- package/src/Components/Icons/24x24/MenuGrid.tsx +2 -2
- package/src/Components/Icons/24x24/MenuHamburger.tsx +2 -2
- package/src/Components/Icons/24x24/Message.tsx +2 -2
- package/src/Components/Icons/24x24/MinusClose.tsx +2 -2
- package/src/Components/Icons/24x24/MinusRemove.tsx +2 -2
- package/src/Components/Icons/24x24/Mobile.tsx +2 -2
- package/src/Components/Icons/24x24/MonitorChart.tsx +2 -2
- package/src/Components/Icons/24x24/MoreHorizontal.tsx +2 -2
- package/src/Components/Icons/24x24/MoreVertical.tsx +2 -2
- package/src/Components/Icons/24x24/News.tsx +2 -2
- package/src/Components/Icons/24x24/NoTie.tsx +2 -2
- package/src/Components/Icons/24x24/Nodejs.tsx +2 -2
- package/src/Components/Icons/24x24/Numero.tsx +2 -2
- package/src/Components/Icons/24x24/OpenInBrowser.tsx +2 -2
- package/src/Components/Icons/24x24/Other.tsx +3 -3
- package/src/Components/Icons/24x24/OverflowingLines.tsx +3 -3
- package/src/Components/Icons/24x24/Overview.tsx +2 -2
- package/src/Components/Icons/24x24/Owner.tsx +2 -2
- package/src/Components/Icons/24x24/Pause.tsx +2 -2
- package/src/Components/Icons/24x24/Pencil.tsx +2 -2
- package/src/Components/Icons/24x24/Percent.tsx +2 -2
- package/src/Components/Icons/24x24/Person.tsx +2 -2
- package/src/Components/Icons/24x24/Play.tsx +2 -2
- package/src/Components/Icons/24x24/PlusAdd.tsx +2 -2
- package/src/Components/Icons/24x24/PlusOpen.tsx +2 -2
- package/src/Components/Icons/24x24/Podcast.tsx +2 -2
- package/src/Components/Icons/24x24/Power.tsx +1 -1
- package/src/Components/Icons/24x24/ProgressEggplant.tsx +5 -5
- package/src/Components/Icons/24x24/ProgressViolet.tsx +5 -5
- package/src/Components/Icons/24x24/ProgressWhite.tsx +5 -5
- package/src/Components/Icons/24x24/Pull.tsx +2 -2
- package/src/Components/Icons/24x24/Push.tsx +3 -3
- package/src/Components/Icons/24x24/ReactIcon.tsx +2 -2
- package/src/Components/Icons/24x24/Refresh.tsx +1 -1
- package/src/Components/Icons/24x24/Release.tsx +2 -2
- package/src/Components/Icons/24x24/ReleaseSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Replace.tsx +2 -2
- package/src/Components/Icons/24x24/Request.tsx +1 -1
- package/src/Components/Icons/24x24/Responsiveness.tsx +1 -1
- package/src/Components/Icons/24x24/Save.tsx +2 -2
- package/src/Components/Icons/24x24/Screenshare.tsx +2 -2
- package/src/Components/Icons/24x24/SecurityShield.tsx +2 -2
- package/src/Components/Icons/24x24/Settings.tsx +2 -2
- package/src/Components/Icons/24x24/SettingsSolid.tsx +2 -2
- package/src/Components/Icons/24x24/Ship.tsx +2 -2
- package/src/Components/Icons/24x24/ShowPassword.tsx +2 -2
- package/src/Components/Icons/24x24/Shuffle.tsx +2 -2
- package/src/Components/Icons/24x24/Siren.tsx +1 -1
- package/src/Components/Icons/24x24/Sort.tsx +2 -2
- package/src/Components/Icons/24x24/SortArrows.tsx +2 -2
- package/src/Components/Icons/24x24/Stability.tsx +2 -2
- package/src/Components/Icons/24x24/Stack.tsx +2 -2
- package/src/Components/Icons/24x24/StageCurrent.tsx +2 -2
- package/src/Components/Icons/24x24/StageIncomplete.tsx +2 -2
- package/src/Components/Icons/24x24/Star.tsx +2 -2
- package/src/Components/Icons/24x24/Status.tsx +3 -3
- package/src/Components/Icons/24x24/StepUpgrade.tsx +2 -2
- package/src/Components/Icons/24x24/StepVersionOk.tsx +2 -2
- package/src/Components/Icons/24x24/Steps.tsx +2 -2
- package/src/Components/Icons/24x24/StepsTuorqouise.tsx +6 -6
- package/src/Components/Icons/24x24/StepsViolet.tsx +6 -6
- package/src/Components/Icons/24x24/StepsWhite.tsx +6 -6
- package/src/Components/Icons/24x24/StepstatusSkip.tsx +2 -2
- package/src/Components/Icons/24x24/StepstatusWarning.tsx +2 -2
- package/src/Components/Icons/24x24/Stopwatch.tsx +2 -2
- package/src/Components/Icons/24x24/Support.tsx +2 -2
- package/src/Components/Icons/24x24/Swag.tsx +1 -1
- package/src/Components/Icons/24x24/Tag.tsx +2 -2
- package/src/Components/Icons/24x24/TestFailed.tsx +2 -2
- package/src/Components/Icons/24x24/TestInconclusive.tsx +2 -2
- package/src/Components/Icons/24x24/TestInfo.tsx +2 -2
- package/src/Components/Icons/24x24/TestInprogress.tsx +2 -2
- package/src/Components/Icons/24x24/TestSkipped.tsx +2 -2
- package/src/Components/Icons/24x24/TestSuccess.tsx +2 -2
- package/src/Components/Icons/24x24/TestWarning.tsx +2 -2
- package/src/Components/Icons/24x24/Testing.tsx +2 -2
- package/src/Components/Icons/24x24/Tick.tsx +2 -2
- package/src/Components/Icons/24x24/Time.tsx +2 -2
- package/src/Components/Icons/24x24/Tools.tsx +1 -1
- package/src/Components/Icons/24x24/Trace.tsx +1 -1
- package/src/Components/Icons/24x24/Trash.tsx +2 -2
- package/src/Components/Icons/24x24/Trigger.tsx +2 -2
- package/src/Components/Icons/24x24/Twitter.tsx +2 -2
- package/src/Components/Icons/24x24/Upload.tsx +1 -1
- package/src/Components/Icons/24x24/ValidateShield.tsx +2 -2
- package/src/Components/Icons/24x24/Video.tsx +3 -3
- package/src/Components/Icons/24x24/Warning.tsx +2 -2
- package/src/Components/Icons/24x24/WarningColored.tsx +2 -2
- package/src/Components/Icons/24x24/WebUi.tsx +2 -2
- package/src/Components/Icons/24x24/Webhooks.tsx +1 -1
- package/src/Components/Icons/24x24/Webinar.tsx +2 -2
- package/src/Components/Icons/24x24/Window.tsx +2 -2
- package/src/Components/Icons/24x24/Workflow.tsx +2 -2
- package/src/Components/Icons/24x24/WorkflowFlow.tsx +2 -2
- package/src/Components/Icons/24x24/Wow.tsx +2 -2
- package/src/Components/Icons/24x24/WrappedLines.tsx +3 -3
- package/src/Components/Icons/24x24/Xamarin.tsx +2 -2
- package/src/Components/Image/Image.tsx +1 -1
- package/src/Components/LightBox/LightBox.tsx +3 -3
- package/src/Components/Link/Link.theme.ts +4 -4
- package/src/Components/Link/Link.tsx +1 -1
- package/src/Components/LinkBox/LinkBox.tsx +1 -1
- package/src/Components/LinkOverlay/LinkOverlay.tsx +1 -1
- package/src/Components/List/List.theme.ts +1 -1
- package/src/Components/List/List.tsx +1 -1
- package/src/Components/List/ListItem.tsx +1 -1
- package/src/Components/Menu/Menu.theme.ts +27 -27
- package/src/Components/Menu/MenuButton.tsx +1 -1
- package/src/Components/Menu/MenuItem.tsx +6 -6
- package/src/Components/Menu/MenuList.tsx +1 -1
- package/src/Components/Note/Note.theme.ts +47 -47
- package/src/Components/Note/Note.tsx +3 -3
- package/src/Components/Note/NoteMarkdownContent.tsx +17 -17
- package/src/Components/Notification/Notification.tsx +10 -10
- package/src/Components/NumberInput/NumberInput.theme.ts +14 -14
- package/src/Components/Popover/Popover.theme.ts +3 -3
- package/src/Components/Popover/Popover.tsx +1 -1
- package/src/Components/Popover/PopoverArrow.tsx +1 -1
- package/src/Components/ProgressBitbot/ProgressBitbot.tsx +2 -2
- package/src/Components/ProgressIndicator/ProgressIndicator.theme.ts +24 -24
- package/src/Components/ProgressIndicator/ProgressIndicator.tsx +13 -13
- package/src/Components/ProgressSpinner/ProgressSpinner.tsx +2 -2
- package/src/Components/Provider/Provider.tsx +1 -1
- package/src/Components/Ribbon/Ribbon.tsx +10 -10
- package/src/Components/SearchInput/SearchInput.tsx +2 -2
- package/src/Components/SegmentedControl/SegmentedControl.theme.ts +26 -26
- package/src/Components/SegmentedControl/SegmentedControl.tsx +3 -3
- package/src/Components/SegmentedControl/SegmentedControlItem.tsx +1 -1
- package/src/Components/Select/Select.theme.ts +20 -20
- package/src/Components/Select/Select.tsx +7 -7
- package/src/Components/Sidebar/Sidebar.tsx +6 -6
- package/src/Components/Sidebar/SidebarItem.theme.ts +30 -30
- package/src/Components/Sidebar/SidebarItem.tsx +11 -11
- package/src/Components/Skeleton/Skeleton.theme.ts +9 -9
- package/src/Components/Skeleton/Skeleton.tsx +3 -3
- package/src/Components/Slider/Slider.theme.ts +27 -27
- package/src/Components/Table/CheckableRow.tsx +3 -3
- package/src/Components/Table/SelectableRow.tsx +3 -3
- package/src/Components/Table/Table.theme.ts +63 -61
- package/src/Components/Table/Table.tsx +2 -2
- package/src/Components/Table/TableCaption.tsx +2 -2
- package/src/Components/Table/TableContainer.tsx +1 -1
- package/src/Components/Table/TableIconButton.tsx +5 -5
- package/src/Components/Table/TablePagination.tsx +16 -16
- package/src/Components/Table/Tbody.tsx +1 -1
- package/src/Components/Table/Td.tsx +1 -1
- package/src/Components/Table/Th.tsx +4 -4
- package/src/Components/Table/Thead.tsx +1 -1
- package/src/Components/Table/Tr.tsx +6 -6
- package/src/Components/Tabs/ContainedTab.tsx +1 -1
- package/src/Components/Tabs/Tab.tsx +1 -1
- package/src/Components/Tabs/TabList.tsx +1 -1
- package/src/Components/Tabs/TabPanel.tsx +1 -1
- package/src/Components/Tabs/TabPanels.tsx +1 -1
- package/src/Components/Tabs/Tabs.theme.ts +56 -56
- package/src/Components/Tabs/Tabs.tsx +2 -2
- package/src/Components/Tag/Tag.theme.ts +41 -41
- package/src/Components/Tag/Tag.tsx +2 -2
- package/src/Components/Text/Text.tsx +2 -2
- package/src/Components/Toast/Toast.tsx +4 -4
- package/src/Components/Toggle/Toggle.theme.ts +57 -57
- package/src/Components/Toggle/Toggle.tsx +2 -2
- package/src/Components/Toggletip/Toggletip.theme.ts +2 -2
- package/src/Components/Toggletip/Toggletip.tsx +3 -3
- package/src/Components/Tooltip/Tooltip.theme.ts +2 -2
- package/src/Components/Tooltip/Tooltip.tsx +5 -5
- package/src/Foundations/Breakpoints/Breakpoints.ts +1 -1
- package/src/Foundations/Colors/Colors.tsx +2 -2
- package/src/Foundations/Colors/CommonTokens.tsx +2 -2
- package/src/Foundations/Colors/SystemTokens.tsx +2 -2
- package/src/Foundations/Icons/figmaIcons.ts +239 -239
- package/src/Foundations/Shadows/Shadows.ts +5 -5
- package/src/Foundations/Themes/Alert.theme.ts +12 -12
- package/src/Foundations/Typography/Typography.ts +2 -2
- package/src/Foundations/Zindex/Zindex.ts +5 -5
- package/src/Foundations/docComponents/TokenTable.tsx +1 -1
- package/src/hooks/useResponsive.ts +1 -1
- package/src/index.ts +3 -0
- package/src/theme.ts +54 -54
- package/src/tokens/tokens.ts +4 -4
- package/src/utils/utils.ts +1 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
2
2
|
|
|
3
3
|
const EmptyStateTheme: ComponentStyleConfig = {
|
|
4
|
-
parts: ['box', 'title', 'description'],
|
|
5
4
|
baseStyle: ({ maxContentWidth }) => ({
|
|
6
5
|
box: {
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
backgroundColor: 'neutral.95',
|
|
8
|
+
borderRadius: '4',
|
|
9
|
+
color: 'text.secondary',
|
|
7
10
|
display: 'flex',
|
|
8
11
|
flexDirection: 'column',
|
|
9
|
-
alignItems: 'center',
|
|
10
12
|
justifyContent: 'center',
|
|
11
13
|
paddingX: '16',
|
|
12
14
|
paddingY: {
|
|
13
15
|
base: '32',
|
|
14
16
|
desktop: '48',
|
|
15
17
|
},
|
|
16
|
-
backgroundColor: 'neutral.95',
|
|
17
|
-
borderRadius: '4',
|
|
18
|
-
color: 'text.secondary',
|
|
19
18
|
textAlign: 'center',
|
|
20
19
|
},
|
|
21
|
-
|
|
20
|
+
description: {
|
|
21
|
+
'+ *': {
|
|
22
|
+
marginTop: '16',
|
|
23
|
+
},
|
|
22
24
|
marginTop: '8',
|
|
23
|
-
fontWeight: 'bold',
|
|
24
25
|
maxWidth: maxContentWidth || '35rem',
|
|
25
26
|
},
|
|
26
|
-
|
|
27
|
+
title: {
|
|
28
|
+
fontWeight: 'bold',
|
|
27
29
|
marginTop: '8',
|
|
28
30
|
maxWidth: maxContentWidth || '35rem',
|
|
29
|
-
'+ *': {
|
|
30
|
-
marginTop: '16',
|
|
31
|
-
},
|
|
32
31
|
},
|
|
33
32
|
}),
|
|
33
|
+
parts: ['box', 'title', 'description'],
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
export default EmptyStateTheme;
|
|
@@ -5,24 +5,24 @@ const { defineMultiStyleConfig } = createMultiStyleConfigHelpers(['button', 'che
|
|
|
5
5
|
const ExpandableCardTheme = defineMultiStyleConfig({
|
|
6
6
|
baseStyle: ({ isOpen }) => ({
|
|
7
7
|
button: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
_active: {
|
|
9
|
+
backgroundColor: 'neutral.90',
|
|
10
|
+
},
|
|
11
|
+
_hover: {
|
|
12
|
+
backgroundColor: 'neutral.93',
|
|
13
|
+
},
|
|
13
14
|
alignItems: 'center',
|
|
14
|
-
justifyContent: 'space-between',
|
|
15
|
-
width: '100%',
|
|
16
|
-
cursor: 'pointer',
|
|
17
15
|
backgroundColor: isOpen ? 'neutral.95' : 'neutral.100',
|
|
18
16
|
borderBottom: isOpen ? '1px solid' : undefined,
|
|
19
17
|
borderBottomColor: isOpen ? 'neutral.90' : undefined,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
borderBottomEndRadius: isOpen ? undefined : '8',
|
|
19
|
+
borderBottomStartRadius: isOpen ? undefined : '8',
|
|
20
|
+
borderTopEndRadius: '8',
|
|
21
|
+
borderTopStartRadius: '8',
|
|
22
|
+
cursor: 'pointer',
|
|
23
|
+
display: 'flex',
|
|
24
|
+
justifyContent: 'space-between',
|
|
25
|
+
width: '100%',
|
|
26
26
|
},
|
|
27
27
|
chevron: {
|
|
28
28
|
transform: isOpen ? 'rotate(-180deg)' : undefined,
|
|
@@ -21,10 +21,10 @@ const ExpandableCard = forwardRef<ExpandableCardProps, 'div'>((props, ref) => {
|
|
|
21
21
|
const style = useMultiStyleConfig('ExpandableCard', { isOpen });
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
|
-
<Card
|
|
25
|
-
<Box as="button" onClick={onToggle} padding={padding}
|
|
24
|
+
<Card sx={style.box} variant="outline" {...rest} ref={ref}>
|
|
25
|
+
<Box __css={style.button} as="button" onClick={onToggle} padding={padding} role="group" type="button">
|
|
26
26
|
{buttonContent}
|
|
27
|
-
<Icon
|
|
27
|
+
<Icon __css={style.chevron} name="ChevronDown" />
|
|
28
28
|
</Box>
|
|
29
29
|
<Collapse in={isOpen} style={{ overflow: 'unset' }}>
|
|
30
30
|
<Box padding={padding}>{children}</Box>
|
|
@@ -6,6 +6,42 @@ export const FILTER_STORY_OPTIONS: FilterOptions =
|
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
export const FILTER_STORY_DATA: FilterData = {
|
|
9
|
+
app: {
|
|
10
|
+
categoryName: 'App',
|
|
11
|
+
iconsMap: {
|
|
12
|
+
'0a248b278e135ea7': 'Other',
|
|
13
|
+
'32b14416be4b7b24': 'Android',
|
|
14
|
+
'46b6b9a78a418ee8': 'AppleFill',
|
|
15
|
+
},
|
|
16
|
+
options: ['46b6b9a78a418ee8', '32b14416be4b7b24', '0a248b278e135ea7'],
|
|
17
|
+
optionsMap: {
|
|
18
|
+
'0a248b278e135ea7': 'pipeline-service',
|
|
19
|
+
'32b14416be4b7b24': 'bitkit',
|
|
20
|
+
'46b6b9a78a418ee8': 'bitrise-website',
|
|
21
|
+
},
|
|
22
|
+
type: 'select',
|
|
23
|
+
},
|
|
24
|
+
branch: {
|
|
25
|
+
options: [
|
|
26
|
+
'BIVS-2231-create-rename-to-utilisation-views',
|
|
27
|
+
'revert-11937-revert-11884-RA-2060-release-manager-role',
|
|
28
|
+
'master',
|
|
29
|
+
'CI-2264-consolidate-other-provider-type-to-custom',
|
|
30
|
+
],
|
|
31
|
+
type: 'tag',
|
|
32
|
+
},
|
|
33
|
+
cache_type: {
|
|
34
|
+
iconsMap: {
|
|
35
|
+
bazel: 'Bazel',
|
|
36
|
+
gradle: 'Gradle',
|
|
37
|
+
},
|
|
38
|
+
options: ['gradle', 'bazel'],
|
|
39
|
+
optionsMap: {
|
|
40
|
+
bazel: 'Bazel',
|
|
41
|
+
gradle: 'Gradle',
|
|
42
|
+
},
|
|
43
|
+
type: 'switch',
|
|
44
|
+
},
|
|
9
45
|
date_range: {
|
|
10
46
|
categoryName: 'Date',
|
|
11
47
|
categoryNamePlural: 'dates',
|
|
@@ -20,40 +56,10 @@ export const FILTER_STORY_DATA: FilterData = {
|
|
|
20
56
|
stage: {
|
|
21
57
|
categoryName: 'Stage',
|
|
22
58
|
categoryNamePlural: 'Stages',
|
|
23
|
-
options: FILTER_STORY_OPTIONS,
|
|
24
59
|
dependsOn: { pipeline: 'Select a pipeline first' },
|
|
25
|
-
type: 'tag',
|
|
26
|
-
},
|
|
27
|
-
workflow: {
|
|
28
|
-
categoryName: 'Workflow',
|
|
29
|
-
isMultiple: true,
|
|
30
60
|
options: FILTER_STORY_OPTIONS,
|
|
31
61
|
type: 'tag',
|
|
32
62
|
},
|
|
33
|
-
branch: {
|
|
34
|
-
options: [
|
|
35
|
-
'BIVS-2231-create-rename-to-utilisation-views',
|
|
36
|
-
'revert-11937-revert-11884-RA-2060-release-manager-role',
|
|
37
|
-
'master',
|
|
38
|
-
'CI-2264-consolidate-other-provider-type-to-custom',
|
|
39
|
-
],
|
|
40
|
-
type: 'tag',
|
|
41
|
-
},
|
|
42
|
-
app: {
|
|
43
|
-
categoryName: 'App',
|
|
44
|
-
iconsMap: {
|
|
45
|
-
'46b6b9a78a418ee8': 'AppleFill',
|
|
46
|
-
'32b14416be4b7b24': 'Android',
|
|
47
|
-
'0a248b278e135ea7': 'Other',
|
|
48
|
-
},
|
|
49
|
-
options: ['46b6b9a78a418ee8', '32b14416be4b7b24', '0a248b278e135ea7'],
|
|
50
|
-
optionsMap: {
|
|
51
|
-
'46b6b9a78a418ee8': 'bitrise-website',
|
|
52
|
-
'32b14416be4b7b24': 'bitkit',
|
|
53
|
-
'0a248b278e135ea7': 'pipeline-service',
|
|
54
|
-
},
|
|
55
|
-
type: 'select',
|
|
56
|
-
},
|
|
57
63
|
test_case: {
|
|
58
64
|
categoryName: 'Test case',
|
|
59
65
|
onAsyncSearch: (category, q) => {
|
|
@@ -67,30 +73,24 @@ export const FILTER_STORY_DATA: FilterData = {
|
|
|
67
73
|
options: ['default 1', 'default 2', 'default 3'],
|
|
68
74
|
type: 'tag',
|
|
69
75
|
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
options: ['gradle', 'bazel'],
|
|
76
|
-
optionsMap: {
|
|
77
|
-
bazel: 'Bazel',
|
|
78
|
-
gradle: 'Gradle',
|
|
79
|
-
},
|
|
80
|
-
type: 'switch',
|
|
76
|
+
workflow: {
|
|
77
|
+
categoryName: 'Workflow',
|
|
78
|
+
isMultiple: true,
|
|
79
|
+
options: FILTER_STORY_OPTIONS,
|
|
80
|
+
type: 'tag',
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
export const FILTER_STORY_INIT_STATE: FilterState = {
|
|
85
|
-
pipeline: ['ipsum'],
|
|
86
85
|
app: ['46b6b9a78a418ee8'],
|
|
87
86
|
cache_type: ['gradle'],
|
|
87
|
+
pipeline: ['ipsum'],
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
export const FILTER_STORY_CONTEXT: FilterContextType = {
|
|
91
91
|
data: FILTER_STORY_DATA,
|
|
92
|
-
setPopoverOpen: () => {},
|
|
93
|
-
state: FILTER_STORY_INIT_STATE,
|
|
94
92
|
onFilterChange: () => {},
|
|
95
93
|
onFilterClear: () => {},
|
|
94
|
+
setPopoverOpen: () => {},
|
|
95
|
+
state: FILTER_STORY_INIT_STATE,
|
|
96
96
|
};
|
|
@@ -31,129 +31,129 @@ const FilterTheme = defineMultiStyleConfig({
|
|
|
31
31
|
flexDirection: ['column', 'row'],
|
|
32
32
|
gap: '12',
|
|
33
33
|
},
|
|
34
|
-
icon: {
|
|
35
|
-
margin: '4',
|
|
36
|
-
color: 'neutral.60',
|
|
37
|
-
},
|
|
38
34
|
content: {
|
|
39
35
|
display: 'flex',
|
|
40
|
-
gap: '12',
|
|
41
36
|
flexWrap: 'wrap',
|
|
37
|
+
gap: '12',
|
|
42
38
|
},
|
|
43
|
-
|
|
39
|
+
form: {
|
|
40
|
+
background: 'neutral.100',
|
|
41
|
+
borderRadius: '8',
|
|
42
|
+
maxWidth: rem(480),
|
|
43
|
+
minWidth: rem(352),
|
|
44
|
+
padding: '16',
|
|
45
|
+
},
|
|
46
|
+
formBadge: {
|
|
47
|
+
backgroundColor: 'neutral.93',
|
|
48
|
+
color: 'neutral.40',
|
|
49
|
+
fontVariantNumeric: 'tabular-nums',
|
|
50
|
+
fontWeight: 'bold',
|
|
51
|
+
},
|
|
52
|
+
formButtonGroup: {
|
|
44
53
|
display: 'flex',
|
|
45
|
-
|
|
46
|
-
|
|
54
|
+
justifyContent: 'flex-end',
|
|
55
|
+
marginBlockStart: '24',
|
|
56
|
+
},
|
|
57
|
+
formHeader: {
|
|
58
|
+
display: 'flex',
|
|
59
|
+
gap: '8',
|
|
60
|
+
justifyContent: 'space-between',
|
|
61
|
+
marginBlockEnd: '8',
|
|
62
|
+
},
|
|
63
|
+
formInputGroup: {
|
|
64
|
+
display: 'flex',
|
|
65
|
+
flexDirection: 'column',
|
|
66
|
+
gap: '12',
|
|
67
|
+
maxHeight: rem(196),
|
|
68
|
+
overflowY: 'scroll',
|
|
69
|
+
paddingBlock: rem(3),
|
|
70
|
+
paddingInline: '12',
|
|
71
|
+
},
|
|
72
|
+
formSearch: {
|
|
73
|
+
marginBlockEnd: '16',
|
|
74
|
+
},
|
|
75
|
+
formTitle: {
|
|
76
|
+
color: 'purpe.10',
|
|
77
|
+
fontWeight: 'demiBold',
|
|
78
|
+
},
|
|
79
|
+
icon: {
|
|
80
|
+
color: 'neutral.60',
|
|
81
|
+
margin: '4',
|
|
47
82
|
},
|
|
48
83
|
item: {
|
|
84
|
+
background: 'neutral.100',
|
|
49
85
|
border: '1px solid',
|
|
50
86
|
borderColor: 'neutral.80',
|
|
51
87
|
borderRadius: '4',
|
|
52
88
|
display: 'flex',
|
|
53
89
|
width: 'fit-content',
|
|
54
|
-
background: 'neutral.100',
|
|
55
90
|
wordBreak: 'break-word',
|
|
56
91
|
},
|
|
57
|
-
|
|
58
|
-
color: 'purple.10',
|
|
92
|
+
rightContent: {
|
|
59
93
|
display: 'flex',
|
|
60
|
-
gap: '
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
94
|
+
gap: '16',
|
|
95
|
+
marginInlineStart: 'auto',
|
|
96
|
+
},
|
|
97
|
+
searchInput: {
|
|
98
|
+
_focusVisible: {
|
|
99
|
+
backgroundColor: 'neutral.95',
|
|
100
|
+
},
|
|
66
101
|
_hover: {
|
|
67
|
-
|
|
102
|
+
backgroundColor: 'neutral.95',
|
|
68
103
|
},
|
|
104
|
+
border: undefined,
|
|
105
|
+
borderColor: undefined,
|
|
106
|
+
borderRadius: '4',
|
|
107
|
+
boxShadow: undefined,
|
|
108
|
+
fontSize: '2',
|
|
109
|
+
paddingLeft: '32',
|
|
110
|
+
paddingRight: '8',
|
|
111
|
+
paddingY: '4',
|
|
112
|
+
},
|
|
113
|
+
tagClear: {
|
|
69
114
|
_active: {
|
|
70
115
|
background: 'neutral.90',
|
|
71
116
|
},
|
|
72
117
|
_disabled: {
|
|
73
118
|
cursor: 'not-allowed',
|
|
74
119
|
...disabledStates.tertiary,
|
|
75
|
-
_hover: disabledStates.tertiary,
|
|
76
120
|
_active: disabledStates.tertiary,
|
|
121
|
+
_hover: disabledStates.tertiary,
|
|
122
|
+
},
|
|
123
|
+
_hover: {
|
|
124
|
+
background: 'neutral.93',
|
|
77
125
|
},
|
|
78
|
-
},
|
|
79
|
-
tagClear: {
|
|
80
|
-
color: 'purple.10',
|
|
81
|
-
borderRadius: '4',
|
|
82
126
|
border: 0,
|
|
83
|
-
|
|
127
|
+
borderRadius: '4',
|
|
128
|
+
color: 'purple.10',
|
|
84
129
|
height: rem(30),
|
|
85
130
|
justifyContent: 'flex-start',
|
|
131
|
+
minWidth: rem(27),
|
|
86
132
|
svg: {
|
|
87
133
|
marginInlineStart: '4',
|
|
88
134
|
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
},
|
|
135
|
+
},
|
|
136
|
+
tagEdit: {
|
|
92
137
|
_active: {
|
|
93
138
|
background: 'neutral.90',
|
|
94
139
|
},
|
|
95
140
|
_disabled: {
|
|
96
141
|
cursor: 'not-allowed',
|
|
97
142
|
...disabledStates.tertiary,
|
|
98
|
-
_hover: disabledStates.tertiary,
|
|
99
143
|
_active: disabledStates.tertiary,
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
form: {
|
|
103
|
-
background: 'neutral.100',
|
|
104
|
-
borderRadius: '8',
|
|
105
|
-
padding: '16',
|
|
106
|
-
minWidth: rem(352),
|
|
107
|
-
maxWidth: rem(480),
|
|
108
|
-
},
|
|
109
|
-
formHeader: {
|
|
110
|
-
display: 'flex',
|
|
111
|
-
gap: '8',
|
|
112
|
-
justifyContent: 'space-between',
|
|
113
|
-
marginBlockEnd: '8',
|
|
114
|
-
},
|
|
115
|
-
formTitle: {
|
|
116
|
-
color: 'purpe.10',
|
|
117
|
-
fontWeight: 'demiBold',
|
|
118
|
-
},
|
|
119
|
-
formBadge: {
|
|
120
|
-
backgroundColor: 'neutral.93',
|
|
121
|
-
color: 'neutral.40',
|
|
122
|
-
fontWeight: 'bold',
|
|
123
|
-
fontVariantNumeric: 'tabular-nums',
|
|
124
|
-
},
|
|
125
|
-
formSearch: {
|
|
126
|
-
marginBlockEnd: '16',
|
|
127
|
-
},
|
|
128
|
-
formInputGroup: {
|
|
129
|
-
display: 'flex',
|
|
130
|
-
flexDirection: 'column',
|
|
131
|
-
gap: '12',
|
|
132
|
-
maxHeight: rem(196),
|
|
133
|
-
overflowY: 'scroll',
|
|
134
|
-
paddingInline: '12',
|
|
135
|
-
paddingBlock: rem(3),
|
|
136
|
-
},
|
|
137
|
-
formButtonGroup: {
|
|
138
|
-
display: 'flex',
|
|
139
|
-
justifyContent: 'flex-end',
|
|
140
|
-
marginBlockStart: '24',
|
|
141
|
-
},
|
|
142
|
-
searchInput: {
|
|
143
|
-
paddingLeft: '32',
|
|
144
|
-
paddingY: '4',
|
|
145
|
-
paddingRight: '8',
|
|
146
|
-
border: undefined,
|
|
147
|
-
borderRadius: '4',
|
|
148
|
-
borderColor: undefined,
|
|
149
|
-
boxShadow: undefined,
|
|
150
|
-
fontSize: '2',
|
|
151
|
-
_focusVisible: {
|
|
152
|
-
backgroundColor: 'neutral.95',
|
|
144
|
+
_hover: disabledStates.tertiary,
|
|
153
145
|
},
|
|
154
146
|
_hover: {
|
|
155
|
-
|
|
147
|
+
background: 'neutral.93',
|
|
156
148
|
},
|
|
149
|
+
alignItems: 'center',
|
|
150
|
+
borderRadius: '4',
|
|
151
|
+
color: 'purple.10',
|
|
152
|
+
display: 'flex',
|
|
153
|
+
gap: '8',
|
|
154
|
+
paddingBlock: '4',
|
|
155
|
+
paddingInlineEnd: rem(7),
|
|
156
|
+
paddingInlineStart: rem(11),
|
|
157
157
|
},
|
|
158
158
|
},
|
|
159
159
|
});
|
|
@@ -85,10 +85,10 @@ const Filter = (props: FilterProps) => {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
const filters = {
|
|
88
|
+
dateRange: {},
|
|
88
89
|
search: {},
|
|
89
90
|
select: {},
|
|
90
91
|
switch: {},
|
|
91
|
-
dateRange: {},
|
|
92
92
|
tag: {},
|
|
93
93
|
} as Record<FilterType, Record<string, FilterCategoryProps>>;
|
|
94
94
|
|
|
@@ -129,21 +129,21 @@ const Filter = (props: FilterProps) => {
|
|
|
129
129
|
<Icon name="Filter" sx={filterStyle.icon} />
|
|
130
130
|
|
|
131
131
|
{Object.keys(filters.switch).map((category) => (
|
|
132
|
-
<FilterSwitchAdapter
|
|
132
|
+
<FilterSwitchAdapter key={category} category={category} />
|
|
133
133
|
))}
|
|
134
134
|
|
|
135
135
|
{Object.keys(filters.dateRange).map((category) => (
|
|
136
|
-
<FilterDate
|
|
136
|
+
<FilterDate key={category} category={category} />
|
|
137
137
|
))}
|
|
138
138
|
|
|
139
139
|
{Object.keys(filters.select).map((category) => (
|
|
140
|
-
<FilterItem
|
|
140
|
+
<FilterItem key={category} category={category} />
|
|
141
141
|
))}
|
|
142
142
|
{Object.keys(filters.tag).map((category) => {
|
|
143
143
|
if (!state[category]) {
|
|
144
144
|
return;
|
|
145
145
|
}
|
|
146
|
-
return <FilterItem
|
|
146
|
+
return <FilterItem key={category} category={category} />;
|
|
147
147
|
})}
|
|
148
148
|
|
|
149
149
|
<FilterAdd onChange={onFilterChange} />
|
|
@@ -163,7 +163,7 @@ const Filter = (props: FilterProps) => {
|
|
|
163
163
|
</Button>
|
|
164
164
|
)}
|
|
165
165
|
{showClearFilters && showSearch && (
|
|
166
|
-
<Divider orientation="vertical" size="1" variant="solid"
|
|
166
|
+
<Divider flexShrink="0" orientation="vertical" size="1" variant="solid" />
|
|
167
167
|
)}
|
|
168
168
|
{showSearch && <FilterSearch onChange={onFilterChange} value={(state.Search && state.Search[0]) || ''} />}
|
|
169
169
|
</Box>
|
|
@@ -56,9 +56,9 @@ const FilterAdd = (props: FilterAddProps) => {
|
|
|
56
56
|
isDisabled={isDisabled}
|
|
57
57
|
isLoading={isLoading}
|
|
58
58
|
leftIconName="PlusOpen"
|
|
59
|
+
position={isOpen ? 'relative' : undefined}
|
|
59
60
|
size="small"
|
|
60
61
|
variant="tertiary"
|
|
61
|
-
position={isOpen ? 'relative' : undefined}
|
|
62
62
|
zIndex={isOpen ? 'dialog' : undefined}
|
|
63
63
|
>
|
|
64
64
|
Add filter {isOpen}
|
|
@@ -72,8 +72,8 @@ const FilterAdd = (props: FilterAddProps) => {
|
|
|
72
72
|
<FilterForm
|
|
73
73
|
category={selectedCategory}
|
|
74
74
|
categoryName={data[selectedCategory].categoryName}
|
|
75
|
-
onChange={onFilterChange}
|
|
76
75
|
onCancel={onClose}
|
|
76
|
+
onChange={onFilterChange}
|
|
77
77
|
/>
|
|
78
78
|
) : (
|
|
79
79
|
categoryList.map((category) => {
|
|
@@ -81,10 +81,10 @@ const FilterAdd = (props: FilterAddProps) => {
|
|
|
81
81
|
const missingDependencies = getMissingDependencies(stateKeys, Object.keys(dependsOn || []));
|
|
82
82
|
return (
|
|
83
83
|
<Tooltip
|
|
84
|
+
key={category}
|
|
84
85
|
isDisabled={missingDependencies.length === 0}
|
|
85
86
|
label={dependsOn?.[missingDependencies[0]]}
|
|
86
87
|
placement="right"
|
|
87
|
-
key={category}
|
|
88
88
|
>
|
|
89
89
|
<MenuItem
|
|
90
90
|
isDisabled={missingDependencies.length > 0}
|
|
@@ -55,14 +55,14 @@ const FilterDate = (props: FilterDateProps) => {
|
|
|
55
55
|
|
|
56
56
|
return (
|
|
57
57
|
<DatePicker
|
|
58
|
-
selectable={selectable}
|
|
59
|
-
selected={selectedRange}
|
|
60
58
|
onApply={onDateRangeApply}
|
|
61
|
-
onClose={onClose}
|
|
62
59
|
onClear={value?.length ? onClearClick : undefined}
|
|
60
|
+
onClose={onClose}
|
|
61
|
+
selectable={selectable}
|
|
62
|
+
selected={selectedRange}
|
|
63
63
|
visible={isOpen}
|
|
64
64
|
>
|
|
65
|
-
<Box
|
|
65
|
+
<Box position={isOpen ? 'relative' : undefined} sx={filterStyle.item} zIndex={isOpen ? 'dialog' : undefined}>
|
|
66
66
|
<Tooltip isDisabled={isLoading} label="Edit">
|
|
67
67
|
<Text as="button" disabled={isLoading} onClick={onToggle} size="2" sx={filterStyle.tagEdit}>
|
|
68
68
|
<Icon color="neutral.60" name="Calendar" size="16" /> {label}
|
|
@@ -25,7 +25,7 @@ export type FilterFormProps = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const FilterForm = (props: FilterFormProps) => {
|
|
28
|
-
const { category, categoryName,
|
|
28
|
+
const { category, categoryName, onCancel, onChange } = props;
|
|
29
29
|
|
|
30
30
|
const filterStyle = useMultiStyleConfig('Filter') as FilterStyle;
|
|
31
31
|
|
|
@@ -119,16 +119,15 @@ const FilterForm = (props: FilterFormProps) => {
|
|
|
119
119
|
{(withSearch || isAsync) && (
|
|
120
120
|
<SearchInput
|
|
121
121
|
autoFocus
|
|
122
|
-
// isLoading={isLoading}
|
|
123
|
-
placeholder={isAsync ? 'Start typing to search options' : 'Start typing to find options'}
|
|
124
122
|
onChange={onSearchChange}
|
|
123
|
+
placeholder={isAsync ? 'Start typing to search options' : 'Start typing to find options'}
|
|
125
124
|
sx={filterStyle.formSearch}
|
|
126
125
|
value={searchValue}
|
|
127
126
|
/>
|
|
128
127
|
)}
|
|
129
128
|
{isLoading && 'Loading...'}
|
|
130
129
|
{!isLoading && isMultiple && (
|
|
131
|
-
<CheckboxGroup onChange={setSelected}
|
|
130
|
+
<CheckboxGroup onChange={setSelected} sx={filterStyle.formInputGroup} value={selected}>
|
|
132
131
|
{items.length
|
|
133
132
|
? items.map((opt) => (
|
|
134
133
|
<Checkbox key={opt} value={opt}>
|
|
@@ -140,7 +139,7 @@ const FilterForm = (props: FilterFormProps) => {
|
|
|
140
139
|
</CheckboxGroup>
|
|
141
140
|
)}
|
|
142
141
|
{!isLoading && !isMultiple && (
|
|
143
|
-
<RadioGroup onChange={(v) => setSelected([v])} value={selected[0] || ''}
|
|
142
|
+
<RadioGroup onChange={(v) => setSelected([v])} sx={filterStyle.formInputGroup} value={selected[0] || ''}>
|
|
144
143
|
<Radio value="">
|
|
145
144
|
<Text as="span" color="neutral.40" fontStyle="italic">
|
|
146
145
|
Not filtered
|
|
@@ -29,7 +29,7 @@ const FilterItem = (props: FilterItemProps) => {
|
|
|
29
29
|
|
|
30
30
|
const pluralCategoryString = (categoryNamePlural || `${category}s`).toLowerCase();
|
|
31
31
|
|
|
32
|
-
const { isOpen,
|
|
32
|
+
const { isOpen, onClose: closePopover, onToggle: togglePopover } = useDisclosure();
|
|
33
33
|
|
|
34
34
|
const filterStyle = useMultiStyleConfig('Filter') as FilterStyle;
|
|
35
35
|
|
|
@@ -66,7 +66,7 @@ const FilterItem = (props: FilterItemProps) => {
|
|
|
66
66
|
return (
|
|
67
67
|
<Popover isLazy isOpen={isOpen} onClose={onClose}>
|
|
68
68
|
<PopoverTrigger>
|
|
69
|
-
<Box
|
|
69
|
+
<Box position={isOpen ? 'relative' : undefined} sx={filterStyle.item} zIndex={isOpen ? 'dialog' : undefined}>
|
|
70
70
|
<Tooltip isDisabled={isLoading} label="Edit">
|
|
71
71
|
<Text as="button" disabled={isLoading} onClick={onToggle} size="2" sx={filterStyle.tagEdit}>
|
|
72
72
|
{getText()}
|
|
@@ -80,15 +80,15 @@ const FilterItem = (props: FilterItemProps) => {
|
|
|
80
80
|
isDisabled={isLoading}
|
|
81
81
|
onClick={() => onFilterClear(category)}
|
|
82
82
|
size="small"
|
|
83
|
-
variant="tertiary"
|
|
84
83
|
sx={filterStyle.tagClear}
|
|
85
84
|
tooltipProps={{ shouldWrapChildren: false }}
|
|
85
|
+
variant="tertiary"
|
|
86
86
|
/>
|
|
87
87
|
)}
|
|
88
88
|
</Box>
|
|
89
89
|
</PopoverTrigger>
|
|
90
90
|
<PopoverContent>
|
|
91
|
-
<FilterForm category={category} categoryName={categoryName}
|
|
91
|
+
<FilterForm category={category} categoryName={categoryName} onCancel={onClose} onChange={onChange} />
|
|
92
92
|
</PopoverContent>
|
|
93
93
|
</Popover>
|
|
94
94
|
);
|
|
@@ -42,14 +42,14 @@ const FilterSearch = (props: FilterSearchProps) => {
|
|
|
42
42
|
}, [value]);
|
|
43
43
|
|
|
44
44
|
const inputProps: InputProps = {
|
|
45
|
+
onChange: onInputChange,
|
|
45
46
|
placeholder: 'Search...',
|
|
46
47
|
sx: filterStyle.searchInput,
|
|
47
|
-
onChange: onInputChange,
|
|
48
48
|
value: searchValue,
|
|
49
49
|
...rest,
|
|
50
50
|
};
|
|
51
51
|
return (
|
|
52
|
-
<InputGroup maxWidth="9.25rem"
|
|
52
|
+
<InputGroup height="fit-content" maxWidth="9.25rem">
|
|
53
53
|
<InputLeftElement margin="8">
|
|
54
54
|
<Icon color="neutral.60" name="Magnifier" size="16" />
|
|
55
55
|
</InputLeftElement>
|