@lilydesignsystem/angular-headless 0.4.0 → 0.5.0

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": "@lilydesignsystem/angular-headless",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "engines": {
5
5
  "node": "=26"
6
6
  },
@@ -4311,15 +4311,26 @@ export declare class DateInput {
4311
4311
  }, never, never, true, never>;
4312
4312
  }
4313
4313
  /**
4314
- * DateRange — a display of a start and end date range
4314
+ * DateRange — paired start and end date inputs <fieldset><input type="date">
4315
4315
  *
4316
- * Headless Angular component. Renders the semantic HTML root with the
4317
- * kebab-case class hook `date-range` and the consumer-provided `className`.
4318
- * Ships zero CSS; the consumer styles via the class hook.
4316
+ * Headless Angular component. Renders a semantic `<fieldset>` with the
4317
+ * kebab-case class hook `date-range` and the consumer-provided `className`,
4318
+ * holding two native `<input type="date">` elements (class `date-input`),
4319
+ * each with its own accessible name. Ships zero CSS.
4319
4320
  */
4320
4321
  export declare class DateRange {
4322
+ /** Accessible group label, applied to the fieldset via aria-label. */
4321
4323
  readonly label: import("@angular/core").InputSignal<string>;
4324
+ /** Accessible label for the start date input. */
4325
+ readonly startLabel: import("@angular/core").InputSignal<string>;
4326
+ /** Accessible label for the end date input. */
4327
+ readonly endLabel: import("@angular/core").InputSignal<string>;
4328
+ /** Extra CSS classes appended to the base class. */
4322
4329
  readonly className: import("@angular/core").InputSignal<string>;
4330
+ /** Start date, YYYY-MM-DD. Bindable. */
4331
+ readonly start: import("@angular/core").ModelSignal<string>;
4332
+ /** End date, YYYY-MM-DD. Bindable. */
4333
+ readonly end: import("@angular/core").ModelSignal<string>;
4323
4334
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRange, never>;
4324
4335
  static ɵcmp: i0.ɵɵComponentDeclaration<DateRange, "lily-date-range", never, {
4325
4336
  "label": {
@@ -4327,12 +4338,35 @@ export declare class DateRange {
4327
4338
  "required": false;
4328
4339
  "isSignal": true;
4329
4340
  };
4341
+ "startLabel": {
4342
+ "alias": "startLabel";
4343
+ "required": false;
4344
+ "isSignal": true;
4345
+ };
4346
+ "endLabel": {
4347
+ "alias": "endLabel";
4348
+ "required": false;
4349
+ "isSignal": true;
4350
+ };
4330
4351
  "className": {
4331
4352
  "alias": "className";
4332
4353
  "required": false;
4333
4354
  "isSignal": true;
4334
4355
  };
4335
- }, {}, never, ["*"], true, never>;
4356
+ "start": {
4357
+ "alias": "start";
4358
+ "required": false;
4359
+ "isSignal": true;
4360
+ };
4361
+ "end": {
4362
+ "alias": "end";
4363
+ "required": false;
4364
+ "isSignal": true;
4365
+ };
4366
+ }, {
4367
+ "start": "startChange";
4368
+ "end": "endChange";
4369
+ }, never, never, true, never>;
4336
4370
  }
4337
4371
  /**
4338
4372
  * DateTimeLocalInput — an input for entering a date and time without time zone <input type="datetime-local">
@@ -13238,14 +13272,19 @@ export declare class Resizable {
13238
13272
  }, {}, never, ["*"], true, never>;
13239
13273
  }
13240
13274
  /**
13241
- * ReviewDate — a display of a content review date
13275
+ * ReviewDate — a display of a content review date <time>
13242
13276
  *
13243
- * Headless Angular component. Renders the semantic HTML root with the
13244
- * kebab-case class hook `review-date` and the consumer-provided `className`.
13245
- * Ships zero CSS; the consumer styles via the class hook.
13277
+ * Headless Angular component. Renders a semantic `<time>` with the
13278
+ * kebab-case class hook `review-date`, the consumer-provided `className`,
13279
+ * and a machine-readable `datetime` (ISO 8601); the projected content is the
13280
+ * human-readable, localised date text. Ships zero CSS.
13246
13281
  */
13247
13282
  export declare class ReviewDate {
13283
+ /** Accessible label giving screen readers context for the date. */
13248
13284
  readonly label: import("@angular/core").InputSignal<string>;
13285
+ /** Machine-readable date/time in ISO 8601 format. */
13286
+ readonly datetime: import("@angular/core").InputSignal<string>;
13287
+ /** Extra CSS classes appended to the base class. */
13249
13288
  readonly className: import("@angular/core").InputSignal<string>;
13250
13289
  static ɵfac: i0.ɵɵFactoryDeclaration<ReviewDate, never>;
13251
13290
  static ɵcmp: i0.ɵɵComponentDeclaration<ReviewDate, "lily-review-date", never, {
@@ -13254,6 +13293,11 @@ export declare class ReviewDate {
13254
13293
  "required": false;
13255
13294
  "isSignal": true;
13256
13295
  };
13296
+ "datetime": {
13297
+ "alias": "datetime";
13298
+ "required": false;
13299
+ "isSignal": true;
13300
+ };
13257
13301
  "className": {
13258
13302
  "alias": "className";
13259
13303
  "required": false;