@sarunyu/system-one 4.9.18 → 4.9.23
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/dist/index.cjs +24 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -13
- package/dist/index.js.map +1 -1
- package/dist/src/components/alert.d.ts +1 -0
- package/dist/src/components/alert.d.ts.map +1 -1
- package/dist/style.css +2 -1
- package/llms.txt +10 -5
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -751,9 +751,13 @@ type AlertStatus = "normal" | "information" | "success" | "warning" | "critical"
|
|
|
751
751
|
<Alert status="warning" message="Incomplete profile — some features are limited." />
|
|
752
752
|
<Alert status="critical" message="Authentication failed. Please try again." />
|
|
753
753
|
<Alert status="warning" message="A longer message that wraps to a second line." multiline />
|
|
754
|
+
|
|
755
|
+
// With title — for notices, disclaimers, info boxes with a heading
|
|
756
|
+
<Alert status="normal" title="คำเตือนความเสี่ยง" message="การลงทุนมีความเสี่ยง ผู้ลงทุนควรศึกษาข้อมูลก่อนตัดสินใจลงทุน" multiline />
|
|
757
|
+
<Alert status="warning" title="ข้อมูลสำคัญ" message="บัญชีของคุณจะถูกระงับหากไม่ยืนยันภายใน 7 วัน" />
|
|
754
758
|
```
|
|
755
759
|
|
|
756
|
-
Props: `status?` (default `"normal"`), `message` (required), `multiline?` (default `false` — `false` truncates to one line, `true` clamps to 2 lines), `className`.
|
|
760
|
+
Props: `status?` (default `"normal"`), `title?` (bold header line above message), `message` (required), `multiline?` (default `false` — `false` truncates to one line, `true` clamps to 2 lines), `className`.
|
|
757
761
|
|
|
758
762
|
---
|
|
759
763
|
|
|
@@ -1370,8 +1374,9 @@ defaults live in `tokens/color.json` (P1 blue). Replace with your own values.
|
|
|
1370
1374
|
--primary-action: #7c3aed; /* your brand 600 */
|
|
1371
1375
|
--primary-action-hover: #6d28d9; /* your brand 700 */
|
|
1372
1376
|
--primary-action-active: #5b21b6; /* your brand 800 */
|
|
1373
|
-
/*
|
|
1374
|
-
|
|
1377
|
+
/* Use rgb(r g b / alpha%) — NOT color-mix() which is unsupported in some renderers */
|
|
1378
|
+
--primary-action-light: rgb(124 58 237 / 6%);
|
|
1379
|
+
--primary-action-muted: rgb(124 58 237 / 10%);
|
|
1375
1380
|
|
|
1376
1381
|
--font-sans: "Inter", sans-serif; /* replace default Noto Sans Thai */
|
|
1377
1382
|
}
|
|
@@ -1382,8 +1387,8 @@ defaults live in `tokens/color.json` (P1 blue). Replace with your own values.
|
|
|
1382
1387
|
--primary-action: #a78bfa; /* your brand 400 */
|
|
1383
1388
|
--primary-action-hover: #c4b5fd; /* your brand 300 */
|
|
1384
1389
|
--primary-action-active: #8b5cf6; /* your brand 500 */
|
|
1385
|
-
--primary-action-light:
|
|
1386
|
-
--primary-action-muted:
|
|
1390
|
+
--primary-action-light: rgb(167 139 250 / 10%);
|
|
1391
|
+
--primary-action-muted: rgb(167 139 250 / 15%);
|
|
1387
1392
|
}
|
|
1388
1393
|
```
|
|
1389
1394
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarunyu/system-one",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A production-ready React design system built for AI-powered web generation tools (Figma Make, Lovable, V0). Tailwind CSS v4 + CSS custom properties for full theming support.",
|
|
6
6
|
"keywords": [
|