@bcrumbs.net/bc-ui 0.0.15 → 0.0.16
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 +32 -0
- package/index.esm.js +3393 -3009
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/lib/constants/Color.d.ts +4 -0
- package/src/lib/constants/Droplist.d.ts +4 -0
- package/src/lib/constants/FontFamily.d.ts +3 -1
- package/src/lib/dropList/style.d.ts +1 -0
- package/src/lib/icon/bcicon.d.ts +33 -0
- package/src/lib/navigation/types.d.ts +4 -0
- package/src/lib/newComponents/BCInlineAlert/BCInlineAlert.d.ts +25 -0
- package/src/lib/newComponents/BCNewDropdown/types.d.ts +6 -0
package/README.md
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @bcrumbs.net/bc-ui
|
|
2
|
+
|
|
3
|
+
Shared React UI library for Bread Crumbs portals.
|
|
4
|
+
|
|
5
|
+
## Docs
|
|
6
|
+
|
|
7
|
+
| Document | Description |
|
|
8
|
+
|---|---|
|
|
9
|
+
| [DESIGN_SYSTEM.md](./DESIGN_SYSTEM.md) | Principles, colors, typography, spacing, radius, shadows |
|
|
10
|
+
| [COMPONENTS.md](./COMPONENTS.md) | Component variants, sizes, states, usage |
|
|
11
|
+
| [claude.md](./claude.md) | AI / agent instructions |
|
|
12
|
+
| [UI_PROMPT_TEMPLATE.md](./UI_PROMPT_TEMPLATE.md) | Prompt template for UI generation |
|
|
13
|
+
|
|
14
|
+
## Storybook
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx nx storybook bc-ui
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- Port: **4400**
|
|
21
|
+
- Foundations MDX under `src/stories/`
|
|
22
|
+
- Component stories under `src/lib/**/*.stories.tsx`
|
|
23
|
+
- Toolbar: Light/Dark theme + LTR/RTL
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx nx build-storybook bc-ui
|
|
27
|
+
npx nx test bc-ui
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Prefer for new UI
|
|
31
|
+
|
|
32
|
+
`Button`, `BCNewDialog`, `BCNewAlertDialog`, `BCInlineAlert`, `BCNewDropdown`, `BCNewTabs`, `BCNewTable`, `BCNewCheckBox`
|