@clasing/ui 2.1.1 → 2.3.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/dist/button-BT7pXfhd.cjs +1 -0
- package/dist/{button-CUrfGF3Y.js → button-D6LWWLE8.js} +55 -55
- package/dist/components/alert-dialog.cjs.js +1 -1
- package/dist/components/alert-dialog.es.js +1 -1
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.d.ts +9 -2
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs.js +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/input.cjs.js +1 -1
- package/dist/components/input.es.js +1 -1
- package/dist/components/phone-input.cjs.js +1 -1
- package/dist/components/phone-input.es.js +1 -1
- package/dist/{input-C144z_Is.cjs → input-DeItm2eC.cjs} +1 -1
- package/dist/{input-fvzEG6zH.js → input-DjbpoQwv.js} +1 -1
- package/dist/ui.css +80 -34
- package/package.json +352 -352
- package/dist/button-B4yT3Gcz.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./index-9HRzXEQf.cjs"),k=require("@phosphor-icons/react"),T=require("@radix-ui/react-slot"),g=require("./index-ECyCsPX0.cjs"),q=require("react"),e=require("./tooltip-BccdAn4x.cjs"),x="focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] relative flex items-center justify-center outline-1 transition-[color,background-color,box-shadow] [&_svg]:shrink-0",c=g.cva(x,{variants:{variant:{primary:["bg-primary-600 lg:hover:bg-primary-800 text-white outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],secondary:["bg-black text-white outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 lg:hover:bg-neutral-900 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],inverse:["lg:hover:bg-neutral-000 bg-white text-black outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],outline:["text-primary-600 outline-primary-600 lg:hover:bg-primary-050 bg-white disabled:bg-neutral-100 disabled:text-neutral-700 disabled:outline-transparent disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],ghost:["bg-primary-050 text-primary-600 lg:hover:bg-primary-100 outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],destructive:["bg-error-light text-error-main outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"],link:["text-primary-600 lg:hover:bg-primary-050 bg-transparent outline-transparent disabled:bg-neutral-100 disabled:text-neutral-700 disabled:lg:hover:bg-neutral-100 disabled:lg:hover:text-neutral-700"]},size:{xl:"button-text-lg h-12 gap-2 px-6 py-1 leading-[100%] [&_svg]:size-5",lg:"button-text-md h-10 gap-2 px-5 py-1 leading-[100%] [&_svg]:size-4",md:"button-text-sm h-8 gap-1.5 px-4 py-1 leading-[100%] [&_svg]:size-3.5",sm:"button-text-sm h-7 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5",xs:"button-text-sm h-6 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5"},rounded:{default:"rounded-2xl",full:"rounded-full"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{variant:"primary",size:"xl",weight:"semibold",rounded:"full"}}),v=g.cva(`${x} cursor-default`,{variants:{variant:{primary:["bg-primary-800 text-white outline-transparent"],secondary:["bg-neutral-900 text-white outline-transparent"],inverse:["bg-neutral-000 text-black outline-transparent"],ghost:["bg-primary-100 text-primary-600 outline-transparent"],outline:["bg-primary-100 text-primary-600 outline-primary-600"],destructive:["bg-error-light text-error-main outline-transparent"],link:["bg-primary-050 text-primary-600 outline-transparent"]},size:{xl:"button-text-lg h-12 gap-2 px-6 py-1 leading-[100%] [&_svg]:size-5",lg:"button-text-md h-10 gap-2 px-5 py-1 leading-[100%] [&_svg]:size-4",md:"button-text-sm h-8 gap-1.5 px-4 py-1 leading-[100%] [&_svg]:size-3.5",sm:"button-text-sm h-7 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5",xs:"button-text-sm h-6 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5"},rounded:{default:"rounded-2xl",full:"rounded-full"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{variant:"primary",size:"xl",weight:"semibold",rounded:"full"}}),y=g.cva(x,{variants:{variant:{primary:["bg-primary-800 text-white outline-transparent"],secondary:["bg-neutral-900 text-white outline-transparent"],inverse:["bg-neutral-000 text-black outline-transparent"],ghost:["bg-primary-100 text-primary-600 outline-transparent"],outline:["bg-primary-100 text-primary-600 outline-primary-600"],destructive:["bg-error-light text-error-main outline-transparent"],link:["bg-primary-050 text-primary-600 outline-transparent"]},size:{xl:"button-text-lg h-12 gap-2 px-6 leading-[100%] [&_svg]:size-5",lg:"button-text-md h-10 gap-2 px-5 leading-[100%] [&_svg]:size-4",md:"button-text-sm h-8 gap-1.5 px-4 leading-[100%] [&_svg]:size-3.5",sm:"button-text-sm h-7 gap-1 px-3 leading-[100%] [&_svg]:size-3.5",xs:"button-text-sm h-6 gap-1 px-3 leading-[100%] [&_svg]:size-3.5"},rounded:{default:"rounded-2xl",full:"rounded-full"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{variant:"primary",size:"xl",weight:"semibold",rounded:"full"}}),f=q.forwardRef(({className:s,variant:o,size:n,weight:u,rounded:d,children:p,isLoading:r,isActive:j,disabled:b,tooltip:l,tooltipPlacement:m="top",asChild:h,iconOnly:i,...w},z)=>{const R=h?T.Slot:"button",_=i?{xl:"w-12 px-0",lg:"w-10 px-0",md:"w-8 px-0",sm:"w-7 px-0",xs:"w-6 px-0"}[n||"xl"]:"",E=t.cn(r?v({variant:o,weight:u,size:n,rounded:d,className:s}):j?y({variant:o,weight:u,size:n,rounded:d,className:s}):c({variant:o,weight:u,size:n,rounded:d,className:s}),_),S=h?p:t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[r&&t.jsxRuntimeExports.jsx(k.SpinnerIcon,{className:t.cn("pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",{"visible animate-spin opacity-100":r})}),t.jsxRuntimeExports.jsx("span",{className:t.cn("flex items-center justify-center gap-2",r?"invisible opacity-0":"visible opacity-100"),children:p})]}),a=t.jsxRuntimeExports.jsx(R,{ref:z,className:E,disabled:b||r,...w,children:S});return l&&(b||r)?t.jsxRuntimeExports.jsx(e.TooltipProvider,{children:t.jsxRuntimeExports.jsxs(e.Tooltip,{children:[t.jsxRuntimeExports.jsx(e.TooltipTrigger,{asChild:i,children:i?t.jsxRuntimeExports.jsx("div",{className:"inline-block","aria-disabled":"true",children:a}):a}),t.jsxRuntimeExports.jsx(e.TooltipContent,{side:m,className:"text-muted-foreground",children:l})]})}):l?t.jsxRuntimeExports.jsx(e.TooltipProvider,{children:t.jsxRuntimeExports.jsxs(e.Tooltip,{children:[t.jsxRuntimeExports.jsx(e.TooltipTrigger,{asChild:i,children:a}),t.jsxRuntimeExports.jsx(e.TooltipContent,{side:m,className:"text-muted-foreground",children:l})]})}):a});f.displayName="Button";exports.Button=f;exports.buttonActiveStyles=y;exports.buttonLoadingStyles=v;exports.buttonStyles=c;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as g, j as
|
|
1
|
+
import { c as g, j as t } from "./index-D5lmpham.js";
|
|
2
2
|
import { SpinnerIcon as T } from "@phosphor-icons/react";
|
|
3
3
|
import { Slot as B } from "@radix-ui/react-slot";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as u } from "./index-DN28Pf0m.js";
|
|
5
5
|
import C from "react";
|
|
6
6
|
import { b as v, T as c, c as y, a as f } from "./tooltip-rv-jVOxy.js";
|
|
7
|
-
const
|
|
7
|
+
const b = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] relative flex items-center justify-center outline-1 transition-[color,background-color,box-shadow] [&_svg]:shrink-0", R = u(b, {
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
10
|
// Variantes de botón sólido
|
|
@@ -31,11 +31,11 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
size: {
|
|
34
|
-
xl: "
|
|
35
|
-
lg: "
|
|
36
|
-
md: "
|
|
37
|
-
sm: "
|
|
38
|
-
xs: "
|
|
34
|
+
xl: "button-text-lg h-12 gap-2 px-6 py-1 leading-[100%] [&_svg]:size-5",
|
|
35
|
+
lg: "button-text-md h-10 gap-2 px-5 py-1 leading-[100%] [&_svg]:size-4",
|
|
36
|
+
md: "button-text-sm h-8 gap-1.5 px-4 py-1 leading-[100%] [&_svg]:size-3.5",
|
|
37
|
+
sm: "button-text-sm h-7 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5",
|
|
38
|
+
xs: "button-text-sm h-6 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5"
|
|
39
39
|
},
|
|
40
40
|
rounded: {
|
|
41
41
|
default: "rounded-2xl",
|
|
@@ -54,7 +54,7 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
54
54
|
weight: "semibold",
|
|
55
55
|
rounded: "full"
|
|
56
56
|
}
|
|
57
|
-
}), V =
|
|
57
|
+
}), V = u(`${b} cursor-default`, {
|
|
58
58
|
variants: {
|
|
59
59
|
variant: {
|
|
60
60
|
primary: ["bg-primary-800 text-white outline-transparent"],
|
|
@@ -66,11 +66,11 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
66
66
|
link: ["bg-primary-050 text-primary-600 outline-transparent"]
|
|
67
67
|
},
|
|
68
68
|
size: {
|
|
69
|
-
xl: "
|
|
70
|
-
lg: "
|
|
71
|
-
md: "
|
|
72
|
-
sm: "
|
|
73
|
-
xs: "
|
|
69
|
+
xl: "button-text-lg h-12 gap-2 px-6 py-1 leading-[100%] [&_svg]:size-5",
|
|
70
|
+
lg: "button-text-md h-10 gap-2 px-5 py-1 leading-[100%] [&_svg]:size-4",
|
|
71
|
+
md: "button-text-sm h-8 gap-1.5 px-4 py-1 leading-[100%] [&_svg]:size-3.5",
|
|
72
|
+
sm: "button-text-sm h-7 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5",
|
|
73
|
+
xs: "button-text-sm h-6 gap-1 px-3 py-1 leading-[100%] [&_svg]:size-3.5"
|
|
74
74
|
},
|
|
75
75
|
rounded: {
|
|
76
76
|
default: "rounded-2xl",
|
|
@@ -89,7 +89,7 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
89
89
|
weight: "semibold",
|
|
90
90
|
rounded: "full"
|
|
91
91
|
}
|
|
92
|
-
}), A =
|
|
92
|
+
}), A = u(b, {
|
|
93
93
|
variants: {
|
|
94
94
|
variant: {
|
|
95
95
|
primary: ["bg-primary-800 text-white outline-transparent"],
|
|
@@ -101,11 +101,11 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
101
101
|
link: ["bg-primary-050 text-primary-600 outline-transparent"]
|
|
102
102
|
},
|
|
103
103
|
size: {
|
|
104
|
-
xl: "
|
|
105
|
-
lg: "
|
|
106
|
-
md: "
|
|
107
|
-
sm: "
|
|
108
|
-
xs: "
|
|
104
|
+
xl: "button-text-lg h-12 gap-2 px-6 leading-[100%] [&_svg]:size-5",
|
|
105
|
+
lg: "button-text-md h-10 gap-2 px-5 leading-[100%] [&_svg]:size-4",
|
|
106
|
+
md: "button-text-sm h-8 gap-1.5 px-4 leading-[100%] [&_svg]:size-3.5",
|
|
107
|
+
sm: "button-text-sm h-7 gap-1 px-3 leading-[100%] [&_svg]:size-3.5",
|
|
108
|
+
xs: "button-text-sm h-6 gap-1 px-3 leading-[100%] [&_svg]:size-3.5"
|
|
109
109
|
},
|
|
110
110
|
rounded: {
|
|
111
111
|
default: "rounded-2xl",
|
|
@@ -126,101 +126,101 @@ const u = "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ri
|
|
|
126
126
|
}
|
|
127
127
|
}), E = C.forwardRef(
|
|
128
128
|
({
|
|
129
|
-
className:
|
|
130
|
-
variant:
|
|
129
|
+
className: i,
|
|
130
|
+
variant: s,
|
|
131
131
|
size: r,
|
|
132
132
|
weight: o,
|
|
133
|
-
rounded:
|
|
134
|
-
children:
|
|
135
|
-
isLoading:
|
|
133
|
+
rounded: d,
|
|
134
|
+
children: p,
|
|
135
|
+
isLoading: e,
|
|
136
136
|
isActive: w,
|
|
137
137
|
disabled: x,
|
|
138
138
|
tooltip: a,
|
|
139
|
-
tooltipPlacement:
|
|
140
|
-
asChild:
|
|
139
|
+
tooltipPlacement: m = "top",
|
|
140
|
+
asChild: h,
|
|
141
141
|
iconOnly: l,
|
|
142
142
|
...z
|
|
143
143
|
}, _) => {
|
|
144
|
-
const j =
|
|
144
|
+
const j = h ? B : "button", k = l ? {
|
|
145
145
|
xl: "w-12 px-0",
|
|
146
146
|
lg: "w-10 px-0",
|
|
147
147
|
md: "w-8 px-0",
|
|
148
148
|
sm: "w-7 px-0",
|
|
149
149
|
xs: "w-6 px-0"
|
|
150
150
|
}[r || "xl"] : "", S = g(
|
|
151
|
-
|
|
152
|
-
variant:
|
|
151
|
+
e ? V({
|
|
152
|
+
variant: s,
|
|
153
153
|
weight: o,
|
|
154
154
|
size: r,
|
|
155
|
-
rounded:
|
|
156
|
-
className:
|
|
155
|
+
rounded: d,
|
|
156
|
+
className: i
|
|
157
157
|
}) : w ? A({
|
|
158
|
-
variant:
|
|
158
|
+
variant: s,
|
|
159
159
|
weight: o,
|
|
160
160
|
size: r,
|
|
161
|
-
rounded:
|
|
162
|
-
className:
|
|
161
|
+
rounded: d,
|
|
162
|
+
className: i
|
|
163
163
|
}) : R({
|
|
164
|
-
variant:
|
|
164
|
+
variant: s,
|
|
165
165
|
weight: o,
|
|
166
166
|
size: r,
|
|
167
|
-
rounded:
|
|
168
|
-
className:
|
|
167
|
+
rounded: d,
|
|
168
|
+
className: i
|
|
169
169
|
}),
|
|
170
170
|
k
|
|
171
|
-
), N =
|
|
172
|
-
|
|
171
|
+
), N = h ? p : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
172
|
+
e && /* @__PURE__ */ t.jsx(
|
|
173
173
|
T,
|
|
174
174
|
{
|
|
175
175
|
className: g(
|
|
176
176
|
"pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
177
177
|
{
|
|
178
|
-
"visible animate-spin opacity-100":
|
|
178
|
+
"visible animate-spin opacity-100": e
|
|
179
179
|
}
|
|
180
180
|
)
|
|
181
181
|
}
|
|
182
182
|
),
|
|
183
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ t.jsx(
|
|
184
184
|
"span",
|
|
185
185
|
{
|
|
186
186
|
className: g(
|
|
187
187
|
"flex items-center justify-center gap-2",
|
|
188
|
-
|
|
188
|
+
e ? "invisible opacity-0" : "visible opacity-100"
|
|
189
189
|
),
|
|
190
|
-
children:
|
|
190
|
+
children: p
|
|
191
191
|
}
|
|
192
192
|
)
|
|
193
|
-
] }),
|
|
193
|
+
] }), n = /* @__PURE__ */ t.jsx(
|
|
194
194
|
j,
|
|
195
195
|
{
|
|
196
196
|
ref: _,
|
|
197
197
|
className: S,
|
|
198
|
-
disabled: x ||
|
|
198
|
+
disabled: x || e,
|
|
199
199
|
...z,
|
|
200
200
|
children: N
|
|
201
201
|
}
|
|
202
202
|
);
|
|
203
|
-
return a && (x ||
|
|
204
|
-
/* @__PURE__ */
|
|
205
|
-
/* @__PURE__ */
|
|
203
|
+
return a && (x || e) ? /* @__PURE__ */ t.jsx(v, { children: /* @__PURE__ */ t.jsxs(c, { children: [
|
|
204
|
+
/* @__PURE__ */ t.jsx(y, { asChild: l, children: l ? /* @__PURE__ */ t.jsx("div", { className: "inline-block", "aria-disabled": "true", children: n }) : n }),
|
|
205
|
+
/* @__PURE__ */ t.jsx(
|
|
206
206
|
f,
|
|
207
207
|
{
|
|
208
|
-
side:
|
|
208
|
+
side: m,
|
|
209
209
|
className: "text-muted-foreground",
|
|
210
210
|
children: a
|
|
211
211
|
}
|
|
212
212
|
)
|
|
213
|
-
] }) }) : a ? /* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
213
|
+
] }) }) : a ? /* @__PURE__ */ t.jsx(v, { children: /* @__PURE__ */ t.jsxs(c, { children: [
|
|
214
|
+
/* @__PURE__ */ t.jsx(y, { asChild: l, children: n }),
|
|
215
|
+
/* @__PURE__ */ t.jsx(
|
|
216
216
|
f,
|
|
217
217
|
{
|
|
218
|
-
side:
|
|
218
|
+
side: m,
|
|
219
219
|
className: "text-muted-foreground",
|
|
220
220
|
children: a
|
|
221
221
|
}
|
|
222
222
|
)
|
|
223
|
-
] }) }) :
|
|
223
|
+
] }) }) : n;
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
226
|
E.displayName = "Button";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),c=require("@radix-ui/react-alert-dialog"),n=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),c=require("@radix-ui/react-alert-dialog"),n=require("../button-BT7pXfhd.cjs");function u(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(a,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return a.default=t,Object.freeze(a)}const o=u(c);function d({...t}){return e.jsxRuntimeExports.jsx(o.Root,{"data-slot":"alert-dialog",...t})}function g({...t}){return e.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"alert-dialog-trigger",...t})}function i({...t}){return e.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"alert-dialog-portal",...t})}function s({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"alert-dialog-overlay",className:e.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function x({className:t,...a}){return e.jsxRuntimeExports.jsxs(i,{children:[e.jsxRuntimeExports.jsx(s,{}),e.jsxRuntimeExports.jsx(o.Content,{"data-slot":"alert-dialog-content",className:e.cn("bg-background 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-90 data-[state=open]:zoom-in-90 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 ease-in-out sm:max-w-lg",t),...a})]})}function m({className:t,...a}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-dialog-header",className:e.cn("flex flex-col gap-2 text-left",t),...a})}function f({className:t,...a}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-dialog-footer",className:e.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function p({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Title,{"data-slot":"alert-dialog-title",className:e.cn("label-2xl font-semibold",t),...a})}function j({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Description,{"data-slot":"alert-dialog-description",className:e.cn("text-muted-foreground paragraph-md",t),...a})}function D({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Action,{className:e.cn(n.buttonStyles(),t),...a})}function A({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Cancel,{className:e.cn(n.buttonStyles({variant:"outline"}),t),...a})}exports.AlertDialog=d;exports.AlertDialogAction=D;exports.AlertDialogCancel=A;exports.AlertDialogContent=x;exports.AlertDialogDescription=j;exports.AlertDialogFooter=f;exports.AlertDialogHeader=m;exports.AlertDialogOverlay=s;exports.AlertDialogPortal=i;exports.AlertDialogTitle=p;exports.AlertDialogTrigger=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-BT7pXfhd.cjs");exports.Button=t.Button;exports.buttonActiveStyles=t.buttonActiveStyles;exports.buttonLoadingStyles=t.buttonLoadingStyles;exports.buttonStyles=t.buttonStyles;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
asChild?: boolean;
|
|
3
|
+
interface ButtonBaseProps extends VariantProps<typeof buttonStyles> {
|
|
5
4
|
iconOnly?: boolean;
|
|
6
5
|
isLoading?: boolean;
|
|
7
6
|
isActive?: boolean;
|
|
8
7
|
tooltip?: React.ReactNode;
|
|
9
8
|
tooltipPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
10
9
|
}
|
|
10
|
+
interface ButtonAsChildProps extends ButtonBaseProps, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
11
|
+
asChild: true;
|
|
12
|
+
children: React.ReactElement;
|
|
13
|
+
}
|
|
14
|
+
interface ButtonDefaultProps extends ButtonBaseProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
15
|
+
asChild?: false;
|
|
16
|
+
}
|
|
17
|
+
export type IButtonProps = ButtonAsChildProps | ButtonDefaultProps;
|
|
11
18
|
declare const buttonStyles: (props?: ({
|
|
12
19
|
variant?: "link" | "primary" | "secondary" | "inverse" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
13
20
|
size?: "xl" | "lg" | "md" | "sm" | "xs" | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),b=require("react"),g=require("react-day-picker"),m=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),b=require("react"),g=require("react-day-picker"),m=require("../button-BT7pXfhd.cjs"),i=require("@phosphor-icons/react");function y(n){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const d=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(a,r,d.get?d:{enumerable:!0,get:()=>n[r]})}}return a.default=n,Object.freeze(a)}const f=y(b);function h({className:n,classNames:a,showOutsideDays:r=!0,captionLayout:d="label",buttonVariant:c="inverse",formatters:l,components:p,...x}){const t=g.getDefaultClassNames();return e.jsxRuntimeExports.jsx(g.DayPicker,{showOutsideDays:r,className:e.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,n),captionLayout:d,formatters:{formatMonthDropdown:o=>o.toLocaleString("default",{month:"short"}),...l},classNames:{root:e.cn("w-fit",t.root),months:e.cn("flex gap-4 flex-col md:flex-row relative",t.months),month:e.cn("flex flex-col w-full gap-4",t.month),nav:e.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",t.nav),button_previous:e.cn(m.buttonStyles({size:"sm",variant:c}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",t.button_previous),button_next:e.cn(m.buttonStyles({size:"sm",variant:c}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",t.button_next),month_caption:e.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",t.month_caption),dropdowns:e.cn("w-full flex items-center paragraph-sm font-medium justify-center h-(--cell-size) gap-1.5",t.dropdowns),dropdown_root:e.cn("relative has-focus:border-ring border border-input has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",t.dropdown_root),dropdown:e.cn("absolute bg-popover inset-0 opacity-0",t.dropdown),caption_label:e.cn("select-none font-medium",d==="label"?"paragraph-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 paragraph-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",t.caption_label),table:"w-full border-collapse",weekdays:e.cn("flex",t.weekdays),weekday:e.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",t.weekday),week:e.cn("flex w-full mt-2",t.week),week_number_header:e.cn("select-none w-(--cell-size)",t.week_number_header),week_number:e.cn("text-[0.8rem] select-none text-muted-foreground",t.week_number),day:e.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",t.day),range_start:e.cn("rounded-l-md bg-accent",t.range_start),range_middle:e.cn("rounded-none",t.range_middle),range_end:e.cn("rounded-r-md bg-accent",t.range_end),today:e.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",t.today),outside:e.cn("text-muted-foreground aria-selected:text-muted-foreground",t.outside),disabled:e.cn("text-muted-foreground opacity-50",t.disabled),hidden:e.cn("invisible",t.hidden),...a},components:{Root:({className:o,rootRef:s,...u})=>e.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:s,className:e.cn(o),...u}),Chevron:({className:o,orientation:s,...u})=>s==="left"?e.jsxRuntimeExports.jsx(i.CaretLeftIcon,{...u}):s==="right"?e.jsxRuntimeExports.jsx(i.CaretRightIcon,{...u}):e.jsxRuntimeExports.jsx(i.CaretDownIcon,{...u}),DayButton:_,WeekNumber:({children:o,...s})=>e.jsxRuntimeExports.jsx("td",{...s,children:e.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:o})}),...p},...x})}function _({className:n,day:a,modifiers:r,...d}){const c=g.getDefaultClassNames(),l=f.useRef(null);return f.useEffect(()=>{r.focused&&l.current?.focus()},[r.focused]),e.jsxRuntimeExports.jsx(m.Button,{ref:l,variant:"inverse",size:"xs","data-day":a.date.toLocaleDateString(),"data-selected-single":r.selected&&!r.range_start&&!r.range_end&&!r.range_middle,"data-range-start":r.range_start,"data-range-end":r.range_end,"data-range-middle":r.range_middle,className:e.cn("data-[selected-single=true]:bg-secondary data-[selected-single=true]:text-secondary-foreground data-[range-middle=true]:bg-blue-050 data-[range-start=true]:bg-secondary data-[range-start=true]:text-secondary-foreground data-[range-end=true]:bg-secondary data-[range-end=true]:text-secondary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground data-[selected-single=true]:hover:bg-secondary/80 data-[selected-single=true]:hover:text-secondary-foreground data-[range-start=true]:hover:bg-secondary/80 data-[range-end=true]:hover:bg-secondary/80 [&>span]:paragraph-xs flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 rounded-md p-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-middle=true]:text-blue-800 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:opacity-70",c.day,n),...d})}exports.Calendar=h;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as r, c as e } from "../index-D5lmpham.js";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { getDefaultClassNames as f, DayPicker as b } from "react-day-picker";
|
|
4
|
-
import { c as m, B as y } from "../button-
|
|
4
|
+
import { c as m, B as y } from "../button-D6LWWLE8.js";
|
|
5
5
|
import { CaretLeftIcon as h, CaretRightIcon as w, CaretDownIcon as _ } from "@phosphor-icons/react";
|
|
6
6
|
function C({
|
|
7
7
|
className: c,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../input-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../input-DeItm2eC.cjs");exports.Input=t.Input;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),c=require("../command-CrtCQpi_.cjs"),N=require("../input-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),c=require("../command-CrtCQpi_.cjs"),N=require("../input-DeItm2eC.cjs"),x=require("../popover-CeOAAwBQ.cjs"),S=require("../scroll-area-D74XszlE.cjs"),h=require("@phosphor-icons/react"),w=require("react"),I=require("react-phone-number-input"),P=require("react-phone-number-input/flags"),q=require("react-phone-number-input/locale/en"),O=require("react-phone-number-input/locale/es"),_=require("react-phone-number-input/locale/fr");function b(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>n[r]})}}return t.default=n,Object.freeze(t)}const d=b(w),R=b(I),y=d.forwardRef(({className:n,onChange:t,value:r,size:o="md",rounded:s="default",locale:l="en",...i},p)=>e.jsxRuntimeExports.jsx(R.default,{ref:p,className:e.cn("flex",n),flagComponent:f,countrySelectComponent:T,inputComponent:C,smartCaret:!1,labels:l==="es"?O:l==="fr"?_:q,value:r||void 0,onChange:u=>t?.(u||""),countrySelectProps:{size:o,rounded:s},numberInputProps:{size:o,rounded:s},...i}));y.displayName="PhoneInput";const C=d.forwardRef(({className:n,rounded:t="default",error:r,touched:o,size:s,...l},i)=>{const{"data-country":p,...u}=l;return e.jsxRuntimeExports.jsx(N.Input,{size:s,className:e.cn("w-full",{"border-destructive":r&&o,"border-blue-800":o&&!r,"rounded-s-none rounded-e-lg":t!=="full","rounded-s-none rounded-e-full":t==="full","rounded-e-sm":s==="sm","rounded-e-md":s==="md","rounded-e-lg":s==="lg"},n),...u,ref:i})});C.displayName="InputComponent";const T=({disabled:n,value:t,options:r,onChange:o,size:s="md",rounded:l="default",error:i,touched:p})=>{const u=d.useRef(null),[E,j]=d.useState(""),[v,g]=d.useState(!1);return e.jsxRuntimeExports.jsxs(x.Popover,{open:v,modal:!0,onOpenChange:a=>{g(a),a&&j("")},children:[e.jsxRuntimeExports.jsx(x.PopoverTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{type:"button",className:e.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 file:paragraph-sm md:paragraph-sm paragraph-md flex w-fit min-w-0 items-center justify-center border border-r-0 bg-transparent transition-[color,box-shadow] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-semibold focus-visible:z-1 focus-visible:ring-[3px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",l==="default"?"rounded-e-none":"rounded-s-full rounded-e-none",{"outline-destructive":i&&p,"outline-blue-800":p&&!i,"label-md h-8 rounded-s-sm px-2 py-1":s==="sm","label-lg h-12 rounded-s-md px-3 py-1":s==="md","label-xl h-16 rounded-s-lg px-4 py-2":s==="lg"}),disabled:n,children:[e.jsxRuntimeExports.jsx(f,{country:t,countryName:t,disabled:n}),e.jsxRuntimeExports.jsx(h.CaretDownIcon,{className:e.cn("-mr-2 size-4 opacity-50",n?"hidden":"opacity-100")})]})}),e.jsxRuntimeExports.jsx(x.PopoverContent,{className:"w-[300px] p-0",children:e.jsxRuntimeExports.jsxs(c.Command,{children:[e.jsxRuntimeExports.jsx(c.CommandInput,{value:E,onValueChange:a=>{j(a),setTimeout(()=>{if(u.current){const m=u.current.querySelector("[data-radix-scroll-area-viewport]");m&&(m.scrollTop=0)}},0)},placeholder:"Search country..."}),e.jsxRuntimeExports.jsx(c.CommandList,{children:e.jsxRuntimeExports.jsxs(S.ScrollArea,{ref:u,className:"h-72",children:[e.jsxRuntimeExports.jsx(c.CommandEmpty,{children:"No country found."}),e.jsxRuntimeExports.jsx(c.CommandGroup,{children:r.map(({value:a,label:m})=>a?e.jsxRuntimeExports.jsx(k,{country:a,countryName:m,selectedCountry:t,onChange:o,onSelectComplete:()=>g(!1)},a):null)})]})})]})})]})},k=({country:n,countryName:t,selectedCountry:r,onChange:o,onSelectComplete:s})=>{const l=()=>{o(n),s()};return e.jsxRuntimeExports.jsxs(c.CommandItem,{className:"gap-2",onSelect:l,children:[e.jsxRuntimeExports.jsx(f,{country:n,countryName:t}),e.jsxRuntimeExports.jsx("span",{className:"paragraph-sm flex-1",children:t}),e.jsxRuntimeExports.jsx("span",{className:"text-foreground/50 paragraph-sm",children:`+${R.getCountryCallingCode(n)}`}),e.jsxRuntimeExports.jsx(h.CheckIcon,{className:`ml-auto size-4 ${n===r?"opacity-100":"opacity-0"}`})]})},f=({country:n,countryName:t,disabled:r})=>{const o=P[n];return e.jsxRuntimeExports.jsx("span",{className:e.cn("bg-foreground/20 flex h-4 w-6 overflow-hidden rounded-[4px] [&_svg:not([class*='size-'])]:size-full",{"opacity-50":r}),children:o&&e.jsxRuntimeExports.jsx(o,{title:t})})};exports.PhoneInput=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as e, c as u } from "../index-D5lmpham.js";
|
|
2
2
|
import { C as y, d as v, f as N, b as S, c as w, e as I } from "../command-ev4m9IoQ.js";
|
|
3
|
-
import { I as P } from "../input-
|
|
3
|
+
import { I as P } from "../input-DjbpoQwv.js";
|
|
4
4
|
import { P as R, c as O, b as E } from "../popover-BdDS9aoy.js";
|
|
5
5
|
import { S as T } from "../scroll-area-oS6ZJIMN.js";
|
|
6
6
|
import { CaretDownIcon as V, CheckIcon as k } from "@phosphor-icons/react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-9HRzXEQf.cjs"),o=require("@phosphor-icons/react"),c=require("./index-ECyCsPX0.cjs"),x=require("react"),b=require("./button-
|
|
1
|
+
"use strict";const r=require("./index-9HRzXEQf.cjs"),o=require("@phosphor-icons/react"),c=require("./index-ECyCsPX0.cjs"),x=require("react"),b=require("./button-BT7pXfhd.cjs");function f(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const s in i)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(e,s,t.get?t:{enumerable:!0,get:()=>i[s]})}}return e.default=i,Object.freeze(e)}const g=f(x),d=c.cva("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input file:paragraph-sm flex w-full min-w-0 rounded-md border bg-transparent transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",{variants:{size:{xs:"label-sm h-7 px-2 py-1",sm:"label-md h-8 px-2 py-1",md:"label-lg h-12 px-3 py-1",lg:"label-xl h-16 px-4 py-2"}},defaultVariants:{size:"md"}});function m({className:i,type:e,size:s,icon:t,iconPosition:a="left",...l}){const[n,u]=g.useState(!1),p=()=>{u(!n)};return!t&&e!=="password"?r.jsxRuntimeExports.jsx("input",{type:e,"data-slot":"input",className:r.cn(d({size:s}),"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",i),...l}):r.jsxRuntimeExports.jsxs("div",{className:"relative w-full",children:[t&&a==="left"&&r.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2",children:t}),r.jsxRuntimeExports.jsx("input",{type:e==="password"?n?"text":"password":e,"data-slot":"input",className:r.cn(d({size:s}),"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t&&a==="left"?"pl-10":"",t&&a==="right"||e==="password"?"pr-10":"",i),...l}),e==="password"&&r.jsxRuntimeExports.jsx(b.Button,{variant:"inverse",type:"button",size:s==="xs"||s==="sm"?"xs":"md",tabIndex:-1,"aria-label":n?"Hide password":"Show password",className:"absolute top-1/2 right-3 -translate-y-1/2",onClick:p,children:n?r.jsxRuntimeExports.jsx(o.EyeSlashIcon,{}):r.jsxRuntimeExports.jsx(o.EyeIcon,{})}),t&&a==="right"&&e!=="password"&&r.jsxRuntimeExports.jsx("span",{className:"text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2",children:t})]})}exports.Input=m;
|
|
@@ -2,7 +2,7 @@ import { j as e, c as n } from "./index-D5lmpham.js";
|
|
|
2
2
|
import { EyeSlashIcon as f, EyeIcon as b } from "@phosphor-icons/react";
|
|
3
3
|
import { c as m } from "./index-DN28Pf0m.js";
|
|
4
4
|
import * as x from "react";
|
|
5
|
-
import { B as c } from "./button-
|
|
5
|
+
import { B as c } from "./button-D6LWWLE8.js";
|
|
6
6
|
const o = m(
|
|
7
7
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input file:paragraph-sm flex w-full min-w-0 rounded-md border bg-transparent transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
8
8
|
{
|
package/dist/ui.css
CHANGED
|
@@ -46,18 +46,16 @@
|
|
|
46
46
|
--tracking-widest: 10px;
|
|
47
47
|
|
|
48
48
|
--font-*: initial;
|
|
49
|
-
--font-display:
|
|
50
|
-
--font-title:
|
|
51
|
-
--font-text:
|
|
52
|
-
--font-label:
|
|
53
|
-
--font-overline:
|
|
49
|
+
--font-display: 'DM Sans', sans-serif;
|
|
50
|
+
--font-title: 'DM Sans', sans-serif;
|
|
51
|
+
--font-text: 'DM Sans', sans-serif;
|
|
52
|
+
--font-label: 'DM Sans', sans-serif;
|
|
53
|
+
--font-overline: 'DM Sans', sans-serif;
|
|
54
54
|
|
|
55
55
|
--font-weight-*: initial;
|
|
56
|
-
--font-weight-light: 300;
|
|
57
56
|
--font-weight-regular: 400;
|
|
58
57
|
--font-weight-medium: 500;
|
|
59
58
|
--font-weight-semibold: 600;
|
|
60
|
-
--font-weight-bold: 700;
|
|
61
59
|
|
|
62
60
|
--color-*: initial;
|
|
63
61
|
--color-black: oklch(0.2 0.0102 248.34);
|
|
@@ -440,88 +438,136 @@
|
|
|
440
438
|
}
|
|
441
439
|
}
|
|
442
440
|
|
|
443
|
-
@utility display-xs {
|
|
444
|
-
@apply leading-lg text-lg tracking-tight;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
441
|
@utility display-sm {
|
|
448
|
-
|
|
442
|
+
font-size: 44px;
|
|
443
|
+
line-height: 110%;
|
|
444
|
+
letter-spacing: -0.03em;
|
|
449
445
|
}
|
|
450
446
|
|
|
451
447
|
@utility display-lg {
|
|
452
|
-
|
|
448
|
+
font-size: 52px;
|
|
449
|
+
line-height: 110%;
|
|
450
|
+
letter-spacing: -0.03em;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
@utility title-2xs {
|
|
454
|
+
font-size: 20px;
|
|
455
|
+
line-height: 120%;
|
|
456
|
+
letter-spacing: -0.02em;
|
|
453
457
|
}
|
|
454
458
|
|
|
455
459
|
@utility title-xs {
|
|
456
|
-
|
|
460
|
+
font-size: 24px;
|
|
461
|
+
line-height: 120%;
|
|
462
|
+
letter-spacing: -0.03em;
|
|
457
463
|
}
|
|
458
464
|
|
|
459
465
|
@utility title-sm {
|
|
460
|
-
|
|
466
|
+
font-size: 28px;
|
|
467
|
+
line-height: 120%;
|
|
468
|
+
letter-spacing: -0.03em;
|
|
461
469
|
}
|
|
462
470
|
|
|
463
471
|
@utility title-md {
|
|
464
|
-
|
|
472
|
+
font-size: 32px;
|
|
473
|
+
line-height: 120%;
|
|
474
|
+
letter-spacing: -0.03em;
|
|
465
475
|
}
|
|
466
476
|
|
|
467
477
|
@utility title-lg {
|
|
468
|
-
|
|
478
|
+
font-size: 36px;
|
|
479
|
+
line-height: 120%;
|
|
480
|
+
letter-spacing: -0.03em;
|
|
469
481
|
}
|
|
470
482
|
|
|
471
483
|
@utility title-xl {
|
|
472
|
-
|
|
484
|
+
font-size: 40px;
|
|
485
|
+
line-height: 120%;
|
|
486
|
+
letter-spacing: -0.03em;
|
|
473
487
|
}
|
|
474
488
|
|
|
475
489
|
@utility label-xs {
|
|
476
|
-
|
|
490
|
+
font-size: 10px;
|
|
491
|
+
line-height: 110%;
|
|
492
|
+
letter-spacing: -0.01em;
|
|
477
493
|
}
|
|
478
494
|
|
|
479
495
|
@utility label-sm {
|
|
480
|
-
|
|
496
|
+
font-size: 12px;
|
|
497
|
+
line-height: 110%;
|
|
498
|
+
letter-spacing: -0.01em;
|
|
481
499
|
}
|
|
482
500
|
|
|
483
501
|
@utility label-md {
|
|
484
|
-
|
|
502
|
+
font-size: 14px;
|
|
503
|
+
line-height: 110%;
|
|
504
|
+
letter-spacing: -0.01em;
|
|
485
505
|
}
|
|
486
506
|
|
|
487
507
|
@utility label-lg {
|
|
488
|
-
|
|
508
|
+
font-size: 16px;
|
|
509
|
+
line-height: 110%;
|
|
510
|
+
letter-spacing: -0.01em;
|
|
489
511
|
}
|
|
490
512
|
|
|
491
513
|
@utility label-xl {
|
|
492
|
-
|
|
514
|
+
font-size: 18px;
|
|
515
|
+
line-height: 110%;
|
|
516
|
+
letter-spacing: -0.01em;
|
|
493
517
|
}
|
|
494
518
|
|
|
495
519
|
@utility label-2xl {
|
|
496
|
-
|
|
520
|
+
font-size: 20px;
|
|
521
|
+
line-height: 110%;
|
|
522
|
+
letter-spacing: -0.02em;
|
|
497
523
|
}
|
|
498
524
|
|
|
499
525
|
@utility label-3xl {
|
|
500
|
-
|
|
526
|
+
font-size: 24px;
|
|
527
|
+
line-height: 110%;
|
|
528
|
+
letter-spacing: -0.03em;
|
|
501
529
|
}
|
|
502
530
|
|
|
503
531
|
@utility paragraph-xs {
|
|
504
|
-
|
|
532
|
+
font-size: 12px;
|
|
533
|
+
line-height: 140%;
|
|
534
|
+
letter-spacing: -0.01em;
|
|
505
535
|
}
|
|
506
536
|
|
|
507
537
|
@utility paragraph-sm {
|
|
508
|
-
|
|
538
|
+
font-size: 14px;
|
|
539
|
+
line-height: 140%;
|
|
540
|
+
letter-spacing: -0.01em;
|
|
509
541
|
}
|
|
510
542
|
|
|
511
543
|
@utility paragraph-md {
|
|
512
|
-
|
|
544
|
+
font-size: 16px;
|
|
545
|
+
line-height: 140%;
|
|
546
|
+
letter-spacing: -0.01em;
|
|
513
547
|
}
|
|
514
548
|
|
|
515
549
|
@utility paragraph-lg {
|
|
516
|
-
|
|
550
|
+
font-size: 18px;
|
|
551
|
+
line-height: 140%;
|
|
552
|
+
letter-spacing: -0.01em;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
@utility button-text-sm {
|
|
556
|
+
font-size: 12px;
|
|
557
|
+
line-height: 14px;
|
|
558
|
+
letter-spacing: -0.01em;
|
|
517
559
|
}
|
|
518
560
|
|
|
519
|
-
@utility
|
|
520
|
-
|
|
561
|
+
@utility button-text-md {
|
|
562
|
+
font-size: 14px;
|
|
563
|
+
line-height: 16px;
|
|
564
|
+
letter-spacing: -0.01em;
|
|
521
565
|
}
|
|
522
566
|
|
|
523
|
-
@utility
|
|
524
|
-
|
|
567
|
+
@utility button-text-lg {
|
|
568
|
+
font-size: 16px;
|
|
569
|
+
line-height: 20px;
|
|
570
|
+
letter-spacing: -0.01em;
|
|
525
571
|
}
|
|
526
572
|
|
|
527
573
|
@layer components {
|
|
@@ -654,7 +700,7 @@
|
|
|
654
700
|
}
|
|
655
701
|
body {
|
|
656
702
|
font-family:
|
|
657
|
-
'
|
|
703
|
+
'DM Sans',
|
|
658
704
|
sans-serif,
|
|
659
705
|
system-ui,
|
|
660
706
|
-apple-system;
|