@use "sass:map";
@use "sass:math";
@use "@twig/scss/_global" as global;
@use "@twig/scss/variables/_variables-components" as components;

$params: (
   "gap": 30px,
);

@if global-variable-exists(c-sectionlist-view, components) {
   $keys: map.keys(components.$c-sectionlist-view);
   @each $name in $keys {
      @if not map.get($params, $name) {
         @warn "Neexistující proměnná '#{$name}' v komponentě '$#{component("SectionList:View", "class")}'.";
      }
   }

   $params: map.merge($params, components.$c-sectionlist-view);
}

.#{component("SectionList:View", "class")} {
   container-type: inline-size;
}
