diff --git a/README.md b/README.md index c9b5fdce2..86c98aa5c 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Our initial 300 contributors and sponsors are featured here and on the front pag 15. [marcjulian](https://github.com/marcjulian) 16. [elite-benni](https://github.com/elite-benni) 17. [oidre](https://github.com/oidre) +18. [nartc](https://github.com/nartc) [Become a spartan today!](https://github.com/sponsors/goetzrobin) diff --git a/apps/app/src/app/pages/(components)/components/(collapsible)/collapsible.preview.ts b/apps/app/src/app/pages/(components)/components/(collapsible)/collapsible.preview.ts index fcf8b8c68..cc8d3b09f 100644 --- a/apps/app/src/app/pages/(components)/components/(collapsible)/collapsible.preview.ts +++ b/apps/app/src/app/pages/(components)/components/(collapsible)/collapsible.preview.ts @@ -16,34 +16,34 @@ import { BrnCollapsibleContentComponent, ], template: ` - -
-

@peduarte starred 3 repositories

- -
-
@radix-ui/primitives
- -
@radix-ui/colors
-
@stitches/react
-
-
- `, + +
+

@peduarte starred 3 repositories

+ +
+
@radix-ui/primitives
+ +
@radix-ui/colors
+
@stitches/react
+
+
+ `, }) export class CollapsiblePreviewComponent {} @@ -68,7 +68,7 @@ import { template: \`
-

@peduarte starred 3 repositories

+

@peduarte starred 3 repositories

-
@radix-ui/primitives
+
@radix-ui/primitives
-
@radix-ui/colors
-
@stitches/react
+
@radix-ui/colors
+
@stitches/react
\`, diff --git a/apps/app/src/app/pages/(components)/components/(hover-card)/hover-card.preview.ts b/apps/app/src/app/pages/(components)/components/(hover-card)/hover-card.preview.ts index 5a8613930..ed0129d70 100644 --- a/apps/app/src/app/pages/(components)/components/(hover-card)/hover-card.preview.ts +++ b/apps/app/src/app/pages/(components)/components/(hover-card)/hover-card.preview.ts @@ -13,26 +13,26 @@ import { HlmIconComponent } from '@spartan-ng/ui-icon-helm'; imports: [BrnHoverCardModule, HlmHoverCardModule, HlmButtonDirective, HlmIconComponent, HlmAvatarModule], providers: [provideIcons({ radixCalendar })], template: ` - - -
-
- - AnalogLogo - AN - -
-

@analogjs

-

The Angular meta-framework – build Angular applications faster.

-
- - Joined December 2021 -
-
-
-
-
- `, + + +
+
+ + AnalogLogo + AN + +
+

@analogjs

+

The Angular meta-framework – build Angular applications faster.

+
+ + Joined December 2021 +
+
+
+
+
+ `, }) export class HoverCardPreviewComponent {} @@ -53,7 +53,7 @@ import { radixCalendar } from '@ng-icons/radix-icons'; providers: [provideIcons({ radixCalendar })], template: \` - +
@@ -61,7 +61,7 @@ import { radixCalendar } from '@ng-icons/radix-icons'; AN
-

@analogjs

+

@analogjs

The Angular meta-framework – build Angular applications faster.

@@ -90,7 +90,7 @@ import { export const defaultSkeleton = ` - +
The Angular meta-framework.
`; diff --git a/apps/app/src/app/pages/(documentation)/documentation/(ui)/(typography)/typography.page.ts b/apps/app/src/app/pages/(documentation)/documentation/(ui)/(typography)/typography.page.ts index 18b225322..d30c4f2f8 100644 --- a/apps/app/src/app/pages/(documentation)/documentation/(ui)/(typography)/typography.page.ts +++ b/apps/app/src/app/pages/(documentation)/documentation/(ui)/(typography)/typography.page.ts @@ -14,17 +14,17 @@ import { hlmSmall, hlmUl, } from '@spartan-ng/ui-typography-helm'; -import { CodePreviewDirective } from '~/app/shared/code/code-preview.directive'; -import { CodeComponent } from '~/app/shared/code/code.component'; -import { MainSectionDirective } from '~/app/shared/layout/main-section.directive'; -import { PageBottomNavLinkComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav-link.component'; -import { PageBottomNavComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav.component'; -import { PageNavLinkComponent } from '~/app/shared/layout/page-nav/page-nav-link.component'; -import { PageNavComponent } from '~/app/shared/layout/page-nav/page-nav.component'; -import { SectionIntroComponent } from '~/app/shared/layout/section-intro.component'; -import { SectionSubHeadingComponent } from '~/app/shared/layout/section-sub-heading.component'; -import { TabsComponent } from '~/app/shared/layout/tabs.component'; -import { metaWith } from '~/app/shared/meta/meta.util'; +import { CodePreviewDirective } from '../../../../../shared/code/code-preview.directive'; +import { CodeComponent } from '../../../../../shared/code/code.component'; +import { MainSectionDirective } from '../../../../../shared/layout/main-section.directive'; +import { PageBottomNavLinkComponent } from '../../../../../shared/layout/page-bottom-nav/page-bottom-nav-link.component'; +import { PageBottomNavComponent } from '../../../../../shared/layout/page-bottom-nav/page-bottom-nav.component'; +import { PageNavLinkComponent } from '../../../../../shared/layout/page-nav/page-nav-link.component'; +import { PageNavComponent } from '../../../../../shared/layout/page-nav/page-nav.component'; +import { SectionIntroComponent } from '../../../../../shared/layout/section-intro.component'; +import { SectionSubHeadingComponent } from '../../../../../shared/layout/section-sub-heading.component'; +import { TabsComponent } from '../../../../../shared/layout/tabs.component'; +import { metaWith } from '../../../../../shared/meta/meta.util'; import TypographyPreviewComponent, { blockquoteCode, codeCode, @@ -64,139 +64,139 @@ export const routeMeta: RouteMeta = { PageNavLinkComponent, ], template: ` -
- +
+ - -
- -
- -
+ +
+ +
+ +
- Installation - - - + Installation + + + - h1 - -

