@tutti-os/ui-system 0.0.2 → 0.0.3
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/agent/nextop-ui-system/scripts/create-business-preview.mjs +3 -3
- package/dist/{chunk-UTUVPSKL.js → chunk-7Z4754GM.js} +2 -2
- package/dist/chunk-7Z4754GM.js.map +1 -0
- package/dist/{chunk-2AUYRRDG.js → chunk-XXE3UZ55.js} +61 -58
- package/dist/chunk-XXE3UZ55.js.map +1 -0
- package/dist/components/index.d.ts +4 -4
- package/dist/components/index.js +2 -2
- package/dist/icons/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/styles/theme.css +42 -6
- package/package.json +1 -1
- package/dist/chunk-2AUYRRDG.js.map +0 -1
- package/dist/chunk-UTUVPSKL.js.map +0 -1
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
SuccessFilledIcon,
|
|
16
16
|
WarningFilledIcon,
|
|
17
17
|
WarningLinedIcon
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7Z4754GM.js";
|
|
19
19
|
import {
|
|
20
20
|
cn
|
|
21
21
|
} from "./chunk-DGPY4WP3.js";
|
|
@@ -108,7 +108,7 @@ import { cva as cva3 } from "class-variance-authority";
|
|
|
108
108
|
import { Slot as Slot3 } from "radix-ui";
|
|
109
109
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
110
110
|
var buttonVariants = cva3(
|
|
111
|
-
"group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-
|
|
111
|
+
"group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-[13px] font-normal whitespace-nowrap transition-[background-color,border-color,color,box-shadow,transform] outline-none select-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/35 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
112
112
|
{
|
|
113
113
|
variants: {
|
|
114
114
|
variant: {
|
|
@@ -121,13 +121,13 @@ var buttonVariants = cva3(
|
|
|
121
121
|
link: "text-primary underline-offset-4 hover:underline"
|
|
122
122
|
},
|
|
123
123
|
size: {
|
|
124
|
-
default: "h-8 gap-[6px] px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
125
|
-
dialog: "h-8 gap-[6px] rounded-md px-3 text-
|
|
126
|
-
xs: "h-6 gap-1 rounded-sm px-2 text-
|
|
127
|
-
sm: "h-7 gap-1 rounded-sm px-2.5 text-[
|
|
128
|
-
lg: "h-9 gap-2 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5",
|
|
124
|
+
default: "h-8 gap-[6px] px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-3.5 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-3.5",
|
|
125
|
+
dialog: "h-8 gap-[6px] rounded-md px-3 text-[13px] font-normal leading-5 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-3.5 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-3.5",
|
|
126
|
+
xs: "h-6 gap-1 rounded-sm px-2 text-[11px] in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-2.5 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-2.5",
|
|
127
|
+
sm: "h-7 gap-1 rounded-sm px-2.5 text-[13px] in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-3 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-3",
|
|
128
|
+
lg: "h-9 gap-2 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-3.5 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-3.5",
|
|
129
129
|
icon: "size-8",
|
|
130
|
-
"icon-xs": "size-6 rounded-sm in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3",
|
|
130
|
+
"icon-xs": "size-6 rounded-sm in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3 [&_svg[data-icon=inline-start]:not([class*='size-'])]:size-2.5 [&_[data-icon=inline-start]_svg:not([class*='size-'])]:size-2.5",
|
|
131
131
|
"icon-sm": "size-7 rounded-sm in-data-[slot=button-group]:rounded-md",
|
|
132
132
|
"icon-lg": "size-9"
|
|
133
133
|
}
|
|
@@ -178,7 +178,7 @@ function Card({
|
|
|
178
178
|
"data-slot": "card",
|
|
179
179
|
"data-size": size,
|
|
180
180
|
className: cn(
|
|
181
|
-
"group/card flex flex-col gap-4 overflow-hidden rounded-lg border border-border/70 bg-card py-4 text-
|
|
181
|
+
"group/card flex flex-col gap-4 overflow-hidden rounded-lg border border-border/70 bg-card py-4 text-[13px] text-card-foreground shadow-none has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg",
|
|
182
182
|
className
|
|
183
183
|
),
|
|
184
184
|
...props
|
|
@@ -204,7 +204,7 @@ function CardTitle({ className, ...props }) {
|
|
|
204
204
|
{
|
|
205
205
|
"data-slot": "card-title",
|
|
206
206
|
className: cn(
|
|
207
|
-
"text-
|
|
207
|
+
"text-[15px] leading-snug font-medium group-data-[size=sm]/card:text-[13px]",
|
|
208
208
|
className
|
|
209
209
|
),
|
|
210
210
|
...props
|
|
@@ -216,7 +216,10 @@ function CardDescription({ className, ...props }) {
|
|
|
216
216
|
"div",
|
|
217
217
|
{
|
|
218
218
|
"data-slot": "card-description",
|
|
219
|
-
className: cn(
|
|
219
|
+
className: cn(
|
|
220
|
+
"text-[13px] leading-[1.3] text-muted-foreground",
|
|
221
|
+
className
|
|
222
|
+
),
|
|
220
223
|
...props
|
|
221
224
|
}
|
|
222
225
|
);
|
|
@@ -391,7 +394,7 @@ function DialogContent({
|
|
|
391
394
|
forceMount: true,
|
|
392
395
|
className: cn(
|
|
393
396
|
portaled ? "fixed" : "absolute",
|
|
394
|
-
"pointer-events-none top-1/2 left-1/2 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 origin-center gap-3 rounded-[16px] border border-border-1 bg-[var(--background-panel)] p-[18px] text-
|
|
397
|
+
"pointer-events-none top-1/2 left-1/2 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 origin-center gap-3 rounded-[16px] border border-border-1 bg-[var(--background-panel)] p-[18px] text-[13px] text-foreground shadow-panel outline-none ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[transform,opacity] sm:max-w-[360px] data-[state=closed]:!pointer-events-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-[0.96] data-[state=closed]:duration-[150ms] data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-[0.96] data-[state=open]:duration-[250ms] motion-reduce:animate-none",
|
|
395
398
|
className
|
|
396
399
|
),
|
|
397
400
|
style: { zIndex: "var(--z-dialog)", ...style },
|
|
@@ -460,7 +463,7 @@ function DialogTitle({
|
|
|
460
463
|
{
|
|
461
464
|
"data-slot": "dialog-title",
|
|
462
465
|
className: cn(
|
|
463
|
-
"text-
|
|
466
|
+
"text-[15px] leading-[1.35] font-semibold tracking-normal text-foreground",
|
|
464
467
|
className
|
|
465
468
|
),
|
|
466
469
|
...props
|
|
@@ -476,7 +479,7 @@ function DialogDescription({
|
|
|
476
479
|
{
|
|
477
480
|
"data-slot": "dialog-description",
|
|
478
481
|
className: cn(
|
|
479
|
-
"text-
|
|
482
|
+
"text-[13px] font-[400] leading-[1.3] text-text-secondary *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
|
|
480
483
|
className
|
|
481
484
|
),
|
|
482
485
|
...props
|
|
@@ -538,7 +541,7 @@ function ConfirmationDialog({
|
|
|
538
541
|
/* @__PURE__ */ jsx7(DialogTitle, { children: title }),
|
|
539
542
|
description ? /* @__PURE__ */ jsx7(DialogDescription, { children: description }) : null
|
|
540
543
|
] }),
|
|
541
|
-
children ? /* @__PURE__ */ jsx7("div", { className: "text-
|
|
544
|
+
children ? /* @__PURE__ */ jsx7("div", { className: "text-[13px] leading-[1.3] text-text-secondary", children }) : null,
|
|
542
545
|
footer ?? /* @__PURE__ */ jsxs2(DialogFooter, { children: [
|
|
543
546
|
/* @__PURE__ */ jsx7(
|
|
544
547
|
Button,
|
|
@@ -796,7 +799,7 @@ var DatePicker = React2.forwardRef(
|
|
|
796
799
|
disabled,
|
|
797
800
|
type: "button",
|
|
798
801
|
className: cn(
|
|
799
|
-
"inline-flex h-8 min-h-8 w-full items-center justify-start rounded-md border border-transparent bg-[var(--workbench-field-bg)] px-3 text-left text-
|
|
802
|
+
"inline-flex h-8 min-h-8 w-full items-center justify-start rounded-md border border-transparent bg-[var(--workbench-field-bg)] px-3 text-left text-[13px] text-foreground transition-[background-color,border-color,box-shadow,color] outline-none hover:bg-muted/60 focus-visible:border-border focus-visible:ring-2 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100",
|
|
800
803
|
!selectedDate && "text-muted-foreground",
|
|
801
804
|
className
|
|
802
805
|
),
|
|
@@ -830,7 +833,7 @@ var DatePicker = React2.forwardRef(
|
|
|
830
833
|
},
|
|
831
834
|
children: [
|
|
832
835
|
/* @__PURE__ */ jsxs3("div", { className: "mb-3 flex items-center justify-between gap-2", children: [
|
|
833
|
-
/* @__PURE__ */ jsx8("div", { className: "text-
|
|
836
|
+
/* @__PURE__ */ jsx8("div", { className: "text-[13px] font-semibold text-foreground", children: formatMonthLabel(visibleMonth) }),
|
|
834
837
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-1", children: [
|
|
835
838
|
/* @__PURE__ */ jsx8(
|
|
836
839
|
"button",
|
|
@@ -866,7 +869,7 @@ var DatePicker = React2.forwardRef(
|
|
|
866
869
|
)
|
|
867
870
|
] })
|
|
868
871
|
] }),
|
|
869
|
-
/* @__PURE__ */ jsx8("div", { className: "grid grid-cols-7 gap-1 text-center text-
|
|
872
|
+
/* @__PURE__ */ jsx8("div", { className: "grid grid-cols-7 gap-1 text-center text-[11px] font-semibold text-muted-foreground", children: resolvedLabels.weekdayLabels.map((day) => /* @__PURE__ */ jsx8("div", { className: "py-1", children: day }, day)) }),
|
|
870
873
|
/* @__PURE__ */ jsx8(
|
|
871
874
|
"div",
|
|
872
875
|
{
|
|
@@ -881,7 +884,7 @@ var DatePicker = React2.forwardRef(
|
|
|
881
884
|
{
|
|
882
885
|
"aria-pressed": isSelected,
|
|
883
886
|
className: cn(
|
|
884
|
-
"inline-flex h-8 w-8 items-center justify-center rounded-sm text-
|
|
887
|
+
"inline-flex h-8 w-8 items-center justify-center rounded-sm text-[13px] transition-[background-color,color,box-shadow] hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/30",
|
|
885
888
|
inCurrentMonth ? "text-foreground" : "text-muted-foreground",
|
|
886
889
|
isToday && "bg-primary/10 text-primary shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--color-primary)_20%,transparent)]",
|
|
887
890
|
isSelected && "bg-primary text-primary-foreground hover:bg-primary"
|
|
@@ -900,7 +903,7 @@ var DatePicker = React2.forwardRef(
|
|
|
900
903
|
/* @__PURE__ */ jsx8(
|
|
901
904
|
"button",
|
|
902
905
|
{
|
|
903
|
-
className: "inline-flex min-h-8 items-center justify-center rounded-sm px-3 text-
|
|
906
|
+
className: "inline-flex min-h-8 items-center justify-center rounded-sm px-3 text-[13px] font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",
|
|
904
907
|
type: "button",
|
|
905
908
|
onClick: () => {
|
|
906
909
|
onValueChange?.("");
|
|
@@ -913,7 +916,7 @@ var DatePicker = React2.forwardRef(
|
|
|
913
916
|
/* @__PURE__ */ jsx8(
|
|
914
917
|
"button",
|
|
915
918
|
{
|
|
916
|
-
className: "inline-flex min-h-8 items-center justify-center rounded-sm bg-primary px-3 text-
|
|
919
|
+
className: "inline-flex min-h-8 items-center justify-center rounded-sm bg-primary px-3 text-[13px] font-medium text-primary-foreground transition-opacity hover:opacity-90",
|
|
917
920
|
type: "button",
|
|
918
921
|
onClick: () => selectDate(today),
|
|
919
922
|
children: resolvedLabels.today
|
|
@@ -986,7 +989,7 @@ function DrawerContent({
|
|
|
986
989
|
{
|
|
987
990
|
"data-slot": "drawer-content",
|
|
988
991
|
className: cn(
|
|
989
|
-
"group/drawer-content fixed flex h-auto flex-col border-[var(--border-1)] bg-background-fronted text-
|
|
992
|
+
"group/drawer-content fixed flex h-auto flex-col border-[var(--border-1)] bg-background-fronted text-[13px] text-foreground shadow-panel outline-none",
|
|
990
993
|
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t",
|
|
991
994
|
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
|
|
992
995
|
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
@@ -1035,7 +1038,7 @@ function DrawerTitle({
|
|
|
1035
1038
|
{
|
|
1036
1039
|
"data-slot": "drawer-title",
|
|
1037
1040
|
className: cn(
|
|
1038
|
-
"text-
|
|
1041
|
+
"text-[15px] font-medium leading-[1.35] text-foreground",
|
|
1039
1042
|
className
|
|
1040
1043
|
),
|
|
1041
1044
|
...props
|
|
@@ -1050,7 +1053,7 @@ function DrawerDescription({
|
|
|
1050
1053
|
DrawerPrimitive.Description,
|
|
1051
1054
|
{
|
|
1052
1055
|
"data-slot": "drawer-description",
|
|
1053
|
-
className: cn("text-
|
|
1056
|
+
className: cn("text-[13px] text-muted-foreground", className),
|
|
1054
1057
|
...props
|
|
1055
1058
|
}
|
|
1056
1059
|
);
|
|
@@ -1063,10 +1066,10 @@ import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
|
|
|
1063
1066
|
import * as React3 from "react";
|
|
1064
1067
|
import { Slot as Slot4 } from "radix-ui";
|
|
1065
1068
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1066
|
-
var menuSurfaceClassName = "t-dropdown flex flex-col gap-0.5 rounded-[8px] border border-[var(--border-1)] bg-[var(--background-fronted)] p-1 text-
|
|
1067
|
-
var menuItemClassName = "relative flex cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1 text-
|
|
1069
|
+
var menuSurfaceClassName = "t-dropdown flex flex-col gap-0.5 rounded-[8px] border border-[var(--border-1)] bg-[var(--background-fronted)] p-1 text-[13px] text-[var(--text-primary)] shadow-panel outline-none";
|
|
1070
|
+
var menuItemClassName = "relative flex cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1 text-[13px] text-[var(--text-primary)] outline-hidden transition-colors duration-200 select-none hover:bg-[var(--transparency-hover)] hover:text-[var(--text-primary)] focus:bg-[var(--transparency-hover)] focus:text-[var(--text-primary)] data-[highlighted]:bg-[var(--transparency-hover)] data-[highlighted]:text-[var(--text-primary)] data-disabled:pointer-events-none data-disabled:text-[var(--text-disabled)] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2";
|
|
1068
1071
|
var menuItemWithIndicatorClassName = `${menuItemClassName} pr-8`;
|
|
1069
|
-
var menuItemIndicatorClassName = "pointer-events-none absolute right-2 flex size-4 items-center justify-center text-[var(--
|
|
1072
|
+
var menuItemIndicatorClassName = "pointer-events-none absolute right-2 flex size-4 items-center justify-center text-[var(--tutti-purple)]";
|
|
1070
1073
|
var MenuSurface = React3.forwardRef(
|
|
1071
1074
|
({
|
|
1072
1075
|
asChild = false,
|
|
@@ -1203,7 +1206,7 @@ function DropdownMenuCheckboxItem({
|
|
|
1203
1206
|
{
|
|
1204
1207
|
className: menuItemIndicatorClassName,
|
|
1205
1208
|
"data-slot": "dropdown-menu-checkbox-item-indicator",
|
|
1206
|
-
children: /* @__PURE__ */ jsx11(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx11(CheckIcon, {}) })
|
|
1209
|
+
children: /* @__PURE__ */ jsx11(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx11(CheckIcon, { className: "text-[var(--tutti-purple)]" }) })
|
|
1207
1210
|
}
|
|
1208
1211
|
),
|
|
1209
1212
|
children
|
|
@@ -1247,7 +1250,7 @@ function DropdownMenuRadioItem({
|
|
|
1247
1250
|
{
|
|
1248
1251
|
className: menuItemIndicatorClassName,
|
|
1249
1252
|
"data-slot": "dropdown-menu-radio-item-indicator",
|
|
1250
|
-
children: /* @__PURE__ */ jsx11(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx11(CheckIcon, {}) })
|
|
1253
|
+
children: /* @__PURE__ */ jsx11(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx11(CheckIcon, { className: "text-[var(--tutti-purple)]" }) })
|
|
1251
1254
|
}
|
|
1252
1255
|
),
|
|
1253
1256
|
children
|
|
@@ -1266,7 +1269,7 @@ function DropdownMenuLabel({
|
|
|
1266
1269
|
"data-inset": inset,
|
|
1267
1270
|
"data-slot": "dropdown-menu-label",
|
|
1268
1271
|
className: cn(
|
|
1269
|
-
"px-1.5 py-1 text-
|
|
1272
|
+
"px-1.5 py-1 text-[11px] font-medium text-[var(--text-secondary)] data-inset:pl-7",
|
|
1270
1273
|
className
|
|
1271
1274
|
),
|
|
1272
1275
|
...props
|
|
@@ -1295,7 +1298,7 @@ function DropdownMenuShortcut({
|
|
|
1295
1298
|
{
|
|
1296
1299
|
"data-slot": "dropdown-menu-shortcut",
|
|
1297
1300
|
className: cn(
|
|
1298
|
-
"ml-auto text-
|
|
1301
|
+
"ml-auto text-[11px] tracking-widest text-[var(--text-secondary)] group-focus/dropdown-menu-item:text-[var(--text-primary)]",
|
|
1299
1302
|
className
|
|
1300
1303
|
),
|
|
1301
1304
|
...props
|
|
@@ -1362,10 +1365,10 @@ function DropdownMenuSubContent({
|
|
|
1362
1365
|
// src/components/input/input.tsx
|
|
1363
1366
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1364
1367
|
var inputVariantClassNames = {
|
|
1365
|
-
default: "h-8 rounded-[6px] px-3 py-0 text-
|
|
1366
|
-
lg: "h-12 rounded-[8px] px-4 py-3 text-
|
|
1367
|
-
md: "h-8 rounded-[6px] px-3 py-0 text-
|
|
1368
|
-
sm: "h-8 rounded-[6px] px-3 py-0 text-
|
|
1368
|
+
default: "h-8 rounded-[6px] px-3 py-0 text-[13px] leading-[1.3]",
|
|
1369
|
+
lg: "h-12 rounded-[8px] px-4 py-3 text-[15px] leading-[1.3]",
|
|
1370
|
+
md: "h-8 rounded-[6px] px-3 py-0 text-[13px] leading-[1.3]",
|
|
1371
|
+
sm: "h-8 rounded-[6px] px-3 py-0 text-[13px] leading-[1.3]",
|
|
1369
1372
|
otp: "h-12 w-12 rounded-[4px] px-0 text-center text-xl font-medium sm:h-14 sm:w-14 sm:text-2xl"
|
|
1370
1373
|
};
|
|
1371
1374
|
function Input({
|
|
@@ -1384,9 +1387,9 @@ function Input({
|
|
|
1384
1387
|
"data-size": size,
|
|
1385
1388
|
"data-variant": resolvedVariant,
|
|
1386
1389
|
className: cn(
|
|
1387
|
-
"w-full min-w-0 border border-transparent bg-[var(--transparency-block)] font-normal text-[var(--text-primary)] shadow-none transition-colors duration-200 outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-
|
|
1390
|
+
"w-full min-w-0 border border-transparent bg-[var(--transparency-block)] font-normal text-[var(--text-primary)] shadow-none transition-colors duration-200 outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-[13px] file:font-medium file:text-[var(--text-primary)] placeholder:text-[var(--text-placeholder)] hover:bg-[var(--transparency-hover)] focus:bg-[var(--transparency-hover)] focus-visible:border-transparent focus-visible:bg-[var(--transparency-hover)] focus-visible:ring-0 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-disabled)] disabled:opacity-100 aria-invalid:border-[var(--state-danger)] aria-invalid:bg-[var(--transparency-block)] aria-invalid:hover:bg-[var(--transparency-hover)] aria-invalid:focus:bg-[var(--transparency-hover)] aria-invalid:focus-visible:bg-[var(--transparency-hover)] aria-invalid:ring-0 aria-invalid:shadow-none",
|
|
1388
1391
|
inputVariantClassNames[resolvedVariant],
|
|
1389
|
-
!variant && size === "sm" && "h-7 rounded-[4px] px-2 text-
|
|
1392
|
+
!variant && size === "sm" && "h-7 rounded-[4px] px-2 text-[11px]",
|
|
1390
1393
|
className
|
|
1391
1394
|
),
|
|
1392
1395
|
...props
|
|
@@ -1431,7 +1434,7 @@ function MentionPill({
|
|
|
1431
1434
|
"span",
|
|
1432
1435
|
{
|
|
1433
1436
|
className: cn(
|
|
1434
|
-
"group relative top-[3px] inline-flex max-w-full cursor-default items-center overflow-hidden rounded-[4px] border border-transparent bg-transparent py-0.5 align-baseline text-
|
|
1437
|
+
"group relative top-[3px] inline-flex max-w-full cursor-default items-center overflow-hidden rounded-[4px] border border-transparent bg-transparent py-0.5 align-baseline text-[13px] font-medium leading-5 no-underline transition-colors hover:border-transparent hover:bg-[color-mix(in_srgb,currentColor_12%,transparent)]",
|
|
1435
1438
|
isFile ? "gap-1.5 px-1.5" : "gap-1 px-1",
|
|
1436
1439
|
className
|
|
1437
1440
|
),
|
|
@@ -1540,7 +1543,7 @@ function PopoverContent({
|
|
|
1540
1543
|
align,
|
|
1541
1544
|
sideOffset,
|
|
1542
1545
|
className: cn(
|
|
1543
|
-
"t-dropdown z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg border border-[var(--border-1)] bg-[var(--background-fronted)] p-3 text-
|
|
1546
|
+
"t-dropdown z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg border border-[var(--border-1)] bg-[var(--background-fronted)] p-3 text-[13px] text-popover-foreground shadow-soft outline-hidden",
|
|
1544
1547
|
className
|
|
1545
1548
|
),
|
|
1546
1549
|
style: { zIndex: "var(--z-popover)" },
|
|
@@ -1750,7 +1753,7 @@ function SelectTrigger({
|
|
|
1750
1753
|
"data-size": size,
|
|
1751
1754
|
"data-variant": variant,
|
|
1752
1755
|
className: cn(
|
|
1753
|
-
variant === "button" ? buttonVariants({ variant: "default", size }) : "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-transparent bg-[var(--transparency-block)] py-2 pr-2 pl-2.5 text-
|
|
1756
|
+
variant === "button" ? buttonVariants({ variant: "default", size }) : "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-transparent bg-[var(--transparency-block)] py-2 pr-2 pl-2.5 text-[13px] text-[var(--text-primary)] whitespace-nowrap transition-colors outline-none select-none hover:bg-[var(--transparency-hover)] focus:bg-[var(--transparency-hover)] focus-visible:border-transparent focus-visible:bg-[var(--transparency-hover)] focus-visible:ring-0 disabled:cursor-not-allowed disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-disabled)] disabled:opacity-100 aria-invalid:border-[var(--state-danger)] aria-invalid:bg-[var(--transparency-block)] aria-invalid:hover:bg-[var(--transparency-hover)] aria-invalid:focus:bg-[var(--transparency-hover)] aria-invalid:focus-visible:bg-[var(--transparency-hover)] aria-invalid:ring-0 aria-invalid:shadow-none data-placeholder:text-[var(--text-placeholder)] data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1754
1757
|
"[&[data-state=open]>svg]:rotate-180 [&>svg]:transition-transform [&>svg]:duration-200",
|
|
1755
1758
|
className
|
|
1756
1759
|
),
|
|
@@ -1822,7 +1825,7 @@ function SelectLabel({
|
|
|
1822
1825
|
{
|
|
1823
1826
|
"data-slot": "select-label",
|
|
1824
1827
|
className: cn(
|
|
1825
|
-
"px-1.5 py-1 text-
|
|
1828
|
+
"px-1.5 py-1 text-[11px] font-normal text-[var(--text-secondary)]",
|
|
1826
1829
|
className
|
|
1827
1830
|
),
|
|
1828
1831
|
...props
|
|
@@ -1867,7 +1870,7 @@ function SelectSplitColumnLabel({
|
|
|
1867
1870
|
{
|
|
1868
1871
|
"data-slot": "select-split-column-label",
|
|
1869
1872
|
className: cn(
|
|
1870
|
-
"shrink-0 px-2 pt-1 pb-2 text-
|
|
1873
|
+
"shrink-0 px-2 pt-1 pb-2 text-[11px] font-normal leading-[18px] text-[var(--text-secondary)]",
|
|
1871
1874
|
className
|
|
1872
1875
|
),
|
|
1873
1876
|
...props
|
|
@@ -1923,10 +1926,10 @@ function SelectItem({
|
|
|
1923
1926
|
/* @__PURE__ */ jsx17("span", { className: menuItemIndicatorClassName, children: forceSelectedIndicator ? /* @__PURE__ */ jsx17(
|
|
1924
1927
|
CheckIcon,
|
|
1925
1928
|
{
|
|
1926
|
-
className: "pointer-events-none",
|
|
1929
|
+
className: "pointer-events-none text-[var(--tutti-purple)]",
|
|
1927
1930
|
"data-slot": "select-item-forced-indicator"
|
|
1928
1931
|
}
|
|
1929
|
-
) : /* @__PURE__ */ jsx17(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(CheckIcon, { className: "pointer-events-none" }) }) }),
|
|
1932
|
+
) : /* @__PURE__ */ jsx17(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(CheckIcon, { className: "pointer-events-none text-[var(--tutti-purple)]" }) }) }),
|
|
1930
1933
|
/* @__PURE__ */ jsx17(SelectPrimitive.ItemText, { children })
|
|
1931
1934
|
]
|
|
1932
1935
|
}
|
|
@@ -2103,10 +2106,10 @@ function Toaster({ toastOptions, style, ...props }) {
|
|
|
2103
2106
|
...toastOptions,
|
|
2104
2107
|
classNames: {
|
|
2105
2108
|
toast: "group pointer-events-auto min-h-14 rounded-[8px] border border-[var(--line-2)] bg-[var(--background-fronted)] px-3.5 py-3 text-[var(--text-primary)] shadow-[0_14px_40px_var(--shadow-elevated)]",
|
|
2106
|
-
title: "text-
|
|
2107
|
-
description: "mt-0.5 text-
|
|
2108
|
-
actionButton: "h-7 rounded-[6px] bg-[var(--text-primary)] px-2.5 text-
|
|
2109
|
-
cancelButton: "h-7 rounded-[6px] bg-[var(--transparency-block)] px-2.5 text-
|
|
2109
|
+
title: "text-[13px] font-semibold leading-5 text-[var(--text-primary)]",
|
|
2110
|
+
description: "mt-0.5 text-[11px] leading-5 text-[var(--text-secondary)]",
|
|
2111
|
+
actionButton: "h-7 rounded-[6px] bg-[var(--text-primary)] px-2.5 text-[11px] font-normal text-[var(--text-inverted)] transition-colors hover:bg-[var(--text-primary-hover)]",
|
|
2112
|
+
cancelButton: "h-7 rounded-[6px] bg-[var(--transparency-block)] px-2.5 text-[11px] font-normal text-[var(--text-primary)] transition-colors hover:bg-[var(--transparency-hover)]",
|
|
2110
2113
|
closeButton: "border-[var(--line-2)] bg-[var(--background-fronted)] text-[var(--text-secondary)] hover:bg-[var(--transparency-hover)] hover:text-[var(--text-primary)]",
|
|
2111
2114
|
icon: "text-[var(--accent)]",
|
|
2112
2115
|
...toastOptions?.classNames
|
|
@@ -2211,7 +2214,7 @@ function Switch({
|
|
|
2211
2214
|
"data-slot": "switch",
|
|
2212
2215
|
"data-size": size,
|
|
2213
2216
|
className: cn(
|
|
2214
|
-
"peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-[background-color,border-color,box-shadow] outline-none focus-visible:border-[var(--border-focus)] focus-visible:ring-2 focus-visible:ring-[color-mix(in_srgb,var(--border-focus)_30%,transparent)] aria-invalid:border-[var(--state-danger)] aria-invalid:ring-2 aria-invalid:ring-[color-mix(in_srgb,var(--state-danger)_20%,transparent)] data-[size=default]:h-[18px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] data-[state=checked]:bg-[var(--
|
|
2217
|
+
"peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-[background-color,border-color,box-shadow] outline-none focus-visible:border-[var(--border-focus)] focus-visible:ring-2 focus-visible:ring-[color-mix(in_srgb,var(--border-focus)_30%,transparent)] aria-invalid:border-[var(--state-danger)] aria-invalid:ring-2 aria-invalid:ring-[color-mix(in_srgb,var(--state-danger)_20%,transparent)] data-[size=default]:h-[18px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] data-[state=checked]:bg-[var(--tutti-purple)] data-[state=unchecked]:bg-[var(--text-disabled)] data-disabled:cursor-not-allowed data-disabled:opacity-100",
|
|
2215
2218
|
className
|
|
2216
2219
|
),
|
|
2217
2220
|
...props,
|
|
@@ -2234,7 +2237,7 @@ function Textarea({ className, ...props }) {
|
|
|
2234
2237
|
{
|
|
2235
2238
|
"data-slot": "textarea",
|
|
2236
2239
|
className: cn(
|
|
2237
|
-
"flex field-sizing-content min-h-20 w-full rounded-[6px] border border-transparent bg-[var(--transparency-block)] px-3 py-3 text-
|
|
2240
|
+
"flex field-sizing-content min-h-20 w-full rounded-[6px] border border-transparent bg-[var(--transparency-block)] px-3 py-3 text-[13px] font-normal leading-[1.3] text-[var(--text-primary)] transition-[background-color,border-color,color] outline-none shadow-none placeholder:text-[var(--text-placeholder)] hover:bg-[var(--transparency-hover)] focus:bg-[var(--transparency-hover)] focus-visible:border-transparent focus-visible:bg-[var(--transparency-hover)] focus-visible:ring-0 disabled:cursor-not-allowed disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-disabled)] disabled:opacity-100 aria-invalid:border-[var(--state-danger)] aria-invalid:bg-[var(--transparency-block)] aria-invalid:hover:bg-[var(--transparency-hover)] aria-invalid:focus:bg-[var(--transparency-hover)] aria-invalid:focus-visible:bg-[var(--transparency-hover)] aria-invalid:ring-0 aria-invalid:shadow-none",
|
|
2238
2241
|
className
|
|
2239
2242
|
),
|
|
2240
2243
|
...props
|
|
@@ -2285,7 +2288,7 @@ function formatToastText(children) {
|
|
|
2285
2288
|
return children;
|
|
2286
2289
|
}
|
|
2287
2290
|
var toastVariants = cva5(
|
|
2288
|
-
"group pointer-events-auto relative flex min-h-8 min-w-0 max-w-[min(92vw,420px)] items-center justify-center rounded-[8px] px-3 py-1.5 text-center text-
|
|
2291
|
+
"group pointer-events-auto relative flex min-h-8 min-w-0 max-w-[min(92vw,420px)] items-center justify-center rounded-[8px] px-3 py-1.5 text-center text-[13px] font-normal leading-normal shadow-none transition-all data-closed:fade-out-80 data-closed:slide-out-to-top-full data-open:slide-in-from-top-full data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none",
|
|
2289
2292
|
{
|
|
2290
2293
|
variants: {
|
|
2291
2294
|
variant: {
|
|
@@ -2343,7 +2346,7 @@ function ToastTitle({
|
|
|
2343
2346
|
{
|
|
2344
2347
|
"data-slot": "toast-title",
|
|
2345
2348
|
className: cn(
|
|
2346
|
-
"inline-flex max-w-full items-center justify-center gap-[6px] text-center text-
|
|
2349
|
+
"inline-flex max-w-full items-center justify-center gap-[6px] text-center text-[13px] font-normal leading-normal",
|
|
2347
2350
|
className
|
|
2348
2351
|
),
|
|
2349
2352
|
...props,
|
|
@@ -2371,7 +2374,7 @@ function ToastDescription({
|
|
|
2371
2374
|
{
|
|
2372
2375
|
"data-slot": "toast-description",
|
|
2373
2376
|
className: cn(
|
|
2374
|
-
"box-border w-full px-2 text-
|
|
2377
|
+
"box-border w-full px-2 text-[11px] font-normal leading-[1.3] text-current opacity-75 [overflow-wrap:anywhere]",
|
|
2375
2378
|
className
|
|
2376
2379
|
),
|
|
2377
2380
|
...props
|
|
@@ -2458,7 +2461,7 @@ function TooltipContent({
|
|
|
2458
2461
|
"data-slot": "tooltip-content",
|
|
2459
2462
|
sideOffset,
|
|
2460
2463
|
className: cn(
|
|
2461
|
-
"inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-2 rounded-md border border-[var(--border-1)] bg-[var(--background-fronted)] px-2 py-1 text-
|
|
2464
|
+
"inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-2 rounded-md border border-[var(--border-1)] bg-[var(--background-fronted)] px-2 py-1 text-[13px] leading-[1.3] text-popover-foreground shadow-soft outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
2462
2465
|
className
|
|
2463
2466
|
),
|
|
2464
2467
|
style: { zIndex: "var(--z-tooltip, 100700)", ...style },
|
|
@@ -2600,7 +2603,7 @@ function UnderlineTabs({
|
|
|
2600
2603
|
"aria-selected": isActive,
|
|
2601
2604
|
className: cn(
|
|
2602
2605
|
"relative inline-flex h-6 shrink-0 items-center gap-1.5 whitespace-nowrap border-0 bg-transparent p-0 text-[13px] font-semibold leading-6 text-[var(--text-secondary)] transition-colors hover:text-[var(--text-primary)] focus-visible:outline-none",
|
|
2603
|
-
isActive && "text-[var(--
|
|
2606
|
+
isActive && "text-[var(--tutti-purple)]"
|
|
2604
2607
|
),
|
|
2605
2608
|
"data-active": isActive ? "true" : "false",
|
|
2606
2609
|
"data-slot": "underline-tabs-tab",
|
|
@@ -2611,7 +2614,7 @@ function UnderlineTabs({
|
|
|
2611
2614
|
onMouseDown: preventMouseDownDefault ? (event) => event.preventDefault() : void 0,
|
|
2612
2615
|
children: [
|
|
2613
2616
|
/* @__PURE__ */ jsx28("span", { children: tab.label }),
|
|
2614
|
-
tab.count !== void 0 ? /* @__PURE__ */ jsx28("span", { className: "text-
|
|
2617
|
+
tab.count !== void 0 ? /* @__PURE__ */ jsx28("span", { className: "text-[11px] font-semibold leading-6 text-[inherit]", children: tab.count }) : null
|
|
2615
2618
|
]
|
|
2616
2619
|
},
|
|
2617
2620
|
tab.value
|
|
@@ -2621,7 +2624,7 @@ function UnderlineTabs({
|
|
|
2621
2624
|
"div",
|
|
2622
2625
|
{
|
|
2623
2626
|
"aria-hidden": true,
|
|
2624
|
-
className: "absolute bottom-0 left-0 z-[1] h-0.5 rounded-[1px] bg-[var(--
|
|
2627
|
+
className: "absolute bottom-0 left-0 z-[1] h-0.5 rounded-[1px] bg-[var(--tutti-purple)] transition-[transform,width] duration-[220ms] ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",
|
|
2625
2628
|
"data-slot": "underline-tabs-indicator",
|
|
2626
2629
|
style: {
|
|
2627
2630
|
transform: `translateX(${indicatorStyle.left}px)`,
|
|
@@ -3075,4 +3078,4 @@ export {
|
|
|
3075
3078
|
UnderlineTabs,
|
|
3076
3079
|
ViewportMenuSurface
|
|
3077
3080
|
};
|
|
3078
|
-
//# sourceMappingURL=chunk-
|
|
3081
|
+
//# sourceMappingURL=chunk-XXE3UZ55.js.map
|