tauri-plugin-widgets 0.5.0

Tauri plugin for App Widgets on Android, iOS, and macOS (WidgetKit); Windows Widgets Board (Adaptive Cards) + desktop webview; Linux desktop webview with X11 DESKTOP pin.
Documentation
{
  "$schema": "https://s00d.github.io/tauri-plugin-widgets/schemas/widget-config.v1.json",
  "version": 1,
  "medium": {
    "type": "hstack",
    "padding": 10,
    "spacing": 10,
    "cornerRadius": 14,
    "background": "#111827",
    "alignment": "center",
    "children": [
      {
        "type": "vstack",
        "spacing": 4,
        "flex": 1,
        "children": [
          {
            "type": "text",
            "content": "Bar",
            "fontSize": 11,
            "color": "#94a3b8"
          },
          {
            "type": "chart",
            "chartType": "bar",
            "tint": "#22c55e",
            "chartData": [
              {
                "label": "M",
                "value": 3,
                "color": "#22c55e"
              },
              {
                "label": "T",
                "value": 5,
                "color": "#3b82f6"
              },
              {
                "label": "W",
                "value": 2,
                "color": "#f59e0b"
              },
              {
                "label": "T",
                "value": 7,
                "color": "#ef4444"
              }
            ]
          }
        ]
      },
      {
        "type": "vstack",
        "spacing": 4,
        "flex": 1,
        "children": [
          {
            "type": "text",
            "content": "Line",
            "fontSize": 11,
            "color": "#94a3b8"
          },
          {
            "type": "chart",
            "chartType": "line",
            "tint": "#38bdf8",
            "chartData": [
              {
                "label": "1",
                "value": 2
              },
              {
                "label": "2",
                "value": 4
              },
              {
                "label": "3",
                "value": 3
              },
              {
                "label": "4",
                "value": 6
              },
              {
                "label": "5",
                "value": 5
              }
            ]
          }
        ]
      },
      {
        "type": "vstack",
        "spacing": 4,
        "alignment": "center",
        "flex": 1,
        "children": [
          {
            "type": "text",
            "content": "Pie",
            "fontSize": 11,
            "color": "#94a3b8"
          },
          {
            "type": "chart",
            "chartType": "pie",
            "chartData": [
              {
                "label": "A",
                "value": 40,
                "color": "#3b82f6"
              },
              {
                "label": "B",
                "value": 35,
                "color": "#22c55e"
              },
              {
                "label": "C",
                "value": 25,
                "color": "#f97316"
              }
            ]
          }
        ]
      }
    ]
  }
}