Rocky_Mountain_Vending/.pnpm-store/v10/files/74/fa791ee55260020767e671c05f875ce82b896aa359858d7433cb6f31845412a0eb31d76623f265669640a668491e0edd456663e14c5d9daa760296a8f0b337
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

27 lines
816 B
Text

import { DateLib, type DateLibOptions } from "../classes/DateLib.js";
/**
* Generates the ARIA label for the month grid, which is announced when entering
* the grid.
*
* @defaultValue `LLLL y` (e.g., "November 2022").
* @param date - The date representing the month.
* @param options - Optional configuration for the date formatting library.
* @param dateLib - An optional instance of the date formatting library.
* @returns The ARIA label for the month grid.
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export function labelGrid(
date: Date,
options?: DateLibOptions,
dateLib?: DateLib
) {
return (dateLib ?? new DateLib(options)).format(date, "LLLL y");
}
/**
* @ignore
* @deprecated Use {@link labelGrid} instead.
*/
export const labelCaption = labelGrid;