@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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Lily Design System™ - Angular Headless
2
2
 
3
- A headless Angular 20 component library implementing the Lily Design System catalog (490 components).
3
+ A headless Angular component library (Angular 20–22 peer range) implementing the Lily Design System catalog (571 components).
4
4
 
5
5
  Components are standalone, signal-based, zero-CSS, and ship semantic HTML + ARIA only. Consumers provide all styling via the kebab-case class hooks documented in `css-style-sheet-template.css`.
6
6
 
@@ -43,7 +43,7 @@ See `AGENTS.md` for the full architecture, component pattern, testing convention
43
43
 
44
44
  ## Status
45
45
 
46
- Initial scaffold. Infrastructure (package.json, vitest, tsconfig, ng-packagr config) and the full 490-component catalog are in place. Each component is a standalone Angular 20 component with signal inputs and OnPush change detection.
46
+ Complete and published: all 571 catalog components as standalone, signal-based, OnPush Angular components (peer range Angular `>=20 <23`), each with a vitest spec and a Storybook story. Version 0.4.0.
47
47
 
48
48
  ---
49
49
 
@@ -12078,7 +12078,11 @@ i0.ɵɵngDeclareClassMetadata({
12078
12078
  });
12079
12079
  var DateRange = class DateRange {
12080
12080
  label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
12081
+ startLabel = input("", ...ngDevMode ? [{ debugName: "startLabel" }] : /* istanbul ignore next */ []);
12082
+ endLabel = input("", ...ngDevMode ? [{ debugName: "endLabel" }] : /* istanbul ignore next */ []);
12081
12083
  className = input("", ...ngDevMode ? [{ debugName: "className" }] : /* istanbul ignore next */ []);
12084
+ start = model("", ...ngDevMode ? [{ debugName: "start" }] : /* istanbul ignore next */ []);
12085
+ end = model("", ...ngDevMode ? [{ debugName: "end" }] : /* istanbul ignore next */ []);
12082
12086
  static ɵfac = i0.ɵɵngDeclareFactory({
12083
12087
  minVersion: "12.0.0",
12084
12088
  version: "22.2.1",
@@ -12101,16 +12105,63 @@ var DateRange = class DateRange {
12101
12105
  isRequired: false,
12102
12106
  transformFunction: null
12103
12107
  },
12108
+ startLabel: {
12109
+ classPropertyName: "startLabel",
12110
+ publicName: "startLabel",
12111
+ isSignal: true,
12112
+ isRequired: false,
12113
+ transformFunction: null
12114
+ },
12115
+ endLabel: {
12116
+ classPropertyName: "endLabel",
12117
+ publicName: "endLabel",
12118
+ isSignal: true,
12119
+ isRequired: false,
12120
+ transformFunction: null
12121
+ },
12104
12122
  className: {
12105
12123
  classPropertyName: "className",
12106
12124
  publicName: "className",
12107
12125
  isSignal: true,
12108
12126
  isRequired: false,
12109
12127
  transformFunction: null
12128
+ },
12129
+ start: {
12130
+ classPropertyName: "start",
12131
+ publicName: "start",
12132
+ isSignal: true,
12133
+ isRequired: false,
12134
+ transformFunction: null
12135
+ },
12136
+ end: {
12137
+ classPropertyName: "end",
12138
+ publicName: "end",
12139
+ isSignal: true,
12140
+ isRequired: false,
12141
+ transformFunction: null
12110
12142
  }
12111
12143
  },
12144
+ outputs: {
12145
+ start: "startChange",
12146
+ end: "endChange"
12147
+ },
12112
12148
  ngImport: i0,
12113
- template: `<div class="date-range {{ className() }}" [attr.aria-label]="label() || null"><ng-content /></div>`,
12149
+ template: `<fieldset class="date-range {{ className() }}" [attr.aria-label]="label() || null">
12150
+ <input
12151
+ class="date-input"
12152
+ type="date"
12153
+ [attr.aria-label]="startLabel() || null"
12154
+ [value]="start()"
12155
+ (input)="start.set($any($event.target).value)"
12156
+ />
12157
+ <input
12158
+ class="date-input"
12159
+ type="date"
12160
+ [attr.aria-label]="endLabel() || null"
12161
+ [value]="end()"
12162
+ (input)="end.set($any($event.target).value)"
12163
+ />
12164
+ </fieldset>`,
12114
12165
  isInline: true,
12115
12166
  changeDetection: i0.ChangeDetectionStrategy.OnPush
12116
12167
  });
@@ -12125,7 +12176,22 @@ i0.ɵɵngDeclareClassMetadata({
12125
12176
  args: [{
12126
12177
  selector: "lily-date-range",
12127
12178
  standalone: true,
12128
- template: `<div class="date-range {{ className() }}" [attr.aria-label]="label() || null"><ng-content /></div>`,
12179
+ template: `<fieldset class="date-range {{ className() }}" [attr.aria-label]="label() || null">
12180
+ <input
12181
+ class="date-input"
12182
+ type="date"
12183
+ [attr.aria-label]="startLabel() || null"
12184
+ [value]="start()"
12185
+ (input)="start.set($any($event.target).value)"
12186
+ />
12187
+ <input
12188
+ class="date-input"
12189
+ type="date"
12190
+ [attr.aria-label]="endLabel() || null"
12191
+ [value]="end()"
12192
+ (input)="end.set($any($event.target).value)"
12193
+ />
12194
+ </fieldset>`,
12129
12195
  changeDetection: ChangeDetectionStrategy.OnPush
12130
12196
  }]
12131
12197
  }],
