nexheal-lib 0.0.40 → 0.0.42

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;
@@ -253,6 +257,7 @@ type ColorPickerFormat = "hex" | "rgb" | "hsb";
253
257
  type ColorPickerValue = string | RGB | HSB;
254
258
  declare class ColorPicker implements ControlValueAccessor, OnDestroy {
255
259
  private elementRef;
260
+ private cdRef;
256
261
  title: string;
257
262
  required: boolean;
258
263
  customClass: string;
@@ -312,6 +317,10 @@ declare class ColorPicker implements ControlValueAccessor, OnDestroy {
312
317
  private bindDragListeners;
313
318
  private unbindDragListeners;
314
319
  private handleDrag;
320
+ /** Whether the browser supports the EyeDropper API (Chromium-based browsers). */
321
+ get supportsEyeDropper(): boolean;
322
+ /** Open the screen eyedropper; move over any pixel and click to sample its colour. */
323
+ openEyeDropper(): Promise<void>;
315
324
  private emitChange;
316
325
  private getValueToEmit;
317
326
  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.42",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"