@bubo-squared/ui-framework 0.1.2 → 0.1.4
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/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ function cn(...inputs) {
|
|
|
14
14
|
// src/components/Buttons/Button.tsx
|
|
15
15
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
16
16
|
var buttonVariants = cva(
|
|
17
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden cursor-pointer",
|
|
17
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden cursor-pointer",
|
|
18
18
|
{
|
|
19
19
|
variants: {
|
|
20
20
|
variant: {
|
|
@@ -51,10 +51,10 @@ var buttonVariants = cva(
|
|
|
51
51
|
var buttonIconVariants = cva("relative", {
|
|
52
52
|
variants: {
|
|
53
53
|
size: {
|
|
54
|
-
sm: ["
|
|
55
|
-
md: ["
|
|
56
|
-
lg: ["
|
|
57
|
-
xl: ["
|
|
54
|
+
sm: ["size-5", "*:size-5"],
|
|
55
|
+
md: ["size-6", "*:size-6"],
|
|
56
|
+
lg: ["size-6", "*:size-6"],
|
|
57
|
+
xl: ["size-8", "*:size-8"]
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
});
|
|
@@ -126,7 +126,7 @@ import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
|
126
126
|
import { cva as cva3 } from "class-variance-authority";
|
|
127
127
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
128
128
|
var iconButtonVariants = cva3(
|
|
129
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden p-1.5 cursor-pointer",
|
|
129
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden p-1.5 cursor-pointer",
|
|
130
130
|
{
|
|
131
131
|
variants: {
|
|
132
132
|
variant: {
|
|
@@ -148,10 +148,10 @@ var iconButtonVariants = cva3(
|
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
size: {
|
|
151
|
-
sm: ["[&>.buttonIcon>svg]:
|
|
152
|
-
md: ["[&>.buttonIcon>svg]:
|
|
153
|
-
lg: ["[&>.buttonIcon>svg]:
|
|
154
|
-
xl: ["[&>.buttonIcon>svg]:
|
|
151
|
+
sm: ["[&>.buttonIcon>svg]:size-5"],
|
|
152
|
+
md: ["[&>.buttonIcon>svg]:size-6"],
|
|
153
|
+
lg: ["[&>.buttonIcon>svg]:size-8"],
|
|
154
|
+
xl: ["[&>.buttonIcon>svg]:size-9"]
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
defaultVariants: {
|
|
@@ -188,7 +188,7 @@ IconButton.displayName = "IconButton";
|
|
|
188
188
|
import "react";
|
|
189
189
|
import { cva as cva4 } from "class-variance-authority";
|
|
190
190
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
191
|
-
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";
|
|
191
|
+
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";
|
|
192
192
|
var IconGroupSizeVariants = cva4("", {
|
|
193
193
|
variants: {
|
|
194
194
|
size: {
|
|
@@ -226,8 +226,8 @@ var IconButtonGroup = (props) => {
|
|
|
226
226
|
disabled: item.disabled,
|
|
227
227
|
className: cn(
|
|
228
228
|
"rounded-none border-1 border-(--border-secondary) text-(--text-primary) ",
|
|
229
|
-
index === 0 && "rounded-l-
|
|
230
|
-
index === items.length - 1 && "rounded-r-
|
|
229
|
+
index === 0 && "rounded-l-6",
|
|
230
|
+
index === items.length - 1 && "rounded-r-6",
|
|
231
231
|
index > 0 && "-ml-px"
|
|
232
232
|
),
|
|
233
233
|
onClick: item.onClick
|
|
@@ -245,7 +245,7 @@ import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
|
245
245
|
import { cva as cva5 } from "class-variance-authority";
|
|
246
246
|
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
247
247
|
var linkButtonVariants = cva5(
|
|
248
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded transition-colors disabled:pointer-events-none overflow-hidden gap-2 cursor-pointer",
|
|
248
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-4 transition-colors disabled:pointer-events-none overflow-hidden gap-2 cursor-pointer",
|
|
249
249
|
{
|
|
250
250
|
variants: {
|
|
251
251
|
variant: {
|
|
@@ -269,10 +269,10 @@ var linkButtonVariants = cva5(
|
|
|
269
269
|
var linkButtonIconVariants = cva5("relative", {
|
|
270
270
|
variants: {
|
|
271
271
|
size: {
|
|
272
|
-
sm: ["
|
|
273
|
-
md: ["
|
|
274
|
-
lg: ["
|
|
275
|
-
xl: ["
|
|
272
|
+
sm: ["size-5", "*:size-5"],
|
|
273
|
+
md: ["size-5", "*:size-5"],
|
|
274
|
+
lg: ["size-6", "*:size-6"],
|
|
275
|
+
xl: ["size-6", "*:size-6"]
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
});
|
|
@@ -354,9 +354,9 @@ var MessageButton = (props) => {
|
|
|
354
354
|
type: "button",
|
|
355
355
|
...buttonProps,
|
|
356
356
|
onClick: handleClick,
|
|
357
|
-
className: `inline-flex items-center justify-center rounded px-1.5 py-1 gap-1 text-sm transition-colors cursor-pointer ${statusClasses} ${className}`,
|
|
357
|
+
className: `inline-flex items-center justify-center rounded-4 px-1.5 py-1 gap-1 text-sm transition-colors cursor-pointer ${statusClasses} ${className}`,
|
|
358
358
|
children: [
|
|
359
|
-
props.icon && /* @__PURE__ */ jsx7("div", { className: "
|
|
359
|
+
props.icon && /* @__PURE__ */ jsx7("div", { className: "size-5 *:size-5 relative", children: props.icon }),
|
|
360
360
|
/* @__PURE__ */ jsx7("div", { className: "text-center text-xl font-normal leading-7", children: label })
|
|
361
361
|
]
|
|
362
362
|
}
|
|
@@ -413,13 +413,13 @@ var avatarIconVariants = cva6(
|
|
|
413
413
|
{
|
|
414
414
|
variants: {
|
|
415
415
|
size: {
|
|
416
|
-
"20": "
|
|
417
|
-
"24": "
|
|
418
|
-
"32": "
|
|
419
|
-
"40": "
|
|
420
|
-
"48": "
|
|
421
|
-
"56": "
|
|
422
|
-
"64": "
|
|
416
|
+
"20": "size-3 [&>svg]:size-3",
|
|
417
|
+
"24": "size-3.5 [&>svg]:size-3.5",
|
|
418
|
+
"32": "size-4 [&>svg]:size-4",
|
|
419
|
+
"40": "size-5 [&>svg]:size-5",
|
|
420
|
+
"48": "size-6 [&>svg]:size-6",
|
|
421
|
+
"56": "size-7 [&>svg]:size-7",
|
|
422
|
+
"64": "size-8 [&>svg]:size-8"
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
425
|
defaultVariants: {
|
|
@@ -471,7 +471,7 @@ import { Slot as Slot5 } from "@radix-ui/react-slot";
|
|
|
471
471
|
import { cva as cva7 } from "class-variance-authority";
|
|
472
472
|
import { Fragment, jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
473
473
|
var badgeVariants = cva7(
|
|
474
|
-
"inline-flex items-center justify-center rounded-
|
|
474
|
+
"inline-flex items-center justify-center rounded-4 leading-none whitespace-nowrap gap-1 px-1 py-0",
|
|
475
475
|
{
|
|
476
476
|
variants: {
|
|
477
477
|
size: {
|
|
@@ -538,8 +538,8 @@ var badgeDigitVariants = cva8(
|
|
|
538
538
|
{
|
|
539
539
|
variants: {
|
|
540
540
|
size: {
|
|
541
|
-
sm: "px-[6px] rounded-
|
|
542
|
-
md: "px-2 py-[2px] rounded-
|
|
541
|
+
sm: "px-[6px] rounded-2 caption-medium",
|
|
542
|
+
md: "px-2 py-[2px] rounded-4 paragraph-s-medium"
|
|
543
543
|
},
|
|
544
544
|
variant: {
|
|
545
545
|
primary: "bg-(--background-brand)",
|
|
@@ -584,7 +584,7 @@ BadgeDigit.displayName = "BadgeDigit";
|
|
|
584
584
|
import "react";
|
|
585
585
|
import { cva as cva9 } from "class-variance-authority";
|
|
586
586
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
587
|
-
var badgeDotVariants = cva9("rounded-
|
|
587
|
+
var badgeDotVariants = cva9("rounded-12 size-3", {
|
|
588
588
|
variants: {
|
|
589
589
|
status: {
|
|
590
590
|
disabled: "bg-(--text-primary)",
|
|
@@ -628,7 +628,7 @@ var BadgeStatus = React10.forwardRef(
|
|
|
628
628
|
"span",
|
|
629
629
|
{
|
|
630
630
|
className: cn(
|
|
631
|
-
"shrink-0
|
|
631
|
+
"shrink-0 size-3 rounded-full",
|
|
632
632
|
dotClasses,
|
|
633
633
|
dotClassName
|
|
634
634
|
)
|
|
@@ -707,9 +707,9 @@ Divider.displayName = "Divider";
|
|
|
707
707
|
import * as React12 from "react";
|
|
708
708
|
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
709
709
|
var sizeToBarClasses = {
|
|
710
|
-
lg: "h-4 rounded-
|
|
711
|
-
md: "h-2 rounded-
|
|
712
|
-
sm: "h-1 rounded-
|
|
710
|
+
lg: "h-4 rounded-16",
|
|
711
|
+
md: "h-2 rounded-8",
|
|
712
|
+
sm: "h-1 rounded-4"
|
|
713
713
|
};
|
|
714
714
|
var Progress = React12.forwardRef(
|
|
715
715
|
(props, ref) => {
|
|
@@ -747,7 +747,7 @@ var Progress = React12.forwardRef(
|
|
|
747
747
|
{
|
|
748
748
|
className: cn(
|
|
749
749
|
"bg-(--chart-brand) h-full",
|
|
750
|
-
size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-
|
|
750
|
+
size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-[1px]"
|
|
751
751
|
),
|
|
752
752
|
style: { width: `${clamped}%` }
|
|
753
753
|
}
|
|
@@ -772,7 +772,7 @@ import {
|
|
|
772
772
|
} from "@bubo-squared/icons";
|
|
773
773
|
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
774
774
|
var iconStatusVariants = cva10(
|
|
775
|
-
"inline-flex
|
|
775
|
+
"inline-flex size-5 items-center justify-center rounded-full border-1 border-(--text-primary-inverse) p-1",
|
|
776
776
|
{
|
|
777
777
|
variants: {
|
|
778
778
|
variant: {
|
|
@@ -808,7 +808,7 @@ var StatusAvatar = React13.forwardRef((props, ref) => {
|
|
|
808
808
|
className
|
|
809
809
|
),
|
|
810
810
|
...rest,
|
|
811
|
-
children: /* @__PURE__ */ jsx15("div", { className: cn(dotClasses, "
|
|
811
|
+
children: /* @__PURE__ */ jsx15("div", { className: cn(dotClasses, "size-3.5 rounded-full") })
|
|
812
812
|
}
|
|
813
813
|
);
|
|
814
814
|
}
|
|
@@ -820,11 +820,11 @@ var StatusAvatar = React13.forwardRef((props, ref) => {
|
|
|
820
820
|
className: cn(iconStatusVariants({ variant: iconVariant }), className),
|
|
821
821
|
...rest,
|
|
822
822
|
children: [
|
|
823
|
-
iconVariant === "verified" && /* @__PURE__ */ jsx15(CheckIcon, { className: "
|
|
824
|
-
iconVariant === "bookmark" && /* @__PURE__ */ jsx15(BookmarkCheckIcon, { className: "
|
|
825
|
-
iconVariant === "favorite" && /* @__PURE__ */ jsx15(StarIcon, { className: "
|
|
826
|
-
iconVariant === "add" && /* @__PURE__ */ jsx15(PlusIcon, { className: "
|
|
827
|
-
iconVariant === "remove" && /* @__PURE__ */ jsx15(CrossIcon, { className: "
|
|
823
|
+
iconVariant === "verified" && /* @__PURE__ */ jsx15(CheckIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
824
|
+
iconVariant === "bookmark" && /* @__PURE__ */ jsx15(BookmarkCheckIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
825
|
+
iconVariant === "favorite" && /* @__PURE__ */ jsx15(StarIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
826
|
+
iconVariant === "add" && /* @__PURE__ */ jsx15(PlusIcon, { className: "size-3 text-(--text-button-white)" }),
|
|
827
|
+
iconVariant === "remove" && /* @__PURE__ */ jsx15(CrossIcon, { className: "size-3 text-(--text-button-white)" })
|
|
828
828
|
]
|
|
829
829
|
}
|
|
830
830
|
);
|
|
@@ -837,7 +837,7 @@ import { Slot as Slot6 } from "@radix-ui/react-slot";
|
|
|
837
837
|
import { cva as cva11 } from "class-variance-authority";
|
|
838
838
|
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
839
839
|
var tagVariants = cva11(
|
|
840
|
-
"inline-flex flex-row items-center justify-center rounded-
|
|
840
|
+
"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 ",
|
|
841
841
|
{
|
|
842
842
|
variants: {
|
|
843
843
|
size: {
|
|
@@ -898,7 +898,7 @@ function Checkbox({ label, className, ...props }) {
|
|
|
898
898
|
CheckboxPrimitive.Root,
|
|
899
899
|
{
|
|
900
900
|
className: cn(
|
|
901
|
-
"group flex h-5 w-5 items-center justify-center rounded-
|
|
901
|
+
"group flex h-5 w-5 items-center justify-center rounded-2 border border-(--border-secondary) bg-(--background-neutral) text-(--text-primary)",
|
|
902
902
|
"data-[state=checked]:bg-(--background-brand) data-[state=checked]:text-(--text-button-white) data-[state=checked]:border-none",
|
|
903
903
|
"data-[state=indeterminate]:bg-(--background-brand) data-[state=indeterminate]:text-(--text-button-white) data-[state=indeterminate]:border-none",
|
|
904
904
|
"data-[state=checked]:hover:bg-(--background-brand-hover) data-[state=indeterminate]:hover:bg-(--background-brand-hover)",
|
|
@@ -927,7 +927,7 @@ import { ChevronDownIcon } from "@bubo-squared/icons";
|
|
|
927
927
|
import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
928
928
|
var dropdownWrapperBase = "flex flex-col gap-2 items-start min-w-[343px]";
|
|
929
929
|
var dropdownTriggerVariants = cva12(
|
|
930
|
-
"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",
|
|
930
|
+
"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",
|
|
931
931
|
{
|
|
932
932
|
variants: {
|
|
933
933
|
size: {
|
|
@@ -1099,7 +1099,7 @@ var Dropdown = (props) => {
|
|
|
1099
1099
|
]
|
|
1100
1100
|
}
|
|
1101
1101
|
),
|
|
1102
|
-
isOpen && options.length > 0 && /* @__PURE__ */ jsx18("div", { className: "absolute z-10 mt-1 w-full min-w-343 rounded-
|
|
1102
|
+
isOpen && options.length > 0 && /* @__PURE__ */ jsx18("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__ */ jsx18("ul", { role: "listbox", className: "flex flex-1 flex-col", children: options.map((opt) => {
|
|
1103
1103
|
const selected = opt.value === currentValue;
|
|
1104
1104
|
return /* @__PURE__ */ jsx18(
|
|
1105
1105
|
"li",
|
|
@@ -1218,7 +1218,7 @@ import * as React19 from "react";
|
|
|
1218
1218
|
import { cva as cva13 } from "class-variance-authority";
|
|
1219
1219
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1220
1220
|
var inputShellVariants = cva13(
|
|
1221
|
-
"group flex w-full items-center rounded border bg-(--background-primary) text-left cursor-text border-(--border-secondary)",
|
|
1221
|
+
"group flex w-full items-center rounded-4 border bg-(--background-primary) text-left cursor-text border-(--border-secondary)",
|
|
1222
1222
|
{
|
|
1223
1223
|
variants: {
|
|
1224
1224
|
size: {
|
|
@@ -1281,8 +1281,8 @@ var iconWrapperVariants = cva14(
|
|
|
1281
1281
|
{
|
|
1282
1282
|
variants: {
|
|
1283
1283
|
size: {
|
|
1284
|
-
large: "
|
|
1285
|
-
"extra-large": "
|
|
1284
|
+
large: "size-5 [&>svg]:size-5",
|
|
1285
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
1286
1286
|
},
|
|
1287
1287
|
disabled: {
|
|
1288
1288
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -1578,8 +1578,8 @@ var searchTextVariants = cva15("truncate", {
|
|
|
1578
1578
|
var iconWrapperVariants2 = cva15("flex items-center justify-center shrink-0 text-(--icon-primary)", {
|
|
1579
1579
|
variants: {
|
|
1580
1580
|
size: {
|
|
1581
|
-
large: "
|
|
1582
|
-
"extra-large": "
|
|
1581
|
+
large: "size-5 [&>svg]:size-5",
|
|
1582
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
1583
1583
|
},
|
|
1584
1584
|
disabled: {
|
|
1585
1585
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -1891,7 +1891,7 @@ var Slider = (props) => {
|
|
|
1891
1891
|
"div",
|
|
1892
1892
|
{
|
|
1893
1893
|
className: cn(
|
|
1894
|
-
"relative rounded-
|
|
1894
|
+
"relative rounded-4 shadow-card-md px-(--space-8) py-(--space-4)",
|
|
1895
1895
|
disabled ? "bg-(--background-primary-disabled)" : "bg-(--background-neutral)"
|
|
1896
1896
|
),
|
|
1897
1897
|
style: { marginBottom: 0 },
|
|
@@ -1938,7 +1938,7 @@ var Slider = (props) => {
|
|
|
1938
1938
|
tabIndex: disabled ? -1 : 0,
|
|
1939
1939
|
className: cn(
|
|
1940
1940
|
"absolute -translate-x-1/2 flex items-center justify-center",
|
|
1941
|
-
"h-8 w-[18px] rounded-
|
|
1941
|
+
"h-8 w-[18px] rounded-4",
|
|
1942
1942
|
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"
|
|
1943
1943
|
),
|
|
1944
1944
|
style: {
|
|
@@ -1964,7 +1964,7 @@ var Slider = (props) => {
|
|
|
1964
1964
|
"div",
|
|
1965
1965
|
{
|
|
1966
1966
|
className: cn(
|
|
1967
|
-
"relative w-full flex items-center rounded-
|
|
1967
|
+
"relative w-full flex items-center rounded-4",
|
|
1968
1968
|
disabled ? "bg-(--background-primary-disabled) cursor-default" : "bg-(--background-secondary) cursor-pointer"
|
|
1969
1969
|
),
|
|
1970
1970
|
style: { height: `${trackHeight}px` },
|
|
@@ -1975,13 +1975,12 @@ var Slider = (props) => {
|
|
|
1975
1975
|
"div",
|
|
1976
1976
|
{
|
|
1977
1977
|
className: cn(
|
|
1978
|
-
"absolute h-full",
|
|
1978
|
+
"absolute h-full rounded-4",
|
|
1979
1979
|
disabled ? "bg-(--background-primary-disabled)" : "bg-(--background-secondary)"
|
|
1980
1980
|
),
|
|
1981
1981
|
style: {
|
|
1982
1982
|
width: `calc(100% + ${thumbWidth}px)`,
|
|
1983
|
-
left: `-${thumbRadius}px
|
|
1984
|
-
borderRadius: "var(--border-radius-4)"
|
|
1983
|
+
left: `-${thumbRadius}px`
|
|
1985
1984
|
}
|
|
1986
1985
|
}
|
|
1987
1986
|
),
|
|
@@ -2108,7 +2107,7 @@ var TextArea = (props) => {
|
|
|
2108
2107
|
"div",
|
|
2109
2108
|
{
|
|
2110
2109
|
className: cn(
|
|
2111
|
-
"relative flex w-full rounded border bg-(--background-primary) cursor-text transition-colors",
|
|
2110
|
+
"relative flex w-full rounded-4 border bg-(--background-primary) cursor-text transition-colors",
|
|
2112
2111
|
"border-(--border-secondary) hover:border-(--border-secondary-hover) hover:bg-(--background-primary-hover)",
|
|
2113
2112
|
disabled && "bg-(--background-primary-disabled) border-(--border-secondary-disabled) cursor-default",
|
|
2114
2113
|
statusBorderClass[status],
|
|
@@ -2212,8 +2211,8 @@ var iconWrapperVariants3 = cva16(
|
|
|
2212
2211
|
{
|
|
2213
2212
|
variants: {
|
|
2214
2213
|
size: {
|
|
2215
|
-
large: "
|
|
2216
|
-
"extra-large": "
|
|
2214
|
+
large: "size-5 [&>svg]:size-5",
|
|
2215
|
+
"extra-large": "size-6 [&>svg]:size-6"
|
|
2217
2216
|
},
|
|
2218
2217
|
disabled: {
|
|
2219
2218
|
true: "text-(--icon-primary-disabled)"
|
|
@@ -2347,7 +2346,7 @@ var Toggle = (props) => {
|
|
|
2347
2346
|
{
|
|
2348
2347
|
className: cn(
|
|
2349
2348
|
// Base track
|
|
2350
|
-
"flex items-center w-9 h-5 rounded-
|
|
2349
|
+
"flex items-center w-9 h-5 rounded-24 border bg-(--background-primary) p-(--space-2) transition-all",
|
|
2351
2350
|
// Knob position
|
|
2352
2351
|
"justify-start peer-checked:justify-end",
|
|
2353
2352
|
// 1: enabled, unchecked, unhovered, unfocused
|
|
@@ -2475,7 +2474,7 @@ WebsiteInput.displayName = "WebsiteInput";
|
|
|
2475
2474
|
import { LogoIconLIcon } from "@bubo-squared/icons";
|
|
2476
2475
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
2477
2476
|
var LogoIconExtraLarge = () => {
|
|
2478
|
-
return /* @__PURE__ */ jsx30("div", { className: "w-lg h-[512px] relative bg-linear-to-t from-gray-800 to-gray-950 rounded-
|
|
2477
|
+
return /* @__PURE__ */ jsx30("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__ */ jsx30(LogoIconLIcon, { className: "size-96" }) });
|
|
2479
2478
|
};
|
|
2480
2479
|
var LogoIconExtraLarge_default = LogoIconExtraLarge;
|
|
2481
2480
|
|
|
@@ -2483,7 +2482,7 @@ var LogoIconExtraLarge_default = LogoIconExtraLarge;
|
|
|
2483
2482
|
import { LogoIconMIcon } from "@bubo-squared/icons";
|
|
2484
2483
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2485
2484
|
var LogoIconExtraSmall = () => {
|
|
2486
|
-
return /* @__PURE__ */ jsx31("div", { className: "
|
|
2485
|
+
return /* @__PURE__ */ jsx31("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__ */ jsx31(LogoIconMIcon, { className: "size-6" }) });
|
|
2487
2486
|
};
|
|
2488
2487
|
var LogoIconExtraSmall_default = LogoIconExtraSmall;
|
|
2489
2488
|
|
|
@@ -2491,7 +2490,7 @@ var LogoIconExtraSmall_default = LogoIconExtraSmall;
|
|
|
2491
2490
|
import { LogoIconMIcon as LogoIconMIcon2 } from "@bubo-squared/icons";
|
|
2492
2491
|
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
2493
2492
|
var LogoIconLarge = () => {
|
|
2494
|
-
return /* @__PURE__ */ jsx32("div", { className: "
|
|
2493
|
+
return /* @__PURE__ */ jsx32("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__ */ jsx32(LogoIconMIcon2, { className: "size-44" }) });
|
|
2495
2494
|
};
|
|
2496
2495
|
var LogoIconLarge_default = LogoIconLarge;
|
|
2497
2496
|
|
|
@@ -2499,7 +2498,7 @@ var LogoIconLarge_default = LogoIconLarge;
|
|
|
2499
2498
|
import { LogoIconMIcon as LogoIconMIcon3 } from "@bubo-squared/icons";
|
|
2500
2499
|
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
2501
2500
|
var LogoIconMedium = () => {
|
|
2502
|
-
return /* @__PURE__ */ jsx33("div", { className: "
|
|
2501
|
+
return /* @__PURE__ */ jsx33("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__ */ jsx33(LogoIconMIcon3, { className: "size-24" }) });
|
|
2503
2502
|
};
|
|
2504
2503
|
var LogoIconMedium_default = LogoIconMedium;
|
|
2505
2504
|
|
|
@@ -2507,7 +2506,7 @@ var LogoIconMedium_default = LogoIconMedium;
|
|
|
2507
2506
|
import { LogoIconMIcon as LogoIconMIcon4 } from "@bubo-squared/icons";
|
|
2508
2507
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2509
2508
|
var LogoIconSmall = () => {
|
|
2510
|
-
return /* @__PURE__ */ jsx34("div", { className: "
|
|
2509
|
+
return /* @__PURE__ */ jsx34("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__ */ jsx34(LogoIconMIcon4, { className: "size-10" }) });
|
|
2511
2510
|
};
|
|
2512
2511
|
var LogoIconSmall_default = LogoIconSmall;
|
|
2513
2512
|
|
|
@@ -2516,7 +2515,7 @@ import { LogoIconMIcon as LogoIconMIcon5, LogoTextMIcon } from "@bubo-squared/ic
|
|
|
2516
2515
|
import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2517
2516
|
var LogoInline = () => {
|
|
2518
2517
|
return /* @__PURE__ */ jsxs22("div", { className: "w-44 h-12 inline-flex justify-start items-center gap-4", children: [
|
|
2519
|
-
/* @__PURE__ */ jsx35(LogoIconMIcon5, { className: "
|
|
2518
|
+
/* @__PURE__ */ jsx35(LogoIconMIcon5, { className: "size-12" }),
|
|
2520
2519
|
/* @__PURE__ */ jsx35(LogoTextMIcon, { className: "h-8 w-[110px] text-(--text-primary)" })
|
|
2521
2520
|
] });
|
|
2522
2521
|
};
|
|
@@ -2527,7 +2526,7 @@ import { LogoIconMIcon as LogoIconMIcon6, LogoTextMIcon as LogoTextMIcon2 } from
|
|
|
2527
2526
|
import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2528
2527
|
var LogoInline2 = () => {
|
|
2529
2528
|
return /* @__PURE__ */ jsxs23("div", { className: "w-32 h-9 inline-flex justify-start items-center gap-3", children: [
|
|
2530
|
-
/* @__PURE__ */ jsx36(LogoIconMIcon6, { className: "
|
|
2529
|
+
/* @__PURE__ */ jsx36(LogoIconMIcon6, { className: "size-9" }),
|
|
2531
2530
|
/* @__PURE__ */ jsx36(LogoTextMIcon2, { className: "h-6 w-[83px] text-(--text-primary)" })
|
|
2532
2531
|
] });
|
|
2533
2532
|
};
|
|
@@ -2538,7 +2537,7 @@ import { LogoIconMIcon as LogoIconMIcon7, LogoTextMIcon as LogoTextMIcon3 } from
|
|
|
2538
2537
|
import { jsx as jsx37, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2539
2538
|
var LogoMultiline = () => {
|
|
2540
2539
|
return /* @__PURE__ */ jsxs24("div", { className: "w-36 inline-flex flex-col justify-start items-start gap-2", children: [
|
|
2541
|
-
/* @__PURE__ */ jsx37(LogoIconMIcon7, { className: "
|
|
2540
|
+
/* @__PURE__ */ jsx37(LogoIconMIcon7, { className: "size-12" }),
|
|
2542
2541
|
/* @__PURE__ */ jsx37(LogoTextMIcon3, { className: "h-8 w-[111px] text-(--text-primary)" })
|
|
2543
2542
|
] });
|
|
2544
2543
|
};
|