special-forms 3.1.0 → 3.2.2

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.
@@ -1,8 +1,9 @@
1
1
  import { InputmaskOptions } from '@ngneat/input-mask';
2
2
  import { EControlTypes } from '../../core/aux-data/control-types.enum';
3
+ import { TInputTypes } from '../../core/aux-data/input-types';
3
4
  import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
4
5
  export type IInputSettings = {
5
- type?: string;
6
+ type?: TInputTypes;
6
7
  mask?: InputmaskOptions<any>;
7
8
  icon?: string;
8
9
  iconAction?: (data: any) => void;
@@ -3,5 +3,5 @@ import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
3
3
  export type IRichTextSettings = {};
4
4
  export interface IRichTextField extends IFieldData {
5
5
  settings: IRichTextSettings;
6
- type: EControlTypes.input;
6
+ type: EControlTypes.richText;
7
7
  }
@@ -0,0 +1,2 @@
1
+ export declare const InputTypes: string[];
2
+ export type TInputTypes = typeof InputTypes[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "special-forms",
3
- "version": "3.1.0",
3
+ "version": "3.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0",
@@ -36,4 +36,4 @@
36
36
  "default": "./fesm2020/special-forms.mjs"
37
37
  }
38
38
  }
39
- }
39
+ }
@@ -0,0 +1,14 @@
1
+ @mixin dark-theme-config($back-color, $dark-text) {
2
+ .mat-mdc-autocomplete-panel,
3
+ .mat-mdc-menu-content,
4
+ .mat-mdc-select-panel,
5
+ .mat-datepicker-content,
6
+ .special_upload__dropzone,
7
+ .mat-mdc-autocomplete-panel {
8
+ background: $back-color;
9
+ }
10
+
11
+ .special_upload__dropzone {
12
+ border-color: $dark-text;
13
+ }
14
+ }