@snksergio/design-system 0.1.0 → 0.4.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.
Files changed (73) hide show
  1. package/README.md +34 -1
  2. package/dist-lib/chunks/{app-shell-BNTvOETJ.mjs → app-shell-BdVam01i.cjs} +55 -55
  3. package/dist-lib/chunks/app-shell-BdVam01i.cjs.map +1 -0
  4. package/dist-lib/chunks/{app-shell-CDy42aNI.mjs → app-shell-C_enrPD8.mjs} +86 -86
  5. package/dist-lib/chunks/app-shell-C_enrPD8.mjs.map +1 -0
  6. package/dist-lib/chunks/{app-shell-mocks-oO_IV3Gw.mjs → app-shell-mocks-oO_IV3Gw.cjs} +1 -1
  7. package/dist-lib/chunks/{app-shell-mocks-oO_IV3Gw.mjs.map → app-shell-mocks-oO_IV3Gw.cjs.map} +1 -1
  8. package/dist-lib/chunks/{badge-B_2Zt52o.mjs → badge-B0D_PRxn.mjs} +10 -10
  9. package/dist-lib/chunks/badge-B0D_PRxn.mjs.map +1 -0
  10. package/dist-lib/chunks/{badge-DKpXURa1.mjs → badge-CUttkO1X.cjs} +10 -10
  11. package/dist-lib/chunks/badge-CUttkO1X.cjs.map +1 -0
  12. package/dist-lib/chunks/{chat-v2-mocks-BV9Wha_Z.mjs → chat-v2-mocks-BV9Wha_Z.cjs} +1 -1
  13. package/dist-lib/chunks/{chat-v2-mocks-BV9Wha_Z.mjs.map → chat-v2-mocks-BV9Wha_Z.cjs.map} +1 -1
  14. package/dist-lib/chunks/{chip-group-CsKBBHW2.mjs → chip-group-2-f_Yo7Y.cjs} +31 -64
  15. package/dist-lib/chunks/chip-group-2-f_Yo7Y.cjs.map +1 -0
  16. package/dist-lib/chunks/{chip-group-D3D0i72q.mjs → chip-group-_e-yh1Zq.mjs} +31 -64
  17. package/dist-lib/chunks/chip-group-_e-yh1Zq.mjs.map +1 -0
  18. package/dist-lib/chunks/{clientes-showcase-mocks-BMfbNNJh.mjs → clientes-showcase-mocks-CPNOhx1G.cjs} +3 -3
  19. package/dist-lib/chunks/clientes-showcase-mocks-CPNOhx1G.cjs.map +1 -0
  20. package/dist-lib/chunks/{clientes-showcase-mocks-Cq9u3nGZ.mjs → clientes-showcase-mocks-DEHCKxMK.mjs} +3 -3
  21. package/dist-lib/chunks/clientes-showcase-mocks-DEHCKxMK.mjs.map +1 -0
  22. package/dist-lib/chunks/{input-374MpdBL.mjs → input-BWevV7up.cjs} +3 -3
  23. package/dist-lib/chunks/input-BWevV7up.cjs.map +1 -0
  24. package/dist-lib/chunks/{input-DF4XAWmr.mjs → input-C9eKSSEb.mjs} +3 -3
  25. package/dist-lib/chunks/input-C9eKSSEb.mjs.map +1 -0
  26. package/dist-lib/chunks/{page-header-mC1gGtOI.mjs → page-header-DM2G1mdi.mjs} +3 -3
  27. package/dist-lib/chunks/page-header-DM2G1mdi.mjs.map +1 -0
  28. package/dist-lib/chunks/{page-header-Dw-3wqAG.mjs → page-header-qOywgRWy.cjs} +3 -3
  29. package/dist-lib/chunks/page-header-qOywgRWy.cjs.map +1 -0
  30. package/dist-lib/chunks/{panel-bzNmFlEZ.mjs → panel-CjfnpA-4.cjs} +532 -244
  31. package/dist-lib/chunks/panel-CjfnpA-4.cjs.map +1 -0
  32. package/dist-lib/chunks/{panel-Ds15whqp.mjs → panel-DZ7X1NZV.mjs} +547 -259
  33. package/dist-lib/chunks/panel-DZ7X1NZV.mjs.map +1 -0
  34. package/dist-lib/chunks/{useTheme-Dee4mo-A.mjs → useTheme-Dee4mo-A.cjs} +1 -1
  35. package/dist-lib/chunks/{useTheme-Dee4mo-A.mjs.map → useTheme-Dee4mo-A.cjs.map} +1 -1
  36. package/dist-lib/index.cjs +23 -76
  37. package/dist-lib/index.cjs.map +1 -1
  38. package/dist-lib/index.mjs +89 -142
  39. package/dist-lib/index.mjs.map +1 -1
  40. package/dist-lib/preview/chat.cjs +38 -39
  41. package/dist-lib/preview/chat.cjs.map +1 -1
  42. package/dist-lib/preview/chat.mjs +35 -36
  43. package/dist-lib/preview/chat.mjs.map +1 -1
  44. package/dist-lib/preview/clientes.cjs +22 -22
  45. package/dist-lib/preview/clientes.cjs.map +1 -1
  46. package/dist-lib/preview/clientes.mjs +20 -20
  47. package/dist-lib/preview/clientes.mjs.map +1 -1
  48. package/dist-lib/preview/dashboard.cjs +40 -40
  49. package/dist-lib/preview/dashboard.cjs.map +1 -1
  50. package/dist-lib/preview/dashboard.mjs +38 -38
  51. package/dist-lib/preview/dashboard.mjs.map +1 -1
  52. package/dist-lib/preview/mocks.cjs +3 -3
  53. package/dist-lib/preview/mocks.mjs +1 -1
  54. package/dist-lib/theme.css +18 -122
  55. package/dist-lib/tokens.cjs +24 -160
  56. package/dist-lib/tokens.cjs.map +1 -1
  57. package/dist-lib/tokens.mjs +24 -160
  58. package/dist-lib/tokens.mjs.map +1 -1
  59. package/package.json +142 -142
  60. package/dist-lib/chunks/app-shell-BNTvOETJ.mjs.map +0 -1
  61. package/dist-lib/chunks/app-shell-CDy42aNI.mjs.map +0 -1
  62. package/dist-lib/chunks/badge-B_2Zt52o.mjs.map +0 -1
  63. package/dist-lib/chunks/badge-DKpXURa1.mjs.map +0 -1
  64. package/dist-lib/chunks/chip-group-CsKBBHW2.mjs.map +0 -1
  65. package/dist-lib/chunks/chip-group-D3D0i72q.mjs.map +0 -1
  66. package/dist-lib/chunks/clientes-showcase-mocks-BMfbNNJh.mjs.map +0 -1
  67. package/dist-lib/chunks/clientes-showcase-mocks-Cq9u3nGZ.mjs.map +0 -1
  68. package/dist-lib/chunks/input-374MpdBL.mjs.map +0 -1
  69. package/dist-lib/chunks/input-DF4XAWmr.mjs.map +0 -1
  70. package/dist-lib/chunks/page-header-Dw-3wqAG.mjs.map +0 -1
  71. package/dist-lib/chunks/page-header-mC1gGtOI.mjs.map +0 -1
  72. package/dist-lib/chunks/panel-Ds15whqp.mjs.map +0 -1
  73. package/dist-lib/chunks/panel-bzNmFlEZ.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { Fragment as Fragment$1, useState, useEffect, useRef, forwardRef, useCallback } from "react";