Taxing Laughter: The Joke Tax Chronicles

- -
- h2 - -

The People of the Kingdom

- -
- h3 - -

The Joke Tax

- -
- h4 - -

People stopped telling jokes

- -
- p - -
-

- The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke - tax. -

-
- -
+ h1 + +

Taxing Laughter: The Joke Tax Chronicles

+ +
+ h2 + +

The People of the Kingdom

+ +
+ h3 + +

The Joke Tax

+ +
+ h4 + +

People stopped telling jokes

+ +
+ p + +
+

+ The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke + tax. +

+
+ +
- Blockquote - -
-
- "After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the - privilege." -
-
- -
+ Blockquote + +
+
+ "After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the + privilege." +
+
+ +
- list - -
-
    -
  • 1st level of puns: 5 gold coins
  • -
  • 2nd level of jokes: 10 gold coins
  • -
  • 3rd level of one-liners : 20 gold coins
  • -
-
- -
+ list + +
+
    +
  • 1st level of puns: 5 gold coins
  • +
  • 2nd level of jokes: 10 gold coins
  • +
  • 3rd level of one-liners : 20 gold coins
  • +
+
+ +
- Inline Code - -
- @radix-ui/react-alert-dialog -
- -
+ Inline Code + +
+ @radix-ui/react-alert-dialog +
+ +
- Lead - -
-

- A modal dialog that interrupts the user with important content and expects a response. -

-
- -
+ Lead + +
+

+ A modal dialog that interrupts the user with important content and expects a response. +

+
+ +
- Large - -
-

Are you sure absolutely sure?

-
- -
+ Large + +
+

Are you sure absolutely sure?

+
+ +
- Small - -
-

Email address

