Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:05
· 2 commits to main since this release

Added

  • Metro: New FunGoo.Metro package: Microsoft's native Metro design system for Goo and FunGoo, with reactive dark, light, and system theming, 21 built-in accents, high contrast and reduced motion support, and a flat Goo.Widgets theme bridge.
  • Metro: Metro typography and inputs: the 10-step type ramp, buttons, text boxes, toggle switches, checkboxes, radio buttons, sliders, a number box with spin buttons, a rating control in the accent color, a combo box, and an auto-suggest box, plus progress bars and rings that animate without cell rebuilds.
  • Metro: Metro motion: cubic Bezier and exponential ease-out simulations, Continuum flights, stagger helpers, and optional 3D perspective shader support with 2D fallbacks.
  • Metro: Metro navigation and overlays: Pivot, parallax Hub, bin-packed Start tile grids with iconic and cycling live tiles, bottom AppBar, right-docked SettingsFlyout, and full-width ContentDialog.
  • Metro: Metro selection controls: FlipView (one item at a time with a slide that keeps its direction, edge buttons, indicator dots, swipe, and keys), a virtual ListView with sharp rows, an accent indicator on selected rows, and activation, single, or multiple selection, a bordered ListBox, a virtual GridView of square tiles that mounts only the tiles near the viewport, and SemanticZoom with a detail view, an overview view, and a zoom toggle button. See samples/MetroGallery for an interactive showcase with named goo render scenes for dark and light frames.
  • Metro: Metro Pivot header panning, LongListSelector, ListPicker, and TreeView: the Pivot header strip pans with the mouse wheel and keeps the selected tab in view without a visible scrollbar, LongListSelector shows a grouped virtual list with an A–Z jump grid that keeps the scroll position, ListPicker expands inline for short lists and opens a virtualized modal sheet for long lists, and TreeView shows sharp rows with a 3 px accent bar on the selected node. See samples/MetroGallery for the selection tab.
  • Metro: Metro ListView grouping: MetroListViewProps.GroupKey files rows into native ListViewInput.Sections with one non-selectable header per key, sorted with the current culture like the metrino group-key, with null and empty keys filed under "#". See samples/MetroGallery for the grouped list on the lists tab.
  • Metro: Metro CycleTile and FlipTile: a tile that cycles its faces on a timer while the window is open, and a two-face tile that flips on a click or a property change, both with reduced-motion support.
  • Metro: MetroBorder gains an optional corner radius (sharp by default), MetroImage gains placeholder and fallback content, and MetroProgressBar gains a maximum value with an optional percent label.
  • Metro: Metro date and time pickers: a LoopingSelector roller column, an inline date roller with month, day, and year columns, an inline time roller with a 12-hour or 24-hour format and a minute step, and compact date and time fields that open a modal roller sheet with Accept and Cancel actions. A date outside the year range or a minute off the step shows and commits its nearest valid value.
  • Metro: Metro Calendar and CalendarDatePicker: a month-grid calendar with sharp cells, a solid accent highlight on the selected date, and an accent border on today, plus a compact date field that opens a dropdown calendar with one 2 px border.
  • Metro: Metro Flyout, MessageDialog, MenuFlyout, ContextMenu, and Tooltip: an anchored flyout with a slide and a fade, a full-window message dialog with up to three commands, a menu flyout with separators and submenus, a context menu for the secondary pointer button, and a tooltip that follows hover and focus. Escape and a press outside dismiss the flyout, the message dialog, and the menus. A press on the dimmed area also dismisses the message dialog.
  • Metro: Metro InfoBar, Toast, and TeachingTip: an inline severity banner with a start stripe, an action button, and a close button, stacked toast notifications with auto-dismiss timers and a close button, and a teaching tip callout that anchors to a target or centers in the window.
  • Metro: Metro SplitView, TabView, AppBar parts, Panorama, and BreadcrumbBar: a split view with Compact, Inline, and Overlay display modes, a tab bar with closable tabs and an add action, standalone AppBar buttons, toggle buttons, and separators, a horizontal Panorama with parallax layers, and a breadcrumb bar.
  • Metro: Metro primitives and layout: MetroIcon, MetroBorder, MetroExpander, MetroImage, MetroPersonPicture, MetroRichTextBlock, MetroScrollViewer, MetroWrapPanel, MetroVariableSizedWrapGrid, and MetroViewbox with Uniform, Fill, UniformToFill, and None stretch modes.
  • Metro: Accent surfaces use a white foreground for every accent color: tile text and icons, the checked toggle switch thumb, accent buttons, and selected accent fills read white on the accent color.
  • Metro: Metro controls mirror in right-to-left layouts: Hub and Panorama sections reverse with mirrored peek padding, the SemanticZoom zoom toggle docks to the inline end, WrapPanel items flow right to left, and Pivot headers, TabView, and the PersonPicture presence badge render under an RTL ancestor.
  • Metro: The release pipeline now compiles the Metro perspective shader and ships it embedded in the FunGoo.Metro package, so consumers get the 3D perspective effect without installing shader SDKs.
  • Metro: Pivot selection transitions now turn in 3D perspective when the compiled shader is available, falling back to the existing slide under reduced motion or without the shader.
  • Metro: The default Metro typeface is now Selawik, bundled with the package under the SIL Open Font License: light, regular, and bold weights cover the 300, 400, and 700 roles of the type ramp, and attaching a theme registers them automatically while a custom FontFamily still overrides the default.
  • Metro: Each control has one basic function and one inline short call. The module function create asks for all that the component needs: the properties record and the callbacks, or the callbacks of a cell. The short call needs no record: the callbacks and the required data go first, and each other property is a named optional argument, for example MetroButton.build(onClick, "Save", variant = MetroButtonVariant.Accent, disabled = true) or MetroTreeView.mount("tree", onEvent, nodes, selectedIds = [| "a" |]). A build returns the concrete Goo element that it makes, such as Button, Container, or Text. A host that keeps a cell creates it with create and mounts it with Cell.Mount. A well-known variant has its own inline form, such as MetroTextBox.input and MetroTextBox.passwordInput.
  • Metro: Theming takes a palette override and a light scope. MetroConfig.Palette holds a MetroPaletteOverrides with one optional color for each palette color, and the dark and the light palettes use it (high contrast keeps its own palette). Metro.scopeWith(change, build) applies a MetroThemeChange (mode, accent, or palette colors) to one subtree, and MetroThemeChange.empty gives the base for a with copy.
  • Metro: Menus gain a Submenu entry case, so MetroMenuEntry.Submenu(command, children) groups a submenu parent with its children and MetroMenuCommand no longer holds them.
  • Samples: The Metro gallery now shows seven Pivot pages (hub, type, input, collections, navigate, dialogs, motion), one file per page: dialogs merges the flyout, message dialog, menu, tooltip, info bar, toast, and teaching tip surfaces, and motion pairs the Pivot turnstile shader demo with the Continuum and Stagger demos. The pages use the short control calls.

