Skip to content

Commit 0305ed6

Browse files
authored
Merge pull request #188 from ZhiliangLiu/zoranliu/fabric-build
Zoranliu/fabric build
2 parents 7d6d366 + ba4cae8 commit 0305ed6

9 files changed

Lines changed: 1405 additions & 1028 deletions

File tree

apps/demo/src/app/app.component.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ import {
88
IDropdownOption,
99
ICheckboxProps,
1010
IPersonaProps,
11-
IPeoplePickerProps,
1211
} from '@fluentui/react';
1312
import { RenderPropOptions } from '@angular-react/core';
14-
import { FabDropdownComponent } from '@angular-react/fabric';
15-
import { FabPeoplePickerComponent } from '@angular-react/fabric/public-api';
16-
import { createListItems, createGroups, IExampleItem } from '@uifabric/example-data';
17-
import { IColumn, DetailsRow, IGroup } from '@fluentui/react/lib/DetailsList';
13+
import { FabDropdownComponent } from '@angular-react/fabric/lib/components/dropdown';
14+
import { createListItems, createGroups } from '@uifabric/example-data';
15+
import { IColumn, IGroup } from '@fluentui/react/lib/DetailsList';
1816

1917
const suffix = ' cm';
2018
interface IKeyboardShortcutsTab {

apps/demo/src/app/app.module.ts

Lines changed: 37 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,46 @@
11
import { AngularReactBrowserModule } from '@angular-react/core';
2-
import {
3-
FabBreadcrumbModule,
4-
FabButtonModule,
5-
FabCalendarModule,
6-
FabCalloutModule,
7-
FabCheckboxModule,
8-
FabChoiceGroupModule,
9-
FabComboBoxModule,
10-
FabCommandBarModule,
11-
FabDatePickerModule,
12-
FabDetailsListModule,
13-
FabDialogModule,
14-
FabDividerModule,
15-
FabFabricModule,
16-
FabDropdownModule,
17-
FabGroupModule,
18-
FabGroupedListModule,
19-
FabHoverCardModule,
20-
FabIconModule,
21-
FabImageModule,
22-
FabLinkModule,
23-
FabMarqueeSelectionModule,
24-
FabMessageBarModule,
25-
FabModalModule,
26-
FabPanelModule,
27-
FabPersonaModule,
28-
FabPivotModule,
29-
FabSearchBoxModule,
30-
FabShimmerModule,
31-
FabSliderModule,
32-
FabSpinnerModule,
33-
FabToggleModule,
34-
FabTooltipModule,
35-
FabSpinButtonModule,
36-
FabTextFieldModule,
37-
FabPeoplePickerModule,
38-
FabTagPickerModule,
39-
FabProgressIndicatorModule,
40-
FabRatingModule
41-
} from '@angular-react/fabric';
422
import { NgModule } from '@angular/core';
433
import { NxModule } from '@nrwl/nx';
444
import { initializeIcons } from '@fluentui/react/lib/Icons';
455
import { AppComponent } from './app.component';
466
import { CounterComponent } from './counter/counter.component';
7+
import { FabFabricModule } from '@angular-react/fabric/lib/components/fabric';
8+
import { FabIconModule } from '@angular-react/fabric/lib/components/icon';
9+
import { FabButtonModule } from '@angular-react/fabric/lib/components/button';
10+
import { FabDialogModule } from '@angular-react/fabric/lib/components/dialog';
11+
import { FabImageModule } from '@angular-react/fabric/lib/components/image';
12+
import { FabDropdownModule } from '@angular-react/fabric/lib/components/dropdown';
13+
import { FabPanelModule } from '@angular-react/fabric/lib/components/panel';
14+
import { FabCommandBarModule } from '@angular-react/fabric/lib/components/command-bar';
15+
import { FabBreadcrumbModule } from '@angular-react/fabric/lib/components/breadcrumb';
16+
import { FabCalloutModule } from '@angular-react/fabric/lib/components/callout';
17+
import { FabCheckboxModule } from '@angular-react/fabric/lib/components/checkbox';
18+
import { FabChoiceGroupModule } from '@angular-react/fabric/lib/components/choice-group';
19+
import { FabComboBoxModule } from '@angular-react/fabric/lib/components/combo-box';
20+
import { FabGroupedListModule } from '@angular-react/fabric/lib/components/grouped-list';
21+
import { FabDatePickerModule } from '@angular-react/fabric/lib/components/date-picker';
22+
import { FabDividerModule } from '@angular-react/fabric/lib/components/divider';
23+
import { FabSpinnerModule } from '@angular-react/fabric/lib/components/spinner';
24+
import { FabToggleModule } from '@angular-react/fabric/lib/components/toggle';
25+
import { FabPersonaModule } from '@angular-react/fabric/lib/components/persona';
26+
import { FabPivotModule } from '@angular-react/fabric/lib/components/pivot';
27+
import { FabLinkModule } from '@angular-react/fabric/lib/components/link';
28+
import { FabMessageBarModule } from '@angular-react/fabric/lib/components/message-bar';
29+
import { FabHoverCardModule } from '@angular-react/fabric/lib/components/hover-card';
30+
import { FabModalModule } from '@angular-react/fabric/lib/components/modal';
31+
import { FabTooltipModule } from '@angular-react/fabric/lib/components/tooltip';
32+
import { FabShimmerModule } from '@angular-react/fabric/lib/components/shimmer';
33+
import { FabSliderModule } from '@angular-react/fabric/lib/components/slider';
34+
import { FabSearchBoxModule } from '@angular-react/fabric/lib/components/search-box';
35+
import { FabCalendarModule } from '@angular-react/fabric/lib/components/calendar';
36+
import { FabDetailsListModule } from '@angular-react/fabric/lib/components/details-list';
37+
import { FabGroupModule } from '@angular-react/fabric/lib/components/group';
38+
import { FabMarqueeSelectionModule } from '@angular-react/fabric/lib/components/marquee-selection';
39+
import { FabSpinButtonModule } from '@angular-react/fabric/lib/components/spin-button';
40+
import { FabTextFieldModule } from '@angular-react/fabric/lib/components/text-field';
41+
import { FabPeoplePickerModule, FabTagPickerModule } from '@angular-react/fabric/lib/components/pickers';
42+
import { FabProgressIndicatorModule } from '@angular-react/fabric/lib/components/progress-indicator';
43+
import { FabRatingModule } from '@angular-react/fabric/lib/components/rating';
4744

4845
@NgModule({
4946
imports: [

libs/core/tsconfig.lib.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"skipTemplateCodegen": true,
2121
"strictMetadataEmit": true,
2222
"fullTemplateTypeCheck": true,
23-
"strictInjectionParameters": true,
24-
"flatModuleId": "AUTOGENERATED",
25-
"flatModuleOutFile": "AUTOGENERATED"
23+
"strictInjectionParameters": true
2624
},
2725
"exclude": ["src/test.ts", "**/*.spec.ts"]
2826
}

libs/fabric/public-api.ts

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,4 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
export * from './lib/components/breadcrumb/public-api';
5-
export * from './lib/components/button/public-api';
6-
export * from './lib/components/calendar/public-api';
7-
export * from './lib/components/callout/public-api';
8-
export * from './lib/components/checkbox/public-api';
9-
export * from './lib/components/choice-group/public-api';
10-
export * from './lib/components/combo-box/public-api';
11-
export * from './lib/components/command-bar/public-api';
12-
export * from './lib/components/contextual-menu/public-api';
13-
export * from './lib/components/core/public-api';
14-
export * from './lib/components/date-picker/public-api';
15-
export * from './lib/components/details-list/public-api';
16-
export * from './lib/components/dialog/public-api';
17-
export * from './lib/components/divider/public-api';
18-
export * from './lib/components/dropdown/public-api';
19-
export * from './lib/components/fabric/public-api';
20-
export * from './lib/components/group/public-api';
21-
export * from './lib/components/grouped-list/public-api';
22-
export * from './lib/components/hover-card/public-api';
23-
export * from './lib/components/icon/public-api';
24-
export * from './lib/components/image/public-api';
25-
export * from './lib/components/link/public-api';
26-
export * from './lib/components/marquee-selection/public-api';
27-
export * from './lib/components/message-bar/public-api';
28-
export * from './lib/components/modal/public-api';
29-
export * from './lib/components/nav/public-api';
30-
export * from './lib/components/panel/public-api';
31-
export * from './lib/components/persona/public-api';
32-
export * from './lib/components/pickers/public-api';
33-
export * from './lib/components/pivot/public-api';
34-
export * from './lib/components/progress-indicator/public-api';
35-
export * from './lib/components/rating/public-api';
36-
export * from './lib/components/search-box/public-api';
37-
export * from './lib/components/shimmer/public-api';
38-
export * from './lib/components/slider/public-api';
39-
export * from './lib/components/spin-button/public-api';
40-
export * from './lib/components/spinner/public-api';
41-
export * from './lib/components/text-field/public-api';
42-
export * from './lib/components/toggle/public-api';
43-
export * from './lib/components/tooltip/public-api';
4+
export {};

libs/fabric/tsconfig.lib.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"angularCompilerOptions": {
33
"annotateForClosureCompiler": true,
4-
"flatModuleId": "AUTOGENERATED",
5-
"flatModuleOutFile": "AUTOGENERATED",
64
"skipTemplateCodegen": true,
75
"strictMetadataEmit": true
86
},
@@ -26,6 +24,5 @@
2624
"@angular-react/*": ["../../@angular-react/*"]
2725
}
2826
},
29-
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"],
30-
"files": ["AUTOGENERATED"]
27+
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"]
3128
}

