nexheal-lib 0.0.40 → 0.0.41

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/index.d.ts CHANGED
@@ -180,6 +180,10 @@ declare class CalendarControl implements ControlValueAccessor, OnInit, OnDestroy
180
180
  months: string[];
181
181
  selectMonth(index: number): void;
182
182
  get displayMonthName(): string;
183
+ isMonthSelected(monthIndex: number): boolean;
184
+ isMonthCurrent(monthIndex: number): boolean;
185
+ isYearSelected(year: number): boolean;
186
+ isYearCurrent(year: number): boolean;
183
187
  prevMonth(): void;
184
188
  nextMonth(): void;
185
189
  goToYearRangeView(): void;
@@ -312,6 +316,10 @@ declare class ColorPicker implements ControlValueAccessor, OnDestroy {
312
316
  private bindDragListeners;
313
317
  private unbindDragListeners;
314
318
  private handleDrag;
319
+ /** Whether the browser supports the EyeDropper API (Chromium-based browsers). */
320
+ get supportsEyeDropper(): boolean;
321
+ /** Open the screen eyedropper; move over any pixel and click to sample its colour. */
322
+ openEyeDropper(): Promise<void>;
315
323
  private emitChange;
316
324
  private getValueToEmit;
317
325
  private setFromHex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexheal-lib",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"