Skip to content

Commit

Permalink
fix: implement fundamental-styles version 0.11 (#3073)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
removed select-native, identifier (use Avatar instead), image component (use Avatar instead), dropdown component, replaced image in shellbar user-menu with avatar
  • Loading branch information
katekozlowska committed Aug 24, 2020
1 parent 4955a34 commit 1ce2b1f
Show file tree
Hide file tree
Showing 125 changed files with 140 additions and 1,730 deletions.
2 changes: 1 addition & 1 deletion NEW_COMPONENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ You should see 'Poster' appear in the side navigation under 'Components'. Clicki
In the library source, open `poster.component.html`, remove the default code and add an image with a placeholder.

```HTML
<img src="https://placeimg.com/400/600/nature'"/>
<img src="http://lorempixel.com/400/600/nature/"/>

```

Expand Down
2 changes: 1 addition & 1 deletion NEW_PLATFORM_COMPONENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ You should see 'Poster' appear in the side navigation under 'Components'. Clicki
In the library source, open `poster.component.html`, remove the default code and add an image with a placeholder.
```HTML
<img src="https://placeimg.com/400/600/nature'"/>
<img src="http://lorempixel.com/400/600/nature/"/>
```
Now, when you navigate to the Poster docs through the side navigation, you'll see our new Poster component!
Expand Down
3 changes: 0 additions & 3 deletions apps/docs/src/app/core/api-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const API_FILES = {
checkbox: ['CheckboxComponent'],
datePicker: ['DatePickerComponent', 'DateFormatParser', 'DateFormatParserDefault', 'FdDate'],
datetimePicker: ['DatetimePickerComponent', 'FdDateTime', 'DateTimeFormatParser', 'DateTimeFormatParserDefault'],
dropdown: ['PopoverDropdownComponent'],
fileInput: ['FileInputComponent', 'FileSelectDirective', 'FileDragndropDirective'],
fileUploader: ['FileUploaderComponent', 'FileUploaderSelectDirective', 'FileUploaderDragndropDirective'],
form: [
Expand All @@ -55,8 +54,6 @@ export const API_FILES = {
globalConfig: [
],
icon: ['IconComponent'],
identifier: ['IdentifierComponent'],
image: ['ImageComponent'],
infoLabel: ['InfoLabelComponent'],
infiniteScroll: ['InfiniteScrollDirective'],
inlineHelp: ['InlineHelpComponent'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<fd-avatar image="https://placeimg.com/400/400/nature" size="xs"></fd-avatar>
<fd-avatar image="https://placeimg.com/400/400/nature" size="s"></fd-avatar>
<fd-avatar image="https://placeimg.com/400/400/nature" size="m"></fd-avatar>
<fd-avatar image="https://placeimg.com/400/400/nature" size="l"></fd-avatar>
<fd-avatar image="https://placeimg.com/400/400/nature" size="xl"></fd-avatar>
<fd-avatar image="http://lorempixel.com/400/400/nature"size="xs"></fd-avatar>
<fd-avatar image="http://lorempixel.com/400/400/nature"size="s"></fd-avatar>
<fd-avatar image="http://lorempixel.com/400/400/nature"size="m"></fd-avatar>
<fd-avatar image="http://lorempixel.com/400/400/nature"size="l"></fd-avatar>
<fd-avatar image="http://lorempixel.com/400/400/nature"size="xl"></fd-avatar>
4 changes: 2 additions & 2 deletions apps/docs/src/app/core/component-docs/bar/bar-docs.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { BarHeaderExampleComponent } from './examples/bar-header-example.compone
import { BarPageExampleComponent } from './examples/bar-page-example.component';
import { BarPageResponsiveExampleComponent } from './examples/bar-page-responsive-example.component';
import { BarHeaderComponent } from './bar-header/bar-header.component';
import { BarModule, ImageModule } from '@fundamental-ngx/core';
import { AvatarModule, BarModule } from '@fundamental-ngx/core';
import { SharedDocumentationPageModule } from '../../../documentation/shared-documentation-page.module';

const routes: Routes = [
Expand All @@ -29,7 +29,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forChild(routes), SharedDocumentationPageModule, BarModule, ImageModule],
imports: [RouterModule.forChild(routes), AvatarModule, SharedDocumentationPageModule, BarModule],
exports: [RouterModule],
declarations: [
BarDocsComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Right Section
</fd-bar-element>
<fd-bar-element>
<fd-image [size]="'s'" [photo]="'https://placeimg.com/400/400/nature'"> </fd-image>
<fd-avatar size="xs" image="'http://lorempixel.com/400/400/nature"> </fd-avatar>
</fd-bar-element>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Right Section
</fd-bar-element>
<fd-bar-element>
<fd-image [size]="'s'" [photo]="'https://placeimg.com/400/400/nature'"> </fd-image>
<fd-avatar size="xs" image="http://lorempixel.com/400/400/nature"> </fd-avatar>
</fd-bar-element>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Right Section
</fd-bar-element>
<fd-bar-element>
<fd-image [size]="'s'" [photo]="'https://placeimg.com/400/400/nature'"> </fd-image>
<fd-avatar size="xs" image="http://lorempixel.com/400/400/nature"> </fd-avatar>
</fd-bar-element>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Right Section
</fd-bar-element>
<fd-bar-element>
<fd-image [size]="'s'" [photo]="'https://placeimg.com/400/400/nature'"> </fd-image>
<fd-avatar size="xs" image="http://lorempixel.com/400/400/nature"> </fd-avatar>
</fd-bar-element>
</div>
</div>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

0 comments on commit 1ce2b1f

Please sign in to comment.