@bitrise/bitkit 12.83.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 +9 -9
- 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 +8 -8
- 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/theme.ts +54 -54
- package/src/tokens/tokens.ts +4 -4
- package/src/utils/utils.ts +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HTMLChakraProps,
|
|
2
3
|
Modal,
|
|
3
|
-
ModalOverlay,
|
|
4
4
|
ModalContent,
|
|
5
|
+
ModalOverlay,
|
|
5
6
|
useBreakpointValue,
|
|
6
7
|
usePrefersReducedMotion,
|
|
7
|
-
HTMLChakraProps,
|
|
8
8
|
} from '@chakra-ui/react';
|
|
9
9
|
import { BREAKPOINTS } from '../../Foundations/Breakpoints/Breakpoints';
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ export interface LightBoxProps extends Omit<HTMLChakraProps<'section'>, 'scrollB
|
|
|
15
15
|
onClose(): void;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
const LightBox = ({ children, dataTestid,
|
|
18
|
+
const LightBox = ({ children, dataTestid, isOpen, onClose, size, ...rest }: LightBoxProps) => {
|
|
19
19
|
const prefersReducedMotion = usePrefersReducedMotion({ ssr: false });
|
|
20
20
|
const dialogSize = useBreakpointValue({ [BREAKPOINTS.MOBILE]: 'mobile', [BREAKPOINTS.TABLET]: size });
|
|
21
21
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { textSizes } from '../../Foundations/Typography/Typography';
|
|
2
2
|
|
|
3
3
|
const schemeColors = {
|
|
4
|
+
default: { color: 'inherit', hover: 'inherit' },
|
|
5
|
+
gray: { color: 'neutral.70', hover: 'neutral.50' },
|
|
4
6
|
purple: { color: 'purple.50', hover: 'purple.30' },
|
|
5
7
|
white: { color: 'neutral.100', hover: 'neutral.95' },
|
|
6
|
-
gray: { color: 'neutral.70', hover: 'neutral.50' },
|
|
7
|
-
default: { color: 'inherit', hover: 'inherit' },
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
const LinkTheme = {
|
|
11
11
|
baseStyle: ({ colorScheme: c }: { colorScheme?: 'purple' | 'white' | 'gray' }) => {
|
|
12
12
|
const { color, hover } = schemeColors[c || 'default'];
|
|
13
13
|
return {
|
|
14
|
-
color,
|
|
15
|
-
fontSize: 'inherit',
|
|
16
14
|
_focus: {
|
|
17
15
|
outline: 'none',
|
|
18
16
|
},
|
|
19
17
|
_hover: {
|
|
20
18
|
color: hover,
|
|
21
19
|
},
|
|
20
|
+
color,
|
|
21
|
+
fontSize: 'inherit',
|
|
22
22
|
};
|
|
23
23
|
},
|
|
24
24
|
...textSizes,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Link as ChakraLink, LinkProps as ChakraLinkProps
|
|
1
|
+
import { forwardRef, Link as ChakraLink, LinkProps as ChakraLinkProps } from '@chakra-ui/react';
|
|
2
2
|
import { TextSizes } from '../../Foundations/Typography/Typography';
|
|
3
3
|
|
|
4
4
|
export interface LinkProps extends ChakraLinkProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkBox as ChakraLinkBox, LinkBoxProps
|
|
1
|
+
import { forwardRef, LinkBox as ChakraLinkBox, LinkBoxProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const LinkBox = forwardRef<LinkBoxProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraLinkBox {...props} ref={ref} />;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkOverlay as ChakraLinkOverlay, LinkOverlayProps
|
|
1
|
+
import { forwardRef, LinkOverlay as ChakraLinkOverlay, LinkOverlayProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const LinkOverlay = forwardRef<LinkOverlayProps, 'a'>((props, ref) => {
|
|
4
4
|
return <ChakraLinkOverlay {...props} ref={ref} />;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
2
2
|
|
|
3
3
|
const ListTheme: ComponentStyleConfig = {
|
|
4
|
-
parts: ['container', 'item'],
|
|
5
4
|
baseStyle: ({ as }) => {
|
|
6
5
|
if (as === 'ul') {
|
|
7
6
|
return {
|
|
@@ -15,6 +14,7 @@ const ListTheme: ComponentStyleConfig = {
|
|
|
15
14
|
|
|
16
15
|
return {};
|
|
17
16
|
},
|
|
17
|
+
parts: ['container', 'item'],
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export default ListTheme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ListProps as ChakraListProps,
|
|
1
|
+
import { forwardRef, ListProps as ChakraListProps, OrderedList, UnorderedList } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export interface ListProps extends ChakraListProps {
|
|
4
4
|
isOrdered?: boolean;
|
|
@@ -11,52 +11,52 @@ const disabledItem: SystemStyleObject = {
|
|
|
11
11
|
|
|
12
12
|
const MenuTheme: SystemStyleObject = {
|
|
13
13
|
baseStyle: {
|
|
14
|
-
list: {
|
|
15
|
-
backgroundColor: 'neutral.100',
|
|
16
|
-
border: '1px solid',
|
|
17
|
-
borderColor: 'neutral.93',
|
|
18
|
-
borderRadius: '4',
|
|
19
|
-
boxShadow: 'large',
|
|
20
|
-
paddingY: '12',
|
|
21
|
-
zIndex: '1',
|
|
22
|
-
},
|
|
23
14
|
groupTitle: {
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
_after: {
|
|
16
|
+
backgroundColor: 'separator.primary',
|
|
17
|
+
content: `''`,
|
|
18
|
+
flexGrow: '1',
|
|
19
|
+
height: rem(1),
|
|
20
|
+
position: 'relative',
|
|
21
|
+
top: '-1px',
|
|
22
|
+
},
|
|
26
23
|
alignItems: 'center',
|
|
27
24
|
color: 'neutral.60',
|
|
28
25
|
cursor: 'default',
|
|
26
|
+
display: 'flex',
|
|
29
27
|
fontSize: '1',
|
|
30
28
|
fontWeight: 'bold',
|
|
29
|
+
gap: '16',
|
|
31
30
|
lineHeight: rem(16),
|
|
32
|
-
paddingY: '12',
|
|
33
31
|
paddingX: '16',
|
|
32
|
+
paddingY: '12',
|
|
34
33
|
position: 'relative',
|
|
35
34
|
textTransform: 'uppercase',
|
|
36
|
-
_after: {
|
|
37
|
-
content: `''`,
|
|
38
|
-
flexGrow: '1',
|
|
39
|
-
height: rem(1),
|
|
40
|
-
backgroundColor: 'separator.primary',
|
|
41
|
-
position: 'relative',
|
|
42
|
-
top: '-1px',
|
|
43
|
-
},
|
|
44
35
|
},
|
|
45
36
|
item: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
_active: {
|
|
38
|
+
backgroundColor: 'neutral.90',
|
|
39
|
+
...disabledItem,
|
|
40
|
+
},
|
|
49
41
|
_focus: {
|
|
50
42
|
backgroundColor: 'neutral.93',
|
|
51
43
|
boxShadow: 'none',
|
|
52
44
|
...disabledItem,
|
|
53
45
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
},
|
|
46
|
+
color: 'purple.10',
|
|
47
|
+
paddingX: '16',
|
|
48
|
+
paddingY: '12',
|
|
58
49
|
...disabledItem,
|
|
59
50
|
},
|
|
51
|
+
list: {
|
|
52
|
+
backgroundColor: 'neutral.100',
|
|
53
|
+
border: '1px solid',
|
|
54
|
+
borderColor: 'neutral.93',
|
|
55
|
+
borderRadius: '4',
|
|
56
|
+
boxShadow: 'large',
|
|
57
|
+
paddingY: '12',
|
|
58
|
+
zIndex: '1',
|
|
59
|
+
},
|
|
60
60
|
},
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuButton as ChakraMenuButton, MenuButtonProps as ChakraMenuButtonProps
|
|
1
|
+
import { forwardRef, MenuButton as ChakraMenuButton, MenuButtonProps as ChakraMenuButtonProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export type MenuButtonProps = ChakraMenuButtonProps;
|
|
4
4
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { MenuItem as ChakraMenuItem, MenuItemProps as ChakraMenuItemProps
|
|
1
|
+
import { forwardRef, MenuItem as ChakraMenuItem, MenuItemProps as ChakraMenuItemProps } from '@chakra-ui/react';
|
|
2
2
|
import { TypeColors } from '../../tokens/tokens';
|
|
3
3
|
import Box from '../Box/Box';
|
|
4
4
|
import Icon, { TypeIconName } from '../Icon/Icon';
|
|
5
5
|
|
|
6
6
|
const dangerStyle = {
|
|
7
|
-
|
|
7
|
+
_active: {
|
|
8
|
+
background: 'red.90',
|
|
9
|
+
},
|
|
8
10
|
_focus: {
|
|
9
11
|
background: 'red.93',
|
|
10
12
|
boxShadow: 'none',
|
|
11
13
|
},
|
|
12
|
-
|
|
13
|
-
background: 'red.90',
|
|
14
|
-
},
|
|
14
|
+
color: 'red.50',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export interface MenuItemProps extends Omit<ChakraMenuItemProps, 'icon'> {
|
|
@@ -49,7 +49,7 @@ const MenuItem = forwardRef<MenuItemProps, 'button'>((props, ref) => {
|
|
|
49
49
|
<Box display="flex" gap={properties.iconSpacing} width="100%">
|
|
50
50
|
{(iconName || leftIconName) && <Icon color={leftIconColor} name={iconName || leftIconName || 'Bitbot'} />}
|
|
51
51
|
{children}
|
|
52
|
-
{rightIconName && <Icon color={rightIconColor} name={rightIconName}
|
|
52
|
+
{rightIconName && <Icon color={rightIconColor} marginInlineStart="auto" name={rightIconName} />}
|
|
53
53
|
</Box>
|
|
54
54
|
);
|
|
55
55
|
} else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuList as ChakraMenuList, MenuListProps as ChakraMenuListProps
|
|
1
|
+
import { forwardRef, MenuList as ChakraMenuList, MenuListProps as ChakraMenuListProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export type MenuListProps = ChakraMenuListProps;
|
|
4
4
|
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import { Status } from './Note';
|
|
2
2
|
|
|
3
3
|
const borderColor = {
|
|
4
|
-
info: 'separator.primary',
|
|
5
4
|
error: 'red.80',
|
|
6
|
-
|
|
5
|
+
info: 'separator.primary',
|
|
7
6
|
success: 'green.80',
|
|
7
|
+
warning: 'yellow.80',
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
const decorationBackground = {
|
|
11
|
-
info: 'neutral.95',
|
|
12
11
|
error: 'red.95',
|
|
13
|
-
|
|
12
|
+
info: 'neutral.95',
|
|
14
13
|
success: 'green.95',
|
|
14
|
+
warning: 'yellow.95',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
const decorationColor = {
|
|
18
|
-
info: 'neutral.40',
|
|
19
18
|
error: 'red.50',
|
|
20
|
-
|
|
19
|
+
info: 'neutral.40',
|
|
21
20
|
success: 'green.50',
|
|
21
|
+
warning: 'yellow.50',
|
|
22
22
|
};
|
|
23
23
|
const NoteTheme = {
|
|
24
|
-
parts: ['container', 'icon', 'body', 'buttonContainer'],
|
|
25
24
|
baseStyle({ isExpanded, status }: { isExpanded: boolean; status: Status }) {
|
|
26
25
|
return {
|
|
27
|
-
wrapper: {
|
|
28
|
-
display: 'flex',
|
|
29
|
-
boxShadow: 'medium',
|
|
30
|
-
borderRadius: '8',
|
|
31
|
-
position: 'relative',
|
|
32
|
-
},
|
|
33
|
-
decoration: {
|
|
34
|
-
color: decorationColor[status],
|
|
35
|
-
display: 'flex',
|
|
36
|
-
width: '40',
|
|
37
|
-
borderTopLeftRadius: '8',
|
|
38
|
-
borderBottomLeftRadius: '8',
|
|
39
|
-
borderWidth: '1px',
|
|
40
|
-
borderRight: 'none',
|
|
41
|
-
px: '8',
|
|
42
|
-
py: '12',
|
|
43
|
-
borderColor: borderColor[status],
|
|
44
|
-
bg: decorationBackground[status],
|
|
45
|
-
},
|
|
46
|
-
container: {
|
|
47
|
-
flexGrow: 1,
|
|
48
|
-
paddingTop: '24',
|
|
49
|
-
paddingRight: '24',
|
|
50
|
-
paddingBottom: ['80', '32'],
|
|
51
|
-
paddingLeft: '16',
|
|
52
|
-
borderTopRightRadius: '8',
|
|
53
|
-
borderBottomRightRadius: '8',
|
|
54
|
-
borderWidth: '1px',
|
|
55
|
-
borderLeft: 'none',
|
|
56
|
-
borderColor: borderColor[status],
|
|
57
|
-
overflow: 'hidden',
|
|
58
|
-
},
|
|
59
26
|
buttonContainer: {
|
|
60
|
-
position: 'absolute',
|
|
61
|
-
left: isExpanded ? 'auto' : '40px',
|
|
62
|
-
right: 1,
|
|
63
|
-
bottom: 1,
|
|
64
|
-
textAlign: 'right',
|
|
65
|
-
paddingX: '24',
|
|
66
|
-
paddingTop: '80',
|
|
67
|
-
paddingBottom: '16',
|
|
68
27
|
background: isExpanded ? undefined : 'linear-gradient(0deg, #FFF 12.57%, rgba(255, 255, 255, 0.00) 100%)',
|
|
69
28
|
borderBottomRadius: '8',
|
|
29
|
+
bottom: 1,
|
|
30
|
+
left: isExpanded ? 'auto' : '40px',
|
|
31
|
+
paddingBottom: '16',
|
|
32
|
+
paddingTop: '80',
|
|
33
|
+
paddingX: '24',
|
|
34
|
+
position: 'absolute',
|
|
35
|
+
right: 1,
|
|
70
36
|
svg: {
|
|
71
37
|
transform: isExpanded ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
72
38
|
transition: '300ms',
|
|
73
39
|
},
|
|
40
|
+
textAlign: 'right',
|
|
41
|
+
},
|
|
42
|
+
container: {
|
|
43
|
+
borderBottomRightRadius: '8',
|
|
44
|
+
borderColor: borderColor[status],
|
|
45
|
+
borderLeft: 'none',
|
|
46
|
+
borderTopRightRadius: '8',
|
|
47
|
+
borderWidth: '1px',
|
|
48
|
+
flexGrow: 1,
|
|
49
|
+
overflow: 'hidden',
|
|
50
|
+
paddingBottom: ['80', '32'],
|
|
51
|
+
paddingLeft: '16',
|
|
52
|
+
paddingRight: '24',
|
|
53
|
+
paddingTop: '24',
|
|
54
|
+
},
|
|
55
|
+
decoration: {
|
|
56
|
+
bg: decorationBackground[status],
|
|
57
|
+
borderBottomLeftRadius: '8',
|
|
58
|
+
borderColor: borderColor[status],
|
|
59
|
+
borderRight: 'none',
|
|
60
|
+
borderTopLeftRadius: '8',
|
|
61
|
+
borderWidth: '1px',
|
|
62
|
+
color: decorationColor[status],
|
|
63
|
+
display: 'flex',
|
|
64
|
+
px: '8',
|
|
65
|
+
py: '12',
|
|
66
|
+
width: '40',
|
|
67
|
+
},
|
|
68
|
+
wrapper: {
|
|
69
|
+
borderRadius: '8',
|
|
70
|
+
boxShadow: 'medium',
|
|
71
|
+
display: 'flex',
|
|
72
|
+
position: 'relative',
|
|
74
73
|
},
|
|
75
74
|
};
|
|
76
75
|
},
|
|
76
|
+
parts: ['container', 'icon', 'body', 'buttonContainer'],
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export default NoteTheme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode, useState } from 'react';
|
|
2
2
|
import { useMultiStyleConfig } from '@chakra-ui/react';
|
|
3
3
|
import Box from '../Box/Box';
|
|
4
4
|
import Collapse from '../Collapse/Collapse';
|
|
@@ -7,9 +7,9 @@ import Button from '../Button/Button';
|
|
|
7
7
|
|
|
8
8
|
export type Status = 'info' | 'success' | 'error' | 'warning';
|
|
9
9
|
const iconNames = {
|
|
10
|
+
error: 'ErrorGeneral',
|
|
10
11
|
info: 'Info',
|
|
11
12
|
success: 'Tick',
|
|
12
|
-
error: 'ErrorGeneral',
|
|
13
13
|
warning: 'Warning',
|
|
14
14
|
} as const;
|
|
15
15
|
|
|
@@ -46,7 +46,7 @@ const Note = ({ children, startingHeight, status }: NoteProps) => {
|
|
|
46
46
|
return (
|
|
47
47
|
<Box __css={wrapper}>
|
|
48
48
|
<Box __css={decoration}>
|
|
49
|
-
<Icon
|
|
49
|
+
<Icon name={iconNames[status]} size="24" />
|
|
50
50
|
</Box>
|
|
51
51
|
<Box __css={container}>
|
|
52
52
|
<Container isExpanded={isExpanded} startingHeight={startingHeight}>
|
|
@@ -11,38 +11,38 @@ import CodeBlock from '../CodeBlock/CodeBlock';
|
|
|
11
11
|
|
|
12
12
|
const defaultComponents: Components = {
|
|
13
13
|
a: ({ node, ...props }) => <Link colorScheme="purple" isUnderlined target="_blank" {...props} />,
|
|
14
|
-
h1: ({ node, ...props }) => <Text as="h1" size="6" {...props} />,
|
|
15
|
-
h2: ({ node, ...props }) => <Text as="h2" size="5" {...props} />,
|
|
16
|
-
h3: ({ node, ...props }) => <Text as="h3" size="4" fontWeight="bold" {...props} />,
|
|
17
|
-
h4: ({ node, ...props }) => <Text as="h4" size="3" fontWeight="bold" {...props} />,
|
|
18
|
-
h5: ({ node, ...props }) => <Text as="h5" size="2" fontWeight="bold" {...props} />,
|
|
19
|
-
h6: ({ node, ...props }) => <Text as="h6" size="1" fontWeight="bold" {...props} />,
|
|
20
|
-
p: ({ node, ...props }) => <Text {...props} />,
|
|
21
|
-
hr: () => <Divider my="16" borderColor="separator.primary" size="2" />,
|
|
22
|
-
ul: ({ node, ...props }) => <List {...props} />,
|
|
23
|
-
ol: ({ node, ...props }) => <List isOrdered {...props} />,
|
|
24
|
-
li: ({ node, ...props }) => <ListItem {...props} />,
|
|
25
|
-
code: ({ node, ...props }) => <code {...props} />,
|
|
26
|
-
pre: ({ node, ...props }) => <CodeBlock>{props.children as string}</CodeBlock>,
|
|
27
14
|
blockquote: ({ children }) => (
|
|
28
15
|
<Box
|
|
29
|
-
py="8"
|
|
30
16
|
as="blockquote"
|
|
31
|
-
|
|
17
|
+
borderColor="separator.primary"
|
|
32
18
|
borderLeftStyle="solid"
|
|
33
19
|
borderLeftWidth="2px"
|
|
34
|
-
borderColor="separator.primary"
|
|
35
20
|
color="text.secondary"
|
|
21
|
+
paddingLeft="16"
|
|
22
|
+
py="8"
|
|
36
23
|
>
|
|
37
24
|
{children}
|
|
38
25
|
</Box>
|
|
39
26
|
),
|
|
27
|
+
code: ({ node, ...props }) => <code {...props} />,
|
|
28
|
+
h1: ({ node, ...props }) => <Text as="h1" size="6" {...props} />,
|
|
29
|
+
h2: ({ node, ...props }) => <Text as="h2" size="5" {...props} />,
|
|
30
|
+
h3: ({ node, ...props }) => <Text as="h3" fontWeight="bold" size="4" {...props} />,
|
|
31
|
+
h4: ({ node, ...props }) => <Text as="h4" fontWeight="bold" size="3" {...props} />,
|
|
32
|
+
h5: ({ node, ...props }) => <Text as="h5" fontWeight="bold" size="2" {...props} />,
|
|
33
|
+
h6: ({ node, ...props }) => <Text as="h6" fontWeight="bold" size="1" {...props} />,
|
|
34
|
+
hr: () => <Divider borderColor="separator.primary" my="16" size="2" />,
|
|
35
|
+
li: ({ node, ...props }) => <ListItem {...props} />,
|
|
36
|
+
ol: ({ node, ...props }) => <List isOrdered {...props} />,
|
|
37
|
+
p: ({ node, ...props }) => <Text {...props} />,
|
|
38
|
+
pre: ({ node, ...props }) => <CodeBlock>{props.children as string}</CodeBlock>,
|
|
39
|
+
ul: ({ node, ...props }) => <List {...props} />,
|
|
40
40
|
};
|
|
41
41
|
type NoteMarkdownContentProps = { md: string } & Pick<
|
|
42
42
|
ComponentProps<typeof ReactMarkdown>,
|
|
43
43
|
'components' | 'rehypePlugins'
|
|
44
44
|
>;
|
|
45
|
-
const NoteMarkdownContent = ({
|
|
45
|
+
const NoteMarkdownContent = ({ components, md, ...rest }: NoteMarkdownContentProps) => {
|
|
46
46
|
const extendedComponents = { ...defaultComponents, ...components };
|
|
47
47
|
return (
|
|
48
48
|
<Box display="flex" flexDirection="column" gap="16">
|
|
@@ -11,18 +11,18 @@ import ProgressSpinner from '../ProgressSpinner/ProgressSpinner';
|
|
|
11
11
|
type NotificationStatus = 'info' | 'error' | 'success' | 'warning' | 'progress';
|
|
12
12
|
|
|
13
13
|
const STATUSES: Record<NotificationStatus, { colorScheme: ColorScheme; defaultIcon: ReactElement }> = {
|
|
14
|
-
info: { colorScheme: 'blue', defaultIcon: <Icon name="Info" /> },
|
|
15
14
|
error: { colorScheme: 'red', defaultIcon: <Icon name="ErrorGeneral" /> },
|
|
16
|
-
|
|
17
|
-
warning: { colorScheme: 'yellow', defaultIcon: <Icon name="Warning" /> },
|
|
15
|
+
info: { colorScheme: 'blue', defaultIcon: <Icon name="Info" /> },
|
|
18
16
|
progress: {
|
|
19
17
|
colorScheme: 'purple',
|
|
20
18
|
defaultIcon: (
|
|
21
|
-
<Box
|
|
19
|
+
<Box height={24} padding={2} width={24}>
|
|
22
20
|
<ProgressSpinner size={20} />
|
|
23
21
|
</Box>
|
|
24
22
|
),
|
|
25
23
|
},
|
|
24
|
+
success: { colorScheme: 'green', defaultIcon: <Icon name="Tick" /> },
|
|
25
|
+
warning: { colorScheme: 'yellow', defaultIcon: <Icon name="Warning" /> },
|
|
26
26
|
} as const;
|
|
27
27
|
|
|
28
28
|
export type ActionProps = {
|
|
@@ -44,13 +44,13 @@ const ActionContext = createContext<{ colorScheme: ColorScheme }>({
|
|
|
44
44
|
colorScheme: 'blue',
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
const NotificationAction = ({
|
|
47
|
+
const NotificationAction = ({ href, label, ...rest }: ActionProps) => {
|
|
48
48
|
const actionContext = useContext(ActionContext);
|
|
49
49
|
return (
|
|
50
50
|
<ColorButton
|
|
51
|
+
as={(href ? 'a' : 'button') as any}
|
|
51
52
|
flexGrow={0}
|
|
52
53
|
flexShrink={0}
|
|
53
|
-
as={(href ? 'a' : 'button') as any}
|
|
54
54
|
href={href}
|
|
55
55
|
{...actionContext}
|
|
56
56
|
{...rest}
|
|
@@ -61,7 +61,7 @@ const NotificationAction = ({ label, href, ...rest }: ActionProps) => {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
const Notification = forwardRef<NotificationProps, 'div'>((props, ref) => {
|
|
64
|
-
const {
|
|
64
|
+
const { action, children, iconName, onClose, showIcon = true, status, ...rest } = props;
|
|
65
65
|
const { colorScheme, defaultIcon } = STATUSES[status];
|
|
66
66
|
const icon = iconName ? <Icon name={iconName} /> : defaultIcon;
|
|
67
67
|
let actionButton;
|
|
@@ -77,18 +77,18 @@ const Notification = forwardRef<NotificationProps, 'div'>((props, ref) => {
|
|
|
77
77
|
<ChakraAlert ref={ref} {...rest} colorScheme={colorScheme}>
|
|
78
78
|
<ActionContext.Provider value={actionContext}>
|
|
79
79
|
{showIcon && cloneElement(icon, { flexShrink: 0, marginTop })}
|
|
80
|
-
<Box display="flex"
|
|
81
|
-
<Box
|
|
80
|
+
<Box display="flex" flexDirection={['column', 'row']} flexGrow={1} gap={16} justifyContent="start">
|
|
81
|
+
<Box flexGrow={actionPlacement === 'end' ? 1 : undefined} marginTop={marginTop} wordBreak="break-word">
|
|
82
82
|
{children}
|
|
83
83
|
</Box>
|
|
84
84
|
{actionButton}
|
|
85
85
|
</Box>
|
|
86
86
|
{onClose && (
|
|
87
87
|
<CloseButton
|
|
88
|
+
colorScheme={colorScheme}
|
|
88
89
|
flexShrink={0}
|
|
89
90
|
marginLeft="auto"
|
|
90
91
|
marginTop={marginTop}
|
|
91
|
-
colorScheme={colorScheme}
|
|
92
92
|
onClick={onClose}
|
|
93
93
|
/>
|
|
94
94
|
)}
|
|
@@ -3,31 +3,31 @@ import { SystemStyleObject } from '@chakra-ui/react';
|
|
|
3
3
|
const NumberInputTheme = {
|
|
4
4
|
baseStyle: {
|
|
5
5
|
field: <SystemStyleObject>{
|
|
6
|
-
height: '42',
|
|
7
|
-
paddingLeft: '12',
|
|
8
|
-
borderRadius: '4',
|
|
9
|
-
borderStyle: 'solid',
|
|
10
|
-
borderColor: 'neutral.90',
|
|
11
|
-
borderWidth: '1px',
|
|
12
6
|
_focusVisible: {
|
|
13
7
|
boxShadow: 'outline',
|
|
14
8
|
outline: 'none',
|
|
15
9
|
},
|
|
10
|
+
borderColor: 'neutral.90',
|
|
11
|
+
borderRadius: '4',
|
|
12
|
+
borderStyle: 'solid',
|
|
13
|
+
borderWidth: '1px',
|
|
14
|
+
height: '42',
|
|
15
|
+
paddingLeft: '12',
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
sizes: {
|
|
19
|
-
|
|
19
|
+
medium: {
|
|
20
20
|
field: {
|
|
21
|
-
|
|
22
|
-
fontSize: '
|
|
23
|
-
|
|
21
|
+
boxShadow: 'inner',
|
|
22
|
+
fontSize: '3',
|
|
23
|
+
height: '48',
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
|
-
|
|
26
|
+
small: {
|
|
27
27
|
field: {
|
|
28
|
-
|
|
29
|
-
fontSize: '
|
|
30
|
-
|
|
28
|
+
boxShadow: 'innerSmall',
|
|
29
|
+
fontSize: '2',
|
|
30
|
+
height: '32',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
},
|
|
@@ -5,13 +5,13 @@ const $arrowBackground = cssVar('popper-arrow-bg');
|
|
|
5
5
|
|
|
6
6
|
const PopoverTheme: SystemStyleObject = {
|
|
7
7
|
baseStyle: {
|
|
8
|
-
popper: {
|
|
9
|
-
zIndex: 'popover',
|
|
10
|
-
},
|
|
11
8
|
content: {
|
|
12
9
|
borderRadius: 8,
|
|
13
10
|
boxShadow: 'large',
|
|
14
11
|
},
|
|
12
|
+
popper: {
|
|
13
|
+
zIndex: 'popover',
|
|
14
|
+
},
|
|
15
15
|
},
|
|
16
16
|
variants: {
|
|
17
17
|
dark: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Popover as ChakraPopover, PopoverProps as ChakraPopoverProps } from '@chakra-ui/react';
|
|
3
3
|
import { PopoverContext, PopoverContextType } from './Popover.context';
|
|
4
4
|
|
|
5
5
|
export interface PopoverProps extends ChakraPopoverProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PopoverArrow as ChakraPopoverArrow, PopoverArrowProps as ChakraPopoverArrowProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
export type PopoverArrowProps = ChakraPopoverArrowProps;
|
|
4
4
|
|
|
@@ -63,7 +63,7 @@ const ProgressBitbot = forwardRef<ProgressBitbotProps, 'div'>((props, ref) => {
|
|
|
63
63
|
|
|
64
64
|
return (
|
|
65
65
|
<Box {...rest} ref={ref}>
|
|
66
|
-
<Box as="svg" fill="currentColor" height={size} viewBox="0 0 24 24" width={size}
|
|
66
|
+
<Box as="svg" fill="currentColor" height={size} marginX="auto" viewBox="0 0 24 24" width={size}>
|
|
67
67
|
<g fill="currentColor" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
68
68
|
<path d={dot0}>
|
|
69
69
|
<animate
|
|
@@ -159,7 +159,7 @@ const ProgressBitbot = forwardRef<ProgressBitbotProps, 'div'>((props, ref) => {
|
|
|
159
159
|
</Box>
|
|
160
160
|
|
|
161
161
|
{content && (
|
|
162
|
-
<Text
|
|
162
|
+
<Text size="1" textAlign="center" textTransform="uppercase">
|
|
163
163
|
{content}
|
|
164
164
|
</Text>
|
|
165
165
|
)}
|