@agilys-system/design-system 1.0.10 → 1.0.11
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.
|
@@ -3227,7 +3227,7 @@ const Kt = S(
|
|
|
3227
3227
|
);
|
|
3228
3228
|
Kt.displayName = "Pagination";
|
|
3229
3229
|
const Jt = T(
|
|
3230
|
-
"flex h-11 w-full min-w-0 items-center gap-2 rounded-lg bg-white px-3 shadow-[
|
|
3230
|
+
"flex h-11 w-full min-w-0 items-center gap-2 rounded-lg bg-white px-3 shadow-[0px_1px_2px_0px_rgba(0,0,0,0.25)] transition-shadow focus-within:ring-2 focus-within:ring-agilys-primary",
|
|
3231
3231
|
{
|
|
3232
3232
|
variants: {
|
|
3233
3233
|
hasError: {
|
|
@@ -3253,55 +3253,83 @@ const Jt = T(
|
|
|
3253
3253
|
...c
|
|
3254
3254
|
}, p) => {
|
|
3255
3255
|
const b = xe(), f = d ?? b, j = typeof l == "string" ? l : l == null ? void 0 : l.message, N = !!j, g = `${f}-error`;
|
|
3256
|
-
return /* @__PURE__ */ v(
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3256
|
+
return /* @__PURE__ */ v(
|
|
3257
|
+
"div",
|
|
3258
|
+
{
|
|
3259
|
+
className: h(
|
|
3260
|
+
"flex w-full min-w-0 flex-col gap-1.5",
|
|
3261
|
+
t
|
|
3262
|
+
),
|
|
3263
|
+
children: [
|
|
3264
|
+
r && /* @__PURE__ */ o(
|
|
3265
|
+
C,
|
|
3266
|
+
{
|
|
3267
|
+
as: "label",
|
|
3268
|
+
htmlFor: f,
|
|
3269
|
+
variant: "body",
|
|
3270
|
+
className: "text-neutral-text-primary",
|
|
3271
|
+
children: r
|
|
3272
|
+
}
|
|
3264
3273
|
),
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
"aria-invalid": N || void 0,
|
|
3281
|
-
"aria-describedby": N ? g : void 0,
|
|
3282
|
-
className: h(
|
|
3283
|
-
"w-full min-w-0 flex-1 bg-transparent font-sans text-base leading-6 text-neutral-text-primary placeholder:text-neutral-secondary focus:outline-none disabled:cursor-not-allowed",
|
|
3284
|
-
e
|
|
3274
|
+
/* @__PURE__ */ v(
|
|
3275
|
+
"div",
|
|
3276
|
+
{
|
|
3277
|
+
className: h(
|
|
3278
|
+
Jt({ hasError: N }),
|
|
3279
|
+
i && "pointer-events-none opacity-50"
|
|
3280
|
+
),
|
|
3281
|
+
children: [
|
|
3282
|
+
n && /* @__PURE__ */ o(
|
|
3283
|
+
"span",
|
|
3284
|
+
{
|
|
3285
|
+
className: "flex size-6 shrink-0 items-center justify-center text-neutral-secondary [&>svg]:size-full",
|
|
3286
|
+
"aria-hidden": "true",
|
|
3287
|
+
children: n
|
|
3288
|
+
}
|
|
3285
3289
|
),
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3290
|
+
/* @__PURE__ */ o(
|
|
3291
|
+
"input",
|
|
3292
|
+
{
|
|
3293
|
+
ref: p,
|
|
3294
|
+
id: f,
|
|
3295
|
+
disabled: i,
|
|
3296
|
+
"aria-invalid": N || void 0,
|
|
3297
|
+
"aria-describedby": N ? g : void 0,
|
|
3298
|
+
className: h(
|
|
3299
|
+
"w-full min-w-0 flex-1 bg-transparent font-sans text-xs leading-relaxed font-normal text-black placeholder:font-sans placeholder:text-xs placeholder:leading-relaxed placeholder:font-normal placeholder:text-neutral-secondary/60 focus:outline-none disabled:cursor-not-allowed",
|
|
3300
|
+
e
|
|
3301
|
+
),
|
|
3302
|
+
...c
|
|
3303
|
+
}
|
|
3295
3304
|
),
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
+
a && /* @__PURE__ */ o(
|
|
3306
|
+
"span",
|
|
3307
|
+
{
|
|
3308
|
+
className: h(
|
|
3309
|
+
"flex size-6 shrink-0 items-center justify-center text-neutral-secondary [&>svg]:size-full",
|
|
3310
|
+
s && "rounded-md bg-lightGray p-1"
|
|
3311
|
+
),
|
|
3312
|
+
"aria-hidden": "true",
|
|
3313
|
+
children: a
|
|
3314
|
+
}
|
|
3315
|
+
)
|
|
3316
|
+
]
|
|
3317
|
+
}
|
|
3318
|
+
),
|
|
3319
|
+
N && /* @__PURE__ */ o(
|
|
3320
|
+
C,
|
|
3321
|
+
{
|
|
3322
|
+
as: "span",
|
|
3323
|
+
id: g,
|
|
3324
|
+
role: "alert",
|
|
3325
|
+
variant: "caption",
|
|
3326
|
+
className: "text-danger-60",
|
|
3327
|
+
children: j
|
|
3328
|
+
}
|
|
3329
|
+
)
|
|
3330
|
+
]
|
|
3331
|
+
}
|
|
3332
|
+
);
|
|
3305
3333
|
}
|
|
3306
3334
|
);
|
|
3307
3335
|
Xt.displayName = "Input";
|