Skip to content

Commit 9f499c0

Browse files
committed
feat: repo change
1 parent d5fab06 commit 9f499c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+630
-599
lines changed

.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projectName": "cmdk",
3-
"projectOwner": "@ngneat",
3+
"projectOwner": "@ngxpert",
44
"repoType": "github",
55
"repoHost": "https://github.com",
66
"files": [

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[
1717
"@semantic-release/npm",
1818
{
19-
"pkgRoot": "./dist/ngneat/cmdk",
19+
"pkgRoot": "./dist/ngxpert/cmdk",
2020
"tarballDir": "dist"
2121
}
2222
],

CHANGELOG.md

Lines changed: 64 additions & 64 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<p align="center">
2-
<img width="20%" height="20%" src="./src/assets/ngneat%20cdk.svg">
2+
<img width="20%" height="20%" src="./src/assets/ngxpert%20cdk.svg">
33
</p>
44

55
<br />
66

77
[![MIT](https://img.shields.io/packagist/l/doctrine/orm.svg?style=flat-square)](./LICENSE)
88
[![commitizen](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](./CONTRIBUTING.md)
9-
[![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/ngneat/cmdk/compare)
9+
[![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/ngxpert/cmdk/compare)
1010
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
1111
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)
12-
[![ngneat-lib](https://img.shields.io/badge/made%20with-%40ngneat%2Flib-ad1fe3?logo=angular)](https://github.com/ngneat/lib)
12+
[![ngxpert-lib](https://img.shields.io/badge/made%20with-%40ngxpert%2Flib-ad1fe3?logo=angular)](https://github.com/ngxpert/lib)
1313
[![spectator](https://img.shields.io/badge/tested%20with-spectator-2196F3.svg?style=flat-square)]()
1414
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
15-
[![npm](https://img.shields.io/npm/v/@ngneat/cmdk)](https://www.npmjs.com/package/@ngneat/cmdk)
15+
[![npm](https://img.shields.io/npm/v/@ngxpert/cmdk)](https://www.npmjs.com/package/@ngxpert/cmdk)
1616

1717
> Fast, composable, unstyled command menu for Angular. Directly inspired from [pacocoursey/cmdk](https://github.com/pacocoursey/cmdk)
1818
19-
# @ngneat/cmdk
19+
# @ngxpert/cmdk
2020

21-
@ngneat/cmdk is a command menu Angular component that can also be used as an accessible combobox. You render items, it filters and sorts them automatically. @ngneat/cmdk supports a fully composable API, so you can wrap items in other components or even as static HTML.
21+
@ngxpert/cmdk is a command menu Angular component that can also be used as an accessible combobox. You render items, it filters and sorts them automatically. @ngxpert/cmdk supports a fully composable API, so you can wrap items in other components or even as static HTML.
2222

23-
Demo and examples: [ngneat.github.io/cmdk](https://ngneat.github.io/cmdk)
23+
Demo and examples: [ngxpert.github.io/cmdk](https://ngxpert.github.io/cmdk)
2424

2525
## Features
2626

@@ -32,7 +32,7 @@ Demo and examples: [ngneat.github.io/cmdk](https://ngneat.github.io/cmdk)
3232

3333
## Compatibility with Angular Versions
3434

35-
| @ngneat/cmdk | Angular |
35+
| @ngxpert/cmdk | Angular |
3636
| -- | -- |
3737
| 1.x | <16 |
3838
| 2.x | >=16 |
@@ -42,7 +42,7 @@ Demo and examples: [ngneat.github.io/cmdk](https://ngneat.github.io/cmdk)
4242
### Angular CLI
4343

4444
```bash
45-
ng add @ngneat/cmdk
45+
ng add @ngxpert/cmdk
4646
```
4747

4848
### NPM
@@ -51,18 +51,18 @@ ng add @ngneat/cmdk
5151
# For Angular version < 16
5252

5353
## First, install dependencies
54-
npm install @ngneat/overview@4 @ngneat/until-destroy@9 @angular/cdk@15
54+
npm install @ngxpert/overview@4 @ngxpert/until-destroy@9 @angular/cdk@15
5555

5656
## Then library
57-
npm install @ngneat/cmdk@1
57+
npm install @ngxpert/cmdk@1
5858

5959
# For Angular version >= 16
6060

6161
## First, install dependencies
62-
npm install @ngneat/overview@5 @ngneat/until-destroy@10 @angular/cdk@16
62+
npm install @ngxpert/overview@5 @ngxpert/until-destroy@10 @angular/cdk@16
6363

6464
## Then library
65-
npm install @ngneat/cmdk@2
65+
npm install @ngxpert/cmdk@2
6666
```
6767

6868
### Yarn
@@ -75,10 +75,10 @@ Same as `npm`, just instead of `npm install`, write `yarn add`.
7575

7676
#### 1.1 Module Setup
7777

78-
> This is taken care with ng add @ngneat/cmdk
78+
> This is taken care with ng add @ngxpert/cmdk
7979
8080
```ts
81-
import { CmdkModule } from '@ngneat/cmdk';
81+
import { CmdkModule } from '@ngxpert/cmdk';
8282

8383
@NgModule({
8484
imports: [
@@ -100,7 +100,7 @@ import {
100100
ItemDirective,
101101
ListComponent,
102102
EmptyDirective
103-
} from '@ngneat/cmdk';
103+
} from '@ngxpert/cmdk';
104104

105105
@Component({
106106
selector: 'app-root',
@@ -342,7 +342,7 @@ getItems() {
342342

343343
### Use inside Popover
344344

345-
We recommend using the [Angular CDK Overlay](https://material.angular.io/cdk/overlay/overview). @ngneat/cdk relies on the Angular CDK, so this will reduce your bundle size a bit due to shared dependencies.
345+
We recommend using the [Angular CDK Overlay](https://material.angular.io/cdk/overlay/overview). @ngxpert/cdk relies on the Angular CDK, so this will reduce your bundle size a bit due to shared dependencies.
346346

347347
First, configure the trigger component:
348348

@@ -424,19 +424,19 @@ ngAfterViewInit() {
424424

425425
### Drop in stylesheets
426426

427-
You can find global stylesheets to drop in as a starting point for styling. See [ngneat/cmdk/styles](./projects/ngneat/cmdk/styles) for examples.
427+
You can find global stylesheets to drop in as a starting point for styling. See [ngxpert/cmdk/styles](./projects/ngxpert/cmdk/styles) for examples.
428428

429429
You can include the `SCSS` stylesheet in your application's style file:
430430

431431
```scss
432432
// Global is needed for any theme
433-
@use "~@ngneat/cmdk/styles/scss/globals";
433+
@use "~@ngxpert/cmdk/styles/scss/globals";
434434

435435
// Then add theme
436-
@use "~@ngneat/cmdk/styles/scss/framer";
437-
// @use "~@ngneat/cmdk/styles/scss/vercel";
438-
// @use "~@ngneat/cmdk/styles/scss/linear";
439-
// @use "~@ngneat/cmdk/styles/scss/raycast";
436+
@use "~@ngxpert/cmdk/styles/scss/framer";
437+
// @use "~@ngxpert/cmdk/styles/scss/vercel";
438+
// @use "~@ngxpert/cmdk/styles/scss/linear";
439+
// @use "~@ngxpert/cmdk/styles/scss/raycast";
440440
```
441441

442442
or, use pre-built `CSS` file in `angular.json`
@@ -445,8 +445,8 @@ or, use pre-built `CSS` file in `angular.json`
445445
// ...
446446
"styles": [
447447
"...",
448-
"node_modules/@ngneat/cmdk/styles/globals.css"
449-
"node_modules/@ngneat/cmdk/styles/framer.css"
448+
"node_modules/@ngxpert/cmdk/styles/globals.css"
449+
"node_modules/@ngxpert/cmdk/styles/framer.css"
450450
],
451451
// ...
452452
```
@@ -474,9 +474,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
474474
<!-- markdownlint-disable -->
475475
<table>
476476
<tr>
477-
<td align="center"><a href="https://github.com/shhdharmen"><img src="https://avatars.githubusercontent.com/u/6831283?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dharmen Shah</b></sub></a><br /><a href="#a11y-shhdharmen" title="Accessibility">️️️️♿️</a> <a href="https://github.com/@ngneat/cmdk/commits?author=shhdharmen" title="Code">💻</a> <a href="#content-shhdharmen" title="Content">🖋</a> <a href="#design-shhdharmen" title="Design">🎨</a> <a href="https://github.com/@ngneat/cmdk/commits?author=shhdharmen" title="Documentation">📖</a> <a href="#example-shhdharmen" title="Examples">💡</a> <a href="#ideas-shhdharmen" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-shhdharmen" title="Maintenance">🚧</a> <a href="#platform-shhdharmen" title="Packaging/porting to new platform">📦</a> <a href="#projectManagement-shhdharmen" title="Project Management">📆</a> <a href="#research-shhdharmen" title="Research">🔬</a></td>
478-
<td align="center"><a href="https://www.netbasal.com/"><img src="https://avatars.githubusercontent.com/u/6745730?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Netanel Basal</b></sub></a><br /><a href="#question-NetanelBasal" title="Answering Questions">💬</a> <a href="#business-NetanelBasal" title="Business development">💼</a> <a href="#fundingFinding-NetanelBasal" title="Funding Finding">🔍</a> <a href="#ideas-NetanelBasal" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-NetanelBasal" title="Maintenance">🚧</a> <a href="#mentoring-NetanelBasal" title="Mentoring">🧑‍🏫</a> <a href="#projectManagement-NetanelBasal" title="Project Management">📆</a> <a href="#research-NetanelBasal" title="Research">🔬</a> <a href="https://github.com/@ngneat/cmdk/pulls?q=is%3Apr+reviewed-by%3ANetanelBasal" title="Reviewed Pull Requests">👀</a></td>
479-
<td align="center"><a href="https://github.com/pacocoursey"><img src="https://avatars.githubusercontent.com/u/34928425?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Paco</b></sub></a><br /><a href="#design-pacocoursey" title="Design">🎨</a> <a href="https://github.com/@ngneat/cmdk/commits?author=pacocoursey" title="Documentation">📖</a> <a href="#ideas-pacocoursey" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-pacocoursey" title="Research">🔬</a></td>
477+
<td align="center"><a href="https://github.com/shhdharmen"><img src="https://avatars.githubusercontent.com/u/6831283?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dharmen Shah</b></sub></a><br /><a href="#a11y-shhdharmen" title="Accessibility">️️️️♿️</a> <a href="https://github.com/@ngxpert/cmdk/commits?author=shhdharmen" title="Code">💻</a> <a href="#content-shhdharmen" title="Content">🖋</a> <a href="#design-shhdharmen" title="Design">🎨</a> <a href="https://github.com/@ngxpert/cmdk/commits?author=shhdharmen" title="Documentation">📖</a> <a href="#example-shhdharmen" title="Examples">💡</a> <a href="#ideas-shhdharmen" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-shhdharmen" title="Maintenance">🚧</a> <a href="#platform-shhdharmen" title="Packaging/porting to new platform">📦</a> <a href="#projectManagement-shhdharmen" title="Project Management">📆</a> <a href="#research-shhdharmen" title="Research">🔬</a></td>
478+
<td align="center"><a href="https://www.netbasal.com/"><img src="https://avatars.githubusercontent.com/u/6745730?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Netanel Basal</b></sub></a><br /><a href="#question-NetanelBasal" title="Answering Questions">💬</a> <a href="#business-NetanelBasal" title="Business development">💼</a> <a href="#fundingFinding-NetanelBasal" title="Funding Finding">🔍</a> <a href="#ideas-NetanelBasal" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-NetanelBasal" title="Maintenance">🚧</a> <a href="#mentoring-NetanelBasal" title="Mentoring">🧑‍🏫</a> <a href="#projectManagement-NetanelBasal" title="Project Management">📆</a> <a href="#research-NetanelBasal" title="Research">🔬</a> <a href="https://github.com/@ngxpert/cmdk/pulls?q=is%3Apr+reviewed-by%3ANetanelBasal" title="Reviewed Pull Requests">👀</a></td>
479+
<td align="center"><a href="https://github.com/pacocoursey"><img src="https://avatars.githubusercontent.com/u/34928425?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Paco</b></sub></a><br /><a href="#design-pacocoursey" title="Design">🎨</a> <a href="https://github.com/@ngxpert/cmdk/commits?author=pacocoursey" title="Documentation">📖</a> <a href="#ideas-pacocoursey" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-pacocoursey" title="Research">🔬</a></td>
480480
</tr>
481481
</table>
482482

angular.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,46 +102,46 @@
102102
}
103103
}
104104
},
105-
"@ngneat/cmdk": {
105+
"@ngxpert/cmdk": {
106106
"projectType": "library",
107107
"schematics": {
108108
"@schematics/angular:component": {
109109
"style": "scss"
110110
}
111111
},
112-
"root": "projects/ngneat/cmdk",
113-
"sourceRoot": "projects/ngneat/cmdk/src",
112+
"root": "projects/ngxpert/cmdk",
113+
"sourceRoot": "projects/ngxpert/cmdk/src",
114114
"prefix": "cmdk",
115115
"architect": {
116116
"build": {
117117
"builder": "@angular-devkit/build-angular:ng-packagr",
118118
"options": {
119-
"project": "projects/ngneat/cmdk/ng-package.json"
119+
"project": "projects/ngxpert/cmdk/ng-package.json"
120120
},
121121
"configurations": {
122122
"production": {
123-
"tsConfig": "projects/ngneat/cmdk/tsconfig.lib.prod.json"
123+
"tsConfig": "projects/ngxpert/cmdk/tsconfig.lib.prod.json"
124124
},
125125
"development": {
126-
"tsConfig": "projects/ngneat/cmdk/tsconfig.lib.json"
126+
"tsConfig": "projects/ngxpert/cmdk/tsconfig.lib.json"
127127
}
128128
},
129129
"defaultConfiguration": "production"
130130
},
131131
"test": {
132132
"builder": "@angular-devkit/build-angular:karma",
133133
"options": {
134-
"main": "projects/ngneat/cmdk/src/test.ts",
135-
"tsConfig": "projects/ngneat/cmdk/tsconfig.spec.json",
136-
"karmaConfig": "projects/ngneat/cmdk/karma.conf.js"
134+
"main": "projects/ngxpert/cmdk/src/test.ts",
135+
"tsConfig": "projects/ngxpert/cmdk/tsconfig.spec.json",
136+
"karmaConfig": "projects/ngxpert/cmdk/karma.conf.js"
137137
}
138138
},
139139
"lint": {
140140
"builder": "@angular-eslint/builder:lint",
141141
"options": {
142142
"lintFilePatterns": [
143-
"projects/ngneat/cmdk/**/*.ts",
144-
"projects/ngneat/cmdk/**/*.html"
143+
"projects/ngxpert/cmdk/**/*.ts",
144+
"projects/ngxpert/cmdk/**/*.html"
145145
]
146146
}
147147
}

cypress/basic.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CmdkModule } from '@ngneat/cmdk';
1+
import { CmdkModule } from '@ngxpert/cmdk';
22
import { createOutputSpy } from 'cypress/angular';
33

44
describe('basic behavior', () => {

0 commit comments

Comments
 (0)