igniteui-angular 17.1.9 → 17.1.11

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.
Files changed (42) hide show
  1. package/esm2022/lib/calendar/calendar-base.mjs +17 -1
  2. package/esm2022/lib/calendar/calendar.component.mjs +1 -1
  3. package/esm2022/lib/directives/date-time-editor/date-time-editor.directive.mjs +8 -9
  4. package/esm2022/lib/directives/mask/mask.directive.mjs +1 -1
  5. package/esm2022/lib/directives/toggle/toggle.directive.mjs +6 -6
  6. package/esm2022/lib/grids/filtering/excel-style/excel-style-search.component.mjs +4 -1
  7. package/fesm2022/igniteui-angular.mjs +31 -13
  8. package/fesm2022/igniteui-angular.mjs.map +1 -1
  9. package/lib/calendar/calendar-base.d.ts +5 -5
  10. package/lib/calendar/calendar.component.d.ts +1 -1
  11. package/lib/core/styles/components/input/_input-group-component.scss +10 -0
  12. package/lib/core/styles/components/input/_input-group-theme.scss +23 -1
  13. package/lib/directives/date-time-editor/date-time-editor.directive.d.ts +4 -5
  14. package/lib/directives/mask/mask.directive.d.ts +1 -1
  15. package/lib/directives/toggle/toggle.directive.d.ts +4 -4
  16. package/package.json +1 -1
  17. package/styles/igniteui-angular-dark.css +1 -1
  18. package/styles/igniteui-angular.css +1 -1
  19. package/styles/igniteui-bootstrap-dark.css +1 -1
  20. package/styles/igniteui-bootstrap-light.css +1 -1
  21. package/styles/igniteui-dark-green.css +1 -1
  22. package/styles/igniteui-fluent-dark-excel.css +1 -1
  23. package/styles/igniteui-fluent-dark-word.css +1 -1
  24. package/styles/igniteui-fluent-dark.css +1 -1
  25. package/styles/igniteui-fluent-light-excel.css +1 -1
  26. package/styles/igniteui-fluent-light-word.css +1 -1
  27. package/styles/igniteui-fluent-light.css +1 -1
  28. package/styles/igniteui-indigo-dark.css +1 -1
  29. package/styles/igniteui-indigo-light.css +1 -1
  30. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  31. package/styles/maps/igniteui-angular.css.map +1 -1
  32. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  33. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  34. package/styles/maps/igniteui-dark-green.css.map +1 -1
  35. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  36. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  37. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  38. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  39. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  40. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  41. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  42. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -240,7 +240,7 @@ export declare class IgxCalendarBaseDirective implements ControlValueAccessor {
240
240
  * a single `Date` object.
241
241
  * Otherwise it is an array of `Date` objects.
242
242
  */
243
- set value(value: Date | Date[]);
243
+ set value(value: Date | Date[] | string);
244
244
  /**
245
245
  * Gets the date that is presented.
246
246
  * By default it is the current date.
@@ -249,7 +249,7 @@ export declare class IgxCalendarBaseDirective implements ControlValueAccessor {
249
249
  /**
250
250
  * Sets the date that will be presented in the default view when the component renders.
251
251
  */
252
- set viewDate(value: Date);
252
+ set viewDate(value: Date | string);
253
253
  /**
254
254
  * Gets the disabled dates descriptors.
255
255
  */
@@ -319,15 +319,15 @@ export declare class IgxCalendarBaseDirective implements ControlValueAccessor {
319
319
  *
320
320
  * @hidden
321
321
  */
322
- isDateDisabled(date: Date): boolean;
322
+ isDateDisabled(date: Date | string): boolean;
323
323
  /**
324
324
  * Selects date(s) (based on the selection type).
325
325
  */
326
- selectDate(value: Date | Date[]): void;
326
+ selectDate(value: Date | Date[] | string): void;
327
327
  /**
328
328
  * Deselects date(s) (based on the selection type).
329
329
  */
330
- deselectDate(value?: Date | Date[]): void;
330
+ deselectDate(value?: Date | Date[] | string): void;
331
331
  /**
332
332
  * @hidden
333
333
  */
@@ -415,7 +415,7 @@ export declare class IgxCalendarComponent extends IgxMonthPickerBaseDirective im
415
415
  * this.calendar.deselectDate(new Date(`2018-06-12`));
416
416
  * ````
417
417
  */
418
- deselectDate(value?: Date | Date[]): void;
418
+ deselectDate(value?: Date | Date[] | string): void;
419
419
  /**
420
420
  * @hidden
421
421
  * @internal
@@ -112,8 +112,14 @@
112
112
  }
113
113
  }
114
114
 
115
+ @include m(suffixed) {
116
+ @extend %suffixed !optional;
117
+ }
118
+
115
119
  // Textarea modifier
116
120
  @include m(textarea-group) {
121
+ @extend %textarea-group !optional;
122
+
117
123
  @include e(bundle-main) {
118
124
  @extend %form-group-textarea-group-bundle-main !optional;
119
125
  }
@@ -127,6 +133,10 @@
127
133
  }
128
134
  }
129
135
 
136
+ @include mx(textarea-group, border) {
137
+ @extend %textarea-group--outlined !optional;
138
+ }
139
+
130
140
  @include mx(textarea-group, focused) {
131
141
  @include e(label) {
132
142
  @extend %textarea-group-label--focused !optional;
@@ -979,6 +979,26 @@
979
979
  will-change: font-size, color, transform;
980
980
  }
981
981
 
982
+ @if $variant == 'material' {
983
+ %textarea-group:not(%suffixed) {
984
+ %form-group-bundle-main {
985
+ grid-area: 1 / 2 / span 1 / span 3;
986
+ padding-inline-end: 0;
987
+ }
988
+
989
+ textarea {
990
+ padding-inline-end: rem(4px);
991
+ width: calc(100% - #{rem(1px)});
992
+ }
993
+ }
994
+
995
+ %textarea-group--outlined:not(%suffixed) {
996
+ textarea {
997
+ width: calc(100% - #{rem(2px)});
998
+ }
999
+ }
1000
+ }
1001
+
982
1002
  %form-group-textarea-group-bundle {
983
1003
  // 3 lines * 22px + 8px bottom padding + 8px top padding
984
1004
  --textarea-size: #{sizable(
@@ -1191,6 +1211,7 @@
1191
1211
 
1192
1212
  @if $material-theme {
1193
1213
  padding: 0;
1214
+ inset-block-start: rem(-3px);
1194
1215
  }
1195
1216
 
1196
1217
  // resets typography styles
@@ -1668,8 +1689,9 @@
1668
1689
  }
1669
1690
 
1670
1691
  %indigo-textarea {
1671
- padding-block: rem(8px);
1692
+ padding-block: rem(10px);
1672
1693
  padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
1694
+ inset-block-end: rem(2px);
1673
1695
  }
1674
1696
 
1675
1697
  %fluent-textarea {
@@ -115,8 +115,8 @@ export declare class IgxDateTimeEditorDirective extends IgxMaskDirective impleme
115
115
  * <input igxDateTimeEditor [value]="date">
116
116
  * ```
117
117
  */
118
- set value(value: Date | string);
119
- get value(): Date | string;
118
+ set value(value: Date | string | undefined | null);
119
+ get value(): Date | string | undefined | null;
120
120
  /**
121
121
  * Delta values used to increment or decrement each editor date part on spin actions.
122
122
  * All values default to `1`.
@@ -152,14 +152,13 @@ export declare class IgxDateTimeEditorDirective extends IgxMaskDirective impleme
152
152
  private document;
153
153
  private _isFocused;
154
154
  private _defaultInputFormat;
155
- private _value;
155
+ private _value?;
156
156
  private _minValue;
157
157
  private _maxValue;
158
158
  private _inputDateParts;
159
159
  private _datePartDeltas;
160
- private onTouchCallback;
161
160
  private onChangeCallback;
162
- private onValidatorChange;
161
+ private _onValidatorChange;
163
162
  private get datePartDeltas();
164
163
  private get emptyMask();
165
164
  private get targetDatePart();
@@ -82,7 +82,7 @@ export declare class IgxMaskDirective implements OnInit, AfterViewChecked, Contr
82
82
  private _droppedData;
83
83
  private _hasDropAction;
84
84
  private readonly defaultMask;
85
- private _onTouchedCallback;
85
+ protected _onTouchedCallback: () => void;
86
86
  private _onChangeCallback;
87
87
  constructor(elementRef: ElementRef<HTMLInputElement>, maskParser: MaskParsingService, renderer: Renderer2, platform: PlatformUtil);
88
88
  /** @hidden */
@@ -29,7 +29,7 @@ export declare class IgxToggleDirective implements IToggleView, OnInit, OnDestro
29
29
  * ```html
30
30
  * <div
31
31
  * igxToggle
32
- * (onOpened)='onToggleOpened($event)'>
32
+ * (opened)='onToggleOpened($event)'>
33
33
  * </div>
34
34
  * ```
35
35
  */
@@ -46,7 +46,7 @@ export declare class IgxToggleDirective implements IToggleView, OnInit, OnDestro
46
46
  * ```html
47
47
  * <div
48
48
  * igxToggle
49
- * (onOpening)='onToggleOpening($event)'>
49
+ * (opening)='onToggleOpening($event)'>
50
50
  * </div>
51
51
  * ```
52
52
  */
@@ -63,7 +63,7 @@ export declare class IgxToggleDirective implements IToggleView, OnInit, OnDestro
63
63
  * ```html
64
64
  * <div
65
65
  * igxToggle
66
- * (onClosed)='onToggleClosed($event)'>
66
+ * (closed)='onToggleClosed($event)'>
67
67
  * </div>
68
68
  * ```
69
69
  */
@@ -97,7 +97,7 @@ export declare class IgxToggleDirective implements IToggleView, OnInit, OnDestro
97
97
  * ```html
98
98
  * <div
99
99
  * igxToggle
100
- * (onAppended)='onToggleAppended()'>
100
+ * (appended)='onToggleAppended()'>
101
101
  * </div>
102
102
  * ```
103
103
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "17.1.9",
3
+ "version": "17.1.11",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",