@liner-fe/prism 2.8.2 → 2.8.3
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/lib/index.d.ts +13 -8
- package/lib/index.js +25 -28
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ type FillLevelType = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quin
|
|
|
43
43
|
type FillFalseLevelType = 'primary' | 'secondary';
|
|
44
44
|
type ButtonSizeType = 'cta' | 'l' | 'm' | 's';
|
|
45
45
|
type DefaultLevelType<T> = T extends true ? FillLevelType : FillFalseLevelType;
|
|
46
|
-
type ButtonIconProps
|
|
46
|
+
type ButtonIconProps = Pick<IconProps, 'type' | 'size' | 'thick' | 'fill'>;
|
|
47
47
|
interface DefaultButtonProps<T extends FillType> extends CommonButtonProps, VariantProps<typeof defaultButtonVariants> {
|
|
48
48
|
asChild?: boolean;
|
|
49
49
|
level?: DefaultLevelType<T>;
|
|
@@ -53,10 +53,10 @@ interface DefaultButtonProps<T extends FillType> extends CommonButtonProps, Vari
|
|
|
53
53
|
width?: 'full' | 'fit-content';
|
|
54
54
|
leftIcon?: {
|
|
55
55
|
icon: IconComponentType;
|
|
56
|
-
} & ButtonIconProps
|
|
56
|
+
} & ButtonIconProps;
|
|
57
57
|
rightIcon?: {
|
|
58
58
|
icon: IconComponentType;
|
|
59
|
-
} & ButtonIconProps
|
|
59
|
+
} & ButtonIconProps;
|
|
60
60
|
isLoading?: boolean;
|
|
61
61
|
}
|
|
62
62
|
type ButtonProps = DefaultButtonProps<FillType>;
|
|
@@ -325,7 +325,9 @@ interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, Varia
|
|
|
325
325
|
size?: 'l' | 'm' | 's' | 'xs';
|
|
326
326
|
fill?: boolean;
|
|
327
327
|
level?: IconButtonLevelType;
|
|
328
|
-
icon:
|
|
328
|
+
icon: {
|
|
329
|
+
icon: IconComponentType;
|
|
330
|
+
} & Pick<IconProps, 'type' | 'size' | 'thick' | 'fill'>;
|
|
329
331
|
isLoading?: boolean;
|
|
330
332
|
}
|
|
331
333
|
declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -481,7 +483,6 @@ interface LabelProps extends ComponentPropsWithoutRef<typeof Label$1.Root>, Vari
|
|
|
481
483
|
}
|
|
482
484
|
declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
483
485
|
|
|
484
|
-
type ButtonIconProps = Exclude<IconProps, 'size' | 'thick'>;
|
|
485
486
|
declare const textButtonVariants: (props?: ({
|
|
486
487
|
level?: "primary" | "secondary" | "tertiary" | "inverse-static" | "inverse" | undefined;
|
|
487
488
|
size?: "m" | "s" | undefined;
|
|
@@ -502,8 +503,12 @@ interface TextButtonProps extends CommonButtonProps, VariantProps<typeof textBut
|
|
|
502
503
|
thick?: boolean;
|
|
503
504
|
underline?: boolean;
|
|
504
505
|
size?: TextButtonSizeType;
|
|
505
|
-
leftIcon?:
|
|
506
|
-
|
|
506
|
+
leftIcon?: {
|
|
507
|
+
icon: IconComponentType;
|
|
508
|
+
} & Pick<IconProps, 'type' | 'size' | 'thick' | 'fill'>;
|
|
509
|
+
rightIcon?: {
|
|
510
|
+
icon: IconComponentType;
|
|
511
|
+
} & Pick<IconProps, 'type' | 'size' | 'thick' | 'fill'>;
|
|
507
512
|
}
|
|
508
513
|
declare const TextButton: react.ForwardRefExoticComponent<TextButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
509
514
|
|
|
@@ -632,4 +637,4 @@ interface TagProps extends Omit<IPropsNormalBold, 'type' | 'size' | 'weight'> {
|
|
|
632
637
|
}
|
|
633
638
|
declare const Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
634
639
|
|
|
635
|
-
export { type BaseCoachMarkContentProps, type BreakPointsKey, Button, type ButtonIconProps
|
|
640
|
+
export { type BaseCoachMarkContentProps, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, CoachMark, type CoachMarkContentProps, type CommonButtonProps, CompactCoachMark, DefaultButton, type DefaultButtonProps, Display, type FillFalseLevelType, type FillLevelType, type FillType, Heading, type ICaptionProps, type IDisplayProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsNormalBold, type IPropsPost, type ITitleProps, IconButton, type IconButtonLevelType, type IconButtonProps, type IconSizeType, type ItemProps, Label, List, Loading, Logo, Media, MediaContextProvider, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, PrimitiveCoachMark, type PrimitiveCoachMarkContentProps, type PrimitiveCoachMarkRootProps, Radio, Select, type SelectItemProps, type SelectProps, SingleSnackbar, Snackbar, Tag, TextButton, type TextButtonProps, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, Toaster, Tooltip, Typography, arrayToStyleObject, isEmptyObject, objectToArray, rootMediaStyle, snackbarAtom, useSnackbar, useToast };
|
package/lib/index.js
CHANGED
|
@@ -2697,10 +2697,9 @@ var style_module_default5 = {
|
|
|
2697
2697
|
// src/components/Popover/index.tsx
|
|
2698
2698
|
var import_cva4 = require("cva");
|
|
2699
2699
|
var import_clsx8 = require("clsx");
|
|
2700
|
-
var
|
|
2700
|
+
var import_icon3 = require("@liner-fe/icon");
|
|
2701
2701
|
|
|
2702
2702
|
// src/components/TextButton/index.tsx
|
|
2703
|
-
var import_icon3 = require("@liner-fe/icon");
|
|
2704
2703
|
var import_cva3 = require("cva");
|
|
2705
2704
|
|
|
2706
2705
|
// src/components/TextButton/style.module.scss
|
|
@@ -2780,9 +2779,9 @@ var TextButton = (0, import_react12.forwardRef)(
|
|
|
2780
2779
|
...icon
|
|
2781
2780
|
}), "getIconProps");
|
|
2782
2781
|
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("span", { className: style_module_default6["text-children"], children: [
|
|
2783
|
-
leftIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2782
|
+
leftIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(leftIcon.icon, { ...getIconProps(leftIcon) }),
|
|
2784
2783
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { children: children2 }),
|
|
2785
|
-
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2784
|
+
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(rightIcon.icon, { ...getIconProps(rightIcon) })
|
|
2786
2785
|
] }), "renderContent");
|
|
2787
2786
|
if (asChild) {
|
|
2788
2787
|
const parent = import_react12.Children.only(children);
|
|
@@ -2891,7 +2890,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2891
2890
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.contentContainer, children: [
|
|
2892
2891
|
(tag || icon || onClose) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.heading, children: [
|
|
2893
2892
|
tag && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: popoverTagVariants(), children: tag }),
|
|
2894
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2893
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icon3.Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
2895
2894
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: popoverTitleVariants(), children: title }),
|
|
2896
2895
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2897
2896
|
import_radix_ui.Popover.PopoverClose,
|
|
@@ -2901,7 +2900,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2901
2900
|
onClose();
|
|
2902
2901
|
},
|
|
2903
2902
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2904
|
-
|
|
2903
|
+
import_icon3.Icon,
|
|
2905
2904
|
{
|
|
2906
2905
|
name: "close-fill",
|
|
2907
2906
|
size: "s",
|
|
@@ -2989,7 +2988,6 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
2989
2988
|
// src/components/IconButton/index.tsx
|
|
2990
2989
|
var import_cva6 = require("cva");
|
|
2991
2990
|
var import_react14 = require("react");
|
|
2992
|
-
var import_icon5 = require("@liner-fe/icon");
|
|
2993
2991
|
var import_clsx10 = __toESM(require("clsx"));
|
|
2994
2992
|
|
|
2995
2993
|
// src/components/IconButton/style.module.scss
|
|
@@ -3104,10 +3102,9 @@ var IconButton = (0, import_react14.forwardRef)(
|
|
|
3104
3102
|
className: (0, import_clsx10.default)(iconButtonVariants({ level, size: size4, fill }), className),
|
|
3105
3103
|
ref,
|
|
3106
3104
|
disabled: disabled && !isLoading,
|
|
3107
|
-
"aria-label": icon.name,
|
|
3108
3105
|
role: "button",
|
|
3109
3106
|
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Loading, { size: iconButtonLoadingSizeMap[size4], level: iconButtonLoadingLevelMap[level] }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3110
|
-
|
|
3107
|
+
icon.icon,
|
|
3111
3108
|
{
|
|
3112
3109
|
size: iconButtonSizeIconSizeMap[size4],
|
|
3113
3110
|
type: iconButtonLevelIconTypeMap[fill ? "fill" : "ghost"][level],
|
|
@@ -3216,7 +3213,7 @@ var Label = (0, import_react15.forwardRef)(
|
|
|
3216
3213
|
Label.displayName = "Label";
|
|
3217
3214
|
|
|
3218
3215
|
// src/components/CheckBox/index.tsx
|
|
3219
|
-
var
|
|
3216
|
+
var import_icon4 = require("@liner-fe/icon");
|
|
3220
3217
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3221
3218
|
var Checkbox = (0, import_react16.forwardRef)(
|
|
3222
3219
|
({ className, label, description, ...props }, ref) => {
|
|
@@ -3227,7 +3224,7 @@ var Checkbox = (0, import_react16.forwardRef)(
|
|
|
3227
3224
|
] }),
|
|
3228
3225
|
children
|
|
3229
3226
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, { children }), "CheckboxWrapper");
|
|
3230
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CheckboxWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui5.Checkbox.Root, { className: (0, import_clsx12.default)(style_module_default9.checkbox, className), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui5.Checkbox.Indicator, { className: style_module_default9["checkbox-indicator"], children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CheckboxWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui5.Checkbox.Root, { className: (0, import_clsx12.default)(style_module_default9.checkbox, className), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui5.Checkbox.Indicator, { className: style_module_default9["checkbox-indicator"], children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icon4.IconCheckMark, { thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
|
|
3231
3228
|
}
|
|
3232
3229
|
);
|
|
3233
3230
|
|
|
@@ -3303,7 +3300,7 @@ var style_module_default12 = {
|
|
|
3303
3300
|
// src/components/Textfield/index.tsx
|
|
3304
3301
|
var import_cva8 = require("cva");
|
|
3305
3302
|
var import_clsx14 = __toESM(require("clsx"));
|
|
3306
|
-
var
|
|
3303
|
+
var import_icon5 = require("@liner-fe/icon");
|
|
3307
3304
|
var import_react_dom2 = require("react-dom");
|
|
3308
3305
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3309
3306
|
var defaultTextfieldVariants = (0, import_cva8.cva)({
|
|
@@ -3420,7 +3417,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3420
3417
|
level: "secondary",
|
|
3421
3418
|
fill: false,
|
|
3422
3419
|
icon: {
|
|
3423
|
-
|
|
3420
|
+
icon: import_icon5.IconCloseFill,
|
|
3424
3421
|
size: "s",
|
|
3425
3422
|
thick: true
|
|
3426
3423
|
},
|
|
@@ -3438,7 +3435,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3438
3435
|
level: "secondary",
|
|
3439
3436
|
fill: false,
|
|
3440
3437
|
icon: {
|
|
3441
|
-
|
|
3438
|
+
icon: deidentifiy ? import_icon5.IconVisibilityOff : import_icon5.IconVisibility,
|
|
3442
3439
|
size: "s",
|
|
3443
3440
|
fill: true
|
|
3444
3441
|
},
|
|
@@ -3456,7 +3453,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3456
3453
|
displayFooter && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: style_module_default12.footer, children: [
|
|
3457
3454
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: style_module_default12["error-wrapper"], children: error && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
|
|
3458
3455
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3459
|
-
|
|
3456
|
+
import_icon5.Icon,
|
|
3460
3457
|
{
|
|
3461
3458
|
name: "exclamationmark-fill",
|
|
3462
3459
|
fill: true,
|
|
@@ -3518,7 +3515,7 @@ var style_module_default13 = {
|
|
|
3518
3515
|
};
|
|
3519
3516
|
|
|
3520
3517
|
// src/components/Select/index.tsx
|
|
3521
|
-
var
|
|
3518
|
+
var import_icon6 = require("@liner-fe/icon");
|
|
3522
3519
|
var import_react19 = require("react");
|
|
3523
3520
|
var import_clsx15 = __toESM(require("clsx"));
|
|
3524
3521
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
@@ -3626,7 +3623,7 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3626
3623
|
children: [
|
|
3627
3624
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_radix_ui7.Select.Trigger, { className: style_module_default13.trigger, ref, id, children: [
|
|
3628
3625
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Value, { className: style_module_default13.placeholder, placeholder }),
|
|
3629
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3626
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon6.Icon, { name: "drop-down", fill: true, thick: true, size: "xs" }) })
|
|
3630
3627
|
] }),
|
|
3631
3628
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectContent, { ...contentProps })
|
|
3632
3629
|
]
|
|
@@ -3647,8 +3644,8 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
3647
3644
|
},
|
|
3648
3645
|
children: [
|
|
3649
3646
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemText, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Paragraph, { size: 3, type: "normal", weight: "medium", children: text ?? value }) }),
|
|
3650
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3651
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3647
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon6.Icon, { size: "xs", ...icon }) }),
|
|
3648
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon6.Icon, { thick: true, size: "xs", name: "check-mark", type: "brand-label-primary" }) })
|
|
3652
3649
|
]
|
|
3653
3650
|
}
|
|
3654
3651
|
), "SelectItem");
|
|
@@ -3664,7 +3661,7 @@ var style_module_default14 = {
|
|
|
3664
3661
|
};
|
|
3665
3662
|
|
|
3666
3663
|
// src/components/List/index.tsx
|
|
3667
|
-
var
|
|
3664
|
+
var import_icon7 = require("@liner-fe/icon");
|
|
3668
3665
|
var import_react21 = require("react");
|
|
3669
3666
|
|
|
3670
3667
|
// src/hooks/collection.tsx
|
|
@@ -3713,7 +3710,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
3713
3710
|
},
|
|
3714
3711
|
children: [
|
|
3715
3712
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
3716
|
-
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3713
|
+
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_icon7.Icon, { className: style_module_default14.icon, size: "xs", ...iconProps })
|
|
3717
3714
|
]
|
|
3718
3715
|
}
|
|
3719
3716
|
);
|
|
@@ -3765,7 +3762,7 @@ var useSnackbar = /* @__PURE__ */ __name(() => {
|
|
|
3765
3762
|
}, "useSnackbar");
|
|
3766
3763
|
|
|
3767
3764
|
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
3768
|
-
var
|
|
3765
|
+
var import_icon8 = require("@liner-fe/icon");
|
|
3769
3766
|
|
|
3770
3767
|
// src/components/Snackbar/SnackbarIcon/style.module.scss
|
|
3771
3768
|
var style_module_default16 = {
|
|
@@ -3777,11 +3774,11 @@ var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
|
3777
3774
|
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
3778
3775
|
const { icon } = props;
|
|
3779
3776
|
if (!icon) return null;
|
|
3780
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icon8.Icon, { ...icon, size: "m", className: style_module_default16.container });
|
|
3781
3778
|
}, "SnackbarIcon");
|
|
3782
3779
|
|
|
3783
3780
|
// src/components/Snackbar/index.tsx
|
|
3784
|
-
var
|
|
3781
|
+
var import_icon9 = require("@liner-fe/icon");
|
|
3785
3782
|
|
|
3786
3783
|
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
3787
3784
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
@@ -3913,7 +3910,7 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
3913
3910
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SnackbarDescription, { description })
|
|
3914
3911
|
] }),
|
|
3915
3912
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3916
|
-
|
|
3913
|
+
import_icon9.IconArrowForward,
|
|
3917
3914
|
{
|
|
3918
3915
|
fill: true,
|
|
3919
3916
|
thick: true,
|
|
@@ -8306,7 +8303,7 @@ var style_module_default21 = {
|
|
|
8306
8303
|
|
|
8307
8304
|
// src/components/coach-mark/main/index.tsx
|
|
8308
8305
|
var import_react28 = require("react");
|
|
8309
|
-
var
|
|
8306
|
+
var import_icon10 = require("@liner-fe/icon");
|
|
8310
8307
|
var import_cva12 = require("cva");
|
|
8311
8308
|
var import_clsx22 = __toESM(require("clsx"));
|
|
8312
8309
|
|
|
@@ -8460,7 +8457,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8460
8457
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
8461
8458
|
IconButton,
|
|
8462
8459
|
{
|
|
8463
|
-
icon: {
|
|
8460
|
+
icon: { icon: import_icon10.IconClose },
|
|
8464
8461
|
size: "xs",
|
|
8465
8462
|
level: level === "inverse" ? "inverse" : "inverse-static",
|
|
8466
8463
|
fill: false,
|
|
@@ -8481,7 +8478,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8481
8478
|
}
|
|
8482
8479
|
),
|
|
8483
8480
|
icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
8484
|
-
|
|
8481
|
+
import_icon10.Icon,
|
|
8485
8482
|
{
|
|
8486
8483
|
name: icon.name,
|
|
8487
8484
|
size: "xs",
|