@loomui-ng/ui 0.1.0 → 0.1.1
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 +3 -3
- package/fesm2022/loomui-ng-ui.mjs +1 -1
- package/fesm2022/loomui-ng-ui.mjs.map +1 -1
- package/icon/README.md +1 -1
- package/package.json +4 -4
- package/types/loomui-ng-ui.d.ts +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ Import per component: `import { UiButton } from '@loomui-ng/ui/button'` (path al
|
|
|
8
8
|
|
|
9
9
|
**Option A — copy-in CLI (you own the code):**
|
|
10
10
|
```bash
|
|
11
|
-
npx loomui init
|
|
12
|
-
npx loomui add button dialog data-table
|
|
11
|
+
npx @loomui-ng/cli init
|
|
12
|
+
npx @loomui-ng/cli add button dialog data-table
|
|
13
13
|
```
|
|
14
14
|
See `packages/loomui-cli/README.md`. All 64 components were verified to compile standalone (`ngc`, strict templates) after being copied this way.
|
|
15
15
|
|
|
@@ -34,7 +34,7 @@ Optional peers: `embla-carousel` (Carousel), `chart.js` (Chart), `@tanstack/angu
|
|
|
34
34
|
Every directive also exists as a custom element: `<button uiButton>` → `<ui-button>`, `<div uiDialogContent>` → `<ui-dialog-content>`, `<table uiTable>` → `<ui-table>` (a hyphen is required for custom elements, so it is `ui-` and not `<Button>`). Directives are unchanged and can be mixed freely. Native controls get wrapper elements (`<ui-input>`, `<ui-textarea>`, `<ui-native-select>`, …) that work with `ngModel`/reactive forms. A shared host directive restores roles, tab stops, Enter/Space activation and `disabled` on the elements. Spec: `docs/behavior-specs/custom-elements.md`. Limits: `<ui-button>` does not submit a `<form>` (use `(click)`).
|
|
35
35
|
|
|
36
36
|
## Icons
|
|
37
|
-
Lucide icons: `<ui-icon [icon]="Search" />` or `<svg uiIcon [icon]="Search">` (`npx loomui add icon`, peer dependency `lucide`). See `libs/ui/icon/README.md`; browse and copy at the showcase's **/icons** page.
|
|
37
|
+
Lucide icons: `<ui-icon [icon]="Search" />` or `<svg uiIcon [icon]="Search">` (`npx @loomui-ng/cli add icon`, peer dependency `lucide`). See `libs/ui/icon/README.md`; browse and copy at the showcase's **/icons** page.
|
|
38
38
|
|
|
39
39
|
## Conventions
|
|
40
40
|
- Every directive accepts `class`, merged with `tailwind-merge` (`cn()`); the directive owns the whole `class` attribute, so avoid `[class.x]` bindings on the same element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loomui-ng-ui.mjs","names":[],"sources":["../../../libs/ui/index.ts"],"sourcesContent":["/**\n * Primary entry point. Components live in secondary entry points: import from '@loomui-ng/ui/button', '@loomui-ng/ui/dialog', …\n * Theme stylesheet: '@loomui-ng/ui/styles/loomui.css'.\n */\nexport const LOOMUI_VERSION = '0.1.
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui.mjs","names":[],"sources":["../../../libs/ui/index.ts"],"sourcesContent":["/**\n * Primary entry point. Components live in secondary entry points: import from '@loomui-ng/ui/button', '@loomui-ng/ui/dialog', …\n * Theme stylesheet: '@loomui-ng/ui/styles/loomui.css'.\n */\nexport const LOOMUI_VERSION = '0.1.1';\n"],"mappings":"AAIA,MAAa,iBAAiB"}
|
package/icon/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Lucide icons as an Angular component (`<ui-icon>`) and as a directive on a real
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
import { Search } from 'lucide';
|
|
7
|
-
import { UiIcon } from '@loomui-ng/ui/icon'; // or: npx loomui add icon
|
|
7
|
+
import { UiIcon } from '@loomui-ng/ui/icon'; // or: npx @loomui-ng/cli add icon
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
```html
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomui-ng/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Accessible, signal-based Angular components on the CDK — copy them in or install the package. Directives and custom elements.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
45
|
-
"url": "git+https://github.com/Hkarimi561/loomui.git",
|
|
45
|
+
"url": "git+https://github.com/Hkarimi561/loomui-ng.git",
|
|
46
46
|
"directory": "libs/ui"
|
|
47
47
|
},
|
|
48
|
-
"homepage": "https://hkarimi561.github.io/loomui/",
|
|
48
|
+
"homepage": "https://hkarimi561.github.io/loomui-ng/",
|
|
49
49
|
"bugs": {
|
|
50
|
-
"url": "https://github.com/Hkarimi561/loomui/issues"
|
|
50
|
+
"url": "https://github.com/Hkarimi561/loomui-ng/issues"
|
|
51
51
|
},
|
|
52
52
|
"module": "fesm2022/loomui-ng-ui.mjs",
|
|
53
53
|
"typings": "types/loomui-ng-ui.d.ts",
|
package/types/loomui-ng-ui.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Primary entry point. Components live in secondary entry points: import from '@loomui-ng/ui/button', '@loomui-ng/ui/dialog', …
|
|
3
3
|
* Theme stylesheet: '@loomui-ng/ui/styles/loomui.css'.
|
|
4
4
|
*/
|
|
5
|
-
export declare const LOOMUI_VERSION = "0.1.
|
|
5
|
+
export declare const LOOMUI_VERSION = "0.1.1";
|