Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function cssValueSplit

    • Splits a value at spaces or commas outside parentheses, such as the layers of a box-shadow or the parts of a border.

      Parameters

      • value: string

        Value as written.

      • separator: " " | ","

        ' ' for space-separated parts, ',' for comma-separated layers.

      Returns string[]

      The trimmed, non-empty parts.