@carbonid1/design-system 5.7.2 → 5.7.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-system
|
|
3
|
-
description: 'Shared UI components and design patterns for carbonid1 apps built on @carbonid1/design-system. ALWAYS use when building UI, creating components, adding dropdowns, selects, tooltips, icons, toasts, context menus, badges, or any interactive element.
|
|
3
|
+
description: 'Shared UI components and design patterns for carbonid1 apps built on @carbonid1/design-system. ALWAYS use when building UI, creating components, adding dropdowns, selects, tooltips, icons, toasts, context menus, badges, or any interactive element. Triggers on: dropdown, select, tooltip, tag, badge, icon, component, UI, design system, layout shift, skeleton, context menu, right-click menu, button, theme, palette.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Design System
|
|
@@ -35,7 +35,6 @@ If you're editing `@carbonid1/design-system` itself (adding a primitive, changin
|
|
|
35
35
|
|
|
36
36
|
## Core rules
|
|
37
37
|
|
|
38
|
-
- Never use native `<select>` — use `Select`
|
|
39
38
|
- Never build a tooltip, context menu, or toast from scratch — use `Tooltip`, `ContextMenu`, `toast()`
|
|
40
39
|
- All icons from `lucide-react` — search `lucide.dev/icons` before creating anything custom. If nothing fits, build via Lucide's `Icon` + `iconNode`, don't reach for another library.
|
|
41
40
|
- All color through semantic tokens — no hardcoded Tailwind color classes. See [references/theming.md](references/theming.md).
|