@7onic-ui/react 0.2.5 → 0.2.7
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 +2 -2
- package/dist/index.js +15 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -16
- package/dist/index.mjs.map +1 -1
- package/llms.txt +7 -3
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -263,7 +263,7 @@ Works with Claude Code, Cursor, GitHub Copilot, ChatGPT, and any AI tool that re
|
|
|
263
263
|
- [x] Automated doc verification (8 checks, AST-powered, blocks publish on error)
|
|
264
264
|
- [x] Automated component verification (7 checks — hardcoded colors, tokens, dark mode, dead code)
|
|
265
265
|
- [x] Multilingual documentation — English, Japanese, Korean (powered by next-intl)
|
|
266
|
-
- [x] npm package distribution — `@7onic-ui/react` + `@7onic-ui/tokens` v0.2.
|
|
266
|
+
- [x] npm package distribution — `@7onic-ui/react` + `@7onic-ui/tokens` v0.2.7
|
|
267
267
|
- [x] AI integration — `llms.txt` standard, setup guides for Claude Code / Cursor / Copilot / ChatGPT
|
|
268
268
|
- [x] `npx 7onic add` CLI (shadcn-style) — source copy with dependency resolution
|
|
269
269
|
- [x] `npx 7onic init` Vite support — `tsconfig.app.json` detection, `@import "tailwindcss"` + `@source` auto-inject, `@/` path alias auto-configure
|
|
@@ -290,5 +290,5 @@ MIT
|
|
|
290
290
|
<p align="center">
|
|
291
291
|
<strong>One JSON, every format — from Figma to production.</strong><br>
|
|
292
292
|
Independently built.<br>
|
|
293
|
-
<sub>Last updated: 2026-04-
|
|
293
|
+
<sub>Last updated: 2026-04-16 (v0.2.7)</sub>
|
|
294
294
|
</p>
|
package/dist/index.js
CHANGED
|
@@ -1614,7 +1614,7 @@ var Field = Object.assign(FieldRoot, {
|
|
|
1614
1614
|
var inputVariants = (0, import_class_variance_authority9.cva)(
|
|
1615
1615
|
[
|
|
1616
1616
|
"flex w-full bg-background text-foreground placeholder:text-foreground/30",
|
|
1617
|
-
"border transition-colors duration-micro",
|
|
1617
|
+
"border transition-colors duration-micro outline-transparent",
|
|
1618
1618
|
"focus:[outline:2px_solid_transparent]",
|
|
1619
1619
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted",
|
|
1620
1620
|
"file:border-0 file:bg-transparent file:text-sm file:font-semibold"
|
|
@@ -1823,7 +1823,7 @@ var import_class_variance_authority10 = require("class-variance-authority");
|
|
|
1823
1823
|
var textareaVariants = (0, import_class_variance_authority10.cva)(
|
|
1824
1824
|
[
|
|
1825
1825
|
"flex w-full bg-background text-foreground placeholder:text-foreground/30",
|
|
1826
|
-
"border transition-colors duration-micro",
|
|
1826
|
+
"border transition-colors duration-micro outline-transparent",
|
|
1827
1827
|
"focus:[outline:2px_solid_transparent]",
|
|
1828
1828
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted"
|
|
1829
1829
|
].join(" "),
|
|
@@ -2563,7 +2563,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, radiu
|
|
|
2563
2563
|
onCloseAutoFocus?.(e);
|
|
2564
2564
|
},
|
|
2565
2565
|
className: cn(
|
|
2566
|
-
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
|
|
2566
|
+
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2567
2567
|
flush ? "py-1" : "p-1",
|
|
2568
2568
|
contentRadiusMap[radius],
|
|
2569
2569
|
className
|
|
@@ -2702,7 +2702,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
|
|
|
2702
2702
|
{
|
|
2703
2703
|
ref,
|
|
2704
2704
|
className: cn(
|
|
2705
|
-
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg",
|
|
2705
|
+
"z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2706
2706
|
flush ? "py-1" : "p-1",
|
|
2707
2707
|
contentRadiusMap[radius],
|
|
2708
2708
|
className
|
|
@@ -2862,7 +2862,7 @@ var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref)
|
|
|
2862
2862
|
"flex w-full items-center justify-between bg-background text-foreground hover:bg-background-muted",
|
|
2863
2863
|
"border border-border",
|
|
2864
2864
|
triggerRadiusMap[radius],
|
|
2865
|
-
"transition-colors duration-micro",
|
|
2865
|
+
"transition-colors duration-micro outline-transparent",
|
|
2866
2866
|
"focus-visible:shadow-[0_0_0_2px_var(--color-focus-ring)] focus:[outline:2px_solid_transparent]",
|
|
2867
2867
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2868
2868
|
"data-[placeholder]:text-foreground/30",
|
|
@@ -2920,7 +2920,7 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
|
|
|
2920
2920
|
onCloseAutoFocus?.(e);
|
|
2921
2921
|
},
|
|
2922
2922
|
className: cn(
|
|
2923
|
-
"relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background shadow-lg",
|
|
2923
|
+
"relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background text-foreground shadow-lg",
|
|
2924
2924
|
flush ? "py-1" : "p-1",
|
|
2925
2925
|
contentRadiusMap2[contentRadius],
|
|
2926
2926
|
position === "popper" && "max-h-[var(--radix-select-content-available-height)]",
|
|
@@ -4919,9 +4919,8 @@ var PaginationRoot = React26.forwardRef(
|
|
|
4919
4919
|
color = "default",
|
|
4920
4920
|
radius = "md",
|
|
4921
4921
|
disabled = false,
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
withEdges: _withEdges = false,
|
|
4922
|
+
withControls = true,
|
|
4923
|
+
withEdges = false,
|
|
4925
4924
|
loop = false,
|
|
4926
4925
|
children,
|
|
4927
4926
|
...props
|
|
@@ -4959,7 +4958,7 @@ var PaginationRoot = React26.forwardRef(
|
|
|
4959
4958
|
className: cn("", className),
|
|
4960
4959
|
...props
|
|
4961
4960
|
},
|
|
4962
|
-
children
|
|
4961
|
+
children ?? /* @__PURE__ */ React26.createElement(PaginationContent, null, withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationFirst, null)), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationPrevious, null)), /* @__PURE__ */ React26.createElement(PaginationItems, null), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationNext, null)), withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationLast, null)))
|
|
4963
4962
|
));
|
|
4964
4963
|
}
|
|
4965
4964
|
);
|
|
@@ -5256,7 +5255,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
|
|
|
5256
5255
|
"div",
|
|
5257
5256
|
{
|
|
5258
5257
|
className: cn(
|
|
5259
|
-
"relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
|
|
5258
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
|
|
5260
5259
|
modalContentVariants({ size }),
|
|
5261
5260
|
className
|
|
5262
5261
|
),
|
|
@@ -5272,7 +5271,7 @@ var ModalContent = React27.forwardRef(({ className, children, size = "sm", scrol
|
|
|
5272
5271
|
{
|
|
5273
5272
|
ref,
|
|
5274
5273
|
className: cn(
|
|
5275
|
-
"relative w-full rounded-xl bg-background shadow-xl overflow-hidden",
|
|
5274
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden",
|
|
5276
5275
|
"focus:outline-none",
|
|
5277
5276
|
"data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
|
|
5278
5277
|
modalContentVariants({ size }),
|
|
@@ -5376,7 +5375,7 @@ var AlertModalContent = React27.forwardRef(({ className, children, size = "sm",
|
|
|
5376
5375
|
{
|
|
5377
5376
|
ref,
|
|
5378
5377
|
className: cn(
|
|
5379
|
-
"relative w-full rounded-xl bg-background shadow-xl",
|
|
5378
|
+
"relative w-full rounded-xl bg-background text-foreground shadow-xl",
|
|
5380
5379
|
"focus:outline-none",
|
|
5381
5380
|
"data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit",
|
|
5382
5381
|
alertModalContentVariants({ size }),
|
|
@@ -5558,7 +5557,7 @@ var DrawerContent = React28.forwardRef(({ className, children, side = "right", s
|
|
|
5558
5557
|
{
|
|
5559
5558
|
ref,
|
|
5560
5559
|
className: cn(
|
|
5561
|
-
"fixed z-modal flex flex-col bg-background shadow-xl",
|
|
5560
|
+
"fixed z-modal flex flex-col bg-background text-foreground shadow-xl",
|
|
5562
5561
|
"focus:outline-none",
|
|
5563
5562
|
SIDE_POSITION[side],
|
|
5564
5563
|
isHorizontal ? "max-w-full h-full" : "max-h-full w-full",
|
|
@@ -5752,8 +5751,8 @@ var popoverContentVariants = (0, import_class_variance_authority25.cva)(
|
|
|
5752
5751
|
{
|
|
5753
5752
|
variants: {
|
|
5754
5753
|
variant: {
|
|
5755
|
-
default: "bg-background-paper border border-border shadow-lg",
|
|
5756
|
-
elevated: "bg-background-paper/95 border border-border-subtle shadow-xl backdrop-blur-sm"
|
|
5754
|
+
default: "bg-background-paper text-foreground border border-border shadow-lg",
|
|
5755
|
+
elevated: "bg-background-paper/95 text-foreground border border-border-subtle shadow-xl backdrop-blur-sm"
|
|
5757
5756
|
},
|
|
5758
5757
|
size: {
|
|
5759
5758
|
sm: "text-sm p-3 rounded-lg",
|