@bubo-squared/ui-framework 0.2.30 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +116 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -6
- package/dist/index.d.ts +27 -6
- package/dist/index.js +202 -180
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ function spawnRipple(target, clientX, clientY, options = {}) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// src/components/ui/button.tsx
|
|
44
|
-
import "react";
|
|
44
|
+
import * as React from "react";
|
|
45
45
|
import { Slot } from "@radix-ui/react-slot";
|
|
46
46
|
import { cva } from "class-variance-authority";
|
|
47
47
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
@@ -72,17 +72,12 @@ var buttonVariants = cva(
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
|
-
|
|
76
|
-
className,
|
|
77
|
-
variant = "default",
|
|
78
|
-
size = "default",
|
|
79
|
-
asChild = false,
|
|
80
|
-
...props
|
|
81
|
-
}) {
|
|
75
|
+
var Button = React.forwardRef(({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => {
|
|
82
76
|
const Comp = asChild ? Slot : "button";
|
|
83
77
|
return /* @__PURE__ */ jsx2(
|
|
84
78
|
Comp,
|
|
85
79
|
{
|
|
80
|
+
ref,
|
|
86
81
|
"data-slot": "button",
|
|
87
82
|
"data-variant": variant,
|
|
88
83
|
"data-size": size,
|
|
@@ -90,7 +85,8 @@ function Button({
|
|
|
90
85
|
...props
|
|
91
86
|
}
|
|
92
87
|
);
|
|
93
|
-
}
|
|
88
|
+
});
|
|
89
|
+
Button.displayName = "Button";
|
|
94
90
|
|
|
95
91
|
// src/components/Buttons/Button.tsx
|
|
96
92
|
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
@@ -705,28 +701,27 @@ Typography.displayName = "Typography";
|
|
|
705
701
|
import * as React10 from "react";
|
|
706
702
|
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
707
703
|
import { cva as cva8 } from "class-variance-authority";
|
|
708
|
-
import {
|
|
704
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
709
705
|
var badgeVariants = cva8(
|
|
710
|
-
"inline-flex items-center justify-center rounded-
|
|
706
|
+
"inline-flex items-center justify-center rounded-full leading-none whitespace-nowrap gap-1 py-0 font-normal",
|
|
711
707
|
{
|
|
712
708
|
variants: {
|
|
713
709
|
size: {
|
|
714
|
-
sm: "px-
|
|
715
|
-
md: "px-
|
|
716
|
-
lg: "px-
|
|
717
|
-
xl: "px-
|
|
710
|
+
sm: "px-2.5 paragraph-sm",
|
|
711
|
+
md: "px-3 paragraph-md",
|
|
712
|
+
lg: "px-3.5 subtitle",
|
|
713
|
+
xl: "px-4 h6-title"
|
|
718
714
|
},
|
|
719
715
|
variant: {
|
|
720
|
-
primary: "bg-(--
|
|
721
|
-
secondary: "bg-(--background-
|
|
716
|
+
primary: "bg-(--color-primary) text-(--color-primary-inverse)",
|
|
717
|
+
secondary: "bg-(--background-secondary) text-primary",
|
|
718
|
+
outline: "bg-(--background-primary) text-primary shadow-[inset_0_0_0_1px_var(--border-secondary)]",
|
|
722
719
|
active: "bg-ac-lilac text-badge-black",
|
|
723
720
|
informal: "bg-ac-neon-blue text-badge-black",
|
|
724
721
|
success: "bg-ac-neon-green text-badge-black",
|
|
725
722
|
warning: "bg-ac-light-orange text-badge-black",
|
|
726
|
-
error: "bg-s-error-
|
|
727
|
-
disabled: "bg-(--background-primary-disabled)
|
|
728
|
-
"double-default": "bg-(--background-secondary) text-primary",
|
|
729
|
-
"double-current": "bg-color-ac-lilac text-badge-black"
|
|
723
|
+
error: "bg-(--color-s-error-500)/15 text-error",
|
|
724
|
+
disabled: "bg-(--background-primary-disabled) shadow-[inset_0_0_0_1px_var(--color-primary-disabled)] text-primary-disabled"
|
|
730
725
|
}
|
|
731
726
|
},
|
|
732
727
|
defaultVariants: {
|
|
@@ -740,25 +735,20 @@ var Badge = React10.forwardRef(
|
|
|
740
735
|
const {
|
|
741
736
|
asChild = false,
|
|
742
737
|
label,
|
|
743
|
-
value,
|
|
744
738
|
size = "sm",
|
|
745
739
|
variant = "primary",
|
|
746
740
|
className,
|
|
747
741
|
...rest
|
|
748
742
|
} = props;
|
|
749
|
-
const Comp = asChild ? Slot4 : "
|
|
750
|
-
const hasValue = typeof value === "string" ? value.trim() !== "" : value != null;
|
|
743
|
+
const Comp = asChild ? Slot4 : "span";
|
|
751
744
|
return /* @__PURE__ */ jsx12(
|
|
752
745
|
Comp,
|
|
753
746
|
{
|
|
747
|
+
"data-slot": "badge",
|
|
754
748
|
ref,
|
|
755
749
|
className: cn(badgeVariants({ size, variant }), className),
|
|
756
750
|
...rest,
|
|
757
|
-
children:
|
|
758
|
-
/* @__PURE__ */ jsx12("span", { className: "font-normal", children: label }),
|
|
759
|
-
/* @__PURE__ */ jsx12("span", { className: "font-normal", children: ":" }),
|
|
760
|
-
/* @__PURE__ */ jsx12("span", { className: "font-medium", children: value })
|
|
761
|
-
] }) : /* @__PURE__ */ jsx12("span", { className: "font-normal", children: label })
|
|
751
|
+
children: label
|
|
762
752
|
}
|
|
763
753
|
);
|
|
764
754
|
}
|
|
@@ -840,7 +830,7 @@ BadgeDot.displayName = "BadgeDot";
|
|
|
840
830
|
|
|
841
831
|
// src/components/Content/BadgeStatus.tsx
|
|
842
832
|
import * as React13 from "react";
|
|
843
|
-
import { jsx as jsx15, jsxs as
|
|
833
|
+
import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
844
834
|
var BadgeStatus = React13.forwardRef(
|
|
845
835
|
(props, ref) => {
|
|
846
836
|
const {
|
|
@@ -852,7 +842,7 @@ var BadgeStatus = React13.forwardRef(
|
|
|
852
842
|
} = props;
|
|
853
843
|
const textClasses = active ? "caption-medium text-primary" : "caption-medium text-primary-disabled";
|
|
854
844
|
const dotClasses = active ? "bg-(--background-informal)" : "bg-(--background-primary)";
|
|
855
|
-
return /* @__PURE__ */
|
|
845
|
+
return /* @__PURE__ */ jsxs6(
|
|
856
846
|
"div",
|
|
857
847
|
{
|
|
858
848
|
ref,
|
|
@@ -880,7 +870,7 @@ BadgeStatus.displayName = "BadgeStatus";
|
|
|
880
870
|
// src/components/Content/Divider.tsx
|
|
881
871
|
import "react";
|
|
882
872
|
import { TargetIcon } from "@bubo-squared/icons";
|
|
883
|
-
import { jsx as jsx16, jsxs as
|
|
873
|
+
import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
884
874
|
var gapBySize = {
|
|
885
875
|
sm: "gap-2",
|
|
886
876
|
md: "gap-3",
|
|
@@ -936,7 +926,7 @@ var Divider = (props) => {
|
|
|
936
926
|
...divProps
|
|
937
927
|
} = props;
|
|
938
928
|
const textLabel = label ?? "OR";
|
|
939
|
-
return /* @__PURE__ */
|
|
929
|
+
return /* @__PURE__ */ jsxs7(
|
|
940
930
|
"div",
|
|
941
931
|
{
|
|
942
932
|
className: wrapperClass,
|
|
@@ -972,7 +962,7 @@ var Divider = (props) => {
|
|
|
972
962
|
className: _className,
|
|
973
963
|
...divProps
|
|
974
964
|
} = props;
|
|
975
|
-
return /* @__PURE__ */
|
|
965
|
+
return /* @__PURE__ */ jsxs7(
|
|
976
966
|
"div",
|
|
977
967
|
{
|
|
978
968
|
className: wrapperClass,
|
|
@@ -1005,7 +995,7 @@ var Divider = (props) => {
|
|
|
1005
995
|
className: _className,
|
|
1006
996
|
...divProps
|
|
1007
997
|
} = props;
|
|
1008
|
-
return /* @__PURE__ */
|
|
998
|
+
return /* @__PURE__ */ jsxs7(
|
|
1009
999
|
"div",
|
|
1010
1000
|
{
|
|
1011
1001
|
className: wrapperClass,
|
|
@@ -1038,7 +1028,7 @@ var Divider = (props) => {
|
|
|
1038
1028
|
className: _className,
|
|
1039
1029
|
...divProps
|
|
1040
1030
|
} = props;
|
|
1041
|
-
return /* @__PURE__ */
|
|
1031
|
+
return /* @__PURE__ */ jsxs7(
|
|
1042
1032
|
"div",
|
|
1043
1033
|
{
|
|
1044
1034
|
className: wrapperClass,
|
|
@@ -1070,7 +1060,7 @@ import * as React16 from "react";
|
|
|
1070
1060
|
|
|
1071
1061
|
// src/components/Inputs/Field.tsx
|
|
1072
1062
|
import * as React15 from "react";
|
|
1073
|
-
import { jsx as jsx17, jsxs as
|
|
1063
|
+
import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1074
1064
|
var fieldBase = "flex flex-col gap-2 items-start";
|
|
1075
1065
|
var Field = (props) => {
|
|
1076
1066
|
const {
|
|
@@ -1090,8 +1080,8 @@ var Field = (props) => {
|
|
|
1090
1080
|
const hintId = hasHint ? `${fieldId}-hint` : void 0;
|
|
1091
1081
|
const hintColorClass = disabled ? "text-primary-disabled" : status === "success" ? "text-(--color-success)" : status === "error" ? "text-(--color-error)" : "text-(--color-secondary)";
|
|
1092
1082
|
const labelColorClass = disabled ? "text-primary-disabled" : "text-primary";
|
|
1093
|
-
return /* @__PURE__ */
|
|
1094
|
-
hasLabel && /* @__PURE__ */
|
|
1083
|
+
return /* @__PURE__ */ jsxs8("div", { className: cn(fieldBase, className), children: [
|
|
1084
|
+
hasLabel && /* @__PURE__ */ jsxs8("div", { className: "flex w-full items-center justify-between", children: [
|
|
1095
1085
|
/* @__PURE__ */ jsx17("label", { id: labelId, className: cn("paragraph-sm", labelColorClass), children: label }),
|
|
1096
1086
|
labelRight
|
|
1097
1087
|
] }),
|
|
@@ -1194,7 +1184,7 @@ import {
|
|
|
1194
1184
|
PlusIcon,
|
|
1195
1185
|
StarIcon
|
|
1196
1186
|
} from "@bubo-squared/icons";
|
|
1197
|
-
import { jsx as jsx19, jsxs as
|
|
1187
|
+
import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1198
1188
|
var iconStatusVariants = cva11(
|
|
1199
1189
|
"inline-flex size-5 items-center justify-center rounded-full border-1 border-(--color-primary-inverse) p-1",
|
|
1200
1190
|
{
|
|
@@ -1237,7 +1227,7 @@ var StatusAvatar = React17.forwardRef((props, ref) => {
|
|
|
1237
1227
|
);
|
|
1238
1228
|
}
|
|
1239
1229
|
const iconVariant = variant;
|
|
1240
|
-
return /* @__PURE__ */
|
|
1230
|
+
return /* @__PURE__ */ jsxs9(
|
|
1241
1231
|
"div",
|
|
1242
1232
|
{
|
|
1243
1233
|
ref,
|
|
@@ -1259,23 +1249,77 @@ StatusAvatar.displayName = "StatusAvatar";
|
|
|
1259
1249
|
import * as React18 from "react";
|
|
1260
1250
|
import { Slot as Slot5 } from "@radix-ui/react-slot";
|
|
1261
1251
|
import { cva as cva12 } from "class-variance-authority";
|
|
1262
|
-
import { jsx as jsx20, jsxs as
|
|
1252
|
+
import { jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1263
1253
|
var tagVariants = cva12(
|
|
1264
|
-
"inline-flex flex-row items-center justify-center
|
|
1254
|
+
"inline-flex flex-row items-center justify-center gap-1.5 overflow-hidden border border-secondary bg-tag focus:border-brand focus-ring-primary ",
|
|
1265
1255
|
{
|
|
1266
1256
|
variants: {
|
|
1267
1257
|
size: {
|
|
1268
|
-
sm: "
|
|
1269
|
-
md: "
|
|
1258
|
+
sm: "h-6",
|
|
1259
|
+
md: "h-7",
|
|
1260
|
+
lg: "h-8",
|
|
1261
|
+
xl: "h-9"
|
|
1262
|
+
},
|
|
1263
|
+
rounded: {
|
|
1264
|
+
true: "rounded-full",
|
|
1265
|
+
false: "rounded-8"
|
|
1270
1266
|
}
|
|
1271
1267
|
},
|
|
1272
1268
|
defaultVariants: {
|
|
1273
|
-
size: "sm"
|
|
1269
|
+
size: "sm",
|
|
1270
|
+
rounded: false
|
|
1274
1271
|
}
|
|
1275
1272
|
}
|
|
1276
1273
|
);
|
|
1277
|
-
var
|
|
1278
|
-
|
|
1274
|
+
var calculateXPadding = (size, hasTrailing, hasLeading) => {
|
|
1275
|
+
if (!hasTrailing && !hasLeading) {
|
|
1276
|
+
return size === "sm" ? "px-2.5" : "px-3";
|
|
1277
|
+
} else if (hasTrailing && !hasLeading) {
|
|
1278
|
+
return size === "sm" ? "pl-2.5 pr-1.25" : "pl-3 pr-1.5";
|
|
1279
|
+
} else if (!hasTrailing && hasLeading) {
|
|
1280
|
+
return size === "sm" ? "pl-1.25 pr-2.5" : "pl-1.5 pr-3";
|
|
1281
|
+
} else {
|
|
1282
|
+
return size === "sm" ? "px-1.25" : "px-1.5";
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1285
|
+
var disabledTag = "pointer-events-none border-secondary-disabled bg-tag-disabled text-primary-disabled";
|
|
1286
|
+
var calculateIconClasses = (size) => {
|
|
1287
|
+
switch (size) {
|
|
1288
|
+
case "sm":
|
|
1289
|
+
return "flex items-center justify-center size-4 [&>*]:size-4 shrink-0";
|
|
1290
|
+
case "md":
|
|
1291
|
+
return "flex items-center justify-center size-5 [&>*]:size-5 shrink-0";
|
|
1292
|
+
case "lg":
|
|
1293
|
+
return "flex items-center justify-center size-5 [&>*]:size-5 shrink-0";
|
|
1294
|
+
case "xl":
|
|
1295
|
+
return "flex items-center justify-center size-6 [&>*]:size-6 shrink-0";
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
var keyTextClassBySize = {
|
|
1299
|
+
sm: "paragraph-sm cursor-default",
|
|
1300
|
+
md: "paragraph-md cursor-default",
|
|
1301
|
+
lg: "paragraph-lg cursor-default",
|
|
1302
|
+
xl: "subtitle cursor-default"
|
|
1303
|
+
};
|
|
1304
|
+
var valueTextClassBySize = {
|
|
1305
|
+
sm: "paragraph-sm-medium cursor-default",
|
|
1306
|
+
md: "paragraph-md-medium cursor-default",
|
|
1307
|
+
lg: "paragraph-lg-medium cursor-default",
|
|
1308
|
+
xl: "subtitle-medium cursor-default"
|
|
1309
|
+
};
|
|
1310
|
+
var labelTextClassBySize = {
|
|
1311
|
+
sm: "paragraph-sm cursor-default",
|
|
1312
|
+
md: "paragraph-md cursor-default",
|
|
1313
|
+
lg: "paragraph-lg cursor-default",
|
|
1314
|
+
xl: "subtitle cursor-default"
|
|
1315
|
+
};
|
|
1316
|
+
var getTextColor = (type, disabled) => {
|
|
1317
|
+
if (disabled) return "";
|
|
1318
|
+
else if (type === "key") return "text-secondary";
|
|
1319
|
+
else if (type === "value") return "text-primary";
|
|
1320
|
+
else if (type === "label") return "text-primary";
|
|
1321
|
+
return "text-primary";
|
|
1322
|
+
};
|
|
1279
1323
|
var Tag = React18.forwardRef(
|
|
1280
1324
|
(props, ref) => {
|
|
1281
1325
|
const {
|
|
@@ -1291,20 +1335,21 @@ var Tag = React18.forwardRef(
|
|
|
1291
1335
|
const Comp = asChild ? Slot5 : "div";
|
|
1292
1336
|
const leading = props.leadingIcon && React18.isValidElement(props.leadingIcon) ? React18.cloneElement(props.leadingIcon, { disabled, ...props.leadingIcon.props }) : null;
|
|
1293
1337
|
const trailing = props.trailingIcon && React18.isValidElement(props.trailingIcon) ? React18.cloneElement(props.trailingIcon, { disabled, ...props.trailingIcon.props }) : null;
|
|
1294
|
-
return /* @__PURE__ */
|
|
1338
|
+
return /* @__PURE__ */ jsxs10(
|
|
1295
1339
|
Comp,
|
|
1296
1340
|
{
|
|
1297
|
-
className: cn(tagVariants({ size }), disabled && disabledTag, className),
|
|
1341
|
+
className: cn(tagVariants({ size, rounded: props.rounded }), calculateXPadding(size, !!trailing, !!leading), disabled && disabledTag, className),
|
|
1342
|
+
"data-slot": "tag",
|
|
1298
1343
|
ref,
|
|
1299
1344
|
...rest,
|
|
1300
1345
|
children: [
|
|
1301
|
-
leading && /* @__PURE__ */ jsx20("div", { className:
|
|
1302
|
-
hasValue ? /* @__PURE__ */
|
|
1303
|
-
/* @__PURE__ */ jsx20("span", { className:
|
|
1304
|
-
/* @__PURE__ */ jsx20("span", { className:
|
|
1305
|
-
/* @__PURE__ */ jsx20("span", { className:
|
|
1306
|
-
] }) : /* @__PURE__ */ jsx20("span", { className:
|
|
1307
|
-
trailing && /* @__PURE__ */ jsx20("div", { className:
|
|
1346
|
+
leading && /* @__PURE__ */ jsx20("div", { className: cn(disabled ? "text-primary-disabled" : "text-primary", calculateIconClasses(size)), children: leading }),
|
|
1347
|
+
hasValue ? /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center gap-1", children: [
|
|
1348
|
+
/* @__PURE__ */ jsx20("span", { className: cn(keyTextClassBySize[size], getTextColor("key", disabled)), children: label }),
|
|
1349
|
+
/* @__PURE__ */ jsx20("span", { className: cn(keyTextClassBySize[size], getTextColor("key", disabled)), children: ":" }),
|
|
1350
|
+
/* @__PURE__ */ jsx20("span", { className: cn(valueTextClassBySize[size], getTextColor("value", disabled)), children: value })
|
|
1351
|
+
] }) : /* @__PURE__ */ jsx20("span", { className: cn(labelTextClassBySize[size], getTextColor("label", disabled)), children: label }),
|
|
1352
|
+
trailing && /* @__PURE__ */ jsx20("div", { className: cn(disabled ? "text-primary-disabled" : "text-primary", calculateIconClasses(size)), children: trailing })
|
|
1308
1353
|
]
|
|
1309
1354
|
}
|
|
1310
1355
|
);
|
|
@@ -1344,7 +1389,7 @@ var dropdownRowVariants = cva13(
|
|
|
1344
1389
|
);
|
|
1345
1390
|
|
|
1346
1391
|
// src/components/ui/dropdown-menu.tsx
|
|
1347
|
-
import { jsx as jsx21, jsxs as
|
|
1392
|
+
import { jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1348
1393
|
var DropdownMenuSizeContext = React19.createContext("lg");
|
|
1349
1394
|
function useDropdownMenuSize(explicitSize) {
|
|
1350
1395
|
const contextSize = React19.useContext(DropdownMenuSizeContext);
|
|
@@ -1486,7 +1531,7 @@ function DropdownMenuSubTrigger({
|
|
|
1486
1531
|
...props
|
|
1487
1532
|
}) {
|
|
1488
1533
|
const resolvedSize = useDropdownMenuSize(size);
|
|
1489
|
-
return /* @__PURE__ */
|
|
1534
|
+
return /* @__PURE__ */ jsxs11(
|
|
1490
1535
|
DropdownMenuPrimitive.SubTrigger,
|
|
1491
1536
|
{
|
|
1492
1537
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
@@ -1529,7 +1574,7 @@ function DropdownMenuSubContent({
|
|
|
1529
1574
|
}
|
|
1530
1575
|
|
|
1531
1576
|
// src/components/Content/Menu.tsx
|
|
1532
|
-
import { jsx as jsx22, jsxs as
|
|
1577
|
+
import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1533
1578
|
var Menu = (props) => {
|
|
1534
1579
|
const {
|
|
1535
1580
|
trigger,
|
|
@@ -1543,7 +1588,7 @@ var Menu = (props) => {
|
|
|
1543
1588
|
onOpenChange,
|
|
1544
1589
|
modal
|
|
1545
1590
|
} = props;
|
|
1546
|
-
return /* @__PURE__ */
|
|
1591
|
+
return /* @__PURE__ */ jsxs12(DropdownMenu, { open, onOpenChange, modal, children: [
|
|
1547
1592
|
/* @__PURE__ */ jsx22(DropdownMenuTrigger, { asChild: true, children: trigger }),
|
|
1548
1593
|
/* @__PURE__ */ jsx22(
|
|
1549
1594
|
DropdownMenuContent,
|
|
@@ -1574,9 +1619,9 @@ import * as React21 from "react";
|
|
|
1574
1619
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
1575
1620
|
import { CheckIcon as CheckIcon2 } from "@bubo-squared/icons";
|
|
1576
1621
|
import { MinusIcon } from "@bubo-squared/icons";
|
|
1577
|
-
import { jsx as jsx23, jsxs as
|
|
1622
|
+
import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1578
1623
|
var Checkbox = React21.forwardRef(({ label, className, ...props }, forwardedRef) => {
|
|
1579
|
-
return /* @__PURE__ */
|
|
1624
|
+
return /* @__PURE__ */ jsxs13("label", { className: "inline-flex items-center gap-(--space-12) cursor-pointer select-none", children: [
|
|
1580
1625
|
/* @__PURE__ */ jsx23(
|
|
1581
1626
|
CheckboxPrimitive.Root,
|
|
1582
1627
|
{
|
|
@@ -1594,7 +1639,7 @@ var Checkbox = React21.forwardRef(({ label, className, ...props }, forwardedRef)
|
|
|
1594
1639
|
className
|
|
1595
1640
|
),
|
|
1596
1641
|
...props,
|
|
1597
|
-
children: /* @__PURE__ */
|
|
1642
|
+
children: /* @__PURE__ */ jsxs13(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: [
|
|
1598
1643
|
/* @__PURE__ */ jsx23(CheckIcon2, { className: "h-5 w-5 hidden group-data-[state=checked]:block" }),
|
|
1599
1644
|
/* @__PURE__ */ jsx23(MinusIcon, { className: "h-5 w-5 hidden group-data-[state=indeterminate]:block" })
|
|
1600
1645
|
] })
|
|
@@ -1683,7 +1728,7 @@ var Input = React23.forwardRef(
|
|
|
1683
1728
|
Input.displayName = "Input";
|
|
1684
1729
|
|
|
1685
1730
|
// src/components/Inputs/Autocomplete.tsx
|
|
1686
|
-
import { jsx as jsx26, jsxs as
|
|
1731
|
+
import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1687
1732
|
var inputTextVariants = cva15("truncate", {
|
|
1688
1733
|
variants: {
|
|
1689
1734
|
size: {
|
|
@@ -1914,8 +1959,8 @@ var Autocomplete = React24.forwardRef((props, forwardedRef) => {
|
|
|
1914
1959
|
const activeDescendantId = activeIndex >= 0 ? `${inputId}-option-${activeIndex}` : void 0;
|
|
1915
1960
|
const showLeadingIcon = !!leadingIcon;
|
|
1916
1961
|
const showTrailingIcon = !!trailingIcon;
|
|
1917
|
-
return /* @__PURE__ */ jsx26(Field, { label, hint, hideHint, status, disabled, children: /* @__PURE__ */
|
|
1918
|
-
/* @__PURE__ */
|
|
1962
|
+
return /* @__PURE__ */ jsx26(Field, { label, hint, hideHint, status, disabled, children: /* @__PURE__ */ jsxs14("div", { className: "relative w-full", children: [
|
|
1963
|
+
/* @__PURE__ */ jsxs14(
|
|
1919
1964
|
InputShell,
|
|
1920
1965
|
{
|
|
1921
1966
|
size,
|
|
@@ -2011,7 +2056,7 @@ import * as React25 from "react";
|
|
|
2011
2056
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2012
2057
|
import { cva as cva16 } from "class-variance-authority";
|
|
2013
2058
|
import { ChevronDownIcon as ChevronDownIcon2 } from "@bubo-squared/icons";
|
|
2014
|
-
import { jsx as jsx27, jsxs as
|
|
2059
|
+
import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2015
2060
|
var selectTriggerVariants = cva16(
|
|
2016
2061
|
"group flex w-full items-center justify-between rounded-8 border bg-(--background-primary) p-2 text-left transition-[background-color] cursor-pointer hover:bg-(--background-primary-hover) disabled:bg-(--background-primary-disabled) disabled:text-primary-disabled disabled:cursor-default",
|
|
2017
2062
|
{
|
|
@@ -2147,7 +2192,7 @@ var Select = React25.forwardRef((props, forwardedRef) => {
|
|
|
2147
2192
|
hideHint,
|
|
2148
2193
|
status,
|
|
2149
2194
|
disabled,
|
|
2150
|
-
children: /* @__PURE__ */
|
|
2195
|
+
children: /* @__PURE__ */ jsxs15(
|
|
2151
2196
|
SelectPrimitive.Root,
|
|
2152
2197
|
{
|
|
2153
2198
|
value: currentValue,
|
|
@@ -2158,7 +2203,7 @@ var Select = React25.forwardRef((props, forwardedRef) => {
|
|
|
2158
2203
|
name,
|
|
2159
2204
|
required,
|
|
2160
2205
|
children: [
|
|
2161
|
-
/* @__PURE__ */ jsx27(SelectPrimitive.Trigger, { asChild: true, children: /* @__PURE__ */
|
|
2206
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
|
|
2162
2207
|
"button",
|
|
2163
2208
|
{
|
|
2164
2209
|
ref: forwardedRef,
|
|
@@ -2203,7 +2248,7 @@ var Select = React25.forwardRef((props, forwardedRef) => {
|
|
|
2203
2248
|
"min-w-343 rounded-8"
|
|
2204
2249
|
),
|
|
2205
2250
|
style: { minWidth: "var(--radix-select-trigger-width)" },
|
|
2206
|
-
children: /* @__PURE__ */ jsx27(SelectPrimitive.Viewport, { children: /* @__PURE__ */
|
|
2251
|
+
children: /* @__PURE__ */ jsx27(SelectPrimitive.Viewport, { children: /* @__PURE__ */ jsxs15("div", { className: "flex flex-col", children: [
|
|
2207
2252
|
hasValue && /* @__PURE__ */ jsx27("div", { className: cn("bg-(--background-neutral)"), children: /* @__PURE__ */ jsx27(
|
|
2208
2253
|
"button",
|
|
2209
2254
|
{
|
|
@@ -2244,7 +2289,7 @@ Select.displayName = "Select";
|
|
|
2244
2289
|
import * as React26 from "react";
|
|
2245
2290
|
import { cva as cva17 } from "class-variance-authority";
|
|
2246
2291
|
import { EyeIcon, EyeSlashIcon } from "@bubo-squared/icons";
|
|
2247
|
-
import { jsx as jsx28, jsxs as
|
|
2292
|
+
import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2248
2293
|
var passwordTextVariants = cva17("truncate", {
|
|
2249
2294
|
variants: {
|
|
2250
2295
|
size: {
|
|
@@ -2356,7 +2401,7 @@ var PasswordInput = React26.forwardRef((props, forwardedRef) => {
|
|
|
2356
2401
|
hideHint,
|
|
2357
2402
|
status,
|
|
2358
2403
|
disabled,
|
|
2359
|
-
children: /* @__PURE__ */
|
|
2404
|
+
children: /* @__PURE__ */ jsxs16(
|
|
2360
2405
|
InputShell,
|
|
2361
2406
|
{
|
|
2362
2407
|
size,
|
|
@@ -2431,7 +2476,7 @@ import "react";
|
|
|
2431
2476
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2432
2477
|
|
|
2433
2478
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2434
|
-
import { forwardRef as
|
|
2479
|
+
import { forwardRef as forwardRef20, createElement as createElement2 } from "react";
|
|
2435
2480
|
|
|
2436
2481
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
2437
2482
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
@@ -2455,7 +2500,7 @@ var hasA11yProp = (props) => {
|
|
|
2455
2500
|
};
|
|
2456
2501
|
|
|
2457
2502
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2458
|
-
import { forwardRef as
|
|
2503
|
+
import { forwardRef as forwardRef19, createElement } from "react";
|
|
2459
2504
|
|
|
2460
2505
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
2461
2506
|
var defaultAttributes = {
|
|
@@ -2471,7 +2516,7 @@ var defaultAttributes = {
|
|
|
2471
2516
|
};
|
|
2472
2517
|
|
|
2473
2518
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2474
|
-
var Icon2 =
|
|
2519
|
+
var Icon2 = forwardRef19(
|
|
2475
2520
|
({
|
|
2476
2521
|
color = "currentColor",
|
|
2477
2522
|
size = 24,
|
|
@@ -2503,7 +2548,7 @@ var Icon2 = forwardRef18(
|
|
|
2503
2548
|
|
|
2504
2549
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2505
2550
|
var createLucideIcon = (iconName, iconNode) => {
|
|
2506
|
-
const Component =
|
|
2551
|
+
const Component = forwardRef20(
|
|
2507
2552
|
({ className, ...props }, ref) => createElement2(Icon2, {
|
|
2508
2553
|
ref,
|
|
2509
2554
|
iconNode,
|
|
@@ -2523,19 +2568,11 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
2523
2568
|
var __iconNode = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
2524
2569
|
var ChevronRight = createLucideIcon("chevron-right", __iconNode);
|
|
2525
2570
|
|
|
2526
|
-
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
2527
|
-
var __iconNode2 = [
|
|
2528
|
-
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
2529
|
-
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
2530
|
-
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
2531
|
-
];
|
|
2532
|
-
var Ellipsis = createLucideIcon("ellipsis", __iconNode2);
|
|
2533
|
-
|
|
2534
2571
|
// src/components/ui/dialog.tsx
|
|
2535
|
-
import { jsx as jsx29, jsxs as
|
|
2572
|
+
import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2536
2573
|
|
|
2537
2574
|
// src/components/ui/command.tsx
|
|
2538
|
-
import { jsx as jsx30, jsxs as
|
|
2575
|
+
import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2539
2576
|
function Command({
|
|
2540
2577
|
className,
|
|
2541
2578
|
...props
|
|
@@ -2556,7 +2593,7 @@ function CommandInput({
|
|
|
2556
2593
|
className,
|
|
2557
2594
|
...props
|
|
2558
2595
|
}) {
|
|
2559
|
-
return /* @__PURE__ */
|
|
2596
|
+
return /* @__PURE__ */ jsxs18(
|
|
2560
2597
|
"div",
|
|
2561
2598
|
{
|
|
2562
2599
|
"data-slot": "command-input-wrapper",
|
|
@@ -2677,13 +2714,13 @@ function PopoverContent({
|
|
|
2677
2714
|
// src/components/ui/scroll-area.tsx
|
|
2678
2715
|
import "react";
|
|
2679
2716
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
2680
|
-
import { jsx as jsx32, jsxs as
|
|
2717
|
+
import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2681
2718
|
function ScrollArea({
|
|
2682
2719
|
className,
|
|
2683
2720
|
children,
|
|
2684
2721
|
...props
|
|
2685
2722
|
}) {
|
|
2686
|
-
return /* @__PURE__ */
|
|
2723
|
+
return /* @__PURE__ */ jsxs19(
|
|
2687
2724
|
ScrollAreaPrimitive.Root,
|
|
2688
2725
|
{
|
|
2689
2726
|
"data-slot": "scroll-area",
|
|
@@ -2735,7 +2772,7 @@ function ScrollBar({
|
|
|
2735
2772
|
|
|
2736
2773
|
// src/components/Inputs/PhoneInput.tsx
|
|
2737
2774
|
import { cva as cva18 } from "class-variance-authority";
|
|
2738
|
-
import { jsx as jsx33, jsxs as
|
|
2775
|
+
import { jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2739
2776
|
var inputBase = "h-full rounded-8 border border-secondary bg-(--background-primary) hover:border-secondary-hover";
|
|
2740
2777
|
var sizeBase = cva18(
|
|
2741
2778
|
"flex w-full",
|
|
@@ -2892,7 +2929,7 @@ var CountrySelect = ({
|
|
|
2892
2929
|
const scrollAreaRef = React31.useRef(null);
|
|
2893
2930
|
const [searchValue, setSearchValue] = React31.useState("");
|
|
2894
2931
|
const [isOpen, setIsOpen] = React31.useState(false);
|
|
2895
|
-
return /* @__PURE__ */
|
|
2932
|
+
return /* @__PURE__ */ jsxs20(
|
|
2896
2933
|
Popover,
|
|
2897
2934
|
{
|
|
2898
2935
|
open: isOpen,
|
|
@@ -2904,7 +2941,7 @@ var CountrySelect = ({
|
|
|
2904
2941
|
}
|
|
2905
2942
|
},
|
|
2906
2943
|
children: [
|
|
2907
|
-
/* @__PURE__ */ jsx33(PopoverTrigger, { asChild: true, children: /* @__PURE__ */
|
|
2944
|
+
/* @__PURE__ */ jsx33(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs20(
|
|
2908
2945
|
Button,
|
|
2909
2946
|
{
|
|
2910
2947
|
type: "button",
|
|
@@ -2940,7 +2977,7 @@ var CountrySelect = ({
|
|
|
2940
2977
|
dropdownWidthVariants({ size }),
|
|
2941
2978
|
dropdownSurfaceClass
|
|
2942
2979
|
),
|
|
2943
|
-
children: /* @__PURE__ */
|
|
2980
|
+
children: /* @__PURE__ */ jsxs20(Command, { className: "bg-transparent", children: [
|
|
2944
2981
|
/* @__PURE__ */ jsx33(
|
|
2945
2982
|
CommandInput,
|
|
2946
2983
|
{
|
|
@@ -2961,7 +2998,7 @@ var CountrySelect = ({
|
|
|
2961
2998
|
placeholder: "Search country..."
|
|
2962
2999
|
}
|
|
2963
3000
|
),
|
|
2964
|
-
/* @__PURE__ */ jsx33(CommandList, { children: /* @__PURE__ */
|
|
3001
|
+
/* @__PURE__ */ jsx33(CommandList, { children: /* @__PURE__ */ jsxs20(ScrollArea, { ref: scrollAreaRef, className: "max-h-79", children: [
|
|
2965
3002
|
/* @__PURE__ */ jsx33(CommandEmpty, { children: "No country found." }),
|
|
2966
3003
|
/* @__PURE__ */ jsx33(CommandGroup, { className: "p-0", children: countryList.map(
|
|
2967
3004
|
({ value, label }) => value ? /* @__PURE__ */ jsx33(
|
|
@@ -3001,7 +3038,7 @@ var CountrySelectOption = (props) => {
|
|
|
3001
3038
|
onChange(country);
|
|
3002
3039
|
onSelectComplete();
|
|
3003
3040
|
};
|
|
3004
|
-
return /* @__PURE__ */
|
|
3041
|
+
return /* @__PURE__ */ jsxs20(
|
|
3005
3042
|
CommandItem,
|
|
3006
3043
|
{
|
|
3007
3044
|
className: cn(countryOptionVariants({ size })),
|
|
@@ -3028,7 +3065,7 @@ var FlagComponent = ({ country, countryName }) => {
|
|
|
3028
3065
|
// src/components/Inputs/RadioGroup.tsx
|
|
3029
3066
|
import * as React32 from "react";
|
|
3030
3067
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3031
|
-
import { jsx as jsx34, jsxs as
|
|
3068
|
+
import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3032
3069
|
var RadioGroup = React32.forwardRef((props, forwardedRef) => {
|
|
3033
3070
|
const {
|
|
3034
3071
|
label,
|
|
@@ -3071,7 +3108,7 @@ var RadioGroup = React32.forwardRef((props, forwardedRef) => {
|
|
|
3071
3108
|
isHorizontal ? "flex-row gap-6" : "flex-col gap-2",
|
|
3072
3109
|
className
|
|
3073
3110
|
),
|
|
3074
|
-
children: options.map((option) => /* @__PURE__ */ jsx34("div", { className: "relative inline-flex", children: /* @__PURE__ */
|
|
3111
|
+
children: options.map((option) => /* @__PURE__ */ jsx34("div", { className: "relative inline-flex", children: /* @__PURE__ */ jsxs21(
|
|
3075
3112
|
RadioGroupPrimitive.Item,
|
|
3076
3113
|
{
|
|
3077
3114
|
value: option.value,
|
|
@@ -3147,7 +3184,7 @@ RadioGroup.displayName = "RadioGroup";
|
|
|
3147
3184
|
import * as React33 from "react";
|
|
3148
3185
|
import { cva as cva19 } from "class-variance-authority";
|
|
3149
3186
|
import { SearchIcon as SearchIcon2 } from "@bubo-squared/icons";
|
|
3150
|
-
import { jsx as jsx35, jsxs as
|
|
3187
|
+
import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3151
3188
|
var searchTextVariants = cva19("truncate", {
|
|
3152
3189
|
variants: {
|
|
3153
3190
|
size: {
|
|
@@ -3206,7 +3243,7 @@ var SearchInput = React33.forwardRef((props, forwardedRef) => {
|
|
|
3206
3243
|
inputRef.current?.focus();
|
|
3207
3244
|
};
|
|
3208
3245
|
const showTrailingIcon = !!trailingIcon;
|
|
3209
|
-
return /* @__PURE__ */ jsx35("div", { className: "flex flex-col gap-2 items-start w-full", children: /* @__PURE__ */ jsx35("div", { className: "relative w-full", children: /* @__PURE__ */
|
|
3246
|
+
return /* @__PURE__ */ jsx35("div", { className: "flex flex-col gap-2 items-start w-full", children: /* @__PURE__ */ jsx35("div", { className: "relative w-full", children: /* @__PURE__ */ jsxs22(
|
|
3210
3247
|
InputShell,
|
|
3211
3248
|
{
|
|
3212
3249
|
size,
|
|
@@ -3243,7 +3280,7 @@ import * as React35 from "react";
|
|
|
3243
3280
|
// src/components/Feedback/Tooltip.tsx
|
|
3244
3281
|
import * as React34 from "react";
|
|
3245
3282
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3246
|
-
import { jsx as jsx36, jsxs as
|
|
3283
|
+
import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3247
3284
|
var TooltipArrow = TooltipPrimitive.Arrow;
|
|
3248
3285
|
var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
|
|
3249
3286
|
var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
|
|
@@ -3308,7 +3345,7 @@ var Tooltip = (props) => {
|
|
|
3308
3345
|
const { side, align } = mapPlacementToSideAndAlign(placement);
|
|
3309
3346
|
const tooltipClasses = "group bg-(--background-tooltip) max-w-[calc(100vw-2rem)] shadow-card-md border-none rounded-4 py-1.5 px-2.5 [&>span]:scale-200 data-[state=delayed-open]:animate-in data-[state=instant-open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=delayed-open]:fade-in-0 data-[state=instant-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=instant-open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2";
|
|
3310
3347
|
const tooltipArrowClasses = "relative fill-(--background-tooltip) transition-[filter,transform] group-data-[side=top]:top-[-2px] group-data-[side=top]:drop-shadow-[0px_1px_1px_color-mix(in_srgb,_var(--color-b-black-10)_66%,_transparent)] group-data-[side=bottom]:drop-shadow-[0px_1px_1px_color-mix(in_srgb,_var(--color-b-black-10)_66%,_transparent)] group-data-[side=left]:drop-shadow-[0px_2px_1px_color-mix(in_srgb,_var(--color-b-black-10)_66%,_transparent)] group-data-[side=right]:drop-shadow-[0px_2px_1px_color-mix(in_srgb,_var(--color-b-black-10)_66%,_transparent)]";
|
|
3311
|
-
return /* @__PURE__ */
|
|
3348
|
+
return /* @__PURE__ */ jsxs23(
|
|
3312
3349
|
TooltipPrimitive.Root,
|
|
3313
3350
|
{
|
|
3314
3351
|
open,
|
|
@@ -3318,7 +3355,7 @@ var Tooltip = (props) => {
|
|
|
3318
3355
|
delayDuration,
|
|
3319
3356
|
children: [
|
|
3320
3357
|
/* @__PURE__ */ jsx36(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
3321
|
-
/* @__PURE__ */ jsx36(TooltipPrimitive.Portal, { children: /* @__PURE__ */
|
|
3358
|
+
/* @__PURE__ */ jsx36(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs23(
|
|
3322
3359
|
TooltipPrimitive.Content,
|
|
3323
3360
|
{
|
|
3324
3361
|
side,
|
|
@@ -3327,7 +3364,7 @@ var Tooltip = (props) => {
|
|
|
3327
3364
|
className: cn(tooltipClasses, className),
|
|
3328
3365
|
children: [
|
|
3329
3366
|
showArrow && /* @__PURE__ */ jsx36(TooltipArrow, { className: tooltipArrowClasses }),
|
|
3330
|
-
/* @__PURE__ */
|
|
3367
|
+
/* @__PURE__ */ jsxs23("div", { className: "grid", children: [
|
|
3331
3368
|
hasStrapline && /* @__PURE__ */ jsx36("span", { className: "caption text-secondary", children: strapline }),
|
|
3332
3369
|
/* @__PURE__ */ jsx36("h4", { className: "paragraph-md text-primary", children: title }),
|
|
3333
3370
|
hasDescription && /* @__PURE__ */ jsx36("p", { className: "paragraph-sm text-primary", children: description })
|
|
@@ -3342,7 +3379,7 @@ var Tooltip = (props) => {
|
|
|
3342
3379
|
Tooltip.displayName = "Tooltip";
|
|
3343
3380
|
|
|
3344
3381
|
// src/components/Inputs/Slider.tsx
|
|
3345
|
-
import { Fragment
|
|
3382
|
+
import { Fragment, jsx as jsx37, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3346
3383
|
var wrapperBase = "flex flex-col gap-2 items-start";
|
|
3347
3384
|
var isRangeProps = (props) => {
|
|
3348
3385
|
return Array.isArray(props.value) || Array.isArray(props.defaultValue);
|
|
@@ -3604,7 +3641,7 @@ var Slider = React35.forwardRef((props, forwardedRef) => {
|
|
|
3604
3641
|
const second = formatNumber(valueToPercent(secondary));
|
|
3605
3642
|
return `${first} - ${second}`;
|
|
3606
3643
|
}
|
|
3607
|
-
return /* @__PURE__ */
|
|
3644
|
+
return /* @__PURE__ */ jsxs24(Fragment, { children: [
|
|
3608
3645
|
formatDisplayNode(primary),
|
|
3609
3646
|
" - ",
|
|
3610
3647
|
formatDisplayNode(secondary)
|
|
@@ -3678,14 +3715,14 @@ var Slider = React35.forwardRef((props, forwardedRef) => {
|
|
|
3678
3715
|
}
|
|
3679
3716
|
);
|
|
3680
3717
|
};
|
|
3681
|
-
return /* @__PURE__ */
|
|
3718
|
+
return /* @__PURE__ */ jsxs24(
|
|
3682
3719
|
"div",
|
|
3683
3720
|
{
|
|
3684
3721
|
className: wrapperBase,
|
|
3685
3722
|
style: { marginInline: `${thumbRadius}px` },
|
|
3686
3723
|
ref: forwardedRef,
|
|
3687
3724
|
children: [
|
|
3688
|
-
name && /* @__PURE__ */
|
|
3725
|
+
name && /* @__PURE__ */ jsxs24(Fragment, { children: [
|
|
3689
3726
|
/* @__PURE__ */ jsx37(
|
|
3690
3727
|
"input",
|
|
3691
3728
|
{
|
|
@@ -3705,8 +3742,8 @@ var Slider = React35.forwardRef((props, forwardedRef) => {
|
|
|
3705
3742
|
}
|
|
3706
3743
|
)
|
|
3707
3744
|
] }),
|
|
3708
|
-
/* @__PURE__ */
|
|
3709
|
-
/* @__PURE__ */ jsx37("div", { className: "relative w-full", children: /* @__PURE__ */
|
|
3745
|
+
/* @__PURE__ */ jsxs24("div", { className: cn("w-full flex flex-col gap-1", className), children: [
|
|
3746
|
+
/* @__PURE__ */ jsx37("div", { className: "relative w-full", children: /* @__PURE__ */ jsxs24(
|
|
3710
3747
|
"div",
|
|
3711
3748
|
{
|
|
3712
3749
|
className: cn(
|
|
@@ -3765,7 +3802,7 @@ Slider.displayName = "Slider";
|
|
|
3765
3802
|
// src/components/Inputs/TextArea.tsx
|
|
3766
3803
|
import * as React36 from "react";
|
|
3767
3804
|
import { MaximizeIcon } from "@bubo-squared/icons";
|
|
3768
|
-
import { jsx as jsx38, jsxs as
|
|
3805
|
+
import { jsx as jsx38, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3769
3806
|
var TextArea = React36.forwardRef((props, forwardedRef) => {
|
|
3770
3807
|
const {
|
|
3771
3808
|
label,
|
|
@@ -3867,7 +3904,7 @@ var TextArea = React36.forwardRef((props, forwardedRef) => {
|
|
|
3867
3904
|
hideHint,
|
|
3868
3905
|
status,
|
|
3869
3906
|
disabled,
|
|
3870
|
-
children: /* @__PURE__ */
|
|
3907
|
+
children: /* @__PURE__ */ jsxs25(
|
|
3871
3908
|
"div",
|
|
3872
3909
|
{
|
|
3873
3910
|
className: cn(
|
|
@@ -3906,7 +3943,7 @@ var TextArea = React36.forwardRef((props, forwardedRef) => {
|
|
|
3906
3943
|
...textareaProps
|
|
3907
3944
|
}
|
|
3908
3945
|
),
|
|
3909
|
-
showCharacterLimit && /* @__PURE__ */
|
|
3946
|
+
showCharacterLimit && /* @__PURE__ */ jsxs25(
|
|
3910
3947
|
"span",
|
|
3911
3948
|
{
|
|
3912
3949
|
className: cn(
|
|
@@ -3948,7 +3985,7 @@ TextArea.displayName = "TextArea";
|
|
|
3948
3985
|
// src/components/Inputs/TextInput.tsx
|
|
3949
3986
|
import * as React37 from "react";
|
|
3950
3987
|
import { cva as cva20 } from "class-variance-authority";
|
|
3951
|
-
import { jsx as jsx39, jsxs as
|
|
3988
|
+
import { jsx as jsx39, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3952
3989
|
var inputTextVariants3 = cva20("truncate", {
|
|
3953
3990
|
variants: {
|
|
3954
3991
|
size: {
|
|
@@ -4036,7 +4073,7 @@ var TextInput = React37.forwardRef((props, forwardedRef) => {
|
|
|
4036
4073
|
hideHint,
|
|
4037
4074
|
status,
|
|
4038
4075
|
disabled,
|
|
4039
|
-
children: /* @__PURE__ */
|
|
4076
|
+
children: /* @__PURE__ */ jsxs26(
|
|
4040
4077
|
InputShell,
|
|
4041
4078
|
{
|
|
4042
4079
|
size,
|
|
@@ -4091,10 +4128,10 @@ TextInput.displayName = "TextInput";
|
|
|
4091
4128
|
|
|
4092
4129
|
// src/components/Inputs/Toggle.tsx
|
|
4093
4130
|
import * as React38 from "react";
|
|
4094
|
-
import { jsx as jsx40, jsxs as
|
|
4131
|
+
import { jsx as jsx40, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
4095
4132
|
var Toggle = React38.forwardRef((props, forwardedRef) => {
|
|
4096
4133
|
const { label, className, disabled, ...inputProps } = props;
|
|
4097
|
-
return /* @__PURE__ */
|
|
4134
|
+
return /* @__PURE__ */ jsxs27(
|
|
4098
4135
|
"label",
|
|
4099
4136
|
{
|
|
4100
4137
|
className: cn(
|
|
@@ -4102,7 +4139,7 @@ var Toggle = React38.forwardRef((props, forwardedRef) => {
|
|
|
4102
4139
|
disabled ? "cursor-default" : "cursor-pointer"
|
|
4103
4140
|
),
|
|
4104
4141
|
children: [
|
|
4105
|
-
/* @__PURE__ */
|
|
4142
|
+
/* @__PURE__ */ jsxs27("span", { className: "relative inline-flex items-center", children: [
|
|
4106
4143
|
/* @__PURE__ */ jsx40(
|
|
4107
4144
|
"input",
|
|
4108
4145
|
{
|
|
@@ -4183,7 +4220,7 @@ Toggle.displayName = "Toggle";
|
|
|
4183
4220
|
|
|
4184
4221
|
// src/components/Inputs/WebsiteInput.tsx
|
|
4185
4222
|
import * as React39 from "react";
|
|
4186
|
-
import { jsx as jsx41, jsxs as
|
|
4223
|
+
import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4187
4224
|
var WebsiteInput = React39.forwardRef((props, forwardedRef) => {
|
|
4188
4225
|
const {
|
|
4189
4226
|
hierarchy = "leading",
|
|
@@ -4220,11 +4257,11 @@ var WebsiteInput = React39.forwardRef((props, forwardedRef) => {
|
|
|
4220
4257
|
size === "xl" ? "[&>svg]:w-6 [&>svg]:h-6" : size === "sm" ? "[&>svg]:w-4 [&>svg]:h-4" : "[&>svg]:w-5 [&>svg]:h-5",
|
|
4221
4258
|
disabled ? "text-(--icon-primary-disabled)" : "text-(--icon-primary) group-hover:text-(--icon-primary-hover) group-focus-within:text-(--icon-primary-focus)"
|
|
4222
4259
|
);
|
|
4223
|
-
const leadingAddon = /* @__PURE__ */
|
|
4260
|
+
const leadingAddon = /* @__PURE__ */ jsxs28("div", { className: baseAddonClass, children: [
|
|
4224
4261
|
/* @__PURE__ */ jsx41("div", { className: addonTextClass, children: protocolLabel }),
|
|
4225
4262
|
icon != null && /* @__PURE__ */ jsx41("span", { className: iconWrapperClass, children: icon })
|
|
4226
4263
|
] });
|
|
4227
|
-
const trailingAddon = /* @__PURE__ */
|
|
4264
|
+
const trailingAddon = /* @__PURE__ */ jsxs28("div", { className: baseAddonClass, children: [
|
|
4228
4265
|
icon != null && /* @__PURE__ */ jsx41("span", { className: iconWrapperClass, children: icon }),
|
|
4229
4266
|
/* @__PURE__ */ jsx41("div", { className: addonTextClass, children: protocolLabel })
|
|
4230
4267
|
] });
|
|
@@ -4246,7 +4283,7 @@ WebsiteInput.displayName = "WebsiteInput";
|
|
|
4246
4283
|
// src/components/Feedback/Popover.tsx
|
|
4247
4284
|
import * as React40 from "react";
|
|
4248
4285
|
import * as PopoverPrimitive2 from "@radix-ui/react-popover";
|
|
4249
|
-
import { jsx as jsx42, jsxs as
|
|
4286
|
+
import { jsx as jsx42, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4250
4287
|
var PopoverArrow = PopoverPrimitive2.Arrow;
|
|
4251
4288
|
var Popover2 = (props) => {
|
|
4252
4289
|
const {
|
|
@@ -4314,9 +4351,9 @@ var Popover2 = (props) => {
|
|
|
4314
4351
|
}
|
|
4315
4352
|
};
|
|
4316
4353
|
const { side, align } = mapPlacementToSideAndAlign2(placement);
|
|
4317
|
-
return /* @__PURE__ */
|
|
4354
|
+
return /* @__PURE__ */ jsxs29(Popover, { open, onOpenChange: handleOpenChange, children: [
|
|
4318
4355
|
/* @__PURE__ */ jsx42(PopoverTrigger, { asChild: true, children }),
|
|
4319
|
-
/* @__PURE__ */
|
|
4356
|
+
/* @__PURE__ */ jsxs29(
|
|
4320
4357
|
PopoverContent,
|
|
4321
4358
|
{
|
|
4322
4359
|
side,
|
|
@@ -4326,13 +4363,13 @@ var Popover2 = (props) => {
|
|
|
4326
4363
|
...rest,
|
|
4327
4364
|
children: [
|
|
4328
4365
|
showArrow && /* @__PURE__ */ jsx42(PopoverArrow, { className: popoverArrowClasses }),
|
|
4329
|
-
customContent ? typeof customContent === "function" ? customContent({ close: () => handleOpenChange(false), ok: handleOk, cancel: handleCancel }) : customContent : /* @__PURE__ */
|
|
4330
|
-
/* @__PURE__ */
|
|
4366
|
+
customContent ? typeof customContent === "function" ? customContent({ close: () => handleOpenChange(false), ok: handleOk, cancel: handleCancel }) : customContent : /* @__PURE__ */ jsxs29("div", { className: "grid gap-4", children: [
|
|
4367
|
+
/* @__PURE__ */ jsxs29("div", { className: "space-y-2", children: [
|
|
4331
4368
|
hasStrapline && /* @__PURE__ */ jsx42("span", { className: "caption text-secondary", children: strapline }),
|
|
4332
4369
|
/* @__PURE__ */ jsx42("h4", { className: "subtitle-medium text-primary", children: title }),
|
|
4333
4370
|
hasDescription && /* @__PURE__ */ jsx42("p", { className: "paragraph-sm text-primary", children: description })
|
|
4334
4371
|
] }),
|
|
4335
|
-
/* @__PURE__ */
|
|
4372
|
+
/* @__PURE__ */ jsxs29("div", { className: "flex justify-start items-center gap-4 flex-wrap", children: [
|
|
4336
4373
|
/* @__PURE__ */ jsx42(Button2, { size: "sm", variant: "secondary", onClick: handleCancel, children: cancelText || "Cancel" }),
|
|
4337
4374
|
/* @__PURE__ */ jsx42(Button2, { size: "sm", variant: "primary", onClick: handleOk, children: okText || "Ok" })
|
|
4338
4375
|
] })
|
|
@@ -4373,8 +4410,8 @@ import * as React43 from "react";
|
|
|
4373
4410
|
// src/components/ui/breadcrumb.tsx
|
|
4374
4411
|
import "react";
|
|
4375
4412
|
import { Slot as Slot6 } from "@radix-ui/react-slot";
|
|
4376
|
-
import { jsx as jsx44
|
|
4377
|
-
var breadcrumbItemClasses = "
|
|
4413
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
4414
|
+
var breadcrumbItemClasses = "inline-flex items-center gap-1.5 text-(--color-secondary) hover:text-(--color-primary-hover) focus-within:text-(--color-secondary-focus) [&_[aria-current=page]]:font-medium [&_[aria-current=page]]:text-primary";
|
|
4378
4415
|
var disabledItemClasses = "text-primary-disabled cursor-default pointer-events-none";
|
|
4379
4416
|
function Breadcrumb({ ...props }) {
|
|
4380
4417
|
return /* @__PURE__ */ jsx44("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
@@ -4398,7 +4435,6 @@ function BreadcrumbItem({ className, disabled, ...props }) {
|
|
|
4398
4435
|
{
|
|
4399
4436
|
"data-slot": "breadcrumb-item",
|
|
4400
4437
|
className: cn(breadcrumbItemClasses, disabled && disabledItemClasses, className),
|
|
4401
|
-
style: { marginBottom: "7px" },
|
|
4402
4438
|
...props
|
|
4403
4439
|
}
|
|
4404
4440
|
);
|
|
@@ -4427,36 +4463,16 @@ function BreadcrumbSeparator({
|
|
|
4427
4463
|
"data-slot": "breadcrumb-separator",
|
|
4428
4464
|
role: "presentation",
|
|
4429
4465
|
"aria-hidden": "true",
|
|
4430
|
-
className: cn("
|
|
4466
|
+
className: cn("text-secondary", className),
|
|
4431
4467
|
...props,
|
|
4432
4468
|
children: children ?? /* @__PURE__ */ jsx44(ChevronRight, {})
|
|
4433
4469
|
}
|
|
4434
4470
|
);
|
|
4435
4471
|
}
|
|
4436
|
-
function BreadcrumbEllipsis({
|
|
4437
|
-
className,
|
|
4438
|
-
...props
|
|
4439
|
-
}) {
|
|
4440
|
-
return /* @__PURE__ */ jsxs31(
|
|
4441
|
-
"span",
|
|
4442
|
-
{
|
|
4443
|
-
"data-slot": "breadcrumb-ellipsis",
|
|
4444
|
-
role: "presentation",
|
|
4445
|
-
"aria-hidden": "true",
|
|
4446
|
-
className: cn("flex size-9 items-center justify-center", className),
|
|
4447
|
-
...props,
|
|
4448
|
-
children: [
|
|
4449
|
-
/* @__PURE__ */ jsx44(Ellipsis, { className: "size-4" }),
|
|
4450
|
-
/* @__PURE__ */ jsx44("span", { className: "sr-only", children: "More" })
|
|
4451
|
-
]
|
|
4452
|
-
}
|
|
4453
|
-
);
|
|
4454
|
-
}
|
|
4455
4472
|
|
|
4456
4473
|
// src/components/Navigation/Breadcrumbs.tsx
|
|
4457
|
-
import {
|
|
4458
|
-
|
|
4459
|
-
var breadcrumbItemBase = "h6-title text-secondary hover:text-primary-hover";
|
|
4474
|
+
import { MoreHorizFullIcon } from "@bubo-squared/icons";
|
|
4475
|
+
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4460
4476
|
var Breadcrumbs = React43.forwardRef(
|
|
4461
4477
|
(props, ref) => {
|
|
4462
4478
|
const {
|
|
@@ -4467,40 +4483,53 @@ var Breadcrumbs = React43.forwardRef(
|
|
|
4467
4483
|
breadcrumbItemClassName,
|
|
4468
4484
|
breadcrumbPageClassName,
|
|
4469
4485
|
separatorClassName,
|
|
4486
|
+
breadcrumbListClassName,
|
|
4487
|
+
ellipsisItemClassName,
|
|
4488
|
+
ellipsisTriggerClassName,
|
|
4489
|
+
ellipsisContentClassName,
|
|
4490
|
+
ellipsisGroupClassName,
|
|
4491
|
+
ellipsisMenuItemClassName,
|
|
4492
|
+
ellipsisAriaLabel = "Open breadcrumb menu",
|
|
4470
4493
|
...rest
|
|
4471
4494
|
} = props;
|
|
4472
4495
|
const items = React43.Children.toArray(children).filter(Boolean);
|
|
4473
4496
|
const shouldCollapse = Boolean(ellipsis) && items.length >= 5;
|
|
4474
4497
|
const hiddenItems = shouldCollapse ? items.slice(1, -2) : [];
|
|
4475
4498
|
const displayItems = shouldCollapse ? [items[0], "__ELLIPSIS__", items[items.length - 2], items[items.length - 1]] : items;
|
|
4476
|
-
return /* @__PURE__ */ jsx45(Breadcrumb, { ref, className, ...rest, children: /* @__PURE__ */ jsx45(BreadcrumbList, { children: displayItems.map((child, index) => {
|
|
4499
|
+
return /* @__PURE__ */ jsx45(Breadcrumb, { ref, className: cn("mb-1.75", className), ...rest, children: /* @__PURE__ */ jsx45(BreadcrumbList, { className: breadcrumbListClassName, children: displayItems.map((child, index) => {
|
|
4477
4500
|
const isEllipsis = child === "__ELLIPSIS__";
|
|
4478
4501
|
const key = isEllipsis ? "__ellipsis" : React43.isValidElement(child) && child.key != null ? String(child.key) : String(index);
|
|
4479
4502
|
const isLast = index === displayItems.length - 1;
|
|
4480
|
-
return /* @__PURE__ */
|
|
4481
|
-
isEllipsis ? /* @__PURE__ */ jsx45(BreadcrumbItem, { className: cn(
|
|
4503
|
+
return /* @__PURE__ */ jsxs30(React43.Fragment, { children: [
|
|
4504
|
+
isEllipsis ? /* @__PURE__ */ jsx45(BreadcrumbItem, { className: cn(breadcrumbItemClassName, ellipsisItemClassName), children: /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
|
|
4482
4505
|
/* @__PURE__ */ jsx45(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx45(
|
|
4483
|
-
|
|
4506
|
+
Button,
|
|
4484
4507
|
{
|
|
4485
|
-
|
|
4486
|
-
className:
|
|
4487
|
-
|
|
4488
|
-
|
|
4508
|
+
variant: "ghost",
|
|
4509
|
+
className: cn(
|
|
4510
|
+
"inline-flex text-secondary hover:text-primary &[aria-expanded=true]:text-primary-focus items-center justify-center",
|
|
4511
|
+
ellipsisTriggerClassName
|
|
4512
|
+
),
|
|
4513
|
+
"aria-label": ellipsisAriaLabel,
|
|
4514
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
4515
|
+
role: "presentation",
|
|
4516
|
+
"aria-hidden": "true",
|
|
4517
|
+
children: /* @__PURE__ */ jsx45(MoreHorizFullIcon, {})
|
|
4489
4518
|
}
|
|
4490
4519
|
) }),
|
|
4491
4520
|
/* @__PURE__ */ jsx45(
|
|
4492
4521
|
DropdownMenuContent,
|
|
4493
4522
|
{
|
|
4494
4523
|
align: "start",
|
|
4495
|
-
className:
|
|
4496
|
-
children: /* @__PURE__ */ jsx45(DropdownMenuGroup, { children: hiddenItems.map((hidden, hiddenIndex) => {
|
|
4524
|
+
className: ellipsisContentClassName,
|
|
4525
|
+
children: /* @__PURE__ */ jsx45(DropdownMenuGroup, { className: ellipsisGroupClassName, children: hiddenItems.map((hidden, hiddenIndex) => {
|
|
4497
4526
|
const hiddenKey = React43.isValidElement(hidden) && hidden.key != null ? String(hidden.key) : `hidden-${hiddenIndex}`;
|
|
4498
4527
|
if (React43.isValidElement(hidden)) {
|
|
4499
4528
|
return /* @__PURE__ */ jsx45(
|
|
4500
4529
|
DropdownMenuItem,
|
|
4501
4530
|
{
|
|
4502
4531
|
asChild: true,
|
|
4503
|
-
className:
|
|
4532
|
+
className: ellipsisMenuItemClassName,
|
|
4504
4533
|
children: hidden
|
|
4505
4534
|
},
|
|
4506
4535
|
hiddenKey
|
|
@@ -4509,7 +4538,7 @@ var Breadcrumbs = React43.forwardRef(
|
|
|
4509
4538
|
return /* @__PURE__ */ jsx45(
|
|
4510
4539
|
DropdownMenuItem,
|
|
4511
4540
|
{
|
|
4512
|
-
className:
|
|
4541
|
+
className: ellipsisMenuItemClassName,
|
|
4513
4542
|
children: String(hidden)
|
|
4514
4543
|
},
|
|
4515
4544
|
hiddenKey
|
|
@@ -4517,14 +4546,8 @@ var Breadcrumbs = React43.forwardRef(
|
|
|
4517
4546
|
}) })
|
|
4518
4547
|
}
|
|
4519
4548
|
)
|
|
4520
|
-
] }) }) : isLast ? /* @__PURE__ */ jsx45(BreadcrumbItem, { className:
|
|
4521
|
-
|
|
4522
|
-
{
|
|
4523
|
-
className: cn("h6-title-medium cursor-pointer", breadcrumbPageClassName),
|
|
4524
|
-
children: child
|
|
4525
|
-
}
|
|
4526
|
-
) }) : /* @__PURE__ */ jsx45(BreadcrumbItem, { className: cn(breadcrumbItemBase, breadcrumbItemClassName), children: child }),
|
|
4527
|
-
!isLast && /* @__PURE__ */ jsx45(BreadcrumbSeparator, { className: cn(breadcrumbSeparatorVariants, separatorClassName), children: separator })
|
|
4549
|
+
] }) }) : isLast ? /* @__PURE__ */ jsx45(BreadcrumbItem, { className: breadcrumbItemClassName, children: /* @__PURE__ */ jsx45(BreadcrumbPage, { className: breadcrumbPageClassName, children: child }) }) : /* @__PURE__ */ jsx45(BreadcrumbItem, { className: breadcrumbItemClassName, children: child }),
|
|
4550
|
+
!isLast && /* @__PURE__ */ jsx45(BreadcrumbSeparator, { className: separatorClassName, children: separator })
|
|
4528
4551
|
] }, key);
|
|
4529
4552
|
}) }) });
|
|
4530
4553
|
}
|
|
@@ -4533,8 +4556,8 @@ Breadcrumbs.displayName = "Breadcrumbs";
|
|
|
4533
4556
|
|
|
4534
4557
|
// src/components/Logo/LogoIcon.tsx
|
|
4535
4558
|
import { cva as cva21 } from "class-variance-authority";
|
|
4536
|
-
import { jsx as jsx46, jsxs as
|
|
4537
|
-
var LogoIconSvg = (props) => /* @__PURE__ */
|
|
4559
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4560
|
+
var LogoIconSvg = (props) => /* @__PURE__ */ jsxs31("svg", { width: "89", height: "88", viewBox: "0 0 89 88", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
4538
4561
|
/* @__PURE__ */ jsx46("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.7156 3.88535C78.5352 -1.29512 70.136 -1.29512 64.9555 3.88535L43.9999 24.8409L43.9995 24.8405L62.3536 6.48637C52.2379 16.5949 35.8584 16.6179 25.7142 6.55523L23.4434 4.28438C18.2629 -0.896082 9.86373 -0.89608 4.68327 4.28438C-0.497191 9.46484 -0.49719 17.864 4.68327 23.0445L6.88526 25.2465C17.0191 35.3875 17.0168 51.8235 6.87859 61.9618L25.2395 43.6008L25.2398 43.601L3.88534 64.9555C-1.29512 70.136 -1.29511 78.5351 3.88535 83.7156C9.06581 88.8961 17.465 88.8961 22.6455 83.7156L25.6458 80.7151L25.6864 80.6747C35.7981 70.6137 52.1313 70.597 62.2636 80.6248L65.7534 84.1146C70.9339 89.2951 79.3331 89.2951 84.5135 84.1146C89.694 78.9342 89.694 70.535 84.5135 65.3545L62.76 43.601L62.7602 43.6009L81.1144 61.9552C70.9806 51.8142 70.9829 35.3782 81.1211 25.24L83.7156 22.6455C88.8961 17.465 88.8961 9.06581 83.7156 3.88535Z", fill: "#1685FF" }),
|
|
4539
4562
|
/* @__PURE__ */ jsx46("path", { d: "M44.0667 50.4863C44.1213 50.4317 44.21 50.4317 44.2646 50.4863L48.6465 54.8682C48.6942 54.9158 48.7011 54.9907 48.663 55.0463L44.2812 61.4453C44.2256 61.5265 44.1057 61.5265 44.0501 61.4453L39.6683 55.0463C39.6302 54.9907 39.6371 54.9158 39.6848 54.8682L44.0667 50.4863Z", fill: "white" }),
|
|
4540
4563
|
/* @__PURE__ */ jsx46("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M44.107 45.3938C44.0536 45.289 43.9013 45.289 43.8479 45.3938C41.8622 49.293 37.8104 51.9638 33.1347 51.9638C26.4991 51.9638 21.1199 46.5846 21.1199 39.9489C21.1199 33.3133 26.4991 27.9341 33.1347 27.9341C37.8104 27.9341 41.8622 30.6049 43.8479 34.5041C43.9013 34.6089 44.0536 34.6089 44.107 34.5041C46.0926 30.6049 50.1445 27.9341 54.8201 27.9341C61.4558 27.9341 66.835 33.3133 66.835 39.9489C66.835 46.5846 61.4558 51.9638 54.8201 51.9638C50.1445 51.9638 46.0926 49.293 44.107 45.3938Z", fill: "white" }),
|
|
@@ -4571,15 +4594,15 @@ var LogoIcon = ({ className, size = "md" }) => {
|
|
|
4571
4594
|
|
|
4572
4595
|
// src/components/Logo/Logo.tsx
|
|
4573
4596
|
import { cva as cva22 } from "class-variance-authority";
|
|
4574
|
-
import { jsx as jsx47, jsxs as
|
|
4575
|
-
var LogoIconSvg2 = (props) => /* @__PURE__ */
|
|
4597
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4598
|
+
var LogoIconSvg2 = (props) => /* @__PURE__ */ jsxs32("svg", { width: "89", height: "88", viewBox: "0 0 89 88", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
4576
4599
|
/* @__PURE__ */ jsx47("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.7156 3.88535C78.5352 -1.29512 70.136 -1.29512 64.9555 3.88535L43.9999 24.8409L43.9995 24.8405L62.3536 6.48637C52.2379 16.5949 35.8584 16.6179 25.7142 6.55523L23.4434 4.28438C18.2629 -0.896082 9.86373 -0.89608 4.68327 4.28438C-0.497191 9.46484 -0.49719 17.864 4.68327 23.0445L6.88526 25.2465C17.0191 35.3875 17.0168 51.8235 6.87859 61.9618L25.2395 43.6008L25.2398 43.601L3.88534 64.9555C-1.29512 70.136 -1.29511 78.5351 3.88535 83.7156C9.06581 88.8961 17.465 88.8961 22.6455 83.7156L25.6458 80.7151L25.6864 80.6747C35.7981 70.6137 52.1313 70.597 62.2636 80.6248L65.7534 84.1146C70.9339 89.2951 79.3331 89.2951 84.5135 84.1146C89.694 78.9342 89.694 70.535 84.5135 65.3545L62.76 43.601L62.7602 43.6009L81.1144 61.9552C70.9806 51.8142 70.9829 35.3782 81.1211 25.24L83.7156 22.6455C88.8961 17.465 88.8961 9.06581 83.7156 3.88535Z", fill: "#1685FF" }),
|
|
4577
4600
|
/* @__PURE__ */ jsx47("path", { d: "M44.0667 50.4863C44.1213 50.4317 44.21 50.4317 44.2646 50.4863L48.6465 54.8682C48.6942 54.9158 48.7011 54.9907 48.663 55.0463L44.2812 61.4453C44.2256 61.5265 44.1057 61.5265 44.0501 61.4453L39.6683 55.0463C39.6302 54.9907 39.6371 54.9158 39.6848 54.8682L44.0667 50.4863Z", fill: "white" }),
|
|
4578
4601
|
/* @__PURE__ */ jsx47("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M44.107 45.3938C44.0536 45.289 43.9013 45.289 43.8479 45.3938C41.8622 49.293 37.8104 51.9638 33.1347 51.9638C26.4991 51.9638 21.1199 46.5846 21.1199 39.9489C21.1199 33.3133 26.4991 27.9341 33.1347 27.9341C37.8104 27.9341 41.8622 30.6049 43.8479 34.5041C43.9013 34.6089 44.0536 34.6089 44.107 34.5041C46.0926 30.6049 50.1445 27.9341 54.8201 27.9341C61.4558 27.9341 66.835 33.3133 66.835 39.9489C66.835 46.5846 61.4558 51.9638 54.8201 51.9638C50.1445 51.9638 46.0926 49.293 44.107 45.3938Z", fill: "white" }),
|
|
4579
4602
|
/* @__PURE__ */ jsx47("path", { d: "M60.1113 40.0006C60.1113 43.052 57.6377 45.5256 54.5863 45.5256C51.535 45.5256 49.0614 43.052 49.0614 40.0006C49.0614 36.9493 51.535 34.4757 54.5863 34.4757C57.6377 34.4757 60.1113 36.9493 60.1113 40.0006Z", fill: "#1685FF" }),
|
|
4580
4603
|
/* @__PURE__ */ jsx47("path", { d: "M38.8954 40.0006C38.8954 43.052 36.4218 45.5256 33.3705 45.5256C30.3192 45.5256 27.8456 43.052 27.8456 40.0006C27.8456 36.9493 30.3192 34.4757 33.3705 34.4757C36.4218 34.4757 38.8954 36.9493 38.8954 40.0006Z", fill: "#1685FF" })
|
|
4581
4604
|
] });
|
|
4582
|
-
var LogoTextSvg = (props) => /* @__PURE__ */
|
|
4605
|
+
var LogoTextSvg = (props) => /* @__PURE__ */ jsxs32("svg", { width: "111", height: "32", viewBox: "0 0 111 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
4583
4606
|
/* @__PURE__ */ jsx47("path", { d: "M72.7324 20.9658C72.7324 14.4559 77.4246 9.9751 83.8922 9.9751C90.3598 9.9751 95.052 14.4559 95.052 20.9658C95.052 27.4757 90.3598 31.9565 83.8922 31.9565C77.4246 31.9565 72.7324 27.4757 72.7324 20.9658ZM77.8896 20.9658C77.8896 24.7703 80.3414 27.3489 83.8922 27.3489C87.4431 27.3489 89.8948 24.7703 89.8948 20.9658C89.8948 17.1613 87.4431 14.5827 83.8922 14.5827C80.3414 14.5827 77.8896 17.1613 77.8896 20.9658Z", fill: "currentColor" }),
|
|
4584
4607
|
/* @__PURE__ */ jsx47("path", { d: "M53.4056 31.4503H48.6289V0H53.7861V13.6116C55.1388 11.2866 57.9287 9.89163 61.0991 9.89163C67.0595 9.89163 70.6949 14.5415 70.6949 21.136C70.6949 27.5613 66.7636 31.9998 60.761 31.9998C57.6328 31.9998 54.9697 30.6049 53.7438 28.1954L53.4056 31.4503ZM53.8284 20.9246C53.8284 24.6868 56.1533 27.2654 59.7042 27.2654C63.3395 27.2654 65.4954 24.6445 65.4954 20.9246C65.4954 17.2047 63.3395 14.5415 59.7042 14.5415C56.1533 14.5415 53.8284 17.1624 53.8284 20.9246Z", fill: "currentColor" }),
|
|
4585
4608
|
/* @__PURE__ */ jsx47("path", { d: "M38.9929 10.5681H44.15V31.4504H39.3733L38.9929 28.6605C37.7247 30.6473 35.0193 32 32.2293 32C27.4103 32 24.5781 28.745 24.5781 23.6301V10.5681H29.7353V21.8124C29.7353 25.786 31.2994 27.3923 34.1739 27.3923C37.4288 27.3923 38.9929 25.4901 38.9929 21.5165V10.5681Z", fill: "currentColor" }),
|
|
@@ -4625,7 +4648,7 @@ var logoTextSizeVariants = cva22("", {
|
|
|
4625
4648
|
});
|
|
4626
4649
|
var Logo = ({ className, textColor, variant = "inline" }) => {
|
|
4627
4650
|
const textColorClass = textColor === "light" ? "text-(--color-b-white)" : textColor === "dark" ? "text-(--color-b-black)" : "text-primary";
|
|
4628
|
-
return /* @__PURE__ */
|
|
4651
|
+
return /* @__PURE__ */ jsxs32("div", { className: cn(logoWrapperVariants({ variant }), className), children: [
|
|
4629
4652
|
/* @__PURE__ */ jsx47(LogoIconSvg2, { className: logoIconSizeVariants({ variant }) }),
|
|
4630
4653
|
/* @__PURE__ */ jsx47(LogoTextSvg, { className: cn(logoTextSizeVariants({ variant }), textColorClass) })
|
|
4631
4654
|
] });
|
|
@@ -4686,7 +4709,6 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
|
4686
4709
|
lucide-react/dist/esm/Icon.js:
|
|
4687
4710
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
4688
4711
|
lucide-react/dist/esm/icons/chevron-right.js:
|
|
4689
|
-
lucide-react/dist/esm/icons/ellipsis.js:
|
|
4690
4712
|
lucide-react/dist/esm/lucide-react.js:
|
|
4691
4713
|
(**
|
|
4692
4714
|
* @license lucide-react v0.555.0 - ISC
|