-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create v9 theme wrapper * Use v9 dropdown control * Add portal compat provider * Address comments --------- Co-authored-by: Atishay Jain (from Dev Box) <[email protected]>
- Loading branch information
1 parent
7f9bf9c
commit 6cb1533
Showing
10 changed files
with
2,061 additions
and
16,623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"appService.defaultWebAppToDeploy": "undefined/subscriptions/394a341b-4f31-4bea-8f00-9577217a04d2/resourceGroups/loopback/providers/Microsoft.Web/sites/fluentchartstest", | ||
"appService.deploySubpath": "build" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { ThemeProvider, createTheme } from '@fluentui/react' | ||
import React from 'react'; | ||
import { Subtitle1 } from "@fluentui/react-components"; | ||
import { paletteSlots, semanticSlots } from "../theming/v8TokenMapping"; | ||
import { DeclarativeChartBasicExample } from './DeclarativeChart'; | ||
|
||
export function ChartWrapper() { | ||
const v8Theme = createTheme({ palette: paletteSlots, semanticColors: semanticSlots }); //ToDo - Make the slot values dynamic | ||
return ( | ||
<ThemeProvider theme={v8Theme}> | ||
<Subtitle1 align="center" style={{marginLeft:'30%'}}>Declarative chart using plotly schema</Subtitle1> | ||
<DeclarativeChartBasicExample /> | ||
</ThemeProvider> | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.