diff --git a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
index ab9acfbf2a..a6f180b5dd 100644
--- a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
+++ b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
@@ -10565,11 +10565,6 @@
The Direction design token
-
-
- Constructs an instance of the Direction design token
-
-
Constructs an instance of the Direction design token
@@ -10582,11 +10577,6 @@
The DisabledOpacity design token
-
-
- Constructs an instance of the DisabledOpacity design token
-
-
Constructs an instance of the DisabledOpacity design token
@@ -10599,11 +10589,6 @@
The BaseHeightMultiplier design token
-
-
- Constructs an instance of the BaseHeightMultiplier design token
-
-
Constructs an instance of the BaseHeightMultiplier design token
@@ -10616,11 +10601,6 @@
The BaseHorizontalSpacingMultiplier design token
-
-
- Constructs an instance of the BaseHorizontalSpacingMultiplier design token
-
-
Constructs an instance of the BaseHorizontalSpacingMultiplier design token
@@ -10633,11 +10613,6 @@
The Density design token
-
-
- Constructs an instance of the Density design token
-
-
Constructs an instance of the Density design token
@@ -10650,11 +10625,6 @@
The DesignUnit design token
-
-
- Constructs an instance of the DesignUnit design token
-
-
Constructs an instance of the DesignUnit design token
@@ -10667,11 +10637,6 @@
The ControlCornerRadius design token
-
-
- Constructs an instance of the ControlCornerRadius design token
-
-
Constructs an instance of the ControlCornerRadius design token
@@ -10684,11 +10649,6 @@
The LayerCornerRadius design token
-
-
- Constructs an instance of the LayerCornerRadius design token
-
-
Constructs an instance of the LayerCornerRadius design token
@@ -10701,11 +10661,6 @@
The StrokeWidth design token
-
-
- Constructs an instance of the StrokeWidth design token
-
-
Constructs an instance of the StrokeWidth design token
@@ -10718,11 +10673,6 @@
The FocusStrokeWidth design token
-
-
- Constructs an instance of the FocusStrokeWidth design token
-
-
Constructs an instance of the FocusStrokeWidth design token
@@ -10735,11 +10685,6 @@
The BodyFont design token
-
-
- Constructs an instance of the BodyFont design token
-
-
Constructs an instance of the BodyFont design token
@@ -10752,11 +10697,6 @@
The TypeRampBaseFontSize design token
-
-
- Constructs an instance of the TypeRampBaseFontSize design token
-
-
Constructs an instance of the TypeRampBaseFontSize design token
@@ -10769,11 +10709,6 @@
The TypeRampBaseLineHeight design token
-
-
- Constructs an instance of the TypeRampBaseLineHeight design token
-
-
Constructs an instance of the TypeRampBaseLineHeight design token
@@ -10786,11 +10721,6 @@
The TypeRampMinus1FontSize design token
-
-
- Constructs an instance of the TypeRampMinus1FontSize design token
-
-
Constructs an instance of the TypeRampMinus1FontSize design token
@@ -10803,11 +10733,6 @@
The TypeRampMinus1LineHeight design token
-
-
- Constructs an instance of the TypeRampMinus1LineHeight design token
-
-
Constructs an instance of the TypeRampMinus1LineHeight design token
@@ -10820,11 +10745,6 @@
The TypeRampMinus2FontSize design token
-
-
- Constructs an instance of the TypeRampMinus2FontSize design token
-
-
Constructs an instance of the TypeRampMinus2FontSize design token
@@ -10837,11 +10757,6 @@
The TypeRampMinus2LineHeight design token
-
-
- Constructs an instance of the TypeRampMinus2LineHeight design token
-
-
Constructs an instance of the TypeRampMinus2LineHeight design token
@@ -10854,11 +10769,6 @@
The TypeRampPlus1FontSize design token
-
-
- Constructs an instance of the TypeRampPlus1FontSize design token
-
-
Constructs an instance of the TypeRampPlus1FontSize design token
@@ -10871,11 +10781,6 @@
The TypeRampPlus1LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus1LineHeight design token
-
-
Constructs an instance of the TypeRampPlus1LineHeight design token
@@ -10888,11 +10793,6 @@
The TypeRampPlus2FontSize design token
-
-
- Constructs an instance of the TypeRampPlus2FontSize design token
-
-
Constructs an instance of the TypeRampPlus2FontSize design token
@@ -10905,11 +10805,6 @@
The TypeRampPlus2LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus2LineHeight design token
-
-
Constructs an instance of the TypeRampPlus2LineHeight design token
@@ -10922,11 +10817,6 @@
The TypeRampPlus3FontSize design token
-
-
- Constructs an instance of the TypeRampPlus3FontSize design token
-
-
Constructs an instance of the TypeRampPlus3FontSize design token
@@ -10939,11 +10829,6 @@
The TypeRampPlus3LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus3LineHeight design token
-
-
Constructs an instance of the TypeRampPlus3LineHeight design token
@@ -10956,11 +10841,6 @@
The TypeRampPlus4FontSize design token
-
-
- Constructs an instance of the TypeRampPlus4FontSize design token
-
-
Constructs an instance of the TypeRampPlus4FontSize design token
@@ -10973,11 +10853,6 @@
The TypeRampPlus4LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus4LineHeight design token
-
-
Constructs an instance of the TypeRampPlus4LineHeight design token
@@ -10990,11 +10865,6 @@
The TypeRampPlus5FontSize design token
-
-
- Constructs an instance of the TypeRampPlus5FontSize design token
-
-
Constructs an instance of the TypeRampPlus5FontSize design token
@@ -11007,11 +10877,6 @@
The TypeRampPlus5LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus5LineHeight design token
-
-
Constructs an instance of the TypeRampPlus5LineHeight design token
@@ -11024,11 +10889,6 @@
The TypeRampPlus6FontSize design token
-
-
- Constructs an instance of the TypeRampPlus6FontSize design token
-
-
Constructs an instance of the TypeRampPlus6FontSize design token
@@ -11041,11 +10901,6 @@
The TypeRampPlus6LineHeight design token
-
-
- Constructs an instance of the TypeRampPlus6LineHeight design token
-
-
Constructs an instance of the TypeRampPlus6LineHeight design token
@@ -11058,11 +10913,6 @@
The BaseLayerLuminance design token
-
-
- Constructs an instance of the BaseLayerLuminance design token
-
-
Constructs an instance of the BaseLayerLuminance design token
@@ -11075,11 +10925,6 @@
The AccentFillRestDelta design token
-
-
- Constructs an instance of the AccentFillRestDelta design token
-
-
Constructs an instance of the AccentFillRestDelta design token
@@ -11092,11 +10937,6 @@
The AccentFillHoverDelta design token
-
-
- Constructs an instance of the AccentFillHoverDelta design token
-
-
Constructs an instance of the AccentFillHoverDelta design token
@@ -11109,11 +10949,6 @@
The AccentFillActiveDelta design token
-
-
- Constructs an instance of the AccentFillActiveDelta design token
-
-
Constructs an instance of the AccentFillActiveDelta design token
@@ -11126,11 +10961,6 @@
The AccentFillFocusDelta design token
-
-
- Constructs an instance of the AccentFillFocusDelta design token
-
-
Constructs an instance of the AccentFillFocusDelta design token
@@ -11143,11 +10973,6 @@
The AccentForegroundRestDelta design token
-
-
- Constructs an instance of the AccentForegroundRestDelta design token
-
-
Constructs an instance of the AccentForegroundRestDelta design token
@@ -11160,11 +10985,6 @@
The AccentForegroundHoverDelta design token
-
-
- Constructs an instance of the AccentForegroundHoverDelta design token
-
-
Constructs an instance of the AccentForegroundHoverDelta design token
@@ -11177,11 +10997,6 @@
The AccentForegroundActiveDelta design token
-
-
- Constructs an instance of the AccentForegroundActiveDelta design token
-
-
Constructs an instance of the AccentForegroundActiveDelta design token
@@ -11194,11 +11009,6 @@
The AccentForegroundFocusDelta design token
-
-
- Constructs an instance of the AccentForegroundFocusDelta design token
-
-
Constructs an instance of the AccentForegroundFocusDelta design token
@@ -11211,11 +11021,6 @@
The NeutralFillRestDelta design token
-
-
- Constructs an instance of the NeutralFillRestDelta design token
-
-
Constructs an instance of the NeutralFillRestDelta design token
@@ -11228,11 +11033,6 @@
The NeutralFillHoverDelta design token
-
-
- Constructs an instance of the NeutralFillHoverDelta design token
-
-
Constructs an instance of the NeutralFillHoverDelta design token
@@ -11245,11 +11045,6 @@
The NeutralFillActiveDelta design token
-
-
- Constructs an instance of the NeutralFillActiveDelta design token
-
-
Constructs an instance of the NeutralFillActiveDelta design token
@@ -11262,11 +11057,6 @@
The NeutralFillFocusDelta design token
-
-
- Constructs an instance of the NeutralFillFocusDelta design token
-
-
Constructs an instance of the NeutralFillFocusDelta design token
@@ -11279,11 +11069,6 @@
The NeutralFillInputRestDelta design token
-
-
- Constructs an instance of the NeutralFillInputRestDelta design token
-
-
Constructs an instance of the NeutralFillInputRestDelta design token
@@ -11296,11 +11081,6 @@
The NeutralFillInputHoverDelta design token
-
-
- Constructs an instance of the NeutralFillInputHoverDelta design token
-
-
Constructs an instance of the NeutralFillInputHoverDelta design token
@@ -11313,11 +11093,6 @@
The NeutralFillInputActiveDelta design token
-
-
- Constructs an instance of the NeutralFillInputActiveDelta design token
-
-
Constructs an instance of the NeutralFillInputActiveDelta design token
@@ -11330,11 +11105,6 @@
The NeutralFillInputFocusDelta design token
-
-
- Constructs an instance of the NeutralFillInputFocusDelta design token
-
-
Constructs an instance of the NeutralFillInputFocusDelta design token
@@ -11347,11 +11117,6 @@
The NeutralFillInputAltRestDelta design token
-
-
- Constructs an instance of the NeutralFillInputAltRestDelta design token
-
-
Constructs an instance of the NeutralFillInputAltRestDelta design token
@@ -11364,11 +11129,6 @@
The NeutralFillInputAltHoverDelta design token
-
-
- Constructs an instance of the NeutralFillInputAltHoverDelta design token
-
-
Constructs an instance of the NeutralFillInputAltHoverDelta design token
@@ -11381,11 +11141,6 @@
The NeutralFillInputAltActiveDelta design token
-
-
- Constructs an instance of the NeutralFillInputAltActiveDelta design token
-
-
Constructs an instance of the NeutralFillInputAltActiveDelta design token
@@ -11398,11 +11153,6 @@
The NeutralFillInputAltFocusDelta design token
-
-
- Constructs an instance of the NeutralFillInputAltFocusDelta design token
-
-
Constructs an instance of the NeutralFillInputAltFocusDelta design token
@@ -11415,11 +11165,6 @@
The NeutralFillLayerRestDelta design token
-
-
- Constructs an instance of the NeutralFillLayerRestDelta design token
-
-
Constructs an instance of the NeutralFillLayerRestDelta design token
@@ -11432,11 +11177,6 @@
The NeutralFillLayerHoverDelta design token
-
-
- Constructs an instance of the NeutralFillLayerHoverDelta design token
-
-
Constructs an instance of the NeutralFillLayerHoverDelta design token
@@ -11449,11 +11189,6 @@
The NeutralFillLayerActiveDelta design token
-
-
- Constructs an instance of the NeutralFillLayerActiveDelta design token
-
-
Constructs an instance of the NeutralFillLayerActiveDelta design token
@@ -11466,11 +11201,6 @@
The NeutralFillLayerAltRestDelta design token
-
-
- Constructs an instance of the NeutralFillLayerAltRestDelta design token
-
-
Constructs an instance of the NeutralFillLayerAltRestDelta design token
@@ -11483,11 +11213,6 @@
The NeutralFillSecondaryRestDelta design token
-
-
- Constructs an instance of the NeutralFillSecondaryRestDelta design token
-
-
Constructs an instance of the NeutralFillSecondaryRestDelta design token
@@ -11500,11 +11225,6 @@
The NeutralFillSecondaryHoverDelta design token
-
-
- Constructs an instance of the NeutralFillSecondaryHoverDelta design token
-
-
Constructs an instance of the NeutralFillSecondaryHoverDelta design token
@@ -11517,11 +11237,6 @@
The NeutralFillSecondaryActiveDelta design token
-
-
- Constructs an instance of the NeutralFillSecondaryActiveDelta design token
-
-
Constructs an instance of the NeutralFillSecondaryActiveDelta design token
@@ -11534,11 +11249,6 @@
The NeutralFillSecondaryFocusDelta design token
-
-
- Constructs an instance of the NeutralFillSecondaryFocusDelta design token
-
-
Constructs an instance of the NeutralFillSecondaryFocusDelta design token
@@ -11551,11 +11261,6 @@
The NeutralFillStealthRestDelta design token
-
-
- Constructs an instance of the NeutralFillStealthRestDelta design token
-
-
Constructs an instance of the NeutralFillStealthRestDelta design token
@@ -11568,11 +11273,6 @@
The NeutralFillStealthHoverDelta design token
-
-
- Constructs an instance of the NeutralFillStealthHoverDelta design token
-
-
Constructs an instance of the NeutralFillStealthHoverDelta design token
@@ -11585,11 +11285,6 @@
The NeutralFillStealthActiveDelta design token
-
-
- Constructs an instance of the NeutralFillStealthActiveDelta design token
-
-
Constructs an instance of the NeutralFillStealthActiveDelta design token
@@ -11602,11 +11297,6 @@
The NeutralFillStealthFocusDelta design token
-
-
- Constructs an instance of the NeutralFillStealthFocusDelta design token
-
-
Constructs an instance of the NeutralFillStealthFocusDelta design token
@@ -11619,11 +11309,6 @@
The NeutralFillStrongRestDelta design token
-
-
- Constructs an instance of the NeutralFillStrongRestDelta design token
-
-
Constructs an instance of the NeutralFillStrongRestDelta design token
@@ -11636,11 +11321,6 @@
The NeutralFillStrongHoverDelta design token
-
-
- Constructs an instance of the NeutralFillStrongHoverDelta design token
-
-
Constructs an instance of the NeutralFillStrongHoverDelta design token
@@ -11653,11 +11333,6 @@
The NeutralFillStrongActiveDelta design token
-
-
- Constructs an instance of the NeutralFillStrongActiveDelta design token
-
-
Constructs an instance of the NeutralFillStrongActiveDelta design token
@@ -11670,11 +11345,6 @@
The NeutralFillStrongFocusDelta design token
-
-
- Constructs an instance of the NeutralFillStrongFocusDelta design token
-
-
Constructs an instance of the NeutralFillStrongFocusDelta design token
@@ -11687,11 +11357,6 @@
The NeutralStrokeRestDelta design token
-
-
- Constructs an instance of the NeutralStrokeRestDelta design token
-
-
Constructs an instance of the NeutralStrokeRestDelta design token
@@ -11704,11 +11369,6 @@
The NeutralStrokeHoverDelta design token
-
-
- Constructs an instance of the NeutralStrokeHoverDelta design token
-
-
Constructs an instance of the NeutralStrokeHoverDelta design token
@@ -11721,11 +11381,6 @@
The NeutralStrokeActiveDelta design token
-
-
- Constructs an instance of the NeutralStrokeActiveDelta design token
-
-
Constructs an instance of the NeutralStrokeActiveDelta design token
@@ -11738,11 +11393,6 @@
The NeutralStrokeFocusDelta design token
-
-
- Constructs an instance of the NeutralStrokeFocusDelta design token
-
-
Constructs an instance of the NeutralStrokeFocusDelta design token
@@ -11755,11 +11405,6 @@
The NeutralStrokeControlRestDelta design token
-
-
- Constructs an instance of the NeutralStrokeControlRestDelta design token
-
-
Constructs an instance of the NeutralStrokeControlRestDelta design token
@@ -11772,11 +11417,6 @@
The NeutralStrokeControlHoverDelta design token
-
-
- Constructs an instance of the NeutralStrokeControlHoverDelta design token
-
-
Constructs an instance of the NeutralStrokeControlHoverDelta design token
@@ -11789,11 +11429,6 @@
The NeutralStrokeControlActiveDelta design token
-
-
- Constructs an instance of the NeutralStrokeControlActiveDelta design token
-
-
Constructs an instance of the NeutralStrokeControlActiveDelta design token
@@ -11806,11 +11441,6 @@
The NeutralStrokeControlFocusDelta design token
-
-
- Constructs an instance of the NeutralStrokeControlFocusDelta design token
-
-
Constructs an instance of the NeutralStrokeControlFocusDelta design token
@@ -11823,11 +11453,6 @@
The NeutralStrokeDividerRestDelta design token
-
-
- Constructs an instance of the NeutralStrokeDividerRestDelta design token
-
-
Constructs an instance of the NeutralStrokeDividerRestDelta design token
@@ -11840,11 +11465,6 @@
The NeutralStrokeLayerRestDelta design token
-
-
- Constructs an instance of the NeutralStrokeLayerRestDelta design token
-
-
Constructs an instance of the NeutralStrokeLayerRestDelta design token
@@ -11857,11 +11477,6 @@
The NeutralStrokeLayerHoverDelta design token
-
-
- Constructs an instance of the NeutralStrokeLayerHoverDelta design token
-
-
Constructs an instance of the NeutralStrokeLayerHoverDelta design token
@@ -11874,11 +11489,6 @@
The NeutralStrokeLayerActiveDelta design token
-
-
- Constructs an instance of the NeutralStrokeLayerActiveDelta design token
-
-
Constructs an instance of the NeutralStrokeLayerActiveDelta design token
@@ -11891,11 +11501,6 @@
The NeutralStrokeStrongHoverDelta design token
-
-
- Constructs an instance of the NeutralStrokeStrongHoverDelta design token
-
-
Constructs an instance of the NeutralStrokeStrongHoverDelta design token
@@ -11908,11 +11513,6 @@
The NeutralStrokeStrongActiveDelta design token
-
-
- Constructs an instance of the NeutralStrokeStrongActiveDelta design token
-
-
Constructs an instance of the NeutralStrokeStrongActiveDelta design token
@@ -11925,11 +11525,6 @@
The NeutralStrokeStrongFocusDelta design token
-
-
- Constructs an instance of the NeutralStrokeStrongFocusDelta design token
-
-
Constructs an instance of the NeutralStrokeStrongFocusDelta design token
@@ -11942,11 +11537,6 @@
The NeutralBaseColor design token
-
-
- Constructs an instance of the NeutralBaseColor design token
-
-
Constructs an instance of the NeutralBaseColor design token
@@ -11959,11 +11549,6 @@
The AccentBaseColor design token
-
-
- Constructs an instance of the AccentBaseColor design token
-
-
Constructs an instance of the AccentBaseColor design token
@@ -11976,11 +11561,6 @@
The NeutralLayerCardContainer design token
-
-
- Constructs an instance of the NeutralLayerCardContainer design token
-
-
Constructs an instance of the NeutralLayerCardContainer design token
@@ -11993,11 +11573,6 @@
The NeutralLayerFloating design token
-
-
- Constructs an instance of the NeutralLayerFloating design token
-
-
Constructs an instance of the NeutralLayerFloating design token
@@ -12010,11 +11585,6 @@
The NeutralLayer1 design token
-
-
- Constructs an instance of the NeutralLayer1 design token
-
-
Constructs an instance of the NeutralLayer1 design token
@@ -12027,11 +11597,6 @@
The NeutralLayer2 design token
-
-
- Constructs an instance of the NeutralLayer2 design token
-
-
Constructs an instance of the NeutralLayer2 design token
@@ -12044,11 +11609,6 @@
The NeutralLayer3 design token
-
-
- Constructs an instance of the NeutralLayer3 design token
-
-
Constructs an instance of the NeutralLayer3 design token
@@ -12061,11 +11621,6 @@
The NeutralLayer4 design token
-
-
- Constructs an instance of the NeutralLayer4 design token
-
-
Constructs an instance of the NeutralLayer4 design token
@@ -12078,11 +11633,6 @@
The FillColor design token
-
-
- Constructs an instance of the FillColor design token
-
-
Constructs an instance of the FillColor design token
@@ -12095,11 +11645,6 @@
The AccentFillRest design token
-
-
- Constructs an instance of the AccentFillRest design token
-
-
Constructs an instance of the AccentFillRest design token
@@ -12112,11 +11657,6 @@
The AccentFillHover design token
-
-
- Constructs an instance of the AccentFillHover design token
-
-
Constructs an instance of the AccentFillHover design token
@@ -12129,11 +11669,6 @@
The AccentFillActive design token
-
-
- Constructs an instance of the AccentFillActive design token
-
-
Constructs an instance of the AccentFillActive design token
@@ -12146,11 +11681,6 @@
The AccentFillFocus design token
-
-
- Constructs an instance of the AccentFillFocus design token
-
-
Constructs an instance of the AccentFillFocus design token
@@ -12163,11 +11693,6 @@
The ForegroundOnAccentRest design token
-
-
- Constructs an instance of the ForegroundOnAccentRest design token
-
-
Constructs an instance of the ForegroundOnAccentRest design token
@@ -12180,11 +11705,6 @@
The ForegroundOnAccentHover design token
-
-
- Constructs an instance of the ForegroundOnAccentHover design token
-
-
Constructs an instance of the ForegroundOnAccentHover design token
@@ -12197,11 +11717,6 @@
The ForegroundOnAccentActive design token
-
-
- Constructs an instance of the ForegroundOnAccentActive design token
-
-
Constructs an instance of the ForegroundOnAccentActive design token
@@ -12214,11 +11729,6 @@
The ForegroundOnAccentFocus design token
-
-
- Constructs an instance of the ForegroundOnAccentFocus design token
-
-
Constructs an instance of the ForegroundOnAccentFocus design token
@@ -12231,11 +11741,6 @@
The AccentForegroundRest design token
-
-
- Constructs an instance of the AccentForegroundRest design token
-
-
Constructs an instance of the AccentForegroundRest design token
@@ -12248,11 +11753,6 @@
The AccentForegroundHover design token
-
-
- Constructs an instance of the AccentForegroundHover design token
-
-
Constructs an instance of the AccentForegroundHover design token
@@ -12265,11 +11765,6 @@
The AccentForegroundActive design token
-
-
- Constructs an instance of the AccentForegroundActive design token
-
-
Constructs an instance of the AccentForegroundActive design token
@@ -12282,11 +11777,6 @@
The AccentForegroundFocus design token
-
-
- Constructs an instance of the AccentForegroundFocus design token
-
-
Constructs an instance of the AccentForegroundFocus design token
@@ -12299,11 +11789,6 @@
The AccentStrokeControlRest design token
-
-
- Constructs an instance of the AccentStrokeControlRest design token
-
-
Constructs an instance of the AccentStrokeControlRest design token
@@ -12316,11 +11801,6 @@
The AccentStrokeControlHover design token
-
-
- Constructs an instance of the AccentStrokeControlHover design token
-
-
Constructs an instance of the AccentStrokeControlHover design token
@@ -12333,11 +11813,6 @@
The AccentStrokeControlActive design token
-
-
- Constructs an instance of the AccentStrokeControlActive design token
-
-
Constructs an instance of the AccentStrokeControlActive design token
@@ -12350,11 +11825,6 @@
The AccentStrokeControlFocus design token
-
-
- Constructs an instance of the AccentStrokeControlFocus design token
-
-
Constructs an instance of the AccentStrokeControlFocus design token
@@ -12367,11 +11837,6 @@
The NeutralFillRest design token
-
-
- Constructs an instance of the NeutralFillRest design token
-
-
Constructs an instance of the NeutralFillRest design token
@@ -12384,11 +11849,6 @@
The NeutralFillHover design token
-
-
- Constructs an instance of the NeutralFillHover design token
-
-
Constructs an instance of the NeutralFillHover design token
@@ -12401,11 +11861,6 @@
The NeutralFillActive design token
-
-
- Constructs an instance of the NeutralFillActive design token
-
-
Constructs an instance of the NeutralFillActive design token
@@ -12418,11 +11873,6 @@
The NeutralFillFocus design token
-
-
- Constructs an instance of the NeutralFillFocus design token
-
-
Constructs an instance of the NeutralFillFocus design token
@@ -12435,11 +11885,6 @@
The NeutralFillInputRest design token
-
-
- Constructs an instance of the NeutralFillInputRest design token
-
-
Constructs an instance of the NeutralFillInputRest design token
@@ -12452,11 +11897,6 @@
The NeutralFillInputHover design token
-
-
- Constructs an instance of the NeutralFillInputHover design token
-
-
Constructs an instance of the NeutralFillInputHover design token
@@ -12469,11 +11909,6 @@
The NeutralFillInputActive design token
-
-
- Constructs an instance of the NeutralFillInputActive design token
-
-
Constructs an instance of the NeutralFillInputActive design token
@@ -12486,11 +11921,6 @@
The NeutralFillInputFocus design token
-
-
- Constructs an instance of the NeutralFillInputFocus design token
-
-
Constructs an instance of the NeutralFillInputFocus design token
@@ -12503,11 +11933,6 @@
The NeutralFillInputAltRest design token
-
-
- Constructs an instance of the NeutralFillInputAltRest design token
-
-
Constructs an instance of the NeutralFillInputAltRest design token
@@ -12520,11 +11945,6 @@
The NeutralFillInputAltHover design token
-
-
- Constructs an instance of the NeutralFillInputAltHover design token
-
-
Constructs an instance of the NeutralFillInputAltHover design token
@@ -12537,11 +11957,6 @@
The NeutralFillInputAltActive design token
-
-
- Constructs an instance of the NeutralFillInputAltActive design token
-
-
Constructs an instance of the NeutralFillInputAltActive design token
@@ -12554,11 +11969,6 @@
The NeutralFillInputAltFocus design token
-
-
- Constructs an instance of the NeutralFillInputAltFocus design token
-
-
Constructs an instance of the NeutralFillInputAltFocus design token
@@ -12571,11 +11981,6 @@
The NeutralFillLayerRest design token
-
-
- Constructs an instance of the NeutralFillLayerRest design token
-
-
Constructs an instance of the NeutralFillLayerRest design token
@@ -12588,11 +11993,6 @@
The NeutralFillLayerHover design token
-
-
- Constructs an instance of the NeutralFillLayerHover design token
-
-
Constructs an instance of the NeutralFillLayerHover design token
@@ -12605,11 +12005,6 @@
The NeutralFillLayerActive design token
-
-
- Constructs an instance of the NeutralFillLayerActive design token
-
-
Constructs an instance of the NeutralFillLayerActive design token
@@ -12622,11 +12017,6 @@
The NeutralFillLayerAltRest design token
-
-
- Constructs an instance of the NeutralFillLayerAltRest design token
-
-
Constructs an instance of the NeutralFillLayerAltRest design token
@@ -12639,11 +12029,6 @@
The NeutralFillSecondaryRest design token
-
-
- Constructs an instance of the NeutralFillSecondaryRest design token
-
-
Constructs an instance of the NeutralFillSecondaryRest design token
@@ -12656,11 +12041,6 @@
The NeutralFillSecondaryHover design token
-
-
- Constructs an instance of the NeutralFillSecondaryHover design token
-
-
Constructs an instance of the NeutralFillSecondaryHover design token
@@ -12673,11 +12053,6 @@
The NeutralFillSecondaryActive design token
-
-
- Constructs an instance of the NeutralFillSecondaryActive design token
-
-
Constructs an instance of the NeutralFillSecondaryActive design token
@@ -12690,11 +12065,6 @@
The NeutralFillSecondaryFocus design token
-
-
- Constructs an instance of the NeutralFillSecondaryFocus design token
-
-
Constructs an instance of the NeutralFillSecondaryFocus design token
@@ -12707,11 +12077,6 @@
The NeutralFillStealthRest design token
-
-
- Constructs an instance of the NeutralFillStealthRest design token
-
-
Constructs an instance of the NeutralFillStealthRest design token
@@ -12724,11 +12089,6 @@
The NeutralFillStealthHover design token
-
-
- Constructs an instance of the NeutralFillStealthHover design token
-
-
Constructs an instance of the NeutralFillStealthHover design token
@@ -12741,11 +12101,6 @@
The NeutralFillStealthActive design token
-
-
- Constructs an instance of the NeutralFillStealthActive design token
-
-
Constructs an instance of the NeutralFillStealthActive design token
@@ -12758,11 +12113,6 @@
The NeutralFillStealthFocus design token
-
-
- Constructs an instance of the NeutralFillStealthFocus design token
-
-
Constructs an instance of the NeutralFillStealthFocus design token
@@ -12775,11 +12125,6 @@
The NeutralFillStrongRest design token
-
-
- Constructs an instance of the NeutralFillStrongRest design token
-
-
Constructs an instance of the NeutralFillStrongRest design token
@@ -12792,11 +12137,6 @@
The NeutralFillStrongHover design token
-
-
- Constructs an instance of the NeutralFillStrongHover design token
-
-
Constructs an instance of the NeutralFillStrongHover design token
@@ -12809,11 +12149,6 @@
The NeutralFillStrongActive design token
-
-
- Constructs an instance of the NeutralFillStrongActive design token
-
-
Constructs an instance of the NeutralFillStrongActive design token
@@ -12826,11 +12161,6 @@
The NeutralFillStrongFocus design token
-
-
- Constructs an instance of the NeutralFillStrongFocus design token
-
-
Constructs an instance of the NeutralFillStrongFocus design token
@@ -12843,11 +12173,6 @@
The NeutralForegroundRest design token
-
-
- Constructs an instance of the NeutralForegroundRest design token
-
-
Constructs an instance of the NeutralForegroundRest design token
@@ -12860,11 +12185,6 @@
The NeutralForegroundHover design token
-
-
- Constructs an instance of the NeutralForegroundHover design token
-
-
Constructs an instance of the NeutralForegroundHover design token
@@ -12877,11 +12197,6 @@
The NeutralForegroundActive design token
-
-
- Constructs an instance of the NeutralForegroundActive design token
-
-
Constructs an instance of the NeutralForegroundActive design token
@@ -12894,11 +12209,6 @@
The NeutralForegroundFocus design token
-
-
- Constructs an instance of the NeutralForegroundFocus design token
-
-
Constructs an instance of the NeutralForegroundFocus design token
@@ -12911,11 +12221,6 @@
The NeutralForegroundHint design token
-
-
- Constructs an instance of the NeutralForegroundHint design token
-
-
Constructs an instance of the NeutralForegroundHint design token
@@ -12928,11 +12233,6 @@
The NeutralStrokeRest design token
-
-
- Constructs an instance of the NeutralStrokeRest design token
-
-
Constructs an instance of the NeutralStrokeRest design token
@@ -12945,11 +12245,6 @@
The NeutralStrokeHover design token
-
-
- Constructs an instance of the NeutralStrokeHover design token
-
-
Constructs an instance of the NeutralStrokeHover design token
@@ -12962,11 +12257,6 @@
The NeutralStrokeActive design token
-
-
- Constructs an instance of the NeutralStrokeActive design token
-
-
Constructs an instance of the NeutralStrokeActive design token
@@ -12979,11 +12269,6 @@
The NeutralStrokeFocus design token
-
-
- Constructs an instance of the NeutralStrokeFocus design token
-
-
Constructs an instance of the NeutralStrokeFocus design token
@@ -12996,11 +12281,6 @@
The NeutralStrokeControlRest design token
-
-
- Constructs an instance of the NeutralStrokeControlRest design token
-
-
Constructs an instance of the NeutralStrokeControlRest design token
@@ -13013,11 +12293,6 @@
The NeutralStrokeControlHover design token
-
-
- Constructs an instance of the NeutralStrokeControlHover design token
-
-
Constructs an instance of the NeutralStrokeControlHover design token
@@ -13030,11 +12305,6 @@
The NeutralStrokeControlActive design token
-
-
- Constructs an instance of the NeutralStrokeControlActive design token
-
-
Constructs an instance of the NeutralStrokeControlActive design token
@@ -13047,11 +12317,6 @@
The NeutralStrokeControlFocus design token
-
-
- Constructs an instance of the NeutralStrokeControlFocus design token
-
-
Constructs an instance of the NeutralStrokeControlFocus design token
@@ -13064,11 +12329,6 @@
The NeutralStrokeDividerRest design token
-
-
- Constructs an instance of the NeutralStrokeDividerRest design token
-
-
Constructs an instance of the NeutralStrokeDividerRest design token
@@ -13081,11 +12341,6 @@
The NeutralStrokeInputRest design token
-
-
- Constructs an instance of the NeutralStrokeInputRest design token
-
-
Constructs an instance of the NeutralStrokeInputRest design token
@@ -13098,11 +12353,6 @@
The NeutralStrokeInputHover design token
-
-
- Constructs an instance of the NeutralStrokeInputHover design token
-
-
Constructs an instance of the NeutralStrokeInputHover design token
@@ -13115,11 +12365,6 @@
The NeutralStrokeInputActive design token
-
-
- Constructs an instance of the NeutralStrokeInputActive design token
-
-
Constructs an instance of the NeutralStrokeInputActive design token
@@ -13132,11 +12377,6 @@
The NeutralStrokeInputFocus design token
-
-
- Constructs an instance of the NeutralStrokeInputFocus design token
-
-
Constructs an instance of the NeutralStrokeInputFocus design token
@@ -13149,11 +12389,6 @@
The NeutralStrokeLayerRest design token
-
-
- Constructs an instance of the NeutralStrokeLayerRest design token
-
-
Constructs an instance of the NeutralStrokeLayerRest design token
@@ -13166,11 +12401,6 @@
The NeutralStrokeLayerHover design token
-
-
- Constructs an instance of the NeutralStrokeLayerHover design token
-
-
Constructs an instance of the NeutralStrokeLayerHover design token
@@ -13183,11 +12413,6 @@
The NeutralStrokeLayerActive design token
-
-
- Constructs an instance of the NeutralStrokeLayerActive design token
-
-
Constructs an instance of the NeutralStrokeLayerActive design token
@@ -13200,11 +12425,6 @@
The NeutralStrokeStrongRest design token
-
-
- Constructs an instance of the NeutralStrokeStrongRest design token
-
-
Constructs an instance of the NeutralStrokeStrongRest design token
@@ -13217,11 +12437,6 @@
The NeutralStrokeStrongHover design token
-
-
- Constructs an instance of the NeutralStrokeStrongHover design token
-
-
Constructs an instance of the NeutralStrokeStrongHover design token
@@ -13234,11 +12449,6 @@
The NeutralStrokeStrongActive design token
-
-
- Constructs an instance of the NeutralStrokeStrongActive design token
-
-
Constructs an instance of the NeutralStrokeStrongActive design token
@@ -13251,11 +12461,6 @@
The NeutralStrokeStrongFocus design token
-
-
- Constructs an instance of the NeutralStrokeStrongFocus design token
-
-
Constructs an instance of the NeutralStrokeStrongFocus design token
@@ -13268,11 +12473,6 @@
The FocusStrokeOuter design token
-
-
- Constructs an instance of the FocusStrokeOuter design token
-
-
Constructs an instance of the FocusStrokeOuter design token
@@ -13285,11 +12485,6 @@
The FocusStrokeInner design token
-
-
- Constructs an instance of the FocusStrokeInner design token
-
-
Constructs an instance of the FocusStrokeInner design token
diff --git a/src/Core/Extensions/ServiceCollectionExtensions.cs b/src/Core/Extensions/ServiceCollectionExtensions.cs
index c82e07c4a1..d608fa88de 100644
--- a/src/Core/Extensions/ServiceCollectionExtensions.cs
+++ b/src/Core/Extensions/ServiceCollectionExtensions.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// ------------------------------------------------------------------------
+
using Microsoft.Extensions.DependencyInjection;
using Microsoft.FluentUI.AspNetCore.Components.Components.Tooltip;
using Microsoft.FluentUI.AspNetCore.Components.DesignTokens;
@@ -52,7 +56,7 @@ public static IServiceCollection AddFluentUIComponents(this IServiceCollection s
}
services.AddSingleton(options);
- services.AddDesignTokens();
+ services.AddDesignTokens(options);
return services;
}
diff --git a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
index baf0345d67..ce51e458e9 100644
--- a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
+++ b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// ------------------------------------------------------------------------
+
using System;
using System.Collections.Generic;
using System.Linq;
@@ -57,14 +61,6 @@ public void GenerateSource(SourceProductionContext context, string? assemblyName
sb.AppendLine("\t/// ");
sb.AppendLine($"\t/// Constructs an instance of the {name} design token");
sb.AppendLine("\t/// ");
- sb.AppendLine($"\tpublic {name}()");
- sb.AppendLine("\t{");
- sb.AppendLine($"\t\tName = Constants.{name};");
- sb.AppendLine("\t}");
- sb.AppendLine("");
- sb.AppendLine("\t/// ");
- sb.AppendLine($"\t/// Constructs an instance of the {name} design token");
- sb.AppendLine("\t/// ");
sb.AppendLine("\t/// IJSRuntime reference");
sb.AppendLine("\t/// LibraryConfiguration reference");
sb.AppendLine($"\tpublic {name}(IJSRuntime jsRuntime, LibraryConfiguration libraryConfiguration) : base(jsRuntime, libraryConfiguration)");
@@ -76,15 +72,17 @@ public void GenerateSource(SourceProductionContext context, string? assemblyName
context.AddSource($"DesignTokens.g.cs", SourceText.From(sb.ToString(), Encoding.UTF8));
sb.Clear();
- sb.AppendLine("using Microsoft.Extensions.DependencyInjection;\n");
+ sb.AppendLine("using Microsoft.Extensions.DependencyInjection;");
+ sb.AppendLine("using Microsoft.JSInterop;\n");
sb.AppendLine("namespace Microsoft.FluentUI.AspNetCore.Components.DesignTokens;\n");
sb.AppendLine("public static class ServiceCollectionExtensions");
sb.AppendLine("{");
- sb.AppendLine("\tpublic static void AddDesignTokens(this IServiceCollection services)");
+ sb.AppendLine("\tpublic static void AddDesignTokens(this IServiceCollection services, LibraryConfiguration? config)");
sb.AppendLine("\t{");
foreach (FieldInfo info in GetConstants(typeof(DesignTokenConstants)))
{
- sb.AppendLine($"\t\tservices.AddTransient<{info.Name[0].ToString().ToUpperInvariant() + info.Name.Substring(1)}>();");
+ var name = info.Name[0].ToString().ToUpperInvariant() + info.Name.Substring(1);
+ sb.AppendLine($"\t\tservices.AddTransient<{name}>(p => new {name}(p.GetRequiredService(), config));");
}
sb.AppendLine("\t}");
sb.AppendLine("}");