libs/semantic-ui/tsconfig.lib.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"angularCompilerOptions": {
33
"annotateForClosureCompiler": true,
4-
"flatModuleId": "AUTOGENERATED",
5-
"flatModuleOutFile": "AUTOGENERATED",
64
"skipTemplateCodegen": true,
75
"strictMetadataEmit": true
86
},
@@ -26,6 +24,5 @@
2624
"@angular-react/*": ["../../@angular-react/*"]
2725
}
2826
},
29-
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"],
30-
"files": ["AUTOGENERATED"]
27+
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"]
3128
}

libs/toolkit/tsconfig.lib.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"angularCompilerOptions": {
33
"annotateForClosureCompiler": true,
4-
"flatModuleId": "AUTOGENERATED",
5-
"flatModuleOutFile": "AUTOGENERATED",
64
"skipTemplateCodegen": true,
75
"strictMetadataEmit": true
86
},
@@ -26,6 +24,5 @@
2624
"@angular-react/*": ["../../@angular-react/*"]
2725
}
2826
},
29-
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"],
30-
"files": ["AUTOGENERATED"]
27+
"exclude": ["node_modules", "dist", "**/*.ngfactory.ts", "**/*.shim.ts", "**/*.spec.ts"]
3128
}

0 commit comments

Comments
 (0)