From 996e3c35c1c89e8baae3b74c5ff0f2bf7602652d Mon Sep 17 00:00:00 2001 From: tfsbuild Date: Thu, 20 Feb 2025 20:25:31 +0200 Subject: [PATCH] Adding changes from build igniteui-xplat-examples-output+PRs_2025.2.20.3 --- samples/charts/data-pie-chart/animation/src/index.tsx | 4 ++++ samples/charts/data-pie-chart/highlighting/src/index.tsx | 4 ++++ samples/charts/data-pie-chart/others/src/index.tsx | 6 ++++++ samples/charts/data-pie-chart/selection/src/index.tsx | 6 ++++-- .../actions-built-in-category-chart/src/index.tsx | 4 +++- samples/charts/toolbar/custom-tool/src/index.tsx | 9 +++++++++ samples/charts/toolbar/theming/src/index.tsx | 2 ++ 7 files changed, 32 insertions(+), 3 deletions(-) diff --git a/samples/charts/data-pie-chart/animation/src/index.tsx b/samples/charts/data-pie-chart/animation/src/index.tsx index 6e0942d85a..fb4ffeb18a 100644 --- a/samples/charts/data-pie-chart/animation/src/index.tsx +++ b/samples/charts/data-pie-chart/animation/src/index.tsx @@ -24,6 +24,8 @@ export default class Sample extends React.Component { this.propertyEditorPanel1 = r; this.setState({}); } + private transitionInModeEditor: IgrPropertyEditorPropertyDescription + private transitionInSpeedTypeEditor: IgrPropertyEditorPropertyDescription private chart: IgrDataPieChart private chartRef(r: IgrDataPieChart) { this.chart = r; @@ -50,11 +52,13 @@ export default class Sample extends React.Component { ref={this.propertyEditorPanel1Ref}> diff --git a/samples/charts/data-pie-chart/highlighting/src/index.tsx b/samples/charts/data-pie-chart/highlighting/src/index.tsx index ed3cdf9c11..adb2e793c5 100644 --- a/samples/charts/data-pie-chart/highlighting/src/index.tsx +++ b/samples/charts/data-pie-chart/highlighting/src/index.tsx @@ -24,6 +24,8 @@ export default class Sample extends React.Component { this.propertyEditorPanel1 = r; this.setState({}); } + private highlightingModeEditor: IgrPropertyEditorPropertyDescription + private highlightingBehaviorEditor: IgrPropertyEditorPropertyDescription private chart: IgrDataPieChart private chartRef(r: IgrDataPieChart) { this.chart = r; @@ -50,11 +52,13 @@ export default class Sample extends React.Component { ref={this.propertyEditorPanel1Ref}> diff --git a/samples/charts/data-pie-chart/others/src/index.tsx b/samples/charts/data-pie-chart/others/src/index.tsx index a446d86a22..810d3260c9 100644 --- a/samples/charts/data-pie-chart/others/src/index.tsx +++ b/samples/charts/data-pie-chart/others/src/index.tsx @@ -24,6 +24,9 @@ export default class Sample extends React.Component { this.propertyEditorPanel1 = r; this.setState({}); } + private othersCategoryTypeEditor: IgrPropertyEditorPropertyDescription + private othersCategoryThresholdEditor: IgrPropertyEditorPropertyDescription + private othersCategoryTextEditor: IgrPropertyEditorPropertyDescription private chart: IgrDataPieChart private chartRef(r: IgrDataPieChart) { this.chart = r; @@ -50,12 +53,14 @@ export default class Sample extends React.Component { ref={this.propertyEditorPanel1Ref}> { diff --git a/samples/charts/data-pie-chart/selection/src/index.tsx b/samples/charts/data-pie-chart/selection/src/index.tsx index 965b799fd3..eef1acd123 100644 --- a/samples/charts/data-pie-chart/selection/src/index.tsx +++ b/samples/charts/data-pie-chart/selection/src/index.tsx @@ -24,7 +24,8 @@ export default class Sample extends React.Component { this.propertyEditorPanel1 = r; this.setState({}); } - private selectionBehavior: IgrPropertyEditorPropertyDescription + private selectionBehaviorEditor: IgrPropertyEditorPropertyDescription + private selectionModeEditor: IgrPropertyEditorPropertyDescription private chart: IgrDataPieChart private chartRef(r: IgrDataPieChart) { this.chart = r; @@ -53,7 +54,7 @@ export default class Sample extends React.Component { label="Selection Behavior: " valueType="EnumValue" propertyPath="SelectionBehavior" - name="SelectionBehavior" + name="SelectionBehaviorEditor" shouldOverrideDefaultEditor="true" dropDownNames={["PerDataItemSingleSelect", "PerDataItemMultiSelect"]} dropDownValues={["PerDataItemSingleSelect", "PerDataItemMultiSelect"]} @@ -61,6 +62,7 @@ export default class Sample extends React.Component { diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/index.tsx b/samples/charts/toolbar/actions-built-in-category-chart/src/index.tsx index 759f8053eb..840e848af9 100644 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/index.tsx +++ b/samples/charts/toolbar/actions-built-in-category-chart/src/index.tsx @@ -4,6 +4,7 @@ import './index.css'; import { IgrLegendModule, IgrCategoryChartModule, IgrCategoryChartToolbarModule } from 'igniteui-react-charts'; import { IgrToolbarModule } from 'igniteui-react-layouts'; +import { IgrCheckboxListModule } from 'igniteui-react-grids'; import { IgrLegend, IgrCategoryChart } from 'igniteui-react-charts'; import { IgrToolbar } from 'igniteui-react-layouts'; import { CountryRenewableElectricityItem, CountryRenewableElectricity } from './CountryRenewableElectricity'; @@ -12,7 +13,8 @@ const mods: any[] = [ IgrLegendModule, IgrToolbarModule, IgrCategoryChartModule, - IgrCategoryChartToolbarModule + IgrCategoryChartToolbarModule, + IgrCheckboxListModule ]; mods.forEach((m) => m.register()); diff --git a/samples/charts/toolbar/custom-tool/src/index.tsx b/samples/charts/toolbar/custom-tool/src/index.tsx index 7c65e6a1a7..b645815f41 100644 --- a/samples/charts/toolbar/custom-tool/src/index.tsx +++ b/samples/charts/toolbar/custom-tool/src/index.tsx @@ -29,6 +29,7 @@ export default class Sample extends React.Component { this.setState({}); } private customIconName: IgrToolActionLabel + private customIconName2: IgrToolActionLabel private chart: IgrCategoryChart private chartRef(r: IgrCategoryChart) { this.chart = r; @@ -67,6 +68,12 @@ export default class Sample extends React.Component { iconCollectionName="CustomCollection" name="CustomIconName"> + + @@ -117,6 +124,8 @@ export default class Sample extends React.Component { const icon = ''; toolbar.registerIconFromText("CustomCollection", "CustomIcon", icon); + toolbar.registerIconFromDataURL("CustomCollection2", "CustomIcon2", "https://www.svgrepo.com/show/678/calculator.svg"); + } } diff --git a/samples/charts/toolbar/theming/src/index.tsx b/samples/charts/toolbar/theming/src/index.tsx index 83ec82a3d2..8ace3ee120 100644 --- a/samples/charts/toolbar/theming/src/index.tsx +++ b/samples/charts/toolbar/theming/src/index.tsx @@ -30,6 +30,7 @@ export default class Sample extends React.Component { this.propertyEditorPanel1 = r; this.setState({}); } + private baseThemeEditor: IgrPropertyEditorPropertyDescription private toolbar: IgrToolbar private toolbarRef(r: IgrToolbar) { this.toolbar = r; @@ -65,6 +66,7 @@ export default class Sample extends React.Component { ref={this.propertyEditorPanel1Ref}>