class Playbook::PbAdvancedTable::TableRow

def classname

def classname
  generate_classname("pb_table_tr", "bg-white", subrow_depth_classname, separator: " ")
end

def depth_accessors

def depth_accessors
  column_definitions.flat_map do |column|
    column[:cellAccessors] if column.key?(:cellAccessors)
  end.compact
end

def subrow_depth_classname

def subrow_depth_classname
  depth.positive? ? "depth-sub-row-#{depth}" : ""
end

def td_classname

def td_classname
  generate_classname("id-cell", "chrome-styles", separator: " ")
end