2020-04-10 05:05:07 +03:00
|
|
|
Pod::Spec.new do |s|
|
2020-04-15 20:18:25 +03:00
|
|
|
s.name = 'MicrosoftFluentUI'
|
2022-04-20 19:29:53 +03:00
|
|
|
s.version = '0.4.9'
|
2020-04-10 05:05:07 +03:00
|
|
|
s.summary = 'Fluent UI is a set of reusable UI controls and tools'
|
|
|
|
s.homepage = "https://www.microsoft.com/design/fluent/#/"
|
|
|
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
|
|
|
s.author = { "Microsoft" => "fluentuinativeowners@microsoft.com"}
|
|
|
|
s.source = { :git => "https://github.com/microsoft/fluentui-apple.git", :tag => "#{s.version}" }
|
2021-09-01 00:34:59 +03:00
|
|
|
s.swift_version = "5.4"
|
2020-04-15 20:18:25 +03:00
|
|
|
s.module_name = 'FluentUI'
|
2020-10-19 18:27:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
# iOS
|
|
|
|
|
2021-12-02 20:34:47 +03:00
|
|
|
s.ios.deployment_target = "14.0"
|
2020-10-13 01:13:28 +03:00
|
|
|
|
2021-03-04 02:42:51 +03:00
|
|
|
s.subspec 'Avatar_ios' do |avatar_ios|
|
|
|
|
avatar_ios.platform = :ios
|
|
|
|
avatar_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
avatar_ios.preserve_paths = ["ios/FluentUI/Avatar/Avatar.resources.xcfilelist"]
|
2021-03-04 02:42:51 +03:00
|
|
|
avatar_ios.source_files = ["ios/FluentUI/Avatar/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-08-03 01:26:18 +03:00
|
|
|
s.subspec 'AvatarGroup_ios' do |avatargroup_ios|
|
|
|
|
avatargroup_ios.platform = :ios
|
|
|
|
avatargroup_ios.dependency 'MicrosoftFluentUI/Avatar_ios'
|
|
|
|
avatargroup_ios.source_files = ["ios/FluentUI/AvatarGroup/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'ActivityIndicator_ios' do |activityindicator_ios|
|
|
|
|
activityindicator_ios.platform = :ios
|
2021-10-29 01:27:57 +03:00
|
|
|
activityindicator_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
activityindicator_ios.source_files = ["ios/FluentUI/ActivityIndicator/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'BadgeField_ios' do |badgefield_ios|
|
|
|
|
badgefield_ios.platform = :ios
|
|
|
|
badgefield_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
badgefield_ios.source_files = ["ios/FluentUI/Badge Field/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'BarButtonItems_ios' do |barbuttonitems_ios|
|
|
|
|
barbuttonitems_ios.platform = :ios
|
|
|
|
barbuttonitems_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
barbuttonitems_ios.preserve_paths = ["ios/FluentUI/BarButtonItems/BarButtonItems.resources.xcfilelist"]
|
2021-03-04 00:37:47 +03:00
|
|
|
barbuttonitems_ios.source_files = ["ios/FluentUI/BarButtonItems/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-05-19 03:32:10 +03:00
|
|
|
s.subspec 'BottomCommanding_ios' do |bottomcommanding_ios|
|
|
|
|
bottomcommanding_ios.platform = :ios
|
|
|
|
bottomcommanding_ios.dependency 'MicrosoftFluentUI/BottomSheet_ios'
|
|
|
|
bottomcommanding_ios.dependency 'MicrosoftFluentUI/OtherCells_ios'
|
|
|
|
bottomcommanding_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
|
|
|
bottomcommanding_ios.dependency 'MicrosoftFluentUI/TabBar_ios'
|
|
|
|
bottomcommanding_ios.dependency 'MicrosoftFluentUI/TableView_ios'
|
|
|
|
bottomcommanding_ios.preserve_paths = ["ios/FluentUI/Bottom Commanding/BottomCommanding.resources.xcfilelist"]
|
|
|
|
bottomcommanding_ios.source_files = ["ios/FluentUI/Bottom Commanding/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'BottomSheet_ios' do |bottomsheet_ios|
|
|
|
|
bottomsheet_ios.platform = :ios
|
2021-06-03 21:23:01 +03:00
|
|
|
bottomsheet_ios.dependency 'MicrosoftFluentUI/Obscurable_ios'
|
2021-05-19 03:32:10 +03:00
|
|
|
bottomsheet_ios.dependency 'MicrosoftFluentUI/ResizingHandleView_ios'
|
|
|
|
bottomsheet_ios.source_files = ["ios/FluentUI/Bottom Sheet/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'Button_ios' do |button_ios|
|
|
|
|
button_ios.platform = :ios
|
|
|
|
button_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
button_ios.source_files = ["ios/FluentUI/Button/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Calendar_ios' do |calendar_ios|
|
|
|
|
calendar_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/BarButtonItems_ios'
|
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/DotView_ios'
|
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/Presenters_ios'
|
2021-03-02 22:58:13 +03:00
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/SegmentedControl_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
|
|
|
calendar_ios.dependency 'MicrosoftFluentUI/TwoLineTitleView_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
calendar_ios.source_files = ["ios/FluentUI/Calendar/**/*.{swift,h}",
|
|
|
|
"ios/FluentUI/Date Time Pickers/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Card_ios' do |card_ios|
|
|
|
|
card_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
card_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
card_ios.source_files = ["ios/FluentUI/Card/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-08-05 19:01:50 +03:00
|
|
|
s.subspec 'CardNudge_ios' do |cardnudge_ios|
|
|
|
|
cardnudge_ios.platform = :ios
|
|
|
|
cardnudge_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
cardnudge_ios.source_files = ["ios/FluentUI/Card Nudge/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-02-11 00:35:18 +03:00
|
|
|
s.subspec 'CommandBar_ios' do |commandbar_ios|
|
|
|
|
commandbar_ios.platform = :ios
|
|
|
|
commandbar_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
commandbar_ios.source_files = ["ios/FluentUI/Command Bar/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Core_ios' do |core_ios|
|
|
|
|
core_ios.platform = :ios
|
|
|
|
core_ios.resource_bundle = { 'FluentUIResources-ios' => ["apple/Resources/**/*.{json,xcassets}",
|
|
|
|
"ios/FluentUI/**/*.{storyboard,xib,xcassets,strings,stringsdict}"] }
|
2021-03-30 21:04:51 +03:00
|
|
|
core_ios.script_phase = { :name => 'Optimize resource bundle',
|
2021-10-26 21:58:29 +03:00
|
|
|
:script => 'REMOVE_UNUSED_RESOURCES_SCRIPT_PATH=${PODS_TARGET_SRCROOT}/scripts/removeUnusedResourcesFromAssets.swift
|
2021-03-30 21:04:51 +03:00
|
|
|
|
2021-10-26 21:58:29 +03:00
|
|
|
# Executes only once per "pod install" (if the script file exists)
|
|
|
|
if [ -f ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH} ]; then
|
|
|
|
echo "=== Removing unused resources from FluentUI-ios.xcassets ==="
|
2021-03-30 21:04:51 +03:00
|
|
|
|
2021-10-26 21:58:29 +03:00
|
|
|
XCODEBUILDPARAMS="-quiet "
|
2021-03-30 21:04:51 +03:00
|
|
|
|
2021-10-26 21:58:29 +03:00
|
|
|
if [ "${CONFIGURATION}" = "Debug" ]; then
|
|
|
|
CONDITIONALCOMPILATIONFLAGS="-D VERBOSE_OUTPUT"
|
|
|
|
XCODEBUILDPARAMS=""
|
|
|
|
fi
|
2021-03-30 21:04:51 +03:00
|
|
|
|
2021-10-26 21:58:29 +03:00
|
|
|
xcrun --sdk macosx swift ${CONDITIONALCOMPILATIONFLAGS} ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH} ${LOCROOT}/MicrosoftFluentUI/ios/FluentUI/Resources/FluentUI-ios.xcassets ${LOCROOT}/MicrosoftFluentUI/ios
|
|
|
|
|
|
|
|
echo "=== Rebuilding resource bundle target ==="
|
|
|
|
xcodebuild ${XCODEBUILDPARAMS} DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING=1 -project ${PROJECT_FILE_PATH} -target "MicrosoftFluentUI-FluentUIResources-ios" -sdk ${PLATFORM_NAME} -configuration ${CONFIGURATION} ARCHS="${ARCHS}" CONFIGURATION_BUILD_DIR="${CONFIGURATION_BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" BUILT_PRODUCTS_DIR="${BUILT_PRODUCTS_DIR}" ${ACTION}
|
|
|
|
|
|
|
|
# Deletes the script to ensure it will not be needlessly executed more than once after each "pod install"
|
|
|
|
rm ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH}
|
|
|
|
|
|
|
|
fi', :execution_position => :before_compile }
|
2021-03-30 21:04:51 +03:00
|
|
|
core_ios.preserve_paths = ["ios/FluentUI/Core/Core.resources.xcfilelist",
|
|
|
|
"scripts/removeUnusedResourcesFromAssets.swift"]
|
2020-10-19 18:27:40 +03:00
|
|
|
core_ios.source_files = ["ios/FluentUI/Configuration/**/*.{swift,h}",
|
|
|
|
"ios/FluentUI/Core/**/*.{swift,h}",
|
|
|
|
"ios/FluentUI/Extensions/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'DotView_ios' do |dotview_ios|
|
|
|
|
dotview_ios.platform = :ios
|
|
|
|
dotview_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
dotview_ios.source_files = ["ios/FluentUI/DotView/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Drawer_ios' do |drawer_ios|
|
|
|
|
drawer_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
drawer_ios.dependency 'MicrosoftFluentUI/Obscurable_ios'
|
|
|
|
drawer_ios.dependency 'MicrosoftFluentUI/ResizingHandleView_ios'
|
|
|
|
drawer_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
|
|
|
drawer_ios.dependency 'MicrosoftFluentUI/TouchForwardingView_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
drawer_ios.source_files = ["ios/FluentUI/Drawer/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'EasyTapButton_ios' do |easytapbutton_ios|
|
|
|
|
easytapbutton_ios.platform = :ios
|
|
|
|
easytapbutton_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
easytapbutton_ios.source_files = ["ios/FluentUI/EasyTapButton/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'HUD_ios' do |hud_ios|
|
|
|
|
hud_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
hud_ios.dependency 'MicrosoftFluentUI/ActivityIndicator_ios'
|
|
|
|
hud_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
hud_ios.dependency 'MicrosoftFluentUI/TouchForwardingView_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
hud_ios.preserve_paths = ["ios/FluentUI/HUD/HUD.resources.xcfilelist"]
|
2020-10-19 18:27:40 +03:00
|
|
|
hud_ios.source_files = ["ios/FluentUI/HUD/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'IndeterminateProgressBar_ios' do |indeterminateprogressbar_ios|
|
|
|
|
indeterminateprogressbar_ios.platform = :ios
|
2021-10-29 01:27:57 +03:00
|
|
|
indeterminateprogressbar_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
indeterminateprogressbar_ios.source_files = ["ios/FluentUI/IndeterminateProgressBar/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Label_ios' do |label_ios|
|
|
|
|
label_ios.platform = :ios
|
|
|
|
label_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
label_ios.source_files = ["ios/FluentUI/Label/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Navigation_ios' do |navigation_ios|
|
|
|
|
navigation_ios.platform = :ios
|
|
|
|
navigation_ios.dependency 'MicrosoftFluentUI/ActivityIndicator_ios'
|
2021-03-04 02:42:51 +03:00
|
|
|
navigation_ios.dependency 'MicrosoftFluentUI/Avatar_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
navigation_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2021-03-04 02:42:51 +03:00
|
|
|
navigation_ios.dependency 'MicrosoftFluentUI/TwoLineTitleView_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
navigation_ios.preserve_paths = ["ios/FluentUI/Navigation/Navigation.resources.xcfilelist"]
|
2021-03-04 00:37:47 +03:00
|
|
|
navigation_ios.source_files = ["ios/FluentUI/Navigation/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Notification_ios' do |notification_ios|
|
|
|
|
notification_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
notification_ios.dependency 'MicrosoftFluentUI/Obscurable_ios'
|
|
|
|
notification_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
notification_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
notification_ios.preserve_paths = ["ios/FluentUI/Notification/Notification.resources.xcfilelist"]
|
2020-10-19 18:27:40 +03:00
|
|
|
notification_ios.source_files = ["ios/FluentUI/Notification/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'Obscurable_ios' do |obscurable_ios|
|
|
|
|
obscurable_ios.platform = :ios
|
|
|
|
obscurable_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
obscurable_ios.source_files = ["ios/FluentUI/Obscurable/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 02:42:51 +03:00
|
|
|
s.subspec 'OtherCells_ios' do |othercells_ios|
|
|
|
|
othercells_ios.platform = :ios
|
|
|
|
othercells_ios.dependency 'MicrosoftFluentUI/ActivityIndicator_ios'
|
|
|
|
othercells_ios.dependency 'MicrosoftFluentUI/TableView_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
othercells_ios.preserve_paths = ["ios/FluentUI/Other Cells/OtherCells.resources.xcfilelist"]
|
2021-03-04 02:42:51 +03:00
|
|
|
othercells_ios.source_files = ["ios/FluentUI/Other Cells/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'PeoplePicker_ios' do |peoplepicker_ios|
|
|
|
|
peoplepicker_ios.platform = :ios
|
2021-03-04 02:42:51 +03:00
|
|
|
peoplepicker_ios.dependency 'MicrosoftFluentUI/Avatar_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
peoplepicker_ios.dependency 'MicrosoftFluentUI/BadgeField_ios'
|
|
|
|
peoplepicker_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2021-03-04 02:42:51 +03:00
|
|
|
peoplepicker_ios.dependency 'MicrosoftFluentUI/OtherCells_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
peoplepicker_ios.source_files = ["ios/FluentUI/People Picker/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-08-20 07:19:08 +03:00
|
|
|
s.subspec 'PersonaButton_ios' do |personaButton_ios|
|
|
|
|
personaButton_ios.platform = :ios
|
|
|
|
personaButton_ios.dependency 'MicrosoftFluentUI/Avatar_ios'
|
|
|
|
personaButton_ios.source_files = ["ios/FluentUI/PersonaButton/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'PersonaButtonCarousel_ios' do |personaButtonCarousel_ios|
|
|
|
|
personaButtonCarousel_ios.platform = :ios
|
|
|
|
personaButtonCarousel_ios.dependency 'MicrosoftFluentUI/PersonaButton_ios'
|
|
|
|
personaButtonCarousel_ios.source_files = ["ios/FluentUI/PersonaButtonCarousel/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'PillButtonBar_ios' do |pillbuttonbar_ios|
|
|
|
|
pillbuttonbar_ios.platform = :ios
|
|
|
|
pillbuttonbar_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
pillbuttonbar_ios.source_files = ["ios/FluentUI/Pill Button Bar/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'PopupMenu_ios' do |popupmenu_ios|
|
|
|
|
popupmenu_ios.platform = :ios
|
|
|
|
popupmenu_ios.dependency 'MicrosoftFluentUI/Drawer_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
popupmenu_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
popupmenu_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
|
|
|
popupmenu_ios.dependency 'MicrosoftFluentUI/TableView_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
popupmenu_ios.source_files = ["ios/FluentUI/Popup Menu/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Presenters_ios' do |presenters_ios|
|
|
|
|
presenters_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
presenters_ios.dependency 'MicrosoftFluentUI/Obscurable_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
presenters_ios.source_files = ["ios/FluentUI/Presenters/**/*.{swift,h}"]
|
|
|
|
end
|
2021-03-03 01:13:49 +03:00
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'ResizingHandleView_ios' do |resizinghandleview_ios|
|
|
|
|
resizinghandleview_ios.platform = :ios
|
|
|
|
resizinghandleview_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
resizinghandleview_ios.source_files = ["ios/FluentUI/ResizingHandleView/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-02 22:58:13 +03:00
|
|
|
s.subspec 'SegmentedControl_ios' do |segmentedcontrol_ios|
|
2021-03-03 01:13:49 +03:00
|
|
|
segmentedcontrol_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
segmentedcontrol_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2021-03-03 01:13:49 +03:00
|
|
|
segmentedcontrol_ios.source_files = ["ios/FluentUI/SegmentedControl/**/*.{swift,h}"]
|
2021-03-02 22:58:13 +03:00
|
|
|
end
|
2020-10-19 18:27:40 +03:00
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'Separator_ios' do |separator_ios|
|
|
|
|
separator_ios.platform = :ios
|
|
|
|
separator_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
separator_ios.source_files = ["ios/FluentUI/Separator/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Shimmer_ios' do |shimmer_ios|
|
|
|
|
shimmer_ios.platform = :ios
|
|
|
|
shimmer_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
shimmer_ios.dependency 'MicrosoftFluentUI/Utilities_ios'
|
|
|
|
shimmer_ios.source_files = ["ios/FluentUI/Shimmer/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'TabBar_ios' do |tabbar_ios|
|
|
|
|
tabbar_ios.platform = :ios
|
2021-03-04 02:42:51 +03:00
|
|
|
tabbar_ios.dependency 'MicrosoftFluentUI/Avatar_ios'
|
2021-03-04 00:37:47 +03:00
|
|
|
tabbar_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
tabbar_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2020-10-19 18:27:40 +03:00
|
|
|
tabbar_ios.source_files = ["ios/FluentUI/Tab Bar/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'TableView_ios' do |tableview_ios|
|
|
|
|
tableview_ios.platform = :ios
|
|
|
|
tableview_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
tableview_ios.dependency 'MicrosoftFluentUI/Separator_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
tableview_ios.preserve_paths = ["ios/FluentUI/Table View/TableView.resources.xcfilelist"]
|
2021-03-04 00:37:47 +03:00
|
|
|
tableview_ios.source_files = ["ios/FluentUI/Table View/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Tooltip_ios' do |tooltip_ios|
|
|
|
|
tooltip_ios.platform = :ios
|
2021-03-04 00:37:47 +03:00
|
|
|
tooltip_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
|
|
|
tooltip_ios.dependency 'MicrosoftFluentUI/TouchForwardingView_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
tooltip_ios.preserve_paths = ["ios/FluentUI/Tooltip/Tooltip.resources.xcfilelist"]
|
2020-10-19 18:27:40 +03:00
|
|
|
tooltip_ios.source_files = ["ios/FluentUI/Tooltip/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-04 00:37:47 +03:00
|
|
|
s.subspec 'TouchForwardingView_ios' do |touchforwardingview_ios|
|
|
|
|
touchforwardingview_ios.platform = :ios
|
|
|
|
touchforwardingview_ios.dependency 'MicrosoftFluentUI/Core_ios'
|
|
|
|
touchforwardingview_ios.source_files = ["ios/FluentUI/TouchForwardingView/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'TwoLineTitleView_ios' do |twoLinetitleview_ios|
|
|
|
|
twoLinetitleview_ios.platform = :ios
|
|
|
|
twoLinetitleview_ios.dependency 'MicrosoftFluentUI/EasyTapButton_ios'
|
|
|
|
twoLinetitleview_ios.dependency 'MicrosoftFluentUI/Label_ios'
|
2021-03-30 21:04:51 +03:00
|
|
|
twoLinetitleview_ios.preserve_paths = ["ios/FluentUI/TwoLineTitleView/TwoLineTitleView.resources.xcfilelist"]
|
2021-03-04 00:37:47 +03:00
|
|
|
twoLinetitleview_ios.source_files = ["ios/FluentUI/TwoLineTitleView/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Utilities_ios' do |utilities_ios|
|
|
|
|
utilities_ios.platform = :ios
|
|
|
|
utilities_ios.source_files = ["ios/FluentUI/Utilities/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# Mac
|
|
|
|
|
2020-11-19 19:52:02 +03:00
|
|
|
s.osx.deployment_target = "10.14"
|
2020-10-19 18:27:40 +03:00
|
|
|
|
2021-03-06 05:32:52 +03:00
|
|
|
s.subspec 'Appearance_mac' do |appearance_mac|
|
|
|
|
appearance_mac.platform = :osx
|
|
|
|
appearance_mac.source_files = ["macos/FluentUI/Appearance/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'AvatarView_mac' do |avatarview_mac|
|
|
|
|
avatarview_mac.platform = :osx
|
|
|
|
avatarview_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
2021-03-06 05:32:52 +03:00
|
|
|
avatarview_mac.dependency 'MicrosoftFluentUI/DynamicColor_mac'
|
2020-10-19 18:27:40 +03:00
|
|
|
avatarview_mac.source_files = ["macos/FluentUI/AvatarView/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-08-13 02:33:02 +03:00
|
|
|
s.subspec 'BadgeView_mac' do |badgeview_mac|
|
|
|
|
badgeview_mac.platform = :osx
|
|
|
|
badgeview_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
|
|
|
badgeview_mac.dependency 'MicrosoftFluentUI/DynamicColor_mac'
|
|
|
|
badgeview_mac.source_files = ["macos/FluentUI/Badge/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Button_mac' do |button_mac|
|
|
|
|
button_mac.platform = :osx
|
|
|
|
button_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
|
|
|
button_mac.source_files = ["macos/FluentUI/Button/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Core_mac' do |core_mac|
|
|
|
|
core_mac.platform = :osx
|
2020-10-27 03:42:01 +03:00
|
|
|
core_mac.resource_bundle = { 'FluentUIResources-macos' => ["apple/Resources/**/*.{json,xcassets}",
|
2021-07-15 23:01:41 +03:00
|
|
|
"macos/FluentUI/**/*.{storyboard,xib,xcassets,strings,stringsdict}"] }
|
2020-10-19 18:27:40 +03:00
|
|
|
core_mac.source_files = ["macos/FluentUI/Core/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'DatePicker_mac' do |datepicker_mac|
|
|
|
|
datepicker_mac.platform = :osx
|
|
|
|
datepicker_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
2021-03-06 05:32:52 +03:00
|
|
|
datepicker_mac.dependency 'MicrosoftFluentUI/Appearance_mac'
|
2020-10-19 18:27:40 +03:00
|
|
|
datepicker_mac.source_files = ["macos/FluentUI/DatePicker/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2021-03-06 05:32:52 +03:00
|
|
|
s.subspec 'DynamicColor_mac' do |dynamiccolor_mac|
|
|
|
|
dynamiccolor_mac.platform = :osx
|
|
|
|
dynamiccolor_mac.dependency 'MicrosoftFluentUI/Appearance_mac'
|
|
|
|
dynamiccolor_mac.source_files = ["macos/FluentUI/DynamicColor/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
2020-10-19 18:27:40 +03:00
|
|
|
s.subspec 'Link_mac' do |link_mac|
|
|
|
|
link_mac.platform = :osx
|
|
|
|
link_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
|
|
|
link_mac.source_files = ["macos/FluentUI/Link/**/*.{swift,h}"]
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Separator_mac' do |separator_mac|
|
|
|
|
separator_mac.platform = :osx
|
|
|
|
separator_mac.dependency 'MicrosoftFluentUI/Core_mac'
|
|
|
|
separator_mac.source_files = ["macos/FluentUI/Separator/**/*.{swift,h}"]
|
|
|
|
end
|
2020-10-13 01:13:28 +03:00
|
|
|
|
2020-04-10 05:05:07 +03:00
|
|
|
end
|