mn-angular-lib 1.0.115 → 1.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.115",
3
+ "version": "1.0.117",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -537,6 +537,11 @@ type MnInputBaseProps = {
537
537
  label?: string;
538
538
  /** Placeholder text (overrides uiConfig.placeholder when provided) */
539
539
  placeholder?: string;
540
+ /**
541
+ * ARIA label for screen readers (overrides uiConfig.ariaLabel when provided).
542
+ * Use it to give an accessible name to an input rendered without a visible label.
543
+ */
544
+ ariaLabel?: string;
540
545
  /** Input mask (e.g., '(000) 000-0000') */
541
546
  mask?: string;
542
547
  /** Autocomplete attribute */
@@ -2202,10 +2207,11 @@ declare class MnDatetime implements OnInit {
2202
2207
  /**
2203
2208
  * How the bar arranges itself at its current width.
2204
2209
  *
2205
- * - `inline` — the month, the day strip and Today all share one row. The bar
2206
- * never stacks: as space runs out it shows fewer days rather than adding a row.
2210
+ * - `inline` — the day strip and Today share one row, under the month header. The
2211
+ * strip never stacks: as space runs out it shows fewer days rather than adding a
2212
+ * row.
2207
2213
  * - `compact` — too narrow even for a three-day strip, so the days give way to a
2208
- * date picker sitting beside Today.
2214
+ * date picker sitting beside Today, still under the month header.
2209
2215
  *
2210
2216
  * Resolved from the bar's own width — not the viewport — so a bar in a narrow
2211
2217
  * sidebar lays itself out like a phone even on a wide screen.
@@ -2224,7 +2230,7 @@ type DayTile = {
2224
2230
  /**
2225
2231
  * Whether this tile is the first day of a month within the visible strip. The
2226
2232
  * days either side of it move apart, so the break is visible without a label —
2227
- * the month caption above the strip names both months.
2233
+ * the month header above the strip names both months.
2228
2234
  */
2229
2235
  startsNewMonth: boolean;
2230
2236
  /** Whether this tile is the currently selected date. */
@@ -2237,7 +2243,7 @@ type DayTile = {
2237
2243
  /**
2238
2244
  * Reusable, responsive date selector bar.
2239
2245
  *
2240
- * Renders a "Today" button, a month caption, previous/next arrows and a strip of
2246
+ * Renders a "Today" button, a month header, previous/next arrows and a strip of
2241
2247
  * day tiles. Selecting a tile or pressing "Today" emits the chosen day via
2242
2248
  * {@link dateSelected}. The arrows only shift the visible days and never emit.
2243
2249
  *
@@ -2328,9 +2334,10 @@ declare class MnDateSelectorBar implements OnInit {
2328
2334
  /** The visible days, derived from the window start and the current selection. */
2329
2335
  readonly dayTiles: i0.Signal<DayTile[]>;
2330
2336
  /**
2331
- * Names the month the strip is currently in, so the days are never just loose
2332
- * numbers. Reads as a range when the strip straddles two months, and carries
2333
- * both years when it straddles two of those.
2337
+ * The month the strip is currently in, spelled out for the header that titles
2338
+ * the bar so the days below are never just loose numbers. Reads as a range
2339
+ * when the strip straddles two months, and carries both years when it straddles
2340
+ * two of those.
2334
2341
  */
2335
2342
  readonly monthCaption: i0.Signal<string>;
2336
2343
  /** The selected date formatted as YYYY-MM-DD for the date-picker input. */