@molecule/app-job-listing-row-solid

Feature · job-listing-row · App (browser) · v1.1.2 · Apache-2.0

Job-board row with title, company, location, type, salary range, posted date

npm install @molecule/app-job-listing-row-solid

npm · Source on GitHub

How it works

@molecule/app-job-listing-row-solid is a ready-made job-listing-row feature for the app (browser) side. It composes the core interfaces it needs, so it works with whichever providers your app has bonded.

import { JobListingRow } from '@molecule/app-job-listing-row-solid'

declare function openJob(): void
;<JobListingRow
  title="Senior Frontend Engineer"
  company="Acme Corp"
  location="Remote · US"
  type="Full-time"
  salary="$130k–$160k"
  postedAt="2 days ago"
  onClick={openJob}
/>

Works with: @molecule/app-solid, @molecule/app-ui, @molecule/app-ui-solid

Reference

Solid job-board listing row.

Exports JobListingRow — title + company + location + employment type + salary + posted date, with optional leading logo, tag chips, and right-side actions. It is the Solid counterpart of @molecule/app-job-listing-row-react: the same props (React names) and the same DOM for the same input.

Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit src/index.ts JSDoc, not this file.

Quick Start

import { JobListingRow } from '@molecule/app-job-listing-row-solid'

declare function openJob(): void
;<JobListingRow
  title="Senior Frontend Engineer"
  company="Acme Corp"
  location="Remote · US"
  type="Full-time"
  salary="$130k–$160k"
  postedAt="2 days ago"
  onClick={openJob}
/>

Type

feature

Installation

npm install @molecule/app-job-listing-row-solid @molecule/app-solid @molecule/app-ui @molecule/app-ui-solid solid-js

API

Interfaces

JobListingRowProps

Props for JobListingRow.

interface JobListingRowProps {
  /** Title of the role. */
  title: JSX.Element
  /** Company / employer display. */
  company?: JSX.Element
  /** Location string ("Remote · US" / "London, UK"). */
  location?: JSX.Element
  /** Employment type ("Full-time", "Contract", "Internship"). */
  type?: JSX.Element
  /** Salary range display ("$80k–$120k"). */
  salary?: JSX.Element
  /** Posted-at relative or absolute display. */
  postedAt?: JSX.Element
  /** Optional company logo / icon. */
  leading?: JSX.Element
  /** Optional right-side actions (Save, Apply). */
  actions?: JSX.Element
  /** Tags / chips (Remote, React, Hybrid). */
  tags?: JSX.Element
  /**
   * Activates the row: while it is set, an empty, transparent native button
   * covers the whole row and calls this on click — the whole row is the click
   * target, and Enter / Space activate the button natively. The row is named
   * by the title (the `<h3>` itself takes the id the button points at with
   * `aria-labelledby`); the `actions` and `tags` slots sit above the button
   * and keep their own clicks.
   */
  onClick?: () => void
  /** Extra classes. */
  className?: string
}

Functions

JobListingRow(props)

Job-board row — title + company + location + type + salary + posted date with optional leading logo, tag chips, and right-side actions.

The location value is prefixed with the same hardcoded 📍 glyph React renders, and the meta fields carry the same literal middle-dot separators (there is no prop to change or localise them). onClick covers the whole row with an empty, transparent native button that activates it — the whole row is the click target, named by the title (the <h3> itself takes the id the button points at with aria-labelledby), with the inner controls above it keeping their own clicks.

function JobListingRow(props: JobListingRowProps): JSX.Element
  • props — Component props (see JobListingRowProps).

Returns: The rendered job listing row.

Injection Notes

Requirements

Peer dependencies:

  • @molecule/app-solid ^3.14.0
  • @molecule/app-ui ^1.0.1
  • @molecule/app-ui-solid ^1.1.0
  • solid-js ^1.8.0

Runtime Dependencies

  • @molecule/app-solid
  • @molecule/app-ui
  • @molecule/app-ui-solid
  • solid-js

Requires a wired ClassMap bond — getClassMap() throws before wiring.

The location value is prefixed with a hardcoded 📍 glyph and the meta fields are joined with literal middle-dot separators; there is no prop to change or localise those separators.

onClick makes the whole row clickable through a transparent native button over it — the row is named by the title (the <h3> itself takes the id the button points at with aria-labelledby), and the inner controls sit above it and keep their own clicks. Put a real link or button in actions for the other row actions.