@bubo-squared/ui-framework 0.1.3 → 0.1.5
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 +69 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +69 -70
- package/dist/index.js.map +1 -1
- package/dist/style.css +2 -0
- package/package.json +3 -3
- package/dist/ui-framework.css +0 -2
package/dist/index.cjs
CHANGED
|
@@ -83,7 +83,7 @@ function cn(...inputs) {
|
|
|
83
83
|
// src/components/Buttons/Button.tsx
|
|
84
84
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
85
85
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
86
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden cursor-pointer",
|
|
86
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden cursor-pointer",
|
|
87
87
|
{
|
|
88
88
|
variants: {
|
|
89
89
|
variant: {
|
|
@@ -120,10 +120,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
|
120
120
|
var buttonIconVariants = (0, import_class_variance_authority.cva)("relative", {
|
|
121
121
|
variants: {
|
|
122
122
|
size: {
|
|
123
|
-
sm: ["
|
|
124
|
-
md: ["
|
|
125
|
-
lg: ["
|
|
126
|
-
xl: ["
|
|
123
|
+
sm: ["size-5", "*:size-5"],
|
|
124
|
+
md: ["size-6", "*:size-6"],
|
|
125
|
+
lg: ["size-6", "*:size-6"],
|
|
126
|
+
xl: ["size-8", "*:size-8"]
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
});
|
|
@@ -195,7 +195,7 @@ var import_react_slot2 = require("@radix-ui/react-slot");
|
|
|
195
195
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
196
196
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
197
197
|
var iconButtonVariants = (0, import_class_variance_authority3.cva)(
|
|
198
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden p-1.5 cursor-pointer",
|
|
198
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden p-1.5 cursor-pointer",
|
|
199
199
|
{
|
|
200
200
|
variants: {
|
|
201
201
|
variant: {
|
|
@@ -217,10 +217,10 @@ var iconButtonVariants = (0, import_class_variance_authority3.cva)(
|
|
|
217
217
|
]
|
|
218
218
|
},
|
|
219
219
|
size: {
|
|
220
|
-
sm: ["[&>.buttonIcon>svg]:
|
|
221
|
-
md: ["[&>.buttonIcon>svg]:
|
|
222
|
-
lg: ["[&>.buttonIcon>svg]:
|
|
223
|
-
xl: ["[&>.buttonIcon>svg]:
|
|
220
|
+
sm: ["[&>.buttonIcon>svg]:size-5"],
|
|
221
|
+
md: ["[&>.buttonIcon>svg]:size-6"],
|
|
222
|
+
lg: ["[&>.buttonIcon>svg]:size-8"],
|
|
223
|
+
xl: ["[&>.buttonIcon>svg]:size-9"]
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
defaultVariants: {
|
|
@@ -257,7 +257,7 @@ IconButton.displayName = "IconButton";
|
|
|
257
257
|
var React3 = require("react");
|
|
258
258
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
259
259
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
260
|
-
var IconGroupLinesClass = "inline-flex items-center justify-center gap-0 [&>button]:outline-none! [&>button]:rounded-none [&>button:focus]:shadow-none [&>button:focus]:bg-(--border-secondary) [&>button:first-child]:rounded-l [&>button:last-child]:rounded-r";
|
|
260
|
+
var IconGroupLinesClass = "inline-flex items-center justify-center gap-0 [&>button]:outline-none! [&>button]:rounded-none [&>button:focus]:shadow-none [&>button:focus]:bg-(--border-secondary) [&>button:first-child]:rounded-l-4 [&>button:last-child]:rounded-r-4";
|
|
261
261
|
var IconGroupSizeVariants = (0, import_class_variance_authority4.cva)("", {
|
|
262
262
|
variants: {
|
|
263
263
|
size: {
|
|
@@ -295,8 +295,8 @@ var IconButtonGroup = (props) => {
|
|
|
295
295
|
disabled: item.disabled,
|
|
296
296
|
className: cn(
|
|
297
297
|
"rounded-none border-1 border-(--border-secondary) text-(--text-primary) ",
|
|
298
|
-
index === 0 && "rounded-l-
|
|
299
|
-
index === items.length - 1 && "rounded-r-
|
|
298
|
+
index === 0 && "rounded-l-6",
|
|
299
|
+
index === items.length - 1 && "rounded-r-6",
|
|
300
300
|
index > 0 && "-ml-px"
|
|
301
301
|
),
|
|
302
302
|
onClick: item.onClick
|
|
@@ -314,7 +314,7 @@ var import_react_slot3 = require("@radix-ui/react-slot");
|
|
|
314
314
|
var import_class_variance_authority5 = require("class-variance-authority");
|
|
315
315
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
316
316
|
var linkButtonVariants = (0, import_class_variance_authority5.cva)(
|
|
317
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden gap-2 cursor-pointer",
|
|
317
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden gap-2 cursor-pointer",
|
|
318
318
|
{
|
|
319
319
|
variants: {
|
|
320
320
|
variant: {
|
|
@@ -338,10 +338,10 @@ var linkButtonVariants = (0, import_class_variance_authority5.cva)(
|
|
|
338
338
|
var linkButtonIconVariants = (0, import_class_variance_authority5.cva)("relative", {
|
|
339
339
|
variants: {
|
|
340
340
|
size: {
|
|
341
|
-
sm: ["
|
|
342
|
-
md: ["
|
|
343
|
-
lg: ["
|
|
344
|
-
xl: ["
|
|
341
|
+
sm: ["size-5", "*:size-5"],
|
|
342
|
+
md: ["size-5", "*:size-5"],
|
|
343
|
+
lg: ["size-6", "*:size-6"],
|
|
344
|
+
xl: ["size-6", "*:size-6"]
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
});
|
|
@@ -423,9 +423,9 @@ var MessageButton = (props) => {
|
|
|
423
423
|
type: "button",
|
|
424
424
|
...buttonProps,
|
|
425
425
|
onClick: handleClick,
|
|
426
|
-
className: `inline-flex items-center justify-center rounded px-1.5 py-1 gap-1 text-sm transition-colors cursor-pointer ${statusClasses} ${className}`,
|
|
426
|
+
className: `inline-flex items-center justify-center rounded-4 px-1.5 py-1 gap-1 text-sm transition-colors cursor-pointer ${statusClasses} ${className}`,
|
|
427
427
|
children: [
|
|
428
|
-
props.icon && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "
|
|
428
|
+
props.icon && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "size-5 *:size-5 relative", children: props.icon }),
|
|
429
429
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-center text-xl font-normal leading-7", children: label })
|
|
430
430
|
]
|
|
431
431
|
}
|
|
@@ -482,13 +482,13 @@ var avatarIconVariants = (0, import_class_variance_authority6.cva)(
|
|
|
482
482
|
{
|
|
483
483
|
variants: {
|
|
484
484
|
size: {
|
|
485
|
-
"20": "
|
|
486
|
-
"24": "
|
|
487
|
-
"32": "
|
|
488
|
-
"40": "
|
|
489
|
-
"48": "
|
|
490
|
-
"56": "
|
|
491
|
-
"64": "
|
|
485
|
+
"20": "size-3 [&>svg]:size-3",
|
|
486
|
+
"24": "size-3.5 [&>svg]:size-3.5",
|
|
487
|
+
"32": "size-4 [&>svg]:size-4",
|
|
488
|
+
"40": "size-5 [&>svg]:size-5",
|
|
489
|
+
"48": "size-6 [&>svg]:size-6",
|
|
490
|
+
"56": "size-7 [&>svg]:size-7",
|
|
491
|
+
"64": "size-8 [&>svg]:size-8"
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
494
|
defaultVariants: {
|
|
@@ -540,7 +540,7 @@ var import_react_slot5 = require("@radix-ui/react-slot");
|
|
|
540
540
|
var import_class_variance_authority7 = require("class-variance-authority");
|
|
541
541
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
542
542
|
var badgeVariants = (0, import_class_variance_authority7.cva)(
|
|
543
|
-
"inline-flex items-center justify-center rounded-
|
|
543
|
+
"inline-flex items-center justify-center rounded-4 leading-none whitespace-nowrap gap-1 px-1 py-0",
|
|
544
544
|
{
|
|
545
545
|
variants: {
|
|
546
546
|
size: {
|
|
@@ -607,8 +607,8 @@ var badgeDigitVariants = (0, import_class_variance_authority8.cva)(
|
|
|
607
607
|
{
|
|
608
608
|
variants: {
|
|
609
609
|
size: {
|
|
610
|
-
sm: "px-[6px] rounded-
|
|
611
|
-
md: "px-2 py-[2px] rounded-
|
|
610
|
+
sm: "px-[6px] rounded-2 caption-medium",
|
|
611
|
+
md: "px-2 py-[2px] rounded-4 paragraph-s-medium"
|
|
612
612
|
},
|
|
613
613
|
variant: {
|
|
614
614
|
primary: "bg-(--background-brand)",
|
|
@@ -653,7 +653,7 @@ BadgeDigit.displayName = "BadgeDigit";
|
|
|
653
653
|
var React9 = require("react");
|
|
654
654
|
var import_class_variance_authority9 = require("class-variance-authority");
|
|
655
655
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
656
|
-
var badgeDotVariants = (0, import_class_variance_authority9.cva)("rounded-
|
|
656
|
+
var badgeDotVariants = (0, import_class_variance_authority9.cva)("rounded-12 size-3", {
|
|
657
657
|
variants: {
|
|
658
658
|
status: {
|
|
659
659
|
disabled: "bg-(--text-primary)",
|
|
@@ -697,7 +697,7 @@ var BadgeStatus = React10.forwardRef(
|
|
|
697
697
|
"span",
|
|
698
698
|
{
|
|
699
699
|
className: cn(
|
|
700
|
-
"shrink-0
|
|
700
|
+
"shrink-0 size-3 rounded-full",
|
|
701
701
|
dotClasses,
|
|
702
702
|
dotClassName
|
|
703
703
|
)
|
|
@@ -776,9 +776,9 @@ Divider.displayName = "Divider";
|
|
|
776
776
|
var React12 = __toESM(require("react"), 1);
|
|
777
777
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
778
778
|
var sizeToBarClasses = {
|
|
779
|
-
lg: "h-4 rounded-
|
|
780
|
-
md: "h-2 rounded-
|
|
781
|
-
sm: "h-1 rounded-
|
|
779
|
+
lg: "h-4 rounded-16",
|
|
780
|
+
md: "h-2 rounded-8",
|
|
781
|
+
sm: "h-1 rounded-4"
|
|
782
782
|
};
|
|
783
783
|
var Progress = React12.forwardRef(
|
|
784
784
|
(props, ref) => {
|
|
@@ -816,7 +816,7 @@ var Progress = React12.forwardRef(
|
|
|
816
816
|
{
|
|
817
817
|
className: cn(
|
|
818
818
|
"bg-(--chart-brand) h-full",
|
|
819
|
-
size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-
|
|
819
|
+
size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-[1px]"
|
|
820
820
|
),
|
|
821
821
|
style: { width: `${clamped}%` }
|
|
822
822
|
}
|
|
@@ -835,7 +835,7 @@ var import_class_variance_authority10 = require("class-variance-authority");
|
|
|
835
835
|
var import_icons3 = require("@bubo-squared/icons");
|
|
836
836
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
837
837
|
var iconStatusVariants = (0, import_class_variance_authority10.cva)(
|
|
838
|
-
"inline-flex
|
|
838
|
+
"inline-flex size-5 items-center justify-center rounded-full border-1 border-(--text-primary-inverse) p-1",
|
|
839
839
|
{
|
|
840
840
|
variants: {
|
|
841
841
|
variant: {
|
|
@@ -871,7 +871,7 @@ var StatusAvatar = React13.forwardRef((props, ref) => {
|
|
|
871
871
|
className
|
|
872
872
|
),
|
|
873
873
|
...rest,
|
|
874
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cn(dotClasses, "
|
|
874
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cn(dotClasses, "size-3.5 rounded-full") })
|
|
875
875
|
}
|
|
876
876
|
);
|
|
877
877
|
}
|
|
@@ -883,11 +883,11 @@ var StatusAvatar = React13.forwardRef((props, ref) => {
|
|
|
883
883
|
className: cn(iconStatusVariants({ variant: iconVariant }), className),
|
|
884
884
|
...rest,
|
|
885
885
|
children: [
|
|
886
|
-
iconVariant === "verified" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.CheckIcon, { className: "
|
|
887
|
-
iconVariant === "bookmark" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.BookmarkCheckIcon, { className: "
|
|
888
|
-
iconVariant === "favorite" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.StarIcon, { className: "
|
|
889
|
-
iconVariant === "add" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.PlusIcon, { className: "
|
|
890
|
-
iconVariant === "remove" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.CrossIcon, { className: "
|
|
886
|
+
iconVariant === "verified" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.CheckIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
887
|
+
iconVariant === "bookmark" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.BookmarkCheckIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
888
|
+
iconVariant === "favorite" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.StarIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
889
|
+
iconVariant === "add" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.PlusIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
890
|
+
iconVariant === "remove" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_icons3.CrossIcon, { className: "size-3 text-(--text-button-white)" })
|
|
891
891
|
]
|
|
892
892
|
}
|
|
893
893
|
);
|
|
@@ -900,7 +900,7 @@ var import_react_slot6 = require("@radix-ui/react-slot");
|
|
|
900
900
|
var import_class_variance_authority11 = require("class-variance-authority");
|
|
901
901
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
902
902
|
var tagVariants = (0, import_class_variance_authority11.cva)(
|
|
903
|
-
"inline-flex flex-row items-center justify-center rounded-
|
|
903
|
+
"inline-flex flex-row items-center justify-center rounded-6 gap-2 px-3 overflow-hidden border-1 border-(--border-secondary) bg-(--background-neutral) hover:border-(--border-secondary-hover) focus:border-(--border-brand) focus-ring-primary ",
|
|
904
904
|
{
|
|
905
905
|
variants: {
|
|
906
906
|
size: {
|
|
@@ -961,7 +961,7 @@ function Checkbox({ label, className, ...props }) {
|
|
|
961
961
|
CheckboxPrimitive.Root,
|
|
962
962
|
{
|
|
963
963
|
className: cn(
|
|
964
|
-
"group flex h-5 w-5 items-center justify-center rounded-
|
|
964
|
+
"group flex h-5 w-5 items-center justify-center rounded-2 border border-(--border-secondary) bg-(--background-neutral) text-(--text-primary)",
|
|
965
965
|
"data-[state=checked]:bg-(--background-brand) data-[state=checked]:text-(--text-button-white) data-[state=checked]:border-none",
|
|
966
966
|
"data-[state=indeterminate]:bg-(--background-brand) data-[state=indeterminate]:text-(--text-button-white) data-[state=indeterminate]:border-none",
|
|
967
967
|
"data-[state=checked]:hover:bg-(--background-brand-hover) data-[state=indeterminate]:hover:bg-(--background-brand-hover)",
|
|
@@ -990,7 +990,7 @@ var import_icons6 = require("@bubo-squared/icons");
|
|
|
990
990
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
991
991
|
var dropdownWrapperBase = "flex flex-col gap-2 items-start min-w-[343px]";
|
|
992
992
|
var dropdownTriggerVariants = (0, import_class_variance_authority12.cva)(
|
|
993
|
-
"group flex w-full items-center justify-between rounded border bg-(--background-primary) px-3 py-2 text-left transition-colors cursor-pointer focus-ring-primary focus:border-(--border-brand) hover:bg-(--background-primary-hover) disabled:bg-(--background-primary) disabled:border-(--border-secondary-disabled) disabled:text-(--text-primary-disabled) disabled:cursor-default",
|
|
993
|
+
"group flex w-full items-center justify-between rounded-4 border bg-(--background-primary) px-3 py-2 text-left transition-colors cursor-pointer focus-ring-primary focus:border-(--border-brand) hover:bg-(--background-primary-hover) disabled:bg-(--background-primary) disabled:border-(--border-secondary-disabled) disabled:text-(--text-primary-disabled) disabled:cursor-default",
|
|
994
994
|
{
|
|
995
995
|
variants: {
|
|
996
996
|
size: {
|
|
@@ -1162,7 +1162,7 @@ var Dropdown = (props) => {
|
|
|
1162
1162
|
]
|
|
1163
1163
|
}
|
|
1164
1164
|
),
|
|
1165
|
-
isOpen && options.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "absolute z-10 mt-1 w-full min-w-343 rounded-
|
|
1165
|
+
isOpen && options.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "absolute z-10 mt-1 w-full min-w-343 rounded-4 border border-(--border-primary-hover) bg-(--background-neutral) shadow-card-md flex overflow-y-scroll dropdown-scrollbar max-h-[316px]", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("ul", { role: "listbox", className: "flex flex-1 flex-col", children: options.map((opt) => {
|
|
1166
1166
|
const selected = opt.value === currentValue;
|
|
1167
1167
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1168
1168
|
"li",
|
|
@@ -1281,7 +1281,7 @@ var React19 = __toESM(require("react"), 1);
|
|
|
1281
1281
|
var import_class_variance_authority13 = require("class-variance-authority");
|
|
1282
1282
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1283
1283
|
var inputShellVariants = (0, import_class_variance_authority13.cva)(
|
|
1284
|
-
"group flex w-full items-center rounded border bg-(--background-primary) text-left cursor-text border-(--border-secondary)",
|
|
1284
|
+
"group flex w-full items-center rounded-4 border bg-(--background-primary) text-left cursor-text border-(--border-secondary)",
|
|
1285
1285
|
{
|
|
1286
1286
|
variants: {
|
|
1287
1287
|
size: {
|
|
@@ -1344,8 +1344,8 @@ var iconWrapperVariants = (0, import_class_variance_authority14.cva)(
|
|
|
1344
1344
|
{
|
|
1345
1345
|
variants: {
|
|
1346
1346
|
size: {
|
|
1347
|
-
large: "
|
|
1348
|
-
"extra-large": "
|
|
1347
|
+
large: "size-5 [&>svg]:size-5",
|
|
1348
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
1349
1349
|
},
|
|
1350
1350
|
disabled: {
|
|
1351
1351
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -1641,8 +1641,8 @@ var searchTextVariants = (0, import_class_variance_authority15.cva)("truncate",
|
|
|
1641
1641
|
var iconWrapperVariants2 = (0, import_class_variance_authority15.cva)("flex items-center justify-center shrink-0 text-(--icon-primary)", {
|
|
1642
1642
|
variants: {
|
|
1643
1643
|
size: {
|
|
1644
|
-
large: "
|
|
1645
|
-
"extra-large": "
|
|
1644
|
+
large: "size-5 [&>svg]:size-5",
|
|
1645
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
1646
1646
|
},
|
|
1647
1647
|
disabled: {
|
|
1648
1648
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -1954,7 +1954,7 @@ var Slider = (props) => {
|
|
|
1954
1954
|
"div",
|
|
1955
1955
|
{
|
|
1956
1956
|
className: cn(
|
|
1957
|
-
"relative rounded-
|
|
1957
|
+
"relative rounded-4 shadow-card-md px-(--space-8) py-(--space-4)",
|
|
1958
1958
|
disabled ? "bg-(--background-primary-disabled)" : "bg-(--background-neutral)"
|
|
1959
1959
|
),
|
|
1960
1960
|
style: { marginBottom: 0 },
|
|
@@ -2001,7 +2001,7 @@ var Slider = (props) => {
|
|
|
2001
2001
|
tabIndex: disabled ? -1 : 0,
|
|
2002
2002
|
className: cn(
|
|
2003
2003
|
"absolute -translate-x-1/2 flex items-center justify-center",
|
|
2004
|
-
"h-8 w-[18px] rounded-
|
|
2004
|
+
"h-8 w-[18px] rounded-4",
|
|
2005
2005
|
disabled ? "bg-(--icon-primary-disabled) cursor-default" : "bg-(--icon-primary-hover) outline-none focus-visible:shadow-[0_0_0_var(--focus-ring-spread)_var(--focus-primary)] cursor-pointer"
|
|
2006
2006
|
),
|
|
2007
2007
|
style: {
|
|
@@ -2027,7 +2027,7 @@ var Slider = (props) => {
|
|
|
2027
2027
|
"div",
|
|
2028
2028
|
{
|
|
2029
2029
|
className: cn(
|
|
2030
|
-
"relative w-full flex items-center rounded-
|
|
2030
|
+
"relative w-full flex items-center rounded-4",
|
|
2031
2031
|
disabled ? "bg-(--background-primary-disabled) cursor-default" : "bg-(--background-secondary) cursor-pointer"
|
|
2032
2032
|
),
|
|
2033
2033
|
style: { height: `${trackHeight}px` },
|
|
@@ -2038,13 +2038,12 @@ var Slider = (props) => {
|
|
|
2038
2038
|
"div",
|
|
2039
2039
|
{
|
|
2040
2040
|
className: cn(
|
|
2041
|
-
"absolute h-full",
|
|
2041
|
+
"absolute h-full rounded-4",
|
|
2042
2042
|
disabled ? "bg-(--background-primary-disabled)" : "bg-(--background-secondary)"
|
|
2043
2043
|
),
|
|
2044
2044
|
style: {
|
|
2045
2045
|
width: `calc(100% + ${thumbWidth}px)`,
|
|
2046
|
-
left: `-${thumbRadius}px
|
|
2047
|
-
borderRadius: "var(--border-radius-4)"
|
|
2046
|
+
left: `-${thumbRadius}px`
|
|
2048
2047
|
}
|
|
2049
2048
|
}
|
|
2050
2049
|
),
|
|
@@ -2171,7 +2170,7 @@ var TextArea = (props) => {
|
|
|
2171
2170
|
"div",
|
|
2172
2171
|
{
|
|
2173
2172
|
className: cn(
|
|
2174
|
-
"relative flex w-full rounded border bg-(--background-primary) cursor-text transition-colors",
|
|
2173
|
+
"relative flex w-full rounded-4 border bg-(--background-primary) cursor-text transition-colors",
|
|
2175
2174
|
"border-(--border-secondary) hover:border-(--border-secondary-hover) hover:bg-(--background-primary-hover)",
|
|
2176
2175
|
disabled && "bg-(--background-primary-disabled) border-(--border-secondary-disabled) cursor-default",
|
|
2177
2176
|
statusBorderClass[status],
|
|
@@ -2275,8 +2274,8 @@ var iconWrapperVariants3 = (0, import_class_variance_authority16.cva)(
|
|
|
2275
2274
|
{
|
|
2276
2275
|
variants: {
|
|
2277
2276
|
size: {
|
|
2278
|
-
large: "
|
|
2279
|
-
"extra-large": "
|
|
2277
|
+
large: "size-5 [&>svg]:size-5",
|
|
2278
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
2280
2279
|
},
|
|
2281
2280
|
disabled: {
|
|
2282
2281
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -2410,7 +2409,7 @@ var Toggle = (props) => {
|
|
|
2410
2409
|
{
|
|
2411
2410
|
className: cn(
|
|
2412
2411
|
// Base track
|
|
2413
|
-
"flex items-center w-9 h-5 rounded-
|
|
2412
|
+
"flex items-center w-9 h-5 rounded-24 border bg-(--background-primary) p-(--space-2) transition-all",
|
|
2414
2413
|
// Knob position
|
|
2415
2414
|
"justify-start peer-checked:justify-end",
|
|
2416
2415
|
// 1: enabled, unchecked, unhovered, unfocused
|
|
@@ -2538,7 +2537,7 @@ WebsiteInput.displayName = "WebsiteInput";
|
|
|
2538
2537
|
var import_icons9 = require("@bubo-squared/icons");
|
|
2539
2538
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2540
2539
|
var LogoIconExtraLarge = () => {
|
|
2541
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "w-lg h-[512px] relative bg-linear-to-t from-gray-800 to-gray-950 rounded-
|
|
2540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "w-lg h-[512px] relative bg-linear-to-t from-gray-800 to-gray-950 rounded-80 overflow-hidden flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icons9.LogoIconLIcon, { className: "size-96" }) });
|
|
2542
2541
|
};
|
|
2543
2542
|
var LogoIconExtraLarge_default = LogoIconExtraLarge;
|
|
2544
2543
|
|
|
@@ -2546,7 +2545,7 @@ var LogoIconExtraLarge_default = LogoIconExtraLarge;
|
|
|
2546
2545
|
var import_icons10 = require("@bubo-squared/icons");
|
|
2547
2546
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2548
2547
|
var LogoIconExtraSmall = () => {
|
|
2549
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "
|
|
2548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "size-8 relative bg-linear-to-t from-gray-800 to-gray-950 rounded-[5px] overflow-hidden flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons10.LogoIconMIcon, { className: "size-6" }) });
|
|
2550
2549
|
};
|
|
2551
2550
|
var LogoIconExtraSmall_default = LogoIconExtraSmall;
|
|
2552
2551
|
|
|
@@ -2554,7 +2553,7 @@ var LogoIconExtraSmall_default = LogoIconExtraSmall;
|
|
|
2554
2553
|
var import_icons11 = require("@bubo-squared/icons");
|
|
2555
2554
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
2556
2555
|
var LogoIconLarge = () => {
|
|
2557
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "
|
|
2556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "size-64 relative bg-linear-to-t from-gray-800 to-gray-950 rounded-40 overflow-hidden flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons11.LogoIconMIcon, { className: "size-44" }) });
|
|
2558
2557
|
};
|
|
2559
2558
|
var LogoIconLarge_default = LogoIconLarge;
|
|
2560
2559
|
|
|
@@ -2562,7 +2561,7 @@ var LogoIconLarge_default = LogoIconLarge;
|
|
|
2562
2561
|
var import_icons12 = require("@bubo-squared/icons");
|
|
2563
2562
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2564
2563
|
var LogoIconMedium = () => {
|
|
2565
|
-
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "
|
|
2564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "size-32 relative bg-linear-to-t from-gray-800 to-gray-950 rounded-20 overflow-hidden flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons12.LogoIconMIcon, { className: "size-24" }) });
|
|
2566
2565
|
};
|
|
2567
2566
|
var LogoIconMedium_default = LogoIconMedium;
|
|
2568
2567
|
|
|
@@ -2570,7 +2569,7 @@ var LogoIconMedium_default = LogoIconMedium;
|
|
|
2570
2569
|
var import_icons13 = require("@bubo-squared/icons");
|
|
2571
2570
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
2572
2571
|
var LogoIconSmall = () => {
|
|
2573
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "
|
|
2572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "size-14 relative bg-linear-to-t from-gray-800 to-gray-950 rounded-8 overflow-hidden flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons13.LogoIconMIcon, { className: "size-10" }) });
|
|
2574
2573
|
};
|
|
2575
2574
|
var LogoIconSmall_default = LogoIconSmall;
|
|
2576
2575
|
|
|
@@ -2579,7 +2578,7 @@ var import_icons14 = require("@bubo-squared/icons");
|
|
|
2579
2578
|
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
2580
2579
|
var LogoInline = () => {
|
|
2581
2580
|
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "w-44 h-12 inline-flex justify-start items-center gap-4", children: [
|
|
2582
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_icons14.LogoIconMIcon, { className: "
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_icons14.LogoIconMIcon, { className: "size-12" }),
|
|
2583
2582
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_icons14.LogoTextMIcon, { className: "h-8 w-[110px] text-(--text-primary)" })
|
|
2584
2583
|
] });
|
|
2585
2584
|
};
|
|
@@ -2590,7 +2589,7 @@ var import_icons15 = require("@bubo-squared/icons");
|
|
|
2590
2589
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
2591
2590
|
var LogoInline2 = () => {
|
|
2592
2591
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "w-32 h-9 inline-flex justify-start items-center gap-3", children: [
|
|
2593
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_icons15.LogoIconMIcon, { className: "
|
|
2592
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_icons15.LogoIconMIcon, { className: "size-9" }),
|
|
2594
2593
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_icons15.LogoTextMIcon, { className: "h-6 w-[83px] text-(--text-primary)" })
|
|
2595
2594
|
] });
|
|
2596
2595
|
};
|
|
@@ -2601,7 +2600,7 @@ var import_icons16 = require("@bubo-squared/icons");
|
|
|
2601
2600
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
2602
2601
|
var LogoMultiline = () => {
|
|
2603
2602
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "w-36 inline-flex flex-col justify-start items-start gap-2", children: [
|
|
2604
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons16.LogoIconMIcon, { className: "
|
|
2603
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons16.LogoIconMIcon, { className: "size-12" }),
|
|
2605
2604
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons16.LogoTextMIcon, { className: "h-8 w-[111px] text-(--text-primary)" })
|
|
2606
2605
|
] });
|
|
2607
2606
|
};
|