@ng-brutalism/ui 0.1.0 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -21,6 +21,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
  - Portfolio journey map sync migrated to `toObservable + subscribe`.
22
22
  - Event handlers renamed to reflect actions rather than triggering events.
23
23
 
24
+ ## [0.1.2] — 2026-05-23
25
+
26
+ ### Changed
27
+
28
+ - npm package `description` rewritten to lead with "neo-brutalist Angular UI library" and include "brutalist Angular components" and `ng add @ng-brutalism/ui` (T1/T2 keyword alignment).
29
+ - npm `keywords`: added `ngbrutalism`, `ng-add`, `schematics`; removed generic `ui` and redundant `tailwind`.
30
+
31
+ > Patch motivation: `@ng-brutalism/ui` was absent from npm's search index even for exact-name queries. Publishing a new version fires the registry event that triggers the search crawler.
32
+
33
+ ## [0.1.1] — 2026-05-21
34
+
35
+ ### Fixed
36
+
37
+ - Ensure Tailwind v4 scans the packaged library bundle so component utility classes are generated in consumer apps.
38
+
24
39
  ## [0.1.0] — 2026-05-21
25
40
 
26
41
  Initial public release.
package/README.md CHANGED
@@ -1,11 +1,13 @@
1
- # @ng-brutalism/ui
1
+ # ng-brutalism — Neo-brutalist Angular UI Component Library
2
2
 
3
3
  Build loud. Stay sharp.
4
4
 
5
- `@ng-brutalism/ui` gives modern Angular apps a token-driven component system
6
- with directive-first APIs, keyboard-ready interactions, hard-edged visuals, and
5
+ ng-brutalism is a neo-brutalist Angular UI component library — token-driven,
6
+ signals-first, zoneless, with directive APIs, keyboard-ready interactions, and
7
7
  Tailwind v4 ergonomics from the first import.
8
8
 
