chrv-components 1.11.37 → 1.11.39

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
@@ -1,8 +1,8 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, ViewContainerRef, Type, ApplicationRef, EnvironmentInjector, ComponentRef, AfterViewInit, OnDestroy, EventEmitter, ElementRef, AfterViewChecked, AfterContentChecked, QueryList, AfterContentInit, InjectionToken } from '@angular/core';
2
+ import { OnInit, ViewContainerRef, Type, ApplicationRef, EnvironmentInjector, ComponentRef, AfterViewInit, OnDestroy, ElementRef, AfterViewChecked, AfterContentChecked, QueryList, AfterContentInit, InjectionToken } from '@angular/core';
3
3
  import { Router, UrlTree } from '@angular/router';
4
4
  import * as rxjs from 'rxjs';
5
- import { Observable, Subject, Subscription, BehaviorSubject } from 'rxjs';
5
+ import { Observable, Subject, BehaviorSubject } from 'rxjs';
6
6
  import * as _angular_forms from '@angular/forms';
7
7
  import { AbstractControl, ValidationErrors, ValidatorFn, AsyncValidatorFn, FormControl, FormGroup, ControlValueAccessor, NgControl, Validator } from '@angular/forms';
8
8
  import { MatAutocomplete } from '@angular/material/autocomplete';
