@liner-fe/prism 2.8.0 → 2.8.1
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 +5 -4
- package/lib/index.js +29 -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$1 = Pick<IconProps, 'type' | 'size' | 'thick'>;
|
|
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
|
-
};
|
|
56
|
+
} & ButtonIconProps$1;
|
|
57
57
|
rightIcon?: {
|
|
58
58
|
icon: IconComponentType;
|
|
59
|
-
};
|
|
59
|
+
} & ButtonIconProps$1;
|
|
60
60
|
isLoading?: boolean;
|
|
61
61
|
}
|
|
62
62
|
type ButtonProps = DefaultButtonProps<FillType>;
|
|
@@ -481,6 +481,7 @@ interface LabelProps extends ComponentPropsWithoutRef<typeof Label$1.Root>, Vari
|
|
|
481
481
|
}
|
|
482
482
|
declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
483
483
|
|
|
484
|
+
type ButtonIconProps = Exclude<IconProps, 'size' | 'thick'>;
|
|
484
485
|
declare const textButtonVariants: (props?: ({
|
|
485
486
|
level?: "primary" | "secondary" | "tertiary" | "inverse-static" | "inverse" | undefined;
|
|
486
487
|
size?: "m" | "s" | undefined;
|
|
@@ -631,4 +632,4 @@ interface TagProps extends Omit<IPropsNormalBold, 'type' | 'size' | 'weight'> {
|
|
|
631
632
|
}
|
|
632
633
|
declare const Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
633
634
|
|
|
634
|
-
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 };
|
|
635
|
+
export { type BaseCoachMarkContentProps, type BreakPointsKey, Button, type ButtonIconProps$1 as 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,6 +115,7 @@ 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");
|
|
118
119
|
|
|
119
120
|
// src/components/Loading/style.module.scss
|
|
120
121
|
var style_module_default2 = {
|
|
@@ -335,12 +336,12 @@ var DefaultButton = (0, import_react.forwardRef)(
|
|
|
335
336
|
fillType: buttonFillLevelIconFillTypeMap[`${fill}`][level]
|
|
336
337
|
};
|
|
337
338
|
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: (0, import_clsx.default)(defaultButtonChildrenVariants({ size: size4 })), children: [
|
|
338
|
-
!!leftIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(leftIcon.icon, { ...iconProps }),
|
|
339
|
+
!!leftIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(leftIcon.icon, { ...iconProps, ...leftIcon }),
|
|
339
340
|
isLoading ? !!leftIcon || !!rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
340
341
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Loading, { size: buttonLoadingSizeMap[size4], level: buttonLoadingLevelMap[level] }),
|
|
341
342
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: style_module_default.content, children: children2 })
|
|
342
343
|
] }) : /* @__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 }),
|
|
343
|
-
!!rightIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(rightIcon.icon, { ...iconProps })
|
|
344
|
+
!!rightIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(rightIcon.icon, { ...iconProps, ...leftIcon })
|
|
344
345
|
] }), "renderContent");
|
|
345
346
|
if (asChild) {
|
|
346
347
|
const parent = import_react.Children.only(children);
|
|
@@ -1893,7 +1894,7 @@ var Paragraph = (0, import_react4.forwardRef)(
|
|
|
1893
1894
|
);
|
|
1894
1895
|
|
|
1895
1896
|
// src/components/Toast/index.tsx
|
|
1896
|
-
var
|
|
1897
|
+
var import_icon2 = require("@liner-fe/icon");
|
|
1897
1898
|
var import_recoil2 = require("recoil");
|
|
1898
1899
|
var import_lottie_web = __toESM(require("lottie-web"));
|
|
1899
1900
|
|
|
@@ -2420,7 +2421,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2420
2421
|
}, [isLoading]);
|
|
2421
2422
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
2422
2423
|
if (!icon) return null;
|
|
2423
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_icon2.Icon, { ...icon, size: "m" }) });
|
|
2424
2425
|
}, "renderIcon");
|
|
2425
2426
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Root2, { className: style_module_default3.ToastRoot, open: isOpen, ...props, children: [
|
|
2426
2427
|
isLoading && !toastSuccess.current ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { ref: lottieRef, style: { width: "24px", height: "24px" } }) : renderIcon(),
|
|
@@ -2696,10 +2697,10 @@ var style_module_default5 = {
|
|
|
2696
2697
|
// src/components/Popover/index.tsx
|
|
2697
2698
|
var import_cva4 = require("cva");
|
|
2698
2699
|
var import_clsx8 = require("clsx");
|
|
2699
|
-
var
|
|
2700
|
+
var import_icon4 = require("@liner-fe/icon");
|
|
2700
2701
|
|
|
2701
2702
|
// src/components/TextButton/index.tsx
|
|
2702
|
-
var
|
|
2703
|
+
var import_icon3 = require("@liner-fe/icon");
|
|
2703
2704
|
var import_cva3 = require("cva");
|
|
2704
2705
|
|
|
2705
2706
|
// src/components/TextButton/style.module.scss
|
|
@@ -2779,9 +2780,9 @@ var TextButton = (0, import_react12.forwardRef)(
|
|
|
2779
2780
|
...icon
|
|
2780
2781
|
}), "getIconProps");
|
|
2781
2782
|
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("span", { className: style_module_default6["text-children"], children: [
|
|
2782
|
-
leftIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2783
|
+
leftIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_icon3.Icon, { ...getIconProps(leftIcon) }),
|
|
2783
2784
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { children: children2 }),
|
|
2784
|
-
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2785
|
+
rightIcon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_icon3.Icon, { ...getIconProps(rightIcon) })
|
|
2785
2786
|
] }), "renderContent");
|
|
2786
2787
|
if (asChild) {
|
|
2787
2788
|
const parent = import_react12.Children.only(children);
|
|
@@ -2890,7 +2891,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2890
2891
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.contentContainer, children: [
|
|
2891
2892
|
(tag || icon || onClose) && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: style_module_default5.heading, children: [
|
|
2892
2893
|
tag && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: popoverTagVariants(), children: tag }),
|
|
2893
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2894
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icon4.Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
2894
2895
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: popoverTitleVariants(), children: title }),
|
|
2895
2896
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2896
2897
|
import_radix_ui.Popover.PopoverClose,
|
|
@@ -2900,7 +2901,7 @@ var PopoverContent = React17.forwardRef(
|
|
|
2900
2901
|
onClose();
|
|
2901
2902
|
},
|
|
2902
2903
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2903
|
-
|
|
2904
|
+
import_icon4.Icon,
|
|
2904
2905
|
{
|
|
2905
2906
|
name: "close-fill",
|
|
2906
2907
|
size: "s",
|
|
@@ -2988,7 +2989,7 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
2988
2989
|
// src/components/IconButton/index.tsx
|
|
2989
2990
|
var import_cva6 = require("cva");
|
|
2990
2991
|
var import_react14 = require("react");
|
|
2991
|
-
var
|
|
2992
|
+
var import_icon5 = require("@liner-fe/icon");
|
|
2992
2993
|
var import_clsx10 = __toESM(require("clsx"));
|
|
2993
2994
|
|
|
2994
2995
|
// src/components/IconButton/style.module.scss
|
|
@@ -3106,7 +3107,7 @@ var IconButton = (0, import_react14.forwardRef)(
|
|
|
3106
3107
|
"aria-label": icon.name,
|
|
3107
3108
|
role: "button",
|
|
3108
3109
|
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Loading, { size: iconButtonLoadingSizeMap[size4], level: iconButtonLoadingLevelMap[level] }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3109
|
-
|
|
3110
|
+
import_icon5.Icon,
|
|
3110
3111
|
{
|
|
3111
3112
|
size: iconButtonSizeIconSizeMap[size4],
|
|
3112
3113
|
type: iconButtonLevelIconTypeMap[fill ? "fill" : "ghost"][level],
|
|
@@ -3215,7 +3216,7 @@ var Label = (0, import_react15.forwardRef)(
|
|
|
3215
3216
|
Label.displayName = "Label";
|
|
3216
3217
|
|
|
3217
3218
|
// src/components/CheckBox/index.tsx
|
|
3218
|
-
var
|
|
3219
|
+
var import_icon6 = require("@liner-fe/icon");
|
|
3219
3220
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3220
3221
|
var Checkbox = (0, import_react16.forwardRef)(
|
|
3221
3222
|
({ className, label, description, ...props }, ref) => {
|
|
@@ -3226,7 +3227,7 @@ var Checkbox = (0, import_react16.forwardRef)(
|
|
|
3226
3227
|
] }),
|
|
3227
3228
|
children
|
|
3228
3229
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, { children }), "CheckboxWrapper");
|
|
3229
|
-
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)(
|
|
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)(import_icon6.IconCheckMark, { thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
|
|
3230
3231
|
}
|
|
3231
3232
|
);
|
|
3232
3233
|
|
|
@@ -3302,7 +3303,7 @@ var style_module_default12 = {
|
|
|
3302
3303
|
// src/components/Textfield/index.tsx
|
|
3303
3304
|
var import_cva8 = require("cva");
|
|
3304
3305
|
var import_clsx14 = __toESM(require("clsx"));
|
|
3305
|
-
var
|
|
3306
|
+
var import_icon7 = require("@liner-fe/icon");
|
|
3306
3307
|
var import_react_dom2 = require("react-dom");
|
|
3307
3308
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3308
3309
|
var defaultTextfieldVariants = (0, import_cva8.cva)({
|
|
@@ -3455,7 +3456,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3455
3456
|
displayFooter && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: style_module_default12.footer, children: [
|
|
3456
3457
|
/* @__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: [
|
|
3457
3458
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3458
|
-
|
|
3459
|
+
import_icon7.Icon,
|
|
3459
3460
|
{
|
|
3460
3461
|
name: "exclamationmark-fill",
|
|
3461
3462
|
fill: true,
|
|
@@ -3517,7 +3518,7 @@ var style_module_default13 = {
|
|
|
3517
3518
|
};
|
|
3518
3519
|
|
|
3519
3520
|
// src/components/Select/index.tsx
|
|
3520
|
-
var
|
|
3521
|
+
var import_icon8 = require("@liner-fe/icon");
|
|
3521
3522
|
var import_react19 = require("react");
|
|
3522
3523
|
var import_clsx15 = __toESM(require("clsx"));
|
|
3523
3524
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
@@ -3625,7 +3626,7 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3625
3626
|
children: [
|
|
3626
3627
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_radix_ui7.Select.Trigger, { className: style_module_default13.trigger, ref, id, children: [
|
|
3627
3628
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Value, { className: style_module_default13.placeholder, placeholder }),
|
|
3628
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3629
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon8.Icon, { name: "drop-down", fill: true, thick: true, size: "xs" }) })
|
|
3629
3630
|
] }),
|
|
3630
3631
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectContent, { ...contentProps })
|
|
3631
3632
|
]
|
|
@@ -3646,8 +3647,8 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
3646
3647
|
},
|
|
3647
3648
|
children: [
|
|
3648
3649
|
/* @__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 }) }),
|
|
3649
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3650
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
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)(import_icon8.Icon, { size: "xs", ...icon }) }),
|
|
3651
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_radix_ui7.Select.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icon8.Icon, { thick: true, size: "xs", name: "check-mark", type: "brand-label-primary" }) })
|
|
3651
3652
|
]
|
|
3652
3653
|
}
|
|
3653
3654
|
), "SelectItem");
|
|
@@ -3663,7 +3664,7 @@ var style_module_default14 = {
|
|
|
3663
3664
|
};
|
|
3664
3665
|
|
|
3665
3666
|
// src/components/List/index.tsx
|
|
3666
|
-
var
|
|
3667
|
+
var import_icon9 = require("@liner-fe/icon");
|
|
3667
3668
|
var import_react21 = require("react");
|
|
3668
3669
|
|
|
3669
3670
|
// src/hooks/collection.tsx
|
|
@@ -3712,7 +3713,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
3712
3713
|
},
|
|
3713
3714
|
children: [
|
|
3714
3715
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
3715
|
-
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3716
|
+
(icon || isSelected) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_icon9.Icon, { className: style_module_default14.icon, size: "xs", ...iconProps })
|
|
3716
3717
|
]
|
|
3717
3718
|
}
|
|
3718
3719
|
);
|
|
@@ -3764,7 +3765,7 @@ var useSnackbar = /* @__PURE__ */ __name(() => {
|
|
|
3764
3765
|
}, "useSnackbar");
|
|
3765
3766
|
|
|
3766
3767
|
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
3767
|
-
var
|
|
3768
|
+
var import_icon10 = require("@liner-fe/icon");
|
|
3768
3769
|
|
|
3769
3770
|
// src/components/Snackbar/SnackbarIcon/style.module.scss
|
|
3770
3771
|
var style_module_default16 = {
|
|
@@ -3776,11 +3777,11 @@ var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
|
3776
3777
|
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
3777
3778
|
const { icon } = props;
|
|
3778
3779
|
if (!icon) return null;
|
|
3779
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icon10.Icon, { ...icon, size: "m", className: style_module_default16.container });
|
|
3780
3781
|
}, "SnackbarIcon");
|
|
3781
3782
|
|
|
3782
3783
|
// src/components/Snackbar/index.tsx
|
|
3783
|
-
var
|
|
3784
|
+
var import_icon11 = require("@liner-fe/icon");
|
|
3784
3785
|
|
|
3785
3786
|
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
3786
3787
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
@@ -3912,7 +3913,7 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
3912
3913
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SnackbarDescription, { description })
|
|
3913
3914
|
] }),
|
|
3914
3915
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3915
|
-
|
|
3916
|
+
import_icon11.IconArrowForward,
|
|
3916
3917
|
{
|
|
3917
3918
|
fill: true,
|
|
3918
3919
|
thick: true,
|
|
@@ -8305,7 +8306,7 @@ var style_module_default21 = {
|
|
|
8305
8306
|
|
|
8306
8307
|
// src/components/coach-mark/main/index.tsx
|
|
8307
8308
|
var import_react28 = require("react");
|
|
8308
|
-
var
|
|
8309
|
+
var import_icon12 = require("@liner-fe/icon");
|
|
8309
8310
|
var import_cva12 = require("cva");
|
|
8310
8311
|
var import_clsx22 = __toESM(require("clsx"));
|
|
8311
8312
|
|
|
@@ -8480,7 +8481,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8480
8481
|
}
|
|
8481
8482
|
),
|
|
8482
8483
|
icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
8483
|
-
|
|
8484
|
+
import_icon12.Icon,
|
|
8484
8485
|
{
|
|
8485
8486
|
name: icon.name,
|
|
8486
8487
|
size: "xs",
|