9
+ If you like shadcn/ui or daisyUI, but for Angular and built around brutalism.
10
+
9
11
  [![npm version](https://img.shields.io/npm/v/@ng-brutalism/ui.svg)](https://www.npmjs.com/package/@ng-brutalism/ui)
10
12
  [![npm downloads](https://img.shields.io/npm/dm/@ng-brutalism/ui.svg)](https://www.npmjs.com/package/@ng-brutalism/ui)
11
13
  [![CI](https://github.com/khangtrannn/ng-brutalism/actions/workflows/ci.yml/badge.svg)](https://github.com/khangtrannn/ng-brutalism/actions/workflows/ci.yml)
@@ -15,7 +17,7 @@ Tailwind v4 ergonomics from the first import.
15
17
  [npm](https://www.npmjs.com/package/@ng-brutalism/ui) ·
16
18
  [GitHub](https://github.com/khangtrannn/ng-brutalism)
17
19
 
18
- ![demo](https://raw.githubusercontent.com/khangtrannn/ng-brutalism/main/docs/assets/introduction.gif)
20
+ ![ng-brutalism Angular component library demo — buttons, cards, dialogs in neo-brutalist style](https://raw.githubusercontent.com/khangtrannn/ng-brutalism/main/docs/assets/introduction.gif)
19
21
 
20
22
  ## Install
21
23
 
@@ -90,20 +92,68 @@ bootstrapApplication(App, {
90
92
  });
91
93
  ```
92
94
 
95
+ ## Components
96
+
97
+ | Component | Description | Docs |
98
+ | --- | --- | --- |
99
+ | Accordion | Vertically stacked, collapsible content panels with single or multi-expand modes. | [Docs](https://ngbrutalism.khangtran.dev/components/accordion) |
100
+ | Avatar | Compact avatar with image and fallback support. | [Docs](https://ngbrutalism.khangtran.dev/components/avatar) |
101
+ | Badge | Inline status pill with multiple variants. | [Docs](https://ngbrutalism.khangtran.dev/components/badge) |
102
+ | Button | Directive-driven button with size, variant, and shadow controls. | [Docs](https://ngbrutalism.khangtran.dev/components/button) |
103
+ | Card | Container with header, title, description, content, actions, and footer slots. | [Docs](https://ngbrutalism.khangtran.dev/components/card) |
104
+ | Checkbox | Form checkbox with size variants and signal-friendly bindings. | [Docs](https://ngbrutalism.khangtran.dev/components/checkbox) |
105
+ | Dialog | Modal dialog with title, description, content, actions, and close slots. | [Docs](https://ngbrutalism.khangtran.dev/components/dialog) |
106
+ | Image Card | Image-led card with caption overlay for portfolios and galleries. | [Docs](https://ngbrutalism.khangtran.dev/components/image-card) |
107
+ | Input | Single-line text input with size variants. | [Docs](https://ngbrutalism.khangtran.dev/components/input) |
108
+ | Input Group | Input wrapper with prefix and suffix slots for icons, addons, or units. | [Docs](https://ngbrutalism.khangtran.dev/components/input-group) |
109
+ | Label | Accessible label tied to form controls. | [Docs](https://ngbrutalism.khangtran.dev/components/label) |
110
+ | Marquee | Looping horizontal scroller for logos, tags, or announcements. | [Docs](https://ngbrutalism.khangtran.dev/components/marquee) |
111
+ | Select | Native or custom dropdown select with option templating. | [Docs](https://ngbrutalism.khangtran.dev/components/select) |
112
+ | Textarea | Multi-line text input with size variants. | [Docs](https://ngbrutalism.khangtran.dev/components/textarea) |
113
+ | Title | Typographic heading primitive with brutalist defaults. | [Docs](https://ngbrutalism.khangtran.dev/components/title) |
114
+
93
115
  ## What it looks like
94
116
 
95
- ![showcase](https://raw.githubusercontent.com/khangtrannn/ng-brutalism/main/docs/assets/showcase-portfolio.png)
117
+ ![ng-brutalism component showcase — accordion, badge, button, card, checkbox, dialog, input, select rendered in brutalist design](https://raw.githubusercontent.com/khangtrannn/ng-brutalism/main/docs/assets/showcase-portfolio.png)
96
118
 
97
119
  ## Documentation
98
120
 
99
121
  Full guides, component API tables, and live examples:
100
122
  [https://ngbrutalism.khangtran.dev](https://ngbrutalism.khangtran.dev)
101
123
 
124
+ ## FAQ
125
+
126
+ **Does ng-brutalism support Angular 21?**
127
+ Yes — it is built and tested against Angular 21. Earlier Angular versions are not supported.
128
+
129
+ **Do I need Tailwind CSS v4?**
130
+ Yes. ng-brutalism is built around Tailwind CSS v4 and CSS custom properties. It ships with an Angular CLI schematic that helps you get the required styling setup ready out of the box.
131
+
132
+ **Can I use ng-brutalism without zoneless mode?**
133
+ Yes. Components are designed for modern Angular: standalone imports, signal-friendly internals, and zoneless-friendly interaction patterns. They work in zoneless apps and in apps that still run with zone.js.
134
+
135
+ **Does ng-brutalism work with server-side rendering (SSR)?**
136
+ The UI package avoids browser-only assumptions in core primitives where possible, and browser-dependent behavior is kept behind Angular platform checks when needed.
137
+
138
+ **How customizable is the theme?**
139
+ All visual tokens are exposed as CSS custom properties (`--nb-*`). A subset of tokens can also be configured from TypeScript via `provideNgBrutalism({ theme: ... })` at bootstrap.
140
+
141
+ **Is ng-brutalism ready for production?**
142
+ It is pre-1.0. Component APIs are usable today, but minor versions may include breaking changes while the library settles.
143
+
144
+ ## Author
145
+
146
+ Created by [Khang Tran](https://github.com/khangtrannn). MIT licensed. Source code is available on GitHub.
147
+
102
148
  ## Status
103
149
 
104
150
  `@ng-brutalism/ui` is pre-1.0. The component APIs are usable today, but minor
105
151
  versions may include breaking changes while the library settles.
106
152
 
153
+ ## Contributing
154
+
155
+ Issues and pull requests are welcome. See [CONTRIBUTING.md](https://github.com/khangtrannn/ng-brutalism/blob/main/CONTRIBUTING.md) for details.
156
+
107
157
  ## License
108
158
 
109
159
  MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ng-brutalism/ui",
3
- "version": "0.1.0",
4
- "description": "A neo-brutalist Angular component library — Signals Zoneless Token-based Tailwind v4.",
3
+ "version": "0.1.2",
4
+ "description": "Neo-brutalist Angular UI library — brutalist Angular components with signals, zoneless, and Tailwind v4. Install: ng add @ng-brutalism/ui",
5
5
  "license": "MIT",
6
6
  "author": "Khang Tran <khangtrann8198@gmail.com>",
7
7
  "repository": {
@@ -13,22 +13,26 @@
13
13
  "url": "https://github.com/khangtrannn/ng-brutalism/issues"
14
14
  },
15
15
  "keywords": [
16
+ "ng-brutalism",
17
+ "ngbrutalism",
16
18
  "neo-brutalism",
17
19
  "neo-brutalism-ui",
18
- "neo brutalism",
20
+ "neobrutalism",
21
+ "neobrutalist",
19
22
  "brutalism",
20
23
  "brutalist-design",
21
24
  "angular",
22
25
  "angular-ui",
23
26
  "angular-components",
24
- "ui",
27
+ "angular-brutalism",
25
28
  "ui-library",
26
29
  "component-library",
27
30
  "design-system",
28
- "tailwind",
29
31
  "tailwindcss",
30
32
  "signals",
31
- "zoneless"
33
+ "zoneless",
34
+ "ng-add",
35
+ "schematics"
32
36
  ],
33
37
  "peerDependencies": {
34
38
  "@angular/common": "^21.0.0",
package/styles.css CHANGED
@@ -1,6 +1,8 @@
1
1
  /* styles.css - full theme + base reset */
2
2
  @import './theme.css';
3
3
 
4
+ @source './fesm2022/ng-brutalism-ui.mjs';
5
+
4
6
  *,
5
7
  *::before,
6
8
  *::after {