igniteui-angular 18.2.0-beta.0 → 18.2.0-beta.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.
Files changed (69) hide show
  1. package/esm2022/lib/badge/badge.component.mjs +19 -3
  2. package/esm2022/lib/core/i18n/query-builder-resources.mjs +4 -3
  3. package/esm2022/lib/data-operations/filtering-expression.interface.mjs +1 -1
  4. package/esm2022/lib/data-operations/filtering-expressions-tree.mjs +1 -1
  5. package/esm2022/lib/grids/filtering/base/grid-filtering-cell.component.mjs +2 -2
  6. package/esm2022/lib/grids/grid/groupby-row.component.mjs +2 -2
  7. package/esm2022/lib/grids/grouping/grid-group-by-area.component.mjs +3 -3
  8. package/esm2022/lib/grids/grouping/tree-grid-group-by-area.component.mjs +3 -3
  9. package/esm2022/lib/grids/pivot-grid/pivot-header-row.component.mjs +2 -2
  10. package/esm2022/lib/grids/selection/selection.service.mjs +9 -9
  11. package/esm2022/lib/icon/icon.references.mjs +6 -10
  12. package/esm2022/lib/query-builder/query-builder-header.component.mjs +3 -3
  13. package/esm2022/lib/query-builder/query-builder-tree.component.mjs +3 -3
  14. package/esm2022/lib/tabs/tabs/tabs.component.mjs +4 -3
  15. package/fesm2022/igniteui-angular.mjs +46 -33
  16. package/fesm2022/igniteui-angular.mjs.map +1 -1
  17. package/lib/badge/badge.component.d.ts +12 -1
  18. package/lib/core/i18n/query-builder-resources.d.ts +1 -0
  19. package/lib/core/styles/components/badge/_badge-component.scss +4 -0
  20. package/lib/core/styles/components/badge/_badge-theme.scss +6 -12
  21. package/lib/core/styles/components/banner/_banner-theme.scss +5 -1
  22. package/lib/core/styles/components/card/_card-theme.scss +18 -1
  23. package/lib/core/styles/components/chip/_chip-theme.scss +180 -154
  24. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +5 -1
  25. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +9 -7
  26. package/lib/core/styles/components/query-builder/_query-builder-component.scss +4 -0
  27. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +39 -38
  28. package/lib/core/styles/components/tabs/_tabs-theme.scss +72 -18
  29. package/lib/core/styles/components/tree/_tree-theme.scss +1 -3
  30. package/lib/core/styles/typography/_indigo.scss +3 -1
  31. package/lib/data-operations/filtering-expression.interface.d.ts +2 -4
  32. package/lib/data-operations/filtering-expressions-tree.d.ts +24 -2
  33. package/migrations/common/ServerHost.d.ts +3 -1
  34. package/migrations/common/ServerHost.js +4 -1
  35. package/migrations/common/UpdateChanges.d.ts +7 -2
  36. package/migrations/common/UpdateChanges.js +39 -29
  37. package/migrations/common/project-service-container.d.ts +11 -0
  38. package/migrations/common/project-service-container.js +25 -0
  39. package/migrations/update-13_0_0/changes/members.json +1 -1
  40. package/migrations/update-18_2_0/changes/inputs.json +14 -0
  41. package/migrations/update-18_2_0/changes/theme-changes.json +6 -0
  42. package/migrations/update-18_2_0/index.js +36 -0
  43. package/package.json +2 -2
  44. package/styles/igniteui-angular-dark.css +1 -1
  45. package/styles/igniteui-angular.css +1 -1
  46. package/styles/igniteui-bootstrap-dark.css +1 -1
  47. package/styles/igniteui-bootstrap-light.css +1 -1
  48. package/styles/igniteui-dark-green.css +1 -1
  49. package/styles/igniteui-fluent-dark-excel.css +1 -1
  50. package/styles/igniteui-fluent-dark-word.css +1 -1
  51. package/styles/igniteui-fluent-dark.css +1 -1
  52. package/styles/igniteui-fluent-light-excel.css +1 -1
  53. package/styles/igniteui-fluent-light-word.css +1 -1
  54. package/styles/igniteui-fluent-light.css +1 -1
  55. package/styles/igniteui-indigo-dark.css +1 -1
  56. package/styles/igniteui-indigo-light.css +1 -1
  57. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  58. package/styles/maps/igniteui-angular.css.map +1 -1
  59. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  60. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  61. package/styles/maps/igniteui-dark-green.css.map +1 -1
  62. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  63. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  64. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  65. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  66. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  67. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  68. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  69. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -137,6 +137,16 @@ export declare class IgxBadgeComponent {
137
137
  * ```
138
138
  */
139
139
  label: string;
140
+ /**
141
+ * Sets/gets whether the badge is outlined.
142
+ * Default value is `false`.
143
+ *
144
+ * @example
145
+ * ```html
146
+ * <igx-badge outlined></igx-badge>
147
+ * ```
148
+ */
149
+ outlined: boolean;
140
150
  /**
141
151
  * Defines a human-readable, accessor, author-localized description for
142
152
  * the `type` and the `icon` or `value` of the element.
@@ -150,5 +160,6 @@ export declare class IgxBadgeComponent {
150
160
  get warningClass(): boolean;
151
161
  get errorClass(): boolean;
152
162
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxBadgeComponent, never>;
153
- static ɵcmp: i0.ɵɵComponentDeclaration<IgxBadgeComponent, "igx-badge", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, {}, never, ["*"], true, never>;
163
+ static ɵcmp: i0.ɵɵComponentDeclaration<IgxBadgeComponent, "igx-badge", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSet": { "alias": "iconSet"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; }, {}, never, ["*"], true, never>;
164
+ static ngAcceptInputType_outlined: unknown;
154
165
  }
@@ -1,6 +1,7 @@
1
1
  export interface IQueryBuilderResourceStrings {
2
2
  igx_query_builder_date_placeholder?: string;
3
3
  igx_query_builder_time_placeholder?: string;
4
+ igx_query_builder_datetime_placeholder?: string;
4
5
  igx_query_builder_filter_operator_and?: string;
5
6
  igx_query_builder_filter_operator_or?: string;
6
7
  igx_query_builder_filter_contains?: string;
@@ -35,6 +35,10 @@
35
35
  @extend %igx-badge--error !optional;
36
36
  }
37
37
 
38
+ @include m(outlined) {
39
+ @extend %igx-badge--outlined !optional;
40
+ }
41
+
38
42
  @include m(square) {
39
43
  @extend %igx-badge--square !optional;
40
44
  }
@@ -17,7 +17,6 @@
17
17
  /// @param {Color} $icon-color [null] - The icon color used.
18
18
  /// @param {Color} $text-color [null] - The text color used.
19
19
  /// @param {Color} $border-color [null] - The border color used.
20
- /// @param {Number} $border-width [null] - The border width of the badge component.
21
20
  /// @param {Color} $background-color [null] - The background color used.
22
21
  /// @param {box-shadow} $shadow [null] - Sets a shadow to be used for the badge.
23
22
  /// @param {Number} $border-radius [null] - The border radius used for badge component.
@@ -37,7 +36,6 @@
37
36
 
38
37
  $border-color: null,
39
38
  $border-radius: null,
40
- $border-width: null,
41
39
 
42
40
  $background-color: null,
43
41
  $shadow: null,
@@ -75,7 +73,6 @@
75
73
  border-radius: $border-radius,
76
74
  background-color: $background-color,
77
75
  shadow: $shadow,
78
- border-width: $border-width,
79
76
  _meta: map.merge(if($meta, $meta, ()), (
80
77
  variant: map.get($schema, '_meta', 'theme'),
81
78
  )),
@@ -90,10 +87,6 @@
90
87
 
91
88
  $variant: map.get($theme, '_meta', 'variant');
92
89
 
93
- $badge-font-weight: normal;
94
- $badge-value-padding: rem(4px);
95
- $border-type: solid;
96
-
97
90
  %igx-badge-display {
98
91
  --size: #{rem(22px)};
99
92
  --_badge-size: var(--size);
@@ -107,9 +100,6 @@
107
100
  background: var-get($theme, 'background-color');
108
101
  border-radius: calc(var(--size) / 2);
109
102
  box-shadow: var-get($theme, 'shadow');
110
- border-width: var-get($theme, 'border-width');
111
- border-color: var-get($theme, 'border-color');
112
- border-style: $border-type;
113
103
  overflow: hidden;
114
104
 
115
105
  igx-icon {
@@ -118,7 +108,7 @@
118
108
  display: inline-flex;
119
109
  justify-content: center;
120
110
  align-items: center;
121
- font-weight: $badge-font-weight;
111
+ font-weight: 400;
122
112
  color: var-get($theme, 'icon-color');
123
113
  }
124
114
 
@@ -132,13 +122,17 @@
132
122
  }
133
123
  }
134
124
 
125
+ %igx-badge--outlined {
126
+ box-shadow: inset 0 0 0 rem(if($variant != 'bootstrap', 2px, 1px)) var-get($theme, 'border-color');
127
+ }
128
+
135
129
  %igx-badge--square {
136
130
  border-radius: var-get($theme, 'border-radius');
137
131
  }
138
132
 
139
133
  %igx-badge-value {
140
134
  white-space: nowrap;
141
- padding-inline: $badge-value-padding;
135
+ padding-inline: rem(4px);
142
136
  }
143
137
 
144
138
  %igx-badge--success {
@@ -111,7 +111,11 @@
111
111
  igx-icon,
112
112
  igc-button,
113
113
  [igxButton] {
114
- --component-size: var(--ig-size, 2) !important;
114
+ --component-size: var(--ig-size, var(--ig-size-large));
115
+
116
+ @if $variant == 'indigo' {
117
+ --component-size: var(--ig-size, var(--ig-size-medium));
118
+ }
115
119
  }
116
120
  }
117
121
 
@@ -115,7 +115,7 @@
115
115
  $not-material-theme: $variant != 'material';
116
116
 
117
117
  $card-heading-padding: rem(16px, 16px);
118
- $card-content-padding: rem(14px);
118
+ $card-content-padding: rem(16px);
119
119
  $card-actions-padding: rem(8px);
120
120
 
121
121
  $card-tgroup-margin: 0 em(16px);
@@ -169,6 +169,10 @@
169
169
  display: block;
170
170
  padding: 0;
171
171
  }
172
+
173
+ @if $variant == 'fluent' {
174
+ padding: rem(16px) rem(8px);
175
+ }
172
176
  }
173
177
 
174
178
  %igx-card-header--vertical {
@@ -278,6 +282,19 @@
278
282
  }
279
283
  }
280
284
 
285
+ @if $variant == 'bootstrap' {
286
+ %igx-card-content {
287
+ @if $variant == 'bootstrap' {
288
+ padding-block: rem(16px) rem(24px);
289
+ padding-inline: rem(24px);
290
+ }
291
+ }
292
+
293
+ %igx-card-actions {
294
+ padding: rem(16px);
295
+ }
296
+ }
297
+
281
298
  @if $variant == 'indigo' {
282
299
  %igx-card-content,
283
300
  %igx-card-actions {