From 2f0f41b0707d257cae24453d8797a47ea613d5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dsis?= Date: Wed, 18 Dec 2024 08:28:28 -0500 Subject: [PATCH] [PBIOS-637] 6.6.0-release (#481) Playbook version update --- Changelog.md | 24 +++++++++++++++++++ .../project.pbxproj | 8 +++---- .../Typeahead/PBTypeaheadTemplate.swift | 2 +- .../Typeahead/TypeaheadCatalog.swift | 3 +-- project.yml | 4 ++-- 5 files changed, 32 insertions(+), 9 deletions(-) diff --git a/Changelog.md b/Changelog.md index 3dd2c070..0fa513ee 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,27 @@ +# 🚀 Playbook Swift 6.6.0: Enhanced Popovers and More! 🚀 +##### Dec 18, 2024 + +This release introduces fixes and improvements that refine user experience, optimize component behavior, and expand functionality across platforms. + +[6.6.0 Full List of Changes](https://github.com/powerhome/playbook-swift/compare/6.5.1...6.6.0) + +### Playbook Changes + +#### Kit Enhancements +- **Update Padding Prop to PBNavItem**: Introduced a new padding property for PBNavItem to allow greater customization. #475 (Rachel Radford) +- **Add Action to Reaction Button**: Enabled new actions to enhance interactivity with the Reaction Button kit. #474(Rachel Radford) + +#### Bug Fixes +- **Fix Popover Closing on Scroll**: Resolved issues with popovers unexpectedly closing when scrolling. #469 (Isis Silva) +- **Fix Popover Leak**: Addressed a memory leak associated with popover components. #478 (Alexandre Hauber) +- **Fix Typeahead Dropdown Scroll on Key Pressed**: Improved dropdown behavior for a smoother scrolling experience when using the keyboard. #476 (Isis Silva) + +####Platform Updates +- **Upgrade iOS and macOS Versions**: Updated supported versions for iOS and macOS to ensure compatibility with the latest platforms. #477 (Isis Silva) + +🔗 [Full Changelog](https://github.com/powerhome/playbook-swift/compare/6.5.1...6.6.0) + + # 🚀 Playbook Swift 6.5.0: Enhanced Dynamic Typeahead! 🚀 ##### Nov 12, 2024 diff --git a/PlaybookShowcase/PlaybookShowcase.xcodeproj/project.pbxproj b/PlaybookShowcase/PlaybookShowcase.xcodeproj/project.pbxproj index 7420e8d8..9969ebff 100644 --- a/PlaybookShowcase/PlaybookShowcase.xcodeproj/project.pbxproj +++ b/PlaybookShowcase/PlaybookShowcase.xcodeproj/project.pbxproj @@ -298,7 +298,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 6.5.0; + MARKETING_VERSION = 6.6.0; PRODUCT_BUNDLE_IDENTIFIER = com.powerhrg.PlaybookShowcase; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -336,7 +336,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 6.5.0; + MARKETING_VERSION = 6.6.0; PRODUCT_BUNDLE_IDENTIFIER = com.powerhrg.PlaybookShowcase; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "Playbook In House"; @@ -376,7 +376,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.6; - MARKETING_VERSION = 6.5.0; + MARKETING_VERSION = 6.6.0; PRODUCT_BUNDLE_IDENTIFIER = com.powerhrg.PlaybookShowcase; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -411,7 +411,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.6; - MARKETING_VERSION = 6.5.0; + MARKETING_VERSION = 6.6.0; PRODUCT_BUNDLE_IDENTIFIER = com.powerhrg.PlaybookShowcase; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "Playbook Showcase Dev ID"; diff --git a/Sources/Playbook/Components/Typeahead/PBTypeaheadTemplate.swift b/Sources/Playbook/Components/Typeahead/PBTypeaheadTemplate.swift index 5deeaf26..0d56325c 100644 --- a/Sources/Playbook/Components/Typeahead/PBTypeaheadTemplate.swift +++ b/Sources/Playbook/Components/Typeahead/PBTypeaheadTemplate.swift @@ -19,7 +19,7 @@ public struct PBTypeaheadTemplate: View { private let dropdownMaxHeight: CGFloat? private let listOffset: (x: CGFloat, y: CGFloat) private let clearAction: (() -> Void)? - private let popoverManager = PopoverManager() + private let popoverManager = PopoverManager.shared @State private var showList: Bool = false @State private var hoveringIndex: (Int?, String?) diff --git a/Sources/Playbook/Components/Typeahead/TypeaheadCatalog.swift b/Sources/Playbook/Components/Typeahead/TypeaheadCatalog.swift index d3a82605..1466a9ae 100644 --- a/Sources/Playbook/Components/Typeahead/TypeaheadCatalog.swift +++ b/Sources/Playbook/Components/Typeahead/TypeaheadCatalog.swift @@ -30,8 +30,7 @@ public struct TypeaheadCatalog: View { @FocusState private var isFocusedSection @State private var presentDialog: Bool = false - - @StateObject private var popoverManager = PopoverManager() + @StateObject private var popoverManager = PopoverManager.shared public var body: some View { PBDocStack(title: "Typeahead") { diff --git a/project.yml b/project.yml index 07bce84c..7371ea75 100644 --- a/project.yml +++ b/project.yml @@ -22,7 +22,7 @@ targets: GENERATE_INFOPLIST_FILE: false PRODUCT_BUNDLE_IDENTIFIER: com.powerhrg.PlaybookShowcase CURRENT_PROJECT_VERSION: 1 - MARKETING_VERSION: "6.5.0" + MARKETING_VERSION: "6.6.0" Playbook-macOS: type: application platform: macOS @@ -35,4 +35,4 @@ targets: GENERATE_INFOPLIST_FILE: false PRODUCT_BUNDLE_IDENTIFIER: com.powerhrg.PlaybookShowcase CURRENT_PROJECT_VERSION: 1 - MARKETING_VERSION: "6.5.0" + MARKETING_VERSION: "6.6.0"