4
- import { t as tv, c as cn, B as Button, a as ChipGroup, b as ChipGroupItem } from "./chip-group-D3D0i72q.mjs";
4
+ import { t as tv, c as cn, B as Button, a as ChipGroup, b as ChipGroupItem } from "./chip-group-_e-yh1Zq.mjs";
5
5
  import { ChevronRight, X, Search, Bell, CheckCheck, MoreHorizontal, MessageSquare, PenLine, Maximize2, Check, Sun, Moon, PanelLeftOpen, PanelLeftClose, Menu, Plus, ChevronDown, LayoutGrid, SunMoon, Settings, LogOut } from "lucide-react";
6
6
  import { Command as Command$1 } from "cmdk";
7
7
  import * as SheetPrimitive from "@radix-ui/react-dialog";
@@ -60,10 +60,10 @@ const breadcrumbItem = tv({
60
60
  true: "text-fg-default font-semibold",
61
61
  false: "text-fg-muted hover:text-fg-default cursor-pointer"
62
62
  },
63
- /** Quando único item no breadcrumb (= título da página), font-size sobe pra 15px */
63
+ /** Quando único item no breadcrumb (= título da página), font-size sobe pra 16px */
64
64
  standalone: {
65
- true: "text-[15px]",
66
- false: "text-[13px]"
65
+ true: "text-body-lg",
66
+ false: "text-body-sm font-normal"
67
67
  }
68
68
  },
69
69
  defaultVariants: { current: false, standalone: false }
