You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of hardcoding the color values, like we just did, we can achieve greater flexibility in terms of colors by using the [`igx-palette`]({environment:sassApiUrl}/index.html#function-igx-palette) and [`igx-color`]({environment:sassApiUrl}/index.html#function-igx-color) functions.
287
-
288
-
The `igx-palette` function generates a color palette based on the primary, secondary and surface colors that are passed:
>The `igx-color` and `igx-palette` are powerful functions for generating and retrieving colors. Please refer to the [`Palettes`](themes/palettes.md) topic for detailed guidance on how to use them.
310
-
311
-
### Using schemas
279
+
>Instead of hardcoding the color values like we just did, we can achieve greater flexibility in terms of colors by using the [`palette`]({environment:sassApiUrl}/index.html#function-palette) and [`color`]({environment:sassApiUrl}/index.html#function-color) functions. Please refer to [`Palettes`](/themes/sass/palettes.md) topic for detailed guidance on how to use them.
312
280
313
-
You can build a robust and flexible structure that benefits from [`schemas`](themes/sass/schemas.md).
314
-
Extend one of the two predefined schemas, that are provided for every component, in this case - [`light-banner`]({environment:sassApiUrl}/index.html#variable-light-banner) schema:
281
+
The last step is to pass the custom banner theme:
315
282
316
283
```scss
317
-
// Extending the banner schema
318
-
$light-toast-schema: extend(
319
-
$light-banner,
320
-
(
321
-
banner-message-color: (
322
-
color: ("secondary", 400)
323
-
),
324
-
banner-background: (
325
-
color: ("primary", 400)
326
-
),
327
-
banner-illustration-color: (
328
-
color: ("secondary", 100)
329
-
)
330
-
)
331
-
);
332
-
333
-
// Defining banner with the global light schema
334
-
$custom-banner-theme: banner-theme(
335
-
$palette:$light-banner-palette,
336
-
$schema:$light-toast-schema
337
-
);
284
+
@includecss-vars($custom-banner-theme);
338
285
```
339
286
340
-
Don't forget to include the themes in the same way as it was demonstrated above.
Copy file name to clipboardExpand all lines: en/components/calendar.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -360,7 +360,7 @@ If you traverse the page using *Tab key* you should keep in mind that based on [
360
360
- Next month button
361
361
- Selected date, Current date, First focusable (not disabled) date in the days view
362
362
363
-
In an Angular Calendar that contains more than one selected dates, only the first date will be introduced as a tab stop. For example, when an Angular Calendar multiselect is enabled and you have selected the dates: *13/10/2020*, *17/10/2020* and *21/10/2020* only *13/10/2020* will be accessible during tab navigation; in an Angular Calendar Range Picker, only the first date of the selected range will be part of the *page tab sequence*.
363
+
In an Angular Calendar that contains more than one selected dates, only the first date will be introduced as a tab stop. For example, when an Angular Calendar multi-select is enabled and you have selected the dates: *13/10/2020*, *17/10/2020* and *21/10/2020* only *13/10/2020* will be accessible during tab navigation; in an Angular Calendar Range Picker, only the first date of the selected range will be part of the *page tab sequence*.
364
364
365
365
>[!NOTE]
366
366
> Behavioral change, from *v10.2.0* - Tab key navigation in the *days view* is no longer available. In order to navigate between the dates in the *date view* you should use the *arrow keys*.
@@ -402,7 +402,7 @@ When an `year` inside the decade view is focused, use:
402
402
>Following version 8.2.0, keyboard navigation will not focus days that are outside of current month, but will rather change the month in view.
403
403
404
404
## Multi View Calendar
405
-
Multiview calendar supports all three types of selection. Use the [`monthsViewNumber`]({environment:angularApiUrl}/classes/igxcalendarcomponent.html#monthsViewNumber) input to set the number of displayed months, which will be shown horizontally in a flex container. There is no limit on the max value set. While using a multi view calendar, you may want to hide the days that do not belong to the current month. You are able to do it with the [`hideOutsideDays`]({environment:angularApiUrl}/classes/igxcalendarcomponent.html#hideOutsideDays) property. Keyboard navigation moves to next/previous months when those are in view.
405
+
Multi-view calendar supports all three types of selection. Use the [`monthsViewNumber`]({environment:angularApiUrl}/classes/igxcalendarcomponent.html#monthsViewNumber) input to set the number of displayed months, which will be shown horizontally in a flex container. There is no limit on the max value set. While using a multi view calendar, you may want to hide the days that do not belong to the current month. You are able to do it with the [`hideOutsideDays`]({environment:angularApiUrl}/classes/igxcalendarcomponent.html#hideOutsideDays) property. Keyboard navigation moves to next/previous months when those are in view.
Copy file name to clipboardExpand all lines: en/components/combo-templates.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,10 @@ Use selector `[igxComboClearIcon]`:
135
135
When used with templates, the `igxComboClearIcon` and the `igxComboToggleIcon` selectors, change how the respective buttons appear in the combobox input. Passing content inside of the `igx-combo` also allows templating of the combobox input similar to the way an `igx-input-group` can be templated (using `igx-prefix`, `igx-suffix` and `igxLabel`). The code snippet below illustrates how to add an appropriate label and prefix to the combobox input:
Copy file name to clipboardExpand all lines: en/components/combo.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -352,7 +352,6 @@ The last step is to include the component's theme.
352
352
## Known Issues
353
353
354
354
- The combobox input that displays the selected items is not editable. However, due to browser specifics in FireFox, the cursor is visible.
355
-
- The combobox does not have input for sizing its height. In the future, the [`IgxInputGroup`]({environment:angularApiUrl}/classes/igxinputgroupcomponent.html) component will expose an option that allows custom sizing, and then the [`IgxCombo`]({environment:angularApiUrl}/classes/igxcombocomponent.html) will use the same functionality for proper styling and better consistency.
356
355
- When the combobox is bound to an array of primitive data which contains `undefined` (i.e. `[ undefined, ...]`), `undefined` is not displayed in the dropdown. When it is bound to an array of complex data (i.e. objects) and the value used for `valueKey` is `undefined`, the item will be displayed in the dropdown, but cannot be selected.
357
356
- When the combobox is bound to a remote service and there is a predefined selection, its input will remain blank until the requested data is loaded.
In the approach that we described above, the color values were hardcoded. Alternatively, you can achieve greater flexibility, using the [`igx-palette`]({environment:sassApiUrl}/index.html#function-igx-palette) and [`igx-color`]({environment:sassApiUrl}/index.html#function-igx-color) functions.
363
-
`igx-palette` generates a color palette, based on provided primary, secondary and surface colors.
362
+
In the approach that we described above, the color values were hardcoded. Alternatively, you can achieve greater flexibility, using the [`palette`]({environment:sassApiUrl}/index.html#function-palette) and [`color`]({environment:sassApiUrl}/index.html#function-color) functions.
363
+
`palette` generates a color palette, based on provided primary, secondary and surface colors.
0 commit comments