@@ -46,12 +46,12 @@ declare class ChrButtonComponent {
46
46
  readonly textColor: _angular_core.InputSignal<Color | undefined>;
47
47
  readonly flat: _angular_core.InputSignal<boolean>;
48
48
  readonly predicate: _angular_core.InputSignal<boolean | undefined>;
49
- readonly type: _angular_core.InputSignal<"fixed" | "small" | "none" | "responsive" | "table" | "full">;
49
+ readonly type: _angular_core.InputSignal<"none" | "responsive" | "table" | "full" | "fixed" | "small">;
50
50
  readonly href: _angular_core.InputSignal<string | undefined>;
51
51
  readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
52
52
  readonly disabled: _angular_core.InputSignal<boolean>;
53
53
  readonly tooltip: _angular_core.InputSignal<string | undefined>;
54
- readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below" | "before" | "after" | undefined>;
54
+ readonly tooltipPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right" | "before" | "after" | undefined>;
55
55
  constructor();
56
56
  doClick: () => void;
57
57
  getBackgroundColor: (color: Color) => string;
@@ -240,6 +240,19 @@ declare function SyncValidatorToAsync(validator: ValidatorFn): AsyncValidatorFn;
240
240
  declare function getValidators(rules?: IControlValidation[]): ValidatorFn[];
241
241
  declare function getAsyncValidators(rules?: IControlValidation[]): AsyncValidatorFn[];
242
242
  declare function getSyncValidators(rules?: IControlValidation[]): ValidatorFn[];
243
+ declare const BaseErrorDisplays: {
244
+ min: string;
245
+ max: string;
246
+ required: string;
247
+ email: string;
248
+ minlength: string;
249
+ maxlength: string;
250
+ type: string;
251
+ decimal: string;
252
+ maxdate: string;
253
+ maxfilesize: string;
254
+ minfilesize: string;
255
+ };
243
256
 
244
257
  type InputType = 'text' | 'password' | 'textArea' | 'number' | 'date' | 'datetime' | 'searchSelect' | 'tagSelect' | 'color' | 'toggle' | 'file' | 'hidden';
245
258
  interface ISearchFilter {
@@ -277,6 +290,9 @@ interface IControl {
277
290
  */
278
291
  base64?: boolean;
279
292
  autofocus?: boolean;
293
+ mask?: string;
294
+ shownMaskExpression?: string;
295
+ maskValidation?: boolean;
280
296
  }
281
297
 
282
298
  interface IFormSection {
@@ -428,20 +444,21 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
428
444
  /**
429
445
  * The name of the input. It's the model's property name or the key that will be set to the value object
430
446
  */
431
- readonly name: _angular_core.InputSignal<string | null>;
432
- private _value;
433
- get value(): any | null;
434
- set value(value: any | null);
435
- private valueSubject;
436
- private valueSubscription;
447
+ readonly name: _angular_core.ModelSignal<string | null>;
448
+ /**
449
+ * The value of the input.
450
+ */
451
+ readonly value: _angular_core.ModelSignal<any>;
437
452
  /**
438
- * The value change event. This will be triggered both by onChange and by onValueChange (they technically should not be fired together as onValueChange ends up calling onChange)
453
+ * The subject that holds the current value of the input.
439
454
  */
440
- valueChanges: EventEmitter<any>;
455
+ readonly valueSubject: BehaviorSubject<any | null>;
456
+ readonly displayValue: _angular_core.ModelSignal<string | null>;
457
+ readonly displayValueSubject: BehaviorSubject<string | null>;
441
458
  /**
442
459
  * Whether or not the input is required
443
460
  */
444
- protected required: boolean;
461
+ readonly required: _angular_core.WritableSignal<boolean>;
445
462
  /**
446
463
  * Span that will be shown under the input
447
464
  */
@@ -475,9 +492,13 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
475
492
  */
476
493
  readonly validations: _angular_core.InputSignal<IControlValidation[]>;
477
494
  /**
478
- * Indicates whether or not this input is being used outside a ReactiveForm. Default is false. If this is false, the input will create it's own FormControl as to enable it's complex behaviors
495
+ * The error messages to display for the input.
496
+ * The key is the error name and the value the message to display
479
497
  */
480
- readonly standalone: _angular_core.InputSignal<boolean>;
498
+ readonly errors: _angular_core.InputSignal<{
499
+ [index: string]: string;
500
+ } | null>;
501
+ private readonly errorDisplays;
481
502
  /**
482
503
  * Event that will be triggered when the input is focused
483
504
  */
@@ -520,11 +541,25 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
520
541
  /**
521
542
  * The NgControl associated with this input
522
543
  */
523
- protected control: NgControl | null;
544
+ protected control: _angular_core.WritableSignal<NgControl>;
524
545
  /**
525
546
  * The validity status of the related FormControl
526
547
  */
527
548
  isValid: boolean | null;
549
+ /**
550
+ * Input mask to be applied
551
+ * @see https://www.npmjs.com/package/ngx-mask
552
+ * @see https://jsdaddy.github.io/ngx-mask/#7
553
+ */
554
+ mask: _angular_core.InputSignal<string>;
555
+ /**
556
+ * Mask expression shown in the input during typing
557
+ */
558
+ shownMaskExpression: _angular_core.InputSignal<string | null>;
559
+ /**
560
+ * Should the mask be validated
561
+ */
562
+ maskValidation: _angular_core.InputSignal<boolean>;
528
563
  /**
529
564
  * Every child should either call super(ngControl) or implement the logic for the input to bind the control to the FormControl.
530
565
  * @param ngControl the FormControl binded to this CVA
@@ -562,7 +597,7 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
562
597
  * @param value The new value of the input
563
598
  * @returns the value observable
564
599
  */
565
- onValueChange: (value: any) => Subscription;
600
+ onValueChange: (value: any) => Observable<any>;
566
601
  writeValue(obj: any): void;
567
602
  registerOnChange(fn: any): void;
568
603
  registerOnTouched(fn: any): void;
@@ -596,10 +631,9 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
596
631
  private configureTouchBehavior;
597
632
  private configureValidityReplication;
598
633
  private configureFormControl;
599
- private buildFormControl;
600
634
  protected doCallback: () => void;
601
635
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrBaseInputComponent, never>;
602
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrBaseInputComponent, "chr-base-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconCallback": { "alias": "iconCallback"; "required": false; "isSignal": true; }; "iconCallbackDisabled": { "alias": "iconCallbackDisabled"; "required": false; "isSignal": true; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "validations": { "alias": "validations"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "base64": { "alias": "base64"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; }, { "valueChanges": "valueChanges"; "focus": "focus"; "blur": "blur"; "disabled": "disabledChange"; }, never, never, true, never>;
636
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrBaseInputComponent, "chr-base-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "displayValue": { "alias": "displayValue"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconCallback": { "alias": "iconCallback"; "required": false; "isSignal": true; }; "iconCallbackDisabled": { "alias": "iconCallbackDisabled"; "required": false; "isSignal": true; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "validations": { "alias": "validations"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "base64": { "alias": "base64"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; "isSignal": true; }; "maskValidation": { "alias": "maskValidation"; "required": false; "isSignal": true; }; }, { "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "focus": "focus"; "blur": "blur"; "disabled": "disabledChange"; }, never, never, true, never>;
603
637
  }
604
638
 
605
639
  declare class ChrColorInputComponent extends ChrBaseInputComponent implements OnInit, AfterViewInit, OnDestroy {
@@ -639,6 +673,18 @@ interface IFile {
639
673
  url?: string | null;
640
674
  data?: string | null;
641
675
  extension?: string | null;
676
+ contentType?: string | null;
677
+ }
678
+ declare class ChrFile implements IFile {
679
+ name?: string;
680
+ file?: File | null;
681
+ url?: string | null;
682
+ data?: string | null;
683
+ extension?: string | null;
684
+ contentType?: string | null;
685
+ constructor(file: IFile);
686
+ getUrl: () => string;
687
+ private parseNameAndExtensionFromFile;
642
688
  }
643
689
 
644
690
  declare class ChrFileInputComponent extends ChrBaseInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
@@ -657,7 +703,7 @@ declare class ChrFileInputComponent extends ChrBaseInputComponent implements Con
657
703
  * Whether or not the progress bar that display a file's conversion progress will be editable by the user
658
704
  */
659
705
  readonly editable: _angular_core.InputSignal<boolean>;
660
- errors: {
706
+ fileErrors: {
661
707
  [index: number]: boolean;
662
708
  } | null;
663
709
  files: Observable<{
@@ -762,6 +808,25 @@ declare class ChrSearchSelectComponent extends ChrBaseInputComponent implements
762
808
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select, [app-chr-search-select], chr-search-select, [chr-search-select]", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "addCallback": { "alias": "addCallback"; "required": false; "isSignal": true; }; "acceptText": { "alias": "acceptText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
763
809
  }
764
810
 
811
+ interface IContextMenuItem {
812
+ /**
813
+ * Label for the menu item
814
+ */
815
+ label: string;
816
+ /**
817
+ * Action to trigger when the menu item is clicked
818
+ */
819
+ action: Function;
820
+ /**
821
+ * Optional Material Icon name to display
822
+ */
823
+ icon?: string;
824
+ /**
825
+ * Optional color for the hover background
826
+ */
827
+ color?: Color;
828
+ }
829
+
765
830
  declare class ChrTagSelectComponent extends ChrBaseInputComponent implements ControlValueAccessor, OnInit, OnDestroy {
766
831
  predicate: boolean;
767
832
  readonly autocomplete: _angular_core.Signal<MatAutocomplete>;
@@ -815,11 +880,7 @@ declare class ChrTagSelectComponent extends ChrBaseInputComponent implements Con
815
880
  protected enableShowPanel: (input: any) => void;
816
881
  protected disableShowPanel: () => void;
817
882
  protected getTooltip: () => "" | "Appuyez sur 'Enter' pour ajouter la valeur du champs à la liste" | "Entrez un espace pour voir les choix disponibles";
818
- protected contextMenuItems: (entry: any) => {
819
- label: string;
820
- icon: string;
821
- action: () => void;
822
- }[];
883
+ protected contextMenuItems: (entry: any) => IContextMenuItem[];
823
884
  private _filterModel;
824
885
  private _doFilterModelInt;
825
886
  private _doFilterModelString;
@@ -828,21 +889,6 @@ declare class ChrTagSelectComponent extends ChrBaseInputComponent implements Con
828
889
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrTagSelectComponent, "app-chr-tag-select, [app-chr-tag-select], chr-tag-select, [chr-tag-select]", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "editCallback": { "alias": "editCallback"; "required": false; "isSignal": true; }; "addCallback": { "alias": "addCallback"; "required": false; "isSignal": true; }; "removeCallback": { "alias": "removeCallback"; "required": false; "isSignal": true; }; "acceptText": { "alias": "acceptText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
829
890
  }
830
891
 
831
- interface IContextMenuItem {
832
- /**
833
- * Label for the menu item
834
- */
835
- label: string;
836
- /**
837
- * Action to trigger when the menu item is clicked
838
- */
839
- action: Function;
840
- /**
841
- * Optional Material Icon name to display
842
- */
843
- icon?: string;
844
- }
845
-
846
892
  type Alignment = 'left' | 'center' | 'right';
847
893
  declare const Aligments: {
848
894
  [key: string]: string;
@@ -1406,6 +1452,8 @@ declare class ChrContextMenuComponent implements AfterViewInit {
1406
1452
  click: _angular_core.OutputEmitterRef<any>;
1407
1453
  trigger: (item: IContextMenuItem) => void;
1408
1454
  ngAfterViewInit(): void;
1455
+ getHoverTextColor(item: any): string;
1456
+ getHoverBgColor(item: any): string;
1409
1457
  private position;
1410
1458
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrContextMenuComponent, never>;
1411
1459
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrContextMenuComponent, "chr-context-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "origin": { "alias": "origin"; "required": true; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
@@ -1601,10 +1649,10 @@ declare class RequiredValidatorDirective implements Validator {
1601
1649
  declare function required(required?: boolean): ValidatorFn;
1602
1650
 
1603
1651
  declare class TypeValidatorDirective implements Validator {
1604
- readonly type: _angular_core.InputSignal<string | undefined>;
1652
+ readonly expectedType: _angular_core.InputSignal<string | undefined>;
1605
1653
  validate(control: AbstractControl): ValidationErrors | null;
1606
1654
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TypeValidatorDirective, never>;
1607
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1655
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "expectedType": { "alias": "expectedType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1608
1656
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<TypeValidatorDirective>;
1609
1657
  }
1610
1658
  declare function type(type: string): ValidatorFn;
@@ -1626,5 +1674,5 @@ declare const XSRFHEADERNAME: InjectionToken<string>;
1626
1674
  declare const XSRFCOOKIENAME: InjectionToken<string>;
1627
1675
  declare const HUBURL: InjectionToken<string>;
1628
1676
 
1629
- export { Aligments, AutofocusDirective, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ContextMenuDirective, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, rotationAnimation, type };
1677
+ export { Aligments, AutofocusDirective, BaseErrorDisplays, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ContextMenuDirective, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, rotationAnimation, type };
1630
1678
  export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IDefaultDialogConfig, IFile, IFormSection, IInputSearchFilter, ILiveUpdateMessage, IModalRef, ISearchFilter, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.11.37",
3
+ "version": "1.11.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
@@ -18,26 +18,6 @@
18
18
  color: var(--error-color);
19
19
  }
20
20
 
21
- [data-accent-color='primary'] {
22
- accent-color: var(--primary-color);
23
- }
24
-
25
- [data-accent-color='secondary'] {
26
- accent-color: var(--secondary-color);
27
- }
28
-
29
- [data-accent-color='tertiary'] {
30
- accent-color: var(--tertiary-color);
31
- }
32
-
33
- [data-accent-color='warn'] {
34
- accent-color: var(--warn-color);
35
- }
36
-
37
- [data-accent-color='error'] {
38
- accent-color: var(--error-color);
39
- }
40
-
41
21
  [data-border-color='primary'] {
42
22
  border-color: var(--primary-color);
43
23
  }
@@ -0,0 +1,59 @@
1
+ [data-hover-color='primary']:hover {
2
+ color: var(--primary-color);
3
+ }
4
+
5
+ [data-hover-color='secondary']:hover {
6
+ color: var(--secondary-color);
7
+ }
8
+
9
+ [data-hover-color='tertiary']:hover {
10
+ color: var(--tertiary-color);
11
+ }
12
+
13
+ [data-hover-color='warn']:hover {
14
+ color: var(--warn-color);
15
+ }
16
+
17
+ [data-hover-color='error']:hover {
18
+ color: var(--error-color);
19
+ }
20
+
21
+ [data-hover-border-color='primary']:hover {
22
+ border-color: var(--primary-color);
23
+ }
24
+
25
+ [data-hover-border-color='secondary']:hover {
26
+ border-color: var(--secondary-color);
27
+ }
28
+
29
+ [data-hover-border-color='tertiary']:hover {
30
+ border-color: var(--tertiary-color);
31
+ }
32
+
33
+ [data-hover-border-color='warn']:hover {
34
+ border-color: var(--warn-color);
35
+ }
36
+
37
+ [data-hover-border-color='error']:hover {
38
+ border-color: var(--error-color);
39
+ }
40
+
41
+ [data-hover-bg-color='primary']:hover {
42
+ background-color: var(--primary-color);
43
+ }
44
+
45
+ [data-hover-bg-color='secondary']:hover {
46
+ background-color: var(--secondary-color);
47
+ }
48
+
49
+ [data-hover-bg-color='tertiary']:hover {
50
+ background-color: var(--tertiary-color);
51
+ }
52
+
53
+ [data-hover-bg-color='warn']:hover {
54
+ background-color: var(--warn-color);
55
+ }
56
+
57
+ [data-hover-bg-color='error']:hover {
58
+ background-color: var(--error-color);
59
+ }
@@ -1,2 +1,3 @@
1
1
  @import '_colors-selectors.css';
2
- @import '_colors-classes.css';
2
+ @import '_colors-classes.css';
3
+ @import '_hover-colors-selectors.css';
Binary file