@oxyhq/bloom 0.1.36 → 0.2.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/lib/commonjs/avatar/Avatar.js +5 -3
- package/lib/commonjs/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/avatar/default-avatar.js +23 -0
- package/lib/commonjs/avatar/default-avatar.js.map +1 -0
- package/lib/commonjs/avatar/index.js +3 -2
- package/lib/commonjs/avatar/index.js.map +1 -1
- package/lib/commonjs/context-menu/index.js +1 -1
- package/lib/commonjs/dialog/Dialog.js +44 -10
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/index.web.js +56 -0
- package/lib/commonjs/dialog/index.web.js.map +1 -0
- package/lib/commonjs/icons/common.js +13 -1
- package/lib/commonjs/icons/common.js.map +1 -1
- package/lib/commonjs/index.js +56 -56
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +386 -0
- package/lib/commonjs/index.web.js.map +1 -0
- package/lib/commonjs/loading/SpinnerIcon.js +3 -1
- package/lib/commonjs/loading/SpinnerIcon.js.map +1 -1
- package/lib/commonjs/menu/index.js +1 -1
- package/lib/commonjs/prompt/Prompt.js +1 -1
- package/lib/commonjs/select/index.js +3 -3
- package/lib/commonjs/select/index.js.map +1 -1
- package/lib/commonjs/text-field/index.js.map +1 -1
- package/lib/commonjs/theme/BloomThemeProvider.js +1 -1
- package/lib/module/avatar/Avatar.js +5 -3
- package/lib/module/avatar/Avatar.js.map +1 -1
- package/lib/module/avatar/default-avatar.js +19 -0
- package/lib/module/avatar/default-avatar.js.map +1 -0
- package/lib/module/avatar/index.js +3 -2
- package/lib/module/avatar/index.js.map +1 -1
- package/lib/module/context-menu/index.js +1 -1
- package/lib/module/context-menu/index.js.map +1 -1
- package/lib/module/dialog/Dialog.js +43 -8
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/index.web.js +16 -0
- package/lib/module/dialog/index.web.js.map +1 -0
- package/lib/module/icons/common.js +13 -1
- package/lib/module/icons/common.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +74 -0
- package/lib/module/index.web.js.map +1 -0
- package/lib/module/loading/SpinnerIcon.js +3 -1
- package/lib/module/loading/SpinnerIcon.js.map +1 -1
- package/lib/module/menu/index.js +2 -2
- package/lib/module/menu/index.js.map +1 -1
- package/lib/module/prompt/Prompt.js +2 -2
- package/lib/module/prompt/Prompt.js.map +1 -1
- package/lib/module/select/index.js +1 -1
- package/lib/module/select/index.js.map +1 -1
- package/lib/module/text-field/index.js.map +1 -1
- package/lib/module/theme/BloomThemeProvider.js +1 -1
- package/lib/module/theme/BloomThemeProvider.js.map +1 -1
- package/lib/typescript/commonjs/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/default-avatar.d.ts +5 -0
- package/lib/typescript/commonjs/avatar/default-avatar.d.ts.map +1 -0
- package/lib/typescript/commonjs/avatar/index.d.ts +3 -1
- package/lib/typescript/commonjs/avatar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.d.ts +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts +4 -0
- package/lib/typescript/commonjs/dialog/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/Accessibility.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Alien.d.ts +1 -1
- package/lib/typescript/commonjs/icons/AndroidLogo.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Apple.d.ts +1 -1
- package/lib/typescript/commonjs/icons/AppleLogo.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Arrow.d.ts +5 -5
- package/lib/typescript/commonjs/icons/ArrowBoxLeft.d.ts +2 -2
- package/lib/typescript/commonjs/icons/ArrowCornerDownRight.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ArrowOutOfBox.d.ts +2 -2
- package/lib/typescript/commonjs/icons/ArrowRotate.d.ts +2 -2
- package/lib/typescript/commonjs/icons/ArrowShareRight.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ArrowTopCircle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ArrowTriangle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ArrowsDiagonal.d.ts +4 -4
- package/lib/typescript/commonjs/icons/AspectRatio.d.ts +3 -3
- package/lib/typescript/commonjs/icons/At.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Atom.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Bars.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Beaker.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Bell.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Bell2.d.ts +4 -4
- package/lib/typescript/commonjs/icons/BellPlus.d.ts +1 -1
- package/lib/typescript/commonjs/icons/BellRinging.d.ts +2 -2
- package/lib/typescript/commonjs/icons/BirthdayCake.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Bookmark.d.ts +3 -3
- package/lib/typescript/commonjs/icons/Bot.d.ts +2 -2
- package/lib/typescript/commonjs/icons/BroomSparkle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Bubble.d.ts +4 -4
- package/lib/typescript/commonjs/icons/BubbleInfo.d.ts +1 -1
- package/lib/typescript/commonjs/icons/BulletList.d.ts +3 -3
- package/lib/typescript/commonjs/icons/CC.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Calendar.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CalendarClock.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CalendarDays.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Camera.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Car.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Celebrate.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ChainLink.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Check.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Chevron.d.ts +6 -6
- package/lib/typescript/commonjs/icons/Circle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleAndSquare.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleBanSign.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleCheck.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleInfo.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CirclePlus.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleQuestion.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CircleX.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Clipboard.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Clock.d.ts +1 -1
- package/lib/typescript/commonjs/icons/CodeBrackets.d.ts +2 -2
- package/lib/typescript/commonjs/icons/CodeLines.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ColorPalette.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Contacts.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Crop.d.ts +1 -1
- package/lib/typescript/commonjs/icons/DotGrid.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Download.d.ts +1 -1
- package/lib/typescript/commonjs/icons/EditBig.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Emoji.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Envelope.d.ts +3 -3
- package/lib/typescript/commonjs/icons/EnvelopeOpen.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Explosion.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Eye.d.ts +2 -2
- package/lib/typescript/commonjs/icons/EyeSlash.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Filter.d.ts +1 -1
- package/lib/typescript/commonjs/icons/FilterTimeline.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Flag.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Flame.d.ts +1 -1
- package/lib/typescript/commonjs/icons/FlipImage.d.ts +2 -2
- package/lib/typescript/commonjs/icons/FloppyDisk.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Freeze.d.ts +1 -1
- package/lib/typescript/commonjs/icons/GameController.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Gif.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Gift1.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Globe.d.ts +3 -3
- package/lib/typescript/commonjs/icons/Group.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Growth.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Haptic.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Hashtag.d.ts +3 -3
- package/lib/typescript/commonjs/icons/Heart2.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Home.d.ts +3 -3
- package/lib/typescript/commonjs/icons/HomeOpen.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Image.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Key.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Lab.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Leaf.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ListMagnifyingGlass.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ListPlus.d.ts +1 -1
- package/lib/typescript/commonjs/icons/ListSparkle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Live.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Loader.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Lock.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Logo.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Macintosh.d.ts +1 -1
- package/lib/typescript/commonjs/icons/MagnifyingGlass.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Menu.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Message.d.ts +3 -3
- package/lib/typescript/commonjs/icons/Moon.d.ts +1 -1
- package/lib/typescript/commonjs/icons/MusicNote.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Mute.d.ts +1 -1
- package/lib/typescript/commonjs/icons/News2.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Newskie.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Newspaper.d.ts +1 -1
- package/lib/typescript/commonjs/icons/PageText.d.ts +1 -1
- package/lib/typescript/commonjs/icons/PageX.d.ts +1 -1
- package/lib/typescript/commonjs/icons/PaintRoller.d.ts +1 -1
- package/lib/typescript/commonjs/icons/PaperPlane.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Pause.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Pencil.d.ts +3 -3
- package/lib/typescript/commonjs/icons/PeopleRemove2.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Person.d.ts +10 -10
- package/lib/typescript/commonjs/icons/Phone.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Pin.d.ts +2 -2
- package/lib/typescript/commonjs/icons/PinLocation.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Pizza.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Play.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Plus.d.ts +2 -2
- package/lib/typescript/commonjs/icons/QrCode.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Quote.d.ts +5 -5
- package/lib/typescript/commonjs/icons/RaisingHand.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Reply.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Repost.d.ts +4 -4
- package/lib/typescript/commonjs/icons/Rose.d.ts +1 -1
- package/lib/typescript/commonjs/icons/SettingsGear2.d.ts +2 -2
- package/lib/typescript/commonjs/icons/SettingsSlider.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Shaka.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Shapes.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Shield.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Sparkle.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Speaker.d.ts +1 -1
- package/lib/typescript/commonjs/icons/SquareArrowTopRight.d.ts +1 -1
- package/lib/typescript/commonjs/icons/SquareBehindSquare4.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Star.d.ts +2 -2
- package/lib/typescript/commonjs/icons/StarterPack.d.ts +1 -1
- package/lib/typescript/commonjs/icons/StreamingLive.d.ts +1 -1
- package/lib/typescript/commonjs/icons/TEMPLATE.d.ts +2 -2
- package/lib/typescript/commonjs/icons/TextSize.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Ticket.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Times.d.ts +1 -1
- package/lib/typescript/commonjs/icons/TitleCase.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Trash.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Tree.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Trending.d.ts +2 -2
- package/lib/typescript/commonjs/icons/UFO.d.ts +1 -1
- package/lib/typescript/commonjs/icons/UserCircle.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Verified.d.ts +1 -1
- package/lib/typescript/commonjs/icons/VerifiedCheck.d.ts +1 -1
- package/lib/typescript/commonjs/icons/VerifierCheck.d.ts +1 -1
- package/lib/typescript/commonjs/icons/VideoClip.d.ts +2 -2
- package/lib/typescript/commonjs/icons/Warning.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Window.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Wrench.d.ts +1 -1
- package/lib/typescript/commonjs/icons/Zap.d.ts +1 -1
- package/lib/typescript/commonjs/icons/common.d.ts +20 -6
- package/lib/typescript/commonjs/icons/common.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/index.d.ts +1 -1
- package/lib/typescript/commonjs/icons/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +48 -0
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/loading/SpinnerIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/text-field/index.d.ts +2 -2
- package/lib/typescript/commonjs/text-field/index.d.ts.map +1 -1
- package/lib/typescript/module/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/avatar/default-avatar.d.ts +5 -0
- package/lib/typescript/module/avatar/default-avatar.d.ts.map +1 -0
- package/lib/typescript/module/avatar/index.d.ts +3 -1
- package/lib/typescript/module/avatar/index.d.ts.map +1 -1
- package/lib/typescript/module/dialog/Dialog.d.ts +1 -1
- package/lib/typescript/module/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/module/dialog/index.web.d.ts +4 -0
- package/lib/typescript/module/dialog/index.web.d.ts.map +1 -0
- package/lib/typescript/module/icons/Accessibility.d.ts +1 -1
- package/lib/typescript/module/icons/Alien.d.ts +1 -1
- package/lib/typescript/module/icons/AndroidLogo.d.ts +1 -1
- package/lib/typescript/module/icons/Apple.d.ts +1 -1
- package/lib/typescript/module/icons/AppleLogo.d.ts +1 -1
- package/lib/typescript/module/icons/Arrow.d.ts +5 -5
- package/lib/typescript/module/icons/ArrowBoxLeft.d.ts +2 -2
- package/lib/typescript/module/icons/ArrowCornerDownRight.d.ts +1 -1
- package/lib/typescript/module/icons/ArrowOutOfBox.d.ts +2 -2
- package/lib/typescript/module/icons/ArrowRotate.d.ts +2 -2
- package/lib/typescript/module/icons/ArrowShareRight.d.ts +1 -1
- package/lib/typescript/module/icons/ArrowTopCircle.d.ts +1 -1
- package/lib/typescript/module/icons/ArrowTriangle.d.ts +1 -1
- package/lib/typescript/module/icons/ArrowsDiagonal.d.ts +4 -4
- package/lib/typescript/module/icons/AspectRatio.d.ts +3 -3
- package/lib/typescript/module/icons/At.d.ts +2 -2
- package/lib/typescript/module/icons/Atom.d.ts +1 -1
- package/lib/typescript/module/icons/Bars.d.ts +1 -1
- package/lib/typescript/module/icons/Beaker.d.ts +1 -1
- package/lib/typescript/module/icons/Bell.d.ts +2 -2
- package/lib/typescript/module/icons/Bell2.d.ts +4 -4
- package/lib/typescript/module/icons/BellPlus.d.ts +1 -1
- package/lib/typescript/module/icons/BellRinging.d.ts +2 -2
- package/lib/typescript/module/icons/BirthdayCake.d.ts +1 -1
- package/lib/typescript/module/icons/Bookmark.d.ts +3 -3
- package/lib/typescript/module/icons/Bot.d.ts +2 -2
- package/lib/typescript/module/icons/BroomSparkle.d.ts +1 -1
- package/lib/typescript/module/icons/Bubble.d.ts +4 -4
- package/lib/typescript/module/icons/BubbleInfo.d.ts +1 -1
- package/lib/typescript/module/icons/BulletList.d.ts +3 -3
- package/lib/typescript/module/icons/CC.d.ts +2 -2
- package/lib/typescript/module/icons/Calendar.d.ts +1 -1
- package/lib/typescript/module/icons/CalendarClock.d.ts +1 -1
- package/lib/typescript/module/icons/CalendarDays.d.ts +1 -1
- package/lib/typescript/module/icons/Camera.d.ts +2 -2
- package/lib/typescript/module/icons/Car.d.ts +1 -1
- package/lib/typescript/module/icons/Celebrate.d.ts +1 -1
- package/lib/typescript/module/icons/ChainLink.d.ts +1 -1
- package/lib/typescript/module/icons/Check.d.ts +2 -2
- package/lib/typescript/module/icons/Chevron.d.ts +6 -6
- package/lib/typescript/module/icons/Circle.d.ts +1 -1
- package/lib/typescript/module/icons/CircleAndSquare.d.ts +1 -1
- package/lib/typescript/module/icons/CircleBanSign.d.ts +1 -1
- package/lib/typescript/module/icons/CircleCheck.d.ts +1 -1
- package/lib/typescript/module/icons/CircleInfo.d.ts +1 -1
- package/lib/typescript/module/icons/CirclePlus.d.ts +1 -1
- package/lib/typescript/module/icons/CircleQuestion.d.ts +1 -1
- package/lib/typescript/module/icons/CircleX.d.ts +1 -1
- package/lib/typescript/module/icons/Clipboard.d.ts +1 -1
- package/lib/typescript/module/icons/Clock.d.ts +1 -1
- package/lib/typescript/module/icons/CodeBrackets.d.ts +2 -2
- package/lib/typescript/module/icons/CodeLines.d.ts +1 -1
- package/lib/typescript/module/icons/ColorPalette.d.ts +1 -1
- package/lib/typescript/module/icons/Contacts.d.ts +2 -2
- package/lib/typescript/module/icons/Crop.d.ts +1 -1
- package/lib/typescript/module/icons/DotGrid.d.ts +2 -2
- package/lib/typescript/module/icons/Download.d.ts +1 -1
- package/lib/typescript/module/icons/EditBig.d.ts +2 -2
- package/lib/typescript/module/icons/Emoji.d.ts +4 -4
- package/lib/typescript/module/icons/Envelope.d.ts +3 -3
- package/lib/typescript/module/icons/EnvelopeOpen.d.ts +1 -1
- package/lib/typescript/module/icons/Explosion.d.ts +1 -1
- package/lib/typescript/module/icons/Eye.d.ts +2 -2
- package/lib/typescript/module/icons/EyeSlash.d.ts +1 -1
- package/lib/typescript/module/icons/Filter.d.ts +1 -1
- package/lib/typescript/module/icons/FilterTimeline.d.ts +1 -1
- package/lib/typescript/module/icons/Flag.d.ts +1 -1
- package/lib/typescript/module/icons/Flame.d.ts +1 -1
- package/lib/typescript/module/icons/FlipImage.d.ts +2 -2
- package/lib/typescript/module/icons/FloppyDisk.d.ts +1 -1
- package/lib/typescript/module/icons/Freeze.d.ts +1 -1
- package/lib/typescript/module/icons/GameController.d.ts +1 -1
- package/lib/typescript/module/icons/Gif.d.ts +2 -2
- package/lib/typescript/module/icons/Gift1.d.ts +2 -2
- package/lib/typescript/module/icons/Globe.d.ts +3 -3
- package/lib/typescript/module/icons/Group.d.ts +1 -1
- package/lib/typescript/module/icons/Growth.d.ts +1 -1
- package/lib/typescript/module/icons/Haptic.d.ts +1 -1
- package/lib/typescript/module/icons/Hashtag.d.ts +3 -3
- package/lib/typescript/module/icons/Heart2.d.ts +4 -4
- package/lib/typescript/module/icons/Home.d.ts +3 -3
- package/lib/typescript/module/icons/HomeOpen.d.ts +2 -2
- package/lib/typescript/module/icons/Image.d.ts +2 -2
- package/lib/typescript/module/icons/Key.d.ts +1 -1
- package/lib/typescript/module/icons/Lab.d.ts +1 -1
- package/lib/typescript/module/icons/Leaf.d.ts +1 -1
- package/lib/typescript/module/icons/ListMagnifyingGlass.d.ts +1 -1
- package/lib/typescript/module/icons/ListPlus.d.ts +1 -1
- package/lib/typescript/module/icons/ListSparkle.d.ts +1 -1
- package/lib/typescript/module/icons/Live.d.ts +1 -1
- package/lib/typescript/module/icons/Loader.d.ts +1 -1
- package/lib/typescript/module/icons/Lock.d.ts +2 -2
- package/lib/typescript/module/icons/Logo.d.ts +1 -1
- package/lib/typescript/module/icons/Macintosh.d.ts +1 -1
- package/lib/typescript/module/icons/MagnifyingGlass.d.ts +4 -4
- package/lib/typescript/module/icons/Menu.d.ts +1 -1
- package/lib/typescript/module/icons/Message.d.ts +3 -3
- package/lib/typescript/module/icons/Moon.d.ts +1 -1
- package/lib/typescript/module/icons/MusicNote.d.ts +1 -1
- package/lib/typescript/module/icons/Mute.d.ts +1 -1
- package/lib/typescript/module/icons/News2.d.ts +1 -1
- package/lib/typescript/module/icons/Newskie.d.ts +1 -1
- package/lib/typescript/module/icons/Newspaper.d.ts +1 -1
- package/lib/typescript/module/icons/PageText.d.ts +1 -1
- package/lib/typescript/module/icons/PageX.d.ts +1 -1
- package/lib/typescript/module/icons/PaintRoller.d.ts +1 -1
- package/lib/typescript/module/icons/PaperPlane.d.ts +1 -1
- package/lib/typescript/module/icons/Pause.d.ts +4 -4
- package/lib/typescript/module/icons/Pencil.d.ts +3 -3
- package/lib/typescript/module/icons/PeopleRemove2.d.ts +2 -2
- package/lib/typescript/module/icons/Person.d.ts +10 -10
- package/lib/typescript/module/icons/Phone.d.ts +2 -2
- package/lib/typescript/module/icons/Pin.d.ts +2 -2
- package/lib/typescript/module/icons/PinLocation.d.ts +2 -2
- package/lib/typescript/module/icons/Pizza.d.ts +1 -1
- package/lib/typescript/module/icons/Play.d.ts +4 -4
- package/lib/typescript/module/icons/Plus.d.ts +2 -2
- package/lib/typescript/module/icons/QrCode.d.ts +1 -1
- package/lib/typescript/module/icons/Quote.d.ts +5 -5
- package/lib/typescript/module/icons/RaisingHand.d.ts +2 -2
- package/lib/typescript/module/icons/Reply.d.ts +2 -2
- package/lib/typescript/module/icons/Repost.d.ts +4 -4
- package/lib/typescript/module/icons/Rose.d.ts +1 -1
- package/lib/typescript/module/icons/SettingsGear2.d.ts +2 -2
- package/lib/typescript/module/icons/SettingsSlider.d.ts +1 -1
- package/lib/typescript/module/icons/Shaka.d.ts +1 -1
- package/lib/typescript/module/icons/Shapes.d.ts +1 -1
- package/lib/typescript/module/icons/Shield.d.ts +2 -2
- package/lib/typescript/module/icons/Sparkle.d.ts +1 -1
- package/lib/typescript/module/icons/Speaker.d.ts +1 -1
- package/lib/typescript/module/icons/SquareArrowTopRight.d.ts +1 -1
- package/lib/typescript/module/icons/SquareBehindSquare4.d.ts +1 -1
- package/lib/typescript/module/icons/Star.d.ts +2 -2
- package/lib/typescript/module/icons/StarterPack.d.ts +1 -1
- package/lib/typescript/module/icons/StreamingLive.d.ts +1 -1
- package/lib/typescript/module/icons/TEMPLATE.d.ts +2 -2
- package/lib/typescript/module/icons/TextSize.d.ts +1 -1
- package/lib/typescript/module/icons/Ticket.d.ts +1 -1
- package/lib/typescript/module/icons/Times.d.ts +1 -1
- package/lib/typescript/module/icons/TitleCase.d.ts +1 -1
- package/lib/typescript/module/icons/Trash.d.ts +2 -2
- package/lib/typescript/module/icons/Tree.d.ts +1 -1
- package/lib/typescript/module/icons/Trending.d.ts +2 -2
- package/lib/typescript/module/icons/UFO.d.ts +1 -1
- package/lib/typescript/module/icons/UserCircle.d.ts +2 -2
- package/lib/typescript/module/icons/Verified.d.ts +1 -1
- package/lib/typescript/module/icons/VerifiedCheck.d.ts +1 -1
- package/lib/typescript/module/icons/VerifierCheck.d.ts +1 -1
- package/lib/typescript/module/icons/VideoClip.d.ts +2 -2
- package/lib/typescript/module/icons/Warning.d.ts +1 -1
- package/lib/typescript/module/icons/Window.d.ts +1 -1
- package/lib/typescript/module/icons/Wrench.d.ts +1 -1
- package/lib/typescript/module/icons/Zap.d.ts +1 -1
- package/lib/typescript/module/icons/common.d.ts +20 -6
- package/lib/typescript/module/icons/common.d.ts.map +1 -1
- package/lib/typescript/module/icons/index.d.ts +1 -1
- package/lib/typescript/module/icons/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +48 -0
- package/lib/typescript/module/index.web.d.ts.map +1 -0
- package/lib/typescript/module/loading/SpinnerIcon.d.ts.map +1 -1
- package/lib/typescript/module/text-field/index.d.ts +2 -2
- package/lib/typescript/module/text-field/index.d.ts.map +1 -1
- package/package.json +38 -1
- package/src/avatar/Avatar.tsx +5 -3
- package/src/avatar/default-avatar.ts +17 -0
- package/src/avatar/index.ts +3 -2
- package/src/dialog/Dialog.tsx +93 -13
- package/src/dialog/index.web.ts +14 -0
- package/src/icons/common.tsx +17 -4
- package/src/icons/index.ts +1 -1
- package/src/index.web.ts +75 -0
- package/src/loading/SpinnerIcon.tsx +6 -2
- package/src/text-field/index.tsx +2 -1
- package/lib/commonjs/theme/adaptive-colors.web.js +0 -10
- package/lib/commonjs/theme/adaptive-colors.web.js.map +0 -1
- package/lib/module/theme/adaptive-colors.web.js +0 -6
- package/lib/module/theme/adaptive-colors.web.js.map +0 -1
- package/lib/typescript/commonjs/theme/adaptive-colors.web.d.ts +0 -3
- package/lib/typescript/commonjs/theme/adaptive-colors.web.d.ts.map +0 -1
- package/lib/typescript/module/theme/adaptive-colors.web.d.ts +0 -3
- package/lib/typescript/module/theme/adaptive-colors.web.d.ts.map +0 -1
- package/src/theme/adaptive-colors.web.ts +0 -5
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ColorValue, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type PathProps, type SvgProps } from 'react-native-svg';
|
|
4
4
|
import { gradients } from '../styles/tokens';
|
|
5
|
+
/**
|
|
6
|
+
* Style prop for Bloom icons. Icons render via `<Svg>`, which is a View-like
|
|
7
|
+
* host, so the style must be View-compatible. A `color` field is allowed as a
|
|
8
|
+
* convenience for consumers who set fill via the CSS `color` shorthand (the
|
|
9
|
+
* icon reads this as a fallback fill when no explicit `fill` prop is given).
|
|
10
|
+
*
|
|
11
|
+
* Note: we intentionally avoid `TextStyle` here — React Native 0.84 introduced
|
|
12
|
+
* `cursor: CursorValue` on `ViewStyle` while `expo/types/react-native-web`
|
|
13
|
+
* augments `TextStyle.cursor` to `string`, and the resulting invariance
|
|
14
|
+
* breaks assignment of `StyleProp<TextStyle>` to `<Svg>`'s style slot.
|
|
15
|
+
*/
|
|
16
|
+
export type IconStyle = ViewStyle & {
|
|
17
|
+
color?: ColorValue;
|
|
18
|
+
};
|
|
5
19
|
export type Props = {
|
|
6
20
|
fill?: PathProps['fill'];
|
|
7
|
-
style?:
|
|
21
|
+
style?: StyleProp<IconStyle>;
|
|
8
22
|
size?: keyof typeof sizes;
|
|
9
23
|
gradient?: keyof typeof gradients;
|
|
10
24
|
} & Omit<SvgProps, 'style' | 'size'>;
|
|
@@ -19,11 +33,11 @@ export declare const sizes: {
|
|
|
19
33
|
readonly '3xl': 48;
|
|
20
34
|
};
|
|
21
35
|
export declare function useCommonSVGProps(props: Props): {
|
|
22
|
-
style: false | "" |
|
|
36
|
+
style: false | "" | IconStyle | import("react-native").RecursiveArray<import("react-native").Falsy | IconStyle> | null;
|
|
23
37
|
children?: React.ReactNode;
|
|
24
38
|
filter?: string | undefined;
|
|
25
39
|
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
26
|
-
color?:
|
|
40
|
+
color?: ColorValue | undefined;
|
|
27
41
|
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
28
42
|
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
29
43
|
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
@@ -132,7 +146,7 @@ export declare function useCommonSVGProps(props: Props): {
|
|
|
132
146
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
133
147
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
134
148
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
135
|
-
stroke?:
|
|
149
|
+
stroke?: ColorValue | undefined;
|
|
136
150
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
137
151
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
138
152
|
strokeDasharray?: (ReadonlyArray<import("react-native-svg").NumberProp> | import("react-native-svg").NumberProp) | undefined;
|
|
@@ -372,7 +386,7 @@ export declare function useCommonSVGProps(props: Props): {
|
|
|
372
386
|
fontFeatureSettings?: string | undefined;
|
|
373
387
|
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
374
388
|
fontVariationSettings?: string | undefined;
|
|
375
|
-
fill:
|
|
389
|
+
fill: ColorValue;
|
|
376
390
|
size: number;
|
|
377
391
|
gradient: import("react/jsx-runtime").JSX.Element | null;
|
|
378
392
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/icons/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/icons/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3F,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,OAAO,KAAK,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;CACnC,GAAG,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,KAAK;;;;;;;;;CASR,CAAC;AAEX,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC7C"}
|
|
@@ -150,6 +150,6 @@ export * from './Warning';
|
|
|
150
150
|
export * from './Window';
|
|
151
151
|
export * from './Wrench';
|
|
152
152
|
export * from './Zap';
|
|
153
|
-
export type { Props } from './common';
|
|
153
|
+
export type { IconStyle, Props } from './common';
|
|
154
154
|
export { sizes, useCommonSVGProps } from './common';
|
|
155
155
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC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C;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,YAAY,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from './theme';
|
|
2
|
+
export { atoms, flatten } from './styles';
|
|
3
|
+
export type { ViewStyleProp, TextStyleProp } from './styles';
|
|
4
|
+
export * as tokens from './styles/tokens';
|
|
5
|
+
export { web, native, ios, android, platform, select } from './styles/platform';
|
|
6
|
+
export { useInteractionState } from './hooks/useInteractionState';
|
|
7
|
+
export { useDelayedLoading } from './hooks/useDelayedLoading';
|
|
8
|
+
export { useThrottledValue } from './hooks/useThrottledValue';
|
|
9
|
+
export * as Icons from './icons';
|
|
10
|
+
export { type Props as IconProps, sizes as iconSizes, useCommonSVGProps } from './icons/common';
|
|
11
|
+
export * from './portal';
|
|
12
|
+
export * as Dialog from './dialog/index.web';
|
|
13
|
+
export * as Prompt from './prompt';
|
|
14
|
+
export * from './button';
|
|
15
|
+
export * from './grouped-buttons';
|
|
16
|
+
export * from './divider';
|
|
17
|
+
export * from './radio-indicator';
|
|
18
|
+
export * from './collapsible';
|
|
19
|
+
export { ErrorBoundary } from './error-boundary';
|
|
20
|
+
export type { ErrorBoundaryProps } from './error-boundary';
|
|
21
|
+
export * from './avatar';
|
|
22
|
+
export * from './loading';
|
|
23
|
+
export * as PromptInput from './prompt-input';
|
|
24
|
+
export * from './switch';
|
|
25
|
+
export * as Toast from './toast/index.web';
|
|
26
|
+
export * as Typography from './typography';
|
|
27
|
+
export * as Skeleton from './skeleton';
|
|
28
|
+
export * as Grid from './grid';
|
|
29
|
+
export { Fill } from './fill';
|
|
30
|
+
export { IconCircle } from './icon-circle';
|
|
31
|
+
export * as TextField from './text-field';
|
|
32
|
+
export * as SegmentedControl from './segmented-control';
|
|
33
|
+
export { SearchInput } from './search-input';
|
|
34
|
+
export { BottomSheet } from './bottom-sheet';
|
|
35
|
+
export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
|
|
36
|
+
export * from './card';
|
|
37
|
+
export * from './badge';
|
|
38
|
+
export * from './chip';
|
|
39
|
+
export * as Tabs from './tabs';
|
|
40
|
+
export * from './checkbox';
|
|
41
|
+
export * as Accordion from './accordion';
|
|
42
|
+
export * from './settings-list';
|
|
43
|
+
export * as Admonition from './admonition';
|
|
44
|
+
export * as Menu from './menu/index.web';
|
|
45
|
+
export * as Tooltip from './tooltip/index.web';
|
|
46
|
+
export * as Select from './select/index.web';
|
|
47
|
+
export * as ContextMenu from './context-menu/index.web';
|
|
48
|
+
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAMA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,KAAK,KAAK,IAAI,SAAS,EAAE,KAAK,IAAI,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGh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AU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,WAAW,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpinnerIcon.d.ts","sourceRoot":"","sources":["../../../../src/loading/SpinnerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAYjE,UAAU,gBAAgB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;
|
|
1
|
+
{"version":3,"file":"SpinnerIcon.d.ts","sourceRoot":"","sources":["../../../../src/loading/SpinnerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAYjE,UAAU,gBAAgB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AA+ED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuBlD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type AccessibilityProps, TextInput, type TextInputProps, type ViewStyle } from 'react-native';
|
|
2
|
-
import { type TextStyleProp } from '../styles';
|
|
2
|
+
import { type TextStyleProp, type ViewStyleProp } from '../styles';
|
|
3
3
|
import { type Props as SVGIconProps } from '../icons/common';
|
|
4
4
|
export type RootProps = React.PropsWithChildren<{
|
|
5
5
|
isInvalid?: boolean;
|
|
6
|
-
} &
|
|
6
|
+
} & ViewStyleProp>;
|
|
7
7
|
export declare function Root({ children, isInvalid, style }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare function useSharedInputStyles(): {
|
|
9
9
|
chromeHover: ViewStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/text-field/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EAGvB,SAAS,EACT,KAAK,cAAc,EAGnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,KAAK,KAAK,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB7D,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,iBAAiB,CAC7C;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,aAAa,CACxC,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAiB,EAAE,KAAK,EAAE,EAAE,SAAS,2CA0CrE;AAED,wBAAgB,oBAAoB;;;;;EA0BnC;AAED,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,cAAc,EACd,OAAO,GAAG,cAAc,GAAG,aAAa,CACzC,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IAC7E,WAAW,CAAC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AiB,CACxB,aAAa,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;CAC7D,CACF,2CAqBA;AAED,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,2CAkDA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/bloom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
16
|
"react-native": "./src/index.ts",
|
|
17
|
+
"browser": {
|
|
18
|
+
"types": "./lib/typescript/module/index.web.d.ts",
|
|
19
|
+
"import": "./lib/module/index.web.js",
|
|
20
|
+
"require": "./lib/commonjs/index.web.js"
|
|
21
|
+
},
|
|
17
22
|
"import": {
|
|
18
23
|
"types": "./lib/typescript/module/index.d.ts",
|
|
19
24
|
"default": "./lib/module/index.js"
|
|
@@ -69,6 +74,11 @@
|
|
|
69
74
|
},
|
|
70
75
|
"./dialog": {
|
|
71
76
|
"react-native": "./src/dialog/index.ts",
|
|
77
|
+
"browser": {
|
|
78
|
+
"types": "./lib/typescript/module/dialog/index.web.d.ts",
|
|
79
|
+
"import": "./lib/module/dialog/index.web.js",
|
|
80
|
+
"require": "./lib/commonjs/dialog/index.web.js"
|
|
81
|
+
},
|
|
72
82
|
"import": {
|
|
73
83
|
"types": "./lib/typescript/module/dialog/index.d.ts",
|
|
74
84
|
"default": "./lib/module/dialog/index.js"
|
|
@@ -201,6 +211,11 @@
|
|
|
201
211
|
},
|
|
202
212
|
"./toast": {
|
|
203
213
|
"react-native": "./src/toast/index.tsx",
|
|
214
|
+
"browser": {
|
|
215
|
+
"types": "./lib/typescript/module/toast/index.web.d.ts",
|
|
216
|
+
"import": "./lib/module/toast/index.web.js",
|
|
217
|
+
"require": "./lib/commonjs/toast/index.web.js"
|
|
218
|
+
},
|
|
204
219
|
"import": {
|
|
205
220
|
"types": "./lib/typescript/module/toast/index.d.ts",
|
|
206
221
|
"default": "./lib/module/toast/index.js"
|
|
@@ -344,6 +359,11 @@
|
|
|
344
359
|
},
|
|
345
360
|
"./menu": {
|
|
346
361
|
"react-native": "./src/menu/index.tsx",
|
|
362
|
+
"browser": {
|
|
363
|
+
"types": "./lib/typescript/module/menu/index.web.d.ts",
|
|
364
|
+
"import": "./lib/module/menu/index.web.js",
|
|
365
|
+
"require": "./lib/commonjs/menu/index.web.js"
|
|
366
|
+
},
|
|
347
367
|
"import": {
|
|
348
368
|
"types": "./lib/typescript/module/menu/index.d.ts",
|
|
349
369
|
"default": "./lib/module/menu/index.js"
|
|
@@ -355,6 +375,11 @@
|
|
|
355
375
|
},
|
|
356
376
|
"./tooltip": {
|
|
357
377
|
"react-native": "./src/tooltip/index.tsx",
|
|
378
|
+
"browser": {
|
|
379
|
+
"types": "./lib/typescript/module/tooltip/index.web.d.ts",
|
|
380
|
+
"import": "./lib/module/tooltip/index.web.js",
|
|
381
|
+
"require": "./lib/commonjs/tooltip/index.web.js"
|
|
382
|
+
},
|
|
358
383
|
"import": {
|
|
359
384
|
"types": "./lib/typescript/module/tooltip/index.d.ts",
|
|
360
385
|
"default": "./lib/module/tooltip/index.js"
|
|
@@ -366,6 +391,11 @@
|
|
|
366
391
|
},
|
|
367
392
|
"./select": {
|
|
368
393
|
"react-native": "./src/select/index.tsx",
|
|
394
|
+
"browser": {
|
|
395
|
+
"types": "./lib/typescript/module/select/index.web.d.ts",
|
|
396
|
+
"import": "./lib/module/select/index.web.js",
|
|
397
|
+
"require": "./lib/commonjs/select/index.web.js"
|
|
398
|
+
},
|
|
369
399
|
"import": {
|
|
370
400
|
"types": "./lib/typescript/module/select/index.d.ts",
|
|
371
401
|
"default": "./lib/module/select/index.js"
|
|
@@ -388,6 +418,11 @@
|
|
|
388
418
|
},
|
|
389
419
|
"./context-menu": {
|
|
390
420
|
"react-native": "./src/context-menu/index.tsx",
|
|
421
|
+
"browser": {
|
|
422
|
+
"types": "./lib/typescript/module/context-menu/index.web.d.ts",
|
|
423
|
+
"import": "./lib/module/context-menu/index.web.js",
|
|
424
|
+
"require": "./lib/commonjs/context-menu/index.web.js"
|
|
425
|
+
},
|
|
391
426
|
"import": {
|
|
392
427
|
"types": "./lib/typescript/module/context-menu/index.d.ts",
|
|
393
428
|
"default": "./lib/module/context-menu/index.js"
|
|
@@ -523,6 +558,8 @@
|
|
|
523
558
|
},
|
|
524
559
|
"license": "MIT",
|
|
525
560
|
"scripts": {
|
|
561
|
+
"generate:exports": "node scripts/generate-platform-exports.mjs",
|
|
562
|
+
"prebuild": "node scripts/generate-platform-exports.mjs",
|
|
526
563
|
"build": "bob build",
|
|
527
564
|
"test": "jest",
|
|
528
565
|
"typescript": "tsc --noEmit",
|
package/src/avatar/Avatar.tsx
CHANGED
|
@@ -32,9 +32,11 @@ function getNameColor(name: string): string {
|
|
|
32
32
|
return NAME_AVATAR_COLORS[index] ?? NAME_AVATAR_COLORS[0];
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
// Built-in default avatar image — used when no source, fallbackSource, or placeholderIcon is provided
|
|
36
|
-
//
|
|
37
|
-
import
|
|
35
|
+
// Built-in default avatar image — used when no source, fallbackSource, or placeholderIcon is provided.
|
|
36
|
+
// Sourced from a TypeScript module that exports an inlined base64 data URI, so no
|
|
37
|
+
// `.jpg` asset import (and no ambient `*.jpg` module declaration) is required for
|
|
38
|
+
// consumers compiling Bloom's source files directly.
|
|
39
|
+
import DEFAULT_AVATAR_IMAGE from './default-avatar';
|
|
38
40
|
|
|
39
41
|
// Squircle clip path normalized to 0–1 coordinate space (viewBox="0 0 1 1").
|
|
40
42
|
const SQUIRCLE_PATH =
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Default avatar image, inlined as a base64 JPEG data URI.
|
|
2
|
+
//
|
|
3
|
+
// Inlining avoids importing a `.jpg` asset directly from TypeScript, which
|
|
4
|
+
// requires ambient module declarations that are brittle across consumers of
|
|
5
|
+
// Bloom's source (Metro, Vite, webpack, Expo Router, etc.). A data URI is
|
|
6
|
+
// universally accepted by React Native's `Image` and by the DOM `<img>` tag,
|
|
7
|
+
// so the same value works on both native and web.
|
|
8
|
+
//
|
|
9
|
+
// Source asset: `./default-avatar.jpg` (8.6 KB, ~11.5 KB base64). The source
|
|
10
|
+
// image is retained in this directory for design reference and tooling; it is
|
|
11
|
+
// not imported by the component itself.
|
|
12
|
+
const DATA_URI =
|
|
13
|
+
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAADhjcHJ0AAABQAAAAE53dHB0AAABkAAAABRjaGFkAAABpAAAACxyWFlaAAAB0AAAABRiWFlaAAAB5AAAABRnWFlaAAAB+AAAABRyVFJDAAACDAAAACBnVFJDAAACLAAAACBiVFJDAAACTAAAACBjaHJtAAACbAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAABwAAAAcAHMAUgBHAEIAIABiAHUAaQBsAHQALQBpAG4AAG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAMgAAABwATgBvACAAYwBvAHAAeQByAGkAZwBoAHQALAAgAHUAcwBlACAAZgByAGUAZQBsAHkAAAAAWFlaIAAAAAAAAPbWAAEA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vGGrNnRmzZs2bNmzZs6MxBs6MY6FNHCcoS9kPJ5TLpf2lljqjozLofCAAhCENDOgQs7zfEh7SATI7nkdjvS+llYc6o8AdQ8YDOghoEITMvAMTZNt9/w8jgh2bfCWXVXCDqHwQAQhCEJmzLXHecro7/EAJkdzx/hYW/Z0uNQ6DqHwQAQhCENQx6c29Ylu+z6ePtp2GX5tyzvLQOEDqHwgIIQpDhActvXPOxx4+7+R2fGlnQOEjHQfCAA0CEIcAMUs95Q+rMhCcnxcLc0S3mW9mGOEToPGAzwAhCEOMAWe9vF9MH224//aAAwDAQACAAMAAAAQ88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888889498888888888888888888847VARe3888888888888888888TK6pu6Ge8888888888888888Ixp2kpECW888888888888888R51sfvf83V088888888888888rBB6ti6Ep5U888888888888889AiUhnOoAN2888888888888885IwSPNa4l298888888888888880v9/eorQi8888888888888888tvnVyltY8888888888888888888Re0xq88888888888888888888888888888888888888888888RvTsKIK888888888888888892w45/ICcM68888888888888hAiMEJ1Rq3Nug08888888888vDeJ2k1CVymw/Az888888888o2gmeEf9Gf0iQ9tGo88888888MlLddbc8BVxw1qXJh1888888qtGlcgnF7MNY6MPY972888888rUAprq8IIApgFMKeSOu888//EACURAQACAgEEAQQDAAAAAAAAAAEAERAhMSAwQEFRYXGBsVBwof/aAAgBAwEBPxD+iFDmfXgjx4tsYtRonIZn3wNrE0Ys/wBlyfCeYvpUNcCFItv4Ux6nBKjA4DABItLw8+B9mJu3NcZgkNLeBwqUowN8xJi2Zd+fgO3ep5gcKP698XXuOxjKlSpU4gwkEAB68D5U9xekY2ia4+3gpemEU/xKUkGXFlSECkgAo8M+Cd0TZK12QWv4259OPJe0GL3AnLk4h8EXfM0Zog5I8bspsA1y2Q2jT3j+VFFuGmBvKQcBbDa2QP3u5Q9sFduC9RYsXFwgi4I2rn6b2ju9xLGGoNYMMXLlwggi7huLcQN3J2dAcE3YsGHqAIMC3jTfEG+u2ZbD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index.ts
CHANGED
|
@@ -3,8 +3,9 @@ export { AvatarPlaceholderProvider } from './placeholder-context';
|
|
|
3
3
|
export type { AvatarPlaceholderConfig } from './placeholder-context';
|
|
4
4
|
export type { AvatarProps, AvatarShape } from './types';
|
|
5
5
|
|
|
6
|
-
//
|
|
7
|
-
|
|
6
|
+
// Inlined as a base64 data URI so consumers compiling Bloom's source directly
|
|
7
|
+
// do not need ambient `*.jpg` module declarations or a `.jpg` asset loader.
|
|
8
|
+
import defaultAvatar from './default-avatar';
|
|
8
9
|
|
|
9
10
|
/** Default avatar placeholder image — use as `fallbackSource` on Avatar or in AvatarPlaceholderProvider */
|
|
10
11
|
export const defaultAvatarSource = defaultAvatar;
|
package/src/dialog/Dialog.tsx
CHANGED
|
@@ -1,15 +1,79 @@
|
|
|
1
1
|
import React, { useCallback, useImperativeHandle, useMemo, useRef } from 'react';
|
|
2
|
-
import { Pressable, StyleSheet, View } from 'react-native';
|
|
3
|
-
import { BottomSheetModal, BottomSheetView, BottomSheetBackdrop, type BottomSheetBackdropProps } from '@gorhom/bottom-sheet';
|
|
2
|
+
import { Pressable, StyleSheet, View, type StyleProp, type ViewStyle } from 'react-native';
|
|
4
3
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
5
4
|
|
|
6
5
|
import { useTheme } from '../theme/use-theme';
|
|
6
|
+
import { lazyRequire } from '../utils/lazy-require';
|
|
7
7
|
import { Context, useDialogContext } from './context';
|
|
8
8
|
import type { DialogControlProps, DialogInnerProps, DialogOuterProps } from './types';
|
|
9
9
|
|
|
10
10
|
export { useDialogContext, useDialogControl } from './context';
|
|
11
11
|
export type { DialogControlProps, DialogOuterProps, DialogInnerProps } from './types';
|
|
12
12
|
|
|
13
|
+
// ---------------------------------------------------------------------------
|
|
14
|
+
// Local types for @gorhom/bottom-sheet — declared here instead of imported so
|
|
15
|
+
// that Bloom type-checks cleanly in downstream projects that do not install
|
|
16
|
+
// this optional peer dependency. The module is still consumed at runtime via
|
|
17
|
+
// `lazyRequire`, which returns `null` if the package is missing. In that case
|
|
18
|
+
// Dialog.Outer renders nothing with a console warning, so consumers on native
|
|
19
|
+
// MUST install @gorhom/bottom-sheet to use Bloom's Dialog on native.
|
|
20
|
+
// ---------------------------------------------------------------------------
|
|
21
|
+
type BottomSheetBackdropProps = {
|
|
22
|
+
animatedIndex: unknown;
|
|
23
|
+
animatedPosition: unknown;
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
type BottomSheetModalRef = {
|
|
28
|
+
present: () => void;
|
|
29
|
+
dismiss: () => void;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
type BottomSheetModalProps = {
|
|
33
|
+
ref?: React.Ref<BottomSheetModalRef>;
|
|
34
|
+
enablePanDownToClose?: boolean;
|
|
35
|
+
enableDismissOnClose?: boolean;
|
|
36
|
+
enableDynamicSizing?: boolean;
|
|
37
|
+
snapPoints?: (string | number)[];
|
|
38
|
+
backgroundStyle?: StyleProp<ViewStyle>;
|
|
39
|
+
handleComponent?: React.ComponentType | (() => React.ReactNode) | null;
|
|
40
|
+
backdropComponent?: React.ComponentType<BottomSheetBackdropProps>;
|
|
41
|
+
onDismiss?: () => void;
|
|
42
|
+
style?: StyleProp<ViewStyle>;
|
|
43
|
+
children?: React.ReactNode;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
type BottomSheetViewProps = {
|
|
47
|
+
testID?: string;
|
|
48
|
+
style?: StyleProp<ViewStyle>;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type BottomSheetBackdropComponentProps = BottomSheetBackdropProps & {
|
|
53
|
+
appearsOnIndex?: number;
|
|
54
|
+
disappearsOnIndex?: number;
|
|
55
|
+
pressBehavior?: 'none' | 'close' | 'collapse' | number;
|
|
56
|
+
opacity?: number;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
type BottomSheetModule = {
|
|
60
|
+
BottomSheetModal: React.ComponentType<BottomSheetModalProps>;
|
|
61
|
+
BottomSheetView: React.ComponentType<BottomSheetViewProps>;
|
|
62
|
+
BottomSheetBackdrop: React.ComponentType<BottomSheetBackdropComponentProps>;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const getBottomSheetModule = lazyRequire<BottomSheetModule>('@gorhom/bottom-sheet');
|
|
66
|
+
|
|
67
|
+
let warnedAboutMissingBottomSheet = false;
|
|
68
|
+
function warnMissingBottomSheet(): void {
|
|
69
|
+
if (warnedAboutMissingBottomSheet) return;
|
|
70
|
+
warnedAboutMissingBottomSheet = true;
|
|
71
|
+
console.warn(
|
|
72
|
+
"[bloom] @gorhom/bottom-sheet is not installed. Bloom's native Dialog will not render. " +
|
|
73
|
+
'Install it as a peer dependency to enable Dialog on native, or rely on the web Dialog implementation on web.',
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
13
77
|
export function Outer({
|
|
14
78
|
children,
|
|
15
79
|
control,
|
|
@@ -18,7 +82,7 @@ export function Outer({
|
|
|
18
82
|
preventExpansion,
|
|
19
83
|
}: React.PropsWithChildren<DialogOuterProps>) {
|
|
20
84
|
const theme = useTheme();
|
|
21
|
-
const ref = useRef<
|
|
85
|
+
const ref = useRef<BottomSheetModalRef>(null);
|
|
22
86
|
const closeCallbacks = useRef<(() => void)[]>([]);
|
|
23
87
|
|
|
24
88
|
const callQueuedCallbacks = useCallback(() => {
|
|
@@ -59,21 +123,37 @@ export function Outer({
|
|
|
59
123
|
[close],
|
|
60
124
|
);
|
|
61
125
|
|
|
126
|
+
const bottomSheet = getBottomSheetModule();
|
|
127
|
+
|
|
62
128
|
const renderBackdrop = useCallback(
|
|
63
|
-
(props: BottomSheetBackdropProps) =>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
129
|
+
(props: BottomSheetBackdropProps) => {
|
|
130
|
+
if (!bottomSheet) return null;
|
|
131
|
+
const { BottomSheetBackdrop } = bottomSheet;
|
|
132
|
+
return (
|
|
133
|
+
<BottomSheetBackdrop
|
|
134
|
+
{...props}
|
|
135
|
+
appearsOnIndex={0}
|
|
136
|
+
disappearsOnIndex={-1}
|
|
137
|
+
pressBehavior="close"
|
|
138
|
+
opacity={0.4}
|
|
139
|
+
/>
|
|
140
|
+
);
|
|
141
|
+
},
|
|
142
|
+
[bottomSheet],
|
|
73
143
|
);
|
|
74
144
|
|
|
75
145
|
const renderHandle = useCallback(() => null, []);
|
|
76
146
|
|
|
147
|
+
if (!bottomSheet) {
|
|
148
|
+
// Optional peer `@gorhom/bottom-sheet` is not installed.
|
|
149
|
+
// Dialog.Outer is a no-op in this environment; consumers on native must
|
|
150
|
+
// install the peer to use Bloom's native Dialog implementation.
|
|
151
|
+
warnMissingBottomSheet();
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const { BottomSheetModal, BottomSheetView } = bottomSheet;
|
|
156
|
+
|
|
77
157
|
return (
|
|
78
158
|
<BottomSheetModal
|
|
79
159
|
ref={ref}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Web variant of the `./dialog` barrel.
|
|
2
|
+
//
|
|
3
|
+
// The default barrel (`./index.ts`) re-exports from `./Dialog`, which on
|
|
4
|
+
// native uses `react-native-safe-area-context` and pulls in
|
|
5
|
+
// `@gorhom/bottom-sheet` via `lazyRequire`. The web fork (`./Dialog.web`)
|
|
6
|
+
// is a pure-DOM modal overlay that depends only on `react-remove-scroll-bar`
|
|
7
|
+
// and the in-package `Portal`.
|
|
8
|
+
//
|
|
9
|
+
// Web bundlers select this file via the `"browser"` condition in
|
|
10
|
+
// `package.json`'s `exports['./dialog']`; native bundlers fall through to
|
|
11
|
+
// the React Native build.
|
|
12
|
+
export { Outer, Inner, ScrollableInner, Handle, Close, Backdrop } from './Dialog.web';
|
|
13
|
+
export { useDialogContext, useDialogControl } from './context';
|
|
14
|
+
export type { DialogControlProps, DialogOuterProps, DialogInnerProps, DialogContextProps } from './types';
|
package/src/icons/common.tsx
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StyleSheet, type
|
|
2
|
+
import { StyleSheet, type ColorValue, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type PathProps, type SvgProps } from 'react-native-svg';
|
|
4
4
|
import { Defs, LinearGradient, Stop } from 'react-native-svg';
|
|
5
5
|
|
|
6
6
|
import { useTheme } from '../theme/use-theme';
|
|
7
7
|
import { gradients } from '../styles/tokens';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Style prop for Bloom icons. Icons render via `<Svg>`, which is a View-like
|
|
11
|
+
* host, so the style must be View-compatible. A `color` field is allowed as a
|
|
12
|
+
* convenience for consumers who set fill via the CSS `color` shorthand (the
|
|
13
|
+
* icon reads this as a fallback fill when no explicit `fill` prop is given).
|
|
14
|
+
*
|
|
15
|
+
* Note: we intentionally avoid `TextStyle` here — React Native 0.84 introduced
|
|
16
|
+
* `cursor: CursorValue` on `ViewStyle` while `expo/types/react-native-web`
|
|
17
|
+
* augments `TextStyle.cursor` to `string`, and the resulting invariance
|
|
18
|
+
* breaks assignment of `StyleProp<TextStyle>` to `<Svg>`'s style slot.
|
|
19
|
+
*/
|
|
20
|
+
export type IconStyle = ViewStyle & { color?: ColorValue };
|
|
21
|
+
|
|
9
22
|
export type Props = {
|
|
10
23
|
fill?: PathProps['fill'];
|
|
11
|
-
style?:
|
|
24
|
+
style?: StyleProp<IconStyle>;
|
|
12
25
|
size?: keyof typeof sizes;
|
|
13
26
|
gradient?: keyof typeof gradients;
|
|
14
27
|
} & Omit<SvgProps, 'style' | 'size'>;
|
|
@@ -28,9 +41,9 @@ export function useCommonSVGProps(props: Props) {
|
|
|
28
41
|
const { colors } = useTheme();
|
|
29
42
|
const reactId = React.useId();
|
|
30
43
|
const { fill, size, gradient, ...rest } = props;
|
|
31
|
-
const style = StyleSheet.flatten(rest.style);
|
|
44
|
+
const style = StyleSheet.flatten<IconStyle>(rest.style);
|
|
32
45
|
const _size = Number(size ? sizes[size] : rest.width || sizes.md);
|
|
33
|
-
let _fill = fill
|
|
46
|
+
let _fill: PathProps['fill'] = fill ?? style?.color ?? colors.primary;
|
|
34
47
|
let gradientDef = null;
|
|
35
48
|
|
|
36
49
|
if (gradient && gradients[gradient]) {
|
package/src/icons/index.ts
CHANGED
|
@@ -150,5 +150,5 @@ export * from './Warning';
|
|
|
150
150
|
export * from './Window';
|
|
151
151
|
export * from './Wrench';
|
|
152
152
|
export * from './Zap';
|
|
153
|
-
export type { Props } from './common';
|
|
153
|
+
export type { IconStyle, Props } from './common';
|
|
154
154
|
export { sizes, useCommonSVGProps } from './common';
|
package/src/index.web.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
|
|
2
|
+
// Source of truth: src/index.ts.
|
|
3
|
+
// Re-run `bun run generate:exports` (or any `bun run build`) after
|
|
4
|
+
// changing the root barrel or the set of web-forked subpaths.
|
|
5
|
+
|
|
6
|
+
// Theme
|
|
7
|
+
export * from './theme';
|
|
8
|
+
|
|
9
|
+
// Styles & Utilities
|
|
10
|
+
export { atoms, flatten } from './styles';
|
|
11
|
+
export type { ViewStyleProp, TextStyleProp } from './styles';
|
|
12
|
+
export * as tokens from './styles/tokens';
|
|
13
|
+
export { web, native, ios, android, platform, select } from './styles/platform';
|
|
14
|
+
|
|
15
|
+
// Hooks
|
|
16
|
+
export { useInteractionState } from './hooks/useInteractionState';
|
|
17
|
+
export { useDelayedLoading } from './hooks/useDelayedLoading';
|
|
18
|
+
export { useThrottledValue } from './hooks/useThrottledValue';
|
|
19
|
+
|
|
20
|
+
// Icons
|
|
21
|
+
export * as Icons from './icons';
|
|
22
|
+
export { type Props as IconProps, sizes as iconSizes, useCommonSVGProps } from './icons/common';
|
|
23
|
+
|
|
24
|
+
// Core components
|
|
25
|
+
export * from './portal';
|
|
26
|
+
export * as Dialog from './dialog/index.web';
|
|
27
|
+
export * as Prompt from './prompt';
|
|
28
|
+
export * from './button';
|
|
29
|
+
export * from './grouped-buttons';
|
|
30
|
+
export * from './divider';
|
|
31
|
+
export * from './radio-indicator';
|
|
32
|
+
export * from './collapsible';
|
|
33
|
+
export { ErrorBoundary } from './error-boundary';
|
|
34
|
+
export type { ErrorBoundaryProps } from './error-boundary';
|
|
35
|
+
export * from './avatar';
|
|
36
|
+
export * from './loading';
|
|
37
|
+
export * as PromptInput from './prompt-input';
|
|
38
|
+
export * from './switch';
|
|
39
|
+
export * as Toast from './toast/index.web';
|
|
40
|
+
|
|
41
|
+
// Typography
|
|
42
|
+
export * as Typography from './typography';
|
|
43
|
+
|
|
44
|
+
// Layout primitives
|
|
45
|
+
export * as Skeleton from './skeleton';
|
|
46
|
+
export * as Grid from './grid';
|
|
47
|
+
export { Fill } from './fill';
|
|
48
|
+
export { IconCircle } from './icon-circle';
|
|
49
|
+
|
|
50
|
+
// Form components
|
|
51
|
+
export * as TextField from './text-field';
|
|
52
|
+
export * as SegmentedControl from './segmented-control';
|
|
53
|
+
export { SearchInput } from './search-input';
|
|
54
|
+
|
|
55
|
+
// Bottom sheet
|
|
56
|
+
export { BottomSheet } from './bottom-sheet';
|
|
57
|
+
export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
|
|
58
|
+
|
|
59
|
+
// Data display
|
|
60
|
+
export * from './card';
|
|
61
|
+
export * from './badge';
|
|
62
|
+
export * from './chip';
|
|
63
|
+
export * as Tabs from './tabs';
|
|
64
|
+
export * from './checkbox';
|
|
65
|
+
export * as Accordion from './accordion';
|
|
66
|
+
|
|
67
|
+
// Settings / Grouped list
|
|
68
|
+
export * from './settings-list';
|
|
69
|
+
|
|
70
|
+
// Overlay components
|
|
71
|
+
export * as Admonition from './admonition';
|
|
72
|
+
export * as Menu from './menu/index.web';
|
|
73
|
+
export * as Tooltip from './tooltip/index.web';
|
|
74
|
+
export * as Select from './select/index.web';
|
|
75
|
+
export * as ContextMenu from './context-menu/index.web';
|