@liner-fe/prism 2.8.35 → 2.8.37

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 CHANGED
@@ -582,7 +582,7 @@ interface BaseCoachMarkContentProps extends Omit<PrimitiveCoachMarkContentProps,
582
582
  tag?: string;
583
583
  title?: string;
584
584
  level?: 'brand' | 'inverse-static' | 'inverse';
585
- onClose?: () => void;
585
+ onClose?: MouseEventHandler<HTMLOrSVGElement>;
586
586
  }
587
587
  type BaseCoachMarkContent = {
588
588
  icon?: {
package/lib/index.js CHANGED
@@ -7985,7 +7985,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
7985
7985
  )
7986
7986
  }
7987
7987
  ), "PrimitiveCoachMarkAnchor");
7988
- var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */ jsx41(Close, { asChild: true, className: clsx19(style_module_default18.close, className), onClick, children: /* @__PURE__ */ jsx41(IconCloseFill4, { fill: true, size: "xs", type: "neutral-label-static-primary" }) }), "PrimitiveCoachMarkClose");
7988
+ var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */ jsx41(Close, { asChild: true, className: clsx19(style_module_default18.close, className), onClick, children: /* @__PURE__ */ jsx41(IconCloseFill4, { fill: true, size: "xs", type: "neutral-label-primary" }) }), "PrimitiveCoachMarkClose");
7989
7989
  var PrimitiveCoachMarkContent = forwardRef28(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx41(Portal2, { container, children: /* @__PURE__ */ jsxs15(
7990
7990
  Content2,
7991
7991
  {
@@ -8298,7 +8298,11 @@ var style_module_default21 = {
8298
8298
  };
8299
8299
 
8300
8300
  // src/components/coach-mark/main/index.tsx
8301
- import { forwardRef as forwardRef31, isValidElement as isValidElement2, useEffect as useEffect19 } from "react";
8301
+ import {
8302
+ forwardRef as forwardRef31,
8303
+ isValidElement as isValidElement2,
8304
+ useEffect as useEffect19
8305
+ } from "react";
8302
8306
  import { IconClose } from "@liner-fe/icon";
8303
8307
  import { cva as cva12 } from "cva";
8304
8308
  import clsx22 from "clsx";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.8.35",
3
+ "version": "2.8.37",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {