{#
 TODO: clean this up, some of these variables are never used - e.g. ul_blockname.
 This all looks like Drupal implemenation - it should be re-thought.
/**
 * Available variables:
 * - ul_base_class - the base classname
 * - ul_modifiers - array of modifiers to add to the base classname
 * - ul_blockname - blockname prepended to the base classname
 *
 * TODO: how can this be TBD? This is the most important variable in a list - the actual list items!
 * and yet its not used at all??? The only variable in use here for list items is the totally undocumented ul_items?
 * - listItems - TBD
 */
#}
{% set ul_base_class = ul_base_class|default('mds-l-flex-col') %}

<ul class="{{ ul_base_class }} {{ ul_modifiers }}">
  {% block list_content %}
    {% for ul_item in ul_items %}
      {% include "@mds/lists/_list-item.twig" with {
        list_item_label: ul_item.label,
        list_item_content: ul_item.content,
        li_base_class: ul_item.li_base_class,
        li_base_class: ul_item.li_base_class,
        li_modifiers: ul_item.li_modifiers,
        li_blockname: ul_item.li_blockname,
      } %}
    {% endfor %}
  {% endblock %}
</ul>
