From cdb891156a368b4e56ec37fdec59aba32a980ca7 Mon Sep 17 00:00:00 2001 From: Trax Bagley Date: Tue, 9 Jun 2026 10:29:57 -0600 Subject: [PATCH 1/3] added css kui-basic-html-content for html content to show the bold, italic and other css that was removed with the css sanitations --- .../lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt | 3 +++ .../com/lightningkite/mppexampleapp/internal/RootPage.kt | 1 + .../kotlin/com/lightningkite/kiteui/views/KiteUiCss.kt | 5 +++++ .../lightningkite/kiteui/views/direct/TextView.commonHtml.kt | 1 + 4 files changed, 10 insertions(+) diff --git a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt index ecd890aa0..0dab7f725 100644 --- a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt +++ b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt @@ -8,11 +8,14 @@ import com.lightningkite.kiteui.navigation.Page import com.lightningkite.kiteui.reactive.* import com.lightningkite.kiteui.views.* import com.lightningkite.kiteui.views.direct.* +import com.lightningkite.reactive.core.Constant +import com.lightningkite.reactive.core.Reactive import com.lightningkite.reactive.extensions.debounce import com.lightningkite.readable.Property @Routable("markdown-demo") object MarkdownDemoPage : Page { + override val title: Reactive = Constant("Markdown Demo") private val sampleMarkdown = """ # Markdown Demo diff --git a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/RootPage.kt b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/RootPage.kt index 26aaf7358..903b6d3c3 100644 --- a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/RootPage.kt +++ b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/RootPage.kt @@ -118,6 +118,7 @@ object RootPage : Page { linkPage { AudioPage } linkPage { AudioTestPage } linkPage { CameraScannerTestPage } + linkPage { MarkdownDemoPage } sectionLabel("Animation") linkPage { ShownWhenTransitionPage } diff --git a/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/KiteUiCss.kt b/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/KiteUiCss.kt index 1c94eb69e..3e7f61863 100644 --- a/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/KiteUiCss.kt +++ b/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/KiteUiCss.kt @@ -83,6 +83,11 @@ class KiteUiCss(val dynamicCss: DynamicCss) { article.kui, aside.kui, details.kui, figcaption.kui, figure.kui, footer.kui, header.kui, hgroup.kui, menu.kui, nav.kui, section.kui { display: block; } + + .kui-basic-html-content b, .kui-basic-html-content strong { font-weight: bold; } + .kui-basic-html-content i, .kui-basic-html-content em { font-style: italic; } + .kui-basic-html-content u { text-decoration: underline; } + .kui-basic-html-content s, .kui-basic-html-content strike { text-decoration: line-through; } body { line-height: 1; diff --git a/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/direct/TextView.commonHtml.kt b/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/direct/TextView.commonHtml.kt index d144d437a..aedbc00c6 100644 --- a/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/direct/TextView.commonHtml.kt +++ b/library/src/commonHtmlMain/kotlin/com/lightningkite/kiteui/views/direct/TextView.commonHtml.kt @@ -77,6 +77,7 @@ actual class TextView actual constructor(context: ElementContext) : NativeElemen actual fun setBasicHtmlContent(html: String) { native.style.whiteSpace = "pre-line" + native.classes.add("kui-basic-html-content") native.innerHtmlUnsafe = html.parseMPNodes().onEach { it.secure() }.joinToString(" ") } } From 8f5296754b8d734f92316b5008cdde08023735d4 Mon Sep 17 00:00:00 2001 From: trax Date: Tue, 16 Jun 2026 14:06:55 -0600 Subject: [PATCH 2/3] possibly fix ios not buildinig on giithub cli --- .../project.pbxproj | 136 +++++++++--------- example-app-ios/Podfile.lock | 2 +- .../com/lightningkite/mppexampleapp/App.kt | 2 +- .../internal/MarkdownDemoPage.kt | 8 +- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/example-app-ios/KiteUI Example App.xcodeproj/project.pbxproj b/example-app-ios/KiteUI Example App.xcodeproj/project.pbxproj index 07f651be3..25b192da3 100644 --- a/example-app-ios/KiteUI Example App.xcodeproj/project.pbxproj +++ b/example-app-ios/KiteUI Example App.xcodeproj/project.pbxproj @@ -45,9 +45,9 @@ 18D0BEDF2C2488B100145B47 /* fontsRobotoLight-light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 18D0BEC22C2488B100145B47 /* fontsRobotoLight-light.ttf */; }; 18D0BEE02C2488B100145B47 /* fontsRobotoLightItalic-light-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 18D0BEC32C2488B100145B47 /* fontsRobotoLightItalic-light-Italic.ttf */; }; 18D0BEE12C2488B100145B47 /* videoBack.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = 18D0BEC42C2488B100145B47 /* videoBack.mp4 */; }; - 2447518B4F6BEA4A018984A6 /* Pods_KiteUI_Example_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5793328D6C498AA35F3F77A /* Pods_KiteUI_Example_App.framework */; }; - 261A3BAB11A2A9937CB8A8FD /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 000A11B9BFF698F86BC1A600 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */; }; - FAFA7E91A86D40355E584EBD /* Pods_KiteUI_Example_AppTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A9E4F8E77A925856E5F6BC3 /* Pods_KiteUI_Example_AppTests.framework */; }; + 42A14485E002F8337D8BB087 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A2721654A7CDCC6EE6C3645 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */; }; + A78A875C27130211427E0574 /* Pods_KiteUI_Example_AppTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B242D9E7C7808CAD984BEEA /* Pods_KiteUI_Example_AppTests.framework */; }; + BF760C9B7BD68B7D6EA77F19 /* Pods_KiteUI_Example_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF43AC53E97996A9401CD99 /* Pods_KiteUI_Example_App.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -68,8 +68,6 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 000A11B9BFF698F86BC1A600 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 07FD4A0BF5CEE0A6BAA5D5FA /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig"; sourceTree = ""; }; 183A2D572B33522F001011C3 /* KiteUI Example App-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "KiteUI Example App-Bridging-Header.h"; sourceTree = ""; }; 183A2D582B335230001011C3 /* test.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = test.m; sourceTree = ""; }; 188D8B952B2B9CB400732A2E /* KiteUI Example App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "KiteUI Example App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -113,13 +111,15 @@ 18D0BEC22C2488B100145B47 /* fontsRobotoLight-light.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "fontsRobotoLight-light.ttf"; sourceTree = ""; }; 18D0BEC32C2488B100145B47 /* fontsRobotoLightItalic-light-Italic.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "fontsRobotoLightItalic-light-Italic.ttf"; sourceTree = ""; }; 18D0BEC42C2488B100145B47 /* videoBack.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = videoBack.mp4; sourceTree = ""; }; - 260061620F0AA414D43F1223 /* Pods-KiteUI Example App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App.debug.xcconfig"; sourceTree = ""; }; - 280D9146A5216C68FBF42649 /* Pods-KiteUI Example AppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example AppTests.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example AppTests/Pods-KiteUI Example AppTests.debug.xcconfig"; sourceTree = ""; }; - 64D926F8C86873C3E397599B /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig"; sourceTree = ""; }; - 6A9E4F8E77A925856E5F6BC3 /* Pods_KiteUI_Example_AppTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_AppTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 826C86A24272DCEA5C1ECE1B /* Pods-KiteUI Example App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App.release.xcconfig"; sourceTree = ""; }; - ADBDA950697B0A6C7C66C7A4 /* Pods-KiteUI Example AppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example AppTests.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example AppTests/Pods-KiteUI Example AppTests.release.xcconfig"; sourceTree = ""; }; - F5793328D6C498AA35F3F77A /* Pods_KiteUI_Example_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_App.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1AF43AC53E97996A9401CD99 /* Pods_KiteUI_Example_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_App.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 22734415A23BDBD0238C030E /* Pods-KiteUI Example AppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example AppTests.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example AppTests/Pods-KiteUI Example AppTests.debug.xcconfig"; sourceTree = ""; }; + 2BFC183D917364913C567D4A /* Pods-KiteUI Example App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App.release.xcconfig"; sourceTree = ""; }; + 2C5BD3042E632E094BECD1AA /* Pods-KiteUI Example AppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example AppTests.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example AppTests/Pods-KiteUI Example AppTests.release.xcconfig"; sourceTree = ""; }; + 7B242D9E7C7808CAD984BEEA /* Pods_KiteUI_Example_AppTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_AppTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 829423F84D6BB1151175BFC1 /* Pods-KiteUI Example App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App.debug.xcconfig"; sourceTree = ""; }; + 852CE10B3DB74495323BC0AA /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig"; sourceTree = ""; }; + 9A2721654A7CDCC6EE6C3645 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C5A08FC331FF7CA44B30E3DE /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig"; path = "Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -127,7 +127,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2447518B4F6BEA4A018984A6 /* Pods_KiteUI_Example_App.framework in Frameworks */, + BF760C9B7BD68B7D6EA77F19 /* Pods_KiteUI_Example_App.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -135,7 +135,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - FAFA7E91A86D40355E584EBD /* Pods_KiteUI_Example_AppTests.framework in Frameworks */, + A78A875C27130211427E0574 /* Pods_KiteUI_Example_AppTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -143,7 +143,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 261A3BAB11A2A9937CB8A8FD /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework in Frameworks */, + 42A14485E002F8337D8BB087 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -158,7 +158,7 @@ 188D8BB82B2B9CB600732A2E /* KiteUI Example AppUITests */, 188D8B962B2B9CB400732A2E /* Products */, 29745E8A69D3C935444F19BF /* Pods */, - C928F5BCD2A002FA9221332C /* Frameworks */, + C1FB2C7A445BD8EB3D0417CD /* Frameworks */, ); sourceTree = ""; }; @@ -244,22 +244,22 @@ 29745E8A69D3C935444F19BF /* Pods */ = { isa = PBXGroup; children = ( - 260061620F0AA414D43F1223 /* Pods-KiteUI Example App.debug.xcconfig */, - 826C86A24272DCEA5C1ECE1B /* Pods-KiteUI Example App.release.xcconfig */, - 64D926F8C86873C3E397599B /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */, - 07FD4A0BF5CEE0A6BAA5D5FA /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */, - 280D9146A5216C68FBF42649 /* Pods-KiteUI Example AppTests.debug.xcconfig */, - ADBDA950697B0A6C7C66C7A4 /* Pods-KiteUI Example AppTests.release.xcconfig */, + 829423F84D6BB1151175BFC1 /* Pods-KiteUI Example App.debug.xcconfig */, + 2BFC183D917364913C567D4A /* Pods-KiteUI Example App.release.xcconfig */, + 852CE10B3DB74495323BC0AA /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */, + C5A08FC331FF7CA44B30E3DE /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */, + 22734415A23BDBD0238C030E /* Pods-KiteUI Example AppTests.debug.xcconfig */, + 2C5BD3042E632E094BECD1AA /* Pods-KiteUI Example AppTests.release.xcconfig */, ); path = Pods; sourceTree = ""; }; - C928F5BCD2A002FA9221332C /* Frameworks */ = { + C1FB2C7A445BD8EB3D0417CD /* Frameworks */ = { isa = PBXGroup; children = ( - F5793328D6C498AA35F3F77A /* Pods_KiteUI_Example_App.framework */, - 000A11B9BFF698F86BC1A600 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */, - 6A9E4F8E77A925856E5F6BC3 /* Pods_KiteUI_Example_AppTests.framework */, + 1AF43AC53E97996A9401CD99 /* Pods_KiteUI_Example_App.framework */, + 9A2721654A7CDCC6EE6C3645 /* Pods_KiteUI_Example_App_KiteUI_Example_AppUITests.framework */, + 7B242D9E7C7808CAD984BEEA /* Pods_KiteUI_Example_AppTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -271,11 +271,11 @@ isa = PBXNativeTarget; buildConfigurationList = 188D8BBF2B2B9CB600732A2E /* Build configuration list for PBXNativeTarget "KiteUI Example App" */; buildPhases = ( - F496E85BDFE1164B49B7F12B /* [CP] Check Pods Manifest.lock */, + DC80531564B5B179B785E1BB /* [CP] Check Pods Manifest.lock */, 188D8B912B2B9CB400732A2E /* Sources */, 188D8B922B2B9CB400732A2E /* Frameworks */, 188D8B932B2B9CB400732A2E /* Resources */, - FEDEB48E064B4648EF65E808 /* [CP] Embed Pods Frameworks */, + 6C3B83100C1A2B1A5FCCBA4E /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -290,7 +290,7 @@ isa = PBXNativeTarget; buildConfigurationList = 188D8BC22B2B9CB600732A2E /* Build configuration list for PBXNativeTarget "KiteUI Example AppTests" */; buildPhases = ( - 9A445D90B4B77386E434B339 /* [CP] Check Pods Manifest.lock */, + FF433D4783069D4AB7558D44 /* [CP] Check Pods Manifest.lock */, 188D8BA72B2B9CB500732A2E /* Sources */, 188D8BA82B2B9CB500732A2E /* Frameworks */, 188D8BA92B2B9CB500732A2E /* Resources */, @@ -309,11 +309,11 @@ isa = PBXNativeTarget; buildConfigurationList = 188D8BC52B2B9CB600732A2E /* Build configuration list for PBXNativeTarget "KiteUI Example AppUITests" */; buildPhases = ( - A02EE55BE6F6AA0BB44890AE /* [CP] Check Pods Manifest.lock */, + 66665D559DB9AE1D702DC902 /* [CP] Check Pods Manifest.lock */, 188D8BB12B2B9CB600732A2E /* Sources */, 188D8BB22B2B9CB600732A2E /* Frameworks */, 188D8BB32B2B9CB600732A2E /* Resources */, - 36C29B511E5867C631514BA4 /* [CP] Embed Pods Frameworks */, + 69CAEBBC5AE10BF266FFB417 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -425,68 +425,63 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 36C29B511E5867C631514BA4 /* [CP] Embed Pods Frameworks */ = { + 66665D559DB9AE1D702DC902 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KiteUI Example App-KiteUI Example AppUITests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 9A445D90B4B77386E434B339 /* [CP] Check Pods Manifest.lock */ = { + 69CAEBBC5AE10BF266FFB417 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-KiteUI Example AppTests-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App-KiteUI Example AppUITests/Pods-KiteUI Example App-KiteUI Example AppUITests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - A02EE55BE6F6AA0BB44890AE /* [CP] Check Pods Manifest.lock */ = { + 6C3B83100C1A2B1A5FCCBA4E /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-KiteUI Example App-KiteUI Example AppUITests-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - F496E85BDFE1164B49B7F12B /* [CP] Check Pods Manifest.lock */ = { + DC80531564B5B179B785E1BB /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -508,21 +503,26 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - FEDEB48E064B4648EF65E808 /* [CP] Embed Pods Frameworks */ = { + FF433D4783069D4AB7558D44 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KiteUI Example AppTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KiteUI Example App/Pods-KiteUI Example App-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -712,7 +712,7 @@ }; 188D8BC02B2B9CB600732A2E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 260061620F0AA414D43F1223 /* Pods-KiteUI Example App.debug.xcconfig */; + baseConfigurationReference = 829423F84D6BB1151175BFC1 /* Pods-KiteUI Example App.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -744,7 +744,7 @@ }; 188D8BC12B2B9CB600732A2E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 826C86A24272DCEA5C1ECE1B /* Pods-KiteUI Example App.release.xcconfig */; + baseConfigurationReference = 2BFC183D917364913C567D4A /* Pods-KiteUI Example App.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -775,7 +775,7 @@ }; 188D8BC32B2B9CB600732A2E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 280D9146A5216C68FBF42649 /* Pods-KiteUI Example AppTests.debug.xcconfig */; + baseConfigurationReference = 22734415A23BDBD0238C030E /* Pods-KiteUI Example AppTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -796,7 +796,7 @@ }; 188D8BC42B2B9CB600732A2E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = ADBDA950697B0A6C7C66C7A4 /* Pods-KiteUI Example AppTests.release.xcconfig */; + baseConfigurationReference = 2C5BD3042E632E094BECD1AA /* Pods-KiteUI Example AppTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -817,7 +817,7 @@ }; 188D8BC62B2B9CB600732A2E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 64D926F8C86873C3E397599B /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */; + baseConfigurationReference = 852CE10B3DB74495323BC0AA /* Pods-KiteUI Example App-KiteUI Example AppUITests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_STYLE = Automatic; @@ -836,7 +836,7 @@ }; 188D8BC72B2B9CB600732A2E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 07FD4A0BF5CEE0A6BAA5D5FA /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */; + baseConfigurationReference = C5A08FC331FF7CA44B30E3DE /* Pods-KiteUI Example App-KiteUI Example AppUITests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_STYLE = Automatic; diff --git a/example-app-ios/Podfile.lock b/example-app-ios/Podfile.lock index 56aed1e12..075aed004 100644 --- a/example-app-ios/Podfile.lock +++ b/example-app-ios/Podfile.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../example-app/shared.podspec" SPEC CHECKSUMS: - shared: d289c9db308e5bda6b7d1f5bb333736177b40515 + shared: 63c62eaab398f1d2a30e3f73ae49c09cf25b6ac5 PODFILE CHECKSUM: ce05072de80b96bb4f86451d773061742b362b11 diff --git a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/App.kt b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/App.kt index 67aa8eb1a..acb499a3b 100644 --- a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/App.kt +++ b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/App.kt @@ -24,7 +24,7 @@ class ToastException(override val message: String) : Exception() fun ViewWriter.app(navigator: PageNavigator, dialog: PageNavigator) { debugMode = true - configureTelemetry(navigator) +// configureTelemetry(navigator) context.exceptionHandlers.installDebugHandlers() diff --git a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt index 0dab7f725..ad18dcafc 100644 --- a/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt +++ b/example-app/src/commonMain/kotlin/com/lightningkite/mppexampleapp/internal/MarkdownDemoPage.kt @@ -90,12 +90,12 @@ This is a custom block without a link. val markdownSource = Property(sampleMarkdown) val debouncedSource = markdownSource.debounce(300) - col { + scrolling.col { padded.h1("Markdown Editor Demo") - expanding.rowCollapsingToColumn(60.rem) { + rowCollapsingToColumn(60.rem) { // Left side: Editor - expanding.card.col { + card.col { h3("Editor") expanding.textArea { content bind markdownSource @@ -103,7 +103,7 @@ This is a custom block without a link. } // Right side: Preview - expanding.card.scrolling.col { + card.scrolling.col { h3("Preview") swapView { swapping(current = { debouncedSource() }) { md -> From 2ec899029b476479f5aa5c96744c44bd394e1fc0 Mon Sep 17 00:00:00 2001 From: Trax Bagley Date: Tue, 16 Jun 2026 14:29:48 -0600 Subject: [PATCH 3/3] fix build issue that was failing tests --- .../views/direct/LottieView.commonHtml.js.kt | 2 +- package-lock.json | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/library-lottie/src/jsMain/kotlin/com/lightningkite/kiteui/lottie/views/direct/LottieView.commonHtml.js.kt b/library-lottie/src/jsMain/kotlin/com/lightningkite/kiteui/lottie/views/direct/LottieView.commonHtml.js.kt index 41482b41a..da96bc52c 100644 --- a/library-lottie/src/jsMain/kotlin/com/lightningkite/kiteui/lottie/views/direct/LottieView.commonHtml.js.kt +++ b/library-lottie/src/jsMain/kotlin/com/lightningkite/kiteui/lottie/views/direct/LottieView.commonHtml.js.kt @@ -9,7 +9,7 @@ import com.lightningkite.reactive.core.* import kotlin.time.Duration.Companion.milliseconds // External declarations for lottie-web -@JsModule("lottie-web/build/player/lottie_light") +@JsModule("lottie-web/build/player/lottie_light.js") @JsNonModule external object lottie { fun loadAnimation(params: dynamic): dynamic diff --git a/package-lock.json b/package-lock.json index 2c0130b06..37b79c87c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5272,14 +5272,14 @@ } }, "packages/kiteui-library": { - "version": "8.0.0-prerelease-383", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0" }, "devDependencies": {} }, "packages/kiteui-library-camera": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0", "barcode-detector": "3.0.8" @@ -5287,7 +5287,7 @@ "devDependencies": {} }, "packages/kiteui-library-camera-test": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0", "barcode-detector": "3.0.8" @@ -5306,7 +5306,7 @@ } }, "packages/kiteui-library-lottie": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0", "lottie-web": "5.12.2" @@ -5314,7 +5314,7 @@ "devDependencies": {} }, "packages/kiteui-library-lottie-test": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0", "lottie-web": "5.12.2" @@ -5333,7 +5333,7 @@ } }, "packages/kiteui-library-test": { - "version": "8.0.0-prerelease-383", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0" }, @@ -5352,14 +5352,14 @@ } }, "packages/kiteui-test-utilities": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0" }, "devDependencies": {} }, "packages/kiteui-test-utilities-test": { - "version": "8.0.0-prerelease-373-local", + "version": "0.3.13-tbfixBoldItalicNotShowingSetBasicHmtlContent-392-local", "dependencies": { "@js-joda/core": "3.2.0" },