@bitrise/bitkit 9.26.3 → 9.28.1
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 +2 -2
- package/src/Components/Badge/Badge.tsx +0 -1
- package/src/Components/Box/Box.tsx +0 -1
- package/src/Components/Button/Button.tsx +0 -1
- package/src/Components/ButtonGroup/ButtonGroup.tsx +0 -1
- package/src/Components/Card/Card.tsx +1 -2
- package/src/Components/Card/CardContent.tsx +0 -1
- package/src/Components/CloseButton/CloseButton.tsx +0 -1
- package/src/Components/ColorButton/ColorButton.tsx +0 -1
- package/src/Components/Dialog/Dialog.stories.tsx +57 -0
- package/src/Components/Dialog/Dialog.theme.ts +74 -0
- package/src/Components/Dialog/Dialog.tsx +60 -0
- package/src/Components/Dialog/DialogBody.tsx +9 -0
- package/src/Components/Dialog/DialogFooter.tsx +9 -0
- package/src/Components/Divider/Divider.tsx +0 -1
- package/src/Components/EmptyState/EmptyState.tsx +2 -2
- package/src/Components/Icon/Icon.tsx +0 -1
- package/src/Components/IconButton/IconButton.tsx +0 -1
- package/src/Components/Icons/16x16/Addons.tsx +0 -1
- package/src/Components/Icons/16x16/AddonsTuorqouise.tsx +0 -1
- package/src/Components/Icons/16x16/AddonsViolet.tsx +0 -1
- package/src/Components/Icons/16x16/AddonsWhite.tsx +0 -1
- package/src/Components/Icons/16x16/Anchor.tsx +0 -1
- package/src/Components/Icons/16x16/Android.tsx +0 -1
- package/src/Components/Icons/16x16/App.tsx +0 -1
- package/src/Components/Icons/16x16/Apple.tsx +0 -1
- package/src/Components/Icons/16x16/AppleFill.tsx +0 -1
- package/src/Components/Icons/16x16/ArrowBack.tsx +0 -1
- package/src/Components/Icons/16x16/ArrowDown.tsx +0 -1
- package/src/Components/Icons/16x16/ArrowForward.tsx +0 -1
- package/src/Components/Icons/16x16/ArrowQuit.tsx +0 -1
- package/src/Components/Icons/16x16/ArrowUp.tsx +0 -1
- package/src/Components/Icons/16x16/BackArrow.tsx +0 -1
- package/src/Components/Icons/16x16/Badge3rdParty.tsx +0 -1
- package/src/Components/Icons/16x16/BadgeBitrise.tsx +0 -1
- package/src/Components/Icons/16x16/Bell.tsx +0 -1
- package/src/Components/Icons/16x16/Bitbot.tsx +0 -1
- package/src/Components/Icons/16x16/BitbotError.tsx +0 -1
- package/src/Components/Icons/16x16/BitbucketBlue.tsx +0 -1
- package/src/Components/Icons/16x16/BitbucketPlain.tsx +0 -1
- package/src/Components/Icons/16x16/BitbucketShadedWhite.tsx +0 -1
- package/src/Components/Icons/16x16/Book.tsx +0 -1
- package/src/Components/Icons/16x16/Branch.tsx +0 -1
- package/src/Components/Icons/16x16/Bug.tsx +0 -1
- package/src/Components/Icons/16x16/Build.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusAborted.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusAbortedSolid.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusFailed.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusFailedSolid.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusLoading.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusLoadingAnimated.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusNeverbuilt.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusProgressEggplant.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusProgressWhite.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusSuccessful.tsx +0 -1
- package/src/Components/Icons/16x16/BuildstatusSuccessfulSolid.tsx +0 -1
- package/src/Components/Icons/16x16/Bulletpoint.tsx +0 -1
- package/src/Components/Icons/16x16/Cache.tsx +0 -1
- package/src/Components/Icons/16x16/Calendar.tsx +0 -1
- package/src/Components/Icons/16x16/ChangePlan.tsx +0 -1
- package/src/Components/Icons/16x16/Chat.tsx +0 -1
- package/src/Components/Icons/16x16/ChatMessage.tsx +0 -1
- package/src/Components/Icons/16x16/ChevronDown.tsx +0 -1
- package/src/Components/Icons/16x16/ChevronLeft.tsx +0 -1
- package/src/Components/Icons/16x16/ChevronRight.tsx +0 -1
- package/src/Components/Icons/16x16/ChevronUp.tsx +0 -1
- package/src/Components/Icons/16x16/Clock.tsx +0 -1
- package/src/Components/Icons/16x16/CloseSmall.tsx +0 -1
- package/src/Components/Icons/16x16/Code.tsx +0 -1
- package/src/Components/Icons/16x16/CodeSigning.tsx +0 -1
- package/src/Components/Icons/16x16/Coffee.tsx +0 -1
- package/src/Components/Icons/16x16/Commit.tsx +0 -1
- package/src/Components/Icons/16x16/Conference.tsx +0 -1
- package/src/Components/Icons/16x16/Cordova.tsx +0 -1
- package/src/Components/Icons/16x16/Cpu.tsx +0 -1
- package/src/Components/Icons/16x16/Creditcard.tsx +0 -1
- package/src/Components/Icons/16x16/Credits.tsx +0 -1
- package/src/Components/Icons/16x16/Cycle.tsx +0 -1
- package/src/Components/Icons/16x16/DeleteNope.tsx +0 -1
- package/src/Components/Icons/16x16/Deployment.tsx +0 -1
- package/src/Components/Icons/16x16/Doc.tsx +0 -1
- package/src/Components/Icons/16x16/Dollars.tsx +0 -1
- package/src/Components/Icons/16x16/Download.tsx +0 -1
- package/src/Components/Icons/16x16/DropdownArrows.tsx +0 -1
- package/src/Components/Icons/16x16/Dudes.tsx +0 -1
- package/src/Components/Icons/16x16/Duplicate.tsx +0 -1
- package/src/Components/Icons/16x16/Enterprise.tsx +0 -1
- package/src/Components/Icons/16x16/ErrorGeneral.tsx +0 -1
- package/src/Components/Icons/16x16/Expand.tsx +0 -1
- package/src/Components/Icons/16x16/Fastlane.tsx +0 -1
- package/src/Components/Icons/16x16/FileDoc.tsx +0 -1
- package/src/Components/Icons/16x16/FilePdf.tsx +0 -1
- package/src/Components/Icons/16x16/FilePlist.tsx +0 -1
- package/src/Components/Icons/16x16/FileZip.tsx +0 -1
- package/src/Components/Icons/16x16/Filter.tsx +0 -1
- package/src/Components/Icons/16x16/Flag.tsx +0 -1
- package/src/Components/Icons/16x16/Flutter.tsx +0 -1
- package/src/Components/Icons/16x16/Folder.tsx +0 -1
- package/src/Components/Icons/16x16/Fullscreen.tsx +0 -1
- package/src/Components/Icons/16x16/FullscreenExit.tsx +0 -1
- package/src/Components/Icons/16x16/Gauge.tsx +0 -1
- package/src/Components/Icons/16x16/Github.tsx +0 -1
- package/src/Components/Icons/16x16/GitlabColor.tsx +0 -1
- package/src/Components/Icons/16x16/GitlabPlain.tsx +0 -1
- package/src/Components/Icons/16x16/GitlabShadedWhite.tsx +0 -1
- package/src/Components/Icons/16x16/Globe.tsx +0 -1
- package/src/Components/Icons/16x16/Go.tsx +0 -1
- package/src/Components/Icons/16x16/Group.tsx +0 -1
- package/src/Components/Icons/16x16/Heart.tsx +0 -1
- package/src/Components/Icons/16x16/HidePassword.tsx +0 -1
- package/src/Components/Icons/16x16/History.tsx +0 -1
- package/src/Components/Icons/16x16/Image.tsx +0 -1
- package/src/Components/Icons/16x16/Info.tsx +0 -1
- package/src/Components/Icons/16x16/Interaction.tsx +0 -1
- package/src/Components/Icons/16x16/Invoice.tsx +0 -1
- package/src/Components/Icons/16x16/Ionic.tsx +0 -1
- package/src/Components/Icons/16x16/Japanese.tsx +0 -1
- package/src/Components/Icons/16x16/Key.tsx +0 -1
- package/src/Components/Icons/16x16/Laptop.tsx +0 -1
- package/src/Components/Icons/16x16/Lightbulb.tsx +0 -1
- package/src/Components/Icons/16x16/Link.tsx +0 -1
- package/src/Components/Icons/16x16/Lock.tsx +0 -1
- package/src/Components/Icons/16x16/Login.tsx +0 -1
- package/src/Components/Icons/16x16/Logout.tsx +0 -1
- package/src/Components/Icons/16x16/Macos.tsx +0 -1
- package/src/Components/Icons/16x16/Magnifier.tsx +0 -1
- package/src/Components/Icons/16x16/Mail.tsx +0 -1
- package/src/Components/Icons/16x16/MenuGrid.tsx +0 -1
- package/src/Components/Icons/16x16/MenuHamburger.tsx +0 -1
- package/src/Components/Icons/16x16/Message.tsx +0 -1
- package/src/Components/Icons/16x16/MinusClose.tsx +0 -1
- package/src/Components/Icons/16x16/MinusRemove.tsx +0 -1
- package/src/Components/Icons/16x16/Mobile.tsx +0 -1
- package/src/Components/Icons/16x16/MoreHorizontal.tsx +0 -1
- package/src/Components/Icons/16x16/MoreVertical.tsx +0 -1
- package/src/Components/Icons/16x16/News.tsx +0 -1
- package/src/Components/Icons/16x16/NoTie.tsx +0 -1
- package/src/Components/Icons/16x16/Nodejs.tsx +0 -1
- package/src/Components/Icons/16x16/Numero.tsx +0 -1
- package/src/Components/Icons/16x16/OpenInBrowser.tsx +0 -1
- package/src/Components/Icons/16x16/Other.tsx +0 -1
- package/src/Components/Icons/16x16/Overview.tsx +0 -1
- package/src/Components/Icons/16x16/Owner.tsx +0 -1
- package/src/Components/Icons/16x16/Pause.tsx +0 -1
- package/src/Components/Icons/16x16/Pencil.tsx +0 -1
- package/src/Components/Icons/16x16/Percent.tsx +0 -1
- package/src/Components/Icons/16x16/Person.tsx +0 -1
- package/src/Components/Icons/16x16/Play.tsx +0 -1
- package/src/Components/Icons/16x16/PlusAdd.tsx +0 -1
- package/src/Components/Icons/16x16/PlusOpen.tsx +0 -1
- package/src/Components/Icons/16x16/Podcast.tsx +0 -1
- package/src/Components/Icons/16x16/Power.tsx +0 -1
- package/src/Components/Icons/16x16/ProgressEggplant.tsx +0 -1
- package/src/Components/Icons/16x16/ProgressViolet.tsx +0 -1
- package/src/Components/Icons/16x16/ProgressWhite.tsx +0 -1
- package/src/Components/Icons/16x16/Pull.tsx +0 -1
- package/src/Components/Icons/16x16/Push.tsx +0 -1
- package/src/Components/Icons/16x16/ReactIcon.tsx +0 -1
- package/src/Components/Icons/16x16/Refresh.tsx +0 -1
- package/src/Components/Icons/16x16/Request.tsx +0 -1
- package/src/Components/Icons/16x16/Responsiveness.tsx +0 -1
- package/src/Components/Icons/16x16/SampleApp.tsx +0 -1
- package/src/Components/Icons/16x16/Save.tsx +0 -1
- package/src/Components/Icons/16x16/Screenshare.tsx +0 -1
- package/src/Components/Icons/16x16/SecurityShield.tsx +0 -1
- package/src/Components/Icons/16x16/Settings.tsx +0 -1
- package/src/Components/Icons/16x16/Ship.tsx +0 -1
- package/src/Components/Icons/16x16/ShowPassword.tsx +0 -1
- package/src/Components/Icons/16x16/Shuffle.tsx +0 -1
- package/src/Components/Icons/16x16/Stability.tsx +0 -1
- package/src/Components/Icons/16x16/Stack.tsx +0 -1
- package/src/Components/Icons/16x16/Star.tsx +0 -1
- package/src/Components/Icons/16x16/Status.tsx +0 -1
- package/src/Components/Icons/16x16/StepUpgrade.tsx +0 -1
- package/src/Components/Icons/16x16/StepVersionOk.tsx +0 -1
- package/src/Components/Icons/16x16/Steps.tsx +0 -1
- package/src/Components/Icons/16x16/StepsTuorqouise.tsx +0 -1
- package/src/Components/Icons/16x16/StepsViolet.tsx +0 -1
- package/src/Components/Icons/16x16/StepsWhite.tsx +0 -1
- package/src/Components/Icons/16x16/StepstatusSkip.tsx +0 -1
- package/src/Components/Icons/16x16/StepstatusWarning.tsx +0 -1
- package/src/Components/Icons/16x16/Stopwatch.tsx +0 -1
- package/src/Components/Icons/16x16/Support.tsx +0 -1
- package/src/Components/Icons/16x16/Swag.tsx +0 -1
- package/src/Components/Icons/16x16/Tag.tsx +0 -1
- package/src/Components/Icons/16x16/TestFailed.tsx +0 -1
- package/src/Components/Icons/16x16/TestInconclusive.tsx +0 -1
- package/src/Components/Icons/16x16/TestInfo.tsx +0 -1
- package/src/Components/Icons/16x16/TestInprogress.tsx +0 -1
- package/src/Components/Icons/16x16/TestSkipped.tsx +0 -1
- package/src/Components/Icons/16x16/TestSuccess.tsx +0 -1
- package/src/Components/Icons/16x16/TestWarning.tsx +0 -1
- package/src/Components/Icons/16x16/Testing.tsx +0 -1
- package/src/Components/Icons/16x16/Tick.tsx +0 -1
- package/src/Components/Icons/16x16/Time.tsx +0 -1
- package/src/Components/Icons/16x16/Tools.tsx +0 -1
- package/src/Components/Icons/16x16/Trace.tsx +0 -1
- package/src/Components/Icons/16x16/Trash.tsx +0 -1
- package/src/Components/Icons/16x16/Trigger.tsx +0 -1
- package/src/Components/Icons/16x16/Twitter.tsx +0 -1
- package/src/Components/Icons/16x16/ValidateShield.tsx +0 -1
- package/src/Components/Icons/16x16/Video.tsx +0 -1
- package/src/Components/Icons/16x16/Warning.tsx +0 -1
- package/src/Components/Icons/16x16/WebUi.tsx +0 -1
- package/src/Components/Icons/16x16/Webhooks.tsx +0 -1
- package/src/Components/Icons/16x16/Webinar.tsx +0 -1
- package/src/Components/Icons/16x16/Window.tsx +0 -1
- package/src/Components/Icons/16x16/Workflow.tsx +0 -1
- package/src/Components/Icons/16x16/WorkflowFlow.tsx +0 -1
- package/src/Components/Icons/16x16/Wow.tsx +0 -1
- package/src/Components/Icons/16x16/Xamarin.tsx +0 -1
- package/src/Components/Icons/24x24/Addons.tsx +0 -1
- package/src/Components/Icons/24x24/AddonsTuorqouise.tsx +0 -1
- package/src/Components/Icons/24x24/AddonsViolet.tsx +0 -1
- package/src/Components/Icons/24x24/AddonsWhite.tsx +0 -1
- package/src/Components/Icons/24x24/Anchor.tsx +0 -1
- package/src/Components/Icons/24x24/Android.tsx +0 -1
- package/src/Components/Icons/24x24/App.tsx +0 -1
- package/src/Components/Icons/24x24/Apple.tsx +0 -1
- package/src/Components/Icons/24x24/AppleFill.tsx +0 -1
- package/src/Components/Icons/24x24/ArrowBack.tsx +0 -1
- package/src/Components/Icons/24x24/ArrowDown.tsx +0 -1
- package/src/Components/Icons/24x24/ArrowForward.tsx +0 -1
- package/src/Components/Icons/24x24/ArrowQuit.tsx +0 -1
- package/src/Components/Icons/24x24/ArrowUp.tsx +0 -1
- package/src/Components/Icons/24x24/BackArrow.tsx +0 -1
- package/src/Components/Icons/24x24/Badge3rdParty.tsx +0 -1
- package/src/Components/Icons/24x24/BadgeBitrise.tsx +0 -1
- package/src/Components/Icons/24x24/Bell.tsx +0 -1
- package/src/Components/Icons/24x24/Bitbot.tsx +0 -1
- package/src/Components/Icons/24x24/BitbotError.tsx +0 -1
- package/src/Components/Icons/24x24/BitbucketBlue.tsx +0 -1
- package/src/Components/Icons/24x24/BitbucketPlain.tsx +0 -1
- package/src/Components/Icons/24x24/BitbucketShadedWhite.tsx +0 -1
- package/src/Components/Icons/24x24/Book.tsx +0 -1
- package/src/Components/Icons/24x24/Branch.tsx +0 -1
- package/src/Components/Icons/24x24/Bug.tsx +0 -1
- package/src/Components/Icons/24x24/Build.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusAborted.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusAbortedSolid.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusFailed.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusFailedSolid.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusLoading.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusLoadingAnimated.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusNeverbuilt.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusProgressEggplant.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusProgressWhite.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusSuccessful.tsx +0 -1
- package/src/Components/Icons/24x24/BuildstatusSuccessfulSolid.tsx +0 -1
- package/src/Components/Icons/24x24/Bulletpoint.tsx +0 -1
- package/src/Components/Icons/24x24/Cache.tsx +0 -1
- package/src/Components/Icons/24x24/Calendar.tsx +0 -1
- package/src/Components/Icons/24x24/ChangePlan.tsx +0 -1
- package/src/Components/Icons/24x24/Chat.tsx +0 -1
- package/src/Components/Icons/24x24/ChatMessage.tsx +0 -1
- package/src/Components/Icons/24x24/ChevronDown.tsx +0 -1
- package/src/Components/Icons/24x24/ChevronLeft.tsx +0 -1
- package/src/Components/Icons/24x24/ChevronRight.tsx +0 -1
- package/src/Components/Icons/24x24/ChevronUp.tsx +0 -1
- package/src/Components/Icons/24x24/Clock.tsx +0 -1
- package/src/Components/Icons/24x24/CloseSmall.tsx +0 -1
- package/src/Components/Icons/24x24/Code.tsx +0 -1
- package/src/Components/Icons/24x24/CodeSigning.tsx +0 -1
- package/src/Components/Icons/24x24/Coffee.tsx +0 -1
- package/src/Components/Icons/24x24/Commit.tsx +0 -1
- package/src/Components/Icons/24x24/Conference.tsx +0 -1
- package/src/Components/Icons/24x24/Cordova.tsx +0 -1
- package/src/Components/Icons/24x24/Cpu.tsx +0 -1
- package/src/Components/Icons/24x24/Creditcard.tsx +0 -1
- package/src/Components/Icons/24x24/Credits.tsx +0 -1
- package/src/Components/Icons/24x24/Cycle.tsx +0 -1
- package/src/Components/Icons/24x24/DeleteNope.tsx +0 -1
- package/src/Components/Icons/24x24/Deployment.tsx +0 -1
- package/src/Components/Icons/24x24/Doc.tsx +0 -1
- package/src/Components/Icons/24x24/Dollars.tsx +0 -1
- package/src/Components/Icons/24x24/Download.tsx +0 -1
- package/src/Components/Icons/24x24/DropdownArrows.tsx +0 -1
- package/src/Components/Icons/24x24/Dudes.tsx +0 -1
- package/src/Components/Icons/24x24/Duplicate.tsx +0 -1
- package/src/Components/Icons/24x24/Enterprise.tsx +0 -1
- package/src/Components/Icons/24x24/ErrorGeneral.tsx +0 -1
- package/src/Components/Icons/24x24/Expand.tsx +0 -1
- package/src/Components/Icons/24x24/Fastlane.tsx +0 -1
- package/src/Components/Icons/24x24/FileDoc.tsx +0 -1
- package/src/Components/Icons/24x24/FilePdf.tsx +0 -1
- package/src/Components/Icons/24x24/FilePlist.tsx +0 -1
- package/src/Components/Icons/24x24/FileZip.tsx +0 -1
- package/src/Components/Icons/24x24/Filter.tsx +0 -1
- package/src/Components/Icons/24x24/Flag.tsx +0 -1
- package/src/Components/Icons/24x24/Flutter.tsx +0 -1
- package/src/Components/Icons/24x24/Folder.tsx +0 -1
- package/src/Components/Icons/24x24/Fullscreen.tsx +0 -1
- package/src/Components/Icons/24x24/FullscreenExit.tsx +0 -1
- package/src/Components/Icons/24x24/Gauge.tsx +0 -1
- package/src/Components/Icons/24x24/Github.tsx +0 -1
- package/src/Components/Icons/24x24/GitlabColor.tsx +0 -1
- package/src/Components/Icons/24x24/GitlabPlain.tsx +0 -1
- package/src/Components/Icons/24x24/GitlabShadedWhite.tsx +0 -1
- package/src/Components/Icons/24x24/Globe.tsx +0 -1
- package/src/Components/Icons/24x24/Go.tsx +0 -1
- package/src/Components/Icons/24x24/Group.tsx +0 -1
- package/src/Components/Icons/24x24/Heart.tsx +0 -1
- package/src/Components/Icons/24x24/HidePassword.tsx +0 -1
- package/src/Components/Icons/24x24/History.tsx +0 -1
- package/src/Components/Icons/24x24/Image.tsx +0 -1
- package/src/Components/Icons/24x24/Info.tsx +0 -1
- package/src/Components/Icons/24x24/Interaction.tsx +0 -1
- package/src/Components/Icons/24x24/Invoice.tsx +0 -1
- package/src/Components/Icons/24x24/Ionic.tsx +0 -1
- package/src/Components/Icons/24x24/Japanese.tsx +0 -1
- package/src/Components/Icons/24x24/Key.tsx +0 -1
- package/src/Components/Icons/24x24/Laptop.tsx +0 -1
- package/src/Components/Icons/24x24/Lightbulb.tsx +0 -1
- package/src/Components/Icons/24x24/Link.tsx +0 -1
- package/src/Components/Icons/24x24/Lock.tsx +0 -1
- package/src/Components/Icons/24x24/Login.tsx +0 -1
- package/src/Components/Icons/24x24/Logout.tsx +0 -1
- package/src/Components/Icons/24x24/Macos.tsx +0 -1
- package/src/Components/Icons/24x24/Magnifier.tsx +0 -1
- package/src/Components/Icons/24x24/Mail.tsx +0 -1
- package/src/Components/Icons/24x24/MenuGrid.tsx +0 -1
- package/src/Components/Icons/24x24/MenuHamburger.tsx +0 -1
- package/src/Components/Icons/24x24/Message.tsx +0 -1
- package/src/Components/Icons/24x24/MinusClose.tsx +0 -1
- package/src/Components/Icons/24x24/MinusRemove.tsx +0 -1
- package/src/Components/Icons/24x24/Mobile.tsx +0 -1
- package/src/Components/Icons/24x24/MoreHorizontal.tsx +0 -1
- package/src/Components/Icons/24x24/MoreVertical.tsx +0 -1
- package/src/Components/Icons/24x24/News.tsx +0 -1
- package/src/Components/Icons/24x24/NoTie.tsx +0 -1
- package/src/Components/Icons/24x24/Nodejs.tsx +0 -1
- package/src/Components/Icons/24x24/Numero.tsx +0 -1
- package/src/Components/Icons/24x24/OpenInBrowser.tsx +0 -1
- package/src/Components/Icons/24x24/Other.tsx +0 -1
- package/src/Components/Icons/24x24/Overview.tsx +0 -1
- package/src/Components/Icons/24x24/Owner.tsx +0 -1
- package/src/Components/Icons/24x24/Pause.tsx +0 -1
- package/src/Components/Icons/24x24/Pencil.tsx +0 -1
- package/src/Components/Icons/24x24/Percent.tsx +0 -1
- package/src/Components/Icons/24x24/Person.tsx +0 -1
- package/src/Components/Icons/24x24/Play.tsx +0 -1
- package/src/Components/Icons/24x24/PlusAdd.tsx +0 -1
- package/src/Components/Icons/24x24/PlusOpen.tsx +0 -1
- package/src/Components/Icons/24x24/Podcast.tsx +0 -1
- package/src/Components/Icons/24x24/Power.tsx +0 -1
- package/src/Components/Icons/24x24/ProgressEggplant.tsx +0 -1
- package/src/Components/Icons/24x24/ProgressViolet.tsx +0 -1
- package/src/Components/Icons/24x24/ProgressWhite.tsx +0 -1
- package/src/Components/Icons/24x24/Pull.tsx +0 -1
- package/src/Components/Icons/24x24/Push.tsx +0 -1
- package/src/Components/Icons/24x24/ReactIcon.tsx +0 -1
- package/src/Components/Icons/24x24/Refresh.tsx +0 -1
- package/src/Components/Icons/24x24/Request.tsx +0 -1
- package/src/Components/Icons/24x24/Responsiveness.tsx +0 -1
- package/src/Components/Icons/24x24/SampleApp.tsx +0 -1
- package/src/Components/Icons/24x24/Save.tsx +0 -1
- package/src/Components/Icons/24x24/Screenshare.tsx +0 -1
- package/src/Components/Icons/24x24/SecurityShield.tsx +0 -1
- package/src/Components/Icons/24x24/Settings.tsx +0 -1
- package/src/Components/Icons/24x24/Ship.tsx +0 -1
- package/src/Components/Icons/24x24/ShowPassword.tsx +0 -1
- package/src/Components/Icons/24x24/Shuffle.tsx +0 -1
- package/src/Components/Icons/24x24/Stability.tsx +0 -1
- package/src/Components/Icons/24x24/Stack.tsx +0 -1
- package/src/Components/Icons/24x24/Star.tsx +0 -1
- package/src/Components/Icons/24x24/Status.tsx +0 -1
- package/src/Components/Icons/24x24/StepUpgrade.tsx +0 -1
- package/src/Components/Icons/24x24/StepVersionOk.tsx +0 -1
- package/src/Components/Icons/24x24/Steps.tsx +0 -1
- package/src/Components/Icons/24x24/StepsTuorqouise.tsx +0 -1
- package/src/Components/Icons/24x24/StepsViolet.tsx +0 -1
- package/src/Components/Icons/24x24/StepsWhite.tsx +0 -1
- package/src/Components/Icons/24x24/StepstatusSkip.tsx +0 -1
- package/src/Components/Icons/24x24/StepstatusWarning.tsx +0 -1
- package/src/Components/Icons/24x24/Stopwatch.tsx +0 -1
- package/src/Components/Icons/24x24/Support.tsx +0 -1
- package/src/Components/Icons/24x24/Swag.tsx +0 -1
- package/src/Components/Icons/24x24/Tag.tsx +0 -1
- package/src/Components/Icons/24x24/TestFailed.tsx +0 -1
- package/src/Components/Icons/24x24/TestInconclusive.tsx +0 -1
- package/src/Components/Icons/24x24/TestInfo.tsx +0 -1
- package/src/Components/Icons/24x24/TestInprogress.tsx +0 -1
- package/src/Components/Icons/24x24/TestSkipped.tsx +0 -1
- package/src/Components/Icons/24x24/TestSuccess.tsx +0 -1
- package/src/Components/Icons/24x24/TestWarning.tsx +0 -1
- package/src/Components/Icons/24x24/Testing.tsx +0 -1
- package/src/Components/Icons/24x24/Tick.tsx +0 -1
- package/src/Components/Icons/24x24/Time.tsx +0 -1
- package/src/Components/Icons/24x24/Tools.tsx +0 -1
- package/src/Components/Icons/24x24/Trace.tsx +0 -1
- package/src/Components/Icons/24x24/Trash.tsx +0 -1
- package/src/Components/Icons/24x24/Trigger.tsx +0 -1
- package/src/Components/Icons/24x24/Twitter.tsx +0 -1
- package/src/Components/Icons/24x24/ValidateShield.tsx +0 -1
- package/src/Components/Icons/24x24/Video.tsx +0 -1
- package/src/Components/Icons/24x24/Warning.tsx +0 -1
- package/src/Components/Icons/24x24/WebUi.tsx +0 -1
- package/src/Components/Icons/24x24/Webhooks.tsx +0 -1
- package/src/Components/Icons/24x24/Webinar.tsx +0 -1
- package/src/Components/Icons/24x24/Window.tsx +0 -1
- package/src/Components/Icons/24x24/Workflow.tsx +0 -1
- package/src/Components/Icons/24x24/WorkflowFlow.tsx +0 -1
- package/src/Components/Icons/24x24/Wow.tsx +0 -1
- package/src/Components/Icons/24x24/Xamarin.tsx +0 -1
- package/src/Components/Icons/index.stories.tsx +3 -3
- package/src/Components/Link/Link.tsx +0 -1
- package/src/Components/Menu/Menu.tsx +0 -1
- package/src/Components/Menu/MenuButton.tsx +0 -1
- package/src/Components/Menu/MenuItem.tsx +0 -1
- package/src/Components/Menu/MenuList.tsx +0 -1
- package/src/Components/OverflowMenu/OverflowMenu.tsx +0 -1
- package/src/Components/OverflowMenu/OverflowMenuItem.tsx +0 -1
- package/src/Components/Provider/Provider.tsx +0 -1
- package/src/Components/Select/Select.tsx +0 -1
- package/src/Components/Tabs/Tab.tsx +0 -1
- package/src/Components/Tabs/TabList.tsx +0 -1
- package/src/Components/Tabs/TabPanel.tsx +0 -1
- package/src/Components/Tabs/TabPanels.tsx +0 -1
- package/src/Components/Text/Text.tsx +0 -1
- package/src/Components/Toast/Toast.tsx +0 -1
- package/src/Components/Tooltip/Tooltip.tsx +0 -1
- package/src/Old/Button/Button.test.tsx +0 -1
- package/src/Old/Button/Buttons.test.tsx +0 -1
- package/src/Old/Expand/Expand.test.tsx +0 -1
- package/src/Old/Grid/Grid.test.tsx +0 -1
- package/src/Old/Notification/Notification.test.tsx +0 -1
- package/src/index.ts +10 -0
- package/src/theme.ts +2 -0
- package/src/tsconfig.tsbuildinfo +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": "9.
|
|
4
|
+
"version": "9.28.1",
|
|
5
5
|
"repository": "git@github.com:bitrise-io/bitkit.git",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/core": "^7.18.2",
|
|
57
57
|
"@babel/parser": "^7.18.2",
|
|
58
|
-
"@bitrise/eslint-plugin": "
|
|
58
|
+
"@bitrise/eslint-plugin": "2.2.0",
|
|
59
59
|
"@chakra-ui/cli": "^1.9.0",
|
|
60
60
|
"@chakra-ui/storybook-addon": "^1.0.3",
|
|
61
61
|
"@commitlint/cli": "^16.3.0",
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-underscore-dangle */
|
|
2
|
-
import React from 'react';
|
|
3
1
|
import { forwardRef, HTMLChakraProps, useStyleConfig } from '@chakra-ui/react';
|
|
4
2
|
import { Radii } from '../../Foundations/Radii/Radii';
|
|
5
3
|
import { Shadows } from '../../Foundations/Shadows/Shadows';
|
|
@@ -32,6 +30,7 @@ const Card = forwardRef<CardProps, 'div'>((props, ref) => {
|
|
|
32
30
|
(properties as HTMLChakraProps<'button'>).type = 'button';
|
|
33
31
|
}
|
|
34
32
|
if (props.as === 'a' || props.as === 'button') {
|
|
33
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
35
34
|
properties._hover = {
|
|
36
35
|
boxShadow: '0 0 0px 2px var(--colors-purple-50)',
|
|
37
36
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import Button from '../Button/Button';
|
|
3
|
+
import Dialog, { DialogProps, useDialog } from './Dialog';
|
|
4
|
+
import DialogBody from './DialogBody';
|
|
5
|
+
import DialogFooter from './DialogFooter';
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: 'Components/Dialog',
|
|
9
|
+
component: Dialog,
|
|
10
|
+
} as ComponentMeta<typeof Dialog>;
|
|
11
|
+
|
|
12
|
+
const TextContent = () => (
|
|
13
|
+
<p>
|
|
14
|
+
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
|
|
15
|
+
of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
|
|
16
|
+
into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of
|
|
17
|
+
Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus
|
|
18
|
+
PageMaker including versions of Lorem Ipsum.
|
|
19
|
+
</p>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
interface StoryType extends DialogProps {
|
|
23
|
+
lotsOfContent: boolean;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export const WithProps: Story<StoryType> = ({ lotsOfContent, ...props }: StoryType) => {
|
|
27
|
+
const state = useDialog();
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<>
|
|
31
|
+
<Button onClick={state.onOpen}>Open Dialog</Button>
|
|
32
|
+
|
|
33
|
+
<Dialog {...props} state={state}>
|
|
34
|
+
<DialogBody>
|
|
35
|
+
{[...Array(lotsOfContent ? 10 : 1)].map((_key, index) => (
|
|
36
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
37
|
+
<TextContent key={index} />
|
|
38
|
+
))}
|
|
39
|
+
</DialogBody>
|
|
40
|
+
<DialogFooter>
|
|
41
|
+
<Button marginRight="auto" variant="tertiary">
|
|
42
|
+
Tertiary
|
|
43
|
+
</Button>
|
|
44
|
+
<Button variant="secondary">Secondary</Button>
|
|
45
|
+
<Button>Primary</Button>
|
|
46
|
+
</DialogFooter>
|
|
47
|
+
</Dialog>
|
|
48
|
+
</>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
WithProps.args = {
|
|
53
|
+
...Dialog.defaultProps,
|
|
54
|
+
title: 'Title',
|
|
55
|
+
lotsOfContent: false,
|
|
56
|
+
dataTestid: 'test-modal',
|
|
57
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { SystemStyleObject } from '@chakra-ui/theme-tools';
|
|
2
|
+
|
|
3
|
+
const DialogTheme: SystemStyleObject = {
|
|
4
|
+
baseStyle: {
|
|
5
|
+
overlay: {
|
|
6
|
+
backgroundColor: 'rgba(0, 0, 0, .5)',
|
|
7
|
+
},
|
|
8
|
+
dialogContainer: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
justifyContent: 'center',
|
|
11
|
+
alignItems: 'flex-start',
|
|
12
|
+
overflow: 'auto',
|
|
13
|
+
},
|
|
14
|
+
dialog: {
|
|
15
|
+
borderRadius: '8',
|
|
16
|
+
backgroundColor: 'neutral.100',
|
|
17
|
+
boxShadow: 'large',
|
|
18
|
+
marginY: '128',
|
|
19
|
+
},
|
|
20
|
+
header: {
|
|
21
|
+
padding: '24',
|
|
22
|
+
paddingLeft: '30',
|
|
23
|
+
},
|
|
24
|
+
closeButton: {
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
top: '22',
|
|
27
|
+
right: '22',
|
|
28
|
+
width: '40',
|
|
29
|
+
height: '40',
|
|
30
|
+
padding: '8',
|
|
31
|
+
borderRadius: '8',
|
|
32
|
+
},
|
|
33
|
+
body: {
|
|
34
|
+
flex: 1,
|
|
35
|
+
paddingX: '32',
|
|
36
|
+
},
|
|
37
|
+
footer: {
|
|
38
|
+
display: 'flex',
|
|
39
|
+
justifyContent: 'end',
|
|
40
|
+
gap: '16',
|
|
41
|
+
padding: '32',
|
|
42
|
+
paddingTop: '48',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
sizes: {
|
|
46
|
+
small: {
|
|
47
|
+
dialog: {
|
|
48
|
+
maxWidth: '30rem',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
medium: {
|
|
52
|
+
dialog: {
|
|
53
|
+
maxWidth: '40rem',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
large: {
|
|
57
|
+
dialog: {
|
|
58
|
+
maxWidth: '50rem',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
full: {
|
|
62
|
+
dialog: {
|
|
63
|
+
maxW: '100vw',
|
|
64
|
+
minH: '100vh',
|
|
65
|
+
'@supports(min-height: -webkit-fill-available)': {
|
|
66
|
+
minH: '-webkit-fill-available',
|
|
67
|
+
},
|
|
68
|
+
borderRadius: 0,
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default DialogTheme;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Modal,
|
|
4
|
+
ModalOverlay,
|
|
5
|
+
ModalContent,
|
|
6
|
+
ModalCloseButton,
|
|
7
|
+
ModalHeader,
|
|
8
|
+
useBreakpointValue,
|
|
9
|
+
useDisclosure,
|
|
10
|
+
} from '@chakra-ui/react';
|
|
11
|
+
import Icon from '../Icon/Icon';
|
|
12
|
+
import Text from '../Text/Text';
|
|
13
|
+
|
|
14
|
+
type DialogState = {
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
onClose(): void;
|
|
17
|
+
onOpen?(): void;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const useDialog = (): DialogState => {
|
|
21
|
+
const { isOpen, onOpen, onClose } = useDisclosure();
|
|
22
|
+
return {
|
|
23
|
+
isOpen,
|
|
24
|
+
onClose,
|
|
25
|
+
onOpen,
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface DialogProps {
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
dataTestid?: string;
|
|
31
|
+
size?: 'small' | 'medium' | 'large';
|
|
32
|
+
state: DialogState;
|
|
33
|
+
title: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const Dialog = ({ children, dataTestid, state, size, title }: DialogProps) => {
|
|
37
|
+
const dialogSize = useBreakpointValue({ mobile: 'full', desktop: size });
|
|
38
|
+
return (
|
|
39
|
+
<Modal closeOnOverlayClick={false} isOpen={state.isOpen} onClose={state.onClose} size={dialogSize}>
|
|
40
|
+
<ModalOverlay />
|
|
41
|
+
<ModalContent data-testid={dataTestid}>
|
|
42
|
+
<ModalHeader>
|
|
43
|
+
<Text as="h1" size="5">
|
|
44
|
+
{title}
|
|
45
|
+
</Text>
|
|
46
|
+
</ModalHeader>
|
|
47
|
+
<ModalCloseButton>
|
|
48
|
+
<Icon name="CloseSmall" />
|
|
49
|
+
</ModalCloseButton>
|
|
50
|
+
{children}
|
|
51
|
+
</ModalContent>
|
|
52
|
+
</Modal>
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
Dialog.defaultProps = {
|
|
57
|
+
size: 'medium',
|
|
58
|
+
} as DialogProps;
|
|
59
|
+
|
|
60
|
+
export default Dialog;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { useMultiStyleConfig } from '@chakra-ui/react';
|
|
3
3
|
import Box, { BoxProps } from '../Box/Box';
|
|
4
4
|
import Icon, { TypeIconName } from '../Icon/Icon';
|
|
5
5
|
import Text from '../Text/Text';
|
|
6
6
|
|
|
7
7
|
export interface EmptyStateProps extends BoxProps {
|
|
8
|
-
description?:
|
|
8
|
+
description?: ReactNode;
|
|
9
9
|
iconName: TypeIconName;
|
|
10
10
|
maxContentWidth?: string;
|
|
11
11
|
title: string;
|