-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1174 from IgniteUI/bpenkov/standalone-components
Update to standalone components
- Loading branch information
Showing
1,018 changed files
with
72,510 additions
and
814 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
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
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 @@ | ||
export const IGNITEUI_ANGULAR_PACKAGE = "igniteui-angular@~17.0.0"; |
86 changes: 86 additions & 0 deletions
86
...ates/igx-ts-legacy/accordion/default/files/src/app/__path__/__filePrefix__.component.html
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,86 @@ | ||
<p>igx-accordion component sample.</p> | ||
<p>You can read more about configuring the igx-tabs component in the | ||
<a href="https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/accordion/README.md" target="_blank">README</a> or the | ||
<a href="https://www.infragistics.com/products/ignite-ui-angular/angular/components/accordion" target="_blank">official documentation</a>.</p> | ||
<igx-switch [(ngModel)]="singleBranchExpand">Single Branch Expand</igx-switch> | ||
<article class="sample-wrapper"> | ||
<igx-accordion #accordion [singleBranchExpand]="singleBranchExpand"> | ||
<igx-expansion-panel> | ||
<igx-expansion-panel-header class="expansion-header"> | ||
<igx-expansion-panel-title>What has changed about subscription and pricing model? | ||
</igx-expansion-panel-title> | ||
</igx-expansion-panel-header> | ||
<igx-expansion-panel-body> | ||
We have moved to a subscription-based pricing model for all our developer tools. This makes it easier | ||
for you to manage your license subscriptions and allows us to provide a better level of service for you. | ||
|
||
We updated our pricing and packages to provide you with flexible options and the best value. This | ||
includes <a href="https://www.infragistics.com/products/ignite-ui">Ignite UI </a>(formerly Ignite UI for | ||
JavaScript) which includes all of our JavaScript framework | ||
components for web development, including: Angular, ASP.NET (Core and MVC), Blazor, JQuery, React and | ||
Web Components), as well as Infragistics Professional, Infragistics Ultimate, our Ultimate UI products. | ||
|
||
We also offer multi-year subscriptions options with a built-in discount, so you can see the value up | ||
front. With these updates we are confident that we are providing the best platforms and the best price. | ||
</igx-expansion-panel-body> | ||
</igx-expansion-panel> | ||
<igx-expansion-panel> | ||
<igx-expansion-panel-header class="expansion-header"> | ||
<igx-expansion-panel-title>Who will the updated changes impact?</igx-expansion-panel-title> | ||
</igx-expansion-panel-header> | ||
<igx-expansion-panel-body> | ||
The license updates will impact all new and current customers using Ignite UI, Infragistics Professional | ||
and Infragistics Ultimate. Specifically, we have also made updates to our product and packaging for | ||
Ignite UI for JavaScript, Ignite UI for Angular, Ignite UI for React and Ignite UI for Web components. | ||
For more information, please refer to this blog: | ||
|
||
<a | ||
href="https://www.infragistics.com/community/blogs/b/jason_beres/posts/announcement-changes-to-ignite-ui-product-packaging">Announcement: | ||
Changes to Ignite UI Product & Packaging</a> | ||
|
||
The pricing has been updated for all products and packages. So, all new or additional licenses will be | ||
sold based on our new pricing and packages. All existing license agreements will be honored and renewed | ||
based upon the current agreement. | ||
</igx-expansion-panel-body> | ||
</igx-expansion-panel> | ||
<igx-expansion-panel> | ||
<igx-expansion-panel-header class="expansion-header"> | ||
<igx-expansion-panel-title>What is the difference between your old model and your current subscription | ||
model | ||
for Ignite UI?</igx-expansion-panel-title> | ||
</igx-expansion-panel-header> | ||
<igx-expansion-panel-body> | ||
For Ignite UI customers, we are moving away from NPM for licensed packages. The current NPM packages | ||
will be replaced with packages that include a “Trial Version” watermark. Licensed packages for Ignite UI | ||
will be available from our cloud hosted ProGet server. | ||
|
||
For more information, please refer to this article: | ||
|
||
<a | ||
href="https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/ignite-ui-licensing">Moving | ||
from Trial to Licensed Ignite UI NPM Packages</a> | ||
</igx-expansion-panel-body> | ||
</igx-expansion-panel> | ||
<igx-expansion-panel> | ||
<igx-expansion-panel-header class="expansion-header"> | ||
<igx-expansion-panel-title>What happens if I don’t renew my subscription?</igx-expansion-panel-title> | ||
</igx-expansion-panel-header> | ||
<igx-expansion-panel-body> | ||
Any unlicensed or trial versions of Ignite UI for Angular, React and Web Components will now include | ||
this watermark. | ||
</igx-expansion-panel-body> | ||
</igx-expansion-panel> | ||
<igx-expansion-panel> | ||
<igx-expansion-panel-header class="expansion-header"> | ||
<igx-expansion-panel-title>If I don’t renew my subscription will I still have access to previous | ||
versions of | ||
Infragistics products?</igx-expansion-panel-title> | ||
</igx-expansion-panel-header> | ||
<igx-expansion-panel-body> | ||
Any version of Infragistics software which you have downloaded can continue to be used perpetually. | ||
Access to download any new or previous versions through our customer portal and package feeds will | ||
require maintaining an active subscription by continuing to renew it. | ||
</igx-expansion-panel-body> | ||
</igx-expansion-panel> | ||
</igx-accordion> | ||
</article> |
17 changes: 17 additions & 0 deletions
17
...ates/igx-ts-legacy/accordion/default/files/src/app/__path__/__filePrefix__.component.scss
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,17 @@ | ||
$ep-sample-border: 1px solid rgba(174, 174, 174, 0.25); | ||
|
||
.sample-wrapper { | ||
overflow-y: auto; | ||
max-height: 450px; | ||
width: 600px; | ||
margin: 8px; | ||
} | ||
|
||
igx-expansion-panel-body, | ||
igx-switch { | ||
padding: 16px; | ||
} | ||
|
||
igx-expansion-panel { | ||
border: $ep-sample-border; | ||
} |
27 changes: 27 additions & 0 deletions
27
...s/igx-ts-legacy/accordion/default/files/src/app/__path__/__filePrefix__.component.spec.ts
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,27 @@ | ||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; | ||
import { NoopAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { <%=ClassName%>Component } from './<%=filePrefix%>.component'; | ||
import { IgxAccordionModule, IgxSwitchModule } from '<%=igxPackage%>'; | ||
|
||
describe('<%=ClassName%>Component', () => { | ||
let component: <%=ClassName%>Component; | ||
let fixture: ComponentFixture<<%=ClassName%>Component>; | ||
|
||
beforeEach(waitForAsync(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [<%=ClassName%>Component], | ||
imports: [ NoopAnimationsModule, IgxAccordionModule, IgxSwitchModule ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(<%=ClassName%>Component); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
...plates/igx-ts-legacy/accordion/default/files/src/app/__path__/__filePrefix__.component.ts
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,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-<%=filePrefix%>', | ||
templateUrl: './<%=filePrefix%>.component.html', | ||
styleUrls: ['./<%=filePrefix%>.component.scss'] | ||
}) | ||
export class <%=ClassName%>Component { | ||
public singleBranchExpand = false; | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/igx-templates/igx-ts-legacy/accordion/default/index.ts
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,19 @@ | ||
import { IgniteUIForAngularTemplate } from "../../../IgniteUIForAngularTemplate"; | ||
|
||
class IgxAccordionTemplate extends IgniteUIForAngularTemplate { | ||
constructor() { | ||
super(__dirname); | ||
this.components = ["Accordion"]; | ||
this.controlGroup = "Layouts"; | ||
this.listInComponentTemplates = true; | ||
this.id = "accordion"; | ||
this.projectType = "igx-ts"; | ||
this.name = "Accordion"; | ||
this.description = "Basic IgxAccordion sample"; | ||
this.dependencies = [{ | ||
import: ["IgxAccordionModule", "IgxSwitchModule"], | ||
from: "<%=igxPackage%>" | ||
}]; | ||
} | ||
} | ||
module.exports = new IgxAccordionTemplate(); |
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,15 @@ | ||
|
||
import { BaseComponent } from "@igniteui/cli-core"; | ||
|
||
class IgxAccordionComponent extends BaseComponent { | ||
/** | ||
* | ||
*/ | ||
constructor() { | ||
super(__dirname); | ||
this.name = "Accordion"; | ||
this.group = "Layouts"; | ||
this.description = `allows users to navigate among multiple collapsible panels displayed in a single container`; | ||
} | ||
} | ||
module.exports = new IgxAccordionComponent(); |
Oops, something went wrong.