winui-svelte 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +1151 -17
- package/README.md +115 -18
- package/dist/accessibility/announce.d.ts +22 -0
- package/dist/accessibility/announce.d.ts.map +1 -0
- package/dist/accessibility/announce.js +52 -0
- package/dist/accessibility/announce.js.map +1 -0
- package/dist/accessibility/audit/accessibility-rules.json +100 -0
- package/dist/accessibility/audit/audit-tree.d.ts +48 -0
- package/dist/accessibility/audit/audit-tree.d.ts.map +1 -0
- package/dist/accessibility/audit/audit-tree.js +125 -0
- package/dist/accessibility/audit/audit-tree.js.map +1 -0
- package/dist/accessibility/audit/contrast.d.ts +65 -0
- package/dist/accessibility/audit/contrast.d.ts.map +1 -0
- package/dist/accessibility/audit/contrast.js +120 -0
- package/dist/accessibility/audit/contrast.js.map +1 -0
- package/dist/accessibility/audit/index.d.ts +19 -0
- package/dist/accessibility/audit/index.d.ts.map +1 -0
- package/dist/accessibility/audit/index.js +22 -0
- package/dist/accessibility/audit/index.js.map +1 -0
- package/dist/accessibility/audit/rules.d.ts +87 -0
- package/dist/accessibility/audit/rules.d.ts.map +1 -0
- package/dist/accessibility/audit/rules.js +67 -0
- package/dist/accessibility/audit/rules.js.map +1 -0
- package/dist/accessibility/audit/visual-tree-host.d.ts +5 -0
- package/dist/accessibility/audit/visual-tree-host.d.ts.map +1 -0
- package/dist/accessibility/audit/visual-tree-host.js +139 -0
- package/dist/accessibility/audit/visual-tree-host.js.map +1 -0
- package/dist/accessibility/index.d.ts +6 -0
- package/dist/accessibility/index.d.ts.map +1 -0
- package/dist/accessibility/index.js +6 -0
- package/dist/accessibility/index.js.map +1 -0
- package/dist/accessibility/live-priority.d.ts +22 -0
- package/dist/accessibility/live-priority.d.ts.map +1 -0
- package/dist/accessibility/live-priority.js +27 -0
- package/dist/accessibility/live-priority.js.map +1 -0
- package/dist/accessibility/live-region.d.ts +16 -0
- package/dist/accessibility/live-region.d.ts.map +1 -0
- package/dist/accessibility/live-region.js +20 -0
- package/dist/accessibility/live-region.js.map +1 -0
- package/dist/accessibility/notification.d.ts +15 -0
- package/dist/accessibility/notification.d.ts.map +1 -0
- package/dist/accessibility/notification.js +28 -0
- package/dist/accessibility/notification.js.map +1 -0
- package/dist/app/activate.d.ts +44 -0
- package/dist/app/activate.d.ts.map +1 -0
- package/dist/app/activate.js +64 -0
- package/dist/app/activate.js.map +1 -0
- package/dist/app/activation/classify.d.ts +41 -0
- package/dist/app/activation/classify.d.ts.map +1 -0
- package/dist/app/activation/classify.js +108 -0
- package/dist/app/activation/classify.js.map +1 -0
- package/dist/app/activation/command.d.ts +41 -0
- package/dist/app/activation/command.d.ts.map +1 -0
- package/dist/app/activation/command.js +63 -0
- package/dist/app/activation/command.js.map +1 -0
- package/dist/app/activation/context.d.ts +23 -0
- package/dist/app/activation/context.d.ts.map +1 -0
- package/dist/app/activation/context.js +15 -0
- package/dist/app/activation/context.js.map +1 -0
- package/dist/app/activation/index.d.ts +11 -0
- package/dist/app/activation/index.d.ts.map +1 -0
- package/dist/app/activation/index.js +5 -0
- package/dist/app/activation/index.js.map +1 -0
- package/dist/app/activation/kinds.d.ts +48 -0
- package/dist/app/activation/kinds.d.ts.map +1 -0
- package/dist/app/activation/kinds.js +9 -0
- package/dist/app/activation/kinds.js.map +1 -0
- package/dist/app/activation/login.d.ts +55 -0
- package/dist/app/activation/login.d.ts.map +1 -0
- package/dist/app/activation/login.js +68 -0
- package/dist/app/activation/login.js.map +1 -0
- package/dist/app/activation/native.d.ts +16 -0
- package/dist/app/activation/native.d.ts.map +1 -0
- package/dist/app/activation/native.js +260 -0
- package/dist/app/activation/native.js.map +1 -0
- package/dist/app/activation/protocol-handlers.d.ts +29 -0
- package/dist/app/activation/protocol-handlers.d.ts.map +1 -0
- package/dist/app/activation/protocol-handlers.js +64 -0
- package/dist/app/activation/protocol-handlers.js.map +1 -0
- package/dist/app/activation/receive.d.ts +44 -0
- package/dist/app/activation/receive.d.ts.map +1 -0
- package/dist/app/activation/receive.js +60 -0
- package/dist/app/activation/receive.js.map +1 -0
- package/dist/app/activation/registration.d.ts +104 -0
- package/dist/app/activation/registration.d.ts.map +1 -0
- package/dist/app/activation/registration.js +240 -0
- package/dist/app/activation/registration.js.map +1 -0
- package/dist/app/activation/registry.d.ts +23 -0
- package/dist/app/activation/registry.d.ts.map +1 -0
- package/dist/app/activation/registry.js +2 -0
- package/dist/app/activation/registry.js.map +1 -0
- package/dist/app/activation/scheme.d.ts +36 -0
- package/dist/app/activation/scheme.d.ts.map +1 -0
- package/dist/app/activation/scheme.js +103 -0
- package/dist/app/activation/scheme.js.map +1 -0
- package/dist/app/hotkeys/errors.d.ts +22 -0
- package/dist/app/hotkeys/errors.d.ts.map +1 -0
- package/dist/app/hotkeys/errors.js +23 -0
- package/dist/app/hotkeys/errors.js.map +1 -0
- package/dist/app/hotkeys/index.d.ts +30 -0
- package/dist/app/hotkeys/index.d.ts.map +1 -0
- package/dist/app/hotkeys/index.js +59 -0
- package/dist/app/hotkeys/index.js.map +1 -0
- package/dist/app/hotkeys/keys.d.ts +43 -0
- package/dist/app/hotkeys/keys.d.ts.map +1 -0
- package/dist/app/hotkeys/keys.js +135 -0
- package/dist/app/hotkeys/keys.js.map +1 -0
- package/dist/app/hotkeys/native.d.ts +10 -0
- package/dist/app/hotkeys/native.d.ts.map +1 -0
- package/dist/app/hotkeys/native.js +35 -0
- package/dist/app/hotkeys/native.js.map +1 -0
- package/dist/app/hotkeys/registry.d.ts +67 -0
- package/dist/app/hotkeys/registry.d.ts.map +1 -0
- package/dist/app/hotkeys/registry.js +85 -0
- package/dist/app/hotkeys/registry.js.map +1 -0
- package/dist/app/index.d.ts +6 -0
- package/dist/app/index.d.ts.map +1 -1
- package/dist/app/index.js +3 -0
- package/dist/app/index.js.map +1 -1
- package/dist/app/launch-command.d.ts +46 -0
- package/dist/app/launch-command.d.ts.map +1 -0
- package/dist/app/launch-command.js +61 -0
- package/dist/app/launch-command.js.map +1 -0
- package/dist/app/native.d.ts +16 -0
- package/dist/app/native.d.ts.map +1 -0
- package/dist/app/native.js +48 -0
- package/dist/app/native.js.map +1 -0
- package/dist/app/notification-schedule.d.ts +16 -0
- package/dist/app/notification-schedule.d.ts.map +1 -0
- package/dist/app/notification-schedule.js +20 -0
- package/dist/app/notification-schedule.js.map +1 -0
- package/dist/app/notification-source.d.ts +13 -0
- package/dist/app/notification-source.d.ts.map +1 -1
- package/dist/app/notification-source.js +22 -7
- package/dist/app/notification-source.js.map +1 -1
- package/dist/app/notify.d.ts +37 -1
- package/dist/app/notify.d.ts.map +1 -1
- package/dist/app/notify.js +30 -10
- package/dist/app/notify.js.map +1 -1
- package/dist/app/relaunch.d.ts +46 -0
- package/dist/app/relaunch.d.ts.map +1 -0
- package/dist/app/relaunch.js +45 -0
- package/dist/app/relaunch.js.map +1 -0
- package/dist/app/restart-after-crash.d.ts +57 -0
- package/dist/app/restart-after-crash.d.ts.map +1 -0
- package/dist/app/restart-after-crash.js +81 -0
- package/dist/app/restart-after-crash.js.map +1 -0
- package/dist/app/schedule-bindings.d.ts +4 -0
- package/dist/app/schedule-bindings.d.ts.map +1 -0
- package/dist/app/schedule-bindings.js +4 -0
- package/dist/app/schedule-bindings.js.map +1 -0
- package/dist/app/windows-time.d.ts +10 -0
- package/dist/app/windows-time.d.ts.map +1 -0
- package/dist/app/windows-time.js +13 -0
- package/dist/app/windows-time.js.map +1 -0
- package/dist/bindings/.dynwinrt-managed +1 -1
- package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.d.ts +40 -0
- package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.js +89 -0
- package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.d.ts +16 -0
- package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.js +51 -0
- package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.d.ts +133 -0
- package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.js +494 -0
- package/dist/bindings/microsoft/ui/input/InputKeyboardSource.d.ts +102 -0
- package/dist/bindings/microsoft/ui/input/InputKeyboardSource.js +346 -0
- package/dist/bindings/microsoft/ui/input/KeyEventArgs.d.ts +46 -0
- package/dist/bindings/microsoft/ui/input/KeyEventArgs.js +100 -0
- package/dist/bindings/microsoft/ui/input/VirtualKeyStates.d.ts +19 -0
- package/dist/bindings/microsoft/ui/input/VirtualKeyStates.js +20 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.d.ts +10 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.js +39 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.d.ts +23 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.js +24 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.d.ts +127 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.js +128 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.d.ts +19 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.js +20 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.d.ts +373 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.js +741 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.d.ts +57 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.js +216 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.d.ts +31 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.js +32 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.d.ts +142 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.js +531 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.d.ts +448 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.js +1073 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.d.ts +32 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.js +138 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.d.ts +143 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.js +144 -0
- package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.d.ts +25 -0
- package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.js +110 -0
- package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.d.ts +52 -0
- package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.js +133 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManager.d.ts +159 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManager.js +360 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.d.ts +21 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.js +58 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.d.ts +21 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.js +58 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.d.ts +15 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.js +47 -0
- package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.d.ts +11 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.js +62 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.d.ts +11 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.js +62 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.d.ts +17 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.js +74 -0
- package/dist/bindings/windows/application-model/AddResourcePackageOptions.d.ts +7 -0
- package/dist/bindings/windows/application-model/AddResourcePackageOptions.js +8 -0
- package/dist/bindings/windows/application-model/IPackageCatalog2.d.ts +50 -0
- package/dist/bindings/windows/application-model/IPackageCatalog2.js +211 -0
- package/dist/bindings/windows/application-model/IPackageCatalog3.d.ts +29 -0
- package/dist/bindings/windows/application-model/IPackageCatalog3.js +136 -0
- package/dist/bindings/windows/application-model/IPackageCatalog4.d.ts +60 -0
- package/dist/bindings/windows/application-model/IPackageCatalog4.js +199 -0
- package/dist/bindings/windows/application-model/PackageCatalog.d.ts +100 -0
- package/dist/bindings/windows/application-model/PackageCatalog.js +440 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.js +47 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.d.ts +11 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.js +51 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.js +50 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.js +50 -0
- package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.d.ts +15 -0
- package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.js +67 -0
- package/dist/bindings/windows/application-model/PackageInstallingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageInstallingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageStagingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageStagingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.d.ts +9 -0
- package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.js +43 -0
- package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.d.ts +14 -0
- package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.js +63 -0
- package/dist/bindings/windows/application-model/StartupTask.d.ts +15 -0
- package/dist/bindings/windows/application-model/StartupTask.js +115 -0
- package/dist/bindings/windows/application-model/StartupTaskState.d.ts +5 -0
- package/dist/bindings/windows/application-model/StartupTaskState.js +6 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.js +7 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.js +67 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.js +67 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.js +67 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.d.ts +36 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.js +71 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.d.ts +36 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.js +71 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.d.ts +60 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.js +114 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.d.ts +60 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.js +114 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.d.ts +54 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.js +109 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.d.ts +62 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.js +135 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.d.ts +62 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.js +135 -0
- package/dist/bindings/windows/services/store/IStoreAppLicense2.d.ts +27 -0
- package/dist/bindings/windows/services/store/IStoreAppLicense2.js +116 -0
- package/dist/bindings/windows/services/store/IStoreContext2.d.ts +30 -0
- package/dist/bindings/windows/services/store/IStoreContext2.js +140 -0
- package/dist/bindings/windows/services/store/IStoreContext3.d.ts +107 -0
- package/dist/bindings/windows/services/store/IStoreContext3.js +519 -0
- package/dist/bindings/windows/services/store/IStoreContext4.d.ts +34 -0
- package/dist/bindings/windows/services/store/IStoreContext4.js +167 -0
- package/dist/bindings/windows/services/store/IStoreContext5.d.ts +36 -0
- package/dist/bindings/windows/services/store/IStoreContext5.js +187 -0
- package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.d.ts +28 -0
- package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.js +122 -0
- package/dist/bindings/windows/services/store/IStorePrice2.d.ts +33 -0
- package/dist/bindings/windows/services/store/IStorePrice2.js +140 -0
- package/dist/bindings/windows/services/store/IStoreQueueItem2.d.ts +33 -0
- package/dist/bindings/windows/services/store/IStoreQueueItem2.js +176 -0
- package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.js +47 -0
- package/dist/bindings/windows/services/store/StoreAppLicense.d.ts +38 -0
- package/dist/bindings/windows/services/store/StoreAppLicense.js +136 -0
- package/dist/bindings/windows/services/store/StoreAvailability.d.ts +26 -0
- package/dist/bindings/windows/services/store/StoreAvailability.js +134 -0
- package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.d.ts +11 -0
- package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.js +51 -0
- package/dist/bindings/windows/services/store/StoreCanLicenseStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreCanLicenseStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreCollectionData.d.ts +33 -0
- package/dist/bindings/windows/services/store/StoreCollectionData.js +102 -0
- package/dist/bindings/windows/services/store/StoreConsumableResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreConsumableResult.js +55 -0
- package/dist/bindings/windows/services/store/StoreConsumableStatus.d.ts +8 -0
- package/dist/bindings/windows/services/store/StoreConsumableStatus.js +9 -0
- package/dist/bindings/windows/services/store/StoreContext.d.ts +121 -0
- package/dist/bindings/windows/services/store/StoreContext.js +975 -0
- package/dist/bindings/windows/services/store/StoreDurationUnit.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreDurationUnit.js +11 -0
- package/dist/bindings/windows/services/store/StoreImage.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreImage.js +59 -0
- package/dist/bindings/windows/services/store/StoreLicense.d.ts +21 -0
- package/dist/bindings/windows/services/store/StoreLicense.js +73 -0
- package/dist/bindings/windows/services/store/StorePackageInstallOptions.d.ts +13 -0
- package/dist/bindings/windows/services/store/StorePackageInstallOptions.js +61 -0
- package/dist/bindings/windows/services/store/StorePackageLicense.d.ts +31 -0
- package/dist/bindings/windows/services/store/StorePackageLicense.js +117 -0
- package/dist/bindings/windows/services/store/StorePackageUpdate.d.ts +10 -0
- package/dist/bindings/windows/services/store/StorePackageUpdate.js +47 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateResult.d.ts +29 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateResult.js +99 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateState.d.ts +5 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateState.js +6 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateStatus.d.ts +5 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateStatus.js +6 -0
- package/dist/bindings/windows/services/store/StorePrice.d.ts +27 -0
- package/dist/bindings/windows/services/store/StorePrice.js +106 -0
- package/dist/bindings/windows/services/store/StoreProduct.d.ts +34 -0
- package/dist/bindings/windows/services/store/StoreProduct.js +201 -0
- package/dist/bindings/windows/services/store/StoreProductOptions.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreProductOptions.js +60 -0
- package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.js +73 -0
- package/dist/bindings/windows/services/store/StoreProductQueryResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreProductQueryResult.js +53 -0
- package/dist/bindings/windows/services/store/StoreProductResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreProductResult.js +47 -0
- package/dist/bindings/windows/services/store/StorePurchaseProperties.d.ts +17 -0
- package/dist/bindings/windows/services/store/StorePurchaseProperties.js +90 -0
- package/dist/bindings/windows/services/store/StorePurchaseResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StorePurchaseResult.js +47 -0
- package/dist/bindings/windows/services/store/StorePurchaseStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StorePurchaseStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreQueueItem.d.ts +40 -0
- package/dist/bindings/windows/services/store/StoreQueueItem.js +199 -0
- package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.js +43 -0
- package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.d.ts +19 -0
- package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.js +20 -0
- package/dist/bindings/windows/services/store/StoreQueueItemKind.d.ts +7 -0
- package/dist/bindings/windows/services/store/StoreQueueItemKind.js +8 -0
- package/dist/bindings/windows/services/store/StoreQueueItemState.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreQueueItemState.js +10 -0
- package/dist/bindings/windows/services/store/StoreQueueItemStatus.d.ts +27 -0
- package/dist/bindings/windows/services/store/StoreQueueItemStatus.js +83 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewResult.js +55 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.d.ts +8 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.js +9 -0
- package/dist/bindings/windows/services/store/StoreSku.d.ts +36 -0
- package/dist/bindings/windows/services/store/StoreSku.js +208 -0
- package/dist/bindings/windows/services/store/StoreSubscriptionInfo.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreSubscriptionInfo.js +59 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.js +47 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreVideo.d.ts +15 -0
- package/dist/bindings/windows/services/store/StoreVideo.js +66 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.js +173 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.d.ts +35 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.js +153 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.js +147 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.d.ts +31 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.js +134 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.js +185 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.d.ts +49 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.js +195 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier2.d.ts +32 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier2.js +137 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier3.d.ts +46 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier3.js +184 -0
- package/dist/bindings/windows/ui/notifications/NotificationSetting.d.ts +9 -0
- package/dist/bindings/windows/ui/notifications/NotificationSetting.js +10 -0
- package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.d.ts +7 -0
- package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.js +8 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.d.ts +51 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.js +231 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.js +58 -0
- package/dist/bindings/windows/ui/notifications/ToastCollection.d.ts +16 -0
- package/dist/bindings/windows/ui/notifications/ToastCollection.js +91 -0
- package/dist/bindings/windows/ui/notifications/ToastCollectionManager.d.ts +17 -0
- package/dist/bindings/windows/ui/notifications/ToastCollectionManager.js +136 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.d.ts +24 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.js +137 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManager.d.ts +19 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManager.js +133 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.d.ts +40 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.js +205 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationMode.d.ts +7 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationMode.js +8 -0
- package/dist/bindings/windows/ui/notifications/ToastNotifier.d.ts +41 -0
- package/dist/bindings/windows/ui/notifications/ToastNotifier.js +183 -0
- package/dist/bindings/windows/ui/notifications/ToastTemplateType.d.ts +12 -0
- package/dist/bindings/windows/ui/notifications/ToastTemplateType.js +13 -0
- package/dist/components/convert.d.ts +1 -1
- package/dist/components/convert.d.ts.map +1 -1
- package/dist/components/convert.js +3 -2
- package/dist/components/convert.js.map +1 -1
- package/dist/components/generated/bindings.d.ts +1 -0
- package/dist/components/generated/bindings.d.ts.map +1 -1
- package/dist/components/generated/bindings.js +1 -0
- package/dist/components/generated/bindings.js.map +1 -1
- package/dist/components/generated/enums.d.ts +3 -0
- package/dist/components/generated/enums.d.ts.map +1 -1
- package/dist/components/generated/enums.js +1 -0
- package/dist/components/generated/enums.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/runtime.svelte.d.ts +1 -0
- package/dist/components/runtime.svelte.d.ts.map +1 -1
- package/dist/components/runtime.svelte.js +17 -6
- package/dist/components/runtime.svelte.js.map +1 -1
- package/dist/composition/animate.d.ts +78 -0
- package/dist/composition/animate.d.ts.map +1 -0
- package/dist/composition/animate.js +184 -0
- package/dist/composition/animate.js.map +1 -0
- package/dist/composition/expression.d.ts +177 -0
- package/dist/composition/expression.d.ts.map +1 -0
- package/dist/composition/expression.js +330 -0
- package/dist/composition/expression.js.map +1 -0
- package/dist/composition/index.d.ts +11 -0
- package/dist/composition/index.d.ts.map +1 -0
- package/dist/composition/index.js +9 -0
- package/dist/composition/index.js.map +1 -0
- package/dist/composition/property-set.d.ts +36 -0
- package/dist/composition/property-set.d.ts.map +1 -0
- package/dist/composition/property-set.js +81 -0
- package/dist/composition/property-set.js.map +1 -0
- package/dist/composition/spring.d.ts +43 -0
- package/dist/composition/spring.d.ts.map +1 -0
- package/dist/composition/spring.js +23 -0
- package/dist/composition/spring.js.map +1 -0
- package/dist/composition/targets.d.ts +48 -0
- package/dist/composition/targets.d.ts.map +1 -0
- package/dist/composition/targets.js +34 -0
- package/dist/composition/targets.js.map +1 -0
- package/dist/css/index.d.ts +2 -0
- package/dist/css/index.d.ts.map +1 -1
- package/dist/css/index.js +2 -0
- package/dist/css/index.js.map +1 -1
- package/dist/css/parse/box-shadow.d.ts +46 -0
- package/dist/css/parse/box-shadow.d.ts.map +1 -0
- package/dist/css/parse/box-shadow.js +65 -0
- package/dist/css/parse/box-shadow.js.map +1 -0
- package/dist/css/parse/filters.d.ts.map +1 -1
- package/dist/css/parse/filters.js +1 -1
- package/dist/css/parse/filters.js.map +1 -1
- package/dist/css/parse/parser.js +1 -1
- package/dist/css/parse/parser.js.map +1 -1
- package/dist/css/parse/scroll-timeline.d.ts +181 -0
- package/dist/css/parse/scroll-timeline.d.ts.map +1 -0
- package/dist/css/parse/scroll-timeline.js +278 -0
- package/dist/css/parse/scroll-timeline.js.map +1 -0
- package/dist/css/runtime/resources.d.ts +2 -0
- package/dist/css/runtime/resources.d.ts.map +1 -1
- package/dist/css/runtime/resources.js +2 -2
- package/dist/css/runtime/resources.js.map +1 -1
- package/dist/css/runtime/runtime.d.ts +37 -3
- package/dist/css/runtime/runtime.d.ts.map +1 -1
- package/dist/css/runtime/runtime.js +27 -13
- package/dist/css/runtime/runtime.js.map +1 -1
- package/dist/css/runtime/sheet-module.d.ts +3 -1
- package/dist/css/runtime/sheet-module.d.ts.map +1 -1
- package/dist/css/runtime/sheet-module.js +24 -10
- package/dist/css/runtime/sheet-module.js.map +1 -1
- package/dist/css/runtime/visual-state-native.d.ts +10 -0
- package/dist/css/runtime/visual-state-native.d.ts.map +1 -0
- package/dist/css/runtime/visual-state-native.js +112 -0
- package/dist/css/runtime/visual-state-native.js.map +1 -0
- package/dist/css/runtime/visual-states.d.ts +27 -0
- package/dist/css/runtime/visual-states.d.ts.map +1 -0
- package/dist/css/runtime/visual-states.js +83 -0
- package/dist/css/runtime/visual-states.js.map +1 -0
- package/dist/css/scroll-timeline.d.ts +21 -0
- package/dist/css/scroll-timeline.d.ts.map +1 -0
- package/dist/css/scroll-timeline.js +11 -0
- package/dist/css/scroll-timeline.js.map +1 -0
- package/dist/css/shadow.d.ts +23 -0
- package/dist/css/shadow.d.ts.map +1 -0
- package/dist/css/shadow.js +11 -0
- package/dist/css/shadow.js.map +1 -0
- package/dist/css/translate/animation-properties.d.ts +8 -2
- package/dist/css/translate/animation-properties.d.ts.map +1 -1
- package/dist/css/translate/animation-properties.js +202 -15
- package/dist/css/translate/animation-properties.js.map +1 -1
- package/dist/css/translate/build-shorthands.d.ts +3 -2
- package/dist/css/translate/build-shorthands.d.ts.map +1 -1
- package/dist/css/translate/build-shorthands.js +5 -3
- package/dist/css/translate/build-shorthands.js.map +1 -1
- package/dist/css/translate/cascade.d.ts.map +1 -1
- package/dist/css/translate/cascade.js +4 -1
- package/dist/css/translate/cascade.js.map +1 -1
- package/dist/css/translate/easing.d.ts +2 -0
- package/dist/css/translate/easing.d.ts.map +1 -1
- package/dist/css/translate/easing.js +4 -0
- package/dist/css/translate/easing.js.map +1 -1
- package/dist/css/translate/font-face.d.ts +22 -0
- package/dist/css/translate/font-face.d.ts.map +1 -0
- package/dist/css/translate/font-face.js +76 -0
- package/dist/css/translate/font-face.js.map +1 -0
- package/dist/css/translate/handled-members.d.ts +7 -0
- package/dist/css/translate/handled-members.d.ts.map +1 -0
- package/dist/css/translate/handled-members.js +16 -0
- package/dist/css/translate/handled-members.js.map +1 -0
- package/dist/css/translate/lazy-groups.d.ts.map +1 -1
- package/dist/css/translate/lazy-groups.js +41 -1
- package/dist/css/translate/lazy-groups.js.map +1 -1
- package/dist/css/translate/linked-tracks.d.ts +13 -0
- package/dist/css/translate/linked-tracks.d.ts.map +1 -0
- package/dist/css/translate/linked-tracks.js +48 -0
- package/dist/css/translate/linked-tracks.js.map +1 -0
- package/dist/css/translate/scroll-link.d.ts +106 -0
- package/dist/css/translate/scroll-link.d.ts.map +1 -0
- package/dist/css/translate/scroll-link.js +222 -0
- package/dist/css/translate/scroll-link.js.map +1 -0
- package/dist/css/translate/scroll-timeline-properties.d.ts +46 -0
- package/dist/css/translate/scroll-timeline-properties.d.ts.map +1 -0
- package/dist/css/translate/scroll-timeline-properties.js +167 -0
- package/dist/css/translate/scroll-timeline-properties.js.map +1 -0
- package/dist/css/translate/shadow-mode.d.ts +24 -0
- package/dist/css/translate/shadow-mode.d.ts.map +1 -0
- package/dist/css/translate/shadow-mode.js +20 -0
- package/dist/css/translate/shadow-mode.js.map +1 -0
- package/dist/css/translate/shadow-properties.d.ts +50 -0
- package/dist/css/translate/shadow-properties.d.ts.map +1 -0
- package/dist/css/translate/shadow-properties.js +155 -0
- package/dist/css/translate/shadow-properties.js.map +1 -0
- package/dist/css/translate/shorthands.d.ts +4 -2
- package/dist/css/translate/shorthands.d.ts.map +1 -1
- package/dist/css/translate/shorthands.js +3 -2
- package/dist/css/translate/shorthands.js.map +1 -1
- package/dist/css/translate/state-properties.d.ts +52 -0
- package/dist/css/translate/state-properties.d.ts.map +1 -0
- package/dist/css/translate/state-properties.js +115 -0
- package/dist/css/translate/state-properties.js.map +1 -0
- package/dist/css/translate/surface-properties.d.ts +3 -1
- package/dist/css/translate/surface-properties.d.ts.map +1 -1
- package/dist/css/translate/surface-properties.js +21 -17
- package/dist/css/translate/surface-properties.js.map +1 -1
- package/dist/css/translate/translate.d.ts +3 -2
- package/dist/css/translate/translate.d.ts.map +1 -1
- package/dist/css/translate/translate.js +47 -13
- package/dist/css/translate/translate.js.map +1 -1
- package/dist/css/translate/type-ramp.d.ts +8 -0
- package/dist/css/translate/type-ramp.d.ts.map +1 -0
- package/dist/css/translate/type-ramp.js +59 -0
- package/dist/css/translate/type-ramp.js.map +1 -0
- package/dist/css/translate/types.d.ts +7 -0
- package/dist/css/translate/types.d.ts.map +1 -1
- package/dist/css/translate/typography-properties.d.ts +52 -0
- package/dist/css/translate/typography-properties.d.ts.map +1 -0
- package/dist/css/translate/typography-properties.js +430 -0
- package/dist/css/translate/typography-properties.js.map +1 -0
- package/dist/css/translate/unsupported-properties.d.ts +2 -0
- package/dist/css/translate/unsupported-properties.d.ts.map +1 -1
- package/dist/css/translate/unsupported-properties.js +7 -1
- package/dist/css/translate/unsupported-properties.js.map +1 -1
- package/dist/css/translate/view-transition-properties.d.ts +29 -0
- package/dist/css/translate/view-transition-properties.d.ts.map +1 -0
- package/dist/css/translate/view-transition-properties.js +53 -0
- package/dist/css/translate/view-transition-properties.js.map +1 -0
- package/dist/css/translate/winui-only-properties.d.ts.map +1 -1
- package/dist/css/translate/winui-only-properties.js +16 -1
- package/dist/css/translate/winui-only-properties.js.map +1 -1
- package/dist/css/typography.d.ts +2 -0
- package/dist/css/typography.d.ts.map +1 -0
- package/dist/css/typography.js +6 -0
- package/dist/css/typography.js.map +1 -0
- package/dist/css/validate/vscode-css-data.json +262 -1
- package/dist/css/validate/vscode-data.d.ts +5 -0
- package/dist/css/validate/vscode-data.d.ts.map +1 -1
- package/dist/css/validate/vscode-data.js +37 -0
- package/dist/css/validate/vscode-data.js.map +1 -1
- package/dist/css/view-transition.d.ts +13 -0
- package/dist/css/view-transition.d.ts.map +1 -0
- package/dist/css/view-transition.js +12 -0
- package/dist/css/view-transition.js.map +1 -0
- package/dist/css/visual-states.d.ts +7 -0
- package/dist/css/visual-states.d.ts.map +1 -0
- package/dist/css/visual-states.js +16 -0
- package/dist/css/visual-states.js.map +1 -0
- package/dist/devices/bindings.d.ts +4 -1
- package/dist/devices/bindings.d.ts.map +1 -1
- package/dist/devices/bindings.js +4 -1
- package/dist/devices/bindings.js.map +1 -1
- package/dist/devices/displays.svelte.d.ts.map +1 -1
- package/dist/devices/displays.svelte.js +2 -1
- package/dist/devices/displays.svelte.js.map +1 -1
- package/dist/devices/live.svelte.d.ts +3 -24
- package/dist/devices/live.svelte.d.ts.map +1 -1
- package/dist/devices/live.svelte.js +2 -40
- package/dist/devices/live.svelte.js.map +1 -1
- package/dist/devices/power.d.ts +5 -3
- package/dist/devices/power.d.ts.map +1 -1
- package/dist/devices/power.js +3 -2
- package/dist/devices/power.js.map +1 -1
- package/dist/devices/power.svelte.d.ts +27 -0
- package/dist/devices/power.svelte.d.ts.map +1 -1
- package/dist/devices/power.svelte.js +40 -0
- package/dist/devices/power.svelte.js.map +1 -1
- package/dist/devices/subscription.d.ts +35 -0
- package/dist/devices/subscription.d.ts.map +1 -0
- package/dist/devices/subscription.js +47 -0
- package/dist/devices/subscription.js.map +1 -0
- package/dist/devices/system-power.d.ts +54 -0
- package/dist/devices/system-power.d.ts.map +1 -0
- package/dist/devices/system-power.js +66 -0
- package/dist/devices/system-power.js.map +1 -0
- package/dist/enums.d.ts +11 -1
- package/dist/enums.d.ts.map +1 -1
- package/dist/enums.js +11 -1
- package/dist/enums.js.map +1 -1
- package/dist/font-files.d.ts +19 -0
- package/dist/font-files.d.ts.map +1 -0
- package/dist/font-files.js +55 -0
- package/dist/font-files.js.map +1 -0
- package/dist/font-registry.d.ts +24 -0
- package/dist/font-registry.d.ts.map +1 -0
- package/dist/font-registry.js +67 -0
- package/dist/font-registry.js.map +1 -0
- package/dist/font-spelling.d.ts +15 -0
- package/dist/font-spelling.d.ts.map +1 -0
- package/dist/font-spelling.js +27 -0
- package/dist/font-spelling.js.map +1 -0
- package/dist/forms/FormField.svelte +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/input/active-element.svelte.d.ts +22 -0
- package/dist/input/active-element.svelte.d.ts.map +1 -0
- package/dist/input/active-element.svelte.js +32 -0
- package/dist/input/active-element.svelte.js.map +1 -0
- package/dist/input/dom-event.d.ts +93 -0
- package/dist/input/dom-event.d.ts.map +1 -0
- package/dist/input/dom-event.js +39 -0
- package/dist/input/dom-event.js.map +1 -0
- package/dist/input/events.d.ts +13 -0
- package/dist/input/events.d.ts.map +1 -0
- package/dist/input/events.js +187 -0
- package/dist/input/events.js.map +1 -0
- package/dist/input/focused-element.d.ts +18 -0
- package/dist/input/focused-element.d.ts.map +1 -0
- package/dist/input/focused-element.js +32 -0
- package/dist/input/focused-element.js.map +1 -0
- package/dist/input/index.d.ts +13 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/index.js +7 -0
- package/dist/input/index.js.map +1 -0
- package/dist/input/key-names.d.ts +18 -0
- package/dist/input/key-names.d.ts.map +1 -0
- package/dist/input/key-names.js +182 -0
- package/dist/input/key-names.js.map +1 -0
- package/dist/input/keyboard-fields.d.ts +38 -0
- package/dist/input/keyboard-fields.d.ts.map +1 -0
- package/dist/input/keyboard-fields.js +43 -0
- package/dist/input/keyboard-fields.js.map +1 -0
- package/dist/input/move-focus.d.ts +19 -0
- package/dist/input/move-focus.d.ts.map +1 -0
- package/dist/input/move-focus.js +29 -0
- package/dist/input/move-focus.js.map +1 -0
- package/dist/input/pointer-capture.d.ts +47 -0
- package/dist/input/pointer-capture.d.ts.map +1 -0
- package/dist/input/pointer-capture.js +59 -0
- package/dist/input/pointer-capture.js.map +1 -0
- package/dist/input/pointer-fields.d.ts +118 -0
- package/dist/input/pointer-fields.d.ts.map +1 -0
- package/dist/input/pointer-fields.js +141 -0
- package/dist/input/pointer-fields.js.map +1 -0
- package/dist/input/pointer-routes.d.ts +13 -0
- package/dist/input/pointer-routes.d.ts.map +1 -0
- package/dist/input/pointer-routes.js +13 -0
- package/dist/input/pointer-routes.js.map +1 -0
- package/dist/input/trap-focus.d.ts +18 -0
- package/dist/input/trap-focus.d.ts.map +1 -0
- package/dist/input/trap-focus.js +45 -0
- package/dist/input/trap-focus.js.map +1 -0
- package/dist/key-code.d.ts +131 -0
- package/dist/key-code.d.ts.map +1 -0
- package/dist/key-code.js +134 -0
- package/dist/key-code.js.map +1 -0
- package/dist/messaging/page.d.ts +25 -0
- package/dist/messaging/page.d.ts.map +1 -0
- package/dist/messaging/page.js +43 -0
- package/dist/messaging/page.js.map +1 -0
- package/dist/messaging/web-view2/cookies.d.ts +53 -0
- package/dist/messaging/web-view2/cookies.d.ts.map +1 -0
- package/dist/messaging/web-view2/cookies.js +54 -0
- package/dist/messaging/web-view2/cookies.js.map +1 -0
- package/dist/messaging/web-view2/core.d.ts +101 -0
- package/dist/messaging/web-view2/core.d.ts.map +1 -0
- package/dist/messaging/web-view2/core.js +37 -0
- package/dist/messaging/web-view2/core.js.map +1 -0
- package/dist/messaging/web-view2/index.d.ts +9 -0
- package/dist/messaging/web-view2/index.d.ts.map +1 -0
- package/dist/messaging/web-view2/index.js +7 -0
- package/dist/messaging/web-view2/index.js.map +1 -0
- package/dist/messaging/web-view2/policy.d.ts +64 -0
- package/dist/messaging/web-view2/policy.d.ts.map +1 -0
- package/dist/messaging/web-view2/policy.js +96 -0
- package/dist/messaging/web-view2/policy.js.map +1 -0
- package/dist/messaging/web-view2/transport.d.ts +34 -0
- package/dist/messaging/web-view2/transport.d.ts.map +1 -0
- package/dist/messaging/web-view2/transport.js +109 -0
- package/dist/messaging/web-view2/transport.js.map +1 -0
- package/dist/notice/index.d.ts +4 -0
- package/dist/notice/index.d.ts.map +1 -0
- package/dist/notice/index.js +2 -0
- package/dist/notice/index.js.map +1 -0
- package/dist/notice/native.d.ts +18 -0
- package/dist/notice/native.d.ts.map +1 -0
- package/dist/notice/native.js +32 -0
- package/dist/notice/native.js.map +1 -0
- package/dist/notice/notice.d.ts +70 -0
- package/dist/notice/notice.d.ts.map +1 -0
- package/dist/notice/notice.js +95 -0
- package/dist/notice/notice.js.map +1 -0
- package/dist/renderer/host/connected-configuration.d.ts +23 -0
- package/dist/renderer/host/connected-configuration.d.ts.map +1 -0
- package/dist/renderer/host/connected-configuration.js +36 -0
- package/dist/renderer/host/connected-configuration.js.map +1 -0
- package/dist/renderer/host/control.d.ts +8 -0
- package/dist/renderer/host/control.d.ts.map +1 -1
- package/dist/renderer/host/control.js +7 -2
- package/dist/renderer/host/control.js.map +1 -1
- package/dist/renderer/host/element-animation.d.ts.map +1 -1
- package/dist/renderer/host/element-animation.js +2 -15
- package/dist/renderer/host/element-animation.js.map +1 -1
- package/dist/renderer/host/glide-height.d.ts +27 -0
- package/dist/renderer/host/glide-height.d.ts.map +1 -0
- package/dist/renderer/host/glide-height.js +106 -0
- package/dist/renderer/host/glide-height.js.map +1 -0
- package/dist/renderer/host/implicit-layout-animation.d.ts +50 -0
- package/dist/renderer/host/implicit-layout-animation.d.ts.map +1 -0
- package/dist/renderer/host/implicit-layout-animation.js +121 -0
- package/dist/renderer/host/implicit-layout-animation.js.map +1 -0
- package/dist/renderer/host/motion-preference.d.ts +19 -0
- package/dist/renderer/host/motion-preference.d.ts.map +1 -0
- package/dist/renderer/host/motion-preference.js +26 -0
- package/dist/renderer/host/motion-preference.js.map +1 -0
- package/dist/renderer/host/values.d.ts +1 -1
- package/dist/renderer/host/view-transition-names.d.ts +13 -0
- package/dist/renderer/host/view-transition-names.d.ts.map +1 -0
- package/dist/renderer/host/view-transition-names.js +25 -0
- package/dist/renderer/host/view-transition-names.js.map +1 -0
- package/dist/settings/SettingsCard.d.svelte.ts +12 -0
- package/dist/settings/SettingsCard.svelte +80 -0
- package/dist/settings/SettingsExpander.d.svelte.ts +12 -0
- package/dist/settings/SettingsExpander.svelte +46 -0
- package/dist/settings/SettingsRow.svelte +79 -0
- package/dist/settings/index.d.ts +5 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +7 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/settings-context.d.ts +7 -0
- package/dist/settings/settings-context.d.ts.map +1 -0
- package/dist/settings/settings-context.js +11 -0
- package/dist/settings/settings-context.js.map +1 -0
- package/dist/settings/settings-props.d.ts +40 -0
- package/dist/settings/settings-props.d.ts.map +1 -0
- package/dist/settings/settings-props.js +3 -0
- package/dist/settings/settings-props.js.map +1 -0
- package/dist/store/bindings.d.ts +7 -0
- package/dist/store/bindings.d.ts.map +1 -0
- package/dist/store/bindings.js +10 -0
- package/dist/store/bindings.js.map +1 -0
- package/dist/store/identity.d.ts +24 -0
- package/dist/store/identity.d.ts.map +1 -0
- package/dist/store/identity.js +27 -0
- package/dist/store/identity.js.map +1 -0
- package/dist/store/index.d.ts +10 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +8 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/license.d.ts +63 -0
- package/dist/store/license.d.ts.map +1 -0
- package/dist/store/license.js +95 -0
- package/dist/store/license.js.map +1 -0
- package/dist/store/packages.d.ts +45 -0
- package/dist/store/packages.d.ts.map +1 -0
- package/dist/store/packages.js +80 -0
- package/dist/store/packages.js.map +1 -0
- package/dist/store/reply.d.ts +26 -0
- package/dist/store/reply.d.ts.map +1 -0
- package/dist/store/reply.js +15 -0
- package/dist/store/reply.js.map +1 -0
- package/dist/store/startup.d.ts +23 -0
- package/dist/store/startup.d.ts.map +1 -0
- package/dist/store/startup.js +18 -0
- package/dist/store/startup.js.map +1 -0
- package/dist/store/states.d.ts +50 -0
- package/dist/store/states.d.ts.map +1 -0
- package/dist/store/states.js +56 -0
- package/dist/store/states.js.map +1 -0
- package/dist/store/types.d.ts +102 -0
- package/dist/store/types.d.ts.map +1 -0
- package/dist/store/types.js +2 -0
- package/dist/store/types.js.map +1 -0
- package/dist/store/updates.d.ts +23 -0
- package/dist/store/updates.d.ts.map +1 -0
- package/dist/store/updates.js +18 -0
- package/dist/store/updates.js.map +1 -0
- package/dist/store/window-interop.d.ts +10 -0
- package/dist/store/window-interop.d.ts.map +1 -0
- package/dist/store/window-interop.js +35 -0
- package/dist/store/window-interop.js.map +1 -0
- package/dist/store/windows-backend.d.ts +23 -0
- package/dist/store/windows-backend.d.ts.map +1 -0
- package/dist/store/windows-backend.js +26 -0
- package/dist/store/windows-backend.js.map +1 -0
- package/dist/store/windows-identity.d.ts +22 -0
- package/dist/store/windows-identity.d.ts.map +1 -0
- package/dist/store/windows-identity.js +51 -0
- package/dist/store/windows-identity.js.map +1 -0
- package/dist/store/windows-packages.d.ts +26 -0
- package/dist/store/windows-packages.d.ts.map +1 -0
- package/dist/store/windows-packages.js +70 -0
- package/dist/store/windows-packages.js.map +1 -0
- package/dist/store/windows-store.d.ts +47 -0
- package/dist/store/windows-store.d.ts.map +1 -0
- package/dist/store/windows-store.js +107 -0
- package/dist/store/windows-store.js.map +1 -0
- package/dist/tray/exit-hook.d.ts +3 -0
- package/dist/tray/exit-hook.d.ts.map +1 -0
- package/dist/tray/exit-hook.js +11 -0
- package/dist/tray/exit-hook.js.map +1 -0
- package/dist/tray/native.d.ts.map +1 -1
- package/dist/tray/native.js +5 -41
- package/dist/tray/native.js.map +1 -1
- package/dist/tray/standalone/index.d.ts +11 -0
- package/dist/tray/standalone/index.d.ts.map +1 -0
- package/dist/tray/standalone/index.js +6 -0
- package/dist/tray/standalone/index.js.map +1 -0
- package/dist/tray/standalone/native.d.ts +40 -0
- package/dist/tray/standalone/native.d.ts.map +1 -0
- package/dist/tray/standalone/native.js +96 -0
- package/dist/tray/standalone/native.js.map +1 -0
- package/dist/tray/standalone/standalone-tray.d.ts +44 -0
- package/dist/tray/standalone/standalone-tray.d.ts.map +1 -0
- package/dist/tray/standalone/standalone-tray.js +75 -0
- package/dist/tray/standalone/standalone-tray.js.map +1 -0
- package/dist/tray/tray-icon.d.ts.map +1 -1
- package/dist/tray/tray-icon.js +3 -6
- package/dist/tray/tray-icon.js.map +1 -1
- package/dist/web-apis/animations.d.ts +2 -5
- package/dist/web-apis/animations.d.ts.map +1 -1
- package/dist/web-apis/animations.js +1 -20
- package/dist/web-apis/animations.js.map +1 -1
- package/dist/web-apis/atomic-file.d.ts +19 -0
- package/dist/web-apis/atomic-file.d.ts.map +1 -0
- package/dist/web-apis/atomic-file.js +28 -0
- package/dist/web-apis/atomic-file.js.map +1 -0
- package/dist/web-apis/badge-glyph.d.ts +19 -0
- package/dist/web-apis/badge-glyph.d.ts.map +1 -0
- package/dist/web-apis/badge-glyph.js +17 -0
- package/dist/web-apis/badge-glyph.js.map +1 -0
- package/dist/web-apis/badging.d.ts +8 -18
- package/dist/web-apis/badging.d.ts.map +1 -1
- package/dist/web-apis/badging.js +25 -17
- package/dist/web-apis/badging.js.map +1 -1
- package/dist/web-apis/contacts.d.ts +1 -1
- package/dist/web-apis/fonts.d.ts +113 -0
- package/dist/web-apis/fonts.d.ts.map +1 -0
- package/dist/web-apis/fonts.js +237 -0
- package/dist/web-apis/fonts.js.map +1 -0
- package/dist/web-apis/geolocation.d.ts +1 -1
- package/dist/web-apis/keyframe-input.d.ts +15 -0
- package/dist/web-apis/keyframe-input.d.ts.map +1 -0
- package/dist/web-apis/keyframe-input.js +30 -0
- package/dist/web-apis/keyframe-input.js.map +1 -0
- package/dist/web-apis/notification.d.ts +48 -1
- package/dist/web-apis/notification.d.ts.map +1 -1
- package/dist/web-apis/notification.js +98 -4
- package/dist/web-apis/notification.js.map +1 -1
- package/dist/web-apis/page.d.ts +20 -4
- package/dist/web-apis/page.d.ts.map +1 -1
- package/dist/web-apis/page.js +54 -8
- package/dist/web-apis/page.js.map +1 -1
- package/dist/web-apis/scroll-timeline.d.ts +127 -0
- package/dist/web-apis/scroll-timeline.d.ts.map +1 -0
- package/dist/web-apis/scroll-timeline.js +415 -0
- package/dist/web-apis/scroll-timeline.js.map +1 -0
- package/dist/web-apis/view-transitions.d.ts +80 -0
- package/dist/web-apis/view-transitions.d.ts.map +1 -0
- package/dist/web-apis/view-transitions.js +299 -0
- package/dist/web-apis/view-transitions.js.map +1 -0
- package/dist/web-apis/web-storage.d.ts +1 -18
- package/dist/web-apis/web-storage.d.ts.map +1 -1
- package/dist/web-apis/web-storage.js +1 -26
- package/dist/web-apis/web-storage.js.map +1 -1
- package/dist/web-apis/window-controls-overlay.d.ts +105 -0
- package/dist/web-apis/window-controls-overlay.d.ts.map +1 -0
- package/dist/web-apis/window-controls-overlay.js +147 -0
- package/dist/web-apis/window-controls-overlay.js.map +1 -0
- package/dist/win2d/child-slot.d.ts +13 -0
- package/dist/win2d/child-slot.d.ts.map +1 -0
- package/dist/win2d/child-slot.js +29 -0
- package/dist/win2d/child-slot.js.map +1 -0
- package/dist/win2d/context-2d/pointer-events.d.ts +1 -2
- package/dist/win2d/context-2d/pointer-events.d.ts.map +1 -1
- package/dist/win2d/context-2d/pointer-events.js +13 -102
- package/dist/win2d/context-2d/pointer-events.js.map +1 -1
- package/dist/win2d/element-lifecycle.d.ts +37 -0
- package/dist/win2d/element-lifecycle.d.ts.map +1 -0
- package/dist/win2d/element-lifecycle.js +73 -0
- package/dist/win2d/element-lifecycle.js.map +1 -0
- package/dist/win2d/element-shadow.d.ts +26 -0
- package/dist/win2d/element-shadow.d.ts.map +1 -0
- package/dist/win2d/element-shadow.js +128 -0
- package/dist/win2d/element-shadow.js.map +1 -0
- package/dist/win2d/element-visual.d.ts +1 -3
- package/dist/win2d/element-visual.d.ts.map +1 -1
- package/dist/win2d/element-visual.js +18 -72
- package/dist/win2d/element-visual.js.map +1 -1
- package/dist/win2d/scroll-host.d.ts +27 -0
- package/dist/win2d/scroll-host.d.ts.map +1 -0
- package/dist/win2d/scroll-host.js +293 -0
- package/dist/win2d/scroll-host.js.map +1 -0
- package/dist/win2d/scroll-link.d.ts +57 -0
- package/dist/win2d/scroll-link.d.ts.map +1 -0
- package/dist/win2d/scroll-link.js +165 -0
- package/dist/win2d/scroll-link.js.map +1 -0
- package/dist/win2d/shadow-geometry.d.ts +46 -0
- package/dist/win2d/shadow-geometry.d.ts.map +1 -0
- package/dist/win2d/shadow-geometry.js +82 -0
- package/dist/win2d/shadow-geometry.js.map +1 -0
- package/dist/win2d/shadow-host.d.ts +13 -0
- package/dist/win2d/shadow-host.d.ts.map +1 -0
- package/dist/win2d/shadow-host.js +23 -0
- package/dist/win2d/shadow-host.js.map +1 -0
- package/dist/win2d/shadow-receivers.d.ts +13 -0
- package/dist/win2d/shadow-receivers.d.ts.map +1 -0
- package/dist/win2d/shadow-receivers.js +56 -0
- package/dist/win2d/shadow-receivers.js.map +1 -0
- package/dist/win32-calls.d.ts +3 -1
- package/dist/win32-calls.d.ts.map +1 -1
- package/dist/win32-calls.js +3 -2
- package/dist/win32-calls.js.map +1 -1
- package/dist/win32-icons.d.ts +36 -0
- package/dist/win32-icons.d.ts.map +1 -0
- package/dist/win32-icons.js +143 -0
- package/dist/win32-icons.js.map +1 -0
- package/dist/window/apply-chrome.d.ts +8 -1
- package/dist/window/apply-chrome.d.ts.map +1 -1
- package/dist/window/apply-chrome.js +16 -2
- package/dist/window/apply-chrome.js.map +1 -1
- package/dist/window/badge-icon.d.ts +37 -0
- package/dist/window/badge-icon.d.ts.map +1 -0
- package/dist/window/badge-icon.js +196 -0
- package/dist/window/badge-icon.js.map +1 -0
- package/dist/window/chrome.d.ts +10 -0
- package/dist/window/chrome.d.ts.map +1 -1
- package/dist/window/chrome.js +8 -0
- package/dist/window/chrome.js.map +1 -1
- package/dist/window/index.d.ts +1 -1
- package/dist/window/index.d.ts.map +1 -1
- package/dist/window/index.js +1 -1
- package/dist/window/index.js.map +1 -1
- package/dist/window/message-hooks.d.ts +26 -0
- package/dist/window/message-hooks.d.ts.map +1 -0
- package/dist/window/message-hooks.js +46 -0
- package/dist/window/message-hooks.js.map +1 -0
- package/dist/window/message-pump.d.ts +3 -1
- package/dist/window/message-pump.d.ts.map +1 -1
- package/dist/window/message-pump.js +4 -1
- package/dist/window/message-pump.js.map +1 -1
- package/dist/window/native.d.ts +38 -0
- package/dist/window/native.d.ts.map +1 -1
- package/dist/window/native.js +134 -6
- package/dist/window/native.js.map +1 -1
- package/dist/window/reduced-motion.d.ts +7 -0
- package/dist/window/reduced-motion.d.ts.map +1 -0
- package/dist/window/reduced-motion.js +15 -0
- package/dist/window/reduced-motion.js.map +1 -0
- package/dist/window/system-dispatcher-queue.d.ts +7 -0
- package/dist/window/system-dispatcher-queue.d.ts.map +1 -0
- package/dist/window/system-dispatcher-queue.js +56 -0
- package/dist/window/system-dispatcher-queue.js.map +1 -0
- package/dist/window/taskbar-calls.d.ts +58 -0
- package/dist/window/taskbar-calls.d.ts.map +1 -0
- package/dist/window/taskbar-calls.js +77 -0
- package/dist/window/taskbar-calls.js.map +1 -0
- package/dist/window/taskbar-native.d.ts +9 -0
- package/dist/window/taskbar-native.d.ts.map +1 -0
- package/dist/window/taskbar-native.js +119 -0
- package/dist/window/taskbar-native.js.map +1 -0
- package/dist/window/taskbar.d.ts +104 -0
- package/dist/window/taskbar.d.ts.map +1 -0
- package/dist/window/taskbar.js +117 -0
- package/dist/window/taskbar.js.map +1 -0
- package/dist/window/transparent-backdrop.d.ts +7 -0
- package/dist/window/transparent-backdrop.d.ts.map +1 -1
- package/dist/window/transparent-backdrop.js +37 -1
- package/dist/window/transparent-backdrop.js.map +1 -1
- package/dist/window/window-handle.d.ts +17 -0
- package/dist/window/window-handle.d.ts.map +1 -1
- package/dist/window/window-handle.js +32 -0
- package/dist/window/window-handle.js.map +1 -1
- package/dist/window/window-host.svelte.d.ts +17 -1
- package/dist/window/window-host.svelte.d.ts.map +1 -1
- package/dist/window/window-host.svelte.js +52 -4
- package/dist/window/window-host.svelte.js.map +1 -1
- package/dist/window/window-state-keeper.d.ts +49 -0
- package/dist/window/window-state-keeper.d.ts.map +1 -0
- package/dist/window/window-state-keeper.js +164 -0
- package/dist/window/window-state-keeper.js.map +1 -0
- package/dist/window/window-state.d.ts +83 -0
- package/dist/window/window-state.d.ts.map +1 -0
- package/dist/window/window-state.js +155 -0
- package/dist/window/window-state.js.map +1 -0
- package/dist/winui.d.ts +2 -0
- package/dist/winui.d.ts.map +1 -1
- package/dist/winui.js +2 -0
- package/dist/winui.js.map +1 -1
- package/package.json +99 -1
- package/src/accessibility/announce.ts +67 -0
- package/src/accessibility/audit/audit-tree.ts +199 -0
- package/src/accessibility/audit/contrast.ts +149 -0
- package/src/accessibility/audit/index.ts +27 -0
- package/src/accessibility/audit/rules.ts +110 -0
- package/src/accessibility/audit/visual-tree-host.ts +179 -0
- package/src/accessibility/index.ts +8 -0
- package/src/accessibility/live-priority.ts +32 -0
- package/src/accessibility/live-region.ts +27 -0
- package/src/accessibility/notification.ts +35 -0
- package/src/app/activate.ts +88 -0
- package/src/app/activation/classify.ts +130 -0
- package/src/app/activation/command.ts +83 -0
- package/src/app/activation/context.ts +29 -0
- package/src/app/activation/index.ts +10 -0
- package/src/app/activation/kinds.ts +63 -0
- package/src/app/activation/login.ts +90 -0
- package/src/app/activation/native.ts +301 -0
- package/src/app/activation/protocol-handlers.ts +83 -0
- package/src/app/activation/receive.ts +106 -0
- package/src/app/activation/registration.ts +305 -0
- package/src/app/activation/registry.ts +26 -0
- package/src/app/activation/scheme.ts +115 -0
- package/src/app/hotkeys/errors.ts +30 -0
- package/src/app/hotkeys/index.ts +76 -0
- package/src/app/hotkeys/keys.ts +194 -0
- package/src/app/hotkeys/native.ts +36 -0
- package/src/app/hotkeys/registry.ts +153 -0
- package/src/app/index.ts +6 -0
- package/src/app/launch-command.ts +80 -0
- package/src/app/native.ts +58 -0
- package/src/app/notification-schedule.ts +25 -0
- package/src/app/notification-source.ts +23 -8
- package/src/app/notify.ts +65 -10
- package/src/app/relaunch.ts +79 -0
- package/src/app/restart-after-crash.ts +111 -0
- package/src/app/schedule-bindings.ts +3 -0
- package/src/app/windows-time.ts +13 -0
- package/src/components/convert.ts +3 -2
- package/src/components/generated/bindings.ts +1 -0
- package/src/components/generated/enums.ts +3 -0
- package/src/components/index.ts +1 -1
- package/src/components/runtime.svelte.ts +18 -6
- package/src/composition/animate.ts +263 -0
- package/src/composition/expression.ts +492 -0
- package/src/composition/index.ts +36 -0
- package/src/composition/property-set.ts +104 -0
- package/src/composition/spring.ts +57 -0
- package/src/composition/targets.ts +74 -0
- package/src/css/API.md +321 -2
- package/src/css/index.ts +2 -0
- package/src/css/parse/box-shadow.ts +90 -0
- package/src/css/parse/filters.ts +1 -1
- package/src/css/parse/parser.ts +1 -1
- package/src/css/parse/scroll-timeline.ts +373 -0
- package/src/css/runtime/resources.ts +2 -2
- package/src/css/runtime/runtime.ts +52 -16
- package/src/css/runtime/sheet-module.ts +31 -11
- package/src/css/runtime/visual-state-native.ts +161 -0
- package/src/css/runtime/visual-states.ts +117 -0
- package/src/css/scroll-timeline.ts +12 -0
- package/src/css/shadow.ts +12 -0
- package/src/css/translate/animation-properties.ts +240 -15
- package/src/css/translate/build-shorthands.ts +5 -3
- package/src/css/translate/cascade.ts +5 -1
- package/src/css/translate/easing.ts +5 -0
- package/src/css/translate/font-face.ts +97 -0
- package/src/css/translate/handled-members.ts +16 -0
- package/src/css/translate/lazy-groups.ts +43 -1
- package/src/css/translate/linked-tracks.ts +56 -0
- package/src/css/translate/scroll-link.ts +317 -0
- package/src/css/translate/scroll-timeline-properties.ts +222 -0
- package/src/css/translate/shadow-mode.ts +29 -0
- package/src/css/translate/shadow-properties.ts +199 -0
- package/src/css/translate/shorthands.ts +4 -3
- package/src/css/translate/state-properties.ts +151 -0
- package/src/css/translate/surface-properties.ts +22 -17
- package/src/css/translate/translate.ts +69 -17
- package/src/css/translate/type-ramp.ts +65 -0
- package/src/css/translate/types.ts +8 -0
- package/src/css/translate/typography-properties.ts +533 -0
- package/src/css/translate/unsupported-properties.ts +8 -1
- package/src/css/translate/view-transition-properties.ts +70 -0
- package/src/css/translate/winui-only-properties.ts +16 -1
- package/src/css/typography.ts +6 -0
- package/src/css/validate/vscode-data.ts +44 -0
- package/src/css/view-transition.ts +13 -0
- package/src/css/visual-states.ts +17 -0
- package/src/devices/bindings.ts +4 -1
- package/src/devices/displays.svelte.ts +2 -1
- package/src/devices/live.svelte.ts +4 -54
- package/src/devices/power.svelte.ts +51 -0
- package/src/devices/power.ts +12 -3
- package/src/devices/subscription.ts +60 -0
- package/src/devices/system-power.ts +95 -0
- package/src/enums.ts +11 -1
- package/src/font-files.ts +68 -0
- package/src/font-registry.ts +79 -0
- package/src/font-spelling.ts +29 -0
- package/src/index.ts +2 -0
- package/src/input/active-element.svelte.ts +44 -0
- package/src/input/dom-event.ts +121 -0
- package/src/input/events.ts +272 -0
- package/src/input/focused-element.ts +34 -0
- package/src/input/index.ts +12 -0
- package/src/input/key-names.ts +231 -0
- package/src/input/keyboard-fields.ts +71 -0
- package/src/input/move-focus.ts +35 -0
- package/src/input/pointer-capture.ts +92 -0
- package/src/input/pointer-fields.ts +212 -0
- package/src/input/pointer-routes.ts +16 -0
- package/src/input/trap-focus.ts +56 -0
- package/src/key-code.ts +139 -0
- package/src/messaging/page.ts +61 -0
- package/src/messaging/web-view2/cookies.ts +109 -0
- package/src/messaging/web-view2/core.ts +126 -0
- package/src/messaging/web-view2/index.ts +14 -0
- package/src/messaging/web-view2/policy.ts +127 -0
- package/src/messaging/web-view2/transport.ts +137 -0
- package/src/notice/index.ts +3 -0
- package/src/notice/native.ts +48 -0
- package/src/notice/notice.ts +148 -0
- package/src/renderer/host/connected-configuration.ts +49 -0
- package/src/renderer/host/control.ts +7 -2
- package/src/renderer/host/element-animation.ts +2 -16
- package/src/renderer/host/glide-height.ts +147 -0
- package/src/renderer/host/implicit-layout-animation.ts +190 -0
- package/src/renderer/host/motion-preference.ts +31 -0
- package/src/renderer/host/view-transition-names.ts +30 -0
- package/src/settings/SettingsCard.d.svelte.ts +12 -0
- package/src/settings/SettingsExpander.d.svelte.ts +12 -0
- package/src/settings/index.ts +9 -0
- package/src/settings/settings-context.ts +13 -0
- package/src/settings/settings-props.ts +57 -0
- package/src/store/bindings.ts +11 -0
- package/src/store/identity.ts +36 -0
- package/src/store/index.ts +21 -0
- package/src/store/license.ts +136 -0
- package/src/store/packages.ts +94 -0
- package/src/store/reply.ts +29 -0
- package/src/store/startup.ts +29 -0
- package/src/store/states.ts +72 -0
- package/src/store/types.ts +122 -0
- package/src/store/updates.ts +29 -0
- package/src/store/window-interop.ts +40 -0
- package/src/store/windows-backend.ts +27 -0
- package/src/store/windows-identity.ts +58 -0
- package/src/store/windows-packages.ts +91 -0
- package/src/store/windows-store.ts +126 -0
- package/src/tray/exit-hook.ts +13 -0
- package/src/tray/native.ts +5 -41
- package/src/tray/standalone/index.ts +16 -0
- package/src/tray/standalone/native.ts +144 -0
- package/src/tray/standalone/standalone-tray.ts +124 -0
- package/src/tray/tray-icon.ts +3 -8
- package/src/web-apis/animations.ts +4 -31
- package/src/web-apis/atomic-file.ts +36 -0
- package/src/web-apis/badge-glyph.ts +18 -0
- package/src/web-apis/badging.ts +37 -19
- package/src/web-apis/fonts.ts +277 -0
- package/src/web-apis/keyframe-input.ts +43 -0
- package/src/web-apis/notification.ts +114 -4
- package/src/web-apis/page.ts +70 -8
- package/src/web-apis/scroll-timeline.ts +544 -0
- package/src/web-apis/view-transitions.ts +409 -0
- package/src/web-apis/web-storage.ts +2 -35
- package/src/web-apis/window-controls-overlay.ts +213 -0
- package/src/win2d/child-slot.ts +43 -0
- package/src/win2d/context-2d/pointer-events.ts +14 -119
- package/src/win2d/element-lifecycle.ts +97 -0
- package/src/win2d/element-shadow.ts +167 -0
- package/src/win2d/element-visual.ts +19 -84
- package/src/win2d/scroll-host.ts +364 -0
- package/src/win2d/scroll-link.ts +227 -0
- package/src/win2d/shadow-geometry.ts +98 -0
- package/src/win2d/shadow-host.ts +26 -0
- package/src/win2d/shadow-receivers.ts +82 -0
- package/src/win32-calls.ts +6 -2
- package/src/win32-icons.ts +162 -0
- package/src/window/apply-chrome.ts +22 -0
- package/src/window/badge-icon.ts +234 -0
- package/src/window/chrome.ts +12 -0
- package/src/window/index.ts +1 -1
- package/src/window/message-hooks.ts +63 -0
- package/src/window/message-pump.ts +8 -1
- package/src/window/native.ts +162 -6
- package/src/window/reduced-motion.ts +14 -0
- package/src/window/system-dispatcher-queue.ts +61 -0
- package/src/window/taskbar-calls.ts +111 -0
- package/src/window/taskbar-native.ts +140 -0
- package/src/window/taskbar.ts +174 -0
- package/src/window/transparent-backdrop.ts +38 -1
- package/src/window/window-handle.ts +36 -0
- package/src/window/window-host.svelte.ts +90 -4
- package/src/window/window-state-keeper.ts +205 -0
- package/src/window/window-state.ts +207 -0
- package/src/winui.ts +2 -0
- package/web-types.json +7482 -37
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ExpressionKind } from "./expression.ts";
|
|
2
|
+
import type { ReferenceMembers, Vector2Value, Vector3Value } from "./expression.ts";
|
|
3
|
+
|
|
4
|
+
// What an animation can target and what an expression can read: the members
|
|
5
|
+
// of an element's Composition visual, and the kind of a property set's member
|
|
6
|
+
// from the value it starts with. One table types both the references and the
|
|
7
|
+
// animated properties.
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The animatable members of an element's visual, by the camel-case name a
|
|
11
|
+
* reference and `animateOnCompositor` give them.
|
|
12
|
+
*/
|
|
13
|
+
export const VISUAL_MEMBERS = {
|
|
14
|
+
anchorPoint: ExpressionKind.VECTOR2,
|
|
15
|
+
centerPoint: ExpressionKind.VECTOR3,
|
|
16
|
+
offset: ExpressionKind.VECTOR3,
|
|
17
|
+
opacity: ExpressionKind.SCALAR,
|
|
18
|
+
rotationAngleInDegrees: ExpressionKind.SCALAR,
|
|
19
|
+
scale: ExpressionKind.VECTOR3,
|
|
20
|
+
size: ExpressionKind.VECTOR2,
|
|
21
|
+
translation: ExpressionKind.VECTOR3
|
|
22
|
+
} as const;
|
|
23
|
+
|
|
24
|
+
/** The members of an element's visual and their kinds. */
|
|
25
|
+
export type VisualMembers = typeof VISUAL_MEMBERS;
|
|
26
|
+
|
|
27
|
+
interface ComponentsOfKind {
|
|
28
|
+
readonly scalar: never;
|
|
29
|
+
readonly vector2: "x" | "y";
|
|
30
|
+
readonly vector3: "x" | "y" | "z";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The properties an animation can target on an object with these members: each
|
|
35
|
+
* member, and each component of a vector member (`offset.x`), a scalar.
|
|
36
|
+
*/
|
|
37
|
+
export type AnimatableProperties<Members extends ReferenceMembers> = {
|
|
38
|
+
readonly [Name in keyof Members & string]: Members[Name];
|
|
39
|
+
} & {
|
|
40
|
+
readonly [Name in keyof Members & string as `${Name}.${ComponentsOfKind[Members[Name]]}`]: typeof ExpressionKind.SCALAR;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** A property an animation can target on an object with these members, in camel case. */
|
|
44
|
+
export type PropertyName<Members extends ReferenceMembers> = keyof AnimatableProperties<Members> & string;
|
|
45
|
+
|
|
46
|
+
/** A value a property set member holds: a number, a `{ x, y }` or a `{ x, y, z }`. */
|
|
47
|
+
export type MemberValue = number | Vector2Value | Vector3Value;
|
|
48
|
+
|
|
49
|
+
/** The kind of a member from its value. */
|
|
50
|
+
export type KindOfValue<Value extends MemberValue> = Value extends number
|
|
51
|
+
? typeof ExpressionKind.SCALAR
|
|
52
|
+
: Value extends Vector3Value ? typeof ExpressionKind.VECTOR3 : typeof ExpressionKind.VECTOR2;
|
|
53
|
+
|
|
54
|
+
/** The kinds of the members of a property set, from the values it starts with. */
|
|
55
|
+
export type KindsOfValues<Values extends Readonly<Record<string, MemberValue>>> = {
|
|
56
|
+
readonly [Name in keyof Values]: KindOfValue<Values[Name]>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** The kind of a member value, read from its shape. */
|
|
60
|
+
export function kindOfValue(value: MemberValue) {
|
|
61
|
+
const isScalar = typeof value === "number";
|
|
62
|
+
if (isScalar) {
|
|
63
|
+
return ExpressionKind.SCALAR;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return "z" in value ? ExpressionKind.VECTOR3 : ExpressionKind.VECTOR2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/** The kinds of a property set's members, from the values it starts with. */
|
|
70
|
+
export function kindsOfValues<Values extends Readonly<Record<string, MemberValue>>>(values: Values) {
|
|
71
|
+
const entries = Object.entries(values).map(([name, value]) => [name, kindOfValue(value)]);
|
|
72
|
+
// oxlint-disable-next-line typescript/consistent-type-assertions -- Object.fromEntries loses each name's kind
|
|
73
|
+
return Object.fromEntries(entries) as KindsOfValues<Values>;
|
|
74
|
+
}
|
package/src/css/API.md
CHANGED
|
@@ -196,14 +196,19 @@ window in, with or without a `<style>` that uses the property
|
|
|
196
196
|
| `winui-svelte/css/gradients` | `background-image` | Gradients |
|
|
197
197
|
| `winui-svelte/css/transform` | `transform`, `translate`, `scale`, `rotate`, `transform-origin`, `transition` | Transforms |
|
|
198
198
|
| `winui-svelte/css/animation` | `animation`, `animation-*`, `@keyframes` | Animations |
|
|
199
|
+
| `winui-svelte/css/scroll-timeline` | `animation-timeline`, `animation-range*`, `scroll-timeline*`, `view-timeline*` | Scroll-driven animation |
|
|
199
200
|
| `winui-svelte/css/effects` | `aspect-ratio` | Aspect ratio |
|
|
200
201
|
| `winui-svelte/css/filter` | `filter`, `backdrop-filter`, `mix-blend-mode`, `mask`, `mask-image` | Filters, blends and masks |
|
|
201
202
|
| `winui-svelte/css/clip` | `clip-path` | Clip shapes |
|
|
202
203
|
| `winui-svelte/css/cursor` | `cursor` | Cursor |
|
|
204
|
+
| `winui-svelte/css/view-transition` | `view-transition-name` | View transitions |
|
|
203
205
|
| `winui-svelte/css/control` | `font-stretch`, `direction`, `background-clip`, `tab-index` | Control properties (`controlGroups`) |
|
|
206
|
+
| `winui-svelte/css/visual-states` | `background-color`, `background-image`, `color` and `border-color` in a `:hover`, `:active` or `:disabled` rule of a Button (a group with no property of its own) | Visual states of a templated control (`visualStateGroups`) |
|
|
207
|
+
| `winui-svelte/css/typography` | `font-variant`, `font-variant-*`, `font-kerning`, `font-feature-settings`, `font-optical-sizing` | Typography (`typographyGroups`) |
|
|
204
208
|
| `winui-svelte/css/shape` | `fill`, `stroke-dasharray`, `stroke-dashoffset`, `stroke-linecap`, `stroke-linejoin`, `stroke-miterlimit`, `rx`, `ry`, `fill-rule` | Shapes |
|
|
205
209
|
| `winui-svelte/css/focus` | `outline`, `outline-offset` | Focus ring |
|
|
206
210
|
| `winui-svelte/css/surface` | `-winui-elevation`, `box-shadow` | Elevation |
|
|
211
|
+
| `winui-svelte/css/shadow` | `-winui-shadow`, `-winui-shadow-receiver`, `-winui-shadow-cast-on` (and the `box-shadow` they read) | Composition shadows and receivers (`shadowGroups`) |
|
|
207
212
|
| `winui-svelte/css/position` | `position`, `top`, `left`, `right`, `bottom`, `inset` | Position |
|
|
208
213
|
| `winui-svelte/css/queries` | `@media`, `@container` and `@starting-style` rules (a group with no property of its own) | Responsive rules |
|
|
209
214
|
| `winui-svelte/css/environment` | the `@media` features beyond the size (preferences, display, input; a group with no property of its own) | Media features |
|
|
@@ -402,7 +407,7 @@ attribute works only once some sheet of the app has the module
|
|
|
402
407
|
A third (z) value is an error
|
|
403
408
|
|
|
404
409
|
```css
|
|
405
|
-
.card
|
|
410
|
+
.card { &:hover { scale: 1.05 } } /* grows from the centre, as CSS */
|
|
406
411
|
.fan { rotate: 8deg; transform-origin: left bottom }
|
|
407
412
|
```
|
|
408
413
|
|
|
@@ -441,6 +446,89 @@ The first color an element gets is set, not animated; the border keeps a brush o
|
|
|
441
446
|
.badge { transform: translate(4px, -4px) rotate(8deg) }
|
|
442
447
|
```
|
|
443
448
|
|
|
449
|
+
## Fonts: `@font-face`
|
|
450
|
+
|
|
451
|
+
`@font-face` names a font file of the app and the family it is used by:
|
|
452
|
+
`@font-face { font-family: "Face"; src: url("./Face.ttf") }`
|
|
453
|
+
The family must be the name written inside the file
|
|
454
|
+
The first `url()` of `src` is the file, relative to the stylesheet (in a built app
|
|
455
|
+
also by its name beside the bundle); a web address or a `src` with no `url()` is
|
|
456
|
+
an error
|
|
457
|
+
`font-weight`, `font-style`, `font-stretch` and `unicode-range` are a warning, as
|
|
458
|
+
WinUI takes the face from the file; `font-display` is ignored
|
|
459
|
+
The sheet's module registers the file with `registerFont` (from
|
|
460
|
+
`winui-svelte/css`) before it registers the sheet, and any `font-family` of that
|
|
461
|
+
name, in any sheet or prop, is then handed to WinUI as
|
|
462
|
+
`ms-appx:///C:/app/Face.ttf#Face` (a `file:` URI is not read by WinUI)
|
|
463
|
+
Register a font before the first window shows text: a font registered later is
|
|
464
|
+
used by the controls created after it
|
|
465
|
+
|
|
466
|
+
## Typography: OpenType features and the type ramp
|
|
467
|
+
|
|
468
|
+
WinUI draws a TextBlock's OpenType features through the `Typography` attached
|
|
469
|
+
properties (`Typography.Capitals`, `Typography.StylisticSet1`...), and the
|
|
470
|
+
module `winui-svelte/css/typography` lowers the CSS properties onto them
|
|
471
|
+
A sheet imports it when it has one of these properties; one that has none
|
|
472
|
+
bundles none of it
|
|
473
|
+
|
|
474
|
+
| Property | Typography property it sets |
|
|
475
|
+
|---|---|
|
|
476
|
+
| `font-variant-caps` | `Capitals`: `small-caps`, `all-small-caps`, `petite-caps`, `all-petite-caps`, `unicase`, `titling-caps` |
|
|
477
|
+
| `font-variant-numeric` | `NumeralStyle` (`lining-nums`, `oldstyle-nums`), `NumeralAlignment` (`proportional-nums`, `tabular-nums`), `Fraction` (`diagonal-fractions`, `stacked-fractions`), `Variants` (`ordinal`), `SlashedZero` |
|
|
478
|
+
| `font-variant-position` | `Variants`: `sub`, `super` |
|
|
479
|
+
| `font-variant-ligatures` | `StandardLigatures`, `ContextualLigatures`, `DiscretionaryLigatures`, `HistoricalLigatures`, `ContextualAlternates`; `none` turns all five off |
|
|
480
|
+
| `font-variant-alternates` | `HistoricalForms` (`historical-forms`) |
|
|
481
|
+
| `font-variant-east-asian` | `EastAsianLanguage`, `EastAsianWidths`, `Variants` (`ruby`) |
|
|
482
|
+
| `font-kerning` | `Kerning`: `none` turns it off, `auto` and `normal` on |
|
|
483
|
+
| `font-feature-settings` | any OpenType tag WinUI has a property for, as `"tag"`, `"tag" on`, `"tag" off` or `"tag" 2`: `ss01` to `ss20`, `smcp`, `c2sc`, `pcap`, `c2pc`, `unic`, `titl`, `lnum`, `onum`, `pnum`, `tnum`, `frac`, `afrc`, `sups`, `subs`, `ordn`, `sinf`, `ruby`, `zero`, `liga`, `clig`, `dlig`, `hlig`, `calt`, `kern`, `case`, `cpsp`, `hist`, `mgrk`, `expt`, the East Asian forms and widths, and the counts `salt`, `swsh`, `cswh` and `nalt` |
|
|
484
|
+
| `font-variant` | the shorthand: each keyword goes to the longhand that takes it, and the longhands it does not name go back to `normal` |
|
|
485
|
+
| `font-optical-sizing` | `auto` only |
|
|
486
|
+
|
|
487
|
+
`normal` puts a property back to its default, and does not undo what another
|
|
488
|
+
longhand of the same rule sets on a property
|
|
489
|
+
`font-feature-settings` applies after the `font-variant` properties, as in CSS,
|
|
490
|
+
so where both set a property the feature wins
|
|
491
|
+
WinUI holds one value per property: two words that set `Typography.Variants`
|
|
492
|
+
differently (`font-variant-position: super` with `font-variant-numeric:
|
|
493
|
+
ordinal`) are an error
|
|
494
|
+
|
|
495
|
+
Rejected, each with the reason in the message:
|
|
496
|
+
|
|
497
|
+
| Value | Why |
|
|
498
|
+
|---|---|
|
|
499
|
+
| `font-variation-settings` | WinUI has no API for a variable font's axes; name an instance in `font-family` (`"Segoe UI Variable Display"`), and set `font-weight` and `font-stretch` |
|
|
500
|
+
| `font-optical-sizing: none` | DirectWrite applies a variable font's optical size axis from the font size, and nothing turns it off |
|
|
501
|
+
| a functional `font-variant-alternates` (`stylistic()`, `styleset()`, `character-variant()`, `swash()`, `ornaments()`, `annotation()`) | each names an `@font-feature-values` entry, which WinUI has no counterpart for; write the feature in `font-feature-settings` (`"ss02"`, `"salt" 2`, `"swsh" 1`) |
|
|
502
|
+
| `font-feature-settings` with a tag WinUI has no property for (`cv01`, `aalt`...) | the message lists the tags it sets |
|
|
503
|
+
|
|
504
|
+
```css
|
|
505
|
+
.price { font-variant-numeric: oldstyle-nums tabular-nums }
|
|
506
|
+
.label { font-variant-caps: all-small-caps; font-feature-settings: "ss06", "salt" 2 }
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
A font that lacks a feature draws without it, as in a browser
|
|
510
|
+
|
|
511
|
+
### The type ramp: `font: var(--type-body)`
|
|
512
|
+
|
|
513
|
+
`font` takes a step of WinUI's type ramp as `var(--type-<step>)`, and sets the
|
|
514
|
+
font size resource of WinUI's style for it (`{ThemeResource TitleTextBlockFontSize}`)
|
|
515
|
+
and the weight of that style, so the size follows WinUI's
|
|
516
|
+
|
|
517
|
+
| Step | Style it matches | Weight |
|
|
518
|
+
|---|---|---|
|
|
519
|
+
| `--type-caption` | `CaptionTextBlockStyle` | normal |
|
|
520
|
+
| `--type-body` | `BodyTextBlockStyle` | normal |
|
|
521
|
+
| `--type-body-strong` | `BodyStrongTextBlockStyle` | semi bold |
|
|
522
|
+
| `--type-body-large` | `BodyLargeTextBlockStyle` | normal |
|
|
523
|
+
| `--type-subtitle` | `SubtitleTextBlockStyle` | semi bold |
|
|
524
|
+
| `--type-title` | `TitleTextBlockStyle` | semi bold |
|
|
525
|
+
| `--type-title-large` | `TitleLargeTextBlockStyle` | semi bold |
|
|
526
|
+
| `--type-display` | `DisplayTextBlockStyle` | semi bold |
|
|
527
|
+
|
|
528
|
+
Any other `var(--type-...)` is an error that lists the steps
|
|
529
|
+
The step is a build-time shorthand (it needs no module), and the rest of
|
|
530
|
+
`font` is as before: `font: italic bold 16px Georgia`
|
|
531
|
+
|
|
444
532
|
## Animations: `animation`, `@keyframes`
|
|
445
533
|
|
|
446
534
|
`@keyframes` stays inside the sheet's data (`StyleSheetData.keyframes`, global to
|
|
@@ -482,6 +570,93 @@ iterations start from where the last one ended
|
|
|
482
570
|
.badge { animation: pulse 1.2s ease-in-out infinite }
|
|
483
571
|
```
|
|
484
572
|
|
|
573
|
+
## Scroll-driven animation: `animation-timeline`, `scroll-timeline`, `view-timeline`
|
|
574
|
+
|
|
575
|
+
An animation can follow a scroll position instead of the clock
|
|
576
|
+
`animation-timeline` binds a `@keyframes` rule to a scroll viewer, and
|
|
577
|
+
Composition runs it on the compositor: the scroll viewer's manipulation
|
|
578
|
+
property set (`ElementCompositionPreview.GetScrollViewerManipulationPropertySet`)
|
|
579
|
+
feeds one `ExpressionAnimation` that gives the progress through the animation
|
|
580
|
+
range, and one more for each animated property that turns the progress into a
|
|
581
|
+
clamped `Lerp` of its key frames; the UI thread stays idle while the user
|
|
582
|
+
scrolls
|
|
583
|
+
The module is `winui-svelte/css/scroll-timeline`, which a sheet imports when it
|
|
584
|
+
has one of these properties (`animation-timeline`, `animation-range`,
|
|
585
|
+
`scroll-timeline*`, `view-timeline*`)
|
|
586
|
+
|
|
587
|
+
| Property | Meaning |
|
|
588
|
+
|---|---|
|
|
589
|
+
| `animation-timeline` | `auto` (the clock, the default), `none` (the animation does not play), `scroll([nearest \| root \| self] [block \| inline \| x \| y])`, `view([block \| inline \| x \| y] [inset])` or a dashed name; a comma list matches `animation-name` |
|
|
590
|
+
| `animation-range`, `animation-range-start`, `animation-range-end` | `normal` (the whole scroll range, or the whole cover range of a view), a length in px or a percentage, and for a view timeline a range name (`cover`, `contain`, `entry`, `exit`, `entry-crossing`, `exit-crossing`) with an offset into it: `animation-range: entry 10% exit 90%` |
|
|
591
|
+
| `scroll-timeline`, `scroll-timeline-name`, `scroll-timeline-axis` | the scroll viewer this rule styles defines a timeline that `animation-timeline: --name` finds |
|
|
592
|
+
| `view-timeline`, `view-timeline-name`, `view-timeline-axis`, `view-timeline-inset` | the element this rule styles defines a view timeline: its passage through the nearest scroll viewer |
|
|
593
|
+
|
|
594
|
+
`block` and `y` are vertical, `inline` and `x` horizontal (WinUI scrolls in the
|
|
595
|
+
left to right layout only)
|
|
596
|
+
`scroll()` measures the nearest scroll viewer above the element, the outermost
|
|
597
|
+
one (`root`) or the element itself (`self`)
|
|
598
|
+
`view()` measures the element itself against its nearest scroll viewer; its
|
|
599
|
+
inset (`auto`, or one or two lengths in px or percentages of the scrollport)
|
|
600
|
+
shrinks the scrollport the element is measured against
|
|
601
|
+
|
|
602
|
+
```css
|
|
603
|
+
.page { scroll-timeline: --page block }
|
|
604
|
+
|
|
605
|
+
.header {
|
|
606
|
+
animation: collapse linear both;
|
|
607
|
+
animation-timeline: --page;
|
|
608
|
+
animation-range: 0 400px;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
@keyframes collapse {
|
|
612
|
+
to { opacity: 0; translate: 0 -30px; scale: 1 0.5 }
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.hero { animation: drift linear both view() }
|
|
616
|
+
@keyframes drift {
|
|
617
|
+
from { translate: 0 -40px }
|
|
618
|
+
to { translate: 0 40px }
|
|
619
|
+
}
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
A name is found from the element that uses it: the timeline defined on the
|
|
623
|
+
element itself, on an ancestor, or anywhere below an ancestor (so a header
|
|
624
|
+
beside the scroll viewer finds the viewer's `--page`, which on the web
|
|
625
|
+
`timeline-scope` does)
|
|
626
|
+
An animation whose scroll viewer or name is not in the tree yet links when it
|
|
627
|
+
is
|
|
628
|
+
|
|
629
|
+
Limits, each reported by the build with what to write instead:
|
|
630
|
+
|
|
631
|
+
- only what Composition drives from a scroll position: `opacity`, `translate`,
|
|
632
|
+
`scale`, `rotate` and a `transform` of `translate()`, `scale()` and
|
|
633
|
+
`rotate()`; a width, a color, a keyword or a skew in the key frames is an
|
|
634
|
+
error (use a time-based animation for it)
|
|
635
|
+
- the key frames map straight onto the range: write
|
|
636
|
+
`animation-timing-function: linear` (the default `ease` is an error), and
|
|
637
|
+
no easing in a key frame
|
|
638
|
+
- one iteration, in the `normal` or `reverse` direction; the duration, the
|
|
639
|
+
delay and `animation-play-state` mean nothing to a scroll position
|
|
640
|
+
- the first and last values hold outside the range, as `animation-fill-mode:
|
|
641
|
+
both` does; a property a key frame leaves out holds the element's own value
|
|
642
|
+
- scale and rotate turn about the element's centre; `transform-origin` is not
|
|
643
|
+
read for them
|
|
644
|
+
- a range name needs a view timeline; `timeline-scope` is not supported
|
|
645
|
+
- the sizes are measured again at every layout; a scroll viewer that zooms is
|
|
646
|
+
measured at zoom factor 1
|
|
647
|
+
|
|
648
|
+
Reduced motion: the copy of the rule that sets `animation: none` under
|
|
649
|
+
`prefers-reduced-motion: reduce` (see Reduced motion is automatic) also takes
|
|
650
|
+
the timeline away, so the element shows its own, unanimated values and not an
|
|
651
|
+
end state; an element with the class `winui-motion-always` keeps the link
|
|
652
|
+
|
|
653
|
+
`ParallaxView` is the control for a background that moves slower than its
|
|
654
|
+
scroll viewer, with a speed ratio: use it for that one effect, since it also
|
|
655
|
+
handles the layers for you
|
|
656
|
+
Use a view timeline when the effect is anything else (a fade or a scale as an
|
|
657
|
+
element crosses the viewport, a header that collapses, a progress bar) or when
|
|
658
|
+
the movement is not a ratio of the scroll
|
|
659
|
+
|
|
485
660
|
## Shapes: `fill`, `stroke-*`, `rx`, `ry`, `fill-rule`
|
|
486
661
|
|
|
487
662
|
A WinUI Shape (`rectangle`, `ellipse`, `line`, `polyline`, `polygon`, `path`)
|
|
@@ -550,6 +725,54 @@ Every use warns of that; it is not verified without a window
|
|
|
550
725
|
|
|
551
726
|
Both are in `winui-svelte/css/surface`
|
|
552
727
|
|
|
728
|
+
## Composition shadows: `-winui-shadow`, `-winui-shadow-receiver`, `-winui-shadow-cast-on`
|
|
729
|
+
|
|
730
|
+
`-winui-shadow: composition` in the rule that sets `box-shadow` draws it with a
|
|
731
|
+
Composition `DropShadow` instead of a ThemeShadow, so the colour, the x and y
|
|
732
|
+
offset, the blur and the spread are kept; `theme` is the default and the
|
|
733
|
+
ThemeShadow described above
|
|
734
|
+
Every layer of a comma list is drawn (the first on top), each as a sprite
|
|
735
|
+
visual in the element's own child visual slot, with the element's border box cut
|
|
736
|
+
out of it as CSS does; the sprite has no brush of its own, so the shadow is a
|
|
737
|
+
rectangle (the corner radius of the element does not round it)
|
|
738
|
+
|
|
739
|
+
| `box-shadow` part | Composition |
|
|
740
|
+
|---|---|
|
|
741
|
+
| `offset-x`, `offset-y` | the shadow's `Offset` |
|
|
742
|
+
| `blur` | the shadow's `BlurRadius` |
|
|
743
|
+
| `spread` | the sprite grows by it on every side (a spread that eats the element draws nothing) |
|
|
744
|
+
| color | the shadow's `Color`, written out (`#rrggbb`, `rgb()`, `hsl()`, a name); the default is 50% black |
|
|
745
|
+
| `inset` | an error: an inner shadow needs the element's own pixels |
|
|
746
|
+
| `var()` as the color | an error: a theme resource is not read when the sheet is built |
|
|
747
|
+
|
|
748
|
+
```css
|
|
749
|
+
.card {
|
|
750
|
+
-winui-shadow: composition;
|
|
751
|
+
box-shadow: 0 8px 16px 2px rgba(0, 0, 255, 0.4), 4px 4px 0 #f00;
|
|
752
|
+
}
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
`-winui-elevation` and `-winui-shadow: composition` together give both: the
|
|
756
|
+
ThemeShadow follows the element's lift, the DropShadow draws `box-shadow`
|
|
757
|
+
A `transition` on `box-shadow` still animates only the lift, not a Composition shadow
|
|
758
|
+
An element that has an effect (`filter`, `mask-image`) as well shares its child visual slot with
|
|
759
|
+
the shadow, and the effect samples the shadow too
|
|
760
|
+
|
|
761
|
+
A ThemeShadow draws before Windows 11 only on its `Receivers`, which a Style cannot
|
|
762
|
+
name: `-winui-shadow-receiver: <name>` makes the element a receiver of a group
|
|
763
|
+
and `-winui-shadow-cast-on: <name>` on an element with a ThemeShadow
|
|
764
|
+
(`-winui-elevation`) sets its Receivers to the group's elements
|
|
765
|
+
The element gets a ThemeShadow of its own, which wins over the Style's; the
|
|
766
|
+
`-winui-elevation` warning about receivers is not reported for it
|
|
767
|
+
|
|
768
|
+
```css
|
|
769
|
+
.page { -winui-shadow-receiver: surface }
|
|
770
|
+
.flyout { -winui-elevation: 32px; -winui-shadow-cast-on: surface }
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
All three are in `winui-svelte/css/shadow`, which loads Win2D for the clip and
|
|
774
|
+
only for a sheet that uses one of them
|
|
775
|
+
|
|
553
776
|
## Filters, blends and masks: `filter`, `backdrop-filter`, `mix-blend-mode`, `mask-image`
|
|
554
777
|
|
|
555
778
|
These draw the element through an effect graph of Win2D effects on its
|
|
@@ -651,6 +874,28 @@ QueryInterface from outside; the value is an `InputSystemCursor` made by
|
|
|
651
874
|
|
|
652
875
|
Removing the rule gives the element no cursor of its own again
|
|
653
876
|
|
|
877
|
+
## View transitions: `view-transition-name`
|
|
878
|
+
|
|
879
|
+
`view-transition-name` names an element for `document.startViewTransition`
|
|
880
|
+
(`winui-svelte/view-transitions`, in the main `API.md`): a sheet or a style
|
|
881
|
+
attribute that sets it imports `winui-svelte/css/view-transition`
|
|
882
|
+
No Style sets the name; the runtime keeps it beside the control, and the
|
|
883
|
+
transition pairs the control named alike before and after its update into one
|
|
884
|
+
of WinUI's connected animations
|
|
885
|
+
|
|
886
|
+
```svelte
|
|
887
|
+
<border class="thumbnail" style="view-transition-name: photo-{photo.id}" />
|
|
888
|
+
```
|
|
889
|
+
|
|
890
|
+
The value is `none` or one name; `auto` and `match-element` are build errors,
|
|
891
|
+
since a connected animation is found by its name alone and the runtime makes
|
|
892
|
+
none up
|
|
893
|
+
A name set by a `style:view-transition-name={name}` directive alone does not
|
|
894
|
+
opt the window in: write it in a style attribute's text, as above, or in a
|
|
895
|
+
sheet
|
|
896
|
+
The `::view-transition-*` pseudo-elements and `view-transition-class` have no
|
|
897
|
+
counterpart (the picture WinUI flies is not an element a rule can match)
|
|
898
|
+
|
|
654
899
|
## Aspect ratio: `aspect-ratio`
|
|
655
900
|
|
|
656
901
|
`winui-svelte/css/effects` has `aspect-ratio` (`auto`, a number or `w / h`):
|
|
@@ -695,7 +940,7 @@ the panel; the CSS names what it does
|
|
|
695
940
|
| `display: grid` on `<grid>`, `grid-template-*` | the grid's definitions | see Grid tracks |
|
|
696
941
|
| `grid-column`, `grid-row`, `grid-area` | `Grid.Column`, `Grid.Row`, `Grid.ColumnSpan`, `Grid.RowSpan` (lines are 1-based in CSS, 0-based in WinUI) | named areas, auto-placement and implicit tracks are errors |
|
|
697
942
|
| `flex: 1`, `flex-grow`, `flex-basis` on a child | a `*`, `Auto` or px track | lowered by the build when the container is a `<grid>` with `display: flex` (see Containers); on a `<stack-panel>` an error that points to it |
|
|
698
|
-
| `flex-wrap` | none | error: WinUI has no wrapping panel |
|
|
943
|
+
| `flex-wrap` | none | error: WinUI has no wrapping panel; the message names the two ways, a `<rich-text-block>` holding each chip in an `<inline-ui-container>` (any widths) or a `<variable-sized-wrap-grid>` (one cell size) |
|
|
699
944
|
| `align-self`, `justify-self`, `place-self` | `VerticalAlignment`, `HorizontalAlignment` (`start` is Top / Left) | on the child |
|
|
700
945
|
| `align-items`, `justify-items`, `place-items`, `justify-content`, `align-content` | each child's `align-self` / `justify-self`, or spacer tracks | lowered into the children by the build (see Containers) |
|
|
701
946
|
| `justify-content`, `align-items` on a control (`<expander>`, `<button>`, `<list-view-item>`) | `HorizontalContentAlignment`, `VerticalContentAlignment` (`start` is Left / Top) | on a panel they are lowered into the children instead (see Containers) |
|
|
@@ -1013,6 +1258,76 @@ bottom longhands, and `inline-size` and `block-size` (with `min-` and `max-`) ar
|
|
|
1013
1258
|
the width and height
|
|
1014
1259
|
`text-align: start` and `end` are Left and Right
|
|
1015
1260
|
|
|
1261
|
+
## Pseudo-classes on a templated control: visual states
|
|
1262
|
+
|
|
1263
|
+
A Button's template draws its own `PointerOver`, `Pressed` and `Disabled`
|
|
1264
|
+
states by animating the brushes of its `ContentPresenter`, and an animation
|
|
1265
|
+
beats a Style setter, so a `:hover { background-color }` that only changed
|
|
1266
|
+
the control's Style never showed
|
|
1267
|
+
A rule that sets a brush in one of those states now goes to the state itself,
|
|
1268
|
+
in the template's own `VisualStateManager` groups, where WinUI enters it for
|
|
1269
|
+
the pointer, the keyboard and `Disabled`: the control reports no event for it,
|
|
1270
|
+
so a Button's `:active` works too (a Button handles `PointerPressed` itself)
|
|
1271
|
+
|
|
1272
|
+
```css
|
|
1273
|
+
.cta {
|
|
1274
|
+
background-color: #0a6cff;
|
|
1275
|
+
color: #fff;
|
|
1276
|
+
|
|
1277
|
+
&:hover { background-color: #0050c8 }
|
|
1278
|
+
&:active { background-color: #003a8f; color: #e0e8ff }
|
|
1279
|
+
&:disabled { background-color: #888 }
|
|
1280
|
+
}
|
|
1281
|
+
```
|
|
1282
|
+
|
|
1283
|
+
| Pseudo-class | Visual state | Group |
|
|
1284
|
+
|---|---|---|
|
|
1285
|
+
| `:hover` | `PointerOver` | `CommonStates` |
|
|
1286
|
+
| `:active` | `Pressed` | `CommonStates` |
|
|
1287
|
+
| `:disabled` | `Disabled` | `CommonStates` |
|
|
1288
|
+
| `:focus` | `Focused` and `PointerFocused` | `FocusStates` |
|
|
1289
|
+
| `:focus-visible` | `Focused` | `FocusStates` |
|
|
1290
|
+
|
|
1291
|
+
The base rule is the `Normal` state: it stays the control's Style
|
|
1292
|
+
Only these four properties move to a state, since they are what a template's
|
|
1293
|
+
states override: `background-color`, `background-image` (a gradient),
|
|
1294
|
+
`color` and `border-color` (WinUI's `Background`, `Foreground` and
|
|
1295
|
+
`BorderBrush` of the `ContentPresenter`)
|
|
1296
|
+
Every other property of a state rule (`opacity`, `scale`, a size) stays a
|
|
1297
|
+
Style setter on the control, driven by the control's events as before, since
|
|
1298
|
+
a template leaves it alone
|
|
1299
|
+
A value is a color, a `var()` of a WinUI brush or a gradient, and the state
|
|
1300
|
+
keeps it until the rules change: a class that comes or goes puts the
|
|
1301
|
+
template's own animation back and writes the new one, and a sheet that is
|
|
1302
|
+
replaced does the same
|
|
1303
|
+
|
|
1304
|
+
It is opt-in per sheet, like the other groups: a sheet that has such a rule
|
|
1305
|
+
imports `winui-svelte/css/visual-states` (the build adds it) and a window
|
|
1306
|
+
whose sheets have none carries none of it
|
|
1307
|
+
|
|
1308
|
+
What is refused, and why:
|
|
1309
|
+
|
|
1310
|
+
- **`:checked`** keeps the Style route: a ToggleButton's checked look is a
|
|
1311
|
+
combination with the pointer (`CheckedPointerOver`, `CheckedPressed`), which
|
|
1312
|
+
one pseudo-class cannot name
|
|
1313
|
+
- **`:focus` and `:focus-visible` on a Button** keep the Style route: the
|
|
1314
|
+
Button family's templates define `CommonStates` and no `FocusStates`, so
|
|
1315
|
+
there is no state to enter; the table of driven controls
|
|
1316
|
+
(`TEMPLATE_STATES`) lists the states each defines, and a control whose
|
|
1317
|
+
template has `FocusStates` takes them by being added there
|
|
1318
|
+
- **Other controls** (`toggle-button`, `check-box`, `combo-box`, `list-view-item`
|
|
1319
|
+
and the rest) keep the Style route, since each template names its parts
|
|
1320
|
+
differently; the driven ones are `button`, `repeat-button`, `hyperlink-button`
|
|
1321
|
+
and `drop-down-button`
|
|
1322
|
+
- **A custom property** on a pseudo-class rule is still an error (see Custom
|
|
1323
|
+
properties): override the resource the template reads instead
|
|
1324
|
+
- **`:hover:active` and other combinations** are one state per selector, as
|
|
1325
|
+
before; a state is entered by WinUI, so a rule cannot ask for two at once
|
|
1326
|
+
|
|
1327
|
+
Because WinUI enters the state, a test needs no pointer: call
|
|
1328
|
+
`goToState({ control, name: "PointerOver" })` and read the template part's
|
|
1329
|
+
brush (`test/visual-states.test.ts` does, on `examples/visual-states`)
|
|
1330
|
+
|
|
1016
1331
|
## Selectors
|
|
1017
1332
|
|
|
1018
1333
|
A selector is a type, classes, one state (`:hover`, `:active`, `:focus`,
|
|
@@ -1222,10 +1537,14 @@ Declarations like these fail the build with it:
|
|
|
1222
1537
|
| `filter`, `backdrop-filter`, `mix-blend-mode`, `mask`, `mask-image` in a style attribute | they are read from a component's `<style>` block, which opts the window into `winui-svelte/css/filter` (see Filters, blends and masks); `url()` filters, `mask-position`, `mask-size`, `mask-repeat` and `mask-mode` have no counterpart |
|
|
1223
1538
|
| `clip-path` as `rect()`, `xywh()` or `url()` | `inset()`, `circle()`, `ellipse()`, `polygon()` and `path()` have one (see Clip shapes) |
|
|
1224
1539
|
| `cursor` as a `url()` image, `none`, `copy`, `alias`, `zoom-in` and `zoom-out` | WinUI's cursors are the sixteen system shapes of `InputSystemCursorShape`; the other keywords have one (see Cursor) |
|
|
1540
|
+
| `view-transition-class`, `view-transition-name: auto` and `match-element` | a connected animation flies a picture no rule can match, found by a name the app gives (see View transitions) |
|
|
1225
1541
|
| `animation` without its module | see Animations |
|
|
1542
|
+
| `animation-timeline` on a width, a color or a keyword, `timeline-scope`, `animation-timing-function` other than `linear` on a scroll-linked animation | Composition drives opacity, translate, scale and rotate from a scroll position, straight (see Scroll-driven animation) |
|
|
1226
1543
|
| `text-transform: uppercase`, `lowercase`, `capitalize` | the text an element shows is written through the change, in a `<text-block>`, a `<run>`, a button's content and the text of an inline element: the tree keeps the text as written, and the control reports the changed one (`none` is no change; an inherited transform is not: write it on the element that holds the text) |
|
|
1227
1544
|
| `user-select`, `object-fit`, `line-clamp` (`-webkit-line-clamp`), `word-break` | `IsTextSelectionEnabled`, an image's `Stretch` (`contain` is `Uniform`, `cover` `UniformToFill`; `scale-down` is an error), `MaxLines` (with `Wrap` and an ellipsis, which `text-wrap` and `text-overflow` override), `TextWrapping` |
|
|
1228
1545
|
| `caret-color`, `text-box-trim`, `background-clip: content-box` and `text` | the bindings have no `CaretBrush`, and no WinUI property trims the line box the way `text-box-trim` does; a WinUI background paints to the `OuterBorderEdge` (`border-box`) or the `InnerBorderEdge` (`padding-box`) only |
|
|
1546
|
+
| `font-variation-settings` | WinUI has no API for a variable font's axes (see Typography) |
|
|
1547
|
+
| `box-shadow` with `inset`, or a `var()` color, under `-winui-shadow: composition` | an inner shadow needs the element's own pixels, and a theme resource is not read when the sheet is built (see Composition shadows) |
|
|
1229
1548
|
| `float`, `flex-wrap` other than `nowrap`, `content`, `list-style`, `text-indent` | no WinUI equivalent in a Style; each message names the nearest WinUI way |
|
|
1230
1549
|
| `text-transform: full-width` and `full-size-kana` | WinUI has no such transform of a string (`uppercase`, `lowercase` and `capitalize` work) |
|
|
1231
1550
|
| the container properties in an `@media`, in a stylesheet that is not a component, or on a container that is a component | the build lowers them against the component's markup; elsewhere the message says where they work |
|
package/src/css/index.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// (translateStyleSheet, the Vite plugin) is imported from its own modules so
|
|
3
3
|
// the window's bundle does not carry it.
|
|
4
4
|
|
|
5
|
+
export { registerFont } from "#src/font-files.js";
|
|
6
|
+
export { unregisterFont } from "#src/font-registry.js";
|
|
5
7
|
export { createCssNative, installCss } from "./runtime/native.ts";
|
|
6
8
|
export type { CssWinui } from "./runtime/native.ts";
|
|
7
9
|
export {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { parseColor } from "./colors.ts";
|
|
2
|
+
import { splitCommas, splitWords } from "./split.ts";
|
|
3
|
+
import { parseLength } from "./values.ts";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
|
|
6
|
+
// One layer of `box-shadow`: `[inset] <x> <y> [<blur> [<spread>]] [<color>]`.
|
|
7
|
+
// Both ways of drawing it read it with this: a ThemeShadow takes its depth,
|
|
8
|
+
// a Composition DropShadow takes all of it.
|
|
9
|
+
|
|
10
|
+
const MIN_SHADOW_LENGTHS = 2;
|
|
11
|
+
const MAX_SHADOW_LENGTHS = 4;
|
|
12
|
+
const INSET = "inset";
|
|
13
|
+
|
|
14
|
+
/** The colour of a shadow that names none (the filter's `drop-shadow()` uses it too). */
|
|
15
|
+
export const DEFAULT_SHADOW_COLOR = "#80000000";
|
|
16
|
+
|
|
17
|
+
const SHADOW = z.object({
|
|
18
|
+
x: z.number(),
|
|
19
|
+
y: z.number(),
|
|
20
|
+
blur: z.number(),
|
|
21
|
+
spread: z.number(),
|
|
22
|
+
color: z.string()
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
/** A shadow layer as the window draws it: lengths in px, a `#AARRGGBB` colour. */
|
|
26
|
+
export type ShadowLayer = z.infer<typeof SHADOW>;
|
|
27
|
+
|
|
28
|
+
/** What one layer of `box-shadow` says, as written. */
|
|
29
|
+
interface ParsedShadow {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
blur: number;
|
|
33
|
+
spread: number;
|
|
34
|
+
/** The colour written as a literal, or null when none is written or it is a `var()`. */
|
|
35
|
+
color: string | null;
|
|
36
|
+
/** Whether a colour is written that is not a literal (a `var()`), which a build cannot resolve. */
|
|
37
|
+
hasUnresolvedColor: boolean;
|
|
38
|
+
isInset: boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function isLengthWord(word: string) {
|
|
42
|
+
return parseLength(word) !== null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Reads one layer; null when it is not `x y [blur [spread]] [color]` in any
|
|
47
|
+
* order the CSS grammar allows (the lengths together, the colour and `inset`
|
|
48
|
+
* either side of them).
|
|
49
|
+
*/
|
|
50
|
+
export function parseShadowLayer(text: string) {
|
|
51
|
+
const words = splitWords(text);
|
|
52
|
+
const isInset = words.some(word => word.toLowerCase() === INSET);
|
|
53
|
+
const rest = words.filter(word => word.toLowerCase() !== INSET);
|
|
54
|
+
const lengths = rest.filter(word => isLengthWord(word)).map(word => parseLength(word) ?? 0);
|
|
55
|
+
const others = rest.filter(word => !isLengthWord(word));
|
|
56
|
+
const hasLengthCount = lengths.length >= MIN_SHADOW_LENGTHS && lengths.length <= MAX_SHADOW_LENGTHS;
|
|
57
|
+
const isShadowRead = hasLengthCount && others.length <= 1;
|
|
58
|
+
if (!isShadowRead) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const [x = 0, y = 0, blur = 0, spread = 0] = lengths;
|
|
63
|
+
const [word = ""] = others;
|
|
64
|
+
const color = parseColor(word);
|
|
65
|
+
return {
|
|
66
|
+
x,
|
|
67
|
+
y,
|
|
68
|
+
blur,
|
|
69
|
+
spread,
|
|
70
|
+
color,
|
|
71
|
+
hasUnresolvedColor: others.length === 1 && color === null,
|
|
72
|
+
isInset
|
|
73
|
+
} satisfies ParsedShadow;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** The layers of a `box-shadow` value, each parsed, or null where a layer is not one (`none` is no layers). */
|
|
77
|
+
export function parseShadowList(text: string) {
|
|
78
|
+
const isNone = text.trim().toLowerCase() === "none";
|
|
79
|
+
if (isNone) {
|
|
80
|
+
return [];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const layers = splitCommas(text).map(layer => parseShadowLayer(layer));
|
|
84
|
+
return layers.every(layer => layer !== null) ? layers : null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** The layers a write of the CSS runtime carries, from its JSON. */
|
|
88
|
+
export function readShadowLayers(json: string) {
|
|
89
|
+
return z.array(SHADOW).parse(JSON.parse(json));
|
|
90
|
+
}
|
package/src/css/parse/filters.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { parseDegrees } from "./angles.ts";
|
|
2
|
+
import { DEFAULT_SHADOW_COLOR } from "./box-shadow.ts";
|
|
2
3
|
import { parseColor } from "./colors.ts";
|
|
3
4
|
import { splitWords } from "./split.ts";
|
|
4
5
|
import { parseLength, parseNumber, parsePercent } from "./values.ts";
|
|
@@ -38,7 +39,6 @@ const MATRIX_COLUMNS = 5;
|
|
|
38
39
|
const ALPHA_ROW = 3;
|
|
39
40
|
const OFFSET_COLUMN = 4;
|
|
40
41
|
const CHANNELS = 3;
|
|
41
|
-
const DEFAULT_SHADOW_COLOR = "#80000000";
|
|
42
42
|
const MIN_SHADOW_LENGTHS = 2;
|
|
43
43
|
const MAX_SHADOW_LENGTHS = 3;
|
|
44
44
|
const HALF = 0.5;
|
package/src/css/parse/parser.ts
CHANGED
|
@@ -49,7 +49,7 @@ export class CssSyntaxError extends Error {
|
|
|
49
49
|
|
|
50
50
|
const NESTING_SELECTOR = "&";
|
|
51
51
|
// At-rules whose body is declarations, not rules: it is read as one rule body.
|
|
52
|
-
const DECLARATION_AT_RULES: ReadonlySet<string> = new Set(["property"]);
|
|
52
|
+
const DECLARATION_AT_RULES: ReadonlySet<string> = new Set(["property", "font-face"]);
|
|
53
53
|
const quoteCharacters = new Set(["\"", "'"]);
|
|
54
54
|
const NEWLINE = "\n";
|
|
55
55
|
|