{# @description A trend stat laid on its side: what it counts on the left, the figure and its change on the right. For a short list of figures stacked one above another. #}
{# @prop title:text | description:"What the figure counts" #}
{# @prop value:text | description:"The figure itself, already formatted" #}
{# @prop change:text | description:"The size of the move, already formatted: 12%, 4, €1.2k. Left out, no arrow is drawn." #}
{# @prop direction:select['up', 'down', 'flat'] | default:"up" | description:"Which way the figure moved" #}
{# @prop inverse:boolean | default:False | description:"Set where a fall is the good news: lead time, failures, cost. It swaps which direction is coloured as good." #}
{# @prop desc:text | description:"What the change is measured against: since last month" #}
{# @prop icon:text | description:"An icon, by the name the project's icon component knows it by. Left out, there is no icon." #}
{# @prop class:text | description:"Extra classes on the stat" #}
{% comment %}
Built on daisy-cotton's stat, with its three rows turned into two columns.
The icon is small and leads the title.
{% endcomment %}
{% if icon %}{% endif %}
{{ title }}
{{ value }}
{% if change %}{% endif %}
{{ desc }}