- DIVIDER_SEPARATOR =
%w[border-t border-(--sp-color-border) my-(--sp-space-1)].freeze
- DIVIDER =
%w[flex items-center gap-(--sp-space-3)].freeze
- DIVIDER_LABEL =
%w[text-(length:--sp-text-sm) text-(--sp-color-fg-muted) whitespace-nowrap font-medium].freeze
- POPOVER_WRAPPER =
%w[relative inline-block].freeze
- POPOVER_TRIGGER =
[
*Control::BASE,
"inline-flex items-center justify-center gap-(--sp-space-2)",
"rounded-(--sp-radius-md)",
"focus-visible:ring-(--sp-focus-ring-color)",
"border border-(--sp-color-border) bg-transparent text-(--sp-color-fg)",
"hover:bg-(--sp-color-muted)",
"h-9 px-(--sp-space-4) py-(--sp-space-2) text-(length:--sp-text-sm)"
].freeze
- POPOVER =
%w[
rounded-(--sp-radius-md) border border-(--sp-color-border)
bg-(--sp-color-bg) shadow-(--sp-shadow-md) z-(--sp-z-popover)
].freeze