@@ -76,7 +76,7 @@ const searchFakeInput = tv({
76
76
  "inline-flex items-center gap-gp-md h-form-md w-[180px]",
77
77
  "px-pad-xl rounded-radius-md",
78
78
  "bg-bg-subtle border border-border-subtle cursor-pointer",
79
- "text-fg-subtle text-[13px]",
79
+ "text-fg-subtle text-body-sm font-normal",
80
80
  "transition-colors duration-150",
81
81
  "hover:bg-bg-muted hover:border-border-default",
82
82
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring-secondary"
@@ -93,7 +93,7 @@ const searchFakeInputKbd = tv({
93
93
  "ml-auto inline-flex items-center justify-center",
94
94
  "h-[20px] px-pad-xs rounded-radius-xs",
95
95
  "bg-bg-canvas border border-border-subtle dark:bg-bg-muted",
96
- "text-[10px] font-semibold text-fg-muted tabular-nums shrink-0"
96
+ "text-caption-xs font-semibold text-fg-muted tabular-nums shrink-0"
97
97
  ]
98
98
  });
99
99
  const hdWrap = tv({
@@ -120,13 +120,13 @@ const hdHeader = tv({
120
120
  base: "flex items-center justify-between"
121
121
  });
122
122
  const hdTitle = tv({
123
- base: "flex items-center gap-gp-sm text-[15px] font-semibold text-fg-default"
123
+ base: "flex items-center gap-gp-sm text-body-lg font-semibold text-fg-default"
124
124
  });
125
125
  const hdTitleCount = tv({
126
126
  base: [
127
127
  "inline-flex items-center justify-center min-w-[20px] h-[20px] px-pad-xs",
128
128
  "rounded-radius-xs bg-bg-brand text-fg-on-brand",
129
- "text-[11px] font-bold tabular-nums"
129
+ "text-caption-sm font-bold tabular-nums"
130
130
  ]
131
131
  });
132
132
  const hdHeaderActions = tv({
@@ -145,7 +145,7 @@ tv({
145
145
  base: "size-[14px] text-fg-muted shrink-0"
146
146
  });
147
147
  tv({
148
- base: "flex-1 min-w-0 bg-transparent border-0 outline-none text-[13px] text-fg-default placeholder:text-fg-subtle"
148
+ base: "flex-1 min-w-0 bg-transparent border-0 outline-none text-body-sm font-normal text-fg-default placeholder:text-fg-subtle"
149
149
  });
150
150
  tv({
151
151
  base: "flex items-center gap-gp-2xs p-[3px] rounded-radius-lg bg-bg-muted"
@@ -154,7 +154,7 @@ tv({
154
154
  base: [
155
155
  "inline-flex items-center justify-center gap-gp-xs",
156
156
  "h-[28px] px-[10px] rounded-radius-sm",
157
- "text-[12px] font-medium text-fg-muted cursor-pointer",
157
+ "text-body-xs font-medium text-fg-muted cursor-pointer",
158
158
  "bg-transparent border-0",
159
159
  "transition-colors duration-150",
160
160
  "hover:text-fg-default",
@@ -167,7 +167,7 @@ tv({
167
167
  }
168
168
  });
169
169
  tv({
170
- base: "text-[10px] font-bold tabular-nums opacity-70"
170
+ base: "text-caption-xs font-bold tabular-nums opacity-70"
171
171
  });
172
172
  const hdBody = tv({
173
173
  base: "flex-1 overflow-y-auto p-pad-sm flex flex-col gap-px"
@@ -176,7 +176,7 @@ const hdEmpty = tv({
176
176
  base: "flex flex-col items-center justify-center gap-gp-md py-pad-7xl text-fg-subtle"
177
177
  });
178
178
  const hdEmptyText = tv({
179
- base: "text-paragraph-sm"
179
+ base: "text-body-md"
180
180
  });
181
181
  const hdNotif = tv({
182
182
  base: [
@@ -194,13 +194,13 @@ const hdNotifBody = tv({
194
194
  base: "flex-1 min-w-0 flex flex-col gap-gp-2xs"
195
195
  });
196
196
  const hdNotifTitle = tv({
197
- base: "text-[13px] font-semibold text-fg-default leading-tight"
197
+ base: "text-body-sm font-semibold text-fg-default leading-tight"
198
198
  });
199
199
  const hdNotifText = tv({
200
- base: "text-[12px] text-fg-muted leading-snug line-clamp-2"
200
+ base: "text-body-xs font-normal text-fg-muted leading-snug line-clamp-2"
201
201
  });
202
202
  const hdNotifTime = tv({
203
- base: "text-[11px] text-fg-subtle"
203
+ base: "text-caption-sm text-fg-subtle"
204
204
  });
205
205
  const hdNotifDot = tv({
206
206
  base: "shrink-0 mt-pad-xs w-[8px] h-[8px] rounded-full bg-bg-brand"
@@ -217,7 +217,7 @@ const hdMsg = tv({
217
217
  const hdMsgAvatar = tv({
218
218
  base: [
219
219
  "flex-none grid place-items-center w-icon-lg h-icon-lg rounded-full",
220
- "text-white text-[11px] font-bold uppercase tracking-[0.02em] leading-none"
220
+ "text-white text-caption-sm font-bold uppercase tracking-[0.02em] leading-none"
221
221
  ]
222
222
  });
223
223
  const hdMsgBody = tv({
@@ -227,16 +227,16 @@ const hdMsgRow = tv({
227
227
  base: "flex items-center justify-between gap-gp-sm"
228
228
  });
229
229
  const hdMsgName = tv({
230
- base: "text-[13px] font-semibold text-fg-default truncate"
230
+ base: "text-body-sm font-semibold text-fg-default truncate"
231
231
  });
232
232
  const hdMsgTime = tv({
233
- base: "text-[11px] text-fg-subtle shrink-0"
233
+ base: "text-caption-sm text-fg-subtle shrink-0"
234
234
  });
235
235
  const hdMsgPreviewRow = tv({
236
236
  base: "flex items-center gap-gp-sm"
237
237
  });
238
238
  const hdMsgPreview = tv({
239
- base: "flex-1 min-w-0 text-[12px] text-fg-muted truncate"
239
+ base: "flex-1 min-w-0 text-body-xs font-normal text-fg-muted truncate"
240
240
  });
241
241
  const hdMsgDot = tv({
242
242
  base: "shrink-0 w-[8px] h-[8px] rounded-full bg-bg-brand"
@@ -248,7 +248,7 @@ const hdFooterLink = tv({
248
248
  base: [
249
249
  "inline-flex items-center justify-center gap-gp-sm",
250
250
  "h-form-sm px-pad-lg rounded-radius-md w-full",
251
- "text-[13px] font-medium text-fg-brand no-underline",
251
+ "text-body-sm font-medium text-fg-brand no-underline",
252
252
  "transition-colors duration-150",
253
253
  "hover:bg-bg-brand-subtle",
254
254
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring-brand"
@@ -354,7 +354,7 @@ const DialogContent = React.forwardRef(({ className, children, hideClose, ...pro
354
354
  {
355
355
  ref,
356
356
  className: cn(
357
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-gp-4xl rounded-radius-base bg-bg-surface p-pad-4xl text-paragraph-sm text-fg-default shadow-sh-xl outline-float duration-200 sm:max-w-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
357
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-gp-4xl rounded-radius-base bg-bg-surface p-pad-4xl text-body-md text-fg-default shadow-sh-xl outline-float duration-200 sm:max-w-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
358
358
  className
359
359
  ),
360
360
  ...props,
@@ -385,7 +385,7 @@ const DialogDescription = React.forwardRef(({ className, ...props }, ref) => /*
385
385
  SheetPrimitive.Description,
386
386
  {
387
387
  ref,
388
- className: cn("text-paragraph-sm text-fg-muted", className),
388
+ className: cn("text-body-md text-fg-muted", className),
389
389
  ...props
390
390
  }
391
391
  ));
@@ -436,7 +436,7 @@ const CommandInput = React.forwardRef(({ className, ...props }, ref) => /* @__PU
436
436
  ref,
437
437
  className: cn(
438
438
  "flex-1 min-w-0 bg-transparent border-0 outline-none",
439
- "text-[13px] text-fg-default placeholder:text-fg-muted",
439
+ "text-body-sm font-normal text-fg-default placeholder:text-fg-muted",
440
440
  "disabled:cursor-not-allowed disabled:opacity-50",
441
441
  className
442
442
  ),
@@ -463,7 +463,7 @@ const CommandEmpty = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(
463
463
  Command$1.Empty,
464
464
  {
465
465
  ref,
466
- className: "py-pad-5xl text-center text-paragraph-sm text-fg-muted",
466
+ className: "py-pad-5xl text-center text-body-md text-fg-muted",
467
467
  ...props
468
468
  }
469
469
  ));
@@ -476,7 +476,7 @@ const CommandGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PU
476
476
  "overflow-hidden text-fg-default",
477
477
  "[&_[cmdk-group-heading]]:flex [&_[cmdk-group-heading]]:items-center",
478
478
  "[&_[cmdk-group-heading]]:h-[28px] [&_[cmdk-group-heading]]:px-pad-xl",
479
- "[&_[cmdk-group-heading]]:text-[10px] [&_[cmdk-group-heading]]:font-bold",
479
+ "[&_[cmdk-group-heading]]:text-caption-xs [&_[cmdk-group-heading]]:font-bold",
480
480
  "[&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wider",
481
481
  "[&_[cmdk-group-heading]]:text-fg-subtle",
482
482
  className
@@ -501,7 +501,7 @@ const CommandItem = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
501
501
  className: cn(
502
502
  "relative flex cursor-default select-none items-center gap-gp-md",
503
503
  "rounded-radius-lg px-pad-xl py-pad-md",
504
- "text-[13px] font-medium text-fg-muted",
504
+ "text-body-sm font-medium text-fg-muted",
505
505
  "outline-none transition-colors",
506
506
  "data-[selected='true']:bg-bg-muted data-[selected='true']:text-fg-default data-[selected='true']:[&_svg]:text-fg-default",
507
507
  "data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50",
@@ -520,7 +520,7 @@ const CommandShortcut = ({
520
520
  "span",
521
521
  {
522
522
  className: cn(
523
- "ml-auto text-[11px] tracking-wider text-fg-subtle",
523
+ "ml-auto text-caption-sm tracking-wider text-fg-subtle",
524
524
  className
525
525
  ),
526
526
  ...props
@@ -793,10 +793,10 @@ const inputGroupVariants = cva(
793
793
  {
794
794
  variants: {
795
795
  size: {
796
- xxs: "min-h-form-xs px-pad-md gap-gp-xs rounded-radius-md text-[13px]",
797
- xs: "min-h-form-sm px-pad-xl gap-gp-md rounded-radius-md text-[13px]",
798
- sm: "min-h-form-md px-pad-xl gap-gp-md rounded-radius-lg text-[13px]",
799
- md: "min-h-form-lg px-pad-xl gap-gp-md rounded-radius-lg text-[13px]"
796
+ xxs: "min-h-form-xs px-pad-md gap-gp-xs rounded-radius-md text-body-sm font-normal",
797
+ xs: "min-h-form-sm px-pad-xl gap-gp-md rounded-radius-md text-body-sm font-normal",
798
+ sm: "min-h-form-md px-pad-xl gap-gp-md rounded-radius-lg text-body-sm font-normal",
799
+ md: "min-h-form-lg px-pad-xl gap-gp-md rounded-radius-lg text-body-sm font-normal"
800
800
  },
801
801
  state: {
802
802
  default: "focus-within:border-border-brand focus-within:shadow-sh-ring",
@@ -823,7 +823,7 @@ const InputGroup = React.forwardRef(
823
823
  InputGroup.displayName = "InputGroup";
824
824
  const inputGroupInputVariants = cva([
825
825
  "flex-1 min-w-0 bg-transparent border-0 outline-none",
826
- "text-[13px] text-fg-default placeholder:text-fg-muted placeholder:opacity-70",
826
+ "text-body-sm font-normal text-fg-default placeholder:text-fg-muted placeholder:opacity-70",
827
827
  "disabled:cursor-not-allowed",
828
828
  "file:inline-flex file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-fg-default"
829
829
  ]);
@@ -841,7 +841,7 @@ InputGroupInput.displayName = "InputGroupInput";
841
841
  const inputGroupTextareaVariants = cva([
842
842
  "flex-1 min-w-0 bg-transparent border-0 outline-none resize-y",
843
843
  "py-pad-md",
844
- "text-[13px] leading-[1.5] text-fg-default placeholder:text-fg-muted placeholder:opacity-70",
844
+ "text-body-sm font-normal leading-[1.5] text-fg-default placeholder:text-fg-muted placeholder:opacity-70",
845
845
  "disabled:cursor-not-allowed"
846
846
  ]);
847
847
  const InputGroupTextarea = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
@@ -898,7 +898,7 @@ const InputGroupText = React.forwardRef(({ className, ...props }, ref) => /* @__
898
898
  ref,
899
899
  "data-slot": "input-group-text",
900
900
  className: cn(
901
- "text-[12.5px] font-medium text-fg-muted whitespace-nowrap",
901
+ "text-body-xs text-fg-muted whitespace-nowrap",
902
902
  className
903
903
  ),
904
904
  ...props
@@ -916,9 +916,9 @@ const inputGroupButtonVariants = cva(
916
916
  {
917
917
  variants: {
918
918
  size: {
919
- xs: "h-form-xs px-pad-md gap-gp-xs text-[12px]",
919
+ xs: "h-form-xs px-pad-md gap-gp-xs text-body-xs font-normal",
920
920
  "icon-xs": "size-form-xs",
921
- sm: "h-form-sm px-pad-lg gap-gp-md text-[12.5px]",
921
+ sm: "h-form-sm px-pad-lg gap-gp-md text-body-xs font-normal",
922
922
  "icon-sm": "size-form-sm"
923
923
  },
924
924
  variant: {
@@ -1142,7 +1142,7 @@ const CONTAINER_CLASSES = [
1142
1142
  const ITEM_BASE = [
1143
1143
  "relative flex cursor-default select-none items-center",
1144
1144
  "gap-pad-lg px-pad-lg py-pad-md rounded-radius-sm",
1145
- "text-[13px] font-medium",
1145
+ "text-body-sm font-medium",
1146
1146
  "outline-none transition-colors",
1147
1147
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1148
1148
  "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
@@ -1487,7 +1487,7 @@ const sidebarRailTooltip = tv({
1487
1487
  "pointer-events-none absolute left-full ml-[14px] top-1/2 -translate-y-1/2",
1488
1488
  "px-pad-md py-[5px] rounded-radius-sm",
1489
1489
  "bg-fg-default text-bg-sidebar",
1490
- "text-[11.5px] font-semibold tracking-[0.01em] whitespace-nowrap",
1490
+ "text-caption-sm font-semibold tracking-[0.01em] whitespace-nowrap",
1491
1491
  "opacity-0 group-hover/rail-item:opacity-100",
1492
1492
  "transition-opacity duration-150 z-50",
1493
1493
  "shadow-sh-md"
@@ -1509,7 +1509,7 @@ const sidebarRailUserDefault = tv({
1509
1509
  base: [
1510
1510
  "grid place-items-center w-9 h-9 rounded-full",
1511
1511
  // tracking-[0.02em] preserva tracking original (preset usa +0.06em)
1512
- "bg-bg-brand text-fg-on-brand font-bold text-[11px] uppercase tracking-[0.02em]"
1512
+ "bg-bg-brand text-fg-on-brand font-bold text-caption-sm uppercase tracking-[0.02em]"
1513
1513
  ]
1514
1514
  });
1515
1515
  const sidebarPanel = tv({
@@ -1536,7 +1536,7 @@ const sidebarPanelTitle = tv({
1536
1536
  "flex-1 min-w-0 inline-flex items-center gap-gp-sm",
1537
1537
  "py-pad-sm px-pad-md rounded-radius-md",
1538
1538
  "bg-transparent border-0 cursor-pointer text-left",
1539
- "font-bold text-fg-default text-[14.5px]",
1539
+ "text-body-md font-medium font-bold text-fg-default",
1540
1540
  "transition-colors hover:bg-bg-sidebar-accent-hover",
1541
1541
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring-secondary"
1542
1542
  ]
@@ -1550,7 +1550,7 @@ const sidebarPanelGroup = tv({
1550
1550
  const sidebarItem = tv({
1551
1551
  base: [
1552
1552
  "flex items-center gap-[11px] h-form-lg w-full px-pad-xl rounded-radius-md",
1553
- "text-fg-default text-[13px] font-medium text-left no-underline cursor-pointer",
1553
+ "text-fg-default text-body-sm font-medium text-left no-underline cursor-pointer",
1554
1554
  "bg-transparent border-0",
1555
1555
  "transition-colors duration-150",
1556
1556
  // Hover usa sidebar-accent-hover (mineral subtle no light, alpha-12 no dark) —
@@ -1568,7 +1568,7 @@ const sidebarItem = tv({
1568
1568
  ]
1569
1569
  },
1570
1570
  subitem: {
1571
- true: "h-form-sm px-pad-lg text-[12.5px] text-fg-muted hover:text-fg-default"
1571
+ true: "h-form-sm px-pad-lg text-body-xs font-normal text-fg-muted hover:text-fg-default"
1572
1572
  }
1573
1573
  },
1574
1574
  compoundVariants: [
@@ -1598,7 +1598,7 @@ const sidebarPill = tv({
1598
1598
  "inline-flex items-center justify-center flex-none",
1599
1599
  "min-w-[22px] h-[22px] px-[7px] rounded-radius-sm",
1600
1600
  // tracking-[0.02em] e leading-none preservam visual original (preset usa +0.06em e lineHeight 14px)
1601
- "text-[11px] font-bold leading-none tracking-[0.02em] tabular-nums"
1601
+ "text-caption-sm font-bold leading-none tracking-[0.02em] tabular-nums"
1602
1602
  ],
1603
1603
  variants: {
1604
1604
  kind: {
@@ -1647,7 +1647,7 @@ const sidebarSectionHeader = tv({
1647
1647
  base: [
1648
1648
  "flex items-center gap-gp-sm px-pad-lg pt-pad-sm pb-pad-md",
1649
1649
  "bg-transparent border-0 text-left cursor-pointer select-none w-full",
1650
- "text-[10px] font-bold uppercase tracking-[0.06em] text-fg-default",
1650
+ "text-caption-xs font-bold uppercase tracking-[0.06em] text-fg-default",
1651
1651
  "transition-colors hover:text-fg-default",
1652
1652
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring-secondary rounded-radius-sm",
1653
1653
  // Dark: enfraquecer (mais sutil)
@@ -1665,7 +1665,7 @@ const sidebarSectionChev = tv({
1665
1665
  const sidebarSectionAdd = tv({
1666
1666
  base: [
1667
1667
  "ml-auto w-[18px] h-[18px] grid place-items-center rounded-radius-xs",
1668
- "text-fg-muted bg-transparent border-0 cursor-pointer text-[14px] leading-none",
1668
+ "text-fg-muted bg-transparent border-0 cursor-pointer text-body-md leading-none",
1669
1669
  "transition-colors hover:bg-bg-sidebar-accent-hover hover:text-fg-default",
1670
1670
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring-secondary"
1671
1671
  ]
@@ -1687,7 +1687,7 @@ const sidebarSectionList = tv({
1687
1687
  const sidebarSectionItem = tv({
1688
1688
  base: [
1689
1689
  "flex items-center gap-[11px] h-form-sm w-full px-pad-lg rounded-radius-md",
1690
- "text-[12.5px] font-medium text-fg-muted no-underline cursor-pointer",
1690
+ "text-body-xs font-medium text-fg-muted no-underline cursor-pointer",
1691
1691
  "bg-transparent border-0 text-left",
1692
1692
  "transition-colors duration-150",
1693
1693
  "hover:bg-bg-sidebar-accent-hover hover:text-fg-default",
@@ -1701,7 +1701,7 @@ const sidebarChatAvatar = tv({
1701
1701
  base: [
1702
1702
  "flex-none grid place-items-center w-icon-lg h-icon-lg rounded-full",
1703
1703
  // tracking-[0.02em] preserva o tracking original (preset usa +0.06em); leading-none mantém centralização vertical
1704
- "text-white text-[10px] font-bold uppercase tracking-[0.02em] leading-none"
1704
+ "text-white text-caption-xs font-bold uppercase tracking-[0.02em] leading-none"
1705
1705
  ]
1706
1706
  });
1707
1707
  const sidebarChatStatus = tv({
@@ -2328,7 +2328,7 @@ const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__
2328
2328
  {
2329
2329
  ref,
2330
2330
  className: cn(
2331
- "flex h-full w-full items-center justify-center rounded-full bg-bg-muted text-fg-muted text-caption-md",
2331
+ "flex h-full w-full items-center justify-center rounded-full bg-bg-muted text-fg-muted text-body-sm font-normal",
2332
2332
  className
2333
2333
  ),
2334
2334
  ...props
@@ -2363,7 +2363,7 @@ function UserMenu({
2363
2363
  "aria-label": `Menu do usuário (${user.name})`,
2364
2364
  className: [
2365
2365
  "grid place-items-center w-9 h-9 rounded-full shrink-0",
2366
- "bg-bg-brand text-fg-on-brand text-[11px] font-bold uppercase tracking-[0.02em]",
2366
+ "bg-bg-brand text-fg-on-brand text-caption-sm font-bold uppercase tracking-[0.02em]",
2367
2367
  "cursor-pointer transition-opacity duration-150",
2368
2368
  "hover:opacity-90",
2369
2369
  "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring-secondary",
@@ -2392,13 +2392,13 @@ function UserMenu({
2392
2392
  style: user.avatarColor ? { background: user.avatarColor } : void 0,
2393
2393
  children: [
2394
2394
  user.avatarSrc && /* @__PURE__ */ jsx(AvatarImage, { src: user.avatarSrc, alt: user.name }),
2395
- /* @__PURE__ */ jsx(AvatarFallback, { className: "bg-bg-brand text-fg-on-brand text-[12px] font-bold uppercase", children: initials })
2395
+ /* @__PURE__ */ jsx(AvatarFallback, { className: "bg-bg-brand text-fg-on-brand text-body-xs font-bold uppercase", children: initials })
2396
2396
  ]
2397
2397
  }
2398
2398
  ),
2399
2399
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col min-w-0 flex-1", children: [
2400
- /* @__PURE__ */ jsx("span", { className: "text-[13px] font-medium text-fg-default truncate", children: user.name }),
2401
- user.email && /* @__PURE__ */ jsx("span", { className: "text-[11px] text-fg-muted truncate", children: user.email })
2400
+ /* @__PURE__ */ jsx("span", { className: "text-body-sm font-medium text-fg-default truncate", children: user.name }),
2401
+ user.email && /* @__PURE__ */ jsx("span", { className: "text-caption-sm text-fg-muted truncate", children: user.email })
2402
2402
  ] })
2403
2403
  ] }),
2404
2404
  hasGroups && /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
@@ -2406,7 +2406,7 @@ function UserMenu({
2406
2406
  /* @__PURE__ */ jsxs(DropdownMenuSubTrigger, { children: [
2407
2407
  /* @__PURE__ */ jsx(LayoutGrid, {}),
2408
2408
  /* @__PURE__ */ jsx("span", { children: "Layout" }),
2409
- currentLayoutLabel && /* @__PURE__ */ jsx("span", { className: "flex-1 text-right text-[11px] text-fg-subtle", children: currentLayoutLabel })
2409
+ currentLayoutLabel && /* @__PURE__ */ jsx("span", { className: "flex-1 text-right text-caption-sm text-fg-subtle", children: currentLayoutLabel })
2410
2410
  ] }),
2411
2411
  /* @__PURE__ */ jsx(DropdownMenuSubContent, { sideOffset: 4, children: /* @__PURE__ */ jsx(
2412
2412
  DropdownMenuRadioGroup,
@@ -2427,7 +2427,7 @@ function UserMenu({
2427
2427
  /* @__PURE__ */ jsxs(DropdownMenuSubTrigger, { children: [
2428
2428
  /* @__PURE__ */ jsx(SunMoon, {}),
2429
2429
  /* @__PURE__ */ jsx("span", { children: "Tema" }),
2430
- currentThemeLabel && /* @__PURE__ */ jsx("span", { className: "flex-1 text-right text-[11px] text-fg-subtle", children: currentThemeLabel })
2430
+ currentThemeLabel && /* @__PURE__ */ jsx("span", { className: "flex-1 text-right text-caption-sm text-fg-subtle", children: currentThemeLabel })
2431
2431
  ] }),
2432
2432
  /* @__PURE__ */ jsx(DropdownMenuSubContent, { sideOffset: 4, children: /* @__PURE__ */ jsx(
2433
2433
  DropdownMenuRadioGroup,
@@ -2620,44 +2620,44 @@ function AppShell({
2620
2620
  AppShell.displayName = "AppShell";
2621
2621
  export {
2622
2622
  AppShell as A,
2623
- SidebarSection as B,
2624
- SidebarSubgroup as C,
2623
+ useControllable as B,
2624
+ useMediaQuery as C,
2625
2625
  Dialog as D,
2626
- useControllable as E,
2627
- useMediaQuery as F,
2628
- DropdownMenu as G,
2626
+ DropdownMenu as E,
2627
+ DropdownMenuTrigger as F,
2628
+ DropdownMenuContent as G,
2629
2629
  Header as H,
2630
2630
  InputGroup as I,
2631
- DropdownMenuTrigger as J,
2632
- DropdownMenuContent as K,
2631
+ DialogTrigger as J,
2632
+ DialogTitle as K,
2633
2633
  MenuSidebar as M,
2634
2634
  SidebarBrandIcon as S,
2635
2635
  UserMenu as U,
2636
2636
  Avatar as a,
2637
2637
  AvatarFallback as b,
2638
- DialogTrigger as c,
2639
- DialogContent as d,
2640
- DialogTitle as e,
2641
- DialogClose as f,
2642
- HeaderBreadcrumb as g,
2643
- HeaderMessages as h,
2644
- HeaderNotifications as i,
2645
- HeaderSearch as j,
2646
- HeaderThemeSwitcher as k,
2647
- InputGroupAddon as l,
2648
- InputGroupButton as m,
2649
- InputGroupInput as n,
2650
- InputGroupText as o,
2651
- InputGroupTextarea as p,
2652
- DropdownMenuCheckboxItem as q,
2653
- DropdownMenuItem as r,
2654
- DropdownMenuLabel as s,
2655
- DropdownMenuRadioGroup as t,
2656
- DropdownMenuRadioItem as u,
2657
- DropdownMenuSeparator as v,
2658
- SidebarItem as w,
2659
- SidebarPanel as x,
2660
- SidebarPill as y,
2661
- SidebarRail as z
2638
+ DialogContent as c,
2639
+ DialogClose as d,
2640
+ HeaderBreadcrumb as e,
2641
+ HeaderMessages as f,
2642
+ HeaderNotifications as g,
2643
+ HeaderSearch as h,
2644
+ HeaderThemeSwitcher as i,
2645
+ InputGroupAddon as j,
2646
+ InputGroupButton as k,
2647
+ InputGroupInput as l,
2648
+ InputGroupText as m,
2649
+ InputGroupTextarea as n,
2650
+ DropdownMenuCheckboxItem as o,
2651
+ DropdownMenuItem as p,
2652
+ DropdownMenuLabel as q,
2653
+ DropdownMenuRadioGroup as r,
2654
+ DropdownMenuRadioItem as s,
2655
+ DropdownMenuSeparator as t,
2656
+ SidebarItem as u,
2657
+ SidebarPanel as v,
2658
+ SidebarPill as w,
2659
+ SidebarRail as x,
2660
+ SidebarSection as y,
2661
+ SidebarSubgroup as z
2662
2662
  };
2663
- //# sourceMappingURL=app-shell-CDy42aNI.mjs.map
2663
+ //# sourceMappingURL=app-shell-C_enrPD8.mjs.map