@bitrise/bitkit 12.83.0 → 12.85.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 +4 -3
- 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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit",
|
|
3
3
|
"description": "Bitrise React component library",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.85.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@emotion/react": "^11.11.3",
|
|
36
36
|
"@emotion/styled": "^11.11.0",
|
|
37
37
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
38
|
-
"framer-motion": "^
|
|
38
|
+
"framer-motion": "^11.0.3",
|
|
39
39
|
"luxon": "^3.4.4",
|
|
40
40
|
"react": "^18.2.0",
|
|
41
41
|
"react-dom": "^18.2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@babel/preset-env": "^7.23.9",
|
|
52
52
|
"@babel/preset-react": "^7.23.3",
|
|
53
53
|
"@babel/preset-typescript": "^7.23.3",
|
|
54
|
-
"@bitrise/eslint-plugin": "^2.
|
|
54
|
+
"@bitrise/eslint-plugin": "^2.5.0",
|
|
55
55
|
"@chakra-ui/cli": "^2.4.1",
|
|
56
56
|
"@google-cloud/storage": "^7.7.0",
|
|
57
57
|
"@storybook/addon-actions": "^7.6.10",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@types/react-dom": "^18.2.18",
|
|
74
74
|
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
|
75
75
|
"@typescript-eslint/parser": "^6.19.1",
|
|
76
|
-
"axios": "^1.6.
|
|
76
|
+
"axios": "^1.6.7",
|
|
77
77
|
"eslint": "^8.56.0",
|
|
78
78
|
"eslint-plugin-import": "^2.29.1",
|
|
79
79
|
"eslint-plugin-jest": "^27.6.3",
|
|
@@ -16,7 +16,7 @@ const Accordion = (props: AccordionProps) => {
|
|
|
16
16
|
const { children, defaultIndex, ...rest } = props;
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
|
-
<ChakraAccordion allowMultiple
|
|
19
|
+
<ChakraAccordion allowMultiple defaultIndex={defaultIndex} reduceMotion={prefersReducedMotion} {...rest}>
|
|
20
20
|
{children}
|
|
21
21
|
</ChakraAccordion>
|
|
22
22
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import {
|
|
3
|
+
AccordionButton,
|
|
4
|
+
AccordionIcon,
|
|
3
5
|
AccordionItem as ChakraAccordionItem,
|
|
4
6
|
AccordionItemProps as ChakraAccordionItemProps,
|
|
5
|
-
AccordionButton,
|
|
6
7
|
AccordionPanel,
|
|
7
|
-
AccordionIcon,
|
|
8
|
-
useAccordionStyles,
|
|
9
8
|
CollapseProps,
|
|
9
|
+
useAccordionStyles,
|
|
10
10
|
} from '@chakra-ui/react';
|
|
11
11
|
|
|
12
12
|
export interface AccordionItemProps {
|
|
@@ -21,7 +21,7 @@ const AccordionItem = (props: AccordionItemProps) => {
|
|
|
21
21
|
const styles = useAccordionStyles();
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
|
-
<ChakraAccordionItem sx={styles.item}
|
|
24
|
+
<ChakraAccordionItem id={id} sx={styles.item}>
|
|
25
25
|
{(renderProps) => (
|
|
26
26
|
<>
|
|
27
27
|
<AccordionButton sx={styles.button}>
|
|
@@ -21,100 +21,100 @@ type VariantObj = {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
const buttonStyle = {
|
|
24
|
-
display: 'flex',
|
|
25
24
|
alignItems: 'center',
|
|
25
|
+
borderBottom: '1px solid',
|
|
26
|
+
display: 'flex',
|
|
26
27
|
justifyContent: 'space-between',
|
|
27
|
-
width: '100%',
|
|
28
28
|
padding: '16',
|
|
29
|
-
|
|
29
|
+
width: '100%',
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
const iconStyle = {
|
|
33
|
-
width: '24',
|
|
34
33
|
height: '24',
|
|
35
34
|
marginLeft: '16',
|
|
35
|
+
width: '24',
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
const colors: ColorObj = {
|
|
39
|
-
white: {
|
|
40
|
-
enabledButton: 'neutral.100',
|
|
41
|
-
disabledButton: 'neutral.100',
|
|
42
|
-
enabledIcon: 'currentColor',
|
|
43
|
-
disabledIcon: 'currentColor',
|
|
44
|
-
hover: 'purple.95',
|
|
45
|
-
border: 'neutral.93',
|
|
46
|
-
},
|
|
47
39
|
gray: {
|
|
48
|
-
|
|
40
|
+
border: 'neutral.93',
|
|
49
41
|
disabledButton: 'neutral.95',
|
|
50
|
-
enabledIcon: 'currentColor',
|
|
51
42
|
disabledIcon: 'currentColor',
|
|
43
|
+
enabledButton: 'neutral.95',
|
|
44
|
+
enabledIcon: 'currentColor',
|
|
52
45
|
hover: 'purple.95',
|
|
53
|
-
border: 'neutral.93',
|
|
54
46
|
},
|
|
55
47
|
orange: {
|
|
56
|
-
|
|
48
|
+
border: 'orange.90',
|
|
57
49
|
disabledButton: 'orange.93',
|
|
58
|
-
enabledIcon: 'orange.10',
|
|
59
50
|
disabledIcon: 'orange.80',
|
|
51
|
+
enabledButton: 'orange.93',
|
|
52
|
+
enabledIcon: 'orange.10',
|
|
60
53
|
hover: 'orange.93',
|
|
61
|
-
|
|
54
|
+
},
|
|
55
|
+
white: {
|
|
56
|
+
border: 'neutral.93',
|
|
57
|
+
disabledButton: 'neutral.100',
|
|
58
|
+
disabledIcon: 'currentColor',
|
|
59
|
+
enabledButton: 'neutral.100',
|
|
60
|
+
enabledIcon: 'currentColor',
|
|
61
|
+
hover: 'purple.95',
|
|
62
62
|
},
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
const variants: VariantObj = {
|
|
66
|
-
legacy: {
|
|
67
|
-
borderRadius: '8',
|
|
68
|
-
marginBottom: '16',
|
|
69
|
-
},
|
|
70
66
|
flat: {
|
|
71
67
|
borderRadius: '0',
|
|
72
68
|
marginBottom: '16',
|
|
73
69
|
},
|
|
70
|
+
legacy: {
|
|
71
|
+
borderRadius: '8',
|
|
72
|
+
marginBottom: '16',
|
|
73
|
+
},
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
const LegacyBaseStyle: ({
|
|
77
77
|
colorScheme,
|
|
78
78
|
variant,
|
|
79
79
|
}: Pick<StyleFunctionProps, 'colorScheme' | 'variant'>) => SystemStyleObject = ({ colorScheme, variant }) => ({
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
disabledButton: {
|
|
81
|
+
...buttonStyle,
|
|
82
|
+
background: colors[colorScheme].disabledButton,
|
|
82
83
|
borderColor: colors[colorScheme].border,
|
|
83
84
|
borderRadius: variants[variant].borderRadius,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
cursor: 'default',
|
|
86
|
+
},
|
|
87
|
+
disabledIcon: {
|
|
88
|
+
...iconStyle,
|
|
89
|
+
color: colors[colorScheme].disabledIcon,
|
|
90
|
+
opacity: '0.4',
|
|
91
|
+
transform: 'none',
|
|
88
92
|
},
|
|
89
93
|
enabledButton: {
|
|
90
94
|
...buttonStyle,
|
|
91
|
-
borderColor: colors[colorScheme].border,
|
|
92
|
-
borderRadius: variants[variant].borderRadius,
|
|
93
|
-
background: colors[colorScheme].enabledButton,
|
|
94
|
-
_hover: {
|
|
95
|
-
background: colors[colorScheme].hover,
|
|
96
|
-
},
|
|
97
95
|
_expanded: {
|
|
98
96
|
borderBottomLeftRadius: '0',
|
|
99
97
|
borderBottomRightRadius: '0',
|
|
100
98
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
background: colors[colorScheme].disabledButton,
|
|
99
|
+
_hover: {
|
|
100
|
+
background: colors[colorScheme].hover,
|
|
101
|
+
},
|
|
102
|
+
background: colors[colorScheme].enabledButton,
|
|
106
103
|
borderColor: colors[colorScheme].border,
|
|
107
|
-
|
|
104
|
+
borderRadius: variants[variant].borderRadius,
|
|
108
105
|
},
|
|
109
106
|
enabledIcon: {
|
|
110
107
|
...iconStyle,
|
|
111
108
|
color: colors[colorScheme].enabledIcon,
|
|
112
109
|
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
110
|
+
item: {
|
|
111
|
+
_last: {
|
|
112
|
+
marginBottom: 0,
|
|
113
|
+
},
|
|
114
|
+
border: variants[variant].border ?? '1px solid',
|
|
115
|
+
borderColor: colors[colorScheme].border,
|
|
116
|
+
borderRadius: variants[variant].borderRadius,
|
|
117
|
+
marginBottom: variants[variant].marginBottom,
|
|
118
118
|
},
|
|
119
119
|
panel: {
|
|
120
120
|
padding: '16',
|
|
@@ -122,28 +122,28 @@ const LegacyBaseStyle: ({
|
|
|
122
122
|
});
|
|
123
123
|
|
|
124
124
|
const BaseStyle: () => SystemStyleObject = () => ({
|
|
125
|
-
item: {
|
|
126
|
-
borderTop: '1px solid',
|
|
127
|
-
borderTopColor: 'neutral.90',
|
|
128
|
-
},
|
|
129
125
|
button: {
|
|
130
|
-
display: 'flex',
|
|
131
|
-
alignItems: 'center',
|
|
132
|
-
justifyContent: 'space-between',
|
|
133
|
-
width: '100%',
|
|
134
|
-
padding: '16',
|
|
135
|
-
borderColor: 'neutral.93',
|
|
136
|
-
_hover: {
|
|
137
|
-
background: 'neutral.93',
|
|
138
|
-
},
|
|
139
126
|
_active: {
|
|
140
127
|
background: 'neutral.90',
|
|
141
128
|
},
|
|
129
|
+
_hover: {
|
|
130
|
+
background: 'neutral.93',
|
|
131
|
+
},
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
borderColor: 'neutral.93',
|
|
134
|
+
display: 'flex',
|
|
135
|
+
justifyContent: 'space-between',
|
|
136
|
+
padding: '16',
|
|
137
|
+
width: '100%',
|
|
142
138
|
},
|
|
143
139
|
icon: {
|
|
144
|
-
width: '24',
|
|
145
140
|
height: '24',
|
|
146
141
|
marginLeft: '16',
|
|
142
|
+
width: '24',
|
|
143
|
+
},
|
|
144
|
+
item: {
|
|
145
|
+
borderTop: '1px solid',
|
|
146
|
+
borderTopColor: 'neutral.90',
|
|
147
147
|
},
|
|
148
148
|
panel: {
|
|
149
149
|
padding: '16',
|
|
@@ -28,7 +28,7 @@ const getItemIds = (props: LegacyAccordionProps) => {
|
|
|
28
28
|
*/
|
|
29
29
|
const LegacyAccordion = (props: LegacyAccordionProps) => {
|
|
30
30
|
const prefersReducedMotion = usePrefersReducedMotion({ ssr: false });
|
|
31
|
-
const { children, colorScheme,
|
|
31
|
+
const { children, colorScheme, onChange, variant, ...rest } = props;
|
|
32
32
|
const itemIds = getItemIds(props);
|
|
33
33
|
|
|
34
34
|
const onAccordionChange = (indexes: ExpandedIndex) => {
|
|
@@ -45,9 +45,9 @@ const LegacyAccordion = (props: LegacyAccordionProps) => {
|
|
|
45
45
|
<ChakraAccordion
|
|
46
46
|
allowMultiple
|
|
47
47
|
colorScheme={colorScheme}
|
|
48
|
-
variant={variant}
|
|
49
|
-
reduceMotion={prefersReducedMotion}
|
|
50
48
|
onChange={onAccordionChange}
|
|
49
|
+
reduceMotion={prefersReducedMotion}
|
|
50
|
+
variant={variant}
|
|
51
51
|
{...rest}
|
|
52
52
|
>
|
|
53
53
|
{children}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isValidElement, ReactNode } from 'react';
|
|
2
2
|
import {
|
|
3
|
+
AccordionButton,
|
|
4
|
+
AccordionIcon,
|
|
3
5
|
AccordionItem as ChakraAccordionItem,
|
|
4
6
|
AccordionItemProps as ChakraAccordionItemProps,
|
|
5
|
-
AccordionButton,
|
|
6
7
|
AccordionPanel,
|
|
7
8
|
AccordionPanelProps,
|
|
8
|
-
AccordionIcon,
|
|
9
9
|
useAccordionStyles,
|
|
10
10
|
} from '@chakra-ui/react';
|
|
11
11
|
import Text from '../Text/Text';
|
|
@@ -21,7 +21,7 @@ const LegacyAccordionItem = (props: LegacyAccordionItemProps) => {
|
|
|
21
21
|
const styles = useAccordionStyles();
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
|
-
<ChakraAccordionItem sx={styles.item}
|
|
24
|
+
<ChakraAccordionItem id={id} sx={styles.item}>
|
|
25
25
|
<AccordionButton sx={children ? styles.enabledButton : styles.disabledButton}>
|
|
26
26
|
{isValidElement(buttonContent) ? buttonContent : <Text as="span">{buttonContent}</Text>}
|
|
27
27
|
<AccordionIcon sx={children ? styles.enabledIcon : styles.disabledIcon} />
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const BadgeTheme = {
|
|
2
2
|
baseStyle: {
|
|
3
|
+
borderRadius: '4',
|
|
3
4
|
display: 'inline-block',
|
|
4
|
-
paddingX: '8',
|
|
5
|
-
paddingTop: '6px',
|
|
6
|
-
paddingBottom: '5px',
|
|
7
5
|
fontSize: '1',
|
|
8
|
-
lineHeight: '11px',
|
|
9
6
|
fontWeight: 'bold',
|
|
7
|
+
lineHeight: '11px',
|
|
8
|
+
paddingBottom: '5px',
|
|
9
|
+
paddingTop: '6px',
|
|
10
|
+
paddingX: '8',
|
|
10
11
|
textTransform: 'uppercase',
|
|
11
|
-
borderRadius: '4',
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -8,8 +8,8 @@ export type BadgeProps = ChakraBadgeProps;
|
|
|
8
8
|
const Badge = forwardRef<BadgeProps, 'span'>((props, ref) => <ChakraBadge {...props} ref={ref} />);
|
|
9
9
|
|
|
10
10
|
Badge.defaultProps = {
|
|
11
|
-
color: 'neutral.100',
|
|
12
11
|
backgroundColor: 'purple.40',
|
|
12
|
+
color: 'neutral.100',
|
|
13
13
|
} as BadgeProps;
|
|
14
14
|
|
|
15
15
|
export default Badge;
|
|
@@ -2,33 +2,33 @@ import type { SystemStyleObject } from '@chakra-ui/theme-tools';
|
|
|
2
2
|
|
|
3
3
|
const BreadcrumbTheme: SystemStyleObject = {
|
|
4
4
|
baseStyle: {
|
|
5
|
-
list: {
|
|
6
|
-
display: 'flex',
|
|
7
|
-
alignItems: 'center',
|
|
8
|
-
},
|
|
9
5
|
item: {
|
|
10
6
|
_last: {
|
|
11
7
|
minWidth: 0,
|
|
12
8
|
},
|
|
13
9
|
},
|
|
14
10
|
link: {
|
|
15
|
-
whiteSpace: 'nowrap',
|
|
16
|
-
overflow: 'hidden',
|
|
17
|
-
textOverflow: 'ellipsis',
|
|
18
|
-
color: 'purple.50',
|
|
19
11
|
_activeLink: {
|
|
20
|
-
color: 'neutral.10',
|
|
21
12
|
_hover: {
|
|
22
13
|
textDecoration: 'none',
|
|
23
14
|
},
|
|
15
|
+
color: 'neutral.10',
|
|
24
16
|
},
|
|
25
17
|
_hover: {
|
|
26
18
|
textDecoration: 'underline',
|
|
27
19
|
},
|
|
20
|
+
color: 'purple.50',
|
|
21
|
+
overflow: 'hidden',
|
|
22
|
+
textOverflow: 'ellipsis',
|
|
23
|
+
whiteSpace: 'nowrap',
|
|
28
24
|
},
|
|
29
|
-
|
|
25
|
+
list: {
|
|
26
|
+
alignItems: 'center',
|
|
30
27
|
display: 'flex',
|
|
28
|
+
},
|
|
29
|
+
separator: {
|
|
31
30
|
color: 'neutral.80',
|
|
31
|
+
display: 'flex',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
};
|
|
@@ -23,8 +23,6 @@ export const disabledStates = {
|
|
|
23
23
|
|
|
24
24
|
const ButtonTheme = {
|
|
25
25
|
baseStyle: {
|
|
26
|
-
border: '0.0625rem solid',
|
|
27
|
-
borderRadius: '4',
|
|
28
26
|
_disabled: {
|
|
29
27
|
cursor: 'not-allowed',
|
|
30
28
|
},
|
|
@@ -33,118 +31,120 @@ const ButtonTheme = {
|
|
|
33
31
|
bg: 'initial',
|
|
34
32
|
},
|
|
35
33
|
},
|
|
34
|
+
border: '0.0625rem solid',
|
|
35
|
+
borderRadius: '4',
|
|
36
|
+
},
|
|
37
|
+
sizes: {
|
|
38
|
+
medium: {
|
|
39
|
+
fontSize: '3',
|
|
40
|
+
height: '48',
|
|
41
|
+
minWidth: '48',
|
|
42
|
+
paddingX: '16',
|
|
43
|
+
},
|
|
44
|
+
small: {
|
|
45
|
+
fontSize: '2',
|
|
46
|
+
height: '32',
|
|
47
|
+
minWidth: '32',
|
|
48
|
+
paddingX: '12',
|
|
49
|
+
},
|
|
36
50
|
},
|
|
37
51
|
variants: {
|
|
38
52
|
primary: {
|
|
53
|
+
_active: {
|
|
54
|
+
bgGradient: 'linear(to-b, purple.10, purple.10)',
|
|
55
|
+
...disabledStates.primary,
|
|
56
|
+
},
|
|
57
|
+
_hover: {
|
|
58
|
+
bgGradient: 'linear(to-b, purple.30, purple.10)',
|
|
59
|
+
...disabledStates.primary,
|
|
60
|
+
},
|
|
39
61
|
bgGradient: 'linear(to-b, purple.40, purple.20)',
|
|
40
62
|
borderColor: 'purple.40',
|
|
41
63
|
color: 'neutral.95',
|
|
42
64
|
fontWeight: 'bold',
|
|
43
|
-
|
|
44
|
-
|
|
65
|
+
...disabledStates.primary,
|
|
66
|
+
},
|
|
67
|
+
'primary--danger': {
|
|
68
|
+
_active: {
|
|
69
|
+
bgGradient: 'linear(to-b, red.20, red.20)',
|
|
70
|
+
borderColor: 'red.20',
|
|
45
71
|
...disabledStates.primary,
|
|
46
72
|
},
|
|
47
|
-
|
|
48
|
-
bgGradient: 'linear(to-b,
|
|
73
|
+
_hover: {
|
|
74
|
+
bgGradient: 'linear(to-b, red.40, red.20)',
|
|
75
|
+
borderColor: 'red.40',
|
|
49
76
|
...disabledStates.primary,
|
|
50
77
|
},
|
|
78
|
+
bgGradient: 'linear(to-b, red.50, red.30)',
|
|
79
|
+
borderColor: 'red.50',
|
|
80
|
+
color: 'neutral.95',
|
|
81
|
+
fontWeight: 'bold',
|
|
51
82
|
...disabledStates.primary,
|
|
52
83
|
},
|
|
53
84
|
secondary: {
|
|
54
|
-
bgGradient: 'linear(to-b, neutral.100, neutral.93)',
|
|
55
|
-
borderColor: 'neutral.90',
|
|
56
|
-
color: 'purple.10',
|
|
57
|
-
_hover: {
|
|
58
|
-
bgGradient: 'linear(to-b, neutral.93, neutral.93)',
|
|
59
|
-
...disabledStates.secondary,
|
|
60
|
-
},
|
|
61
85
|
_active: {
|
|
62
86
|
bgGradient: 'linear(to-b, neutral.90, neutral.90)',
|
|
63
87
|
borderColor: 'neutral.80',
|
|
64
88
|
...disabledStates.secondary,
|
|
65
89
|
},
|
|
66
|
-
...disabledStates.secondary,
|
|
67
|
-
},
|
|
68
|
-
tertiary: {
|
|
69
|
-
background: 'transparent',
|
|
70
|
-
borderColor: 'transparent',
|
|
71
|
-
color: 'purple.50',
|
|
72
|
-
_hover: {
|
|
73
|
-
background: 'neutral.95',
|
|
74
|
-
borderColor: 'neutral.95',
|
|
75
|
-
...disabledStates.tertiary,
|
|
76
|
-
},
|
|
77
|
-
_active: {
|
|
78
|
-
background: 'neutral.90',
|
|
79
|
-
borderColor: 'neutral.90',
|
|
80
|
-
...disabledStates.tertiary,
|
|
81
|
-
},
|
|
82
|
-
...disabledStates.tertiary,
|
|
83
|
-
},
|
|
84
|
-
'primary--danger': {
|
|
85
|
-
bgGradient: 'linear(to-b, red.50, red.30)',
|
|
86
|
-
borderColor: 'red.50',
|
|
87
|
-
color: 'neutral.95',
|
|
88
|
-
fontWeight: 'bold',
|
|
89
90
|
_hover: {
|
|
90
|
-
bgGradient: 'linear(to-b,
|
|
91
|
-
|
|
92
|
-
...disabledStates.primary,
|
|
93
|
-
},
|
|
94
|
-
_active: {
|
|
95
|
-
bgGradient: 'linear(to-b, red.20, red.20)',
|
|
96
|
-
borderColor: 'red.20',
|
|
97
|
-
...disabledStates.primary,
|
|
91
|
+
bgGradient: 'linear(to-b, neutral.93, neutral.93)',
|
|
92
|
+
...disabledStates.secondary,
|
|
98
93
|
},
|
|
99
|
-
...disabledStates.primary,
|
|
100
|
-
},
|
|
101
|
-
'secondary--danger': {
|
|
102
94
|
bgGradient: 'linear(to-b, neutral.100, neutral.93)',
|
|
103
95
|
borderColor: 'neutral.90',
|
|
104
|
-
color: '
|
|
105
|
-
|
|
106
|
-
|
|
96
|
+
color: 'purple.10',
|
|
97
|
+
...disabledStates.secondary,
|
|
98
|
+
},
|
|
99
|
+
'secondary--danger': {
|
|
100
|
+
_active: {
|
|
101
|
+
bgGradient: 'linear(to-b, red.90, red.90)',
|
|
107
102
|
borderColor: 'red.70',
|
|
108
103
|
...disabledStates.secondary,
|
|
109
104
|
},
|
|
110
|
-
|
|
111
|
-
bgGradient: 'linear(to-b, red.
|
|
105
|
+
_hover: {
|
|
106
|
+
bgGradient: 'linear(to-b, red.93, red.93)',
|
|
112
107
|
borderColor: 'red.70',
|
|
113
108
|
...disabledStates.secondary,
|
|
114
109
|
},
|
|
110
|
+
bgGradient: 'linear(to-b, neutral.100, neutral.93)',
|
|
111
|
+
borderColor: 'neutral.90',
|
|
112
|
+
color: 'red.50',
|
|
115
113
|
...disabledStates.secondary,
|
|
116
114
|
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
tertiary: {
|
|
116
|
+
_active: {
|
|
117
|
+
background: 'neutral.90',
|
|
118
|
+
borderColor: 'neutral.90',
|
|
119
|
+
...disabledStates.tertiary,
|
|
120
|
+
},
|
|
121
121
|
_hover: {
|
|
122
|
-
background: '
|
|
123
|
-
borderColor: '
|
|
122
|
+
background: 'neutral.95',
|
|
123
|
+
borderColor: 'neutral.95',
|
|
124
124
|
...disabledStates.tertiary,
|
|
125
125
|
},
|
|
126
|
+
background: 'transparent',
|
|
127
|
+
borderColor: 'transparent',
|
|
128
|
+
color: 'purple.50',
|
|
129
|
+
...disabledStates.tertiary,
|
|
130
|
+
},
|
|
131
|
+
'tertiary--danger': {
|
|
126
132
|
_active: {
|
|
127
133
|
background: 'red.90',
|
|
128
134
|
borderColor: 'red.90',
|
|
129
135
|
...disabledStates.tertiary,
|
|
130
136
|
},
|
|
137
|
+
_hover: {
|
|
138
|
+
background: 'red.93',
|
|
139
|
+
borderColor: 'red.93',
|
|
140
|
+
...disabledStates.tertiary,
|
|
141
|
+
},
|
|
142
|
+
background: 'transparent',
|
|
143
|
+
borderColor: 'transparent',
|
|
144
|
+
color: 'red.50',
|
|
131
145
|
...disabledStates.tertiary,
|
|
132
146
|
},
|
|
133
147
|
},
|
|
134
|
-
sizes: {
|
|
135
|
-
small: {
|
|
136
|
-
minWidth: '32',
|
|
137
|
-
height: '32',
|
|
138
|
-
fontSize: '2',
|
|
139
|
-
paddingX: '12',
|
|
140
|
-
},
|
|
141
|
-
medium: {
|
|
142
|
-
minWidth: '48',
|
|
143
|
-
height: '48',
|
|
144
|
-
fontSize: '3',
|
|
145
|
-
paddingX: '16',
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
export default ButtonTheme;
|
|
@@ -3,11 +3,6 @@ import { CardProps } from './Card';
|
|
|
3
3
|
const CardTheme = {
|
|
4
4
|
baseStyle: ({ as, withHover }: CardProps) => {
|
|
5
5
|
return {
|
|
6
|
-
backgroundColor: 'neutral.100',
|
|
7
|
-
display: 'block',
|
|
8
|
-
width: '100%',
|
|
9
|
-
borderRadius: '8',
|
|
10
|
-
border: '1px solid',
|
|
11
6
|
_focusVisible: {
|
|
12
7
|
boxShadow: 'outline',
|
|
13
8
|
},
|
|
@@ -18,16 +13,21 @@ const CardTheme = {
|
|
|
18
13
|
borderColor: 'neutral.90',
|
|
19
14
|
}
|
|
20
15
|
: undefined,
|
|
16
|
+
backgroundColor: 'neutral.100',
|
|
17
|
+
border: '1px solid',
|
|
18
|
+
borderRadius: '8',
|
|
19
|
+
display: 'block',
|
|
20
|
+
width: '100%',
|
|
21
21
|
};
|
|
22
22
|
},
|
|
23
23
|
variants: {
|
|
24
24
|
elevated: {
|
|
25
|
-
boxShadow: 'medium',
|
|
26
25
|
borderColor: 'neutral.93',
|
|
26
|
+
boxShadow: 'medium',
|
|
27
27
|
},
|
|
28
28
|
outline: {
|
|
29
|
-
boxShadow: 'none',
|
|
30
29
|
borderColor: 'neutral.90',
|
|
30
|
+
boxShadow: 'none',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const sizes = {
|
|
2
|
-
large: {
|
|
3
|
-
medium: {
|
|
4
|
-
small: {
|
|
2
|
+
large: { h: '40', w: '40' },
|
|
3
|
+
medium: { h: '32', w: '32' },
|
|
4
|
+
small: { h: '24', w: '24' },
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle
|
|
8
8
|
const _disabled = {
|
|
9
|
+
background: 'transparent',
|
|
9
10
|
cursor: 'not-allowed',
|
|
10
11
|
opacity: '0.4',
|
|
11
|
-
background: 'transparent',
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const CloseButtonTheme = {
|
|
@@ -21,21 +21,21 @@ const CloseButtonTheme = {
|
|
|
21
21
|
}) {
|
|
22
22
|
if (colorScheme === 'neutral') {
|
|
23
23
|
return {
|
|
24
|
-
|
|
24
|
+
_active: { bg: 'neutral.90' },
|
|
25
|
+
_hover: { bg: 'neutral.95' },
|
|
25
26
|
bg: 'neutral.100',
|
|
27
|
+
borderRadius: '4',
|
|
26
28
|
color: 'purple.10',
|
|
27
|
-
_hover: { bg: 'neutral.95' },
|
|
28
|
-
_active: { bg: 'neutral.90' },
|
|
29
29
|
...sizes[size],
|
|
30
30
|
_disabled,
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
|
|
34
|
+
_active: { bg: `${colorScheme}.90` },
|
|
35
|
+
_hover: { bg: `${colorScheme}.93` },
|
|
35
36
|
bg: `${colorScheme}.95`,
|
|
37
|
+
borderRadius: '4',
|
|
36
38
|
color: `${colorScheme}.40`,
|
|
37
|
-
_hover: { bg: `${colorScheme}.93` },
|
|
38
|
-
_active: { bg: `${colorScheme}.90` },
|
|
39
39
|
...sizes[size],
|
|
40
40
|
_disabled,
|
|
41
41
|
};
|