def composite_state(class_name, state)
      if @compositor
        list = @compositor.css_classes_for("#{class_name}::#{state}")
        return list if !list.empty?
      end

      [ dasherize(state) ]
    end
def composite_state(class_name, state)
      if @compositor
        list = @compositor.css_classes_for("#{class_name}::#{state}")
        return list if !list.empty?
      end

      [ dasherize(state) ]
    end
Convert a state-name to a list of CSS class names.

 @param [String] class_name Ruby class name
 @param [String] state State name
 @return [String] A list of CSS class names