Skip to content

Commit

Permalink
feat(core): remove legacy core ui styles, configurations and componen…
Browse files Browse the repository at this point in the history
…t prefix

- change prefix from cw to ix
  • Loading branch information
danielleroux committed Aug 17, 2022
1 parent d397cb1 commit 26647ec
Show file tree
Hide file tree
Showing 701 changed files with 5,514 additions and 10,218 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"release": "node ./scripts/release.js",
"push-git": "node ./scripts/push-git.js",
"sonarqube": "sonar-scanner",
"visual-regression-ci": "nx run core:test.e2e.list",
"visual-regression-ci": "npx playwright install chromium && nx run core:test.e2e",
"visual-regression": "docker run --rm --network host -v $(pwd):/work/ -w /work mcr.microsoft.com/playwright:v1.24.0-focal /bin/bash -c \"npm run visual-regression-ci\""
},
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { Component } from '@angular/core';
selector: 'app-button-group',
template: `
<div class="btn-group">
<cw-button variant="Primary" outline> Left </cw-button>
<cw-button variant="Primary">Middle</cw-button>
<cw-button variant="Primary" outline> Right </cw-button>
<ix-button variant="Primary" outline> Left </ix-button>
<ix-button variant="Primary">Middle</ix-button>
<ix-button variant="Primary" outline> Right </ix-button>
</div>
`,
})
Expand Down
8 changes: 4 additions & 4 deletions packages/angular-test-app/src/preview-examples/buttons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { Component } from '@angular/core';
@Component({
selector: 'app-buttons',
template: `
<cw-button class="m-1" variant="primary">Webcomponents button</cw-button>
<cw-button class="m-1" variant="secondary">Webcomponents button</cw-button>
<cw-button class="m-1" outline>Webcomponents button</cw-button>
<cw-button class="m-1" invisible>Webcomponents button</cw-button>
<ix-button class="m-1" variant="primary">Webcomponents button</ix-button>
<ix-button class="m-1" variant="secondary">Webcomponents button</ix-button>
<ix-button class="m-1" outline>Webcomponents button</ix-button>
<ix-button class="m-1" invisible>Webcomponents button</ix-button>
`,
})
export class Buttons {}
2 changes: 1 addition & 1 deletion packages/angular-test-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

@import './../../../node_modules/@siemens/ix-aggrid/dist/ix-aggrid/ix-aggrid.css';

@import './../../../node_modules/@siemens/ix/dist/core-ui-core/core-ui-core.css';
@import './../../../node_modules/@siemens/ix/dist/siemens-ix/siemens-ix.css';
@import './../../../node_modules/@siemens/core-ui-icons/dist/css/core-ui-webfont.css';
Loading

0 comments on commit 26647ec

Please sign in to comment.