@cocoar/ui 0.1.0-beta.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/package.json +47 -0
- package/src/index.d.ts +4 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +5 -0
- package/src/index.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# @cocoar/ui
|
|
2
|
+
|
|
3
|
+
Complete Cocoar Design System package - all UI components, overlays, and menus in one convenient package.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @cocoar/ui
|
|
9
|
+
# or
|
|
10
|
+
pnpm add @cocoar/ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What's Included
|
|
14
|
+
|
|
15
|
+
This meta-package includes:
|
|
16
|
+
- **@cocoar/ui-components** - Core UI components (buttons, inputs, cards, etc.)
|
|
17
|
+
- **@cocoar/ui-menu** - Menu and navigation components
|
|
18
|
+
- **@cocoar/ui-overlay** - Overlay service for tooltips, popovers, dialogs
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
Import everything from a single package:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import {
|
|
26
|
+
CoarButtonComponent,
|
|
27
|
+
CoarMenuComponent,
|
|
28
|
+
CoarOverlayService
|
|
29
|
+
} from '@cocoar/ui';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Advanced Usage
|
|
33
|
+
|
|
34
|
+
If you need granular control or want to minimize bundle size, you can install individual packages:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install @cocoar/ui-components # Just the core components
|
|
38
|
+
npm install @cocoar/ui-menu # Just the menu
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Documentation
|
|
42
|
+
|
|
43
|
+
For complete documentation, install the docs package:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm install -D @cocoar/ui-docs
|
|
47
|
+
npx @cocoar/ui-docs init
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
Apache-2.0
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cocoar/ui",
|
|
3
|
+
"version": "0.1.0-beta.100",
|
|
4
|
+
"description": "Complete Cocoar Design System - all UI components, overlays, and menus in one package",
|
|
5
|
+
"author": "Cocoar",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/cocoar-dev/cocoar-ui.git",
|
|
10
|
+
"directory": "libs/ui"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/cocoar-dev/cocoar-ui/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/cocoar-dev/cocoar-ui",
|
|
16
|
+
"main": "./src/index.js",
|
|
17
|
+
"module": "./src/index.js",
|
|
18
|
+
"types": "./src/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./src/index.d.ts",
|
|
22
|
+
"esm2022": "./src/index.js",
|
|
23
|
+
"es2022": "./src/index.js",
|
|
24
|
+
"default": "./src/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"angular",
|
|
29
|
+
"design-system",
|
|
30
|
+
"ui-components",
|
|
31
|
+
"cocoar"
|
|
32
|
+
],
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@cocoar/ui-components": "0.1.0-beta.100",
|
|
38
|
+
"@cocoar/ui-menu": "0.1.0-beta.100",
|
|
39
|
+
"@cocoar/ui-overlay": "0.1.0-beta.100",
|
|
40
|
+
"@cocoar/ui-tokens": "0.1.0-beta.100"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@angular/core": "^20.3.0"
|
|
44
|
+
},
|
|
45
|
+
"sideEffects": false,
|
|
46
|
+
"type": "module"
|
|
47
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/ui/src/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC"}
|
package/src/index.js
ADDED
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/ui/src/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC","sourcesContent":["// Re-export all Cocoar Design System packages\nexport * from '@cocoar/ui-components';\nexport * from '@cocoar/ui-menu';\nexport * from '@cocoar/ui-overlay';\n"]}
|