@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
|
@@ -3,93 +3,93 @@ import { defineStyle, defineStyleConfig, SystemStyleObject } from '@chakra-ui/st
|
|
|
3
3
|
const baseStyle = defineStyle(
|
|
4
4
|
({ variant }): SystemStyleObject => ({
|
|
5
5
|
containedTab: {
|
|
6
|
-
|
|
7
|
-
paddingX: '16',
|
|
8
|
-
paddingY: '12',
|
|
9
|
-
color: 'neutral.40',
|
|
10
|
-
textAlign: 'left',
|
|
11
|
-
whiteSpace: 'nowrap',
|
|
12
|
-
boxShadow: 'inset 1px 0 0 var(--colors-neutral-80)',
|
|
13
|
-
_selected: {
|
|
14
|
-
backgroundColor: 'neutral.100',
|
|
15
|
-
borderRight: 0,
|
|
16
|
-
boxShadow: 'inset 0 2px var(--colors-purple-50)',
|
|
17
|
-
div: {
|
|
18
|
-
color: 'purple.50',
|
|
19
|
-
},
|
|
20
|
-
_first: {
|
|
21
|
-
boxShadow: 'inset 0 2px var(--colors-purple-50)',
|
|
22
|
-
},
|
|
23
|
-
'+ [role="tab"]': {
|
|
24
|
-
boxShadow: 'none',
|
|
25
|
-
},
|
|
6
|
+
_disabled: {
|
|
26
7
|
_hover: {
|
|
27
|
-
backgroundColor: 'neutral.
|
|
8
|
+
backgroundColor: 'neutral.90',
|
|
28
9
|
},
|
|
29
|
-
},
|
|
30
|
-
_disabled: {
|
|
31
10
|
backgroundColor: 'neutral.90',
|
|
32
11
|
color: 'neutral.60',
|
|
33
12
|
cursor: 'not-allowed',
|
|
34
|
-
_hover: {
|
|
35
|
-
backgroundColor: 'neutral.90',
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
_hover: {
|
|
39
|
-
backgroundColor: 'neutral.95',
|
|
40
|
-
},
|
|
41
|
-
_focusVisible: {
|
|
42
|
-
boxShadow: 'inset 0 2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
|
|
43
13
|
},
|
|
44
14
|
_first: {
|
|
45
|
-
boxShadow: 'none',
|
|
46
15
|
_focusVisible: {
|
|
47
16
|
boxShadow: 'inset 0 2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
|
|
48
17
|
},
|
|
18
|
+
boxShadow: 'none',
|
|
49
19
|
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
display: 'flex',
|
|
53
|
-
alignItems: 'center',
|
|
54
|
-
justifyContent: 'flex-start',
|
|
55
|
-
fontSize: '3',
|
|
56
|
-
gap: '8',
|
|
57
|
-
lineHeight: '1.5rem',
|
|
58
|
-
paddingX: '16',
|
|
59
|
-
paddingY: '12',
|
|
60
|
-
color: 'neutral.50',
|
|
61
|
-
fontWeight: 'bold',
|
|
62
|
-
whiteSpace: 'nowrap',
|
|
63
|
-
_selected: {
|
|
64
|
-
color: 'purple.50',
|
|
65
|
-
boxShadow: 'inset 0 -2px var(--colors-purple-50)',
|
|
66
|
-
_hover: {
|
|
67
|
-
backgroundColor: 'transparent',
|
|
68
|
-
},
|
|
20
|
+
_focusVisible: {
|
|
21
|
+
boxShadow: 'inset 0 2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
|
|
69
22
|
},
|
|
70
23
|
_hover: {
|
|
71
24
|
backgroundColor: 'neutral.95',
|
|
72
25
|
},
|
|
26
|
+
_selected: {
|
|
27
|
+
'+ [role="tab"]': {
|
|
28
|
+
boxShadow: 'none',
|
|
29
|
+
},
|
|
30
|
+
_first: {
|
|
31
|
+
boxShadow: 'inset 0 2px var(--colors-purple-50)',
|
|
32
|
+
},
|
|
33
|
+
_hover: {
|
|
34
|
+
backgroundColor: 'neutral.100',
|
|
35
|
+
},
|
|
36
|
+
backgroundColor: 'neutral.100',
|
|
37
|
+
borderRight: 0,
|
|
38
|
+
boxShadow: 'inset 0 2px var(--colors-purple-50)',
|
|
39
|
+
div: {
|
|
40
|
+
color: 'purple.50',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
backgroundColor: 'neutral.93',
|
|
44
|
+
boxShadow: 'inset 1px 0 0 var(--colors-neutral-80)',
|
|
45
|
+
color: 'neutral.40',
|
|
46
|
+
paddingX: '16',
|
|
47
|
+
paddingY: '12',
|
|
48
|
+
textAlign: 'left',
|
|
49
|
+
whiteSpace: 'nowrap',
|
|
50
|
+
},
|
|
51
|
+
lineTab: {
|
|
73
52
|
_active: {
|
|
74
53
|
backgroundColor: 'neutral.93',
|
|
75
54
|
},
|
|
76
55
|
_disabled: {
|
|
77
|
-
color: 'neutral.70',
|
|
78
|
-
cursor: 'not-allowed',
|
|
79
56
|
_hover: {
|
|
80
57
|
background: 'transparent',
|
|
81
58
|
},
|
|
59
|
+
color: 'neutral.70',
|
|
60
|
+
cursor: 'not-allowed',
|
|
82
61
|
},
|
|
83
62
|
_focusVisible: {
|
|
84
63
|
boxShadow: 'inset 0 -2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
|
|
85
64
|
},
|
|
65
|
+
_hover: {
|
|
66
|
+
backgroundColor: 'neutral.95',
|
|
67
|
+
},
|
|
68
|
+
_selected: {
|
|
69
|
+
_hover: {
|
|
70
|
+
backgroundColor: 'transparent',
|
|
71
|
+
},
|
|
72
|
+
boxShadow: 'inset 0 -2px var(--colors-purple-50)',
|
|
73
|
+
color: 'purple.50',
|
|
74
|
+
},
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
color: 'neutral.50',
|
|
77
|
+
display: 'flex',
|
|
78
|
+
fontSize: '3',
|
|
79
|
+
fontWeight: 'bold',
|
|
80
|
+
gap: '8',
|
|
81
|
+
justifyContent: 'flex-start',
|
|
82
|
+
lineHeight: '1.5rem',
|
|
83
|
+
paddingX: '16',
|
|
84
|
+
paddingY: '12',
|
|
85
|
+
whiteSpace: 'nowrap',
|
|
86
86
|
},
|
|
87
87
|
tablist: {
|
|
88
|
+
borderBottom: variant === 'line' ? '1px solid' : undefined,
|
|
89
|
+
borderBottomColor: variant === 'line' ? 'separator.primary' : undefined,
|
|
88
90
|
maxWidth: '100%',
|
|
89
91
|
overflow: 'hidden',
|
|
90
92
|
paddingLeft: variant === 'contained' ? '16' : undefined,
|
|
91
|
-
borderBottom: variant === 'line' ? '1px solid' : undefined,
|
|
92
|
-
borderBottomColor: variant === 'line' ? 'separator.primary' : undefined,
|
|
93
93
|
},
|
|
94
94
|
tabpanel: {
|
|
95
95
|
_focusVisible: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { isValidElement, ReactElement, useEffect, useState } from 'react';
|
|
2
|
-
import { Tabs as ChakraTabs, TabsProps as ChakraTabsProps
|
|
2
|
+
import { forwardRef, Tabs as ChakraTabs, TabsProps as ChakraTabsProps } from '@chakra-ui/react';
|
|
3
3
|
import { useHistory } from '../../hooks';
|
|
4
4
|
|
|
5
5
|
export interface TabsProps extends ChakraTabsProps {
|
|
@@ -85,7 +85,7 @@ const Tabs = forwardRef<TabsProps, 'div'>((props, ref) => {
|
|
|
85
85
|
}
|
|
86
86
|
}, [tabId]);
|
|
87
87
|
|
|
88
|
-
return <ChakraTabs {...rest}
|
|
88
|
+
return <ChakraTabs {...rest} ref={ref} index={actualIndex} onChange={onTabChange} variant={variant} />;
|
|
89
89
|
});
|
|
90
90
|
|
|
91
91
|
export default Tabs;
|
|
@@ -11,31 +11,16 @@ const { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpe
|
|
|
11
11
|
]);
|
|
12
12
|
|
|
13
13
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
const {
|
|
14
|
+
md: definePartsStyle((props) => {
|
|
15
|
+
const { iconName, onClose, withIcon } = props as TagProps;
|
|
16
16
|
const leftIcon = iconName || withIcon;
|
|
17
17
|
|
|
18
18
|
return {
|
|
19
|
-
container: {
|
|
20
|
-
paddingLeft: leftIcon ? rem(4) : rem(8),
|
|
21
|
-
paddingRight: onClose ? rem(2) : rem(8),
|
|
22
|
-
paddingY: onClose ? rem(2) : rem(4),
|
|
23
|
-
},
|
|
24
|
-
label: {
|
|
25
|
-
fontSize: rem(12),
|
|
26
|
-
lineHeight: rem(16),
|
|
27
|
-
},
|
|
28
19
|
closeButton: {
|
|
29
|
-
height: '
|
|
30
|
-
|
|
20
|
+
height: '24',
|
|
21
|
+
marginLeft: '8',
|
|
22
|
+
width: '24',
|
|
31
23
|
},
|
|
32
|
-
};
|
|
33
|
-
}),
|
|
34
|
-
md: definePartsStyle((props) => {
|
|
35
|
-
const { onClose, iconName, withIcon } = props as TagProps;
|
|
36
|
-
const leftIcon = iconName || withIcon;
|
|
37
|
-
|
|
38
|
-
return {
|
|
39
24
|
container: {
|
|
40
25
|
paddingLeft: leftIcon ? rem(6) : rem(12),
|
|
41
26
|
paddingRight: onClose ? rem(4) : rem(12),
|
|
@@ -45,10 +30,25 @@ const sizes = {
|
|
|
45
30
|
fontSize: '2',
|
|
46
31
|
lineHeight: rem(20),
|
|
47
32
|
},
|
|
33
|
+
};
|
|
34
|
+
}),
|
|
35
|
+
sm: definePartsStyle((props) => {
|
|
36
|
+
const { iconName, onClose, withIcon } = props as TagProps;
|
|
37
|
+
const leftIcon = iconName || withIcon;
|
|
38
|
+
|
|
39
|
+
return {
|
|
48
40
|
closeButton: {
|
|
49
|
-
height: '
|
|
50
|
-
width: '
|
|
51
|
-
|
|
41
|
+
height: '20',
|
|
42
|
+
width: '20',
|
|
43
|
+
},
|
|
44
|
+
container: {
|
|
45
|
+
paddingLeft: leftIcon ? rem(4) : rem(8),
|
|
46
|
+
paddingRight: onClose ? rem(2) : rem(8),
|
|
47
|
+
paddingY: onClose ? rem(2) : rem(4),
|
|
48
|
+
},
|
|
49
|
+
label: {
|
|
50
|
+
fontSize: rem(12),
|
|
51
|
+
lineHeight: rem(16),
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
54
|
}),
|
|
@@ -56,27 +56,40 @@ const sizes = {
|
|
|
56
56
|
|
|
57
57
|
const baseStyle = definePartsStyle(({ colorScheme }) => {
|
|
58
58
|
const scheme = {
|
|
59
|
-
color: `${colorScheme}.40`,
|
|
60
59
|
backgroundColor: `${colorScheme}.93`,
|
|
61
60
|
borderColor: `${colorScheme}.80`,
|
|
61
|
+
color: `${colorScheme}.40`,
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
return {
|
|
65
|
+
closeButton: {
|
|
66
|
+
_disabled: {
|
|
67
|
+
pointerEvents: 'none',
|
|
68
|
+
},
|
|
69
|
+
_focus: {
|
|
70
|
+
boxShadow: '0 0 0 1px var(--colors-purple-70) inset',
|
|
71
|
+
},
|
|
72
|
+
_hover: {
|
|
73
|
+
backgroundColor: `${colorScheme}.90`,
|
|
74
|
+
},
|
|
75
|
+
borderRadius: rem(2),
|
|
76
|
+
marginInlineStart: '4',
|
|
77
|
+
},
|
|
65
78
|
container: {
|
|
66
79
|
border: '1px solid',
|
|
67
80
|
borderRadius: '4',
|
|
68
81
|
...scheme,
|
|
69
82
|
_disabled: {
|
|
70
|
-
cursor: 'not-allowed',
|
|
71
83
|
backgroundColor: 'neutral.95',
|
|
72
84
|
borderColor: 'neutral.90',
|
|
73
85
|
color: 'neutral.80',
|
|
86
|
+
cursor: 'not-allowed',
|
|
74
87
|
},
|
|
75
88
|
_loading: {
|
|
76
|
-
cursor: 'wait',
|
|
77
89
|
backgroundColor: 'neutral.93',
|
|
78
90
|
borderColor: 'neutral.93',
|
|
79
91
|
color: 'neutral.60',
|
|
92
|
+
cursor: 'wait',
|
|
80
93
|
},
|
|
81
94
|
},
|
|
82
95
|
icon: {
|
|
@@ -85,23 +98,10 @@ const baseStyle = definePartsStyle(({ colorScheme }) => {
|
|
|
85
98
|
label: {
|
|
86
99
|
display: 'inline',
|
|
87
100
|
},
|
|
88
|
-
closeButton: {
|
|
89
|
-
marginInlineStart: '4',
|
|
90
|
-
borderRadius: rem(2),
|
|
91
|
-
_hover: {
|
|
92
|
-
backgroundColor: `${colorScheme}.90`,
|
|
93
|
-
},
|
|
94
|
-
_focus: {
|
|
95
|
-
boxShadow: '0 0 0 1px var(--colors-purple-70) inset',
|
|
96
|
-
},
|
|
97
|
-
_disabled: {
|
|
98
|
-
pointerEvents: 'none',
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
101
|
skeleton: {
|
|
102
|
-
minWidth: '32',
|
|
103
|
-
height: '8',
|
|
104
102
|
backgroundColor: 'neutral.80',
|
|
103
|
+
height: '8',
|
|
104
|
+
minWidth: '32',
|
|
105
105
|
},
|
|
106
106
|
};
|
|
107
107
|
});
|
|
@@ -25,19 +25,19 @@ const Tag = (props: TagProps) => {
|
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
27
|
<ChakraTag
|
|
28
|
+
aria-busy={isLoading}
|
|
28
29
|
aria-disabled={isDisabled}
|
|
29
30
|
data-disabled={isDisabled || undefined}
|
|
30
|
-
aria-busy={isLoading}
|
|
31
31
|
data-loading={isLoading || undefined}
|
|
32
32
|
sx={style.container}
|
|
33
33
|
{...tagProps}
|
|
34
34
|
>
|
|
35
35
|
{(withIcon || !!iconName) && (
|
|
36
36
|
<Icon
|
|
37
|
+
__css={style.icon}
|
|
37
38
|
color={iconColor}
|
|
38
39
|
name={iconName || 'Tick'}
|
|
39
40
|
size={tagProps.size === 'sm' ? '16' : '24'}
|
|
40
|
-
__css={style.icon}
|
|
41
41
|
/>
|
|
42
42
|
)}
|
|
43
43
|
<Text as="span" hasEllipsis sx={style.label}>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Text as ChakraText, TextProps as ChakraTextProps
|
|
1
|
+
import { forwardRef, ResponsiveValue, Text as ChakraText, TextProps as ChakraTextProps } from '@chakra-ui/react';
|
|
2
2
|
import { TextSizes } from '../../Foundations/Typography/Typography';
|
|
3
3
|
|
|
4
4
|
export interface TextProps extends ChakraTextProps {
|
|
@@ -17,7 +17,7 @@ export interface TextProps extends ChakraTextProps {
|
|
|
17
17
|
* `Text` component is the used to render text and paragraphs within an interface. It renders a `<p>` tag by default.
|
|
18
18
|
*/
|
|
19
19
|
const Text = forwardRef<TextProps, 'p'>((props, ref) => {
|
|
20
|
-
const { fontWeight, size, textTransform,
|
|
20
|
+
const { fontWeight, hasEllipsis, size, textTransform, ...rest } = props;
|
|
21
21
|
const properties: ChakraTextProps = { fontWeight, size, textTransform, ...rest };
|
|
22
22
|
if (size === '1' && (!textTransform || textTransform === 'none')) {
|
|
23
23
|
properties.textTransform = 'uppercase';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useToast as useChakraToast, UseToastOptions
|
|
1
|
+
import { AlertDescription, AlertTitle, useToast as useChakraToast, UseToastOptions } from '@chakra-ui/react';
|
|
2
2
|
import { DateTime } from 'luxon';
|
|
3
3
|
import Box from '../Box/Box';
|
|
4
4
|
import Notification, { ActionProps, NotificationAction, NotificationProps } from '../Notification/Notification';
|
|
@@ -22,21 +22,21 @@ const useToast = () => {
|
|
|
22
22
|
timestamp = DateTime.now().toFormat('hh:mm:ssa');
|
|
23
23
|
}
|
|
24
24
|
toast({
|
|
25
|
-
isClosable: opts.isClosable,
|
|
26
25
|
duration: opts.duration,
|
|
26
|
+
isClosable: opts.isClosable,
|
|
27
27
|
position: opts.position || 'top-right',
|
|
28
28
|
render: ({ onClose }) => (
|
|
29
29
|
<Notification
|
|
30
30
|
boxShadow="large"
|
|
31
31
|
maxW="437px"
|
|
32
|
-
status={opts.status || 'info'}
|
|
33
32
|
onClose={opts.isClosable ? onClose : undefined}
|
|
33
|
+
status={opts.status || 'info'}
|
|
34
34
|
>
|
|
35
35
|
<Box display="flex" flexDirection="column">
|
|
36
36
|
<AlertTitle>{opts.title}</AlertTitle>
|
|
37
37
|
{opts.description && <AlertDescription>{opts.description}</AlertDescription>}
|
|
38
38
|
{!opts.action && timestamp && <AlertDescription marginTop="8">{timestamp}</AlertDescription>}
|
|
39
|
-
{opts.action && <NotificationAction alignSelf="start"
|
|
39
|
+
{opts.action && <NotificationAction alignSelf="start" marginBottom="4" marginTop="8" {...opts.action} />}
|
|
40
40
|
</Box>
|
|
41
41
|
</Notification>
|
|
42
42
|
),
|
|
@@ -3,85 +3,85 @@ import type { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
|
3
3
|
const ToggleTheme: ComponentStyleConfig = {
|
|
4
4
|
baseStyle: ({ withTooltip }) => {
|
|
5
5
|
return {
|
|
6
|
+
label: {
|
|
7
|
+
fontSize: '3',
|
|
8
|
+
fontWeight: 'normal',
|
|
9
|
+
lineHeight: '1.5rem',
|
|
10
|
+
marginBottom: 0,
|
|
11
|
+
},
|
|
6
12
|
labelWrapper: {
|
|
7
13
|
display: 'flex',
|
|
8
14
|
gap: '8',
|
|
9
15
|
paddingInlineEnd: withTooltip ? '4' : undefined,
|
|
10
16
|
width: withTooltip ? 'fit-content' : undefined,
|
|
11
17
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
height: '
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
isolation: 'isolate',
|
|
21
|
-
_disabled: {
|
|
22
|
-
backgroundColor: 'neutral.93',
|
|
23
|
-
cursor: 'not-allowed',
|
|
24
|
-
},
|
|
18
|
+
spinner: {
|
|
19
|
+
color: 'neutral.70',
|
|
20
|
+
flexShrink: 0,
|
|
21
|
+
height: '16',
|
|
22
|
+
marginTop: '4',
|
|
23
|
+
width: '16',
|
|
24
|
+
},
|
|
25
|
+
thumb: {
|
|
25
26
|
_checked: {
|
|
26
|
-
|
|
27
|
-
_disabled: {
|
|
28
|
-
backgroundColor: 'turquoise.80',
|
|
29
|
-
},
|
|
27
|
+
transform: 'translate(24px)',
|
|
30
28
|
},
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
bgGradient: 'linear(to-b, neutral.93 3.43%, neutral.100 100%)',
|
|
30
|
+
borderRadius: '24',
|
|
31
|
+
height: '1.25rem',
|
|
32
|
+
position: 'relative',
|
|
33
|
+
transition: '100ms',
|
|
34
|
+
width: '1.25rem',
|
|
35
|
+
zIndex: '1',
|
|
36
|
+
},
|
|
37
|
+
track: {
|
|
38
|
+
_after: {
|
|
39
|
+
backgroundImage:
|
|
40
|
+
`/* @see: https://github.com/chakra-ui/chakra-ui/issues/7548#issuecomment-1684034030 */` +
|
|
41
|
+
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 10.608 16.618 6l1.402 1.402-4.608 4.608 4.608 4.608-1.402 1.402-4.608-4.608-4.608 4.608L6 16.618l4.608-4.608L6 7.402 7.402 6l4.608 4.608Z' fill='white' /%3E%3C/svg%3E"),` +
|
|
42
|
+
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 10.608 16.618 6l1.402 1.402-4.608 4.608 4.608 4.608-1.402 1.402-4.608-4.608-4.608 4.608L6 16.618l4.608-4.608L6 7.402 7.402 6l4.608 4.608Z' fill='white' /%3E%3C/svg%3E")`,
|
|
43
|
+
backgroundPositionX: '-0.125rem',
|
|
44
|
+
bottom: 0,
|
|
45
|
+
content: '""',
|
|
46
|
+
left: '50%',
|
|
47
|
+
position: 'absolute',
|
|
48
|
+
right: 0,
|
|
49
|
+
top: 0,
|
|
33
50
|
},
|
|
34
51
|
_before: {
|
|
35
|
-
content: '""',
|
|
36
52
|
backgroundImage:
|
|
37
53
|
`/* @see: https://github.com/chakra-ui/chakra-ui/issues/7548#issuecomment-1684034030 */` +
|
|
38
54
|
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.213 13.915 17.234 7l1.49 1.49L10.212 17 5 11.68l1.49-1.489 3.723 3.724Z' fill='white' /%3E%3C/svg%3E"),` +
|
|
39
55
|
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.213 13.915 17.234 7l1.49 1.49L10.212 17 5 11.68l1.49-1.489 3.723 3.724Z' fill='white' /%3E%3C/svg%3E")`,
|
|
40
56
|
backgroundPositionX: '0.125rem',
|
|
41
|
-
position: 'absolute',
|
|
42
|
-
left: 0,
|
|
43
|
-
right: '50%',
|
|
44
|
-
top: 0,
|
|
45
57
|
bottom: 0,
|
|
46
|
-
},
|
|
47
|
-
_after: {
|
|
48
58
|
content: '""',
|
|
49
|
-
|
|
50
|
-
`/* @see: https://github.com/chakra-ui/chakra-ui/issues/7548#issuecomment-1684034030 */` +
|
|
51
|
-
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 10.608 16.618 6l1.402 1.402-4.608 4.608 4.608 4.608-1.402 1.402-4.608-4.608-4.608 4.608L6 16.618l4.608-4.608L6 7.402 7.402 6l4.608 4.608Z' fill='white' /%3E%3C/svg%3E"),` +
|
|
52
|
-
`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 10.608 16.618 6l1.402 1.402-4.608 4.608 4.608 4.608-1.402 1.402-4.608-4.608-4.608 4.608L6 16.618l4.608-4.608L6 7.402 7.402 6l4.608 4.608Z' fill='white' /%3E%3C/svg%3E")`,
|
|
53
|
-
backgroundPositionX: '-0.125rem',
|
|
59
|
+
left: 0,
|
|
54
60
|
position: 'absolute',
|
|
55
|
-
|
|
56
|
-
right: 0,
|
|
61
|
+
right: '50%',
|
|
57
62
|
top: 0,
|
|
58
|
-
bottom: 0,
|
|
59
63
|
},
|
|
60
|
-
},
|
|
61
|
-
thumb: {
|
|
62
|
-
position: 'relative',
|
|
63
|
-
zIndex: '1',
|
|
64
|
-
width: '1.25rem',
|
|
65
|
-
height: '1.25rem',
|
|
66
|
-
borderRadius: '24',
|
|
67
|
-
bgGradient: 'linear(to-b, neutral.93 3.43%, neutral.100 100%)',
|
|
68
|
-
transition: '100ms',
|
|
69
64
|
_checked: {
|
|
70
|
-
|
|
65
|
+
_disabled: {
|
|
66
|
+
backgroundColor: 'turquoise.80',
|
|
67
|
+
},
|
|
68
|
+
backgroundColor: 'turquoise.70',
|
|
71
69
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
70
|
+
_disabled: {
|
|
71
|
+
backgroundColor: 'neutral.93',
|
|
72
|
+
cursor: 'not-allowed',
|
|
73
|
+
},
|
|
74
|
+
_focusVisible: {
|
|
75
|
+
boxShadow: 'outline',
|
|
76
|
+
},
|
|
77
|
+
backgroundColor: 'neutral.50',
|
|
78
|
+
borderRadius: '12',
|
|
79
|
+
boxSizing: 'border-box',
|
|
80
|
+
height: '24',
|
|
81
|
+
isolation: 'isolate',
|
|
82
|
+
padding: '0.125rem',
|
|
83
|
+
transition: '100ms',
|
|
84
|
+
width: '48',
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
87
|
},
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
FormErrorMessage,
|
|
6
6
|
FormHelperText,
|
|
7
7
|
FormLabel,
|
|
8
|
+
forwardRef,
|
|
8
9
|
Switch,
|
|
9
10
|
SwitchProps,
|
|
10
|
-
forwardRef,
|
|
11
11
|
useMultiStyleConfig,
|
|
12
12
|
} from '@chakra-ui/react';
|
|
13
13
|
import Box from '../Box/Box';
|
|
@@ -43,8 +43,8 @@ const Toggle = forwardRef<ToggleProps, 'div'>((props, ref) => {
|
|
|
43
43
|
helperText,
|
|
44
44
|
id,
|
|
45
45
|
isChecked,
|
|
46
|
-
isInvalid,
|
|
47
46
|
isDisabled,
|
|
47
|
+
isInvalid,
|
|
48
48
|
isLoading,
|
|
49
49
|
label,
|
|
50
50
|
name,
|
|
@@ -6,15 +6,15 @@ const { defineMultiStyleConfig } = createMultiStyleConfigHelpers(['content', 'tr
|
|
|
6
6
|
const Toggletip = defineMultiStyleConfig({
|
|
7
7
|
baseStyle: {
|
|
8
8
|
content: {
|
|
9
|
-
padding: '16',
|
|
10
9
|
maxWidth: rem(320),
|
|
10
|
+
padding: '16',
|
|
11
11
|
},
|
|
12
12
|
link: {
|
|
13
|
-
color: 'purple.70',
|
|
14
13
|
_hover: {
|
|
15
14
|
color: 'purple.60',
|
|
16
15
|
textDecoration: 'underline',
|
|
17
16
|
},
|
|
17
|
+
color: 'purple.70',
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ export type ToggletipProps = Omit<PopoverProps, 'children'> & {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
const Toggletip = (props: ToggletipProps) => {
|
|
25
|
-
const { children, label, learnMoreUrl,
|
|
25
|
+
const { button, children, label, learnMoreUrl, popoverTrigger, ...rest } = props;
|
|
26
26
|
|
|
27
27
|
const style = useMultiStyleConfig('Toggletip');
|
|
28
28
|
|
|
@@ -54,9 +54,9 @@ const Toggletip = (props: ToggletipProps) => {
|
|
|
54
54
|
<PopoverContent sx={style.content}>
|
|
55
55
|
<Text>{label}</Text>
|
|
56
56
|
{(learnMoreUrl || button) && (
|
|
57
|
-
<Box display="flex" justifyContent={justifyContent}
|
|
57
|
+
<Box alignItems="center" display="flex" justifyContent={justifyContent} marginTop="16">
|
|
58
58
|
{learnMoreUrl && (
|
|
59
|
-
<Link sx={style.link}
|
|
59
|
+
<Link href={learnMoreUrl} isExternal sx={style.link}>
|
|
60
60
|
Learn more
|
|
61
61
|
</Link>
|
|
62
62
|
)}
|
|
@@ -3,13 +3,13 @@ import type { SystemStyleObject } from '@chakra-ui/theme-tools';
|
|
|
3
3
|
const TooltipTheme: SystemStyleObject = {
|
|
4
4
|
baseStyle: {
|
|
5
5
|
bg: 'neutral.10',
|
|
6
|
+
borderRadius: '8',
|
|
7
|
+
boxShadow: 'tooltip',
|
|
6
8
|
color: 'neutral.95',
|
|
7
9
|
fontSize: '2',
|
|
8
10
|
lineHeight: '1.25rem',
|
|
9
11
|
paddingX: '12',
|
|
10
12
|
paddingY: '8',
|
|
11
|
-
borderRadius: '8',
|
|
12
|
-
boxShadow: 'tooltip',
|
|
13
13
|
zIndex: 'tooltip',
|
|
14
14
|
},
|
|
15
15
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
+
BoxProps,
|
|
3
|
+
chakra,
|
|
4
|
+
forwardRef,
|
|
2
5
|
Tooltip as ChakraTooltip,
|
|
3
6
|
TooltipProps as ChakraTooltipProps,
|
|
4
|
-
forwardRef,
|
|
5
|
-
chakra,
|
|
6
|
-
BoxProps,
|
|
7
7
|
} from '@chakra-ui/react';
|
|
8
8
|
|
|
9
9
|
export interface TooltipProps extends Omit<ChakraTooltipProps, 'shouldWrapChildren'> {
|
|
@@ -19,13 +19,13 @@ const Tooltip = forwardRef<TooltipProps, 'div'>((props, ref) => {
|
|
|
19
19
|
bg: 'neutral.10',
|
|
20
20
|
children,
|
|
21
21
|
hasArrow: true,
|
|
22
|
-
placement: 'top',
|
|
23
22
|
maxWidth: 320,
|
|
23
|
+
placement: 'top',
|
|
24
24
|
...rest,
|
|
25
25
|
};
|
|
26
26
|
if (shouldWrapChildren) {
|
|
27
27
|
properties.children = (
|
|
28
|
-
<chakra.span
|
|
28
|
+
<chakra.span display={shouldWrapChildren === 'block' ? 'block' : 'inline-block'} sx={wrapperProps} tabIndex={0}>
|
|
29
29
|
{children}
|
|
30
30
|
</chakra.span>
|
|
31
31
|
);
|
|
@@ -11,9 +11,9 @@ const Colors = () => {
|
|
|
11
11
|
<Unstyled>
|
|
12
12
|
<Provider>
|
|
13
13
|
<CommonTokens />
|
|
14
|
-
<Divider
|
|
14
|
+
<Divider marginBottom="32" marginTop="48" size="1" />
|
|
15
15
|
<SystemTokens />
|
|
16
|
-
<Divider
|
|
16
|
+
<Divider marginBottom="32" marginTop="48" size="1" />
|
|
17
17
|
<Palette />
|
|
18
18
|
</Provider>
|
|
19
19
|
</Unstyled>
|
|
@@ -7,12 +7,12 @@ const commonColorKeys = ['background', 'border', 'icon', 'text'];
|
|
|
7
7
|
|
|
8
8
|
const CommonTokens = () => (
|
|
9
9
|
<>
|
|
10
|
-
<Text as="h2"
|
|
10
|
+
<Text as="h2" color="pal.purple.10" fontWeight="normal" marginBlockEnd="8" size="8">
|
|
11
11
|
Common Tokens
|
|
12
12
|
</Text>
|
|
13
13
|
<Card boxShadow="medium" padding="24">
|
|
14
14
|
{commonColorKeys.map((groupName) => (
|
|
15
|
-
<TokenTable data={semanticTokens.colors[groupName]} groupName={groupName}
|
|
15
|
+
<TokenTable key={groupName} data={semanticTokens.colors[groupName]} groupName={groupName} marginBottom="24" />
|
|
16
16
|
))}
|
|
17
17
|
</Card>
|
|
18
18
|
</>
|