cats-ui-lib 2.0.6 → 2.0.8

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
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
2
2
  import { EventEmitter, OnInit, OnChanges, TemplateRef, ChangeDetectorRef, ElementRef, SimpleChanges, OnDestroy, Renderer2, QueryList } from '@angular/core';
3
3
  import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors } from '@angular/forms';
4
4
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
5
- import { DatePipe } from '@angular/common';
6
5
 
7
6
  declare class CatsUiService {
8
7
  constructor();
@@ -14,18 +13,24 @@ declare class SingleSelectConfig {
14
13
  idField: string;
15
14
  textField: string;
16
15
  disabledField?: string;
16
+ colorField?: string;
17
+ iconField?: string;
17
18
  placeholder?: string;
18
19
  prefixLabel?: string;
19
20
  enableSearch?: boolean;
21
+ searchPlaceholder?: string;
20
22
  required?: boolean;
21
23
  }
22
24
  declare class MultiSelectConfig {
23
25
  idField: string;
24
26
  textField: string;
25
27
  disabledField?: string;
28
+ colorField?: string;
29
+ iconField?: string;
26
30
  placeholder?: string;
27
31
  prefixLabel?: string;
28
32
  enableSearch?: boolean;
33
+ searchPlaceholder?: string;
29
34
  chipLimit: number;
30
35
  selectAll?: boolean;
31
36
  required?: boolean;
@@ -42,6 +47,8 @@ declare class InputConfig {
42
47
  declare class AutoCompleteSingleSelectConfig {
43
48
  idField: string;
44
49
  textField: string;
50
+ colorField?: string;
51
+ iconField?: string;
45
52
  disabledField?: string;
46
53
  placeholder?: string;
47
54
  required?: boolean;
@@ -51,6 +58,8 @@ declare class AutoCompleteMultiSelectConfig {
51
58
  idField: string;
52
59
  textField: string;
53
60
  disabledField?: string;
61
+ colorField?: string;
62
+ iconField?: string;
54
63
  selectAll?: boolean;
55
64
  placeholder?: string;
56
65
  required?: boolean;
@@ -85,10 +94,6 @@ interface RadioButtonConfig {
85
94
  name: string;
86
95
  layout?: 'horizontal' | 'vertical';
87
96
  }
88
- interface DateConfig {
89
- selectionMode: 'single' | 'range';
90
- enableTime?: boolean;
91
- }
92
97
 
93
98
  declare class InputComponent implements ControlValueAccessor, Validator {
94
99
  inputConfig: InputConfig;
@@ -601,199 +606,6 @@ declare class RadioButtonComponent implements ControlValueAccessor {
601
606
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "cats-ui-radio-button", never, { "config": { "alias": "config"; "required": false; }; "optionList": { "alias": "optionList"; "required": false; }; "selectedRadio": { "alias": "selectedRadio"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
602
607
  }
603
608
 
604
- interface IRange {
605
- value: Date;
606
- label: string;
607
- }
608
- declare class DateTimePickerComponent implements OnInit, OnChanges, ControlValueAccessor {
609
- private locale;
610
- private cd;
611
- private datePipe;
612
- dateTimeSelected: EventEmitter<any>;
613
- dateConfig: DateConfig;
614
- minDate?: string;
615
- maxDate?: string;
616
- preSelectedValue: any;
617
- selectedDateTime: any;
618
- currentDate: Date;
619
- currentMonth: number;
620
- currentYear: number;
621
- selectedDate: number | null;
622
- selectedTime: string | null;
623
- calendar: number[][];
624
- timeSlots: IRange[];
625
- rangeStart: number | null;
626
- rangeEnd: number | null;
627
- selectedMonth: any;
628
- selectedYear: any;
629
- control: AbstractControl<any, any>;
630
- disableControl: boolean;
631
- date: any;
632
- calendarView: string;
633
- yearRange: number[];
634
- daysInMonth: any[];
635
- selectedDay: number;
636
- selectedStartDate: any;
637
- selectedEndDate: any;
638
- isOpen: boolean;
639
- showYearSelector: boolean;
640
- monthRange: any;
641
- constructor(locale: string, cd: ChangeDetectorRef, datePipe: DatePipe);
642
- ngOnChanges(_changes: SimpleChanges): void;
643
- ngOnInit(): void;
644
- private onTouchedCallback;
645
- private onChangeCallback;
646
- writeValue(value: any): void;
647
- registerOnChange(fn: any): void;
648
- registerOnTouched(fn: any): void;
649
- setDisabledState(isDisabled: boolean): void;
650
- /**
651
- * @description Validates date time picker component
652
- * @author Shiva Kant
653
- * @param control
654
- * @returns validate
655
- */
656
- validate(control: AbstractControl): ValidationErrors | null;
657
- /**
658
- * @description method to toggleCalendar
659
- * @author Shiva Kant
660
- */
661
- toggleCalendar(): void;
662
- /**
663
- * @description Closes calendar
664
- * @author Shiva Kant
665
- */
666
- closeCalendar(): void;
667
- /**
668
- * @description Method to Gets month year
669
- * @author Shiva Kant
670
- * @returns month year
671
- */
672
- getMonthYear(): {
673
- month: string;
674
- year: string;
675
- };
676
- /**
677
- * @description Method to Updates current year month
678
- * @author Shiva Kant
679
- */
680
- updateCurrentYearMonth(): void;
681
- /**
682
- * @description Method to Selects year
683
- * @author Shiva Kant
684
- * @param year
685
- */
686
- selectYear(year: number): void;
687
- /**
688
- * @description Method to Selects month
689
- * @author Shiva Kant
690
- * @param month
691
- */
692
- selectMonth(month: any): void;
693
- /**
694
- * @description Method to Previous year range
695
- * @author Shiva Kant
696
- */
697
- previousYearRange(): void;
698
- /**
699
- * @description Method to Next year range
700
- * @author Shiva Kant
701
- */
702
- nextYearRange(): void;
703
- /**
704
- * @description Method to Toggles year selector
705
- * @author Shiva Kant
706
- */
707
- toggleYearSelector(): void;
708
- /**
709
- * @description Method to Generates year range
710
- * @author Shiva Kant
711
- */
712
- generateYearRange(): void;
713
- /**
714
- * @description Method to Determines whether date selectable is
715
- * @author Shiva Kant
716
- * @param date
717
- * @returns true if date selectable
718
- */
719
- isDateSelectable(date: Date): boolean;
720
- /**
721
- * @description Method to Determines whether day disabled is
722
- * @author Shiva Kant
723
- * @param day
724
- * @returns true if day disabled
725
- */
726
- isDayDisabled(day: number): boolean;
727
- /**
728
- * @description Method to Generates calendar
729
- * @author Shiva Kant
730
- */
731
- generateCalendar(): void;
732
- /**
733
- * @description Method to Previous month
734
- * @author Shiva Kant
735
- */
736
- previousMonth(): void;
737
- /**
738
- * @description Method to Next month
739
- * @author Shiva Kant
740
- */
741
- nextMonth(): void;
742
- /**
743
- * @description Method to Initializes calendar when preSelectedValue date
744
- * @author Shiva Kant
745
- * @returns calendar
746
- */
747
- initializeCalendar(): void;
748
- /**
749
- * @description Method to Selects date
750
- * @author Shiva Kant
751
- * @param date
752
- */
753
- selectDate(date: number): void;
754
- /**
755
- * @description Method to Selects time
756
- * @author Shiva Kant
757
- * @param time
758
- */
759
- selectTime(time: string): void;
760
- /**
761
- * @description Method to Determines whether selected date is
762
- * @author Shiva Kant
763
- * @param date
764
- * @returns
765
- */
766
- isSelectedDate(date: number, month: number, year: number): boolean;
767
- /**
768
- * @description Method to Generates time ranges
769
- * @author Shiva Kant
770
- */
771
- generateTimeRanges(): void;
772
- /**
773
- * @description Method to Formats time
774
- * @author Shiva Kant
775
- * @param date
776
- * @returns time
777
- */
778
- formatTime(date: Date): string;
779
- /**
780
- * @description Method to Formats date time
781
- * @author Shiva Kant
782
- * @param fullDate
783
- * @param selectedTime
784
- * @returns date time
785
- */
786
- formatDateTime(fullDate: Date, selectedTime: string | null): string;
787
- /**
788
- * @description Method to Emits date time
789
- * @author Shiva Kant
790
- * @returns date time
791
- */
792
- emitDateTime(): void;
793
- static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
794
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "cats-ui-date-time-picker", never, { "dateConfig": { "alias": "dateConfig"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "preSelectedValue": { "alias": "preSelectedValue"; "required": false; }; }, { "dateTimeSelected": "dateTimeSelected"; }, never, never, true, never>;
795
- }
796
-
797
609
  type DatePickerMode = 'single' | 'range' | 'dual';
798
610
  interface DatePickerConfig {
799
611
  mode?: DatePickerMode;
@@ -822,7 +634,7 @@ interface DateTimeResult {
822
634
  meridiem: 'AM' | 'PM';
823
635
  }
824
636
  type CalenderView = 'day' | 'year' | 'month';
825
- declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor {
637
+ declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor, OnChanges {
826
638
  private elRef;
827
639
  config: DatePickerConfig;
828
640
  label: string;
@@ -858,6 +670,7 @@ declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor
858
670
  activeCalendar: 'primary' | 'secondary';
859
671
  monthNames: string[];
860
672
  constructor(elRef: ElementRef);
673
+ ngOnChanges(changes: SimpleChanges): void;
861
674
  ngOnInit(): void;
862
675
  get mode(): DatePickerMode;
863
676
  get showDateLabel(): boolean;
@@ -1007,42 +820,6 @@ declare class AccordionItemComponent {
1007
820
  static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "cats-ui-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, ["contentTemplate"], never, true, never>;
1008
821
  }
1009
822
 
1010
- declare class TabContentDirective {
1011
- template: TemplateRef<any>;
1012
- constructor(template: TemplateRef<any>);
1013
- static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
1014
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[tabContent]", never, {}, {}, never, never, true, never>;
1015
- }
1016
-
1017
- declare class TabHeadingDirective {
1018
- template: TemplateRef<any>;
1019
- constructor(template: TemplateRef<any>);
1020
- static ɵfac: i0.ɵɵFactoryDeclaration<TabHeadingDirective, never>;
1021
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeadingDirective, "[tabHeading]", never, {}, {}, never, never, true, never>;
1022
- }
1023
-
1024
- declare class TabItemComponent {
1025
- heading: TabHeadingDirective;
1026
- content: TabContentDirective;
1027
- static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
1028
- static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "cats-ui-tab-item", never, {}, {}, ["heading", "content"], never, true, never>;
1029
- }
1030
-
1031
- declare class TabComponent {
1032
- activeTab: number;
1033
- disabledTabs: number[];
1034
- selectTab: EventEmitter<number>;
1035
- items: QueryList<TabItemComponent>;
1036
- /**
1037
- * @description Sets active
1038
- * @author Shiva Kant
1039
- * @param index
1040
- */
1041
- setActive(index: number): void;
1042
- static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
1043
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "cats-ui-tab", never, { "activeTab": { "alias": "activeTab"; "required": false; }; "disabledTabs": { "alias": "disabledTabs"; "required": false; }; }, { "selectTab": "selectTab"; }, ["items"], never, true, never>;
1044
- }
1045
-
1046
823
  declare class TabContentComponent {
1047
824
  active: boolean;
1048
825
  tabId: number;
@@ -1093,8 +870,10 @@ interface TimeFilterOption {
1093
870
  children?: TimeFilterOption[];
1094
871
  default?: boolean;
1095
872
  custom?: boolean;
873
+ parentDateFormat?: 'dd MMM yyyy' | 'MM/dd/yyyy' | 'yyyy-MM-dd';
1096
874
  pickerMode?: DatePickerMode;
1097
875
  time?: boolean;
876
+ extraConfig?: Partial<DatePickerConfig>;
1098
877
  }
1099
878
  interface TimeFilterConfig {
1100
879
  title?: string;
@@ -1104,36 +883,58 @@ interface TimeFilterConfig {
1104
883
  interface TimeFilterOutput {
1105
884
  type: FilterType;
1106
885
  label?: string;
1107
- startDate?: Date;
1108
- endDate?: Date;
886
+ startDate?: string;
887
+ endDate?: string;
1109
888
  value?: number;
1110
889
  unit?: 'Hours' | 'Days';
1111
890
  key?: string;
891
+ dates?: any;
892
+ }
893
+ interface TimeFilterValue {
894
+ type: string;
895
+ dates?: any;
896
+ lastValue?: number;
897
+ lastUnit?: 'seconds' | 'minutes' | 'hours' | 'days';
1112
898
  }
1113
- declare class TimestampFilterComponent {
899
+ declare class TimestampFilterComponent implements OnInit {
900
+ private cdr;
1114
901
  config: TimeFilterConfig;
1115
902
  selectionChange: EventEmitter<TimeFilterOutput>;
1116
- selectedValue: string | null;
903
+ selectedValue: TimeFilterValue | null;
904
+ radioValue: string | null;
905
+ previousRadioValue: string | null;
1117
906
  activePicker: TimeFilterOption | null;
1118
907
  lastValue: number;
1119
- lastUnit: 'Hours' | 'Days';
908
+ lastUnit: 'seconds' | 'minutes' | 'hours' | 'days';
909
+ selectedDateLabels: Record<string, string>;
910
+ dateControls: Record<string, FormControl>;
1120
911
  get normalOptions(): TimeFilterOption[];
1121
912
  get customOptions(): TimeFilterOption[];
913
+ /** Returns the FormControl for the currently active picker. */
914
+ get activePickerControl(): FormControl | null;
915
+ constructor(cdr: ChangeDetectorRef);
1122
916
  ngOnInit(): void;
917
+ private applyPreset;
1123
918
  getPickerConfig(option: TimeFilterOption): DatePickerConfig;
1124
919
  selectOption(option: TimeFilterOption): void;
1125
- private startOfDay;
1126
- private startOfWeek;
1127
- private startOfFinancialYear;
1128
- private subtractTime;
920
+ onDateApplied(event: any): void;
921
+ /**
922
+ * Cancel: restore radio to whatever was selected before picker opened.
923
+ */
924
+ onCancel(_event: any): void;
1129
925
  emitLast(): void;
1130
926
  onLastChange(): void;
1131
927
  reset(): void;
928
+ private extractStartDate;
929
+ private extractEndDate;
930
+ private buildDateLabel;
1132
931
  private emit;
1133
- onDateApplied(event: any): void;
1134
- applied(dt: any): void;
932
+ private startOfDay;
933
+ private startOfWeek;
934
+ private startOfFinancialYear;
935
+ private subtractTime;
1135
936
  static ɵfac: i0.ɵɵFactoryDeclaration<TimestampFilterComponent, never>;
1136
- static ɵcmp: i0.ɵɵComponentDeclaration<TimestampFilterComponent, "cats-ui-timestamp-filter", never, { "config": { "alias": "config"; "required": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
937
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimestampFilterComponent, "cats-ui-timestamp-filter", never, { "config": { "alias": "config"; "required": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
1137
938
  }
1138
939
 
1139
940
  declare class WizardService {
@@ -1171,12 +972,13 @@ declare class WizardComponent {
1171
972
  showStepBadge: boolean;
1172
973
  expandable: boolean;
1173
974
  isExpanded: boolean;
1174
- toggleExpand(): void;
1175
975
  steps: any;
1176
976
  activeStep: any;
1177
977
  templates: WizardStepDirective[];
1178
978
  constructor(commonService: WizardService);
1179
979
  ngAfterContentInit(): void;
980
+ toggleExpand(): void;
981
+ onEscPressed(): void;
1180
982
  get currentStepIndex(): number;
1181
983
  get wizardSteps(): any[];
1182
984
  get currentTemplate(): i0.TemplateRef<any>;
@@ -1185,8 +987,33 @@ declare class WizardComponent {
1185
987
  goToStep(step: number): void;
1186
988
  closeModal(): void;
1187
989
  static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
1188
- static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "cats-ui-wizard", never, { "wizardId": { "alias": "wizardId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showStepBadge": { "alias": "showStepBadge"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, { "closed": "closed"; }, ["stepTemplates"], never, true, never>;
990
+ static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "cats-ui-wizard", never, { "wizardId": { "alias": "wizardId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showStepBadge": { "alias": "showStepBadge"; "required": false; }; }, { "closed": "closed"; }, ["stepTemplates"], never, true, never>;
991
+ }
992
+
993
+ declare class FileUploadComponent implements ControlValueAccessor {
994
+ label: string;
995
+ placeholder: string;
996
+ errorMessage: string;
997
+ disabled: boolean;
998
+ multiple: boolean;
999
+ buttonPosition: 'left' | 'right';
1000
+ value: File[];
1001
+ isFocused: boolean;
1002
+ onChange: (value: File[]) => void;
1003
+ onTouched: () => void;
1004
+ writeValue(files: File[]): void;
1005
+ registerOnChange(fn: any): void;
1006
+ registerOnTouched(fn: any): void;
1007
+ setDisabledState(isDisabled: boolean): void;
1008
+ onFileSelect(event: any, input: HTMLInputElement): void;
1009
+ onDrop(event: DragEvent): void;
1010
+ onDragOver(event: DragEvent): void;
1011
+ removeFile(index: number, input?: HTMLInputElement): void;
1012
+ get isFilled(): boolean;
1013
+ get hasError(): boolean;
1014
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
1015
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "cats-ui-file-upload", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "buttonPosition": { "alias": "buttonPosition"; "required": false; }; }, {}, never, never, true, never>;
1189
1016
  }
1190
1017
 
1191
- export { AccordionComponent, AccordionItemComponent, AutoCompleteMultiSelectComponent, AutoCompleteMultiSelectConfig, AutoCompleteSingleSelectComponent, AutoCompleteSingleSelectConfig, CatsUiService, CatsUiTooltipDirective, CheckBoxConfig, CheckBoxSubtask, CheckboxButtonComponent, CustomDatePickerComponent, DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALUE_VALIDATOR, DateTimePickerComponent, InputComponent, InputConfig, MULTI_SELECT_CONTROL_VALUE_ACCESSOR, MULTI_SELECT_CONTROL_VALUE_VALIDATOR, MultiSelectComponent, MultiSelectConfig, OutsideClickDirective, RadioButtonComponent, SINGLE_SELECT_CONTROL_VALUE_ACCESSOR, SINGLE_SELECT_CONTROL_VALUE_VALIDATOR, SearchBoxComponent, SearchConfig, SingleSelectComponent, SingleSelectConfig, TabComponent, TabContentComponent, TabContentDirective, TabHeadingDirective, TabItemComponent, TabsetComponent, TimestampFilterComponent, ToggleConfig, ToogleButtonComponent, WizardComponent, WizardService, WizardStepDirective };
1192
- export type { CalenderView, DateConfig, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, FilterType, RadioButtonConfig, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput };
1018
+ export { AccordionComponent, AccordionItemComponent, AutoCompleteMultiSelectComponent, AutoCompleteMultiSelectConfig, AutoCompleteSingleSelectComponent, AutoCompleteSingleSelectConfig, CatsUiService, CatsUiTooltipDirective, CheckBoxConfig, CheckBoxSubtask, CheckboxButtonComponent, CustomDatePickerComponent, DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALUE_VALIDATOR, FileUploadComponent, InputComponent, InputConfig, MULTI_SELECT_CONTROL_VALUE_ACCESSOR, MULTI_SELECT_CONTROL_VALUE_VALIDATOR, MultiSelectComponent, MultiSelectConfig, OutsideClickDirective, RadioButtonComponent, SINGLE_SELECT_CONTROL_VALUE_ACCESSOR, SINGLE_SELECT_CONTROL_VALUE_VALIDATOR, SearchBoxComponent, SearchConfig, SingleSelectComponent, SingleSelectConfig, TabContentComponent, TabsetComponent, TimestampFilterComponent, ToggleConfig, ToogleButtonComponent, WizardComponent, WizardService, WizardStepDirective };
1019
+ export type { CalenderView, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, FilterType, RadioButtonConfig, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput, TimeFilterValue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cats-ui-lib",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "peerDependencies": {
5
5
  "@angular/core": ">=18 <22",
6
6
  "@angular/common": ">=18 <22"
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  // ------------------Button Styles--------------------
20
- button.button {
20
+ button.cats-btn {
21
21
  border: rem(1px) solid transparent;
22
22
  padding: 0 rem(28px);
23
23
  height: rem(56px);
@@ -805,11 +805,24 @@ button.button {
805
805
  }
806
806
 
807
807
  // ------------------Checkbox Styles--------------------
808
- .checkbox-container {
808
+ .checkbox-container,
809
+ .item, .multiitem {
809
810
  @include flex(flex-start, center, rem(8px));
810
811
  @include fontStyle(var(--fs-16), rem(20px), 400);
811
812
  margin-bottom: rem(8px);
812
813
  color: var(--text-heading-primary);
814
+ &.disabled-option{
815
+ input[type="checkbox"]:checked{
816
+ background-color: var(--surface-background-subtle);
817
+ border-color: var(--border-core-default);
818
+ &::after{
819
+ background-image: url(/images/check-disabled.svg);
820
+ }
821
+ }
822
+ &::selection{
823
+ background-color: transparent;
824
+ }
825
+ }
813
826
 
814
827
  input[type="checkbox"] {
815
828
  appearance: none;