@underverse-ui/underverse 1.0.178 → 1.0.180
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/api-reference.json +1 -1
- package/dist/index.cjs +318 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -3
- package/dist/index.d.ts +28 -3
- package/dist/index.js +318 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/stickers/db_android17/display/angry.webp +0 -0
- package/stickers/db_android17/display/barrier_blast.webp +0 -0
- package/stickers/db_android17/display/calm.webp +0 -0
- package/stickers/db_android17/display/fight.webp +0 -0
- package/stickers/db_android17/display/happy.webp +0 -0
- package/stickers/db_android17/display/injured.webp +0 -0
- package/stickers/db_android17/display/meditating.webp +0 -0
- package/stickers/db_android17/display/ranger.webp +0 -0
- package/stickers/db_android17/display/shield.webp +0 -0
- package/stickers/db_android17/display/wink.webp +0 -0
- package/stickers/db_android17/thumb/angry.webp +0 -0
- package/stickers/db_android17/thumb/barrier_blast.webp +0 -0
- package/stickers/db_android17/thumb/calm.webp +0 -0
- package/stickers/db_android17/thumb/fight.webp +0 -0
- package/stickers/db_android17/thumb/happy.webp +0 -0
- package/stickers/db_android17/thumb/injured.webp +0 -0
- package/stickers/db_android17/thumb/meditating.webp +0 -0
- package/stickers/db_android17/thumb/ranger.webp +0 -0
- package/stickers/db_android17/thumb/shield.webp +0 -0
- package/stickers/db_android17/thumb/wink.webp +0 -0
- package/stickers/db_android18/display/angry.webp +0 -0
- package/stickers/db_android18/display/bored.webp +0 -0
- package/stickers/db_android18/display/fight.webp +0 -0
- package/stickers/db_android18/display/glare.webp +0 -0
- package/stickers/db_android18/display/hair_flip.webp +0 -0
- package/stickers/db_android18/display/happy.webp +0 -0
- package/stickers/db_android18/display/injured.webp +0 -0
- package/stickers/db_android18/display/meditating.webp +0 -0
- package/stickers/db_android18/display/shopping.webp +0 -0
- package/stickers/db_android18/display/wink.webp +0 -0
- package/stickers/db_android18/thumb/angry.webp +0 -0
- package/stickers/db_android18/thumb/bored.webp +0 -0
- package/stickers/db_android18/thumb/fight.webp +0 -0
- package/stickers/db_android18/thumb/glare.webp +0 -0
- package/stickers/db_android18/thumb/hair_flip.webp +0 -0
- package/stickers/db_android18/thumb/happy.webp +0 -0
- package/stickers/db_android18/thumb/injured.webp +0 -0
- package/stickers/db_android18/thumb/meditating.webp +0 -0
- package/stickers/db_android18/thumb/shopping.webp +0 -0
- package/stickers/db_android18/thumb/wink.webp +0 -0
- package/stickers/db_bulma/display/angry.webp +0 -0
- package/stickers/db_bulma/display/drinking.webp +0 -0
- package/stickers/db_bulma/display/happy.webp +0 -0
- package/stickers/db_bulma/display/radar.webp +0 -0
- package/stickers/db_bulma/display/scared.webp +0 -0
- package/stickers/db_bulma/display/shocked.webp +0 -0
- package/stickers/db_bulma/display/sigh.webp +0 -0
- package/stickers/db_bulma/display/smirk.webp +0 -0
- package/stickers/db_bulma/display/thinking.webp +0 -0
- package/stickers/db_bulma/display/waving.webp +0 -0
- package/stickers/db_bulma/thumb/angry.webp +0 -0
- package/stickers/db_bulma/thumb/drinking.webp +0 -0
- package/stickers/db_bulma/thumb/happy.webp +0 -0
- package/stickers/db_bulma/thumb/radar.webp +0 -0
- package/stickers/db_bulma/thumb/scared.webp +0 -0
- package/stickers/db_bulma/thumb/shocked.webp +0 -0
- package/stickers/db_bulma/thumb/sigh.webp +0 -0
- package/stickers/db_bulma/thumb/smirk.webp +0 -0
- package/stickers/db_bulma/thumb/thinking.webp +0 -0
- package/stickers/db_bulma/thumb/waving.webp +0 -0
- package/stickers/db_frieza/display/death_ball.webp +0 -0
- package/stickers/db_frieza/display/evil_laugh.webp +0 -0
- package/stickers/db_frieza/display/furious.webp +0 -0
- package/stickers/db_frieza/display/golden_pose.webp +0 -0
- package/stickers/db_frieza/display/kicked.webp +0 -0
- package/stickers/db_frieza/display/mocking.webp +0 -0
- package/stickers/db_frieza/display/shocked.webp +0 -0
- package/stickers/db_frieza/display/sinister_glare.webp +0 -0
- package/stickers/db_frieza/display/smirk.webp +0 -0
- package/stickers/db_frieza/display/telekinesis.webp +0 -0
- package/stickers/db_frieza/thumb/death_ball.webp +0 -0
- package/stickers/db_frieza/thumb/evil_laugh.webp +0 -0
- package/stickers/db_frieza/thumb/furious.webp +0 -0
- package/stickers/db_frieza/thumb/golden_pose.webp +0 -0
- package/stickers/db_frieza/thumb/kicked.webp +0 -0
- package/stickers/db_frieza/thumb/mocking.webp +0 -0
- package/stickers/db_frieza/thumb/shocked.webp +0 -0
- package/stickers/db_frieza/thumb/sinister_glare.webp +0 -0
- package/stickers/db_frieza/thumb/smirk.webp +0 -0
- package/stickers/db_frieza/thumb/telekinesis.webp +0 -0
- package/stickers/db_gohan/display/beast_scream.webp +0 -0
- package/stickers/db_gohan/display/crying.webp +0 -0
- package/stickers/db_gohan/display/fight_stance.webp +0 -0
- package/stickers/db_gohan/display/happy.webp +0 -0
- package/stickers/db_gohan/display/masenko.webp +0 -0
- package/stickers/db_gohan/display/mystic_glare.webp +0 -0
- package/stickers/db_gohan/display/protective.webp +0 -0
- package/stickers/db_gohan/display/shocked.webp +0 -0
- package/stickers/db_gohan/display/study.webp +0 -0
- package/stickers/db_gohan/display/thumbs_up.webp +0 -0
- package/stickers/db_gohan/thumb/beast_scream.webp +0 -0
- package/stickers/db_gohan/thumb/crying.webp +0 -0
- package/stickers/db_gohan/thumb/fight_stance.webp +0 -0
- package/stickers/db_gohan/thumb/happy.webp +0 -0
- package/stickers/db_gohan/thumb/masenko.webp +0 -0
- package/stickers/db_gohan/thumb/mystic_glare.webp +0 -0
- package/stickers/db_gohan/thumb/protective.webp +0 -0
- package/stickers/db_gohan/thumb/shocked.webp +0 -0
- package/stickers/db_gohan/thumb/study.webp +0 -0
- package/stickers/db_gohan/thumb/thumbs_up.webp +0 -0
- package/stickers/db_hit/display/adjusting_coat.webp +0 -0
- package/stickers/db_hit/display/assassin.webp +0 -0
- package/stickers/db_hit/display/calm.webp +0 -0
- package/stickers/db_hit/display/closed_eyes.webp +0 -0
- package/stickers/db_hit/display/fight_stance.webp +0 -0
- package/stickers/db_hit/display/glare.webp +0 -0
- package/stickers/db_hit/display/injured.webp +0 -0
- package/stickers/db_hit/display/serious.webp +0 -0
- package/stickers/db_hit/display/smirk.webp +0 -0
- package/stickers/db_hit/display/time_skip.webp +0 -0
- package/stickers/db_hit/thumb/adjusting_coat.webp +0 -0
- package/stickers/db_hit/thumb/assassin.webp +0 -0
- package/stickers/db_hit/thumb/calm.webp +0 -0
- package/stickers/db_hit/thumb/closed_eyes.webp +0 -0
- package/stickers/db_hit/thumb/fight_stance.webp +0 -0
- package/stickers/db_hit/thumb/glare.webp +0 -0
- package/stickers/db_hit/thumb/injured.webp +0 -0
- package/stickers/db_hit/thumb/serious.webp +0 -0
- package/stickers/db_hit/thumb/smirk.webp +0 -0
- package/stickers/db_hit/thumb/time_skip.webp +0 -0
- package/stickers/db_jiren/display/crossed_arms.webp +0 -0
- package/stickers/db_jiren/display/fireball.webp +0 -0
- package/stickers/db_jiren/display/glare.webp +0 -0
- package/stickers/db_jiren/display/meditation.webp +0 -0
- package/stickers/db_jiren/display/power_up.webp +0 -0
- package/stickers/db_jiren/display/punching.webp +0 -0
- package/stickers/db_jiren/display/screaming.webp +0 -0
- package/stickers/db_jiren/display/shield.webp +0 -0
- package/stickers/db_jiren/display/stoic.webp +0 -0
- package/stickers/db_jiren/display/unfazed.webp +0 -0
- package/stickers/db_jiren/thumb/crossed_arms.webp +0 -0
- package/stickers/db_jiren/thumb/fireball.webp +0 -0
- package/stickers/db_jiren/thumb/glare.webp +0 -0
- package/stickers/db_jiren/thumb/meditation.webp +0 -0
- package/stickers/db_jiren/thumb/power_up.webp +0 -0
- package/stickers/db_jiren/thumb/punching.webp +0 -0
- package/stickers/db_jiren/thumb/screaming.webp +0 -0
- package/stickers/db_jiren/thumb/shield.webp +0 -0
- package/stickers/db_jiren/thumb/stoic.webp +0 -0
- package/stickers/db_jiren/thumb/unfazed.webp +0 -0
- package/stickers/db_krillin/display/destructo_disk.webp +0 -0
- package/stickers/db_krillin/display/fight.webp +0 -0
- package/stickers/db_krillin/display/happy.webp +0 -0
- package/stickers/db_krillin/display/injured.webp +0 -0
- package/stickers/db_krillin/display/kamehameha.webp +0 -0
- package/stickers/db_krillin/display/love.webp +0 -0
- package/stickers/db_krillin/display/serious.webp +0 -0
- package/stickers/db_krillin/display/shocked.webp +0 -0
- package/stickers/db_krillin/display/solar_flare.webp +0 -0
- package/stickers/db_krillin/display/zen.webp +0 -0
- package/stickers/db_krillin/thumb/destructo_disk.webp +0 -0
- package/stickers/db_krillin/thumb/fight.webp +0 -0
- package/stickers/db_krillin/thumb/happy.webp +0 -0
- package/stickers/db_krillin/thumb/injured.webp +0 -0
- package/stickers/db_krillin/thumb/kamehameha.webp +0 -0
- package/stickers/db_krillin/thumb/love.webp +0 -0
- package/stickers/db_krillin/thumb/serious.webp +0 -0
- package/stickers/db_krillin/thumb/shocked.webp +0 -0
- package/stickers/db_krillin/thumb/solar_flare.webp +0 -0
- package/stickers/db_krillin/thumb/zen.webp +0 -0
- package/stickers/db_piccolo/display/angry.webp +0 -0
- package/stickers/db_piccolo/display/cape_throw.webp +0 -0
- package/stickers/db_piccolo/display/crossed_arms.webp +0 -0
- package/stickers/db_piccolo/display/meditate.webp +0 -0
- package/stickers/db_piccolo/display/orange_power.webp +0 -0
- package/stickers/db_piccolo/display/paternal.webp +0 -0
- package/stickers/db_piccolo/display/regeneration.webp +0 -0
- package/stickers/db_piccolo/display/smirk.webp +0 -0
- package/stickers/db_piccolo/display/special_beam.webp +0 -0
- package/stickers/db_piccolo/display/surprised.webp +0 -0
- package/stickers/db_piccolo/thumb/angry.webp +0 -0
- package/stickers/db_piccolo/thumb/cape_throw.webp +0 -0
- package/stickers/db_piccolo/thumb/crossed_arms.webp +0 -0
- package/stickers/db_piccolo/thumb/meditate.webp +0 -0
- package/stickers/db_piccolo/thumb/orange_power.webp +0 -0
- package/stickers/db_piccolo/thumb/paternal.webp +0 -0
- package/stickers/db_piccolo/thumb/regeneration.webp +0 -0
- package/stickers/db_piccolo/thumb/smirk.webp +0 -0
- package/stickers/db_piccolo/thumb/special_beam.webp +0 -0
- package/stickers/db_piccolo/thumb/surprised.webp +0 -0
- package/stickers/db_roshi/display/buff.webp +0 -0
- package/stickers/db_roshi/display/fight.webp +0 -0
- package/stickers/db_roshi/display/kamehameha.webp +0 -0
- package/stickers/db_roshi/display/laughing.webp +0 -0
- package/stickers/db_roshi/display/nosebleed.webp +0 -0
- package/stickers/db_roshi/display/peace.webp +0 -0
- package/stickers/db_roshi/display/peace_v2.webp +0 -0
- package/stickers/db_roshi/display/sleeping.webp +0 -0
- package/stickers/db_roshi/display/thinking.webp +0 -0
- package/stickers/db_roshi/display/wink.webp +0 -0
- package/stickers/db_roshi/thumb/buff.webp +0 -0
- package/stickers/db_roshi/thumb/fight.webp +0 -0
- package/stickers/db_roshi/thumb/kamehameha.webp +0 -0
- package/stickers/db_roshi/thumb/laughing.webp +0 -0
- package/stickers/db_roshi/thumb/nosebleed.webp +0 -0
- package/stickers/db_roshi/thumb/peace.webp +0 -0
- package/stickers/db_roshi/thumb/peace_v2.webp +0 -0
- package/stickers/db_roshi/thumb/sleeping.webp +0 -0
- package/stickers/db_roshi/thumb/thinking.webp +0 -0
- package/stickers/db_roshi/thumb/wink.webp +0 -0
- package/stickers/db_shin/display/angry.webp +0 -0
- package/stickers/db_shin/display/fight.webp +0 -0
- package/stickers/db_shin/display/happy.webp +0 -0
- package/stickers/db_shin/display/katchin.webp +0 -0
- package/stickers/db_shin/display/potara.webp +0 -0
- package/stickers/db_shin/display/scared.webp +0 -0
- package/stickers/db_shin/display/shocked.webp +0 -0
- package/stickers/db_shin/display/telekinesis.webp +0 -0
- package/stickers/db_shin/display/thinking.webp +0 -0
- package/stickers/db_shin/display/zen.webp +0 -0
- package/stickers/db_shin/thumb/angry.webp +0 -0
- package/stickers/db_shin/thumb/fight.webp +0 -0
- package/stickers/db_shin/thumb/happy.webp +0 -0
- package/stickers/db_shin/thumb/katchin.webp +0 -0
- package/stickers/db_shin/thumb/potara.webp +0 -0
- package/stickers/db_shin/thumb/scared.webp +0 -0
- package/stickers/db_shin/thumb/shocked.webp +0 -0
- package/stickers/db_shin/thumb/telekinesis.webp +0 -0
- package/stickers/db_shin/thumb/thinking.webp +0 -0
- package/stickers/db_shin/thumb/zen.webp +0 -0
- package/stickers/db_trunks/display/burning_attack.webp +0 -0
- package/stickers/db_trunks/display/determined.webp +0 -0
- package/stickers/db_trunks/display/fight_stance.webp +0 -0
- package/stickers/db_trunks/display/happy.webp +0 -0
- package/stickers/db_trunks/display/rage_scream.webp +0 -0
- package/stickers/db_trunks/display/sad.webp +0 -0
- package/stickers/db_trunks/display/salute.webp +0 -0
- package/stickers/db_trunks/display/shocked.webp +0 -0
- package/stickers/db_trunks/display/sword_ready.webp +0 -0
- package/stickers/db_trunks/display/sword_slash.webp +0 -0
- package/stickers/db_trunks/thumb/burning_attack.webp +0 -0
- package/stickers/db_trunks/thumb/determined.webp +0 -0
- package/stickers/db_trunks/thumb/fight_stance.webp +0 -0
- package/stickers/db_trunks/thumb/happy.webp +0 -0
- package/stickers/db_trunks/thumb/rage_scream.webp +0 -0
- package/stickers/db_trunks/thumb/sad.webp +0 -0
- package/stickers/db_trunks/thumb/salute.webp +0 -0
- package/stickers/db_trunks/thumb/shocked.webp +0 -0
- package/stickers/db_trunks/thumb/sword_ready.webp +0 -0
- package/stickers/db_trunks/thumb/sword_slash.webp +0 -0
- package/stickers/db_whis/display/calm.webp +0 -0
- package/stickers/db_whis/display/dodging.webp +0 -0
- package/stickers/db_whis/display/eating.webp +0 -0
- package/stickers/db_whis/display/laughing.webp +0 -0
- package/stickers/db_whis/display/pointing.webp +0 -0
- package/stickers/db_whis/display/shocked.webp +0 -0
- package/stickers/db_whis/display/sleeping.webp +0 -0
- package/stickers/db_whis/display/sushi.webp +0 -0
- package/stickers/db_whis/display/tea.webp +0 -0
- package/stickers/db_whis/display/wink.webp +0 -0
- package/stickers/db_whis/display/yawning.webp +0 -0
- package/stickers/db_whis/thumb/calm.webp +0 -0
- package/stickers/db_whis/thumb/dodging.webp +0 -0
- package/stickers/db_whis/thumb/eating.webp +0 -0
- package/stickers/db_whis/thumb/laughing.webp +0 -0
- package/stickers/db_whis/thumb/pointing.webp +0 -0
- package/stickers/db_whis/thumb/shocked.webp +0 -0
- package/stickers/db_whis/thumb/sleeping.webp +0 -0
- package/stickers/db_whis/thumb/sushi.webp +0 -0
- package/stickers/db_whis/thumb/tea.webp +0 -0
- package/stickers/db_whis/thumb/wink.webp +0 -0
- package/stickers/db_whis/thumb/yawning.webp +0 -0
- package/stickers/db_zamasu/display/blade.webp +0 -0
- package/stickers/db_zamasu/display/fusion_prep.webp +0 -0
- package/stickers/db_zamasu/display/god_stance.webp +0 -0
- package/stickers/db_zamasu/display/happy.webp +0 -0
- package/stickers/db_zamasu/display/holy_wrath.webp +0 -0
- package/stickers/db_zamasu/display/injured.webp +0 -0
- package/stickers/db_zamasu/display/laughing.webp +0 -0
- package/stickers/db_zamasu/display/shocked.webp +0 -0
- package/stickers/db_zamasu/display/sinister.webp +0 -0
- package/stickers/db_zamasu/display/tears.webp +0 -0
- package/stickers/db_zamasu/thumb/blade.webp +0 -0
- package/stickers/db_zamasu/thumb/fusion_prep.webp +0 -0
- package/stickers/db_zamasu/thumb/god_stance.webp +0 -0
- package/stickers/db_zamasu/thumb/happy.webp +0 -0
- package/stickers/db_zamasu/thumb/holy_wrath.webp +0 -0
- package/stickers/db_zamasu/thumb/injured.webp +0 -0
- package/stickers/db_zamasu/thumb/laughing.webp +0 -0
- package/stickers/db_zamasu/thumb/shocked.webp +0 -0
- package/stickers/db_zamasu/thumb/sinister.webp +0 -0
- package/stickers/db_zamasu/thumb/tears.webp +0 -0
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -247,6 +247,26 @@ function cn(...inputs) {
|
|
|
247
247
|
|
|
248
248
|
// src/components/Button.tsx
|
|
249
249
|
var import_lucide_react = require("lucide-react");
|
|
250
|
+
|
|
251
|
+
// src/utils/radius.ts
|
|
252
|
+
var STANDARD_BORDER_MODES = ["none", "sm", "md", "lg", "xl", "2xl", "3xl", "full"];
|
|
253
|
+
var CUSTOM_BORDER_MAP = {
|
|
254
|
+
daewoo: "rounded-2xl",
|
|
255
|
+
infiniq: "rounded-full"
|
|
256
|
+
};
|
|
257
|
+
var BORDER_MODE_DOCS_TYPE = `"${STANDARD_BORDER_MODES.join('" | "')}" | "${Object.keys(CUSTOM_BORDER_MAP).join('" | "')}"`;
|
|
258
|
+
function getBorderRadiusClass(borderMode = "full") {
|
|
259
|
+
if (!borderMode) return "rounded-full";
|
|
260
|
+
if (borderMode in CUSTOM_BORDER_MAP) {
|
|
261
|
+
return CUSTOM_BORDER_MAP[borderMode];
|
|
262
|
+
}
|
|
263
|
+
if (STANDARD_BORDER_MODES.includes(borderMode)) {
|
|
264
|
+
return `rounded-${borderMode}`;
|
|
265
|
+
}
|
|
266
|
+
return borderMode;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// src/components/Button.tsx
|
|
250
270
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
251
271
|
var Button = (0, import_react.forwardRef)(
|
|
252
272
|
({
|
|
@@ -273,9 +293,10 @@ var Button = (0, import_react.forwardRef)(
|
|
|
273
293
|
noWrap = true,
|
|
274
294
|
noHoverOverlay = false,
|
|
275
295
|
gradient = false,
|
|
296
|
+
borderMode,
|
|
276
297
|
...rest
|
|
277
298
|
}, ref) => {
|
|
278
|
-
const baseStyles = asContainer ? "relative inline-flex justify-center
|
|
299
|
+
const baseStyles = asContainer ? "relative inline-flex justify-center font-medium transition-colors duration-150 ease-soft outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:translate-y-px" : "relative inline-flex items-center justify-center gap-2 font-medium overflow-hidden transition-colors duration-150 ease-soft outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:translate-y-px";
|
|
279
300
|
const finalVariant = gradient ? "gradient" : variant;
|
|
280
301
|
const variantStyle = VARIANT_STYLES_BTN[finalVariant] || VARIANT_STYLES_BTN.default;
|
|
281
302
|
const sizeStyle = SIZE_STYLES_BTN[size] || SIZE_STYLES_BTN.md;
|
|
@@ -318,6 +339,7 @@ var Button = (0, import_react.forwardRef)(
|
|
|
318
339
|
title,
|
|
319
340
|
className: cn(
|
|
320
341
|
baseStyles,
|
|
342
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
321
343
|
variantStyle,
|
|
322
344
|
sizeStyle,
|
|
323
345
|
"group",
|
|
@@ -2991,6 +3013,7 @@ var Input = (0, import_react4.forwardRef)(
|
|
|
2991
3013
|
value,
|
|
2992
3014
|
maxLength,
|
|
2993
3015
|
rightAddon,
|
|
3016
|
+
borderMode,
|
|
2994
3017
|
...rest
|
|
2995
3018
|
}, ref) => {
|
|
2996
3019
|
const [localError, setLocalError] = (0, import_react4.useState)(error);
|
|
@@ -3082,6 +3105,7 @@ var Input = (0, import_react4.forwardRef)(
|
|
|
3082
3105
|
hint: _hint,
|
|
3083
3106
|
counter: _counter,
|
|
3084
3107
|
rightAddon: _rightAddon,
|
|
3108
|
+
borderMode: _borderMode,
|
|
3085
3109
|
...restInput
|
|
3086
3110
|
} = rest;
|
|
3087
3111
|
const handleFocus = (e) => {
|
|
@@ -3092,7 +3116,7 @@ var Input = (0, import_react4.forwardRef)(
|
|
|
3092
3116
|
setIsFocused(false);
|
|
3093
3117
|
onBlurProp?.(e);
|
|
3094
3118
|
};
|
|
3095
|
-
const radiusClass =
|
|
3119
|
+
const radiusClass = getBorderRadiusClass(borderMode ?? "full");
|
|
3096
3120
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: cn("w-full group", containerSpacing), children: [
|
|
3097
3121
|
label && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
3098
3122
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
@@ -3472,6 +3496,7 @@ var Textarea = (0, import_react4.forwardRef)(
|
|
|
3472
3496
|
required,
|
|
3473
3497
|
value,
|
|
3474
3498
|
maxLength,
|
|
3499
|
+
borderMode,
|
|
3475
3500
|
...props
|
|
3476
3501
|
}, ref) => {
|
|
3477
3502
|
const [isFocused, setIsFocused] = (0, import_react4.useState)(false);
|
|
@@ -3551,7 +3576,8 @@ var Textarea = (0, import_react4.forwardRef)(
|
|
|
3551
3576
|
onFocus: () => setIsFocused(true),
|
|
3552
3577
|
onBlur: () => setIsFocused(false),
|
|
3553
3578
|
className: cn(
|
|
3554
|
-
"w-full
|
|
3579
|
+
"w-full text-foreground transition-all duration-200",
|
|
3580
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
3555
3581
|
"placeholder:text-muted-foreground focus:outline-none",
|
|
3556
3582
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
3557
3583
|
sizeStyles8[size],
|
|
@@ -5209,6 +5235,245 @@ var STICKER_PACKS = [
|
|
|
5209
5235
|
{ id: "confident", name: "Goku Black Confident", animation: "bounce" },
|
|
5210
5236
|
{ id: "pointing", name: "Goku Black Pointing", animation: "pulse" }
|
|
5211
5237
|
]
|
|
5238
|
+
},
|
|
5239
|
+
{
|
|
5240
|
+
id: "db_hit",
|
|
5241
|
+
name: "Hit (Dragon Ball)",
|
|
5242
|
+
thumbnail: "calm",
|
|
5243
|
+
stickers: [
|
|
5244
|
+
{ id: "calm", name: "Hit Calm", animation: "wiggle" },
|
|
5245
|
+
{ id: "time_skip", name: "Hit Time Skip", animation: "pulse" },
|
|
5246
|
+
{ id: "glare", name: "Hit Glare", animation: "pulse" },
|
|
5247
|
+
{ id: "fight_stance", name: "Hit Fight Stance", animation: "shake" },
|
|
5248
|
+
{ id: "adjusting_coat", name: "Hit Adjusting Coat", animation: "wiggle" },
|
|
5249
|
+
{ id: "serious", name: "Hit Serious", animation: "wiggle" },
|
|
5250
|
+
{ id: "assassin", name: "Hit Flash Fist", animation: "pulse" },
|
|
5251
|
+
{ id: "injured", name: "Hit Injured", animation: "wiggle" },
|
|
5252
|
+
{ id: "closed_eyes", name: "Hit Meditating", animation: "wiggle" },
|
|
5253
|
+
{ id: "smirk", name: "Hit Rare Smirk", animation: "bounce" }
|
|
5254
|
+
]
|
|
5255
|
+
},
|
|
5256
|
+
{
|
|
5257
|
+
id: "db_jiren",
|
|
5258
|
+
name: "Jiren (Dragon Ball)",
|
|
5259
|
+
thumbnail: "crossed_arms",
|
|
5260
|
+
stickers: [
|
|
5261
|
+
{ id: "crossed_arms", name: "Jiren Crossed Arms", animation: "wiggle" },
|
|
5262
|
+
{ id: "glare", name: "Jiren Glare", animation: "pulse" },
|
|
5263
|
+
{ id: "power_up", name: "Jiren Power Up", animation: "shake" },
|
|
5264
|
+
{ id: "punching", name: "Jiren Punching", animation: "shake" },
|
|
5265
|
+
{ id: "meditation", name: "Jiren Meditation", animation: "wiggle" },
|
|
5266
|
+
{ id: "fireball", name: "Jiren Fireball", animation: "pulse" },
|
|
5267
|
+
{ id: "screaming", name: "Jiren Screaming", animation: "shake" },
|
|
5268
|
+
{ id: "shield", name: "Jiren Barrier", animation: "pop" },
|
|
5269
|
+
{ id: "stoic", name: "Jiren Stoic", animation: "wiggle" },
|
|
5270
|
+
{ id: "unfazed", name: "Jiren Unfazed", animation: "bounce" }
|
|
5271
|
+
]
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
id: "db_frieza",
|
|
5275
|
+
name: "Frieza (Dragon Ball)",
|
|
5276
|
+
thumbnail: "golden_pose",
|
|
5277
|
+
stickers: [
|
|
5278
|
+
{ id: "evil_laugh", name: "Frieza Evil Laugh", animation: "bounce" },
|
|
5279
|
+
{ id: "golden_pose", name: "Golden Frieza", animation: "pulse" },
|
|
5280
|
+
{ id: "smirk", name: "Frieza Smirk", animation: "wiggle" },
|
|
5281
|
+
{ id: "death_ball", name: "Death Ball", animation: "pulse" },
|
|
5282
|
+
{ id: "furious", name: "Frieza Furious", animation: "shake" },
|
|
5283
|
+
{ id: "mocking", name: "Frieza Mocking", animation: "bounce" },
|
|
5284
|
+
{ id: "shocked", name: "Frieza Shocked", animation: "pop" },
|
|
5285
|
+
{ id: "kicked", name: "Frieza Pain", animation: "wiggle" },
|
|
5286
|
+
{ id: "telekinesis", name: "Telekinesis", animation: "pulse" },
|
|
5287
|
+
{ id: "sinister_glare", name: "Sinister Glare", animation: "wiggle" }
|
|
5288
|
+
]
|
|
5289
|
+
},
|
|
5290
|
+
{
|
|
5291
|
+
id: "db_gohan",
|
|
5292
|
+
name: "Gohan (Dragon Ball)",
|
|
5293
|
+
thumbnail: "study",
|
|
5294
|
+
stickers: [
|
|
5295
|
+
{ id: "study", name: "Gohan Studying", animation: "wiggle" },
|
|
5296
|
+
{ id: "beast_scream", name: "Gohan Beast", animation: "shake" },
|
|
5297
|
+
{ id: "masenko", name: "Gohan Masenko", animation: "pulse" },
|
|
5298
|
+
{ id: "happy", name: "Gohan Happy", animation: "bounce" },
|
|
5299
|
+
{ id: "mystic_glare", name: "Ultimate Gohan", animation: "pulse" },
|
|
5300
|
+
{ id: "fight_stance", name: "Gohan Fighting", animation: "shake" },
|
|
5301
|
+
{ id: "shocked", name: "Gohan Shocked", animation: "pop" },
|
|
5302
|
+
{ id: "crying", name: "Gohan Crying", animation: "wiggle" },
|
|
5303
|
+
{ id: "thumbs_up", name: "Gohan Thumbs Up", animation: "bounce" },
|
|
5304
|
+
{ id: "protective", name: "Gohan Protective", animation: "pulse" }
|
|
5305
|
+
]
|
|
5306
|
+
},
|
|
5307
|
+
{
|
|
5308
|
+
id: "db_piccolo",
|
|
5309
|
+
name: "Piccolo (Dragon Ball)",
|
|
5310
|
+
thumbnail: "crossed_arms",
|
|
5311
|
+
stickers: [
|
|
5312
|
+
{ id: "meditate", name: "Piccolo Meditating", animation: "wiggle" },
|
|
5313
|
+
{ id: "special_beam", name: "Special Beam Cannon", animation: "pulse" },
|
|
5314
|
+
{ id: "orange_power", name: "Orange Piccolo", animation: "shake" },
|
|
5315
|
+
{ id: "crossed_arms", name: "Piccolo Crossed Arms", animation: "wiggle" },
|
|
5316
|
+
{ id: "cape_throw", name: "Cape Throw", animation: "pop" },
|
|
5317
|
+
{ id: "angry", name: "Piccolo Angry", animation: "shake" },
|
|
5318
|
+
{ id: "smirk", name: "Piccolo Smirk", animation: "wiggle" },
|
|
5319
|
+
{ id: "regeneration", name: "Regeneration", animation: "pulse" },
|
|
5320
|
+
{ id: "surprised", name: "Piccolo Surprised", animation: "pop" },
|
|
5321
|
+
{ id: "paternal", name: "Piccolo Proud", animation: "wiggle" }
|
|
5322
|
+
]
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
id: "db_bulma",
|
|
5326
|
+
name: "Bulma (Dragon Ball)",
|
|
5327
|
+
thumbnail: "radar",
|
|
5328
|
+
stickers: [
|
|
5329
|
+
{ id: "radar", name: "Bulma Radar", animation: "wiggle" },
|
|
5330
|
+
{ id: "angry", name: "Bulma Angry", animation: "shake" },
|
|
5331
|
+
{ id: "happy", name: "Bulma Happy", animation: "bounce" },
|
|
5332
|
+
{ id: "thinking", name: "Bulma Thinking", animation: "wiggle" },
|
|
5333
|
+
{ id: "shocked", name: "Bulma Shocked", animation: "pop" },
|
|
5334
|
+
{ id: "smirk", name: "Bulma Smirk", animation: "wiggle" },
|
|
5335
|
+
{ id: "sigh", name: "Bulma Sigh", animation: "wiggle" },
|
|
5336
|
+
{ id: "scared", name: "Bulma Scared", animation: "pop" },
|
|
5337
|
+
{ id: "drinking", name: "Bulma Coffee", animation: "bounce" },
|
|
5338
|
+
{ id: "waving", name: "Bulma Waving", animation: "bounce" }
|
|
5339
|
+
]
|
|
5340
|
+
},
|
|
5341
|
+
{
|
|
5342
|
+
id: "db_trunks",
|
|
5343
|
+
name: "Future Trunks (Dragon Ball)",
|
|
5344
|
+
thumbnail: "sword_ready",
|
|
5345
|
+
stickers: [
|
|
5346
|
+
{ id: "sword_ready", name: "Trunks Sword Ready", animation: "pulse" },
|
|
5347
|
+
{ id: "rage_scream", name: "Super Saiyan Rage", animation: "shake" },
|
|
5348
|
+
{ id: "burning_attack", name: "Burning Attack", animation: "pulse" },
|
|
5349
|
+
{ id: "sad", name: "Trunks Sad", animation: "wiggle" },
|
|
5350
|
+
{ id: "happy", name: "Trunks Happy", animation: "bounce" },
|
|
5351
|
+
{ id: "fight_stance", name: "Trunks Fighting", animation: "shake" },
|
|
5352
|
+
{ id: "sword_slash", name: "Sword Slash", animation: "pulse" },
|
|
5353
|
+
{ id: "shocked", name: "Trunks Shocked", animation: "pop" },
|
|
5354
|
+
{ id: "determined", name: "Trunks Determined", animation: "wiggle" },
|
|
5355
|
+
{ id: "salute", name: "Trunks Salute", animation: "bounce" }
|
|
5356
|
+
]
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
id: "db_android17",
|
|
5360
|
+
name: "Android 17 (Dragon Ball)",
|
|
5361
|
+
thumbnail: "ranger",
|
|
5362
|
+
stickers: [
|
|
5363
|
+
{ id: "ranger", name: "Ranger 17", animation: "wiggle" },
|
|
5364
|
+
{ id: "shield", name: "Android Barrier", animation: "pulse" },
|
|
5365
|
+
{ id: "calm", name: "Android 17 Calm", animation: "wiggle" },
|
|
5366
|
+
{ id: "angry", name: "Android 17 Angry", animation: "shake" },
|
|
5367
|
+
{ id: "happy", name: "Android 17 Happy", animation: "bounce" },
|
|
5368
|
+
{ id: "fight", name: "Android 17 Fighting", animation: "shake" },
|
|
5369
|
+
{ id: "injured", name: "Android 17 Injured", animation: "wiggle" },
|
|
5370
|
+
{ id: "wink", name: "Android 17 Wink", animation: "pop" },
|
|
5371
|
+
{ id: "barrier_blast", name: "Barrier Blast", animation: "pulse" },
|
|
5372
|
+
{ id: "meditating", name: "Android 17 Meditating", animation: "wiggle" }
|
|
5373
|
+
]
|
|
5374
|
+
},
|
|
5375
|
+
{
|
|
5376
|
+
id: "db_android18",
|
|
5377
|
+
name: "Android 18 (Dragon Ball)",
|
|
5378
|
+
thumbnail: "hair_flip",
|
|
5379
|
+
stickers: [
|
|
5380
|
+
{ id: "hair_flip", name: "Android 18 Hair Flip", animation: "wiggle" },
|
|
5381
|
+
{ id: "happy", name: "Android 18 Happy", animation: "bounce" },
|
|
5382
|
+
{ id: "fight", name: "Android 18 Fighting", animation: "shake" },
|
|
5383
|
+
{ id: "glare", name: "Android 18 Glare", animation: "pulse" },
|
|
5384
|
+
{ id: "wink", name: "Android 18 Wink", animation: "pop" },
|
|
5385
|
+
{ id: "bored", name: "Android 18 Bored", animation: "wiggle" },
|
|
5386
|
+
{ id: "angry", name: "Android 18 Angry", animation: "shake" },
|
|
5387
|
+
{ id: "shopping", name: "Android 18 Shopping", animation: "bounce" },
|
|
5388
|
+
{ id: "injured", name: "Android 18 Injured", animation: "wiggle" },
|
|
5389
|
+
{ id: "meditating", name: "Android 18 Meditating", animation: "wiggle" }
|
|
5390
|
+
]
|
|
5391
|
+
},
|
|
5392
|
+
{
|
|
5393
|
+
id: "db_krillin",
|
|
5394
|
+
name: "Krillin (Dragon Ball)",
|
|
5395
|
+
thumbnail: "destructo_disk",
|
|
5396
|
+
stickers: [
|
|
5397
|
+
{ id: "destructo_disk", name: "Destructo Disk", animation: "pulse" },
|
|
5398
|
+
{ id: "fight", name: "Krillin Fighting", animation: "shake" },
|
|
5399
|
+
{ id: "solar_flare", name: "Solar Flare", animation: "pulse" },
|
|
5400
|
+
{ id: "happy", name: "Krillin Happy", animation: "bounce" },
|
|
5401
|
+
{ id: "shocked", name: "Krillin Shocked", animation: "pop" },
|
|
5402
|
+
{ id: "injured", name: "Krillin Injured", animation: "wiggle" },
|
|
5403
|
+
{ id: "kamehameha", name: "Krillin Kamehameha", animation: "pulse" },
|
|
5404
|
+
{ id: "love", name: "Krillin Love", animation: "bounce" },
|
|
5405
|
+
{ id: "serious", name: "Krillin Serious", animation: "pulse" },
|
|
5406
|
+
{ id: "zen", name: "Krillin Meditating", animation: "wiggle" }
|
|
5407
|
+
]
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
id: "db_roshi",
|
|
5411
|
+
name: "Master Roshi (Dragon Ball)",
|
|
5412
|
+
thumbnail: "peace",
|
|
5413
|
+
stickers: [
|
|
5414
|
+
{ id: "peace", name: "Roshi Peace", animation: "bounce" },
|
|
5415
|
+
{ id: "fight", name: "Roshi Fighting", animation: "shake" },
|
|
5416
|
+
{ id: "buff", name: "Roshi Max Power", animation: "pulse" },
|
|
5417
|
+
{ id: "nosebleed", name: "Roshi Nosebleed", animation: "bounce" },
|
|
5418
|
+
{ id: "kamehameha", name: "Roshi Kamehameha", animation: "pulse" },
|
|
5419
|
+
{ id: "laughing", name: "Roshi Laughing", animation: "bounce" },
|
|
5420
|
+
{ id: "wink", name: "Roshi Wink", animation: "pop" },
|
|
5421
|
+
{ id: "peace_v2", name: "Roshi Cool", animation: "bounce" },
|
|
5422
|
+
{ id: "thinking", name: "Roshi Thinking", animation: "wiggle" },
|
|
5423
|
+
{ id: "sleeping", name: "Roshi Sleeping", animation: "wiggle" }
|
|
5424
|
+
]
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
id: "db_zamasu",
|
|
5428
|
+
name: "Zamasu (Dragon Ball)",
|
|
5429
|
+
thumbnail: "sinister",
|
|
5430
|
+
stickers: [
|
|
5431
|
+
{ id: "sinister", name: "Zamasu Sinister", animation: "pulse" },
|
|
5432
|
+
{ id: "god_stance", name: "Zamasu God Stance", animation: "wiggle" },
|
|
5433
|
+
{ id: "holy_wrath", name: "Holy Wrath", animation: "pulse" },
|
|
5434
|
+
{ id: "fusion_prep", name: "Potara Fusion Prep", animation: "pop" },
|
|
5435
|
+
{ id: "tears", name: "Holy Tears", animation: "wiggle" },
|
|
5436
|
+
{ id: "shocked", name: "Zamasu Shocked", animation: "shake" },
|
|
5437
|
+
{ id: "blade", name: "Zamasu Ki Blade", animation: "shake" },
|
|
5438
|
+
{ id: "laughing", name: "Zamasu Laughing", animation: "bounce" },
|
|
5439
|
+
{ id: "injured", name: "Zamasu Corrupted", animation: "shake" },
|
|
5440
|
+
{ id: "happy", name: "Zamasu Smug", animation: "bounce" }
|
|
5441
|
+
]
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
id: "db_whis",
|
|
5445
|
+
name: "Whis (Dragon Ball)",
|
|
5446
|
+
thumbnail: "eating",
|
|
5447
|
+
stickers: [
|
|
5448
|
+
{ id: "eating", name: "Whis Eating", animation: "bounce" },
|
|
5449
|
+
{ id: "laughing", name: "Whis Laughing", animation: "bounce" },
|
|
5450
|
+
{ id: "shocked", name: "Whis Shocked", animation: "pop" },
|
|
5451
|
+
{ id: "calm", name: "Whis Calm", animation: "wiggle" },
|
|
5452
|
+
{ id: "wink", name: "Whis Wink", animation: "pop" },
|
|
5453
|
+
{ id: "pointing", name: "Whis Pointing", animation: "wiggle" },
|
|
5454
|
+
{ id: "yawning", name: "Whis Yawning", animation: "wiggle" },
|
|
5455
|
+
{ id: "dodging", name: "Whis Dodging", animation: "shake" },
|
|
5456
|
+
{ id: "sleeping", name: "Whis Sleeping", animation: "wiggle" },
|
|
5457
|
+
{ id: "sushi", name: "Whis Sushi", animation: "bounce" },
|
|
5458
|
+
{ id: "tea", name: "Whis Tea", animation: "bounce" }
|
|
5459
|
+
]
|
|
5460
|
+
},
|
|
5461
|
+
{
|
|
5462
|
+
id: "db_shin",
|
|
5463
|
+
name: "Shin (Dragon Ball)",
|
|
5464
|
+
thumbnail: "shocked",
|
|
5465
|
+
stickers: [
|
|
5466
|
+
{ id: "shocked", name: "Shin Shocked", animation: "shake" },
|
|
5467
|
+
{ id: "fight", name: "Shin Fighting", animation: "shake" },
|
|
5468
|
+
{ id: "telekinesis", name: "Shin Telekinesis", animation: "pulse" },
|
|
5469
|
+
{ id: "happy", name: "Shin Happy", animation: "bounce" },
|
|
5470
|
+
{ id: "scared", name: "Shin Scared", animation: "shake" },
|
|
5471
|
+
{ id: "thinking", name: "Shin Thinking", animation: "wiggle" },
|
|
5472
|
+
{ id: "potara", name: "Shin Potara", animation: "pop" },
|
|
5473
|
+
{ id: "katchin", name: "Shin Katchin", animation: "bounce" },
|
|
5474
|
+
{ id: "angry", name: "Shin Angry", animation: "shake" },
|
|
5475
|
+
{ id: "zen", name: "Shin Meditating", animation: "wiggle" }
|
|
5476
|
+
]
|
|
5212
5477
|
}
|
|
5213
5478
|
];
|
|
5214
5479
|
|
|
@@ -5492,7 +5757,8 @@ var TagInput = (0, import_react10.forwardRef)(
|
|
|
5492
5757
|
loading: loading2 = false,
|
|
5493
5758
|
maxTags,
|
|
5494
5759
|
maxVisibleTags,
|
|
5495
|
-
labels
|
|
5760
|
+
labels,
|
|
5761
|
+
borderMode
|
|
5496
5762
|
}, ref) => {
|
|
5497
5763
|
const [inputValue, setInputValue] = (0, import_react10.useState)("");
|
|
5498
5764
|
const gi18n = useGlobalI18n();
|
|
@@ -5511,21 +5777,21 @@ var TagInput = (0, import_react10.forwardRef)(
|
|
|
5511
5777
|
const moreLabel = labels?.moreCount?.replace("{count}", String(hiddenCount)) ?? `+${hiddenCount} more`;
|
|
5512
5778
|
const sizeStyles8 = {
|
|
5513
5779
|
sm: {
|
|
5514
|
-
container: "min-h-8 p-1.5 gap-1
|
|
5780
|
+
container: "min-h-8 p-1.5 gap-1",
|
|
5515
5781
|
input: "text-xs",
|
|
5516
5782
|
tag: "px-1.5 py-0.5 text-xs gap-1 rounded-full",
|
|
5517
5783
|
tagIcon: "h-3 w-3",
|
|
5518
5784
|
button: "h-7 text-xs px-2"
|
|
5519
5785
|
},
|
|
5520
5786
|
md: {
|
|
5521
|
-
container: "min-h-10 p-2 gap-1.5
|
|
5787
|
+
container: "min-h-10 p-2 gap-1.5",
|
|
5522
5788
|
input: "text-sm",
|
|
5523
5789
|
tag: "px-2 py-1 text-sm gap-1.5 rounded-full",
|
|
5524
5790
|
tagIcon: "h-3.5 w-3.5",
|
|
5525
5791
|
button: "h-9 text-sm px-3"
|
|
5526
5792
|
},
|
|
5527
5793
|
lg: {
|
|
5528
|
-
container: "min-h-12 p-2.5 gap-2
|
|
5794
|
+
container: "min-h-12 p-2.5 gap-2",
|
|
5529
5795
|
input: "text-base",
|
|
5530
5796
|
tag: "px-2.5 py-1.5 text-base gap-2 rounded-full",
|
|
5531
5797
|
tagIcon: "h-4 w-4",
|
|
@@ -5621,6 +5887,7 @@ var TagInput = (0, import_react10.forwardRef)(
|
|
|
5621
5887
|
"bg-background border border-input",
|
|
5622
5888
|
"transition-all duration-200",
|
|
5623
5889
|
"hover:border-accent-foreground/20",
|
|
5890
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
5624
5891
|
isFocused && "ring-1 ring-ring ring-offset-1 ring-offset-background border-transparent shadow-md",
|
|
5625
5892
|
disabled && "opacity-50 cursor-not-allowed",
|
|
5626
5893
|
sizeStyles8[size].container
|
|
@@ -8779,6 +9046,7 @@ var Combobox = ({
|
|
|
8779
9046
|
fontBold = false,
|
|
8780
9047
|
loading: loading2 = false,
|
|
8781
9048
|
loadingText: loadingTextProp,
|
|
9049
|
+
borderMode,
|
|
8782
9050
|
showSelectedIcon = true,
|
|
8783
9051
|
maxHeight = 280,
|
|
8784
9052
|
groupBy,
|
|
@@ -9149,7 +9417,7 @@ var Combobox = ({
|
|
|
9149
9417
|
filled: "border-0 bg-muted/50 hover:bg-muted/80"
|
|
9150
9418
|
};
|
|
9151
9419
|
const labelSize = size === "sm" ? "text-xs" : size === "lg" ? "text-base" : "text-sm";
|
|
9152
|
-
const radiusClass = "
|
|
9420
|
+
const radiusClass = getBorderRadiusClass(borderMode ?? "full");
|
|
9153
9421
|
const verticalGap = size === "sm" ? "space-y-1.5" : "space-y-2";
|
|
9154
9422
|
const triggerButtonBaseProps = {
|
|
9155
9423
|
ref: triggerRef,
|
|
@@ -10039,7 +10307,8 @@ var DatePicker = ({
|
|
|
10039
10307
|
weekdayLabels,
|
|
10040
10308
|
disablePastDates = false,
|
|
10041
10309
|
minDate,
|
|
10042
|
-
maxDate
|
|
10310
|
+
maxDate,
|
|
10311
|
+
borderMode
|
|
10043
10312
|
}) => {
|
|
10044
10313
|
const t = useSmartTranslations("DatePicker");
|
|
10045
10314
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -10577,7 +10846,7 @@ var DatePicker = ({
|
|
|
10577
10846
|
"aria-invalid": !!effectiveError,
|
|
10578
10847
|
className: cn(
|
|
10579
10848
|
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
10580
|
-
"
|
|
10849
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
10581
10850
|
sizeStyles8[size].trigger,
|
|
10582
10851
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
10583
10852
|
"border-border/60 hover:border-primary/40",
|
|
@@ -10687,7 +10956,8 @@ var DateRangePicker = ({
|
|
|
10687
10956
|
minDate,
|
|
10688
10957
|
maxDate,
|
|
10689
10958
|
size = "md",
|
|
10690
|
-
disabled = false
|
|
10959
|
+
disabled = false,
|
|
10960
|
+
borderMode
|
|
10691
10961
|
}) => {
|
|
10692
10962
|
const locale = useSmartLocale();
|
|
10693
10963
|
const t = useSmartTranslations("DatePicker");
|
|
@@ -11327,7 +11597,8 @@ var DateRangePicker = ({
|
|
|
11327
11597
|
"aria-required": required,
|
|
11328
11598
|
"aria-invalid": !!effectiveError,
|
|
11329
11599
|
className: cn(
|
|
11330
|
-
"group flex w-full items-center justify-between
|
|
11600
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
11601
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
11331
11602
|
sizeStyles8[size].trigger,
|
|
11332
11603
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
11333
11604
|
"border-border/60 hover:border-primary/40",
|
|
@@ -11707,7 +11978,8 @@ var LunarDatePicker = ({
|
|
|
11707
11978
|
weekdayLabels,
|
|
11708
11979
|
disablePastDates = false,
|
|
11709
11980
|
minDate,
|
|
11710
|
-
maxDate
|
|
11981
|
+
maxDate,
|
|
11982
|
+
borderMode
|
|
11711
11983
|
}) => {
|
|
11712
11984
|
const t = useSmartTranslations("DatePicker");
|
|
11713
11985
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -12256,7 +12528,7 @@ var LunarDatePicker = ({
|
|
|
12256
12528
|
"aria-invalid": !!effectiveError,
|
|
12257
12529
|
className: cn(
|
|
12258
12530
|
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
12259
|
-
"
|
|
12531
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
12260
12532
|
sizeStyles8[size].trigger,
|
|
12261
12533
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
12262
12534
|
"border-border/60 hover:border-primary/40",
|
|
@@ -12372,7 +12644,8 @@ var LunarDateRangePicker = ({
|
|
|
12372
12644
|
minDate,
|
|
12373
12645
|
maxDate,
|
|
12374
12646
|
size = "md",
|
|
12375
|
-
disabled = false
|
|
12647
|
+
disabled = false,
|
|
12648
|
+
borderMode
|
|
12376
12649
|
}) => {
|
|
12377
12650
|
const locale = useSmartLocale();
|
|
12378
12651
|
const t = useSmartTranslations("DatePicker");
|
|
@@ -12875,7 +13148,8 @@ var LunarDateRangePicker = ({
|
|
|
12875
13148
|
"aria-required": required,
|
|
12876
13149
|
"aria-invalid": !!effectiveError,
|
|
12877
13150
|
className: cn(
|
|
12878
|
-
"group flex w-full items-center justify-between
|
|
13151
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
13152
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
12879
13153
|
sizeStyles8[size].trigger,
|
|
12880
13154
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
12881
13155
|
"border-border/60 hover:border-primary/40",
|
|
@@ -13394,6 +13668,7 @@ function MonthYearPicker({
|
|
|
13394
13668
|
showThisMonth = true,
|
|
13395
13669
|
columnLabels = { month: "Month", year: "Year" },
|
|
13396
13670
|
className,
|
|
13671
|
+
borderMode,
|
|
13397
13672
|
...rest
|
|
13398
13673
|
}) {
|
|
13399
13674
|
const gi18n = useGlobalI18n();
|
|
@@ -13553,7 +13828,8 @@ function MonthYearPicker({
|
|
|
13553
13828
|
"aria-required": required,
|
|
13554
13829
|
"aria-invalid": !!effectiveError,
|
|
13555
13830
|
className: cn(
|
|
13556
|
-
"group flex w-full items-center justify-between
|
|
13831
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
13832
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
13557
13833
|
sz.height,
|
|
13558
13834
|
sz.padding,
|
|
13559
13835
|
sz.text,
|
|
@@ -14918,6 +15194,7 @@ function TimePicker({
|
|
|
14918
15194
|
onOpen,
|
|
14919
15195
|
onClose,
|
|
14920
15196
|
className,
|
|
15197
|
+
borderMode,
|
|
14921
15198
|
...rest
|
|
14922
15199
|
}) {
|
|
14923
15200
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -15258,7 +15535,8 @@ function TimePicker({
|
|
|
15258
15535
|
"aria-required": required,
|
|
15259
15536
|
"aria-invalid": !!effectiveError,
|
|
15260
15537
|
className: cn(
|
|
15261
|
-
"group flex w-full items-center justify-between
|
|
15538
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
15539
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
15262
15540
|
sz.height,
|
|
15263
15541
|
sz.padding,
|
|
15264
15542
|
sz.text,
|
|
@@ -15738,7 +16016,8 @@ var DateTimePicker = ({
|
|
|
15738
16016
|
required,
|
|
15739
16017
|
doneLabel,
|
|
15740
16018
|
clearLabel,
|
|
15741
|
-
size = "md"
|
|
16019
|
+
size = "md",
|
|
16020
|
+
borderMode
|
|
15742
16021
|
}) => {
|
|
15743
16022
|
const t = useSmartTranslations("DateTimePicker");
|
|
15744
16023
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -15918,7 +16197,8 @@ var DateTimePicker = ({
|
|
|
15918
16197
|
"aria-required": required,
|
|
15919
16198
|
"aria-invalid": !!effectiveError,
|
|
15920
16199
|
className: cn(
|
|
15921
|
-
"flex w-full items-center justify-between
|
|
16200
|
+
"flex w-full items-center justify-between border border-input bg-background",
|
|
16201
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
15922
16202
|
sizeStyles8[size].trigger,
|
|
15923
16203
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
15924
16204
|
disabled && "opacity-50 cursor-not-allowed",
|
|
@@ -18963,6 +19243,7 @@ var MultiCombobox = ({
|
|
|
18963
19243
|
loading: loading2 = false,
|
|
18964
19244
|
loadingText: loadingTextProp,
|
|
18965
19245
|
emptyText: emptyTextProp,
|
|
19246
|
+
borderMode,
|
|
18966
19247
|
showSelectedIcons = true,
|
|
18967
19248
|
maxHeight = 280,
|
|
18968
19249
|
groupBy,
|
|
@@ -19376,7 +19657,8 @@ var MultiCombobox = ({
|
|
|
19376
19657
|
"aria-required": required,
|
|
19377
19658
|
"aria-invalid": !!effectiveError,
|
|
19378
19659
|
className: cn(
|
|
19379
|
-
"group flex w-full items-center gap-2
|
|
19660
|
+
"group flex w-full items-center gap-2 transition-all duration-200",
|
|
19661
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
19380
19662
|
sizeStyles8[size].trigger,
|
|
19381
19663
|
variantStyles6[variant],
|
|
19382
19664
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary",
|
|
@@ -19570,6 +19852,7 @@ var RadioGroup = React46.forwardRef(
|
|
|
19570
19852
|
orientation = "vertical",
|
|
19571
19853
|
size = "md",
|
|
19572
19854
|
variant = "default",
|
|
19855
|
+
borderMode,
|
|
19573
19856
|
className,
|
|
19574
19857
|
children,
|
|
19575
19858
|
required = false,
|
|
@@ -19598,7 +19881,8 @@ var RadioGroup = React46.forwardRef(
|
|
|
19598
19881
|
name: radioName,
|
|
19599
19882
|
disabled,
|
|
19600
19883
|
size,
|
|
19601
|
-
variant
|
|
19884
|
+
variant,
|
|
19885
|
+
borderMode
|
|
19602
19886
|
},
|
|
19603
19887
|
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "space-y-2", children: [
|
|
19604
19888
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
@@ -19647,7 +19931,7 @@ var sizeStyles7 = {
|
|
|
19647
19931
|
};
|
|
19648
19932
|
var RadioGroupItem = React46.forwardRef(
|
|
19649
19933
|
({ value, id, disabled, className, children, label, labelClassName, description, icon }, ref) => {
|
|
19650
|
-
const { value: selectedValue, onValueChange, name, disabled: groupDisabled, size = "md", variant = "default" } = useRadioGroup();
|
|
19934
|
+
const { value: selectedValue, onValueChange, name, disabled: groupDisabled, size = "md", variant = "default", borderMode } = useRadioGroup();
|
|
19651
19935
|
const isDisabled = disabled || groupDisabled;
|
|
19652
19936
|
const isSelected = selectedValue === value;
|
|
19653
19937
|
const Icon = icon;
|
|
@@ -19657,7 +19941,8 @@ var RadioGroupItem = React46.forwardRef(
|
|
|
19657
19941
|
"div",
|
|
19658
19942
|
{
|
|
19659
19943
|
className: cn(
|
|
19660
|
-
"relative
|
|
19944
|
+
"relative border transition-all duration-200 cursor-pointer",
|
|
19945
|
+
getBorderRadiusClass(borderMode ?? "xl"),
|
|
19661
19946
|
"hover:bg-accent/50 focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
19662
19947
|
isSelected && "border-primary bg-primary/5 ring-1 ring-primary/20",
|
|
19663
19948
|
isDisabled && "cursor-not-allowed opacity-50",
|
|
@@ -19732,7 +20017,8 @@ var RadioGroupItem = React46.forwardRef(
|
|
|
19732
20017
|
id: radioId,
|
|
19733
20018
|
disabled: isDisabled,
|
|
19734
20019
|
className: cn(
|
|
19735
|
-
"inline-flex items-center justify-center gap-2
|
|
20020
|
+
"inline-flex items-center justify-center gap-2 border font-medium transition-all duration-200",
|
|
20021
|
+
getBorderRadiusClass(borderMode ?? "lg"),
|
|
19736
20022
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
19737
20023
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
19738
20024
|
isSelected ? "border-primary bg-primary text-primary-foreground shadow-sm" : "border-border/50 bg-background hover:bg-accent hover:text-accent-foreground",
|
|
@@ -20847,7 +21133,8 @@ function CategoryTreeSelect(props) {
|
|
|
20847
21133
|
baseIndent = TREE_NODE_BASE_PADDING_REM,
|
|
20848
21134
|
indentSize = TREE_NODE_INDENT_REM,
|
|
20849
21135
|
renderItemActions,
|
|
20850
|
-
singleSelect = false
|
|
21136
|
+
singleSelect = false,
|
|
21137
|
+
borderMode
|
|
20851
21138
|
} = props;
|
|
20852
21139
|
const [isOpen, setIsOpen] = (0, import_react26.useState)(false);
|
|
20853
21140
|
const [expandedNodes, setExpandedNodes] = (0, import_react26.useState)(
|
|
@@ -21535,7 +21822,8 @@ function CategoryTreeSelect(props) {
|
|
|
21535
21822
|
}
|
|
21536
21823
|
},
|
|
21537
21824
|
className: cn(
|
|
21538
|
-
"group flex w-full items-center justify-between
|
|
21825
|
+
"group flex w-full items-center justify-between transition-all duration-200",
|
|
21826
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
21539
21827
|
"backdrop-blur-sm",
|
|
21540
21828
|
triggerSizeStyles[size].button,
|
|
21541
21829
|
triggerVariantStyles[variant],
|
|
@@ -24094,6 +24382,7 @@ function ColorPicker({
|
|
|
24094
24382
|
showRecent = false,
|
|
24095
24383
|
showHarmony = false,
|
|
24096
24384
|
maxRecent = 8,
|
|
24385
|
+
borderMode,
|
|
24097
24386
|
...rest
|
|
24098
24387
|
}) {
|
|
24099
24388
|
const gi18n = useGlobalI18n();
|
|
@@ -24192,7 +24481,8 @@ function ColorPicker({
|
|
|
24192
24481
|
type: "button",
|
|
24193
24482
|
disabled,
|
|
24194
24483
|
className: cn(
|
|
24195
|
-
"w-full px-3
|
|
24484
|
+
"w-full px-3 border border-input bg-background flex items-center justify-between",
|
|
24485
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
24196
24486
|
sizeClasses2[size],
|
|
24197
24487
|
"hover:border-accent-foreground/30 transition-colors",
|
|
24198
24488
|
disabled && "opacity-50 cursor-not-allowed",
|