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>
26 lines
No EOL
937 B
Text
26 lines
No EOL
937 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.labelCaption = void 0;
|
|
exports.labelGrid = labelGrid;
|
|
const DateLib_js_1 = require("../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
|
|
*/
|
|
function labelGrid(date, options, dateLib) {
|
|
return (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "LLLL y");
|
|
}
|
|
/**
|
|
* @ignore
|
|
* @deprecated Use {@link labelGrid} instead.
|
|
*/
|
|
exports.labelCaption = labelGrid;
|
|
//# sourceMappingURL=labelGrid.js.map |