Skip to content

Commit 738ba71

Browse files
ChronosSFmddragnevsimeonoffdesig9stein
authored
feat(*): removing display density first pass (#14239)
* feat(*): removing display density first pass * feat(*): removing display density second pass * fix(theme): add a missing var in the drop down theme causing the drop down items to position bad * chore(migrations): Add migrations for all the components that have displayDensity input * fix(navbar): update component sizes in the context of the navbar (#14286) * fix(navbar): default component sizes * changelog(18.0.0): add section about sizing * chore(*): add migration for $active-item-color in the bottom-nav * feat(*): add migrations for global large size * fix(query-builder): size components properly (#14287) --------- Co-authored-by: Martin Dragnev <[email protected]> Co-authored-by: Simeon Simeonoff <[email protected]> Co-authored-by: desig9stein <[email protected]>
1 parent 24af16f commit 738ba71

File tree

110 files changed

+1061
-1585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1061
-1585
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,24 @@ All notable changes for each version of this project will be documented in this
1414
- Added templatable row dimension headers displayed on the top, above all row headers.
1515
- Replace the `showPivotConfigurationUI` property with `pivotUI` property, adding ability now to enable/disable the configuration UI and/or the new row dimension headers.
1616
- Added `sortable` property for each IPivotDimension.
17+
### Changes
18+
- With the removal of the Display Density token, components now get their default sizes from the theme. Default sizes have changed for most components, with it now being medium (previously large). Here's an exhaustive list of all sizable components and their default sizes by theme:
19+
- `Avatar` - Small (All Themes)
20+
- `Button` - Large (Material), Medium (Bootstrap, Fluent, Indigo)
21+
- `Button Group` - Large (Material), Medium (Bootstrap, Fluent, Indigo)
22+
- `Card` - Medium (All Themes)
23+
- `Combo` - Medium (All Themes)
24+
- `Chip` - Medium (All Themes)
25+
- `Date/Time Picker` - Medium (All Themes)
26+
- `Dropdown` - Medium (All Themes)
27+
- `Dialog` - Medium (All Themes)
28+
- `Icon` - Large (All Themes)
29+
- `Icon Button` - Large (Material), Medium (Bootstrap, Fluent, Indigo)
30+
- `Input Group` - Medium (All Themes)
31+
- `List` - Medium (All Themes)
32+
- `Tree` - Medium (All Themes)
33+
- `Rating` - Medium (All Themes)
34+
- `Select` - Medium (All Themes)
1735

1836
### General
1937
- Removed deprecated property `displayDensity`. Size is now controlled only through the custom CSS property `--ig-size`. Refer to the [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide) and components documentation for usage details.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@types/source-map": "0.5.2",
7171
"express": "^4.19.2",
7272
"fflate": "^0.8.1",
73-
"igniteui-theming": "^7.0.0",
73+
"igniteui-theming": "^7.0.2",
7474
"igniteui-trial-watermark": "^3.0.2",
7575
"lodash-es": "^4.17.21",
7676
"rxjs": "^7.8.0",

projects/igniteui-angular/migrations/update-18_0_0/changes/inputs.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,118 @@
4141
"type": "component"
4242
}
4343
},
44+
{
45+
"name": "displayDensity",
46+
"remove": true,
47+
"owner": {
48+
"selector": "igx-action-strip",
49+
"type": "component"
50+
}
51+
},
52+
{
53+
"name": "displayDensity",
54+
"remove": true,
55+
"owner": {
56+
"selector": "igx-button",
57+
"type": "component"
58+
}
59+
},
60+
{
61+
"name": "displayDensity",
62+
"remove": true,
63+
"owner": {
64+
"selector": "igx-buttongroup",
65+
"type": "component"
66+
}
67+
},
68+
{
69+
"name": "displayDensity",
70+
"remove": true,
71+
"owner": {
72+
"selector": "igx-chip",
73+
"type": "component"
74+
}
75+
},
76+
{
77+
"name": "displayDensity",
78+
"remove": true,
79+
"owner": {
80+
"selector": "igx-combo",
81+
"type": "component"
82+
}
83+
},
84+
{
85+
"name": "displayDensity",
86+
"remove": true,
87+
"owner": {
88+
"selector": "igx-simple-combo",
89+
"type": "component"
90+
}
91+
},
92+
{
93+
"name": "displayDensity",
94+
"remove": true,
95+
"owner": {
96+
"selector": "igx-date-picker",
97+
"type": "component"
98+
}
99+
},
100+
{
101+
"name": "displayDensity",
102+
"remove": true,
103+
"owner": {
104+
"selector": "igx-drop-down",
105+
"type": "component"
106+
}
107+
},
108+
{
109+
"name": "displayDensity",
110+
"remove": true,
111+
"owner": {
112+
"selector": "igx-select",
113+
"type": "component"
114+
}
115+
},
116+
{
117+
"name": "displayDensity",
118+
"remove": true,
119+
"owner": {
120+
"selector": "igx-input-group",
121+
"type": "component"
122+
}
123+
},
124+
{
125+
"name": "displayDensity",
126+
"remove": true,
127+
"owner": {
128+
"selector": "igx-list",
129+
"type": "component"
130+
}
131+
},
132+
{
133+
"name": "displayDensity",
134+
"remove": true,
135+
"owner": {
136+
"selector": "igx-paginator",
137+
"type": "component"
138+
}
139+
},
140+
{
141+
"name": "displayDensity",
142+
"remove": true,
143+
"owner": {
144+
"selector": "igx-query-builder",
145+
"type": "component"
146+
}
147+
},
148+
{
149+
"name": "displayDensity",
150+
"remove": true,
151+
"owner": {
152+
"selector": "igx-tree",
153+
"type": "component"
154+
}
155+
},
44156
{
45157
"name": "showPivotConfigurationUI",
46158
"replaceWith": "pivotUI",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "../../common/schema/theme-changes.schema.json",
3+
"changes": [
4+
{
5+
"name": "$active-item-color",
6+
"replaceWith": "$icon-selected-color",
7+
"owner": "bottom-nav-theme",
8+
"type": "property"
9+
}
10+
]
11+
}

0 commit comments

Comments
 (0)