-
- -
+ Small + +
+

Email address

+
+ +
- Muted - -
-

Enter your email address.

-
- -
+ Muted + +
+

Enter your email address.

+
+ +
- - - - -
+ + + + +
- - - - - - - - - - - - - - - - `, + + + + + + + + + + + + + + + + `, }) export default class TypographyPageComponent { protected readonly themingCode = themingCode; diff --git a/apps/app/src/app/pages/(documentation)/documentation/(ui)/installation.page.ts b/apps/app/src/app/pages/(documentation)/documentation/(ui)/installation.page.ts index 56c00f95d..851f6681a 100644 --- a/apps/app/src/app/pages/(documentation)/documentation/(ui)/installation.page.ts +++ b/apps/app/src/app/pages/(documentation)/documentation/(ui)/installation.page.ts @@ -1,20 +1,19 @@ import { RouteMeta } from '@analogjs/router'; import { Component } from '@angular/core'; import { RouterLink } from '@angular/router'; -import { radixChevronRight, radixExclamationTriangle } from '@ng-icons/radix-icons'; -import { HlmAlertModule } from '@spartan-ng/ui-alert-helm'; +import { radixChevronRight } from '@ng-icons/radix-icons'; import { HlmButtonDirective } from '@spartan-ng/ui-button-helm'; import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm'; import { hlmCode, hlmP } from '@spartan-ng/ui-typography-helm'; -import { CodeComponent } from '~/app/shared/code/code.component'; -import { MainSectionDirective } from '~/app/shared/layout/main-section.directive'; -import { PageBottomNavLinkComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav-link.component'; -import { PageBottomNavComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav.component'; -import { PageNavLinkComponent } from '~/app/shared/layout/page-nav/page-nav-link.component'; -import { PageNavComponent } from '~/app/shared/layout/page-nav/page-nav.component'; -import { SectionIntroComponent } from '~/app/shared/layout/section-intro.component'; -import { SectionSubHeadingComponent } from '~/app/shared/layout/section-sub-heading.component'; -import { metaWith } from '~/app/shared/meta/meta.util'; +import { CodeComponent } from '../../../../shared/code/code.component'; +import { MainSectionDirective } from '../../../../shared/layout/main-section.directive'; +import { PageBottomNavLinkComponent } from '../../../../shared/layout/page-bottom-nav/page-bottom-nav-link.component'; +import { PageBottomNavComponent } from '../../../../shared/layout/page-bottom-nav/page-bottom-nav.component'; +import { PageNavLinkComponent } from '../../../../shared/layout/page-nav/page-nav-link.component'; +import { PageNavComponent } from '../../../../shared/layout/page-nav/page-nav.component'; +import { SectionIntroComponent } from '../../../../shared/layout/section-intro.component'; +import { SectionSubHeadingComponent } from '../../../../shared/layout/section-sub-heading.component'; +import { metaWith } from '../../../../shared/meta/meta.util'; export const routeMeta: RouteMeta = { data: { breadcrumb: 'Installation' }, @@ -37,45 +36,49 @@ export const routeMeta: RouteMeta = { HlmIconComponent, RouterLink, PageNavLinkComponent, - HlmAlertModule, ], - providers: [provideIcons({ radixChevronRight, radixExclamationTriangle })], + providers: [provideIcons({ radixChevronRight })], template: ` -
- -
-

- Adding spartan/ui to your project requires only a couple steps! -

-

If you are already using Nx, start with installing our plugin:

- -
- Prerequisites -
-

- spartan/ui is built on top of TailwindCSS. Make sure your application has a - working TailwindCSS setup before you continue. -

-
- Installing ui-core -
-

- spartan/ui comes with a core package. To get started install this package with - the command below: -

- -
- Setting up tailwind.config.js -
-

- You now have to add our spartan-specific configuration to your TailwindCSS setup. To make the setup of your - tailwind.config.js as easy as possible, the - @spartan-ng/ui-core package comes with it own preset. -

-

Simply add it to the presets array of your config file:

- +
+

+ Adding + spartan/ui + to your project requires only a couple steps! +

+

If you are already using Nx, start with installing our plugin:

+ +
+ Prerequisites +
+

+ spartan/ui + is built on top of TailwindCSS. Make sure your application has a working TailwindCSS setup before you + continue. +

+
+ Installing ui-core +
+

+ spartan/ui + comes with a core package. To get started install this package with the command below: +

+ +
+ Setting up tailwind.config.js +
+

+ You now have to add our spartan-specific configuration to your TailwindCSS setup. To make the setup of your + tailwind.config.js + as easy as possible, the + @spartan-ng/ui-core + package comes with it own preset. +

+

Simply add it to the presets array of your config file:

+ -
+ /> +
- Adding CSS variables -
-

- To complete your TailwindCSS setup, you need to add our spartan-specific CSS variables to your style - entrypoint. This is most likely a styles.css in the - src folder of your application. -

-

- Again, if you are using Nx, we have written a plugin that will take care of the heavy lifting: -

- -

To learn more about the Nx plugin check out the CLI docs below.

- -

- If you are not using Nx (yet) you can copy the variables of the default theme below and manually add them to - your style entrypoint, such as - styles.css: -

- Adding CSS variables +
+

+ To complete your TailwindCSS setup, you need to add our spartan-specific CSS variables to your style + entrypoint. This is most likely a + styles.css + in the + src + folder of your application. +

+

+ Again, if you are using Nx, we have written a plugin that will take care of the heavy lifting: +

+ +

To learn more about the Nx plugin check out the CLI docs below.

+ +

+ If you are not using Nx (yet) you can copy the variables of the default theme below and manually add them to + your style entrypoint, such as + styles.css + : +

+ -

- Also, make sure to check out the theming section to better understand the convention behind them and learn how - to customize your theme. -

-
+ /> +

+ Also, make sure to check out the theming section to better understand the convention behind them and learn how + to customize your theme. +

+
- Adding primitives -
-

- With the Nx plugin, adding primitives is as simple as running a single command. It will allow you to pick and - choose which primitives to add to your project. It will add all brain dependencies and copy helm code into its - own library: -

- -

To learn more about the Nx plugin check out the CLI docs below.

- -
- -

- Known issue: Dependencies are added to package.json, but their peer dependencies are not automatically - installed -

-

- It seems like the Nx generator does not install the peer dependencies for new dependencies added to the - package.json of the project when running the "install dependencies" task inside its execution context. - - Workaround: Manually run npm i after the plugin adds the primtives. - -

-
-

- If you are not using Nx (yet) you can follow the guide on how to manually install the primitive on the - respective documentation page. -

-
+ Adding primitives +
+

+ With the Nx plugin, adding primitives is as simple as running a single command. It will allow you to pick and + choose which primitives to add to your project. It will add all brain dependencies and copy helm code into its + own library: +

+ +

To learn more about the Nx plugin check out the CLI docs below.

+ +

+ If you are not using Nx (yet) you can follow the guide on how to manually install the primitive on the + respective documentation page. +

+
- - - - -
+ + + + + - - - - - - - - `, + + + + + + + + `, }) export default class InstallationPageComponent {} diff --git a/apps/app/src/app/pages/(documentation)/documentation/changelog.page.ts b/apps/app/src/app/pages/(documentation)/documentation/changelog.page.ts index 4163a27fa..359d53795 100644 --- a/apps/app/src/app/pages/(documentation)/documentation/changelog.page.ts +++ b/apps/app/src/app/pages/(documentation)/documentation/changelog.page.ts @@ -3,15 +3,15 @@ import { Component } from '@angular/core'; import { RouterLink } from '@angular/router'; import { HlmButtonDirective } from '@spartan-ng/ui-button-helm'; import { hlmCode, hlmH4, hlmP, hlmUl } from '@spartan-ng/ui-typography-helm'; -import { ComingSoonComponent } from '~/app/shared/layout/coming-soon.component'; -import { MainSectionDirective } from '~/app/shared/layout/main-section.directive'; -import { PageBottomNavLinkComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav-link.component'; -import { PageBottomNavComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav.component'; -import { PageNavLinkComponent } from '~/app/shared/layout/page-nav/page-nav-link.component'; -import { PageNavComponent } from '~/app/shared/layout/page-nav/page-nav.component'; -import { SectionIntroComponent } from '~/app/shared/layout/section-intro.component'; -import { SectionSubHeadingComponent } from '~/app/shared/layout/section-sub-heading.component'; -import { metaWith } from '~/app/shared/meta/meta.util'; +import { ComingSoonComponent } from '../../../shared/layout/coming-soon.component'; +import { MainSectionDirective } from '../../../shared/layout/main-section.directive'; +import { PageBottomNavLinkComponent } from '../../../shared/layout/page-bottom-nav/page-bottom-nav-link.component'; +import { PageBottomNavComponent } from '../../../shared/layout/page-bottom-nav/page-bottom-nav.component'; +import { PageNavLinkComponent } from '../../../shared/layout/page-nav/page-nav-link.component'; +import { PageNavComponent } from '../../../shared/layout/page-nav/page-nav.component'; +import { SectionIntroComponent } from '../../../shared/layout/section-intro.component'; +import { SectionSubHeadingComponent } from '../../../shared/layout/section-sub-heading.component'; +import { metaWith } from '../../../shared/meta/meta.util'; export const routeMeta: RouteMeta = { data: { breadcrumb: 'Changelog' }, @@ -35,114 +35,131 @@ export const routeMeta: RouteMeta = { HlmButtonDirective, ], template: ` -
- - August 2023 - Initial Alpha release -
-

- spartan/ui is an open-source collection of an initial 30 UI primitives - designed to streamline your development process and empower your Angular projects with enhanced efficiency and - accessibility. -

-

Why spartan/ui?

-

- Creating seamless, captivating, and accessible user interfaces is hard. Through - spartan/ui/brain, our goal is to make this process more straightforward and - efficient. We offer a versatile collection of unstyled UI building blocks that can be easily tailored to match - your project's distinct visual and functional preferences. -

-

- Additionally, with spartan/ui/helm, we provide pre-designed styles that not - only look great from the start but also let you to retain full control over their code, appearance, and - overall experience. -

-

spartan/ui/brain

-

- Each spartan/ui/brain represents a headless and accessible implementation of - an UI primitive. This can be a standalone Angular Component, a Directive applied to existing HTML elements, or - a hybrid combining both for more intricate UI elements. -

-

- This brain-first approach empowers developers to build UI components with enhanced accessibility and - modularity, offering flexibility in crafting custom interfaces that cater to diverse project requirements. -

-

spartan/ui/helm

-

- On top of these brain components we put our helmet. Our helmet adds SPARTAN-like swagger to our UI. -

-

- Unlike it's brain counterparts, spartan/ui/helm primitives are not libraries. - Instead, just like with shadcn, they are recipes, which code you can copy directly into your own project. -

-

Powered by @spartan-ng/nx

-

- To make this as easy as possible, spartan/ui comes equipped with an Nx plugin - that allows you to effortlessly integrate our components into your Nx workspace. With a single command, you - can add any of the 30 spartan/ui primitives to your projects. -

-

- But that's not all – the Nx plugin's capabilities extend beyond just adding components. You can also leverage - it to incorporate one of 12 custom themes into your Nx applications, letting you truly own the visual - appearance of your projects. -

-

The initial 30

-

The initial 30 components we launch today are:

- -

Getting Started

-

- Excited to try any of these? What are you waiting for? Head over to the installation page and start your - spartan journey! -

- -
- - - - -
+
+ + + August 2023 - Initial Alpha release + +
+

+ spartan/ui + is an open-source collection of an initial 30 UI primitives designed to streamline your development process + and empower your Angular projects with enhanced efficiency and accessibility. +

+

Why spartan/ui?

+

+ Creating seamless, captivating, and accessible user interfaces is hard. Through + spartan/ui/brain + , our goal is to make this process more straightforward and efficient. We offer a versatile collection of + unstyled UI building blocks that can be easily tailored to match your project's distinct visual and functional + preferences. +

+

+ Additionally, with + spartan/ui/helm + , we provide pre-designed styles that not only look great from the start but also let you to retain full + control over their code, appearance, and overall experience. +

+

spartan/ui/brain

+

+ Each + spartan/ui/brain + represents a headless and accessible implementation of an UI primitive. This can be a standalone Angular + Component, a Directive applied to existing HTML elements, or a hybrid combining both for more intricate UI + elements. +

+

+ This brain-first approach empowers developers to build UI components with enhanced accessibility and + modularity, offering flexibility in crafting custom interfaces that cater to diverse project requirements. +

+

spartan/ui/helm

+

+ On top of these brain components we put our helmet. Our helmet adds SPARTAN-like swagger to our UI. +

+

+ Unlike it's brain counterparts, + spartan/ui/helm + primitives are not libraries. Instead, just like with shadcn, they are recipes, which code you can copy + directly into your own project. +

+

Powered by @spartan-ng/nx

+

+ To make this as easy as possible, + spartan/ui + comes equipped with an Nx plugin that allows you to effortlessly integrate our components into your Nx + workspace. With a single command, you can add any of the 30 + spartan/ui + primitives to your projects. +

+

+ But that's not all – the Nx plugin's capabilities extend beyond just adding components. You can also leverage + it to incorporate one of 12 custom themes into your Nx applications, letting you truly own the visual + appearance of your projects. +

+

The initial 30

+

The initial 30 components we launch today are:

+ +

Getting Started

+

+ Excited to try any of these? What are you waiting for? Head over to the installation page and start your + spartan journey! +

+ +
+ + + + +
- - - - `, + + + + `, }) export default class ChangelogPageComponent {} diff --git a/apps/app/src/app/pages/(documentation)/documentation/cli.page.ts b/apps/app/src/app/pages/(documentation)/documentation/cli.page.ts index a885c21c7..b06c55b7e 100644 --- a/apps/app/src/app/pages/(documentation)/documentation/cli.page.ts +++ b/apps/app/src/app/pages/(documentation)/documentation/cli.page.ts @@ -1,19 +1,18 @@ import { RouteMeta } from '@analogjs/router'; import { Component } from '@angular/core'; import { radixExclamationTriangle } from '@ng-icons/radix-icons'; -import { HlmAlertModule } from '@spartan-ng/ui-alert-helm'; import { HlmIconComponent, provideIcons } from '@spartan-ng/ui-icon-helm'; import { hlmCode, hlmH4, hlmP } from '@spartan-ng/ui-typography-helm'; -import { CodeComponent } from '~/app/shared/code/code.component'; -import { ComingSoonComponent } from '~/app/shared/layout/coming-soon.component'; -import { MainSectionDirective } from '~/app/shared/layout/main-section.directive'; -import { PageBottomNavLinkComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav-link.component'; -import { PageBottomNavComponent } from '~/app/shared/layout/page-bottom-nav/page-bottom-nav.component'; -import { PageNavLinkComponent } from '~/app/shared/layout/page-nav/page-nav-link.component'; -import { PageNavComponent } from '~/app/shared/layout/page-nav/page-nav.component'; -import { SectionIntroComponent } from '~/app/shared/layout/section-intro.component'; -import { SectionSubHeadingComponent } from '~/app/shared/layout/section-sub-heading.component'; -import { metaWith } from '~/app/shared/meta/meta.util'; +import { CodeComponent } from '../../../shared/code/code.component'; +import { ComingSoonComponent } from '../../../shared/layout/coming-soon.component'; +import { MainSectionDirective } from '../../../shared/layout/main-section.directive'; +import { PageBottomNavLinkComponent } from '../../../shared/layout/page-bottom-nav/page-bottom-nav-link.component'; +import { PageBottomNavComponent } from '../../../shared/layout/page-bottom-nav/page-bottom-nav.component'; +import { PageNavLinkComponent } from '../../../shared/layout/page-nav/page-nav-link.component'; +import { PageNavComponent } from '../../../shared/layout/page-nav/page-nav.component'; +import { SectionIntroComponent } from '../../../shared/layout/section-intro.component'; +import { SectionSubHeadingComponent } from '../../../shared/layout/section-sub-heading.component'; +import { metaWith } from '../../../shared/meta/meta.util'; export const routeMeta: RouteMeta = { data: { breadcrumb: 'CLI' }, @@ -34,81 +33,68 @@ export const routeMeta: RouteMeta = { SectionSubHeadingComponent, CodeComponent, PageNavLinkComponent, - HlmAlertModule, HlmIconComponent, ], providers: [provideIcons({ radixExclamationTriangle })], template: ` -
- -
-

- Ultimately our goal is to provide a standalone CLI that allows you to simply add spartan primitives to any - Angular project. -

-

- However, our initial focus is to provide a tight integration with the - spartan/stack, which runs on Nx. Therefore, the initial version of our CLI is - a Nx plugin. -

-
+
+ +
+

+ Ultimately our goal is to provide a standalone CLI that allows you to simply add spartan primitives to any + Angular project. +

+

+ However, our initial focus is to provide a tight integration with the + spartan/stack + , which runs on Nx. Therefore, the initial version of our CLI is a Nx plugin. +

+
- @spartan-ng/nx -
-
-

- To add spartan to your Nx workspace simply install the plugin with the - command below: -

- -
+ @spartan-ng/nx +
+
+

+ To add + spartan + to your Nx workspace simply install the plugin with the command below: +

+ +
-

ui

-
-

- To add spartan/ui primitives to your workspace run the following command: -

- -

- You can then select which primitives you want to add. For each primitive we create a buildable library at a - path of your choice. -

+

ui

+
+

+ To add + spartan/ui + primitives to your workspace run the following command: +

+ +

+ You can then select which primitives you want to add. For each primitive we create a buildable library at a + path of your choice. +

+
-
- -

- Known issue: Dependencies are added to package.json, but their peer dependencies are not automatically - installed -

-

- It seems like the Nx generator does not install the peer dependencies for new dependencies added to the - package.json of the project when running the "install dependencies" task inside its execution context. - - Workaround: Manually run npm i after the plugin adds the primtives. - -

-
-
+

ui-theme

+
+

Adding a theme can also be done on itself. Use the command below:

+ +

+ You can then select which application you want to add the theme to. Where your styles entrypoint is located. + Which theme to add & what border radius to use. +

+
+
+ + + + +
-

ui-theme

-
-

Adding a theme can also be done on itself. Use the command below:

- -

- You can then select which application you want to add the theme to. Where your styles entrypoint is located. - Which theme to add & what border radius to use. -

-
-
- - - - -
- - - - - `, + + + + `, }) export default class CliPageComponent {} diff --git a/apps/app/src/app/pages/(home)/components/three-hundred.component.ts b/apps/app/src/app/pages/(home)/components/three-hundred.component.ts index 4ad476a4d..0223a5883 100644 --- a/apps/app/src/app/pages/(home)/components/three-hundred.component.ts +++ b/apps/app/src/app/pages/(home)/components/three-hundred.component.ts @@ -37,6 +37,7 @@ export class ThreeHundredComponent { 'marcjulian', 'elite-benni', 'oidre', + 'nartc', ]; protected readonly _rest = Array(300 - this._contributors.length).map((x, i) => i); }