myshell-react-lib 0.1.54 → 0.1.56
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 +41 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +41 -27
- package/dist/index.js.map +1 -1
- package/dist/styles/components-dark.scss +20 -20
- package/dist/styles/components-light.scss +1 -1
- package/dist/styles/design2-dark.scss +23 -25
- package/dist/styles/design2-light.scss +3 -2
- package/dist/styles/new-tokens.scss +5 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1090,7 +1090,7 @@ interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
|
1090
1090
|
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1091
1091
|
|
|
1092
1092
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1093
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1093
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1094
1094
|
vertical?: boolean | null | undefined;
|
|
1095
1095
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1096
1096
|
label?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1090,7 +1090,7 @@ interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
|
1090
1090
|
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1091
1091
|
|
|
1092
1092
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1093
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1093
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1094
1094
|
vertical?: boolean | null | undefined;
|
|
1095
1095
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1096
1096
|
label?: string;
|
package/dist/index.js
CHANGED
|
@@ -5044,7 +5044,7 @@ function createButtonWithVariant(props, ref) {
|
|
|
5044
5044
|
size: size
|
|
5045
5045
|
}),
|
|
5046
5046
|
/* @__PURE__ */ jsxs2("span", {
|
|
5047
|
-
className: cn("inline-flex w-full items-center justify-center", loading ? "opacity-0" : "opacity-100", variant === "plain" && "font-medium"),
|
|
5047
|
+
className: cn("inline-flex w-full items-center justify-center space-x-1.5", loading ? "opacity-0" : "opacity-100", variant === "plain" && "font-medium"),
|
|
5048
5048
|
children: [
|
|
5049
5049
|
!asset && icon && !iconOutBox && iconDirection === "left" && renderIcon(icon, "left", {
|
|
5050
5050
|
loading: loading,
|
|
@@ -5449,7 +5449,7 @@ var PopoverContent = React8.forwardRef(function(_param, ref) {
|
|
|
5449
5449
|
arrowPadding: arrowPadding,
|
|
5450
5450
|
side: side,
|
|
5451
5451
|
forceMount: true,
|
|
5452
|
-
className: cn("relative z-[49] mx-4 w-fit max-w-72 rounded-md border border-Colors-Border-Opaque p-3 text-left text-xs shadow-modal-default outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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 [&[data-state=open]>span]:animate-none", variant === "default" ? mode === "popover" ? "bg-Colors-Background-
|
|
5452
|
+
className: cn("relative z-[49] mx-4 w-fit max-w-72 rounded-md border border-Colors-Border-Opaque p-3 text-left text-xs shadow-modal-default outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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 [&[data-state=open]>span]:animate-none", variant === "default" ? mode === "popover" ? "bg-Colors-Background-Utilities-Modal border-Colors-Border-Opaque text-Colors-Text-Default" : "bg-cc-Tooltip-bg-default text-cc-Tooltip-fg-default border border-cc-Tooltip-border-default" : "bg-Colors-Utility-Lake-Blue-50 text-Colors-Text-Static-White", className)
|
|
5453
5453
|
}, props), {
|
|
5454
5454
|
children: [
|
|
5455
5455
|
children,
|
|
@@ -6072,7 +6072,7 @@ var DropdownMenuSubTrigger = React13.forwardRef(function(_param, ref) {
|
|
|
6072
6072
|
]);
|
|
6073
6073
|
return /* @__PURE__ */ jsxs7(DropdownMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
|
|
6074
6074
|
ref: ref,
|
|
6075
|
-
className: cn("flex cursor-default select-none items-center rounded-
|
|
6075
|
+
className: cn("flex cursor-default select-none items-center rounded-sm px-3 py-2 outline-none focus:bg-Colors-Background-Neutral-Primary-Default data-[state=open]:bg-Colors-Background-Neutral-Primary-Default", inset && "pl-8", className)
|
|
6076
6076
|
}, props), {
|
|
6077
6077
|
children: [
|
|
6078
6078
|
children,
|
|
@@ -6089,7 +6089,7 @@ var DropdownMenuSubContent = React13.forwardRef(function(_param, ref) {
|
|
|
6089
6089
|
]);
|
|
6090
6090
|
return /* @__PURE__ */ jsx18(DropdownMenuPrimitive.SubContent, _object_spread({
|
|
6091
6091
|
ref: ref,
|
|
6092
|
-
className: cn("z-50 min-w-[8rem] overflow-hidden rounded-
|
|
6092
|
+
className: cn("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 text-Colors-Text-Default shadow-modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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", className)
|
|
6093
6093
|
}, props));
|
|
6094
6094
|
});
|
|
6095
6095
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
@@ -6101,7 +6101,7 @@ var DropdownMenuContent = React13.forwardRef(function(_param, ref) {
|
|
|
6101
6101
|
return /* @__PURE__ */ jsx18(DropdownMenuPrimitive.Content, _object_spread({
|
|
6102
6102
|
ref: ref,
|
|
6103
6103
|
sideOffset: sideOffset,
|
|
6104
|
-
className: cn("z-[100] min-w-[8rem] overflow-hidden rounded-
|
|
6104
|
+
className: cn("z-[100] min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default p-1 text-Colors-Text-Default shadow-modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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", className)
|
|
6105
6105
|
}, props));
|
|
6106
6106
|
});
|
|
6107
6107
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
@@ -6112,7 +6112,7 @@ var DropdownMenuItem = React13.forwardRef(function(_param, ref) {
|
|
|
6112
6112
|
]);
|
|
6113
6113
|
return /* @__PURE__ */ jsx18(DropdownMenuPrimitive.Item, _object_spread({
|
|
6114
6114
|
ref: ref,
|
|
6115
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
6115
|
+
className: cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1 outline-none transition-colors focus:bg-Colors-Background-Neutral-Primary-Default data-[disabled]:pointer-events-none data-[disabled]:opacity-30", inset && "pl-8", className)
|
|
6116
6116
|
}, props));
|
|
6117
6117
|
});
|
|
6118
6118
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
@@ -6124,7 +6124,7 @@ var DropdownMenuCheckboxItem = React13.forwardRef(function(_param, ref) {
|
|
|
6124
6124
|
]);
|
|
6125
6125
|
return /* @__PURE__ */ jsxs7(DropdownMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
|
|
6126
6126
|
ref: ref,
|
|
6127
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
6127
|
+
className: cn("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", className),
|
|
6128
6128
|
checked: checked
|
|
6129
6129
|
}, props), {
|
|
6130
6130
|
children: [
|
|
@@ -6148,7 +6148,7 @@ var DropdownMenuRadioItem = React13.forwardRef(function(_param, ref) {
|
|
|
6148
6148
|
]);
|
|
6149
6149
|
return /* @__PURE__ */ jsxs7(DropdownMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
|
|
6150
6150
|
ref: ref,
|
|
6151
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
6151
|
+
className: cn("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", className)
|
|
6152
6152
|
}, props), {
|
|
6153
6153
|
children: [
|
|
6154
6154
|
/* @__PURE__ */ jsx18("span", {
|
|
@@ -7822,7 +7822,7 @@ var ModalContent = React27.forwardRef(function(_param, ref) {
|
|
|
7822
7822
|
"children"
|
|
7823
7823
|
]);
|
|
7824
7824
|
return /* @__PURE__ */ jsx34(DialogPrimitive2.Content, _object_spread_props(_object_spread({
|
|
7825
|
-
className: cn("absolute left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 !touch-auto !select-text", "duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] focus
|
|
7825
|
+
className: cn("absolute left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 !touch-auto !select-text", "duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] outline-none focus-visible:!outline-none ", className)
|
|
7826
7826
|
}, props), {
|
|
7827
7827
|
children: children
|
|
7828
7828
|
}));
|
|
@@ -7858,7 +7858,7 @@ var ModalTitle = React27.forwardRef(function(_param, ref) {
|
|
|
7858
7858
|
}));
|
|
7859
7859
|
});
|
|
7860
7860
|
ModalTitle.displayName = DialogPrimitive2.Title.displayName;
|
|
7861
|
-
var modalVariants = cva12("", {
|
|
7861
|
+
var modalVariants = cva12("focus-visible:outline-none", {
|
|
7862
7862
|
variants: {
|
|
7863
7863
|
size: {
|
|
7864
7864
|
lg: "w-[720px] max-h-[600px]",
|
|
@@ -7908,7 +7908,7 @@ var Modal = function(_param) {
|
|
|
7908
7908
|
var isMobile2 = useMedia4("(max-width: 768px)");
|
|
7909
7909
|
if (isMobile2 && !modalOnly && !isNotification) {
|
|
7910
7910
|
var drawerContent = /* @__PURE__ */ jsxs17(DrawerPrimitive2.Content, {
|
|
7911
|
-
className: cn("fixed inset-x-0 bottom-0 z-50 h-auto overflow-hidden no-scrollbar border-Colors-Border-Opaque bg-Colors-Background-
|
|
7911
|
+
className: cn("fixed inset-x-0 bottom-0 z-50 h-auto overflow-hidden no-scrollbar border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default focus:outline-none", fullScreen ? "rounded-t-none max-h-full" : "rounded-t-md max-h-[85vh]", contentClassName),
|
|
7912
7912
|
onOpenAutoFocus: function(e) {
|
|
7913
7913
|
!autoFocus && e.preventDefault();
|
|
7914
7914
|
},
|
|
@@ -8003,7 +8003,7 @@ var Modal = function(_param) {
|
|
|
8003
8003
|
}
|
|
8004
8004
|
};
|
|
8005
8005
|
var dialogContent = /* @__PURE__ */ jsxs17(ModalContent, {
|
|
8006
|
-
className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-
|
|
8006
|
+
className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default overflow-hidden", !isMobile2 ? modalVariants({
|
|
8007
8007
|
size: size,
|
|
8008
8008
|
zIndex: zIndex
|
|
8009
8009
|
}) : isLogin ? "w-[90%]" : "w-[80%]", isNotification && "w-[312px] md:w-[380px]", contentClassName),
|
|
@@ -10806,14 +10806,14 @@ function TopNavigationBar(param) {
|
|
|
10806
10806
|
href: backUrl,
|
|
10807
10807
|
className: "flex justify-center items-center",
|
|
10808
10808
|
children: /* @__PURE__ */ jsx44(IconButton, {
|
|
10809
|
-
variant:
|
|
10810
|
-
color:
|
|
10809
|
+
variant: "plain",
|
|
10810
|
+
color: "default",
|
|
10811
10811
|
size: "md",
|
|
10812
10812
|
icon: ArrowLeftIcon
|
|
10813
10813
|
})
|
|
10814
10814
|
}) : /* @__PURE__ */ jsx44(IconButton, {
|
|
10815
|
-
variant:
|
|
10816
|
-
color:
|
|
10815
|
+
variant: "plain",
|
|
10816
|
+
color: "default",
|
|
10817
10817
|
size: "md",
|
|
10818
10818
|
icon: ArrowLeftIcon,
|
|
10819
10819
|
onClick: onBack
|
|
@@ -11338,12 +11338,14 @@ import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
|
11338
11338
|
var switchSize = {
|
|
11339
11339
|
sm: "w-7 h-4",
|
|
11340
11340
|
md: "w-[34px] h-5",
|
|
11341
|
-
lg: "w-10 h-6"
|
|
11341
|
+
lg: "w-10 h-6",
|
|
11342
|
+
xl: "w-12 h-7"
|
|
11342
11343
|
};
|
|
11343
11344
|
var switchVerticalSize = {
|
|
11344
11345
|
sm: "h-7 w-4",
|
|
11345
11346
|
md: "h-[34px] w-5",
|
|
11346
|
-
lg: "h-10 w-6"
|
|
11347
|
+
lg: "h-10 w-6",
|
|
11348
|
+
xl: "h-12 w-7"
|
|
11347
11349
|
};
|
|
11348
11350
|
var switchRootVariants = cva16('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-2 data-[state=unchecked]:focus-visible:bg-cc-Switch-bg-default disabled:cursor-not-allowed disabled:opacity-30 data-[state="checked"]:bg-cc-Switch-bg-on data-[state="unchecked"]:bg-cc-Switch-bg-default', {
|
|
11349
11351
|
variants: {
|
|
@@ -11367,6 +11369,11 @@ var switchRootVariants = cva16('peer inline-flex shrink-0 cursor-pointer items-c
|
|
|
11367
11369
|
vertical: true,
|
|
11368
11370
|
size: "lg",
|
|
11369
11371
|
className: switchVerticalSize.lg
|
|
11372
|
+
},
|
|
11373
|
+
{
|
|
11374
|
+
vertical: true,
|
|
11375
|
+
size: "xl",
|
|
11376
|
+
className: switchVerticalSize.xl
|
|
11370
11377
|
}
|
|
11371
11378
|
],
|
|
11372
11379
|
defaultVariants: {
|
|
@@ -11379,7 +11386,8 @@ var switchThumbVariants = cva16("pointer-events-none block rounded-full bg-cc-Sw
|
|
|
11379
11386
|
size: {
|
|
11380
11387
|
sm: "w-3 h-3 data-[state=checked]:translate-x-3",
|
|
11381
11388
|
md: "w-4 h-4 data-[state=checked]:translate-x-[14px]",
|
|
11382
|
-
lg: "w-5 h-5 data-[state=checked]:translate-x-4"
|
|
11389
|
+
lg: "w-5 h-5 data-[state=checked]:translate-x-4",
|
|
11390
|
+
xl: "w-6 h-6 data-[state=checked]:translate-x-5"
|
|
11383
11391
|
},
|
|
11384
11392
|
vertical: {
|
|
11385
11393
|
true: "data-[state=checked]:translate-x-0 data-[state=unchecked]:translate-x-0"
|
|
@@ -11400,6 +11408,11 @@ var switchThumbVariants = cva16("pointer-events-none block rounded-full bg-cc-Sw
|
|
|
11400
11408
|
vertical: true,
|
|
11401
11409
|
size: "lg",
|
|
11402
11410
|
className: "data-[state=unchecked]:translate-y-4 data-[state=checked]:translate-y-0"
|
|
11411
|
+
},
|
|
11412
|
+
{
|
|
11413
|
+
vertical: true,
|
|
11414
|
+
size: "xl",
|
|
11415
|
+
className: "data-[state=unchecked]:translate-y-5 data-[state=checked]:translate-y-0"
|
|
11403
11416
|
}
|
|
11404
11417
|
],
|
|
11405
11418
|
defaultVariants: {
|
|
@@ -11412,7 +11425,8 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
|
|
|
11412
11425
|
size: {
|
|
11413
11426
|
sm: "w-2 h-2",
|
|
11414
11427
|
md: "w-3 h-3",
|
|
11415
|
-
lg: "w-4 h-4"
|
|
11428
|
+
lg: "w-4 h-4",
|
|
11429
|
+
xl: "w-4 h-4"
|
|
11416
11430
|
}
|
|
11417
11431
|
}
|
|
11418
11432
|
});
|
|
@@ -11681,7 +11695,7 @@ var Tab = React37.forwardRef(function(_param, ref) {
|
|
|
11681
11695
|
}, tooltip), {
|
|
11682
11696
|
children: /* @__PURE__ */ jsx51(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11683
11697
|
ref: ref,
|
|
11684
|
-
className: cn("tabtrigger min-w-fit", tabVariants({
|
|
11698
|
+
className: cn("tabtrigger min-w-fit outline-none focus:!outline-none focus-visible:!outline-none", tabVariants({
|
|
11685
11699
|
variant: variant,
|
|
11686
11700
|
size: size,
|
|
11687
11701
|
rounded: rounded
|
|
@@ -11760,7 +11774,7 @@ var Textarea = React38.forwardRef(function(_param, ref) {
|
|
|
11760
11774
|
className: "relative",
|
|
11761
11775
|
children: [
|
|
11762
11776
|
/* @__PURE__ */ jsx52("textarea", _object_spread({
|
|
11763
|
-
className: cn("w-full min-h-[123px] p-3
|
|
11777
|
+
className: cn("w-full min-h-[123px] p-3 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
|
|
11764
11778
|
ref: ref,
|
|
11765
11779
|
maxLength: maxLength,
|
|
11766
11780
|
value: value1,
|
|
@@ -12156,10 +12170,10 @@ ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
|
12156
12170
|
var toastVariants = cva20("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-sm border border-Colors-Border-Opaque p-6 pr-8 shadow-modal-default transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 max-w-md", {
|
|
12157
12171
|
variants: {
|
|
12158
12172
|
variant: {
|
|
12159
|
-
info: "bg-Colors-Background-
|
|
12160
|
-
warning: "bg-Colors-Background-
|
|
12161
|
-
error: "bg-Colors-Background-
|
|
12162
|
-
success: "bg-Colors-Background-
|
|
12173
|
+
info: "bg-Colors-Background-Utilities-Modal p-4",
|
|
12174
|
+
warning: "bg-Colors-Background-Utilities-Modal p-4",
|
|
12175
|
+
error: "bg-Colors-Background-Utilities-Modal p-4",
|
|
12176
|
+
success: "bg-Colors-Background-Utilities-Modal p-4"
|
|
12163
12177
|
},
|
|
12164
12178
|
position: {
|
|
12165
12179
|
"top-left": "data-[state=open]:slide-in-from-left-full data-[state=closed]:slide-out-to-left-full",
|
|
@@ -12724,7 +12738,7 @@ function CustomNotification(param) {
|
|
|
12724
12738
|
return /* @__PURE__ */ jsx62("div", {
|
|
12725
12739
|
children: /* @__PURE__ */ jsx62("div", {
|
|
12726
12740
|
id: id,
|
|
12727
|
-
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-
|
|
12741
|
+
className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal px-3 py-2 shadow-modal-default md:max-w-[560px]",
|
|
12728
12742
|
children: /* @__PURE__ */ jsxs36("div", {
|
|
12729
12743
|
className: "flex w-full items-center justify-center gap-2",
|
|
12730
12744
|
children: [
|