@@ -12138,6 +12204,22 @@ i0.ɵɵngDeclareClassMetadata({
12138
12204
  required: false
12139
12205
  }]
12140
12206
  }],
12207
+ startLabel: [{
12208
+ type: i0.Input,
12209
+ args: [{
12210
+ isSignal: true,
12211
+ alias: "startLabel",
12212
+ required: false
12213
+ }]
12214
+ }],
12215
+ endLabel: [{
12216
+ type: i0.Input,
12217
+ args: [{
12218
+ isSignal: true,
12219
+ alias: "endLabel",
12220
+ required: false
12221
+ }]
12222
+ }],
12141
12223
  className: [{
12142
12224
  type: i0.Input,
12143
12225
  args: [{
@@ -12145,6 +12227,28 @@ i0.ɵɵngDeclareClassMetadata({
12145
12227
  alias: "className",
12146
12228
  required: false
12147
12229
  }]
12230
+ }],
12231
+ start: [{
12232
+ type: i0.Input,
12233
+ args: [{
12234
+ isSignal: true,
12235
+ alias: "start",
12236
+ required: false
12237
+ }]
12238
+ }, {
12239
+ type: i0.Output,
12240
+ args: ["startChange"]
12241
+ }],
12242
+ end: [{
12243
+ type: i0.Input,
12244
+ args: [{
12245
+ isSignal: true,
12246
+ alias: "end",
12247
+ required: false
12248
+ }]
12249
+ }, {
12250
+ type: i0.Output,
12251
+ args: ["endChange"]
12148
12252
  }]
12149
12253
  }
12150
12254
  });
@@ -37431,6 +37535,7 @@ i0.ɵɵngDeclareClassMetadata({
37431
37535
  });
37432
37536
  var ReviewDate = class ReviewDate {
37433
37537
  label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
37538
+ datetime = input("", ...ngDevMode ? [{ debugName: "datetime" }] : /* istanbul ignore next */ []);
37434
37539
  className = input("", ...ngDevMode ? [{ debugName: "className" }] : /* istanbul ignore next */ []);
37435
37540
  static ɵfac = i0.ɵɵngDeclareFactory({
37436
37541
  minVersion: "12.0.0",
@@ -37454,6 +37559,13 @@ var ReviewDate = class ReviewDate {
37454
37559
  isRequired: false,
37455
37560
  transformFunction: null
37456
37561
  },
37562
+ datetime: {
37563
+ classPropertyName: "datetime",
37564
+ publicName: "datetime",
37565
+ isSignal: true,
37566
+ isRequired: false,
37567
+ transformFunction: null
37568
+ },
37457
37569
  className: {
37458
37570
  classPropertyName: "className",
37459
37571
  publicName: "className",
@@ -37463,7 +37575,12 @@ var ReviewDate = class ReviewDate {
37463
37575
  }
37464
37576
  },
37465
37577
  ngImport: i0,
37466
- template: `<div class="review-date {{ className() }}" [attr.aria-label]="label() || null"><ng-content /></div>`,
37578
+ template: `<time
37579
+ class="review-date {{ className() }}"
37580
+ [attr.aria-label]="label() || null"
37581
+ [attr.datetime]="datetime() || null"
37582
+ ><ng-content
37583
+ /></time>`,
37467
37584
  isInline: true,
37468
37585
  changeDetection: i0.ChangeDetectionStrategy.OnPush
37469
37586
  });
@@ -37478,7 +37595,12 @@ i0.ɵɵngDeclareClassMetadata({
37478
37595
  args: [{
37479
37596
  selector: "lily-review-date",
37480
37597
  standalone: true,
37481
- template: `<div class="review-date {{ className() }}" [attr.aria-label]="label() || null"><ng-content /></div>`,
37598
+ template: `<time
37599
+ class="review-date {{ className() }}"
37600
+ [attr.aria-label]="label() || null"
37601
+ [attr.datetime]="datetime() || null"
37602
+ ><ng-content
37603
+ /></time>`,
37482
37604
  changeDetection: ChangeDetectionStrategy.OnPush
37483
37605
  }]
37484
37606
  }],
@@ -37491,6 +37613,14 @@ i0.ɵɵngDeclareClassMetadata({
37491
37613
  required: false
37492
37614
  }]
37493
37615
  }],
37616
+ datetime: [{
37617
+ type: i0.Input,
37618
+ args: [{
37619
+ isSignal: true,
37620
+ alias: "datetime",
37621
+ required: false
37622
+ }]
37623
+ }],
37494
37624
  className: [{
37495
37625
  type: i0.Input,
37496
37626
  args: [{