Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Tooltip view * Refactor Tooltip style * Can adjust tooltip position * Add tooltip playground for testing * Refine layout tips logic * Refine layout logic * Update CharcoalTooltip.swift * Refine tooltip spacing * Add CharcoalIdentifiableOverlayView * Use Actor to prevent Data Race * Remove CharcoalIdentifiableOverlayView out * Clean code * Only update view when it is isPresenting * Clean access control * Add TooltipsView * Fix tooltipY layout logic * Use main actor and remove CharcoalContainerManagerKey * Fix access control on CharcoalContainerManager * Make viewID as @State * Use EnviromentObject to create CharcoalContainerManager for each container * Use ObservedObject on CharcoalContainerManager * Add use charcoal button as demo trigger * Add arrow logic on tooltip * Refine arrow logic * Refine arrow layout logic * Use StateObject to prevent unexpected reinit * Refactor TooltipBubbleShape * Fix edge layout logic * Add comment * Format code * Use new approach to remove adaptiveMaxWidth * Fix the tip bubble's position latency * Add dismiss when interaction * Reformat * Add initial Snackbar * Add thumbnail image * Add support for thumbnailImage and action * Clean code * Reformat code * Rename ActionContent * Replace thumbnailImage type * Add dismissOnTouchOutside control * Add comment on CharcoalIdentifiableOverlayView * Update CharcoalTooltip.swift * Add SnackBar demo * Replace thumbnail with charcoal logo * Use @ViewBuilder * Clean Code * Made code more readable * Update ToastsView.swift * Add auto dismiss logic * Fix dismiss comment * Add Identifiable to CharcoalIdentifiableOverlayView * Make all CharcoalPopupView identifiable * Move all control logic into CharcoalPopupView * Reformat * Refine CharcoalOverlayContainerChild logic of updating view * Rename to CharcoalOverlayUpdaterContainer * Add CharcoalToast * Refine toast control * Refine screen edge of toast * Refine comments * Rename CharcoalPopupProtocol * Refine isActuallyPresenting logic * Clean animation * Add animation configuration * Add custom animation * Add CharcoalToastProtocol * Makes CharcoalSnackBar adapt CharcoalToastProtocol * Remove time delay * Refine SnackBar Animation logic * Add CharcoalToastAnimationModifier * Reformat code * Update CharcoalPopupViewEdge of direction * Refine demo * Fix missing animation * Rename charcoalAnimatedToast to charcoalAnimatableToast * Rename CharcoalAnimatableToastProtocol * Rename for clean * Simplify protocols * Add drag control * Add Dismiss timer control logic * Refine drag damping logic * Add CharcoalToastDraggable * Use CharcoalToastDraggableModifier on CharcoalSnackBar * Format code * Add init structure * Add action button * Replace placeholder with ja text * Use CGPath union for iOS 16 * Update TooltipBubbleShape.swift * Update CharcoalTooltip.swift * Use GeometryReader on overlay * Use new path draw logic * Refine arrow width * Refine arrow width * Clean Code * Refine preview * Use timer instead of DispatchQueue * Refine layout logic * Refine arrow logic * Refine layout logic * Add missing charcoalOverlayContainer * Add Balloon to examples * Add default tutorials * Remove overlay when disappear * Refine charcoalOverlayContainer place * Refine * Update CharcoalSnackBar.swift * Init CharcoalTooltipView * Init Bubble shape * Refine tooltip preview * Rename as Charcoal Bubble Shape * Add Label to tooltip * Update text frame when traitCollection did change * Update CharcoalTooltipView.swift * Add CharcoalTooltip * Can debug show on method * Can layout point * Can redraw target point * Update CharcoalTooltip.swift * Refine tooltip display * Share the logic * Use interaction mode * Use CharcoalOverlayContainerView * Update CharcoalOverlay.swift * Refactor to ChacoalOverlayManager * Makes CharcoalIdentifiableOverlayView Identifiable * Refine layout logic * Add display(view: CharcoalIdentifiableOverlayView) * Add tooltip to uikit example * Update Tooltips.swift * Add CharcoalIdentifiableOverlayDelegate * Reformat * Update StringExtension.swift * Add to UIKitSample * Fix public requirements * Reformat * Use touch began to handle dismiss on touch * Update CharcoalIdentifiableOverlayView.swift * Add CharcoalToastView * change cornerRadius * Add CharcoalToast * Move show logic out * Reformat * Refine dismiss method * Update CharcoalToast.swift * Add ActionContent and ActionComplete callback * Update CharcoalToast.swift * Update CharcoalBubbleShape_UIKit.swift * Refine layout animation logic * Refine animation * Add dismiss * Add example * Reformat * Add toasts example * Add CharcoalSnackBarView * Update project.pbxproj * Clean code * Refine layout logic * Add CharcoalSnackBar * Update CharcoalSnackBar.swift * Update CharcoalSnackBar.swift * Refine layout logic * Refine toasts text * Update CharcoalToastDraggableModifier.swift * Add CharcoalRubberGesture * use id to notify did dismiss * Add rubber gesture * Refactor * Refactor * Fix memory leak * Format * Fix memory leak * Add example * Refine snackbar * Refine swift lint * Refactor CharcoalToastView * Refactor CharcoalSnackBarView * Reformat * Refine self logic * Add initial Balloon * Add line stroke * Refine radius * Fix the baseline alignment * Layout balloon elements * Clean * Add balloon view * Update layout logic * Refine balloon layout logic * Update CharcoalBalloonView.swift * Add demo * Add anchor view tracking * Move logics into updateConstraint * Update CharcoalBalloon.swift * Reformat code * reformat * Update formats and documents * Clean code * Refine documents * Update CharcoalBalloon.swift * Update CharcoalBalloon.swift * Reformat * Fix name * Fix geometry * Revert "Fix geometry" This reverts commit a89bf66. * Fix proxy name * Adjust unused text * Replace charcoal logo * Remove conditional modifier * Add default dismiss time to toasts * Reformat * Reformat * Fix logo image * Fix balloon name * Update Balloons.swift * Remove CharcoalRubberGesture * Remove unused UIColor Extension * Clean Code * Clean proxy usage * Update Package.resolved * Add example to dismiss balloons with view
- Loading branch information