@liner-fe/prism 2.8.2 → 2.8.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/lib/index.d.ts +13 -8
- package/lib/index.js +28 -32
- 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
|
@@ -115,7 +115,6 @@ var style_module_default = {
|
|
|
115
115
|
// src/components/Button/index.tsx
|
|
116
116
|
var import_cva2 = require("cva");
|
|
117
117
|
var import_clsx = __toESM(require("clsx"));
|
|
118
|
-
var import_icon = require("@liner-fe/icon");
|
|
119
118
|
|
|
120
119
|
// src/components/Loading/style.module.scss
|
|
121
120
|
var style_module_default2 = {
|
|
@@ -341,7 +340,7 @@ var DefaultButton = (0, import_react.forwardRef)(
|
|
|
341
340
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Loading, { size: buttonLoadingSizeMap[size4], level: buttonLoadingLevelMap[level] }),
|
|
342
341
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: style_module_default.content, children: children2 })
|
|
343
342
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Loading, { size: buttonLoadingSizeMap[size4], level: buttonLoadingLevelMap[level] }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: style_module_default.content, children: children2 }),
|
|
344
|
-
!!rightIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(rightIcon.icon, { ...iconProps, ...
|
|
343
|
+
!!rightIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(rightIcon.icon, { ...iconProps, ...rightIcon })
|
|
345
344
|
] }), "renderContent");
|
|
346
345
|
if (asChild) {
|
|
347
346
|
const parent = import_react.Children.only(children);
|
|
@@ -1894,7 +1893,7 @@ var Paragraph = (0, import_react4.forwardRef)(
|
|
|
1894
1893
|
);
|
|
1895
1894
|
|
|
1896
1895
|
// src/components/Toast/index.tsx
|
|
1897
|
-
var
|
|
1896
|
+
var import_icon = require("@liner-fe/icon");
|
|
1898
1897
|
var import_recoil2 = require("recoil");
|
|
1899
1898
|
var import_lottie_web = __toESM(require("lottie-web"));
|
|
1900
1899
|
|
|
@@ -2421,7 +2420,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2421
2420
|
}, [isLoading]);
|
|
2422
2421
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
2423
2422
|
if (!icon) return null;
|
|
2424
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_icon.Icon, { ...icon, size: "m" }) });
|
|
2425
2424
|
}, "renderIcon");
|
|
2426
2425
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Root2, { className: style_module_default3.ToastRoot, open: isOpen, ...props, children: [
|
|
2427
2426
|
isLoading && !toastSuccess.current ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { ref: lottieRef, style: { width: "24px", height: "24px" } }) : renderIcon(),
|
|
@@ -2697,10 +2696,9 @@ var style_module_default5 = {
|
|
|
2697
2696
|
// src/components/Popover/index.tsx
|
|
2698
2697
|
var import_cva4 = require("cva");
|
|
2699
2698
|
var import_clsx8 = require("clsx");
|
|
2700
|
-
var
|
|
2699
|
+
var import_icon2 = require("@liner-fe/icon");
|
|
2701
2700
|
|
|
2702
2701
|
// src/components/TextButton/index.tsx
|
|
2703
|
-
var import_icon3 = require("@liner-fe/icon");
|
|
2704
2702
|
var import_cva3 = require("cva");
|
|
2705
2703
|
|
|
2706
2704
|
// src/components/TextButton/style.module.scss
|
|
@@ -2780,9 +2778,9 @@ var TextButton = (0, import_react12.forwardRef)(
|
|
|
2780
2778
|
...icon
|
|
2781
2779
|
}), "getIconProps");
|
|
2782
2780
|
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)(
|
|
2781
|
+
leftIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(leftIcon.icon, { ...getIconProps(leftIcon) }),
|
|
2784
2782
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { children: children2 }),
|
|
2785
|
-
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2783
|
+
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(rightIcon.icon, { ...getIconProps(rightIcon) })
|
|
2786
2784
|
] }), "renderContent");
|
|
2787
2785
|
if (asChild) {
|
|
2788
2786
|
const parent = import_react12.Children.only(children);
|
|
@@ -2891,7 +2889,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2891
2889
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.contentContainer, children: [
|
|
2892
2890
|
(tag || icon || onClose) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.heading, children: [
|
|
2893
2891
|
tag && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: popoverTagVariants(), children: tag }),
|
|
2894
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2892
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icon2.Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
2895
2893
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: popoverTitleVariants(), children: title }),
|
|
2896
2894
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2897
2895
|
import_radix_ui.Popover.PopoverClose,
|
|
@@ -2901,7 +2899,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2901
2899
|
onClose();
|
|
2902
2900
|
},
|
|
2903
2901
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2904
|
-
|
|
2902
|
+
import_icon2.Icon,
|
|
2905
2903
|
{
|
|
2906
2904
|
name: "close-fill",
|
|
2907
2905
|
size: "s",
|
|
@@ -2989,7 +2987,6 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
2989
2987
|
// src/components/IconButton/index.tsx
|
|
2990
2988
|
var import_cva6 = require("cva");
|
|
2991
2989
|
var import_react14 = require("react");
|
|
2992
|
-
var import_icon5 = require("@liner-fe/icon");
|
|
2993
2990
|
var import_clsx10 = __toESM(require("clsx"));
|
|
2994
2991
|
|
|
2995
2992
|
// src/components/IconButton/style.module.scss
|
|
@@ -3104,10 +3101,9 @@ var IconButton = (0, import_react14.forwardRef)(
|
|
|
3104
3101
|
className: (0, import_clsx10.default)(iconButtonVariants({ level, size: size4, fill }), className),
|
|
3105
3102
|
ref,
|
|
3106
3103
|
disabled: disabled && !isLoading,
|
|
3107
|
-
"aria-label": icon.name,
|
|
3108
3104
|
role: "button",
|
|
3109
3105
|
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Loading, { size: iconButtonLoadingSizeMap[size4], level: iconButtonLoadingLevelMap[level] }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3110
|
-
|
|
3106
|
+
icon.icon,
|
|
3111
3107
|
{
|
|
3112
3108
|
size: iconButtonSizeIconSizeMap[size4],
|
|
3113
3109
|
type: iconButtonLevelIconTypeMap[fill ? "fill" : "ghost"][level],
|
|
@@ -3216,7 +3212,7 @@ var Label = (0, import_react15.forwardRef)(
|
|
|
3216
3212
|
Label.displayName = "Label";
|
|
3217
3213
|
|
|
3218
3214
|
// src/components/CheckBox/index.tsx
|
|
3219
|
-
var
|
|
3215
|
+
var import_icon3 = require("@liner-fe/icon");
|
|
3220
3216
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3221
3217
|
var Checkbox = (0, import_react16.forwardRef)(
|
|
3222
3218
|
({ className, label, description, ...props }, ref) => {
|
|
@@ -3227,7 +3223,7 @@ var Checkbox = (0, import_react16.forwardRef)(
|
|
|
3227
3223
|
] }),
|
|
3228
3224
|
children
|
|
3229
3225
|
] }) : /* @__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)(
|
|
3226
|
+
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_icon3.IconCheckMark, { thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
|
|
3231
3227
|
}
|
|
3232
3228
|
);
|
|
3233
3229
|
|
|
@@ -3303,7 +3299,7 @@ var style_module_default12 = {
|
|
|
3303
3299
|
// src/components/Textfield/index.tsx
|
|
3304
3300
|
var import_cva8 = require("cva");
|
|
3305
3301
|
var import_clsx14 = __toESM(require("clsx"));
|
|
3306
|
-
var
|
|
3302
|
+
var import_icon4 = require("@liner-fe/icon");
|
|
3307
3303
|
var import_react_dom2 = require("react-dom");
|
|
3308
3304
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3309
3305
|
var defaultTextfieldVariants = (0, import_cva8.cva)({
|
|
@@ -3420,7 +3416,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3420
3416
|
level: "secondary",
|
|
3421
3417
|
fill: false,
|
|
3422
3418
|
icon: {
|
|
3423
|
-
|
|
3419
|
+
icon: import_icon4.IconCloseFill,
|
|
3424
3420
|
size: "s",
|
|
3425
3421
|
thick: true
|
|
3426
3422
|
},
|
|
@@ -3438,7 +3434,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3438
3434
|
level: "secondary",
|
|
3439
3435
|
fill: false,
|
|
3440
3436
|
icon: {
|
|
3441
|
-
|
|
3437
|
+
icon: deidentifiy ? import_icon4.IconVisibilityOff : import_icon4.IconVisibility,
|
|
3442
3438
|
size: "s",
|
|
3443
3439
|
fill: true
|
|
3444
3440
|
},
|
|
@@ -3456,7 +3452,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3456
3452
|
displayFooter && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: style_module_default12.footer, children: [
|
|
3457
3453
|
/* @__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
3454
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3459
|
-
|
|
3455
|
+
import_icon4.Icon,
|
|
3460
3456
|
{
|
|
3461
3457
|
name: "exclamationmark-fill",
|
|
3462
3458
|
fill: true,
|
|
@@ -3518,7 +3514,7 @@ var style_module_default13 = {
|
|
|
3518
3514
|
};
|
|
3519
3515
|
|
|
3520
3516
|
// src/components/Select/index.tsx
|
|
3521
|
-
var
|
|
3517
|
+
var import_icon5 = require("@liner-fe/icon");
|
|
3522
3518
|
var import_react19 = require("react");
|
|
3523
3519
|
var import_clsx15 = __toESM(require("clsx"));
|
|
3524
3520
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
@@ -3626,7 +3622,7 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3626
3622
|
children: [
|
|
3627
3623
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_radix_ui7.Select.Trigger, { className: style_module_default13.trigger, ref, id, children: [
|
|
3628
3624
|
/* @__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)(
|
|
3625
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon5.Icon, { name: "drop-down", fill: true, thick: true, size: "xs" }) })
|
|
3630
3626
|
] }),
|
|
3631
3627
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectContent, { ...contentProps })
|
|
3632
3628
|
]
|
|
@@ -3647,8 +3643,8 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
3647
3643
|
},
|
|
3648
3644
|
children: [
|
|
3649
3645
|
/* @__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)(
|
|
3646
|
+
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_icon5.Icon, { size: "xs", ...icon }) }),
|
|
3647
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon5.Icon, { thick: true, size: "xs", name: "check-mark", type: "brand-label-primary" }) })
|
|
3652
3648
|
]
|
|
3653
3649
|
}
|
|
3654
3650
|
), "SelectItem");
|
|
@@ -3664,7 +3660,7 @@ var style_module_default14 = {
|
|
|
3664
3660
|
};
|
|
3665
3661
|
|
|
3666
3662
|
// src/components/List/index.tsx
|
|
3667
|
-
var
|
|
3663
|
+
var import_icon6 = require("@liner-fe/icon");
|
|
3668
3664
|
var import_react21 = require("react");
|
|
3669
3665
|
|
|
3670
3666
|
// src/hooks/collection.tsx
|
|
@@ -3713,7 +3709,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
3713
3709
|
},
|
|
3714
3710
|
children: [
|
|
3715
3711
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
3716
|
-
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3712
|
+
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_icon6.Icon, { className: style_module_default14.icon, size: "xs", ...iconProps })
|
|
3717
3713
|
]
|
|
3718
3714
|
}
|
|
3719
3715
|
);
|
|
@@ -3765,7 +3761,7 @@ var useSnackbar = /* @__PURE__ */ __name(() => {
|
|
|
3765
3761
|
}, "useSnackbar");
|
|
3766
3762
|
|
|
3767
3763
|
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
3768
|
-
var
|
|
3764
|
+
var import_icon7 = require("@liner-fe/icon");
|
|
3769
3765
|
|
|
3770
3766
|
// src/components/Snackbar/SnackbarIcon/style.module.scss
|
|
3771
3767
|
var style_module_default16 = {
|
|
@@ -3777,11 +3773,11 @@ var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
|
3777
3773
|
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
3778
3774
|
const { icon } = props;
|
|
3779
3775
|
if (!icon) return null;
|
|
3780
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icon7.Icon, { ...icon, size: "m", className: style_module_default16.container });
|
|
3781
3777
|
}, "SnackbarIcon");
|
|
3782
3778
|
|
|
3783
3779
|
// src/components/Snackbar/index.tsx
|
|
3784
|
-
var
|
|
3780
|
+
var import_icon8 = require("@liner-fe/icon");
|
|
3785
3781
|
|
|
3786
3782
|
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
3787
3783
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
@@ -3913,7 +3909,7 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
3913
3909
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SnackbarDescription, { description })
|
|
3914
3910
|
] }),
|
|
3915
3911
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3916
|
-
|
|
3912
|
+
import_icon8.IconArrowForward,
|
|
3917
3913
|
{
|
|
3918
3914
|
fill: true,
|
|
3919
3915
|
thick: true,
|
|
@@ -8306,7 +8302,7 @@ var style_module_default21 = {
|
|
|
8306
8302
|
|
|
8307
8303
|
// src/components/coach-mark/main/index.tsx
|
|
8308
8304
|
var import_react28 = require("react");
|
|
8309
|
-
var
|
|
8305
|
+
var import_icon9 = require("@liner-fe/icon");
|
|
8310
8306
|
var import_cva12 = require("cva");
|
|
8311
8307
|
var import_clsx22 = __toESM(require("clsx"));
|
|
8312
8308
|
|
|
@@ -8460,7 +8456,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8460
8456
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
8461
8457
|
IconButton,
|
|
8462
8458
|
{
|
|
8463
|
-
icon: {
|
|
8459
|
+
icon: { icon: import_icon9.IconClose },
|
|
8464
8460
|
size: "xs",
|
|
8465
8461
|
level: level === "inverse" ? "inverse" : "inverse-static",
|
|
8466
8462
|
fill: false,
|
|
@@ -8481,7 +8477,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8481
8477
|
}
|
|
8482
8478
|
),
|
|
8483
8479
|
icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
8484
|
-
|
|
8480
|
+
import_icon9.Icon,
|
|
8485
8481
|
{
|
|
8486
8482
|
name: icon.name,
|
|
8487
8483
|
size: "xs",
|