@snksergio/design-system 0.48.0 → 0.50.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 +1 -1
- package/dist-lib/chunks/{panel-57Pt_bL9.cjs → panel-Bly-rNP9.cjs} +2 -2
- package/dist-lib/chunks/{panel-57Pt_bL9.cjs.map → panel-Bly-rNP9.cjs.map} +1 -1
- package/dist-lib/chunks/{panel-DlZeQw7G.mjs → panel-DA6K3a3n.mjs} +2 -2
- package/dist-lib/chunks/{panel-DlZeQw7G.mjs.map → panel-DA6K3a3n.mjs.map} +1 -1
- package/dist-lib/chunks/{sheet-7v5vamnP.mjs → sheet-DIpYkRYS.mjs} +32 -32
- package/dist-lib/chunks/{sheet-7v5vamnP.mjs.map → sheet-DIpYkRYS.mjs.map} +1 -1
- package/dist-lib/chunks/{sheet-BZlQ0gKA.cjs → sheet-rg6uupt1.cjs} +33 -33
- package/dist-lib/chunks/{sheet-BZlQ0gKA.cjs.map → sheet-rg6uupt1.cjs.map} +1 -1
- package/dist-lib/chunks/{toggle-group-DYGba7RP.cjs → toggle-group-C9rrkkmh.cjs} +159 -52
- package/dist-lib/chunks/toggle-group-C9rrkkmh.cjs.map +1 -0
- package/dist-lib/chunks/{toggle-group-CnAN6ZnT.mjs → toggle-group-mXbG8_Jm.mjs} +237 -130
- package/dist-lib/chunks/toggle-group-mXbG8_Jm.mjs.map +1 -0
- package/dist-lib/index.cjs +303 -45
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.mjs +308 -50
- package/dist-lib/index.mjs.map +1 -1
- package/dist-lib/preview/clientes.cjs +2 -2
- package/dist-lib/preview/clientes.mjs +2 -2
- package/dist-lib/shadcn.cjs +3 -2
- package/dist-lib/shadcn.cjs.map +1 -1
- package/dist-lib/shadcn.mjs +82 -81
- package/dist-lib/src/components/index.d.ts +1 -0
- package/dist-lib/src/components/index.d.ts.map +1 -1
- package/dist-lib/src/components/shadcn/carousel.d.ts +28 -1
- package/dist-lib/src/components/shadcn/carousel.d.ts.map +1 -1
- package/dist-lib/src/components/ui/CardCheckbox/card-checkbox.d.ts +30 -31
- package/dist-lib/src/components/ui/CardCheckbox/card-checkbox.d.ts.map +1 -1
- package/dist-lib/src/components/ui/CardCheckbox/card-checkbox.styles.d.ts +5 -0
- package/dist-lib/src/components/ui/CardCheckbox/card-checkbox.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/CardOption/card-option.d.ts +27 -0
- package/dist-lib/src/components/ui/CardOption/card-option.d.ts.map +1 -0
- package/dist-lib/src/components/ui/CardOption/card-option.styles.d.ts +381 -0
- package/dist-lib/src/components/ui/CardOption/card-option.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/CardOption/card-option.types.d.ts +76 -0
- package/dist-lib/src/components/ui/CardOption/card-option.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/CardOption/index.d.ts +4 -0
- package/dist-lib/src/components/ui/CardOption/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.styles.d.ts +18 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/ColorPicker/color-picker.types.d.ts +4 -1
- package/dist-lib/src/components/ui/ColorPicker/color-picker.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist-lib/chunks/toggle-group-CnAN6ZnT.mjs.map +0 -1
- package/dist-lib/chunks/toggle-group-DYGba7RP.cjs.map +0 -1
|
@@ -5,10 +5,10 @@ const React = require("react");
|
|
|
5
5
|
const useTheme = require("../chunks/useTheme-Dh3POjCr.cjs");
|
|
6
6
|
const lucideReact = require("lucide-react");
|
|
7
7
|
const clientesShowcaseMocks = require("../chunks/clientes-showcase-mocks-CwhluBTT.cjs");
|
|
8
|
-
const panel = require("../chunks/panel-
|
|
8
|
+
const panel = require("../chunks/panel-Bly-rNP9.cjs");
|
|
9
9
|
const avatar = require("../chunks/avatar-DAmZ7fBZ.cjs");
|
|
10
10
|
require("../chunks/input-Ci_2-5Te.cjs");
|
|
11
|
-
require("../chunks/sheet-
|
|
11
|
+
require("../chunks/sheet-rg6uupt1.cjs");
|
|
12
12
|
const pageHeader = require("../chunks/page-header-DrKDiVFN.cjs");
|
|
13
13
|
require("react-dom");
|
|
14
14
|
const appShellMocks = require("../chunks/app-shell-mocks-oO_IV3Gw.cjs");
|
|
@@ -3,10 +3,10 @@ import { useState, useEffect, useRef, useCallback, useMemo } from "react";
|
|
|
3
3
|
import { a as ChipGroup, b as ChipGroupItem, C as Chip, u as useTheme, A as AppShell } from "../chunks/useTheme-Bk8AYqLr.mjs";
|
|
4
4
|
import { Pencil, Trash2, ChevronDown, MoreHorizontal, Plus, Download, Maximize2, Copy, Upload, RotateCcw, MessageSquare, Archive, Clock } from "lucide-react";
|
|
5
5
|
import { S as STATUSES, a as STATUS_DOT, C as CATEGORIES, b as CITIES, A as AGENTS, d as CATEGORY_KIND, f as formatBRL, e as formatShortDate, g as CLIENTS_87, K as KANBAN_COLUMNS, h as STATUS_OPTIONS, i as CATEGORY_OPTIONS, j as AGENTS_LOOKUP, k as AGENT_OPTIONS } from "../chunks/clientes-showcase-mocks-CwWGCCmf.mjs";
|
|
6
|
-
import { P as Panel, F as FormFieldInput, a as FormField, b as FormFieldSelect, c as FormFieldTextarea, d as FloatingPanel, p as presetView, D as DataTable, B as BulkActionButton, A as AlertModal } from "../chunks/panel-
|
|
6
|
+
import { P as Panel, F as FormFieldInput, a as FormField, b as FormFieldSelect, c as FormFieldTextarea, d as FloatingPanel, p as presetView, D as DataTable, B as BulkActionButton, A as AlertModal } from "../chunks/panel-DA6K3a3n.mjs";
|
|
7
7
|
import { a8 as tv, a7 as Button, A as Avatar, a as AvatarFallback } from "../chunks/avatar-FPbG1TRy.mjs";
|
|
8
8
|
import "../chunks/input-tjIT8HNE.mjs";
|
|
9
|
-
import "../chunks/sheet-
|
|
9
|
+
import "../chunks/sheet-DIpYkRYS.mjs";
|
|
10
10
|
import { P as PageHeader } from "../chunks/page-header-DdWp9c-r.mjs";
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import { b as APP_SHELL_LAYOUT_OPTIONS, f as APP_SHELL_USER, e as APP_SHELL_THEME_OPTIONS, c as APP_SHELL_MESSAGES, d as APP_SHELL_NOTIFICATIONS, A as APP_SHELL_COMMANDS, a as APP_SHELL_CONTEXTS } from "../chunks/app-shell-mocks-kWIVSzLs.mjs";
|
package/dist-lib/shadcn.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const toggleGroup = require("./chunks/toggle-group-
|
|
4
|
-
const sheet = require("./chunks/sheet-
|
|
3
|
+
const toggleGroup = require("./chunks/toggle-group-C9rrkkmh.cjs");
|
|
4
|
+
const sheet = require("./chunks/sheet-rg6uupt1.cjs");
|
|
5
5
|
const AspectRatioPrimitive = require("@radix-ui/react-aspect-ratio");
|
|
6
6
|
const avatar = require("./chunks/avatar-DAmZ7fBZ.cjs");
|
|
7
7
|
const input = require("./chunks/input-Ci_2-5Te.cjs");
|
|
@@ -87,6 +87,7 @@ exports.CardHeader = toggleGroup.CardHeader;
|
|
|
87
87
|
exports.CardTitle = toggleGroup.CardTitle;
|
|
88
88
|
exports.Carousel = toggleGroup.Carousel;
|
|
89
89
|
exports.CarouselContent = toggleGroup.CarouselContent;
|
|
90
|
+
exports.CarouselDots = toggleGroup.CarouselDots;
|
|
90
91
|
exports.CarouselItem = toggleGroup.CarouselItem;
|
|
91
92
|
exports.CarouselNext = toggleGroup.CarouselNext;
|
|
92
93
|
exports.CarouselPrevious = toggleGroup.CarouselPrevious;
|
package/dist-lib/shadcn.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadcn.cjs","sources":["../src/components/shadcn/aspect-ratio.tsx","../src/components/shadcn/sonner.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\"\r\n\r\nconst AspectRatio = AspectRatioPrimitive.Root\r\n\r\nexport { AspectRatio }\r\n","import * as React from \"react\";\r\nimport {\r\n CircleCheck,\r\n Info,\r\n LoaderCircle,\r\n OctagonX,\r\n TriangleAlert,\r\n} from \"lucide-react\";\r\nimport { Toaster as Sonner } from \"sonner\";\r\n\r\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\r\n\r\n/**\r\n * Toaster (Sonner) — notificações/toasts. Tokenizado iGreen: surface +\r\n * border-default + shadow-lg, texto via tokens fg, ícones por status.\r\n * Self-contained: segue o tema observando a classe `.dark` no <html>\r\n * (não depende de next-themes nem de hook externo — portável no copy-in).\r\n *\r\n * Monte UMA vez no root da app (`<Toaster />`) e dispare com\r\n * `toast.success(\"...\")` / `toast.error(...)` etc. do pacote `sonner`.\r\n */\r\nconst Toaster = ({ ...props }: ToasterProps) => {\r\n const [isDark, setIsDark] = React.useState(\r\n () =>\r\n typeof document !== \"undefined\" &&\r\n document.documentElement.classList.contains(\"dark\"),\r\n );\r\n\r\n React.useEffect(() => {\r\n const root = document.documentElement;\r\n const sync = () => setIsDark(root.classList.contains(\"dark\"));\r\n sync();\r\n const observer = new MutationObserver(sync);\r\n observer.observe(root, { attributes: true, attributeFilter: [\"class\"] });\r\n return () => observer.disconnect();\r\n }, []);\r\n\r\n return (\r\n <Sonner\r\n theme={isDark ? \"dark\" : \"light\"}\r\n className=\"toaster group\"\r\n icons={{\r\n success: <CircleCheck className=\"size-icon-sm\" />,\r\n info: <Info className=\"size-icon-sm\" />,\r\n warning: <TriangleAlert className=\"size-icon-sm\" />,\r\n error: <OctagonX className=\"size-icon-sm\" />,\r\n loading: <LoaderCircle className=\"size-icon-sm animate-spin\" />,\r\n }}\r\n toastOptions={{\r\n classNames: {\r\n toast:\r\n \"group toast group-[.toaster]:bg-bg-surface group-[.toaster]:text-fg-default group-[.toaster]:border-border-default group-[.toaster]:shadow-sh-lg\",\r\n description: \"group-[.toast]:text-fg-muted\",\r\n actionButton:\r\n \"group-[.toast]:bg-bg-brand group-[.toast]:text-fg-on-brand\",\r\n cancelButton:\r\n \"group-[.toast]:bg-bg-muted group-[.toast]:text-fg-muted\",\r\n },\r\n }}\r\n {...props}\r\n />\r\n );\r\n};\r\n\r\nexport { Toaster };\r\n"],"names":["AspectRatioPrimitive","React","jsx","Sonner","CircleCheck","Info","TriangleAlert","OctagonX","LoaderCircle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,cAAcA,gCAAqB;ACmBzC,MAAM,UAAU,CAAC,EAAE,GAAG,YAA0B;AAC9C,QAAM,CAAC,QAAQ,SAAS,IAAIC,iBAAM;AAAA,IAChC,MACE,OAAO,aAAa,eACpB,SAAS,gBAAgB,UAAU,SAAS,MAAM;AAAA,EAAA;AAGtDA,mBAAM,UAAU,MAAM;AACpB,UAAM,OAAO,SAAS;AACtB,UAAM,OAAO,MAAM,UAAU,KAAK,UAAU,SAAS,MAAM,CAAC;AAC5D,SAAA;AACA,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,MAAM,EAAE,YAAY,MAAM,iBAAiB,CAAC,OAAO,GAAG;AACvE,WAAO,MAAM,SAAS,WAAA;AAAA,EACxB,GAAG,CAAA,CAAE;AAEL,SACEC,2BAAAA;AAAAA,IAACC,OAAAA;AAAAA,IAAA;AAAA,MACC,OAAO,SAAS,SAAS;AAAA,MACzB,WAAU;AAAA,MACV,OAAO;AAAA,QACL,SAASD,2BAAAA,IAACE,YAAAA,aAAA,EAAY,WAAU,eAAA,CAAe;AAAA,QAC/C,MAAMF,2BAAAA,IAACG,YAAAA,MAAA,EAAK,WAAU,eAAA,CAAe;AAAA,QACrC,SAASH,2BAAAA,IAACI,YAAAA,eAAA,EAAc,WAAU,eAAA,CAAe;AAAA,QACjD,OAAOJ,2BAAAA,IAACK,YAAAA,UAAA,EAAS,WAAU,eAAA,CAAe;AAAA,QAC1C,SAASL,2BAAAA,IAACM,YAAAA,cAAA,EAAa,WAAU,4BAAA,CAA4B;AAAA,MAAA;AAAA,MAE/D,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QAAA;AAAA,MACJ;AAAA,MAED,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV
|
|
1
|
+
{"version":3,"file":"shadcn.cjs","sources":["../src/components/shadcn/aspect-ratio.tsx","../src/components/shadcn/sonner.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\"\r\n\r\nconst AspectRatio = AspectRatioPrimitive.Root\r\n\r\nexport { AspectRatio }\r\n","import * as React from \"react\";\r\nimport {\r\n CircleCheck,\r\n Info,\r\n LoaderCircle,\r\n OctagonX,\r\n TriangleAlert,\r\n} from \"lucide-react\";\r\nimport { Toaster as Sonner } from \"sonner\";\r\n\r\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\r\n\r\n/**\r\n * Toaster (Sonner) — notificações/toasts. Tokenizado iGreen: surface +\r\n * border-default + shadow-lg, texto via tokens fg, ícones por status.\r\n * Self-contained: segue o tema observando a classe `.dark` no <html>\r\n * (não depende de next-themes nem de hook externo — portável no copy-in).\r\n *\r\n * Monte UMA vez no root da app (`<Toaster />`) e dispare com\r\n * `toast.success(\"...\")` / `toast.error(...)` etc. do pacote `sonner`.\r\n */\r\nconst Toaster = ({ ...props }: ToasterProps) => {\r\n const [isDark, setIsDark] = React.useState(\r\n () =>\r\n typeof document !== \"undefined\" &&\r\n document.documentElement.classList.contains(\"dark\"),\r\n );\r\n\r\n React.useEffect(() => {\r\n const root = document.documentElement;\r\n const sync = () => setIsDark(root.classList.contains(\"dark\"));\r\n sync();\r\n const observer = new MutationObserver(sync);\r\n observer.observe(root, { attributes: true, attributeFilter: [\"class\"] });\r\n return () => observer.disconnect();\r\n }, []);\r\n\r\n return (\r\n <Sonner\r\n theme={isDark ? \"dark\" : \"light\"}\r\n className=\"toaster group\"\r\n icons={{\r\n success: <CircleCheck className=\"size-icon-sm\" />,\r\n info: <Info className=\"size-icon-sm\" />,\r\n warning: <TriangleAlert className=\"size-icon-sm\" />,\r\n error: <OctagonX className=\"size-icon-sm\" />,\r\n loading: <LoaderCircle className=\"size-icon-sm animate-spin\" />,\r\n }}\r\n toastOptions={{\r\n classNames: {\r\n toast:\r\n \"group toast group-[.toaster]:bg-bg-surface group-[.toaster]:text-fg-default group-[.toaster]:border-border-default group-[.toaster]:shadow-sh-lg\",\r\n description: \"group-[.toast]:text-fg-muted\",\r\n actionButton:\r\n \"group-[.toast]:bg-bg-brand group-[.toast]:text-fg-on-brand\",\r\n cancelButton:\r\n \"group-[.toast]:bg-bg-muted group-[.toast]:text-fg-muted\",\r\n },\r\n }}\r\n {...props}\r\n />\r\n );\r\n};\r\n\r\nexport { Toaster };\r\n"],"names":["AspectRatioPrimitive","React","jsx","Sonner","CircleCheck","Info","TriangleAlert","OctagonX","LoaderCircle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,cAAcA,gCAAqB;ACmBzC,MAAM,UAAU,CAAC,EAAE,GAAG,YAA0B;AAC9C,QAAM,CAAC,QAAQ,SAAS,IAAIC,iBAAM;AAAA,IAChC,MACE,OAAO,aAAa,eACpB,SAAS,gBAAgB,UAAU,SAAS,MAAM;AAAA,EAAA;AAGtDA,mBAAM,UAAU,MAAM;AACpB,UAAM,OAAO,SAAS;AACtB,UAAM,OAAO,MAAM,UAAU,KAAK,UAAU,SAAS,MAAM,CAAC;AAC5D,SAAA;AACA,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,MAAM,EAAE,YAAY,MAAM,iBAAiB,CAAC,OAAO,GAAG;AACvE,WAAO,MAAM,SAAS,WAAA;AAAA,EACxB,GAAG,CAAA,CAAE;AAEL,SACEC,2BAAAA;AAAAA,IAACC,OAAAA;AAAAA,IAAA;AAAA,MACC,OAAO,SAAS,SAAS;AAAA,MACzB,WAAU;AAAA,MACV,OAAO;AAAA,QACL,SAASD,2BAAAA,IAACE,YAAAA,aAAA,EAAY,WAAU,eAAA,CAAe;AAAA,QAC/C,MAAMF,2BAAAA,IAACG,YAAAA,MAAA,EAAK,WAAU,eAAA,CAAe;AAAA,QACrC,SAASH,2BAAAA,IAACI,YAAAA,eAAA,EAAc,WAAU,eAAA,CAAe;AAAA,QACjD,OAAOJ,2BAAAA,IAACK,YAAAA,UAAA,EAAS,WAAU,eAAA,CAAe;AAAA,QAC1C,SAASL,2BAAAA,IAACM,YAAAA,cAAA,EAAa,WAAU,4BAAA,CAA4B;AAAA,MAAA;AAAA,MAE/D,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QAAA;AAAA,MACJ;AAAA,MAED,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist-lib/shadcn.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A, a, b, c, d, e, f, B, g, h, i, j, k, l, m, C, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL } from "./chunks/toggle-group-
|
|
2
|
-
import { A as A2, a as a10, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i2, j as j2, C as C2, k as k2, l as l2, P as P2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, S as S2, u as u2, v as v2, w as w2, x as x2, y as y2, z as z2, B as B2, D as D2, E as E2, F as F2, G as G2, H as H2, I as I2, J as J2, K as K2, L as L2, M as M2, N as N2, O as O2, Q as Q2, T as T2, R as R2, U as U2, V as V2, W as W2 } from "./chunks/sheet-
|
|
1
|
+
import { A, a, b, c, d, e, f, B, g, h, i, j, k, l, m, C, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM } from "./chunks/toggle-group-mXbG8_Jm.mjs";
|
|
2
|
+
import { A as A2, a as a10, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i2, j as j2, C as C2, k as k2, l as l2, P as P2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, S as S2, u as u2, v as v2, w as w2, x as x2, y as y2, z as z2, B as B2, D as D2, E as E2, F as F2, G as G2, H as H2, I as I2, J as J2, K as K2, L as L2, M as M2, N as N2, O as O2, Q as Q2, T as T2, R as R2, U as U2, V as V2, W as W2 } from "./chunks/sheet-DIpYkRYS.mjs";
|
|
3
3
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
4
4
|
import { A as A3, a as a11, b as b3, C as C3, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, D as D3, o as o3, p as p3, q as q3, r as r3, s as s3, t as t3, u as u3, v as v3, w as w3, x as x3, y as y3, z as z3, B as B3, E as E3, F as F3, G as G3, H as H3, I as I3, J as J3, K as K3, L as L3, M as M3, N as N3, O as O3, P as P3, Q as Q3, R as R3, S as S3, T as T3, U as U3, V as V3, W as W3, X as X2, Y as Y2, Z as Z2, _ as _2, $ as $2, a0 as a02, a1 as a12, a2 as a22, a3 as a32, a4 as a42, a5 as a52, a6 as a62 } from "./chunks/avatar-FPbG1TRy.mjs";
|
|
5
5
|
import { I as I4, i as i4 } from "./chunks/input-tjIT8HNE.mjs";
|
|
@@ -85,9 +85,10 @@ export {
|
|
|
85
85
|
r as CardTitle,
|
|
86
86
|
s as Carousel,
|
|
87
87
|
t as CarouselContent,
|
|
88
|
-
u as
|
|
89
|
-
v as
|
|
90
|
-
w as
|
|
88
|
+
u as CarouselDots,
|
|
89
|
+
v as CarouselItem,
|
|
90
|
+
w as CarouselNext,
|
|
91
|
+
x as CarouselPrevious,
|
|
91
92
|
l2 as Checkbox,
|
|
92
93
|
C3 as Collapsible,
|
|
93
94
|
d3 as CollapsibleContent,
|
|
@@ -101,21 +102,21 @@ export {
|
|
|
101
102
|
l3 as CommandList,
|
|
102
103
|
m3 as CommandSeparator,
|
|
103
104
|
n3 as CommandShortcut,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
105
|
+
y as ContextMenu,
|
|
106
|
+
z as ContextMenuCheckboxItem,
|
|
107
|
+
D as ContextMenuContent,
|
|
108
|
+
E as ContextMenuGroup,
|
|
109
|
+
F as ContextMenuItem,
|
|
110
|
+
G as ContextMenuLabel,
|
|
111
|
+
H as ContextMenuPortal,
|
|
112
|
+
I as ContextMenuRadioGroup,
|
|
113
|
+
J as ContextMenuRadioItem,
|
|
114
|
+
K as ContextMenuSeparator,
|
|
115
|
+
L as ContextMenuShortcut,
|
|
116
|
+
M as ContextMenuSub,
|
|
117
|
+
N as ContextMenuSubContent,
|
|
118
|
+
O as ContextMenuSubTrigger,
|
|
119
|
+
P as ContextMenuTrigger,
|
|
119
120
|
D3 as Dialog,
|
|
120
121
|
o3 as DialogClose,
|
|
121
122
|
p3 as DialogContent,
|
|
@@ -126,16 +127,16 @@ export {
|
|
|
126
127
|
u3 as DialogPortal,
|
|
127
128
|
v3 as DialogTitle,
|
|
128
129
|
w3 as DialogTrigger,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
130
|
+
Q as Drawer,
|
|
131
|
+
R as DrawerClose,
|
|
132
|
+
S as DrawerContent,
|
|
133
|
+
T as DrawerDescription,
|
|
134
|
+
U as DrawerFooter,
|
|
135
|
+
V as DrawerHeader,
|
|
136
|
+
W as DrawerOverlay,
|
|
137
|
+
X as DrawerPortal,
|
|
138
|
+
Y as DrawerTitle,
|
|
139
|
+
Z as DrawerTrigger,
|
|
139
140
|
x3 as DropdownMenu,
|
|
140
141
|
y3 as DropdownMenuCheckboxItem,
|
|
141
142
|
z3 as DropdownMenuContent,
|
|
@@ -151,9 +152,9 @@ export {
|
|
|
151
152
|
M3 as DropdownMenuSubContent,
|
|
152
153
|
N3 as DropdownMenuSubTrigger,
|
|
153
154
|
O3 as DropdownMenuTrigger,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
_ as HoverCard,
|
|
156
|
+
$ as HoverCardContent,
|
|
157
|
+
a0 as HoverCardTrigger,
|
|
157
158
|
I4 as Input,
|
|
158
159
|
P3 as InputGroup,
|
|
159
160
|
Q3 as InputGroupAddon,
|
|
@@ -161,35 +162,35 @@ export {
|
|
|
161
162
|
S3 as InputGroupInput,
|
|
162
163
|
T3 as InputGroupText,
|
|
163
164
|
U3 as InputGroupTextarea,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
165
|
+
a1 as InputOTP,
|
|
166
|
+
a2 as InputOTPGroup,
|
|
167
|
+
a3 as InputOTPSeparator,
|
|
168
|
+
a4 as InputOTPSlot,
|
|
169
|
+
a5 as Label,
|
|
170
|
+
a6 as Menubar,
|
|
171
|
+
a7 as MenubarCheckboxItem,
|
|
172
|
+
a8 as MenubarContent,
|
|
173
|
+
a9 as MenubarGroup,
|
|
174
|
+
aa as MenubarItem,
|
|
175
|
+
ab as MenubarLabel,
|
|
176
|
+
ac as MenubarMenu,
|
|
177
|
+
ad as MenubarPortal,
|
|
178
|
+
ae as MenubarRadioGroup,
|
|
179
|
+
af as MenubarRadioItem,
|
|
180
|
+
ag as MenubarSeparator,
|
|
181
|
+
ah as MenubarShortcut,
|
|
182
|
+
ai as MenubarSub,
|
|
183
|
+
aj as MenubarSubContent,
|
|
184
|
+
ak as MenubarSubTrigger,
|
|
185
|
+
al as MenubarTrigger,
|
|
186
|
+
am as NavigationMenu,
|
|
187
|
+
an as NavigationMenuContent,
|
|
188
|
+
ao as NavigationMenuIndicator,
|
|
189
|
+
ap as NavigationMenuItem,
|
|
190
|
+
aq as NavigationMenuLink,
|
|
191
|
+
ar as NavigationMenuList,
|
|
192
|
+
as as NavigationMenuTrigger,
|
|
193
|
+
at as NavigationMenuViewport,
|
|
193
194
|
P2 as Pagination,
|
|
194
195
|
m2 as PaginationContent,
|
|
195
196
|
n2 as PaginationEllipsis,
|
|
@@ -204,11 +205,11 @@ export {
|
|
|
204
205
|
X2 as PopoverClose,
|
|
205
206
|
Y2 as PopoverContent,
|
|
206
207
|
Z2 as PopoverTrigger,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
au as Progress,
|
|
209
|
+
av as RadioGroup,
|
|
210
|
+
aw as RadioGroupItem,
|
|
211
|
+
ax as ScrollArea,
|
|
212
|
+
ay as ScrollBar,
|
|
212
213
|
S2 as Select,
|
|
213
214
|
u2 as SelectContent,
|
|
214
215
|
v2 as SelectGroup,
|
|
@@ -219,7 +220,7 @@ export {
|
|
|
219
220
|
B2 as SelectSeparator,
|
|
220
221
|
D2 as SelectTrigger,
|
|
221
222
|
E2 as SelectValue,
|
|
222
|
-
|
|
223
|
+
az as Separator,
|
|
223
224
|
F2 as Sheet,
|
|
224
225
|
G2 as SheetClose,
|
|
225
226
|
H2 as SheetContent,
|
|
@@ -230,23 +231,23 @@ export {
|
|
|
230
231
|
M2 as SheetPortal,
|
|
231
232
|
N2 as SheetTitle,
|
|
232
233
|
O2 as SheetTrigger,
|
|
233
|
-
|
|
234
|
-
|
|
234
|
+
aA as Skeleton,
|
|
235
|
+
aB as Slider,
|
|
235
236
|
Q2 as Switch,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
237
|
+
aC as Tabs,
|
|
238
|
+
aD as TabsContent,
|
|
239
|
+
aE as TabsList,
|
|
240
|
+
aF as TabsTrigger,
|
|
240
241
|
T2 as Textarea,
|
|
241
242
|
Toaster,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
aG as Toggle,
|
|
244
|
+
aH as ToggleGroup,
|
|
245
|
+
aI as ToggleGroupItem,
|
|
245
246
|
_2 as Tooltip,
|
|
246
247
|
$2 as TooltipContent,
|
|
247
248
|
a02 as TooltipProvider,
|
|
248
249
|
a12 as TooltipTrigger,
|
|
249
|
-
|
|
250
|
+
aJ as badgeVariants,
|
|
250
251
|
R2 as getPaginationRange,
|
|
251
252
|
a22 as inputGroupAddonVariants,
|
|
252
253
|
a32 as inputGroupButtonVariants,
|
|
@@ -254,11 +255,11 @@ export {
|
|
|
254
255
|
a52 as inputGroupTextareaVariants,
|
|
255
256
|
a62 as inputGroupVariants,
|
|
256
257
|
i4 as inputVariants,
|
|
257
|
-
|
|
258
|
+
aK as navigationMenuTriggerStyle,
|
|
258
259
|
U2 as paginationLinkVariants,
|
|
259
260
|
V2 as paginationNavVariants,
|
|
260
|
-
|
|
261
|
+
aL as slotVariants,
|
|
261
262
|
W2 as textareaVariants,
|
|
262
|
-
|
|
263
|
+
aM as toggleVariants
|
|
263
264
|
};
|
|
264
265
|
//# sourceMappingURL=shadcn.mjs.map
|
|
@@ -13,6 +13,7 @@ export * from './ui/avatar-ig';
|
|
|
13
13
|
export * from './ui/Button';
|
|
14
14
|
export * from './ui/ButtonGroup';
|
|
15
15
|
export * from './ui/CardCheckbox';
|
|
16
|
+
export * from './ui/CardOption';
|
|
16
17
|
export * from './ui/Chip';
|
|
17
18
|
export * from './ui/ColorPicker';
|
|
18
19
|
export * from './ui/Combobox';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,C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B,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,8BAA8B,EAC9B,6BAA6B,EAC7B,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE1E,OAAO,EACL,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,YAAY,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,GAChB,MAAM,UAAU,CAAC;AAelB,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACrD,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -15,5 +15,32 @@ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
15
15
|
declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import('../ui/Button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import('../ui/Button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
|
+
* `CarouselDots` — indicador de posição, clicável.
|
|
20
|
+
*
|
|
21
|
+
* Decisões que não são óbvias no código:
|
|
22
|
+
*
|
|
23
|
+
* - **Um ponto por PARADA, não por slide** (`scrollSnapList()`). Com vários slides
|
|
24
|
+
* visíveis por vez ou `slidesToScroll`, contar `CarouselItem` daria bolinhas que não
|
|
25
|
+
* levam a lugar nenhum.
|
|
26
|
+
* - **Some com 1 parada só.** Indicador de posição única não informa nada e ainda ocupa
|
|
27
|
+
* linha — o `return null` é o comportamento certo, não um caso não tratado.
|
|
28
|
+
* - **Alvo de 16px com bolinha de 8px dentro.** A bolinha sozinha seria um alvo de toque
|
|
29
|
+
* de 8px; o botão amplia sem crescer o ponto (`place-items-center`). Os 8px seguem a
|
|
30
|
+
* receita do `groupDot` da `List` — não há token de size abaixo de 16px.
|
|
31
|
+
*
|
|
32
|
+
* ⚠️ **Era 24px, e o espaçamento medido explicou a troca.** Com alvo de 24px e
|
|
33
|
+
* `gap-gp-xs`, o espaço VISÍVEL entre pontos era **20px** — e só 4px vinham do gap: os
|
|
34
|
+
* outros 16 eram sobra dos dois alvos. Baixar só o gap levaria a 18px, quase nada. Com
|
|
35
|
+
* 16px de alvo e `gap-gp-2xs`, o espaço visível cai pra **10px**, metade.
|
|
36
|
+
*
|
|
37
|
+
* O custo é real e a escolha é deliberada: 16px fica abaixo dos 24px do WCAG 2.5.8.
|
|
38
|
+
* Aceitável AQUI porque é indicador de posição, não ação destrutiva — errar o toque leva
|
|
39
|
+
* ao slide vizinho e se desfaz com um toque. Não use este raciocínio pra encolher alvo de
|
|
40
|
+
* ação com consequência.
|
|
41
|
+
* - **`aria-current`, não `role="tab"`.** Tab implica `tabpanel` associado por id, o que
|
|
42
|
+
* este carrossel não tem — declarar a relação sem ela é pior que não declarar.
|
|
43
|
+
*/
|
|
44
|
+
declare const CarouselDots: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export { type CarouselApi, Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
19
46
|
//# sourceMappingURL=carousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/shadcn/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAM7B,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAC1C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAC/C,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAE9C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC,CAAA;
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/shadcn/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAM7B,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAC1C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAC/C,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAE9C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC,CAAA;AAmCD,QAAA,MAAM,QAAQ,6HA2Ib,CAAA;AAGD,QAAA,MAAM,eAAe,6GAkDnB,CAAA;AAGF,QAAA,MAAM,YAAY,6GAmBhB,CAAA;AAGF,QAAA,MAAM,gBAAgB,8KA2BpB,CAAA;AAGF,QAAA,MAAM,YAAY,8KA2BhB,CAAA;AAGF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,YAAY,6GAiDhB,CAAA;AAGF,OAAO,EACL,KAAK,WAAW,EAChB,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,YAAY,GACb,CAAA"}
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
import { ReactNode
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export type CardCheckboxProps = Omit<ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "id" | "className"> & {
|
|
5
|
-
/** Label principal — chamada do card */
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CardOptionSize } from '../CardOption';
|
|
3
|
+
export type CardCheckboxProps = {
|
|
6
4
|
label: ReactNode;
|
|
7
5
|
/** Texto secundário abaixo do label */
|
|
8
6
|
description?: ReactNode;
|
|
9
|
-
/**
|
|
7
|
+
/** Ícone à esquerda, entre o checkbox e o texto */
|
|
10
8
|
icon?: ReactNode;
|
|
11
|
-
|
|
9
|
+
checked?: boolean;
|
|
10
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
id?: string;
|
|
13
|
+
size?: CardOptionSize;
|
|
12
14
|
className?: string;
|
|
13
|
-
}
|
|
15
|
+
};
|
|
14
16
|
/**
|
|
15
|
-
* CardCheckbox —
|
|
17
|
+
* CardCheckbox — atalho de `<CardOption type="checkbox">`.
|
|
16
18
|
*
|
|
17
|
-
*
|
|
18
|
-
* selected). Diferente do FormFieldCheckbox que é layout horizontal compact —
|
|
19
|
-
* CardCheckbox é UI de "opção destacada" com label + description visíveis.
|
|
19
|
+
* ## Por que virou wrapper em 2026-08-27
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* onCheckedChange={(v) => setSave(v === true)}
|
|
27
|
-
* />
|
|
21
|
+
* Este componente era o ÚNICO dos três padrões de "card com controle" que existia de fato: o
|
|
22
|
+
* card de radio e o de switch eram markup solto dentro das páginas de doc, e por isso os três
|
|
23
|
+
* divergiam em 11 dimensões (alinhamento, padding, radius, presets do label e da descrição,
|
|
24
|
+
* cor do selecionado, lado do input…). A implementação foi unificada no `CardOption`, e este
|
|
25
|
+
* arquivo ficou como atalho.
|
|
28
26
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* **Não foi deprecado nem removido**, e isso é deliberado: ele está no `registry.json`, no
|
|
28
|
+
* barrel do npm, no vocabulário do consumidor e em **duas telas reais** — uma delas o
|
|
29
|
+
* `example-finance`, que é distribuído. Trocar a API aqui seria breaking pra quem consome por
|
|
30
|
+
* npm sem ganho nenhum: o comportamento é idêntico.
|
|
31
|
+
*
|
|
32
|
+
* Componente NOVO deve usar `CardOption` direto — é lá que estão `type`, `orientation`,
|
|
33
|
+
* `layout="list"` e a matriz de tamanhos.
|
|
34
|
+
*
|
|
35
|
+
* ⚠️ Uma diferença de comportamento, e ela é CONSERTO: o anel de foco agora é do card, via
|
|
36
|
+
* `has-[:focus-visible]`. A versão anterior declarava `focus-visible:ring-4` no próprio
|
|
37
|
+
* `<label>`, que não recebe foco — era CSS morto, e o único anel visível era o do checkbox de
|
|
38
|
+
* 16px (medido no browser).
|
|
31
39
|
*/
|
|
32
|
-
export declare const CardCheckbox: import('react').ForwardRefExoticComponent<
|
|
33
|
-
/** Label principal — chamada do card */
|
|
34
|
-
label: ReactNode;
|
|
35
|
-
/** Texto secundário abaixo do label */
|
|
36
|
-
description?: ReactNode;
|
|
37
|
-
/** ReactNode opcional renderizado à esquerda (antes do checkbox) — ex: <Save /> */
|
|
38
|
-
icon?: ReactNode;
|
|
39
|
-
/** className aplicado ao card root (sobrescreve background/border se necessário) */
|
|
40
|
-
className?: string;
|
|
41
|
-
} & Omit<CardCheckboxVariants, "selected"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
40
|
+
export declare const CardCheckbox: import('react').ForwardRefExoticComponent<CardCheckboxProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
42
41
|
//# sourceMappingURL=card-checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/CardCheckbox/card-checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card-checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/CardCheckbox/card-checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mDAAmD;IACnD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,YAAY,iHAIxB,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { VariantProps } from '../../../utils/tv';
|
|
2
2
|
/**
|
|
3
|
+
* ⚠️ SUPERSEDIDO pelo `cardOption` (ui/CardOption) em 2026-08-27 — a implementação foi
|
|
4
|
+
* unificada porque os três padrões de card-com-controle divergiam em 11 dimensões. Este
|
|
5
|
+
* `tv()` não é mais consumido por componente nenhum; segue exportado porque está no barrel
|
|
6
|
+
* público e remover seria breaking sem ganho. Não escreva componente novo sobre ele.
|
|
7
|
+
*
|
|
3
8
|
* CardCheckbox — checkbox apresentado como card clicável (área grande,
|
|
4
9
|
* label + description visíveis). Mesma estética dos radio cards (border +
|
|
5
10
|
* bg + padding + selected state com bg-success-muted + border-brand).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-checkbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/CardCheckbox/card-checkbox.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"card-checkbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/CardCheckbox/card-checkbox.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA2BvB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CardOptionGroupProps, CardOptionProps } from './card-option.types';
|
|
2
|
+
/**
|
|
3
|
+
* `CardOptionGroup` — o container.
|
|
4
|
+
*
|
|
5
|
+
* Existe por dois motivos que se somam:
|
|
6
|
+
*
|
|
7
|
+
* 1. **`type="radio"` PRECISA de um pai.** É o `RadioGroup` do Radix que dá navegação por
|
|
8
|
+
* seta e agrupamento por `name`. Checkbox e switch são autônomos — nesses casos o grupo
|
|
9
|
+
* é só um `<div>`.
|
|
10
|
+
* 2. **O modo lista mora aqui.** Em `layout="list"` a borda e o arredondamento são do
|
|
11
|
+
* GRUPO e o item perde os seus (`inList`) — a divisória é a borda de baixo de cada item,
|
|
12
|
+
* com a última suprimida. Se cada item mantivesse a borda inteira, a lista sairia com
|
|
13
|
+
* borda dupla entre linhas. (Não é `divide-y`: ele põe `border-top` nos filhos e brigava
|
|
14
|
+
* com o reset de borda do item — resultado medido era ZERO divisória.)
|
|
15
|
+
*/
|
|
16
|
+
export declare const CardOptionGroup: import('react').ForwardRefExoticComponent<CardOptionGroupProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
+
/**
|
|
18
|
+
* `CardOption` — o item.
|
|
19
|
+
*
|
|
20
|
+
* ⚠️ **É um `<label htmlFor>` nativo, nunca `<button onClick>` (L-025).** Com `button`, o
|
|
21
|
+
* leitor de tela anuncia "button" em vez de checkbox/radio, o submit nativo perde
|
|
22
|
+
* `name`/`value`, e o `stopPropagation` do controle interno faz o clique no card não chegar
|
|
23
|
+
* nele. O label nativo propaga o clique pro controle real e preserva a semântica — foi a
|
|
24
|
+
* lição que o `CardCheckbox` já carregava e que esta implementação mantém.
|
|
25
|
+
*/
|
|
26
|
+
export declare const CardOption: import('react').ForwardRefExoticComponent<CardOptionProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
//# sourceMappingURL=card-option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-option.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/CardOption/card-option.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,oBAAoB,EAGpB,eAAe,EAGhB,MAAM,qBAAqB,CAAC;AA+B7B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,iHAuD3B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,+GA2GtB,CAAC"}
|