@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/dist/index.js
CHANGED
|
@@ -52,6 +52,26 @@ function cn(...inputs) {
|
|
|
52
52
|
|
|
53
53
|
// src/components/Button.tsx
|
|
54
54
|
import { Activity } from "lucide-react";
|
|
55
|
+
|
|
56
|
+
// src/utils/radius.ts
|
|
57
|
+
var STANDARD_BORDER_MODES = ["none", "sm", "md", "lg", "xl", "2xl", "3xl", "full"];
|
|
58
|
+
var CUSTOM_BORDER_MAP = {
|
|
59
|
+
daewoo: "rounded-2xl",
|
|
60
|
+
infiniq: "rounded-full"
|
|
61
|
+
};
|
|
62
|
+
var BORDER_MODE_DOCS_TYPE = `"${STANDARD_BORDER_MODES.join('" | "')}" | "${Object.keys(CUSTOM_BORDER_MAP).join('" | "')}"`;
|
|
63
|
+
function getBorderRadiusClass(borderMode = "full") {
|
|
64
|
+
if (!borderMode) return "rounded-full";
|
|
65
|
+
if (borderMode in CUSTOM_BORDER_MAP) {
|
|
66
|
+
return CUSTOM_BORDER_MAP[borderMode];
|
|
67
|
+
}
|
|
68
|
+
if (STANDARD_BORDER_MODES.includes(borderMode)) {
|
|
69
|
+
return `rounded-${borderMode}`;
|
|
70
|
+
}
|
|
71
|
+
return borderMode;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// src/components/Button.tsx
|
|
55
75
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
56
76
|
var Button = forwardRef(
|
|
57
77
|
({
|
|
@@ -78,9 +98,10 @@ var Button = forwardRef(
|
|
|
78
98
|
noWrap = true,
|
|
79
99
|
noHoverOverlay = false,
|
|
80
100
|
gradient = false,
|
|
101
|
+
borderMode,
|
|
81
102
|
...rest
|
|
82
103
|
}, ref) => {
|
|
83
|
-
const baseStyles = asContainer ? "relative inline-flex justify-center
|
|
104
|
+
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";
|
|
84
105
|
const finalVariant = gradient ? "gradient" : variant;
|
|
85
106
|
const variantStyle = VARIANT_STYLES_BTN[finalVariant] || VARIANT_STYLES_BTN.default;
|
|
86
107
|
const sizeStyle = SIZE_STYLES_BTN[size] || SIZE_STYLES_BTN.md;
|
|
@@ -123,6 +144,7 @@ var Button = forwardRef(
|
|
|
123
144
|
title,
|
|
124
145
|
className: cn(
|
|
125
146
|
baseStyles,
|
|
147
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
126
148
|
variantStyle,
|
|
127
149
|
sizeStyle,
|
|
128
150
|
"group",
|
|
@@ -2796,6 +2818,7 @@ var Input = forwardRef3(
|
|
|
2796
2818
|
value,
|
|
2797
2819
|
maxLength,
|
|
2798
2820
|
rightAddon,
|
|
2821
|
+
borderMode,
|
|
2799
2822
|
...rest
|
|
2800
2823
|
}, ref) => {
|
|
2801
2824
|
const [localError, setLocalError] = useState4(error);
|
|
@@ -2887,6 +2910,7 @@ var Input = forwardRef3(
|
|
|
2887
2910
|
hint: _hint,
|
|
2888
2911
|
counter: _counter,
|
|
2889
2912
|
rightAddon: _rightAddon,
|
|
2913
|
+
borderMode: _borderMode,
|
|
2890
2914
|
...restInput
|
|
2891
2915
|
} = rest;
|
|
2892
2916
|
const handleFocus = (e) => {
|
|
@@ -2897,7 +2921,7 @@ var Input = forwardRef3(
|
|
|
2897
2921
|
setIsFocused(false);
|
|
2898
2922
|
onBlurProp?.(e);
|
|
2899
2923
|
};
|
|
2900
|
-
const radiusClass =
|
|
2924
|
+
const radiusClass = getBorderRadiusClass(borderMode ?? "full");
|
|
2901
2925
|
return /* @__PURE__ */ jsxs5("div", { className: cn("w-full group", containerSpacing), children: [
|
|
2902
2926
|
label && /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
|
|
2903
2927
|
/* @__PURE__ */ jsxs5(
|
|
@@ -3277,6 +3301,7 @@ var Textarea = forwardRef3(
|
|
|
3277
3301
|
required,
|
|
3278
3302
|
value,
|
|
3279
3303
|
maxLength,
|
|
3304
|
+
borderMode,
|
|
3280
3305
|
...props
|
|
3281
3306
|
}, ref) => {
|
|
3282
3307
|
const [isFocused, setIsFocused] = useState4(false);
|
|
@@ -3356,7 +3381,8 @@ var Textarea = forwardRef3(
|
|
|
3356
3381
|
onFocus: () => setIsFocused(true),
|
|
3357
3382
|
onBlur: () => setIsFocused(false),
|
|
3358
3383
|
className: cn(
|
|
3359
|
-
"w-full
|
|
3384
|
+
"w-full text-foreground transition-all duration-200",
|
|
3385
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
3360
3386
|
"placeholder:text-muted-foreground focus:outline-none",
|
|
3361
3387
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
3362
3388
|
sizeStyles8[size],
|
|
@@ -5014,6 +5040,245 @@ var STICKER_PACKS = [
|
|
|
5014
5040
|
{ id: "confident", name: "Goku Black Confident", animation: "bounce" },
|
|
5015
5041
|
{ id: "pointing", name: "Goku Black Pointing", animation: "pulse" }
|
|
5016
5042
|
]
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
id: "db_hit",
|
|
5046
|
+
name: "Hit (Dragon Ball)",
|
|
5047
|
+
thumbnail: "calm",
|
|
5048
|
+
stickers: [
|
|
5049
|
+
{ id: "calm", name: "Hit Calm", animation: "wiggle" },
|
|
5050
|
+
{ id: "time_skip", name: "Hit Time Skip", animation: "pulse" },
|
|
5051
|
+
{ id: "glare", name: "Hit Glare", animation: "pulse" },
|
|
5052
|
+
{ id: "fight_stance", name: "Hit Fight Stance", animation: "shake" },
|
|
5053
|
+
{ id: "adjusting_coat", name: "Hit Adjusting Coat", animation: "wiggle" },
|
|
5054
|
+
{ id: "serious", name: "Hit Serious", animation: "wiggle" },
|
|
5055
|
+
{ id: "assassin", name: "Hit Flash Fist", animation: "pulse" },
|
|
5056
|
+
{ id: "injured", name: "Hit Injured", animation: "wiggle" },
|
|
5057
|
+
{ id: "closed_eyes", name: "Hit Meditating", animation: "wiggle" },
|
|
5058
|
+
{ id: "smirk", name: "Hit Rare Smirk", animation: "bounce" }
|
|
5059
|
+
]
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
id: "db_jiren",
|
|
5063
|
+
name: "Jiren (Dragon Ball)",
|
|
5064
|
+
thumbnail: "crossed_arms",
|
|
5065
|
+
stickers: [
|
|
5066
|
+
{ id: "crossed_arms", name: "Jiren Crossed Arms", animation: "wiggle" },
|
|
5067
|
+
{ id: "glare", name: "Jiren Glare", animation: "pulse" },
|
|
5068
|
+
{ id: "power_up", name: "Jiren Power Up", animation: "shake" },
|
|
5069
|
+
{ id: "punching", name: "Jiren Punching", animation: "shake" },
|
|
5070
|
+
{ id: "meditation", name: "Jiren Meditation", animation: "wiggle" },
|
|
5071
|
+
{ id: "fireball", name: "Jiren Fireball", animation: "pulse" },
|
|
5072
|
+
{ id: "screaming", name: "Jiren Screaming", animation: "shake" },
|
|
5073
|
+
{ id: "shield", name: "Jiren Barrier", animation: "pop" },
|
|
5074
|
+
{ id: "stoic", name: "Jiren Stoic", animation: "wiggle" },
|
|
5075
|
+
{ id: "unfazed", name: "Jiren Unfazed", animation: "bounce" }
|
|
5076
|
+
]
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
id: "db_frieza",
|
|
5080
|
+
name: "Frieza (Dragon Ball)",
|
|
5081
|
+
thumbnail: "golden_pose",
|
|
5082
|
+
stickers: [
|
|
5083
|
+
{ id: "evil_laugh", name: "Frieza Evil Laugh", animation: "bounce" },
|
|
5084
|
+
{ id: "golden_pose", name: "Golden Frieza", animation: "pulse" },
|
|
5085
|
+
{ id: "smirk", name: "Frieza Smirk", animation: "wiggle" },
|
|
5086
|
+
{ id: "death_ball", name: "Death Ball", animation: "pulse" },
|
|
5087
|
+
{ id: "furious", name: "Frieza Furious", animation: "shake" },
|
|
5088
|
+
{ id: "mocking", name: "Frieza Mocking", animation: "bounce" },
|
|
5089
|
+
{ id: "shocked", name: "Frieza Shocked", animation: "pop" },
|
|
5090
|
+
{ id: "kicked", name: "Frieza Pain", animation: "wiggle" },
|
|
5091
|
+
{ id: "telekinesis", name: "Telekinesis", animation: "pulse" },
|
|
5092
|
+
{ id: "sinister_glare", name: "Sinister Glare", animation: "wiggle" }
|
|
5093
|
+
]
|
|
5094
|
+
},
|
|
5095
|
+
{
|
|
5096
|
+
id: "db_gohan",
|
|
5097
|
+
name: "Gohan (Dragon Ball)",
|
|
5098
|
+
thumbnail: "study",
|
|
5099
|
+
stickers: [
|
|
5100
|
+
{ id: "study", name: "Gohan Studying", animation: "wiggle" },
|
|
5101
|
+
{ id: "beast_scream", name: "Gohan Beast", animation: "shake" },
|
|
5102
|
+
{ id: "masenko", name: "Gohan Masenko", animation: "pulse" },
|
|
5103
|
+
{ id: "happy", name: "Gohan Happy", animation: "bounce" },
|
|
5104
|
+
{ id: "mystic_glare", name: "Ultimate Gohan", animation: "pulse" },
|
|
5105
|
+
{ id: "fight_stance", name: "Gohan Fighting", animation: "shake" },
|
|
5106
|
+
{ id: "shocked", name: "Gohan Shocked", animation: "pop" },
|
|
5107
|
+
{ id: "crying", name: "Gohan Crying", animation: "wiggle" },
|
|
5108
|
+
{ id: "thumbs_up", name: "Gohan Thumbs Up", animation: "bounce" },
|
|
5109
|
+
{ id: "protective", name: "Gohan Protective", animation: "pulse" }
|
|
5110
|
+
]
|
|
5111
|
+
},
|
|
5112
|
+
{
|
|
5113
|
+
id: "db_piccolo",
|
|
5114
|
+
name: "Piccolo (Dragon Ball)",
|
|
5115
|
+
thumbnail: "crossed_arms",
|
|
5116
|
+
stickers: [
|
|
5117
|
+
{ id: "meditate", name: "Piccolo Meditating", animation: "wiggle" },
|
|
5118
|
+
{ id: "special_beam", name: "Special Beam Cannon", animation: "pulse" },
|
|
5119
|
+
{ id: "orange_power", name: "Orange Piccolo", animation: "shake" },
|
|
5120
|
+
{ id: "crossed_arms", name: "Piccolo Crossed Arms", animation: "wiggle" },
|
|
5121
|
+
{ id: "cape_throw", name: "Cape Throw", animation: "pop" },
|
|
5122
|
+
{ id: "angry", name: "Piccolo Angry", animation: "shake" },
|
|
5123
|
+
{ id: "smirk", name: "Piccolo Smirk", animation: "wiggle" },
|
|
5124
|
+
{ id: "regeneration", name: "Regeneration", animation: "pulse" },
|
|
5125
|
+
{ id: "surprised", name: "Piccolo Surprised", animation: "pop" },
|
|
5126
|
+
{ id: "paternal", name: "Piccolo Proud", animation: "wiggle" }
|
|
5127
|
+
]
|
|
5128
|
+
},
|
|
5129
|
+
{
|
|
5130
|
+
id: "db_bulma",
|
|
5131
|
+
name: "Bulma (Dragon Ball)",
|
|
5132
|
+
thumbnail: "radar",
|
|
5133
|
+
stickers: [
|
|
5134
|
+
{ id: "radar", name: "Bulma Radar", animation: "wiggle" },
|
|
5135
|
+
{ id: "angry", name: "Bulma Angry", animation: "shake" },
|
|
5136
|
+
{ id: "happy", name: "Bulma Happy", animation: "bounce" },
|
|
5137
|
+
{ id: "thinking", name: "Bulma Thinking", animation: "wiggle" },
|
|
5138
|
+
{ id: "shocked", name: "Bulma Shocked", animation: "pop" },
|
|
5139
|
+
{ id: "smirk", name: "Bulma Smirk", animation: "wiggle" },
|
|
5140
|
+
{ id: "sigh", name: "Bulma Sigh", animation: "wiggle" },
|
|
5141
|
+
{ id: "scared", name: "Bulma Scared", animation: "pop" },
|
|
5142
|
+
{ id: "drinking", name: "Bulma Coffee", animation: "bounce" },
|
|
5143
|
+
{ id: "waving", name: "Bulma Waving", animation: "bounce" }
|
|
5144
|
+
]
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
id: "db_trunks",
|
|
5148
|
+
name: "Future Trunks (Dragon Ball)",
|
|
5149
|
+
thumbnail: "sword_ready",
|
|
5150
|
+
stickers: [
|
|
5151
|
+
{ id: "sword_ready", name: "Trunks Sword Ready", animation: "pulse" },
|
|
5152
|
+
{ id: "rage_scream", name: "Super Saiyan Rage", animation: "shake" },
|
|
5153
|
+
{ id: "burning_attack", name: "Burning Attack", animation: "pulse" },
|
|
5154
|
+
{ id: "sad", name: "Trunks Sad", animation: "wiggle" },
|
|
5155
|
+
{ id: "happy", name: "Trunks Happy", animation: "bounce" },
|
|
5156
|
+
{ id: "fight_stance", name: "Trunks Fighting", animation: "shake" },
|
|
5157
|
+
{ id: "sword_slash", name: "Sword Slash", animation: "pulse" },
|
|
5158
|
+
{ id: "shocked", name: "Trunks Shocked", animation: "pop" },
|
|
5159
|
+
{ id: "determined", name: "Trunks Determined", animation: "wiggle" },
|
|
5160
|
+
{ id: "salute", name: "Trunks Salute", animation: "bounce" }
|
|
5161
|
+
]
|
|
5162
|
+
},
|
|
5163
|
+
{
|
|
5164
|
+
id: "db_android17",
|
|
5165
|
+
name: "Android 17 (Dragon Ball)",
|
|
5166
|
+
thumbnail: "ranger",
|
|
5167
|
+
stickers: [
|
|
5168
|
+
{ id: "ranger", name: "Ranger 17", animation: "wiggle" },
|
|
5169
|
+
{ id: "shield", name: "Android Barrier", animation: "pulse" },
|
|
5170
|
+
{ id: "calm", name: "Android 17 Calm", animation: "wiggle" },
|
|
5171
|
+
{ id: "angry", name: "Android 17 Angry", animation: "shake" },
|
|
5172
|
+
{ id: "happy", name: "Android 17 Happy", animation: "bounce" },
|
|
5173
|
+
{ id: "fight", name: "Android 17 Fighting", animation: "shake" },
|
|
5174
|
+
{ id: "injured", name: "Android 17 Injured", animation: "wiggle" },
|
|
5175
|
+
{ id: "wink", name: "Android 17 Wink", animation: "pop" },
|
|
5176
|
+
{ id: "barrier_blast", name: "Barrier Blast", animation: "pulse" },
|
|
5177
|
+
{ id: "meditating", name: "Android 17 Meditating", animation: "wiggle" }
|
|
5178
|
+
]
|
|
5179
|
+
},
|
|
5180
|
+
{
|
|
5181
|
+
id: "db_android18",
|
|
5182
|
+
name: "Android 18 (Dragon Ball)",
|
|
5183
|
+
thumbnail: "hair_flip",
|
|
5184
|
+
stickers: [
|
|
5185
|
+
{ id: "hair_flip", name: "Android 18 Hair Flip", animation: "wiggle" },
|
|
5186
|
+
{ id: "happy", name: "Android 18 Happy", animation: "bounce" },
|
|
5187
|
+
{ id: "fight", name: "Android 18 Fighting", animation: "shake" },
|
|
5188
|
+
{ id: "glare", name: "Android 18 Glare", animation: "pulse" },
|
|
5189
|
+
{ id: "wink", name: "Android 18 Wink", animation: "pop" },
|
|
5190
|
+
{ id: "bored", name: "Android 18 Bored", animation: "wiggle" },
|
|
5191
|
+
{ id: "angry", name: "Android 18 Angry", animation: "shake" },
|
|
5192
|
+
{ id: "shopping", name: "Android 18 Shopping", animation: "bounce" },
|
|
5193
|
+
{ id: "injured", name: "Android 18 Injured", animation: "wiggle" },
|
|
5194
|
+
{ id: "meditating", name: "Android 18 Meditating", animation: "wiggle" }
|
|
5195
|
+
]
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
id: "db_krillin",
|
|
5199
|
+
name: "Krillin (Dragon Ball)",
|
|
5200
|
+
thumbnail: "destructo_disk",
|
|
5201
|
+
stickers: [
|
|
5202
|
+
{ id: "destructo_disk", name: "Destructo Disk", animation: "pulse" },
|
|
5203
|
+
{ id: "fight", name: "Krillin Fighting", animation: "shake" },
|
|
5204
|
+
{ id: "solar_flare", name: "Solar Flare", animation: "pulse" },
|
|
5205
|
+
{ id: "happy", name: "Krillin Happy", animation: "bounce" },
|
|
5206
|
+
{ id: "shocked", name: "Krillin Shocked", animation: "pop" },
|
|
5207
|
+
{ id: "injured", name: "Krillin Injured", animation: "wiggle" },
|
|
5208
|
+
{ id: "kamehameha", name: "Krillin Kamehameha", animation: "pulse" },
|
|
5209
|
+
{ id: "love", name: "Krillin Love", animation: "bounce" },
|
|
5210
|
+
{ id: "serious", name: "Krillin Serious", animation: "pulse" },
|
|
5211
|
+
{ id: "zen", name: "Krillin Meditating", animation: "wiggle" }
|
|
5212
|
+
]
|
|
5213
|
+
},
|
|
5214
|
+
{
|
|
5215
|
+
id: "db_roshi",
|
|
5216
|
+
name: "Master Roshi (Dragon Ball)",
|
|
5217
|
+
thumbnail: "peace",
|
|
5218
|
+
stickers: [
|
|
5219
|
+
{ id: "peace", name: "Roshi Peace", animation: "bounce" },
|
|
5220
|
+
{ id: "fight", name: "Roshi Fighting", animation: "shake" },
|
|
5221
|
+
{ id: "buff", name: "Roshi Max Power", animation: "pulse" },
|
|
5222
|
+
{ id: "nosebleed", name: "Roshi Nosebleed", animation: "bounce" },
|
|
5223
|
+
{ id: "kamehameha", name: "Roshi Kamehameha", animation: "pulse" },
|
|
5224
|
+
{ id: "laughing", name: "Roshi Laughing", animation: "bounce" },
|
|
5225
|
+
{ id: "wink", name: "Roshi Wink", animation: "pop" },
|
|
5226
|
+
{ id: "peace_v2", name: "Roshi Cool", animation: "bounce" },
|
|
5227
|
+
{ id: "thinking", name: "Roshi Thinking", animation: "wiggle" },
|
|
5228
|
+
{ id: "sleeping", name: "Roshi Sleeping", animation: "wiggle" }
|
|
5229
|
+
]
|
|
5230
|
+
},
|
|
5231
|
+
{
|
|
5232
|
+
id: "db_zamasu",
|
|
5233
|
+
name: "Zamasu (Dragon Ball)",
|
|
5234
|
+
thumbnail: "sinister",
|
|
5235
|
+
stickers: [
|
|
5236
|
+
{ id: "sinister", name: "Zamasu Sinister", animation: "pulse" },
|
|
5237
|
+
{ id: "god_stance", name: "Zamasu God Stance", animation: "wiggle" },
|
|
5238
|
+
{ id: "holy_wrath", name: "Holy Wrath", animation: "pulse" },
|
|
5239
|
+
{ id: "fusion_prep", name: "Potara Fusion Prep", animation: "pop" },
|
|
5240
|
+
{ id: "tears", name: "Holy Tears", animation: "wiggle" },
|
|
5241
|
+
{ id: "shocked", name: "Zamasu Shocked", animation: "shake" },
|
|
5242
|
+
{ id: "blade", name: "Zamasu Ki Blade", animation: "shake" },
|
|
5243
|
+
{ id: "laughing", name: "Zamasu Laughing", animation: "bounce" },
|
|
5244
|
+
{ id: "injured", name: "Zamasu Corrupted", animation: "shake" },
|
|
5245
|
+
{ id: "happy", name: "Zamasu Smug", animation: "bounce" }
|
|
5246
|
+
]
|
|
5247
|
+
},
|
|
5248
|
+
{
|
|
5249
|
+
id: "db_whis",
|
|
5250
|
+
name: "Whis (Dragon Ball)",
|
|
5251
|
+
thumbnail: "eating",
|
|
5252
|
+
stickers: [
|
|
5253
|
+
{ id: "eating", name: "Whis Eating", animation: "bounce" },
|
|
5254
|
+
{ id: "laughing", name: "Whis Laughing", animation: "bounce" },
|
|
5255
|
+
{ id: "shocked", name: "Whis Shocked", animation: "pop" },
|
|
5256
|
+
{ id: "calm", name: "Whis Calm", animation: "wiggle" },
|
|
5257
|
+
{ id: "wink", name: "Whis Wink", animation: "pop" },
|
|
5258
|
+
{ id: "pointing", name: "Whis Pointing", animation: "wiggle" },
|
|
5259
|
+
{ id: "yawning", name: "Whis Yawning", animation: "wiggle" },
|
|
5260
|
+
{ id: "dodging", name: "Whis Dodging", animation: "shake" },
|
|
5261
|
+
{ id: "sleeping", name: "Whis Sleeping", animation: "wiggle" },
|
|
5262
|
+
{ id: "sushi", name: "Whis Sushi", animation: "bounce" },
|
|
5263
|
+
{ id: "tea", name: "Whis Tea", animation: "bounce" }
|
|
5264
|
+
]
|
|
5265
|
+
},
|
|
5266
|
+
{
|
|
5267
|
+
id: "db_shin",
|
|
5268
|
+
name: "Shin (Dragon Ball)",
|
|
5269
|
+
thumbnail: "shocked",
|
|
5270
|
+
stickers: [
|
|
5271
|
+
{ id: "shocked", name: "Shin Shocked", animation: "shake" },
|
|
5272
|
+
{ id: "fight", name: "Shin Fighting", animation: "shake" },
|
|
5273
|
+
{ id: "telekinesis", name: "Shin Telekinesis", animation: "pulse" },
|
|
5274
|
+
{ id: "happy", name: "Shin Happy", animation: "bounce" },
|
|
5275
|
+
{ id: "scared", name: "Shin Scared", animation: "shake" },
|
|
5276
|
+
{ id: "thinking", name: "Shin Thinking", animation: "wiggle" },
|
|
5277
|
+
{ id: "potara", name: "Shin Potara", animation: "pop" },
|
|
5278
|
+
{ id: "katchin", name: "Shin Katchin", animation: "bounce" },
|
|
5279
|
+
{ id: "angry", name: "Shin Angry", animation: "shake" },
|
|
5280
|
+
{ id: "zen", name: "Shin Meditating", animation: "wiggle" }
|
|
5281
|
+
]
|
|
5017
5282
|
}
|
|
5018
5283
|
];
|
|
5019
5284
|
|
|
@@ -5297,7 +5562,8 @@ var TagInput = forwardRef5(
|
|
|
5297
5562
|
loading: loading2 = false,
|
|
5298
5563
|
maxTags,
|
|
5299
5564
|
maxVisibleTags,
|
|
5300
|
-
labels
|
|
5565
|
+
labels,
|
|
5566
|
+
borderMode
|
|
5301
5567
|
}, ref) => {
|
|
5302
5568
|
const [inputValue, setInputValue] = useState8("");
|
|
5303
5569
|
const gi18n = useGlobalI18n();
|
|
@@ -5316,21 +5582,21 @@ var TagInput = forwardRef5(
|
|
|
5316
5582
|
const moreLabel = labels?.moreCount?.replace("{count}", String(hiddenCount)) ?? `+${hiddenCount} more`;
|
|
5317
5583
|
const sizeStyles8 = {
|
|
5318
5584
|
sm: {
|
|
5319
|
-
container: "min-h-8 p-1.5 gap-1
|
|
5585
|
+
container: "min-h-8 p-1.5 gap-1",
|
|
5320
5586
|
input: "text-xs",
|
|
5321
5587
|
tag: "px-1.5 py-0.5 text-xs gap-1 rounded-full",
|
|
5322
5588
|
tagIcon: "h-3 w-3",
|
|
5323
5589
|
button: "h-7 text-xs px-2"
|
|
5324
5590
|
},
|
|
5325
5591
|
md: {
|
|
5326
|
-
container: "min-h-10 p-2 gap-1.5
|
|
5592
|
+
container: "min-h-10 p-2 gap-1.5",
|
|
5327
5593
|
input: "text-sm",
|
|
5328
5594
|
tag: "px-2 py-1 text-sm gap-1.5 rounded-full",
|
|
5329
5595
|
tagIcon: "h-3.5 w-3.5",
|
|
5330
5596
|
button: "h-9 text-sm px-3"
|
|
5331
5597
|
},
|
|
5332
5598
|
lg: {
|
|
5333
|
-
container: "min-h-12 p-2.5 gap-2
|
|
5599
|
+
container: "min-h-12 p-2.5 gap-2",
|
|
5334
5600
|
input: "text-base",
|
|
5335
5601
|
tag: "px-2.5 py-1.5 text-base gap-2 rounded-full",
|
|
5336
5602
|
tagIcon: "h-4 w-4",
|
|
@@ -5426,6 +5692,7 @@ var TagInput = forwardRef5(
|
|
|
5426
5692
|
"bg-background border border-input",
|
|
5427
5693
|
"transition-all duration-200",
|
|
5428
5694
|
"hover:border-accent-foreground/20",
|
|
5695
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
5429
5696
|
isFocused && "ring-1 ring-ring ring-offset-1 ring-offset-background border-transparent shadow-md",
|
|
5430
5697
|
disabled && "opacity-50 cursor-not-allowed",
|
|
5431
5698
|
sizeStyles8[size].container
|
|
@@ -8584,6 +8851,7 @@ var Combobox = ({
|
|
|
8584
8851
|
fontBold = false,
|
|
8585
8852
|
loading: loading2 = false,
|
|
8586
8853
|
loadingText: loadingTextProp,
|
|
8854
|
+
borderMode,
|
|
8587
8855
|
showSelectedIcon = true,
|
|
8588
8856
|
maxHeight = 280,
|
|
8589
8857
|
groupBy,
|
|
@@ -8954,7 +9222,7 @@ var Combobox = ({
|
|
|
8954
9222
|
filled: "border-0 bg-muted/50 hover:bg-muted/80"
|
|
8955
9223
|
};
|
|
8956
9224
|
const labelSize = size === "sm" ? "text-xs" : size === "lg" ? "text-base" : "text-sm";
|
|
8957
|
-
const radiusClass = "
|
|
9225
|
+
const radiusClass = getBorderRadiusClass(borderMode ?? "full");
|
|
8958
9226
|
const verticalGap = size === "sm" ? "space-y-1.5" : "space-y-2";
|
|
8959
9227
|
const triggerButtonBaseProps = {
|
|
8960
9228
|
ref: triggerRef,
|
|
@@ -9844,7 +10112,8 @@ var DatePicker = ({
|
|
|
9844
10112
|
weekdayLabels,
|
|
9845
10113
|
disablePastDates = false,
|
|
9846
10114
|
minDate,
|
|
9847
|
-
maxDate
|
|
10115
|
+
maxDate,
|
|
10116
|
+
borderMode
|
|
9848
10117
|
}) => {
|
|
9849
10118
|
const t = useSmartTranslations("DatePicker");
|
|
9850
10119
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -10382,7 +10651,7 @@ var DatePicker = ({
|
|
|
10382
10651
|
"aria-invalid": !!effectiveError,
|
|
10383
10652
|
className: cn(
|
|
10384
10653
|
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
10385
|
-
"
|
|
10654
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
10386
10655
|
sizeStyles8[size].trigger,
|
|
10387
10656
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
10388
10657
|
"border-border/60 hover:border-primary/40",
|
|
@@ -10492,7 +10761,8 @@ var DateRangePicker = ({
|
|
|
10492
10761
|
minDate,
|
|
10493
10762
|
maxDate,
|
|
10494
10763
|
size = "md",
|
|
10495
|
-
disabled = false
|
|
10764
|
+
disabled = false,
|
|
10765
|
+
borderMode
|
|
10496
10766
|
}) => {
|
|
10497
10767
|
const locale = useSmartLocale();
|
|
10498
10768
|
const t = useSmartTranslations("DatePicker");
|
|
@@ -11132,7 +11402,8 @@ var DateRangePicker = ({
|
|
|
11132
11402
|
"aria-required": required,
|
|
11133
11403
|
"aria-invalid": !!effectiveError,
|
|
11134
11404
|
className: cn(
|
|
11135
|
-
"group flex w-full items-center justify-between
|
|
11405
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
11406
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
11136
11407
|
sizeStyles8[size].trigger,
|
|
11137
11408
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
11138
11409
|
"border-border/60 hover:border-primary/40",
|
|
@@ -11512,7 +11783,8 @@ var LunarDatePicker = ({
|
|
|
11512
11783
|
weekdayLabels,
|
|
11513
11784
|
disablePastDates = false,
|
|
11514
11785
|
minDate,
|
|
11515
|
-
maxDate
|
|
11786
|
+
maxDate,
|
|
11787
|
+
borderMode
|
|
11516
11788
|
}) => {
|
|
11517
11789
|
const t = useSmartTranslations("DatePicker");
|
|
11518
11790
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -12061,7 +12333,7 @@ var LunarDatePicker = ({
|
|
|
12061
12333
|
"aria-invalid": !!effectiveError,
|
|
12062
12334
|
className: cn(
|
|
12063
12335
|
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
12064
|
-
"
|
|
12336
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
12065
12337
|
sizeStyles8[size].trigger,
|
|
12066
12338
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
12067
12339
|
"border-border/60 hover:border-primary/40",
|
|
@@ -12177,7 +12449,8 @@ var LunarDateRangePicker = ({
|
|
|
12177
12449
|
minDate,
|
|
12178
12450
|
maxDate,
|
|
12179
12451
|
size = "md",
|
|
12180
|
-
disabled = false
|
|
12452
|
+
disabled = false,
|
|
12453
|
+
borderMode
|
|
12181
12454
|
}) => {
|
|
12182
12455
|
const locale = useSmartLocale();
|
|
12183
12456
|
const t = useSmartTranslations("DatePicker");
|
|
@@ -12680,7 +12953,8 @@ var LunarDateRangePicker = ({
|
|
|
12680
12953
|
"aria-required": required,
|
|
12681
12954
|
"aria-invalid": !!effectiveError,
|
|
12682
12955
|
className: cn(
|
|
12683
|
-
"group flex w-full items-center justify-between
|
|
12956
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
12957
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
12684
12958
|
sizeStyles8[size].trigger,
|
|
12685
12959
|
disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
|
|
12686
12960
|
"border-border/60 hover:border-primary/40",
|
|
@@ -13199,6 +13473,7 @@ function MonthYearPicker({
|
|
|
13199
13473
|
showThisMonth = true,
|
|
13200
13474
|
columnLabels = { month: "Month", year: "Year" },
|
|
13201
13475
|
className,
|
|
13476
|
+
borderMode,
|
|
13202
13477
|
...rest
|
|
13203
13478
|
}) {
|
|
13204
13479
|
const gi18n = useGlobalI18n();
|
|
@@ -13358,7 +13633,8 @@ function MonthYearPicker({
|
|
|
13358
13633
|
"aria-required": required,
|
|
13359
13634
|
"aria-invalid": !!effectiveError,
|
|
13360
13635
|
className: cn(
|
|
13361
|
-
"group flex w-full items-center justify-between
|
|
13636
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
13637
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
13362
13638
|
sz.height,
|
|
13363
13639
|
sz.padding,
|
|
13364
13640
|
sz.text,
|
|
@@ -14723,6 +14999,7 @@ function TimePicker({
|
|
|
14723
14999
|
onOpen,
|
|
14724
15000
|
onClose,
|
|
14725
15001
|
className,
|
|
15002
|
+
borderMode,
|
|
14726
15003
|
...rest
|
|
14727
15004
|
}) {
|
|
14728
15005
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -15063,7 +15340,8 @@ function TimePicker({
|
|
|
15063
15340
|
"aria-required": required,
|
|
15064
15341
|
"aria-invalid": !!effectiveError,
|
|
15065
15342
|
className: cn(
|
|
15066
|
-
"group flex w-full items-center justify-between
|
|
15343
|
+
"group flex w-full items-center justify-between border bg-background/80 backdrop-blur-sm",
|
|
15344
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
15067
15345
|
sz.height,
|
|
15068
15346
|
sz.padding,
|
|
15069
15347
|
sz.text,
|
|
@@ -15543,7 +15821,8 @@ var DateTimePicker = ({
|
|
|
15543
15821
|
required,
|
|
15544
15822
|
doneLabel,
|
|
15545
15823
|
clearLabel,
|
|
15546
|
-
size = "md"
|
|
15824
|
+
size = "md",
|
|
15825
|
+
borderMode
|
|
15547
15826
|
}) => {
|
|
15548
15827
|
const t = useSmartTranslations("DateTimePicker");
|
|
15549
15828
|
const tv = useSmartTranslations("ValidationInput");
|
|
@@ -15723,7 +16002,8 @@ var DateTimePicker = ({
|
|
|
15723
16002
|
"aria-required": required,
|
|
15724
16003
|
"aria-invalid": !!effectiveError,
|
|
15725
16004
|
className: cn(
|
|
15726
|
-
"flex w-full items-center justify-between
|
|
16005
|
+
"flex w-full items-center justify-between border border-input bg-background",
|
|
16006
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
15727
16007
|
sizeStyles8[size].trigger,
|
|
15728
16008
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
15729
16009
|
disabled && "opacity-50 cursor-not-allowed",
|
|
@@ -18768,6 +19048,7 @@ var MultiCombobox = ({
|
|
|
18768
19048
|
loading: loading2 = false,
|
|
18769
19049
|
loadingText: loadingTextProp,
|
|
18770
19050
|
emptyText: emptyTextProp,
|
|
19051
|
+
borderMode,
|
|
18771
19052
|
showSelectedIcons = true,
|
|
18772
19053
|
maxHeight = 280,
|
|
18773
19054
|
groupBy,
|
|
@@ -19181,7 +19462,8 @@ var MultiCombobox = ({
|
|
|
19181
19462
|
"aria-required": required,
|
|
19182
19463
|
"aria-invalid": !!effectiveError,
|
|
19183
19464
|
className: cn(
|
|
19184
|
-
"group flex w-full items-center gap-2
|
|
19465
|
+
"group flex w-full items-center gap-2 transition-all duration-200",
|
|
19466
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
19185
19467
|
sizeStyles8[size].trigger,
|
|
19186
19468
|
variantStyles6[variant],
|
|
19187
19469
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary",
|
|
@@ -19375,6 +19657,7 @@ var RadioGroup = React46.forwardRef(
|
|
|
19375
19657
|
orientation = "vertical",
|
|
19376
19658
|
size = "md",
|
|
19377
19659
|
variant = "default",
|
|
19660
|
+
borderMode,
|
|
19378
19661
|
className,
|
|
19379
19662
|
children,
|
|
19380
19663
|
required = false,
|
|
@@ -19403,7 +19686,8 @@ var RadioGroup = React46.forwardRef(
|
|
|
19403
19686
|
name: radioName,
|
|
19404
19687
|
disabled,
|
|
19405
19688
|
size,
|
|
19406
|
-
variant
|
|
19689
|
+
variant,
|
|
19690
|
+
borderMode
|
|
19407
19691
|
},
|
|
19408
19692
|
children: /* @__PURE__ */ jsxs38("div", { className: "space-y-2", children: [
|
|
19409
19693
|
/* @__PURE__ */ jsx50(
|
|
@@ -19452,7 +19736,7 @@ var sizeStyles7 = {
|
|
|
19452
19736
|
};
|
|
19453
19737
|
var RadioGroupItem = React46.forwardRef(
|
|
19454
19738
|
({ value, id, disabled, className, children, label, labelClassName, description, icon }, ref) => {
|
|
19455
|
-
const { value: selectedValue, onValueChange, name, disabled: groupDisabled, size = "md", variant = "default" } = useRadioGroup();
|
|
19739
|
+
const { value: selectedValue, onValueChange, name, disabled: groupDisabled, size = "md", variant = "default", borderMode } = useRadioGroup();
|
|
19456
19740
|
const isDisabled = disabled || groupDisabled;
|
|
19457
19741
|
const isSelected = selectedValue === value;
|
|
19458
19742
|
const Icon = icon;
|
|
@@ -19462,7 +19746,8 @@ var RadioGroupItem = React46.forwardRef(
|
|
|
19462
19746
|
"div",
|
|
19463
19747
|
{
|
|
19464
19748
|
className: cn(
|
|
19465
|
-
"relative
|
|
19749
|
+
"relative border transition-all duration-200 cursor-pointer",
|
|
19750
|
+
getBorderRadiusClass(borderMode ?? "xl"),
|
|
19466
19751
|
"hover:bg-accent/50 focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
19467
19752
|
isSelected && "border-primary bg-primary/5 ring-1 ring-primary/20",
|
|
19468
19753
|
isDisabled && "cursor-not-allowed opacity-50",
|
|
@@ -19537,7 +19822,8 @@ var RadioGroupItem = React46.forwardRef(
|
|
|
19537
19822
|
id: radioId,
|
|
19538
19823
|
disabled: isDisabled,
|
|
19539
19824
|
className: cn(
|
|
19540
|
-
"inline-flex items-center justify-center gap-2
|
|
19825
|
+
"inline-flex items-center justify-center gap-2 border font-medium transition-all duration-200",
|
|
19826
|
+
getBorderRadiusClass(borderMode ?? "lg"),
|
|
19541
19827
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
19542
19828
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
19543
19829
|
isSelected ? "border-primary bg-primary text-primary-foreground shadow-sm" : "border-border/50 bg-background hover:bg-accent hover:text-accent-foreground",
|
|
@@ -20652,7 +20938,8 @@ function CategoryTreeSelect(props) {
|
|
|
20652
20938
|
baseIndent = TREE_NODE_BASE_PADDING_REM,
|
|
20653
20939
|
indentSize = TREE_NODE_INDENT_REM,
|
|
20654
20940
|
renderItemActions,
|
|
20655
|
-
singleSelect = false
|
|
20941
|
+
singleSelect = false,
|
|
20942
|
+
borderMode
|
|
20656
20943
|
} = props;
|
|
20657
20944
|
const [isOpen, setIsOpen] = useState33(false);
|
|
20658
20945
|
const [expandedNodes, setExpandedNodes] = useState33(
|
|
@@ -21340,7 +21627,8 @@ function CategoryTreeSelect(props) {
|
|
|
21340
21627
|
}
|
|
21341
21628
|
},
|
|
21342
21629
|
className: cn(
|
|
21343
|
-
"group flex w-full items-center justify-between
|
|
21630
|
+
"group flex w-full items-center justify-between transition-all duration-200",
|
|
21631
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
21344
21632
|
"backdrop-blur-sm",
|
|
21345
21633
|
triggerSizeStyles[size].button,
|
|
21346
21634
|
triggerVariantStyles[variant],
|
|
@@ -23915,6 +24203,7 @@ function ColorPicker({
|
|
|
23915
24203
|
showRecent = false,
|
|
23916
24204
|
showHarmony = false,
|
|
23917
24205
|
maxRecent = 8,
|
|
24206
|
+
borderMode,
|
|
23918
24207
|
...rest
|
|
23919
24208
|
}) {
|
|
23920
24209
|
const gi18n = useGlobalI18n();
|
|
@@ -24013,7 +24302,8 @@ function ColorPicker({
|
|
|
24013
24302
|
type: "button",
|
|
24014
24303
|
disabled,
|
|
24015
24304
|
className: cn(
|
|
24016
|
-
"w-full px-3
|
|
24305
|
+
"w-full px-3 border border-input bg-background flex items-center justify-between",
|
|
24306
|
+
getBorderRadiusClass(borderMode ?? "full"),
|
|
24017
24307
|
sizeClasses2[size],
|
|
24018
24308
|
"hover:border-accent-foreground/30 transition-colors",
|
|
24019
24309
|
disabled && "opacity-50 cursor-not-allowed",
|