Changed

  • Core: The Goo dependency is now 0.32.10 (was 0.31.0). Goo replaces its layout engine with its own CSS-true flex engine, adds Grid, Overlay, and Dock layout algorithms, decodes WebP images, copies pixels out of an ImageSource, moves and resizes windows from handlers, and extends the properties that can transition. The generated surface gains the Image.KeepPreviousWhilePending and Window.LayerImage setters; no existing FunGoo call site must change.
  • Core: Generated parameters that collide with words the F# compiler reserves for future use are now escaped, so the new Accessibility.Checked setter takes a checked parameter instead of warning FS0046.
  • Widgets: Breaking (behavioral): The Goo.Widgets dependency is now 0.23.2 (was 0.22.2). Upstream dims disabled controls once and removes Checkbox.DisabledOpacity, SliderInput.DisabledOpacity, Chip.DisabledOpacity, and Disclosure.DisabledOpacity; apps that set those fields must delete the setting or use the widgets theme instead. Focus rings, disabled colors, DataGrid cell placement, and TokenInput editing improve upstream.
  • Metro: The checkbox and the slider follow the disabled-dimming change: they no longer set a per-widget disabled opacity, and the widgets theme bridge keeps the 0.4 disabled opacity for slot content.

Fixed

  • Samples: The overview start section of the Metro gallery lays out without overlap again: the tile grid slots follow the mount order of the start tiles, and the secondary cycle tile runs on a calmer 6 s cadence so the two wide cycling tiles no longer fight the telemetry live tile.