diff --git a/Sources/SafariView/SafariView.docc/Modifiers.md b/Sources/SafariView/SafariView.docc/Modifiers.md new file mode 100644 index 000000000..5c4c16cc1 --- /dev/null +++ b/Sources/SafariView/SafariView.docc/Modifiers.md @@ -0,0 +1,30 @@ +# ``SwiftUI/View`` + +SwiftUI view modifiers used to configure a ``SafariView/SafariView`` + +## Topics + +### Configuration + +- ``SwiftUI/View/safariEntersReaderIfAvailable(_:)`` +- ``SwiftUI/View/safariBarCollapsingEnabled(_:)`` + +### Appearance + +- ``SwiftUI/View/safariBarTintColor(_:)`` +- ``SwiftUI/View/safariControlTintColor(_:)`` +- ``SwiftUI/View/safariDismissButtonStyle(_:)`` + +### Presentation + +- ``SwiftUI/View/safari(isPresented:onDismiss:safariView:)`` +- ``SwiftUI/View/safari(url:onDismiss:safariView:)`` +- ``SwiftUI/View/safari(item:onDismiss:safariView:)`` +- ``SwiftUI/View/safari(item:id:onDismiss:safariView:)`` + +### Custom Activities + +- ``SwiftUI/View/includedSafariActivities(_:)-2u8l9`` +- ``SwiftUI/View/includedSafariActivities(_:)-362lz`` +- ``SwiftUI/View/excludedSafariActivityTypes(_:)-tvrg`` +- ``SwiftUI/View/excludedSafariActivityTypes(_:)-1v8zq`` diff --git a/Sources/SafariView/SafariView.docc/View.md b/Sources/SafariView/SafariView.docc/View.md index 74b68a248..5b5bdc7f9 100644 --- a/Sources/SafariView/SafariView.docc/View.md +++ b/Sources/SafariView/SafariView.docc/View.md @@ -36,25 +36,14 @@ You can also use sheet presentation, or any other presentation mechanism of your - ``init(url:activityButton:onInitialLoad:onInitialRedirect:onOpenInBrowser:)`` - ``init(url:activityButton:eventAttribution:onInitialLoad:onInitialRedirect:onOpenInBrowser:)`` -### Configuration +### View Modifiers -- ``SwiftUI/View/safariEntersReaderIfAvailable(_:)`` -- ``SwiftUI/View/safariBarCollapsingEnabled(_:)`` +- ``SwiftUI/View`` ### Appearance -- ``SwiftUI/View/safariBarTintColor(_:)`` -- ``SwiftUI/View/safariControlTintColor(_:)`` -- ``SwiftUI/View/safariDismissButtonStyle(_:)`` - ``SafariView/SafariView/DismissButtonStyle`` -### Presentation - -- ``SwiftUI/View/safari(isPresented:onDismiss:safariView:)`` -- ``SwiftUI/View/safari(url:onDismiss:safariView:)`` -- ``SwiftUI/View/safari(item:onDismiss:safariView:)`` -- ``SwiftUI/View/safari(item:id:onDismiss:safariView:)`` - ### Connection Prewarming - ``prewarmConnections(to:)`` @@ -67,12 +56,9 @@ You can also use sheet presentation, or any other presentation mechanism of your ### Custom Activities -- ``SwiftUI/View/includedSafariActivities(_:)-2u8l9`` -- ``SwiftUI/View/includedSafariActivities(_:)-362lz`` - ``SafariView/SafariView/IncludedActivities`` -- ``SwiftUI/View/excludedSafariActivityTypes(_:)-tvrg`` -- ``SwiftUI/View/excludedSafariActivityTypes(_:)-1v8zq`` - ``SafariView/SafariView/ExcludedActivityTypes`` +- ``SafariView/SafariView/ActivityButton`` ### Environment Values