 data-current-state="collapsed" data-expanded="@function calc-col-width($col, $grid: $grid-grid) { 
    $grid-cols: map.get($grid, &quot;columns&quot;);
    $col-gutter: map.get($grid, &quot;gutter&quot;);

    $width-gutter: calc-gutter-width($col);

    @if ($col-gutter &gt; 0) {
        $width: math.div($col, $grid-cols);
        @return calc(#{$width}px - #{$width-gutter});
    }

    @return math.percentage($col / $grid-cols);
 }" data-collapsed="@function calc-col-width($col, $grid: $grid-grid) { ... 