1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.labelCaption = void 0;
|
4 | exports.labelGrid = labelGrid;
|
5 | const index_js_1 = require("../lib/index.js");
|
6 | /**
|
7 | * Return an ARIA label for the month grid, that will be announced when entering
|
8 | * the grid.
|
9 | *
|
10 | * @defaultValue `LLLL y` (e.g. "November 2022")
|
11 | * @group Labels
|
12 | * @see https://daypicker.dev/docs/translation#aria-labels
|
13 | */
|
14 | function labelGrid(date, options,
|
15 | /** @ignore */
|
16 | dateLib = index_js_1.dateLib) {
|
17 | return dateLib.format(date, "LLLL y", options);
|
18 | }
|
19 | /**
|
20 | * @deprecated Use {@link labelGrid} instead.
|
21 | * @protected
|
22 | */
|
23 | exports.labelCaption = labelGrid;
|
24 | //# sourceMappingURL=labelGrid.js.map |
\ | No newline at end of file |