@nqlib/nqui 0.4.7 → 0.5.0
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 +22 -18
- package/dist/{button-CJHdCq9I.js → button-BrroJ39H.js} +35 -34
- package/dist/button-CrLihxcE.cjs +1 -0
- package/dist/calendar.cjs.js +1 -1
- package/dist/calendar.es.js +1 -1
- package/dist/{carousel-U7RZhYZj.js → carousel-C976t5jo.js} +1 -1
- package/dist/{carousel-D1FMVglR.cjs → carousel-VldrniuT.cjs} +1 -1
- package/dist/carousel.cjs.js +1 -1
- package/dist/carousel.es.js +1 -1
- package/dist/{command-palette-D_SFxXyQ.js → command-palette-2V1VSlOM.js} +1 -1
- package/dist/{command-palette-DSQYbRiH.cjs → command-palette-4Sv4QjZ2.cjs} +1 -1
- package/dist/command.cjs.js +1 -1
- package/dist/command.es.js +1 -1
- package/dist/components/custom/enhanced-tabs.d.ts +1 -0
- package/dist/components/custom/enhanced-tabs.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +4 -0
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +1 -0
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/tabs.d.ts +6 -4
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/{debug-panel-BtOvhfpR.js → debug-panel-BnZDhlaR.js} +1621 -1749
- package/dist/{debug-panel-DLfH4sdK.cjs → debug-panel-R2ZLkucO.cjs} +10 -10
- package/dist/debug.cjs.js +1 -1
- package/dist/debug.es.js +1 -1
- package/dist/{enhanced-calendar-C7EQIr6i.cjs → enhanced-calendar-BEIfybRx.cjs} +1 -1
- package/dist/{enhanced-calendar-BGlsSYJd.js → enhanced-calendar-Cj-4xhqf.js} +1 -1
- package/dist/hooks/use-resolved-theme.d.ts +3 -4
- package/dist/hooks/use-resolved-theme.d.ts.map +1 -1
- package/dist/nqui.cjs.js +3 -23
- package/dist/nqui.es.js +607 -629
- package/dist/{sonner-nE9hIalJ.cjs → sonner-CEx2-yKh.cjs} +2 -2
- package/dist/{sonner-CpmECDBk.js → sonner-FXwPWWq8.js} +24 -24
- package/dist/sonner.cjs.js +1 -1
- package/dist/sonner.es.js +1 -1
- package/dist/styles.css +40 -80
- package/docs/components/README.md +11 -2
- package/docs/components/nqui-scroll-area.md +74 -0
- package/docs/components/nqui-tooltip.md +17 -2
- package/docs/nqui-skills/COMPONENTS_INDEX.md +48 -0
- package/docs/nqui-skills/HUMAN_GUIDE.md +21 -0
- package/docs/nqui-skills/README.md +20 -0
- package/docs/nqui-skills/SKILL.md +36 -89
- package/docs/nqui-skills/nqui-bundle-size-best-practices/SKILL.md +78 -0
- package/docs/nqui-skills/nqui-components/SKILL.md +101 -0
- package/docs/nqui-skills/{design-system.md → nqui-design-system/SKILL.md} +55 -25
- package/docs/nqui-skills/nqui-install/SKILL.md +65 -0
- package/docs/nqui-skills/nqui-local-published-toggle/SKILL.md +132 -0
- package/docs/nqui-skills/nqui-local-published-toggle/scripts/toggle-nqui.js +203 -0
- package/docs/nqui-skills/nqui-shadcn/SKILL.md +164 -0
- package/docs/nqui-skills/{rules → nqui-shadcn/rules}/forms.md +3 -3
- package/docs/nqui-skills/{rules → nqui-shadcn/rules}/styling.md +1 -1
- package/package.json +1 -1
- package/scripts/download-skills.js +28 -8
- package/scripts/examples/nextjs-layout-sidebar.tsx +3 -2
- package/scripts/examples/nextjs-layout.tsx +3 -2
- package/scripts/examples/vite-main.tsx +7 -1
- package/scripts/init-cursor.js +4 -3
- package/scripts/skill-templates.js +16 -6
- package/dist/button-R304rhsj.cjs +0 -1
- /package/docs/nqui-skills/{rules → nqui-shadcn/rules}/composition.md +0 -0
- /package/docs/nqui-skills/{rules → nqui-shadcn/rules}/icons.md +0 -0
package/README.md
CHANGED
|
@@ -32,11 +32,13 @@ npx @nqlib/nqui install-peers
|
|
|
32
32
|
|
|
33
33
|
Copy the library’s **skills** into your app so your IDE can follow nqui patterns (components, design system, ToggleGroup rules, etc.):
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
|
38
|
-
| `npx @nqlib/nqui init-
|
|
39
|
-
| `
|
|
35
|
+
|
|
36
|
+
| Command | What it does |
|
|
37
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
38
|
+
| `npx @nqlib/nqui init-cursor` | Writes `.cursor/rules` and `.cursor/skills`, copies `**docs/nqui-skills`** → `**.cursor/nqui-skills**`, and creates `**AGENTS.md**` at the project root pointing agents at `.cursor/nqui-skills/SKILL.md`. |
|
|
39
|
+
| `npx @nqlib/nqui init-skills` | **Skills only:** copies nqui-skills to `.cursor/nqui-skills/` and (re)creates `AGENTS.md`. Use `--force` to overwrite existing files. |
|
|
40
|
+
| `npm run nqui:init` | **One-shot** (if post-install added this script): `install-peers` → `init-cursor` → `init-skills` → `init-css --sidebar --force`. You still add the CSS import to your main stylesheet (see [INSTALLATION.md](./INSTALLATION.md)). |
|
|
41
|
+
|
|
40
42
|
|
|
41
43
|
After copying skills, **restart the IDE** so rules and skills reload.
|
|
42
44
|
|
|
@@ -48,15 +50,17 @@ After copying skills, **restart the IDE** so rules and skills reload.
|
|
|
48
50
|
|
|
49
51
|
Run from your **app project root** (where `package.json` lives). Equivalent **global bins** (when the package is installed): `nqui`, `nqui-setup`, `nqui-install-peers`, `nqui-init-cursor`, `nqui-init-skills`, `nqui-init-css`, `nqui-init-debug`.
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
|
54
|
-
| `npx @nqlib/nqui
|
|
55
|
-
| `npx @nqlib/nqui
|
|
56
|
-
| `npx @nqlib/nqui init-
|
|
57
|
-
| `npx @nqlib/nqui init-
|
|
58
|
-
| `npx @nqlib/nqui`
|
|
59
|
-
| `npx @nqlib/nqui
|
|
53
|
+
|
|
54
|
+
| Command | Description |
|
|
55
|
+
| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
56
|
+
| `npx @nqlib/nqui setup` | Re-run post-install: next steps + Cursor rules (not full skills/CSS). Same as `npx nqui-setup`. |
|
|
57
|
+
| `npx @nqlib/nqui install-peers` | Install `@nqlib/nqui` and required + optional peer dependencies. |
|
|
58
|
+
| `npx @nqlib/nqui init-cursor` | Cursor rules + **nqui-skills** → `.cursor/nqui-skills/` + `AGENTS.md`. |
|
|
59
|
+
| `npx @nqlib/nqui init-skills` | Copy nqui-skills only; `--force` to overwrite. |
|
|
60
|
+
| `npx @nqlib/nqui init-css` | Detect framework; create `nqui/index.css` and `nqui/nqui-setup.css`. Flags: `--sidebar`, `--force`, `--wizard`. Optional output path, e.g. `npx @nqlib/nqui init-css app/styles/nqui.css`. |
|
|
61
|
+
| `npx @nqlib/nqui` | No args → same as **init-css** (default `nqui/index.css`). |
|
|
62
|
+
| `npx @nqlib/nqui init-debug` or `init-debug-css` | Scaffold CSS for `DebugPanel`. |
|
|
63
|
+
|
|
60
64
|
|
|
61
65
|
---
|
|
62
66
|
|
|
@@ -105,7 +109,7 @@ npx @nqlib/nqui init-css --sidebar
|
|
|
105
109
|
@import "@nqlib/nqui/styles";
|
|
106
110
|
```
|
|
107
111
|
|
|
108
|
-
|
|
112
|
+
1. **Use components:**
|
|
109
113
|
|
|
110
114
|
```tsx
|
|
111
115
|
"use client";
|
|
@@ -148,7 +152,7 @@ See [Troubleshooting](#troubleshooting).
|
|
|
148
152
|
|
|
149
153
|
Vite with `@tailwindcss/vite` often works without `@source`; add the block above when utilities from the package do not show up in CSS.
|
|
150
154
|
|
|
151
|
-
|
|
155
|
+
1. **Components:**
|
|
152
156
|
|
|
153
157
|
```tsx
|
|
154
158
|
import { Button } from '@nqlib/nqui';
|
|
@@ -213,7 +217,7 @@ function App() {
|
|
|
213
217
|
|
|
214
218
|
## Component instructions
|
|
215
219
|
|
|
216
|
-
Guides for each component live under `docs/components/` in the package (after install: `node_modules/@nqlib/nqui/docs/components/`). Use
|
|
220
|
+
Guides for each component live under `docs/components/` in the package (after install: `node_modules/@nqlib/nqui/docs/components/`). Use `**npx @nqlib/nqui init-skills**` (or `init-cursor`) so your IDE loads `.cursor/nqui-skills` and `AGENTS.md`.
|
|
217
221
|
|
|
218
222
|
### Examples
|
|
219
223
|
|
|
@@ -320,4 +324,4 @@ Details: [internal-notes/PUBLISHING.md](./internal-notes/PUBLISHING.md).
|
|
|
320
324
|
|
|
321
325
|
## License
|
|
322
326
|
|
|
323
|
-
MIT
|
|
327
|
+
MIT
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
3
|
import { Slot as u } from "@radix-ui/react-slot";
|
|
4
4
|
import { cva as b } from "class-variance-authority";
|
|
5
5
|
import { c as g } from "./utils-B6yFEsav.js";
|
|
6
|
-
function c(
|
|
7
|
-
return
|
|
6
|
+
function c(o) {
|
|
7
|
+
return n.Children.map(o, (e, r) => {
|
|
8
8
|
if (e === null || e === !1) return e;
|
|
9
9
|
if (typeof e == "string" || typeof e == "number")
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
if (
|
|
12
|
-
const { children:
|
|
13
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ a("span", { className: "min-w-0 shrink truncate", children: e }, `nqui-inline-lbl-${r}`);
|
|
11
|
+
if (n.isValidElement(e) && e.type === n.Fragment) {
|
|
12
|
+
const { children: t } = e.props;
|
|
13
|
+
return /* @__PURE__ */ a(n.Fragment, { children: c(t) }, `nqui-inline-fr-${r}`);
|
|
14
14
|
}
|
|
15
15
|
return e;
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const m = b(
|
|
19
19
|
"inline-flex min-w-0 max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
20
20
|
{
|
|
21
21
|
variants: {
|
|
@@ -39,20 +39,20 @@ const h = b(
|
|
|
39
39
|
size: "default"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
), l =
|
|
43
|
-
({ className:
|
|
44
|
-
|
|
42
|
+
), l = n.forwardRef(
|
|
43
|
+
({ className: o, variant: e, size: r, asChild: t = !1, children: s, ...i }, d) => /* @__PURE__ */ a(
|
|
44
|
+
t ? u : "button",
|
|
45
45
|
{
|
|
46
|
-
className: g(
|
|
46
|
+
className: g(m({ variant: e, size: r, className: o })),
|
|
47
47
|
ref: d,
|
|
48
|
-
...
|
|
48
|
+
...i,
|
|
49
49
|
children: c(s)
|
|
50
50
|
}
|
|
51
51
|
)
|
|
52
52
|
);
|
|
53
53
|
l.displayName = "Button";
|
|
54
|
-
const
|
|
55
|
-
"inline-flex min-w-0 max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium leading-normal text-center cursor-pointer select-none touch-manipulation transition-[color,background-color,border-color,box-shadow,opacity,transform] duration-150 ease-in-out focus:outline-0 focus-visible:outline-0 disabled:pointer-events-none
|
|
54
|
+
const h = b(
|
|
55
|
+
"inline-flex min-w-0 max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium leading-normal text-center cursor-pointer select-none touch-manipulation transition-[color,background-color,border-color,box-shadow,opacity,transform] duration-150 ease-in-out focus:outline-0 focus-visible:outline-0 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-current",
|
|
56
56
|
{
|
|
57
57
|
variants: {
|
|
58
58
|
variant: {
|
|
@@ -63,7 +63,8 @@ const m = b(
|
|
|
63
63
|
"hover:bg-primary/90 hover:border-primary/90",
|
|
64
64
|
"focus:bg-primary/80 focus:border-primary/80",
|
|
65
65
|
"active:bg-primary/75 active:border-primary/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
66
|
-
|
|
66
|
+
/* Disabled: avoid *-foreground on transparent (illegible on light surfaces); use muted tokens */
|
|
67
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
67
68
|
],
|
|
68
69
|
destructive: [
|
|
69
70
|
"bg-destructive text-destructive-foreground border border-destructive",
|
|
@@ -72,7 +73,7 @@ const m = b(
|
|
|
72
73
|
"hover:bg-destructive/90 hover:border-destructive/90",
|
|
73
74
|
"focus:bg-destructive/80 focus:border-destructive/80",
|
|
74
75
|
"active:bg-destructive/75 active:border-destructive/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
75
|
-
"disabled:bg-
|
|
76
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
76
77
|
],
|
|
77
78
|
secondary: [
|
|
78
79
|
"bg-secondary text-secondary-foreground border border-border",
|
|
@@ -81,7 +82,7 @@ const m = b(
|
|
|
81
82
|
"hover:bg-secondary/90 hover:border-border",
|
|
82
83
|
"focus:bg-secondary/80 focus:border-border",
|
|
83
84
|
"active:bg-secondary/75 active:border-border active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
84
|
-
"disabled:bg-
|
|
85
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
85
86
|
],
|
|
86
87
|
success: [
|
|
87
88
|
"bg-success text-success-foreground border border-success",
|
|
@@ -90,7 +91,7 @@ const m = b(
|
|
|
90
91
|
"hover:bg-success/90 hover:border-success/90",
|
|
91
92
|
"focus:bg-success/80 focus:border-success/80",
|
|
92
93
|
"active:bg-success/75 active:border-success/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
93
|
-
"disabled:bg-
|
|
94
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
94
95
|
],
|
|
95
96
|
warning: [
|
|
96
97
|
"bg-warning text-warning-foreground border border-warning",
|
|
@@ -99,7 +100,7 @@ const m = b(
|
|
|
99
100
|
"hover:bg-warning/90 hover:border-warning/90",
|
|
100
101
|
"focus:bg-warning/80 focus:border-warning/80",
|
|
101
102
|
"active:bg-warning/75 active:border-warning/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
102
|
-
"disabled:bg-
|
|
103
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
103
104
|
],
|
|
104
105
|
info: [
|
|
105
106
|
"bg-info text-info-foreground border border-info",
|
|
@@ -108,7 +109,7 @@ const m = b(
|
|
|
108
109
|
"hover:bg-info/90 hover:border-info/90",
|
|
109
110
|
"focus:bg-info/80 focus:border-info/80",
|
|
110
111
|
"active:bg-info/75 active:border-info/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95",
|
|
111
|
-
"disabled:bg-
|
|
112
|
+
"disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"
|
|
112
113
|
],
|
|
113
114
|
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
114
115
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
@@ -126,30 +127,30 @@ const m = b(
|
|
|
126
127
|
size: "default"
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
|
-
),
|
|
130
|
-
({ className:
|
|
130
|
+
), x = n.forwardRef(
|
|
131
|
+
({ className: o, variant: e, size: r, asChild: t = !1, children: s, ...i }, d) => {
|
|
131
132
|
if (!(e && ["default", "destructive", "secondary", "success", "warning", "info"].includes(e)) && e)
|
|
132
|
-
return /* @__PURE__ */
|
|
133
|
+
return /* @__PURE__ */ a(
|
|
133
134
|
l,
|
|
134
135
|
{
|
|
135
136
|
ref: d,
|
|
136
137
|
variant: e === "outline" || e === "ghost" || e === "link" ? e : "default",
|
|
137
138
|
size: r,
|
|
138
|
-
className:
|
|
139
|
-
asChild:
|
|
140
|
-
...
|
|
139
|
+
className: o,
|
|
140
|
+
asChild: t,
|
|
141
|
+
...i,
|
|
141
142
|
children: s
|
|
142
143
|
}
|
|
143
144
|
);
|
|
144
|
-
const
|
|
145
|
-
return /* @__PURE__ */
|
|
145
|
+
const v = t ? u : "button", p = g(h({ variant: e, size: r, className: o }));
|
|
146
|
+
return /* @__PURE__ */ a(v, { className: p, style: i.style, ref: d, ...i, children: c(s) });
|
|
146
147
|
}
|
|
147
148
|
);
|
|
148
|
-
|
|
149
|
+
x.displayName = "EnhancedButton";
|
|
149
150
|
export {
|
|
150
151
|
l as B,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
x as E,
|
|
153
|
+
m as b,
|
|
154
|
+
h as e,
|
|
154
155
|
c as w
|
|
155
156
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),y=require("react"),l=require("@radix-ui/react-slot"),g=require("class-variance-authority"),f=require("./utils-IjLH3w2e.cjs");function _(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const o=_(y);function c(r){return o.Children.map(r,(e,t)=>{if(e===null||e===!1)return e;if(typeof e=="string"||typeof e=="number")return a.jsx("span",{className:"min-w-0 shrink truncate",children:e},`nqui-inline-lbl-${t}`);if(o.isValidElement(e)&&e.type===o.Fragment){const{children:n}=e.props;return a.jsx(o.Fragment,{children:c(n)},`nqui-inline-fr-${t}`)}return e})}const v=g.cva("inline-flex min-w-0 max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-7 min-w-7 px-3",sm:"h-6 min-w-6 px-2 text-xs",lg:"h-8 min-w-8 px-4",icon:"h-7 w-7 p-0"}},defaultVariants:{variant:"default",size:"default"}}),u=o.forwardRef(({className:r,variant:e,size:t,asChild:n=!1,children:s,...i},d)=>{const b=n?l.Slot:"button";return a.jsx(b,{className:f.cn(v({variant:e,size:t,className:r})),ref:d,...i,children:c(s)})});u.displayName="Button";const p=g.cva("inline-flex min-w-0 max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium leading-normal text-center cursor-pointer select-none touch-manipulation transition-[color,background-color,border-color,box-shadow,opacity,transform] duration-150 ease-in-out focus:outline-0 focus-visible:outline-0 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-current",{variants:{variant:{default:["bg-primary text-primary-foreground border border-primary","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-primary/90 hover:border-primary/90","focus:bg-primary/80 focus:border-primary/80","active:bg-primary/75 active:border-primary/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],destructive:["bg-destructive text-destructive-foreground border border-destructive","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-destructive/90 hover:border-destructive/90","focus:bg-destructive/80 focus:border-destructive/80","active:bg-destructive/75 active:border-destructive/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],secondary:["bg-secondary text-secondary-foreground border border-border","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-secondary/90 hover:border-border","focus:bg-secondary/80 focus:border-border","active:bg-secondary/75 active:border-border active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],success:["bg-success text-success-foreground border border-success","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-success/90 hover:border-success/90","focus:bg-success/80 focus:border-success/80","active:bg-success/75 active:border-success/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],warning:["bg-warning text-warning-foreground border border-warning","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-warning/90 hover:border-warning/90","focus:bg-warning/80 focus:border-warning/80","active:bg-warning/75 active:border-warning/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],info:["bg-info text-info-foreground border border-info","nqui-button-gradient nqui-button-shadow","opacity-90 hover:opacity-100","hover:bg-info/90 hover:border-info/90","focus:bg-info/80 focus:border-info/80","active:bg-info/75 active:border-info/75 active:shadow-[inset_0_3px_5px_rgba(0,0,0,0.125)] active:scale-95","disabled:bg-muted/60 disabled:text-muted-foreground disabled:border-border disabled:shadow-none"],outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-7 min-w-7 px-3",sm:"h-6 min-w-6 px-2 text-xs",lg:"h-8 min-w-8 px-4",icon:"h-7 w-7 p-0"}},defaultVariants:{variant:"default",size:"default"}}),h=o.forwardRef(({className:r,variant:e,size:t,asChild:n=!1,children:s,...i},d)=>{if(!(e&&["default","destructive","secondary","success","warning","info"].includes(e))&&e){const w=e==="outline"||e==="ghost"||e==="link"?e:"default";return a.jsx(u,{ref:d,variant:w,size:t,className:r,asChild:n,...i,children:s})}const m=n?l.Slot:"button",x=f.cn(p({variant:e,size:t,className:r}));return a.jsx(m,{className:x,style:i.style,ref:d,...i,children:c(s)})});h.displayName="EnhancedButton";exports.Button=u;exports.EnhancedButton=h;exports.buttonVariants=v;exports.enhancedButtonVariants=p;exports.wrapInlineLabelTextNodes=c;
|
package/dist/calendar.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./enhanced-calendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./enhanced-calendar-BEIfybRx.cjs");exports.Calendar=a.EnhancedCalendar;exports.CalendarDayButton=a.CalendarDayButton;exports.CoreCalendar=a.Calendar;
|
package/dist/calendar.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as a from "react";
|
|
|
3
3
|
import P from "embla-carousel-react";
|
|
4
4
|
import { K as v } from "./keyboard-pkY42Y3a.js";
|
|
5
5
|
import { c as f } from "./utils-B6yFEsav.js";
|
|
6
|
-
import { B as x } from "./button-
|
|
6
|
+
import { B as x } from "./button-BrroJ39H.js";
|
|
7
7
|
import { HugeiconsIcon as C } from "@hugeicons/react";
|
|
8
8
|
import { ArrowLeft01Icon as I, ArrowRight01Icon as R } from "@hugeicons/core-free-icons";
|
|
9
9
|
const b = a.createContext(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),S=require("react"),z=require("embla-carousel-react"),h=require("./keyboard-BapbM2wb.cjs"),f=require("./utils-IjLH3w2e.cjs"),y=require("./button-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),S=require("react"),z=require("embla-carousel-react"),h=require("./keyboard-BapbM2wb.cjs"),f=require("./utils-IjLH3w2e.cjs"),y=require("./button-CrLihxcE.cjs"),m=require("@hugeicons/react"),C=require("@hugeicons/core-free-icons");function q(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const a=q(S),b=a.createContext(null);function p(){const e=a.useContext(b);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function I({orientation:e="horizontal",opts:t,setApi:o,plugins:s,className:c,children:i,...u}){const[N,r]=z({...t,axis:e==="horizontal"?"x":"y"},s),[g,j]=a.useState(!1),[w,k]=a.useState(!1),d=a.useCallback(l=>{l&&(j(l.canScrollPrev()),k(l.canScrollNext()))},[]),x=a.useCallback(()=>{r?.scrollPrev()},[r]),v=a.useCallback(()=>{r?.scrollNext()},[r]),P=a.useCallback(l=>{l.key===h.Keys.ArrowLeft?(l.preventDefault(),x()):l.key===h.Keys.ArrowRight&&(l.preventDefault(),v())},[x,v]);return a.useEffect(()=>{!r||!o||o(r)},[r,o]),a.useEffect(()=>{if(r)return d(r),r.on("reInit",d),r.on("select",d),()=>{r?.off("select",d)}},[r,d]),n.jsx(b.Provider,{value:{carouselRef:N,api:r,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:x,scrollNext:v,canScrollPrev:g,canScrollNext:w},children:n.jsx("div",{onKeyDownCapture:P,className:f.cn("relative min-w-0 group/carousel",c),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...u,children:i})})}function R({className:e,...t}){const{carouselRef:o,orientation:s}=p();return n.jsx("div",{ref:o,className:"overflow-hidden","data-slot":"carousel-content",children:n.jsx("div",{className:f.cn("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})}function D({className:e,...t}){const{orientation:o}=p();return n.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:f.cn("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",e),...t})}function O({className:e,variant:t="outline",size:o="icon",...s}){const{orientation:c,scrollPrev:i,canScrollPrev:u}=p();return n.jsxs(y.Button,{"data-slot":"carousel-previous",variant:t,size:o,className:f.cn("rounded-full absolute touch-manipulation z-[var(--z-content)] opacity-35 shadow-sm transition-[opacity,transform] duration-150 ease-out hover:opacity-100 focus-visible:opacity-100 active:opacity-100 group-hover/carousel:opacity-75 disabled:pointer-events-none disabled:opacity-20",c==="horizontal"?"top-1/2 left-2 -translate-y-1/2":"top-2 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:i,...s,children:[n.jsx(m.HugeiconsIcon,{icon:C.ArrowLeft01Icon,strokeWidth:2}),n.jsx("span",{className:"sr-only",children:"Previous slide"})]})}function E({className:e,variant:t="outline",size:o="icon",...s}){const{orientation:c,scrollNext:i,canScrollNext:u}=p();return n.jsxs(y.Button,{"data-slot":"carousel-next",variant:t,size:o,className:f.cn("rounded-full absolute touch-manipulation z-[var(--z-content)] opacity-35 shadow-sm transition-[opacity,transform] duration-150 ease-out hover:opacity-100 focus-visible:opacity-100 active:opacity-100 group-hover/carousel:opacity-75 disabled:pointer-events-none disabled:opacity-20",c==="horizontal"?"top-1/2 right-2 -translate-y-1/2":"bottom-2 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:i,...s,children:[n.jsx(m.HugeiconsIcon,{icon:C.ArrowRight01Icon,strokeWidth:2}),n.jsx("span",{className:"sr-only",children:"Next slide"})]})}exports.Carousel=I;exports.CarouselContent=R;exports.CarouselItem=D;exports.CarouselNext=E;exports.CarouselPrevious=O;
|
package/dist/carousel.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./carousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./carousel-VldrniuT.cjs");exports.Carousel=e.Carousel;exports.CarouselContent=e.CarouselContent;exports.CarouselItem=e.CarouselItem;exports.CarouselNext=e.CarouselNext;exports.CarouselPrevious=e.CarouselPrevious;
|
package/dist/carousel.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as p, Fragment as z } from "react/jsx-runtime";
|
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { Command as h } from "cmdk";
|
|
4
4
|
import { c as l } from "./utils-B6yFEsav.js";
|
|
5
|
-
import { B as k } from "./button-
|
|
5
|
+
import { B as k } from "./button-BrroJ39H.js";
|
|
6
6
|
import { HugeiconsIcon as _ } from "@hugeicons/react";
|
|
7
7
|
import { Cancel01Icon as X, SearchIcon as ee, Tick02Icon as te } from "@hugeicons/core-free-icons";
|
|
8
8
|
import { c as oe, a as ae, u as ne, b as w, d as R, P as D, e as b, f as I, g as re, h as se, R as ie, i as le, F as de, D as ce } from "./index-CgfzsUO6.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),me=require("react"),x=require("cmdk"),d=require("./utils-IjLH3w2e.cjs"),N=require("./button-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),me=require("react"),x=require("cmdk"),d=require("./utils-IjLH3w2e.cjs"),N=require("./button-CrLihxcE.cjs"),I=require("@hugeicons/react"),_=require("@hugeicons/core-free-icons"),i=require("./index-CI756mSv.cjs"),fe=require("@radix-ui/react-slot"),O=require("class-variance-authority"),j=require("./keyboard-BapbM2wb.cjs");function xe(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=xe(me);var D="Dialog",[T,he]=i.createContextScope(D),[ve,p]=T(D),S=e=>{const{__scopeDialog:t,children:n,open:a,defaultOpen:s,onOpenChange:r,modal:u=!0}=e,c=l.useRef(null),m=l.useRef(null),[h,g]=i.useControllableState({prop:a,defaultProp:s??!1,onChange:r,caller:D});return o.jsx(ve,{scope:t,triggerRef:c,contentRef:m,contentId:i.useId(),titleId:i.useId(),descriptionId:i.useId(),open:h,onOpenChange:g,onOpenToggle:l.useCallback(()=>g(v=>!v),[g]),modal:u,children:n})};S.displayName=D;var A="DialogTrigger",G=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(A,n),r=i.useComposedRefs(t,s.triggerRef);return o.jsx(i.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":w(s.open),...a,ref:r,onClick:i.composeEventHandlers(e.onClick,s.onOpenToggle)})});G.displayName=A;var k="DialogPortal",[be,M]=T(k,{forceMount:void 0}),z=e=>{const{__scopeDialog:t,forceMount:n,children:a,container:s}=e,r=p(k,t);return o.jsx(be,{scope:t,forceMount:n,children:l.Children.map(a,u=>o.jsx(i.Presence,{present:n||r.open,children:o.jsx(i.Portal,{asChild:!0,container:s,children:u})}))})};z.displayName=k;var C="DialogOverlay",F=l.forwardRef((e,t)=>{const n=M(C,e.__scopeDialog),{forceMount:a=n.forceMount,...s}=e,r=p(C,e.__scopeDialog);return r.modal?o.jsx(i.Presence,{present:a||r.open,children:o.jsx(De,{...s,ref:t})}):null});F.displayName=C;var Ce=fe.createSlot("DialogOverlay.RemoveScroll"),De=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(C,n);return o.jsx(i.ReactRemoveScroll,{as:Ce,allowPinchZoom:!0,shards:[s.contentRef],children:o.jsx(i.Primitive.div,{"data-state":w(s.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),f="DialogContent",W=l.forwardRef((e,t)=>{const n=M(f,e.__scopeDialog),{forceMount:a=n.forceMount,...s}=e,r=p(f,e.__scopeDialog);return o.jsx(i.Presence,{present:a||r.open,children:r.modal?o.jsx(ye,{...s,ref:t}):o.jsx(je,{...s,ref:t})})});W.displayName=f;var ye=l.forwardRef((e,t)=>{const n=p(f,e.__scopeDialog),a=l.useRef(null),s=i.useComposedRefs(t,n.contentRef,a);return l.useEffect(()=>{const r=a.current;if(r)return i.hideOthers(r)},[]),o.jsx(L,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i.composeEventHandlers(e.onCloseAutoFocus,r=>{r.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:i.composeEventHandlers(e.onPointerDownOutside,r=>{const u=r.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0;(u.button===2||c)&&r.preventDefault()}),onFocusOutside:i.composeEventHandlers(e.onFocusOutside,r=>r.preventDefault())})}),je=l.forwardRef((e,t)=>{const n=p(f,e.__scopeDialog),a=l.useRef(!1),s=l.useRef(!1);return o.jsx(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(a.current||n.triggerRef.current?.focus(),r.preventDefault()),a.current=!1,s.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(a.current=!0,r.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const u=r.target;n.triggerRef.current?.contains(u)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&s.current&&r.preventDefault()}})}),L=l.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:r,...u}=e,c=p(f,n),m=l.useRef(null),h=i.useComposedRefs(t,m);return i.useFocusGuards(),o.jsxs(o.Fragment,{children:[o.jsx(i.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:r,children:o.jsx(i.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":w(c.open),...u,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(Ie,{titleId:c.titleId}),o.jsx(ke,{contentRef:m,descriptionId:c.descriptionId})]})]})}),R="DialogTitle",$=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(R,n);return o.jsx(i.Primitive.h2,{id:s.titleId,...a,ref:t})});$.displayName=R;var q="DialogDescription",H=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(q,n);return o.jsx(i.Primitive.p,{id:s.descriptionId,...a,ref:t})});H.displayName=q;var B="DialogClose",V=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(B,n);return o.jsx(i.Primitive.button,{type:"button",...a,ref:t,onClick:i.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});V.displayName=B;function w(e){return e?"open":"closed"}var K="DialogTitleWarning",[Ne,U]=i.createContext2(K,{contentName:f,titleName:R,docsSlug:"dialog"}),Ie=({titleId:e})=>{const t=U(K),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
4
|
|
package/dist/command.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-palette-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-palette-4Sv4QjZ2.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandPalette=m.CommandPalette;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
|
package/dist/command.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as o, a as d, d as n, e as s, b as C, f as t, c as e, i as r, h as p, g as i } from "./command-palette-
|
|
1
|
+
import { C as o, a as d, d as n, e as s, b as C, f as t, c as e, i as r, h as p, g as i } from "./command-palette-2V1VSlOM.js";
|
|
2
2
|
export {
|
|
3
3
|
o as Command,
|
|
4
4
|
d as CommandDialog,
|
|
@@ -6,6 +6,7 @@ declare const EnhancedTabs: React.ForwardRefExoticComponent<Omit<EnhancedTabsPro
|
|
|
6
6
|
export interface EnhancedTabsListProps extends React.ComponentProps<typeof TabsPrimitive.List> {
|
|
7
7
|
orientation?: "horizontal" | "vertical";
|
|
8
8
|
}
|
|
9
|
+
/** Wraps core TabsList + context orientation. Active state is CSS-only on each trigger (no sliding layer). */
|
|
9
10
|
declare const EnhancedTabsList: React.ForwardRefExoticComponent<Omit<EnhancedTabsListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
11
|
export interface EnhancedTabsTriggerProps extends React.ComponentProps<typeof TabsPrimitive.Trigger> {
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-tabs.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAiBhD,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC;CAAG;AAE5D,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"enhanced-tabs.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAiBhD,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC;CAAG;AAE5D,QAAA,MAAM,YAAY,uGA2BjB,CAAA;AAGD,MAAM,WAAW,qBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC;IACvD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;CACxC;AAED,8GAA8G;AAC9G,QAAA,MAAM,gBAAgB,2GAUrB,CAAA;AAGD,MAAM,WAAW,wBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC;CAAG;AAE/D,QAAA,MAAM,mBAAmB,iHAkBxB,CAAA;AAGD,MAAM,WAAW,wBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC;CAAG;AAE/D,QAAA,MAAM,mBAAmB,8GAUxB,CAAA;AAGD,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACpB,CAAA"}
|
|
@@ -16,6 +16,10 @@ declare const Button: React.ForwardRefExoticComponent<CoreButtonProps & React.Re
|
|
|
16
16
|
* In the showcase app one Tailwind run can emit utilities in an order where primary wins; in consumers
|
|
17
17
|
* the prebuilt nqui styles load order can make active:bg-none win and clear the fill. Omitting
|
|
18
18
|
* active:bg-none keeps the pressed background and shrink animation consistent everywhere.
|
|
19
|
+
*
|
|
20
|
+
* Disabled filled buttons: do not use transparent bg + *-foreground text — on light surfaces
|
|
21
|
+
* primary-foreground reads as white-on-white. Use bg-muted + text-muted-foreground + border-border
|
|
22
|
+
* so disabled state works on any theme without extra wrapper styles.
|
|
19
23
|
*/
|
|
20
24
|
declare const enhancedButtonVariants: (props?: ({
|
|
21
25
|
variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | "success" | "warning" | "info" | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,cAAc;;;8EA2BnB,CAAA;AAED,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,2FAaX,CAAA;AAGD
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,cAAc;;;8EA2BnB,CAAA;AAED,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,2FAaX,CAAA;AAGD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,sBAAsB;;;8EA4E3B,CAAA;AAED,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,sBAAsB,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,cAAc,+FA+BnB,CAAA;AAID,OAAO,EACL,MAAM,EACN,cAAc,EACd,cAAc,EACd,sBAAsB,GACvB,CAAA;AACD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,CAAA"}
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const cardVariants: (props?: ({
|
|
4
4
|
variant?: "default" | null | undefined;
|
|
5
|
+
elevation?: "default" | "subtle" | null | undefined;
|
|
5
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
7
|
export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
7
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAMjE,QAAA,MAAM,YAAY;;;8EAsBjB,CAAA;AAOD,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,QAAA,MAAM,IAAI,kFAkBT,CAAA;AAGD,QAAA,MAAM,UAAU,6GA2Bd,CAAA;AAGF,QAAA,MAAM,SAAS,6GAYb,CAAA;AAGF,QAAA,MAAM,eAAe,6GASnB,CAAA;AAGF,QAAA,MAAM,WAAW,6GAqBf,CAAA;AAGF,QAAA,MAAM,UAAU,6GASd,CAAA;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAA;AAqE7D;;GAEG;AACH,QAAA,MAAM,OAAO;mBAAkB,YAAY;;
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAA;AAqE7D;;GAEG;AACH,QAAA,MAAM,OAAO;mBAAkB,YAAY;;CAmF1C,CAAA;AAID,wDAAwD;AACxD,QAAA,MAAM,eAAe;mBAxFU,YAAY;;CAwFZ,CAAA;AAC/B,QAAA,MAAM,cAAc;mBAzFW,YAAY;;CAyFb,CAAA;AAE9B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,CAAA"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Tabs as TabsPrimitive } from "radix-ui";
|
|
4
|
-
declare
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const tabsListVariants: (props?: ({
|
|
6
6
|
variant?: "line" | "default" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
9
|
+
variant?: "line" | "default" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
13
|
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
|
|
12
14
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAKhD,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAKhD,QAAA,MAAM,IAAI,mJAgBR,CAAA;AAGF,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,QAAA,MAAM,QAAQ;;8HAaZ,CAAA;AAGF,QAAA,MAAM,WAAW,gKAoBf,CAAA;AAGF,QAAA,MAAM,WAAW,0JAYf,CAAA;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAA"}
|