@liner-fe/prism 2.6.5 → 2.6.7

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.css CHANGED
@@ -1950,6 +1950,136 @@
1950
1950
  margin-left: var(--lp-sys-padding-component-150);
1951
1951
  }
1952
1952
 
1953
+ /* esbuild-sass-plugin:css-chunk:src/components/Snackbar/style.module.scss */
1954
+ ._Viewport_1hil0_1 {
1955
+ --viewport-padding: 25px;
1956
+ position: fixed;
1957
+ bottom: 0;
1958
+ right: 0;
1959
+ display: flex;
1960
+ flex-direction: column;
1961
+ padding: var(--viewport-padding);
1962
+ gap: 10px;
1963
+ max-width: 400px;
1964
+ margin: 0;
1965
+ list-style: none;
1966
+ z-index: 2147483647;
1967
+ outline: none;
1968
+ }
1969
+ @media (max-width: 500px) {
1970
+ ._Viewport_1hil0_1 {
1971
+ max-width: calc(100vw - 50px);
1972
+ }
1973
+ }
1974
+ ._NavigationWrapper_1hil0_22 {
1975
+ display: flex;
1976
+ align-items: center;
1977
+ justify-content: space-between;
1978
+ cursor: pointer;
1979
+ }
1980
+ ._Wrapper_1hil0_29 {
1981
+ display: flex;
1982
+ align-items: center;
1983
+ justify-content: space-between;
1984
+ }
1985
+ ._Root_1hil0_35 {
1986
+ padding: var(--lp-sys-padding-component-400);
1987
+ border-radius: var(--lp-sys-radius-m);
1988
+ background: var(--inverse-container-static-high);
1989
+ position: relative;
1990
+ }
1991
+ ._Root_1hil0_35:hover ._CloseButton_1hil0_41 {
1992
+ display: flex !important;
1993
+ }
1994
+ ._CloseButton_1hil0_41 {
1995
+ position: absolute;
1996
+ top: -8px;
1997
+ right: -8px;
1998
+ display: none !important;
1999
+ }
2000
+ ._Content_1hil0_52 {
2001
+ display: flex;
2002
+ flex-direction: column;
2003
+ gap: var(--lp-sys-gap-positive-100);
2004
+ }
2005
+ ._MarginRight12_1hil0_58 {
2006
+ margin-right: var(--lp-pri-size-12);
2007
+ }
2008
+ ._ContentWrapper_1hil0_62 {
2009
+ display: flex;
2010
+ align-items: center;
2011
+ gap: var(--lp-sys-gap-positive-200);
2012
+ }
2013
+ ._gap300_1hil0_68 {
2014
+ display: flex;
2015
+ flex-direction: column;
2016
+ gap: var(--lp-sys-gap-positive-300);
2017
+ }
2018
+ ._minWidth32_1hil0_74 {
2019
+ min-width: 32px;
2020
+ min-height: 32px;
2021
+ }
2022
+ ._minWidth24_1hil0_79 {
2023
+ min-width: 24px;
2024
+ min-height: 24px;
2025
+ }
2026
+ ._JustifyEnd_1hil0_84 {
2027
+ justify-content: end;
2028
+ }
2029
+ ._Root_1hil0_35[data-state=open] {
2030
+ animation: _slideIn_1hil0_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
2031
+ }
2032
+ ._Root_1hil0_35[data-state=closed] {
2033
+ animation: _hide_1hil0_1 100ms ease-in;
2034
+ }
2035
+ ._Root_1hil0_35[data-swipe=move] {
2036
+ transform: translateX(var(--radix-toast-swipe-move-x));
2037
+ }
2038
+ ._Root_1hil0_35[data-swipe=cancel] {
2039
+ transform: translateX(0);
2040
+ transition: transform 200ms ease-out;
2041
+ }
2042
+ ._Root_1hil0_35[data-swipe=end] {
2043
+ animation: _swipeOut_1hil0_1 100ms ease-out;
2044
+ }
2045
+ @keyframes _hide_1hil0_1 {
2046
+ from {
2047
+ opacity: 1;
2048
+ }
2049
+ to {
2050
+ opacity: 0;
2051
+ }
2052
+ }
2053
+ @keyframes _slideIn_1hil0_1 {
2054
+ from {
2055
+ transform: translateX(calc(100% + var(--viewport-padding)));
2056
+ }
2057
+ to {
2058
+ transform: translateX(0);
2059
+ }
2060
+ }
2061
+ @keyframes _swipeOut_1hil0_1 {
2062
+ from {
2063
+ transform: translateX(var(--radix-toast-swipe-end-x));
2064
+ }
2065
+ to {
2066
+ transform: translateX(calc(100% + var(--viewport-padding)));
2067
+ }
2068
+ }
2069
+
2070
+ /* esbuild-sass-plugin:css-chunk:src/components/Snackbar/SnackbarIcon/style.module.scss */
2071
+ ._container_1witc_1 {
2072
+ margin-right: 6px;
2073
+ }
2074
+
2075
+ /* esbuild-sass-plugin:css-chunk:src/components/Snackbar/SnackbarButton/style.module.scss */
2076
+ ._Container_1kn7v_1 {
2077
+ display: flex;
2078
+ align-items: center;
2079
+ gap: var(--lp-sys-gap-positive-400);
2080
+ padding: 0 4px;
2081
+ }
2082
+
1953
2083
  /* esbuild-sass-plugin:css-chunk:src/components/coach-mark/primitive/style.module.scss */
1954
2084
  ._anchor_1pmfi_1 {
1955
2085
  transform: rotate(270deg) translateX(7px);
package/lib/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { ToastProps } from '@radix-ui/react-toast';
8
8
  import * as _artsy_fresnel_dist_Media from '@artsy/fresnel/dist/Media';
9
9
  import { breakpointOrigin } from '@liner-fe/design-token';
10
10
  import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup, Slider as Slider$1, Select as Select$1, Label as Label$1 } from 'radix-ui';
11
+ import * as recoil from 'recoil';
11
12
  import * as PopoverPrimitive from '@radix-ui/react-popover';
12
13
  import { PopoverProps, PopoverPortalProps } from '@radix-ui/react-popover';
13
14
  import { ImageProps } from 'next/image';
@@ -466,6 +467,49 @@ declare const List: (({ children, className, ...props }: ListRootProps) => react
466
467
  Item: ({ value, text, disabled, icon, onClick }: ItemProps) => react_jsx_runtime.JSX.Element;
467
468
  };
468
469
 
470
+ interface ISnackbarBase extends ToastProps {
471
+ title: string;
472
+ description?: string;
473
+ position?: 'left' | 'right';
474
+ }
475
+ interface ButtonType {
476
+ onClick: () => void;
477
+ text: string;
478
+ }
479
+ interface ISnackbarBasic {
480
+ kind?: 'basic';
481
+ icon?: Pick<IconProps, 'name' | 'fill' | 'thick'>;
482
+ button?: {
483
+ text?: ButtonType;
484
+ basic?: ButtonType;
485
+ };
486
+ }
487
+ interface ISnackbarNavigation {
488
+ kind: 'navigation';
489
+ button: {
490
+ onClick: () => void;
491
+ };
492
+ }
493
+ interface ISnackbarExtended {
494
+ kind: 'extended';
495
+ button?: {
496
+ text?: ButtonType;
497
+ basic?: ButtonType;
498
+ };
499
+ }
500
+ type SnackbarProp = ISnackbarBase & (ISnackbarBasic | ISnackbarNavigation | ISnackbarExtended);
501
+ type SnackbarPropWithId = SnackbarProp & {
502
+ snackbarId: number;
503
+ };
504
+
505
+ declare const Snackbar: () => react_jsx_runtime.JSX.Element;
506
+ declare const SingleSnackbar: (props: SnackbarPropWithId) => react_jsx_runtime.JSX.Element;
507
+
508
+ declare const snackbarAtom: recoil.RecoilState<SnackbarPropWithId[]>;
509
+ declare const useSnackbar: () => {
510
+ open: (info: SnackbarProp) => void;
511
+ };
512
+
469
513
  declare const defaultLabelVariants: (props?: ({
470
514
  level?: "primary" | "secondary" | undefined;
471
515
  position?: "top" | "right" | undefined;
@@ -637,4 +681,4 @@ interface TagProps extends Omit<IPropsNormalBold, 'type' | 'size' | 'weight'> {
637
681
  }
638
682
  declare const Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLParagraphElement>>;
639
683
 
640
- export { type BaseCoachMarkContentProps, type BasicColorType, 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, Icon, IconButton, type IconButtonLevelType, type IconButtonProps, type IconColorType, type IconComponent, type IconComponentProps, type IconKey, type IconMapType, type IconProps, type IconSizeKey, 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, Slider, Tag, TextButton, type TextButtonProps, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, Toaster, Tooltip, Typography, arrayToStyleObject, getIconComponent, iconKeyOptions, iconMap, isEmptyObject, objectToArray, rootMediaStyle, useToast };
684
+ export { type BaseCoachMarkContentProps, type BasicColorType, 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, Icon, IconButton, type IconButtonLevelType, type IconButtonProps, type IconColorType, type IconComponent, type IconComponentProps, type IconKey, type IconMapType, type IconProps, type IconSizeKey, 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, Slider, Snackbar, Tag, TextButton, type TextButtonProps, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, Toaster, Tooltip, Typography, arrayToStyleObject, getIconComponent, iconKeyOptions, iconMap, isEmptyObject, objectToArray, rootMediaStyle, snackbarAtom, useSnackbar, useToast };
package/lib/index.js CHANGED
@@ -52,7 +52,9 @@ __export(index_exports, {
52
52
  PrimitiveCoachMark: () => PrimitiveCoachMark,
53
53
  Radio: () => Radio,
54
54
  Select: () => Select,
55
+ SingleSnackbar: () => SingleSnackbar,
55
56
  Slider: () => Slider,
57
+ Snackbar: () => Snackbar,
56
58
  Tag: () => Tag,
57
59
  TextButton: () => TextButton,
58
60
  Textfield: () => Textfield,
@@ -67,6 +69,8 @@ __export(index_exports, {
67
69
  isEmptyObject: () => isEmptyObject,
68
70
  objectToArray: () => objectToArray,
69
71
  rootMediaStyle: () => rootMediaStyle,
72
+ snackbarAtom: () => snackbarAtom,
73
+ useSnackbar: () => useSnackbar,
70
74
  useToast: () => useToast
71
75
  });
72
76
  module.exports = __toCommonJS(index_exports);
@@ -14288,13 +14292,13 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
14288
14292
  const BaseContext = React2.createContext(defaultContext);
14289
14293
  const index2 = defaultContexts.length;
14290
14294
  defaultContexts = [...defaultContexts, defaultContext];
14291
- const Provider2 = /* @__PURE__ */ __name((props) => {
14295
+ const Provider3 = /* @__PURE__ */ __name((props) => {
14292
14296
  const { scope, children, ...context } = props;
14293
14297
  const Context = scope?.[scopeName]?.[index2] || BaseContext;
14294
14298
  const value = React2.useMemo(() => context, Object.values(context));
14295
14299
  return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Context.Provider, { value, children });
14296
14300
  }, "Provider");
14297
- Provider2.displayName = rootComponentName + "Provider";
14301
+ Provider3.displayName = rootComponentName + "Provider";
14298
14302
  function useContext22(consumerName, scope) {
14299
14303
  const Context = scope?.[scopeName]?.[index2] || BaseContext;
14300
14304
  const context = React2.useContext(Context);
@@ -14303,7 +14307,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
14303
14307
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
14304
14308
  }
14305
14309
  __name(useContext22, "useContext2");
14306
- return [Provider2, useContext22];
14310
+ return [Provider3, useContext22];
14307
14311
  }
14308
14312
  __name(createContext32, "createContext3");
14309
14313
  const createScope = /* @__PURE__ */ __name(() => {
@@ -17601,13 +17605,187 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
17601
17605
  }, "Item");
17602
17606
  var List = Object.assign(ListRoot, { Item });
17603
17607
 
17608
+ // src/components/Snackbar/style.module.scss
17609
+ var style_module_default17 = {
17610
+ "Viewport": "_Viewport_1hil0_1",
17611
+ "NavigationWrapper": "_NavigationWrapper_1hil0_22",
17612
+ "Wrapper": "_Wrapper_1hil0_29",
17613
+ "Root": "_Root_1hil0_35",
17614
+ "CloseButton": "_CloseButton_1hil0_41",
17615
+ "Content": "_Content_1hil0_52",
17616
+ "MarginRight12": "_MarginRight12_1hil0_58",
17617
+ "ContentWrapper": "_ContentWrapper_1hil0_62",
17618
+ "gap300": "_gap300_1hil0_68",
17619
+ "minWidth32": "_minWidth32_1hil0_74",
17620
+ "minWidth24": "_minWidth24_1hil0_79",
17621
+ "JustifyEnd": "_JustifyEnd_1hil0_84",
17622
+ "slideIn": "_slideIn_1hil0_1",
17623
+ "hide": "_hide_1hil0_1",
17624
+ "swipeOut": "_swipeOut_1hil0_1"
17625
+ };
17626
+
17627
+ // src/components/Snackbar/index.tsx
17628
+ var import_radix_ui10 = require("radix-ui");
17629
+ var import_recoil4 = require("recoil");
17630
+
17631
+ // src/hooks/useSnackbar.ts
17632
+ var import_recoil3 = require("recoil");
17633
+ var snackbarAtom = (0, import_recoil3.atom)({
17634
+ key: "snackbarAtom",
17635
+ default: []
17636
+ });
17637
+ var useSnackbar = /* @__PURE__ */ __name(() => {
17638
+ const setSnackbar = (0, import_recoil3.useSetRecoilState)(snackbarAtom);
17639
+ return {
17640
+ open: /* @__PURE__ */ __name((info) => {
17641
+ const snackbarId = generateRandomId();
17642
+ setSnackbar((prev) => [...prev, { ...info, snackbarId }]);
17643
+ }, "open")
17644
+ };
17645
+ }, "useSnackbar");
17646
+
17647
+ // src/components/Snackbar/SnackbarIcon/style.module.scss
17648
+ var style_module_default18 = {
17649
+ "container": "_container_1witc_1"
17650
+ };
17651
+
17652
+ // src/components/Snackbar/SnackbarIcon/index.tsx
17653
+ var import_jsx_runtime211 = require("react/jsx-runtime");
17654
+ var SnackbarIcon = /* @__PURE__ */ __name((props) => {
17655
+ const { icon } = props;
17656
+ if (!icon) return null;
17657
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Icon, { ...icon, size: "m", className: style_module_default18.container });
17658
+ }, "SnackbarIcon");
17659
+
17660
+ // src/components/Snackbar/SnackbarTitle/index.tsx
17661
+ var import_jsx_runtime212 = require("react/jsx-runtime");
17662
+ var SnackbarTitle = /* @__PURE__ */ __name(({ title }) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-label-static-primary", children: title }), "SnackbarTitle");
17663
+
17664
+ // src/components/Snackbar/SnackbarDescription/index.tsx
17665
+ var import_jsx_runtime213 = require("react/jsx-runtime");
17666
+ var SnackbarDescription = /* @__PURE__ */ __name(({ description }) => {
17667
+ if (!description) {
17668
+ return null;
17669
+ }
17670
+ return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Paragraph, { type: "normal", weight: "regular", size: 4, color: "inverse-label-static-secondary", children: description });
17671
+ }, "SnackbarDescription");
17672
+
17673
+ // src/components/Snackbar/index.tsx
17674
+ var import_clsx19 = __toESM(require("clsx"));
17675
+
17676
+ // src/components/Snackbar/SnackbarClose/index.tsx
17677
+ var import_jsx_runtime214 = require("react/jsx-runtime");
17678
+ var SnackbarClose = /* @__PURE__ */ __name(({ onCloseSnackbar, className }) => {
17679
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
17680
+ IconButton,
17681
+ {
17682
+ icon: { name: "close-fill", fill: true, thick: true, type: "neutral-label-static-secondary" },
17683
+ level: "static",
17684
+ size: "xs",
17685
+ className,
17686
+ fill: false,
17687
+ onClick: onCloseSnackbar
17688
+ }
17689
+ );
17690
+ }, "SnackbarClose");
17691
+
17692
+ // src/components/Snackbar/SnackbarButton/style.module.scss
17693
+ var style_module_default19 = {
17694
+ "Container": "_Container_1kn7v_1"
17695
+ };
17696
+
17697
+ // src/components/Snackbar/SnackbarButton/index.tsx
17698
+ var import_clsx18 = __toESM(require("clsx"));
17699
+ var import_jsx_runtime215 = require("react/jsx-runtime");
17700
+ var SnackbarButton = /* @__PURE__ */ __name(({ button, containerStyle }) => {
17701
+ if (button?.text || button?.basic) {
17702
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("div", { className: (0, import_clsx18.default)(style_module_default19.Container, containerStyle), children: [
17703
+ button?.text && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(TextButton, { size: "s", onClick: button.text.onClick, children: button.text.text }),
17704
+ button?.basic && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Button, { size: "s", onClick: button.basic.onClick, fill: true, children: button.basic.text })
17705
+ ] });
17706
+ }
17707
+ return null;
17708
+ }, "SnackbarButton");
17709
+
17710
+ // src/components/Snackbar/index.tsx
17711
+ var import_jsx_runtime216 = require("react/jsx-runtime");
17712
+ var import_react24 = (
17713
+ // eslint-disable-next-line react/prop-types
17714
+ require("react")
17715
+ );
17716
+ var { Provider: Provider2, Root: Root3, Viewport: Viewport2 } = import_radix_ui10.Toast;
17717
+ var Snackbar = /* @__PURE__ */ __name(() => {
17718
+ const list = (0, import_recoil4.useRecoilValue)(snackbarAtom);
17719
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Provider2, { children: [
17720
+ list.map((props) => /* @__PURE__ */ (0, import_react24.createElement)(SingleSnackbar, { ...props, key: props.snackbarId })),
17721
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Viewport2, { className: style_module_default17.Viewport })
17722
+ ] });
17723
+ }, "Snackbar");
17724
+ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
17725
+ const setSnackbar = (0, import_recoil4.useSetRecoilState)(snackbarAtom);
17726
+ const { snackbarId, description, title } = props;
17727
+ const onCloseSnackbar = /* @__PURE__ */ __name(() => {
17728
+ setSnackbar((prev) => prev.filter((snackbar) => snackbar.snackbarId !== snackbarId));
17729
+ }, "onCloseSnackbar");
17730
+ if (props.kind === "navigation") {
17731
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
17732
+ Root3,
17733
+ {
17734
+ onSwipeEnd: onCloseSnackbar,
17735
+ className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.NavigationWrapper),
17736
+ onClick: props.onClick,
17737
+ open: true,
17738
+ children: [
17739
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: (0, import_clsx19.default)(style_module_default17.Content, style_module_default17.MarginRight12), children: [
17740
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
17741
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
17742
+ ] }),
17743
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
17744
+ Icon,
17745
+ {
17746
+ name: "arrow-forward",
17747
+ fill: true,
17748
+ thick: true,
17749
+ type: "inverse-label-primary",
17750
+ className: description ? style_module_default17.minWidth32 : style_module_default17.minWidth24,
17751
+ size: description ? "l" : "m"
17752
+ }
17753
+ ),
17754
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
17755
+ ]
17756
+ }
17757
+ );
17758
+ }
17759
+ if (props.kind === "extended") {
17760
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root3, { onSwipeEnd: onCloseSnackbar, className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.gap300), open: true, children: [
17761
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.Content, children: [
17762
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
17763
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
17764
+ ] }),
17765
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarButton, { button: props.button, containerStyle: style_module_default17.JustifyEnd }),
17766
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
17767
+ ] });
17768
+ }
17769
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root3, { onSwipeEnd: onCloseSnackbar, className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.Wrapper), open: true, children: [
17770
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.ContentWrapper, children: [
17771
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarIcon, { icon: props.icon }),
17772
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: (0, import_clsx19.default)(style_module_default17.Content, style_module_default17.MarginRight12), children: [
17773
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
17774
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
17775
+ ] })
17776
+ ] }),
17777
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarButton, { button: props.button }),
17778
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
17779
+ ] });
17780
+ }, "SingleSnackbar");
17781
+
17604
17782
  // src/components/Logo/index.tsx
17605
17783
  var import_design_token2 = require("@liner-fe/design-token");
17606
- var import_jsx_runtime211 = require("react/jsx-runtime");
17784
+ var import_jsx_runtime217 = require("react/jsx-runtime");
17607
17785
  var Logo = /* @__PURE__ */ __name((props) => {
17608
17786
  if (props.type === "combination") {
17609
17787
  const { width, height } = props;
17610
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
17788
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(
17611
17789
  "svg",
17612
17790
  {
17613
17791
  width,
@@ -17617,50 +17795,50 @@ var Logo = /* @__PURE__ */ __name((props) => {
17617
17795
  xmlns: "http://www.w3.org/2000/svg",
17618
17796
  className: props?.className,
17619
17797
  children: [
17620
- /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)("g", { clipPath: "url(#clip0_808_3091)", children: [
17621
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17798
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("g", { clipPath: "url(#clip0_808_3091)", children: [
17799
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17622
17800
  "path",
17623
17801
  {
17624
17802
  d: "M56.7088 28.6542H52.9156C52.6532 28.6542 52.4455 28.4483 52.4455 28.1883V8.38183C52.4455 5.67308 53.0796 3.77695 53.3091 3.19186C53.3419 3.09434 53.2763 2.99683 53.167 2.99683H46.2365C46.1381 2.99683 46.0616 3.09434 46.0944 3.19186C46.313 3.78778 46.9252 5.69475 46.9252 8.42517V25.7937C46.9252 28.8167 46.313 30.8103 46.0944 31.4171C46.0616 31.5146 46.1272 31.6121 46.2365 31.6121H66.2081C66.2846 31.6121 66.3502 31.5471 66.3502 31.4713V25.9562C66.3502 25.8479 66.23 25.7721 66.1316 25.8262C65.115 26.3788 60.6878 28.665 56.7088 28.665V28.6542Z",
17625
17803
  fill: import_design_token2.vars.color["brand-label-secondary"]
17626
17804
  }
17627
17805
  ),
17628
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17806
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17629
17807
  "path",
17630
17808
  {
17631
17809
  d: "M94.4108 26.6714C94.4108 29.3259 93.8533 30.9078 93.5472 31.4496C93.4925 31.5471 93.5691 31.6663 93.6784 31.6663H100.347C100.456 31.6663 100.521 31.5579 100.478 31.4604C100.183 30.8753 99.5922 29.1309 99.5922 26.7147V18.816C99.5922 16.1614 98.991 14.1027 97.7886 12.6617C96.5752 11.2206 94.859 10.4947 92.6399 10.4947C88.8467 10.4947 86.1029 13.431 84.9661 15.5221C84.8458 15.7496 84.496 15.663 84.496 15.4029V11.3073C84.496 11.2314 84.4304 11.1664 84.3539 11.1664H79.0959C78.9866 11.1664 78.921 11.2748 78.9648 11.3723C79.238 11.9466 79.8065 13.7018 79.8065 16.118V26.6822C79.8065 29.3368 79.249 30.9187 78.9429 31.4604C78.8882 31.5579 78.9648 31.6771 79.0741 31.6771H85.7422C85.8515 31.6771 85.9171 31.5688 85.8734 31.4713C85.5892 30.8862 85.0098 29.1417 85.0098 26.7255V20.7013C85.0098 19.8886 85.1628 19.076 85.4798 18.3175C85.9499 17.2124 86.5402 16.3131 87.2617 15.6196C88.2564 14.6445 89.4042 14.1461 90.716 14.1461C91.9512 14.1461 92.8804 14.5578 93.4925 15.3813C94.1047 16.2047 94.4217 17.4182 94.4217 19.0218V26.693L94.4108 26.6714Z",
17632
17810
  fill: import_design_token2.vars.color["brand-label-secondary"]
17633
17811
  }
17634
17812
  ),
17635
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17813
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17636
17814
  "path",
17637
17815
  {
17638
17816
  d: "M69.3127 31.6663H76.0026C76.112 31.6663 76.1776 31.558 76.1338 31.4604C75.8496 30.8754 75.2702 29.1309 75.2702 26.7147V11.3073C75.2702 11.2315 75.2047 11.1664 75.1281 11.1664H69.3345C69.2252 11.1664 69.1596 11.2748 69.2033 11.3723C69.4876 11.9466 70.056 13.7018 70.056 16.118V26.6822C70.056 29.3368 69.4876 30.9187 69.1924 31.4604C69.1378 31.558 69.2143 31.6771 69.3236 31.6771L69.3127 31.6663Z",
17639
17817
  fill: import_design_token2.vars.color["brand-label-secondary"]
17640
17818
  }
17641
17819
  ),
17642
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17820
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17643
17821
  "path",
17644
17822
  {
17645
17823
  d: "M72.2642 8.71772C74.1335 8.71772 75.6529 7.21165 75.6529 5.35886C75.6529 3.50607 74.1335 2 72.2642 2C70.395 2 68.8755 3.50607 68.8755 5.35886C68.8755 7.21165 70.395 8.71772 72.2642 8.71772Z",
17646
17824
  fill: import_design_token2.vars.color["brand-label-secondary"]
17647
17825
  }
17648
17826
  ),
17649
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17827
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17650
17828
  "path",
17651
17829
  {
17652
17830
  d: "M130.299 15.5438C130.299 15.8038 130.616 15.8905 130.736 15.663C132.201 12.8675 134.179 11.1339 136.573 11.1339H138.858C138.935 11.1339 139 11.1989 139 11.2748V15.5329C139 15.6088 138.935 15.6738 138.858 15.6738H135.218C133.556 15.6738 132.004 16.5081 130.769 17.8408C130.474 18.1658 130.31 18.5776 130.299 19.0001V26.693C130.299 29.1092 130.878 30.8645 131.162 31.4388C131.206 31.5363 131.14 31.6446 131.031 31.6446H124.341C124.232 31.6446 124.155 31.5254 124.21 31.4279C124.516 30.8862 125.074 29.3151 125.074 26.6497V16.0855C125.074 13.6693 124.505 11.914 124.221 11.3398C124.177 11.2423 124.243 11.1339 124.352 11.1339H130.146C130.222 11.1339 130.288 11.1989 130.288 11.2748V15.5221L130.299 15.5438Z",
17653
17831
  fill: import_design_token2.vars.color["brand-label-secondary"]
17654
17832
  }
17655
17833
  ),
17656
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17834
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17657
17835
  "path",
17658
17836
  {
17659
17837
  d: "M113.967 29.4993C110.076 29.4993 108.152 26.5955 107.944 21.9581C107.944 21.8714 108.01 21.8064 108.086 21.8064H122.57C122.658 21.8064 122.723 21.7414 122.723 21.6547C122.669 14.4386 118.329 10.4405 112.47 10.4405C106.611 10.4405 101.998 14.7095 101.998 21.2213C101.998 28.1991 106.315 32.1647 113.279 32.1647C118.023 32.1647 121.488 29.4451 122.516 25.0244C122.538 24.9378 122.461 24.8511 122.374 24.8511H120.657C120.592 24.8511 120.537 24.8944 120.515 24.9486C119.63 27.7765 116.831 29.4885 113.956 29.4885L113.967 29.4993ZM112.514 13.1167C115.039 13.1167 116.657 15.1104 116.744 18.9026C116.744 18.9785 116.678 19.0543 116.591 19.0543H108.141C108.054 19.0543 107.988 18.9785 107.999 18.9026C108.207 15.2404 109.945 13.1276 112.524 13.1276L112.514 13.1167Z",
17660
17838
  fill: import_design_token2.vars.color["brand-label-secondary"]
17661
17839
  }
17662
17840
  ),
17663
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17841
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17664
17842
  "path",
17665
17843
  {
17666
17844
  d: "M32.4411 12.4883V3.18101C32.4411 3.08349 32.3646 3.00764 32.2662 3.00764H22.7996C22.7996 3.00764 22.7122 3.02931 22.6794 3.06182L17.2465 8.43599C17.2465 8.43599 17.17 8.49017 17.1262 8.49017H7.1459C7.1459 8.49017 7.05845 8.51184 7.02566 8.54434L0.0514475 15.4246C-0.0578662 15.5329 0.0186534 15.728 0.171692 15.728H9.1682C9.43056 15.728 9.63825 15.9338 9.63825 16.1939V25.4361C9.63825 25.5337 9.71477 25.6095 9.81315 25.6095H19.1595C19.4218 25.6095 19.6295 25.8262 19.6295 26.0754V34.971C19.6295 35.1227 19.8154 35.2093 19.9356 35.101L26.8114 28.2966C26.8114 28.2966 26.8661 28.2207 26.8661 28.1666V18.1333C26.8661 18.1333 26.8879 18.0358 26.9207 18.0033L32.3864 12.5858C32.3864 12.5858 32.4411 12.51 32.4411 12.4558V12.4883ZM17.9133 16.8873V9.67119C17.9133 9.41114 18.121 9.20528 18.3833 9.20528H25.6855C25.9478 9.20528 26.1555 9.41114 26.1555 9.67119V16.8873C26.1555 17.1474 25.9478 17.3532 25.6855 17.3532H18.3833C18.121 17.3532 17.9133 17.1474 17.9133 16.8873Z",
@@ -17668,14 +17846,14 @@ var Logo = /* @__PURE__ */ __name((props) => {
17668
17846
  }
17669
17847
  )
17670
17848
  ] }),
17671
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("clipPath", { id: "clip0_808_3091", children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("rect", { width: "139", height: "33", fill: "white", transform: "translate(0 2)" }) }) })
17849
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("clipPath", { id: "clip0_808_3091", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("rect", { width: "139", height: "33", fill: "white", transform: "translate(0 2)" }) }) })
17672
17850
  ]
17673
17851
  }
17674
17852
  );
17675
17853
  }
17676
17854
  if (props.type === "circle") {
17677
17855
  const { size: size4 } = props;
17678
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17856
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17679
17857
  "svg",
17680
17858
  {
17681
17859
  width: size4,
@@ -17684,7 +17862,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
17684
17862
  fill: "none",
17685
17863
  xmlns: "http://www.w3.org/2000/svg",
17686
17864
  className: props?.className,
17687
- children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17865
+ children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17688
17866
  "path",
17689
17867
  {
17690
17868
  d: "M38.2402 9.81371C38.2402 9.74309 38.204 9.68333 38.1895 9.65074C38.1569 9.63806 38.0972 9.60004 38.0266 9.60004H28.1578C28.1089 9.60004 28.0618 9.61996 28.0274 9.65436L22.3614 15.3094C22.327 15.3438 22.28 15.3638 22.2311 15.3638H11.8426C11.7937 15.3638 11.7466 15.3837 11.7122 15.4181L4.45458 22.663C4.33688 22.7789 4.42018 22.9799 4.58496 22.9799H13.9558C14.2292 22.9799 14.4501 23.2008 14.4501 23.4743V33.1946C14.4501 33.2471 14.4737 33.2942 14.5099 33.3286C14.5443 33.3648 14.5914 33.3883 14.6439 33.3883H24.3642C24.6376 33.3883 24.8585 33.6092 24.8585 33.8827V43.2535C24.8585 43.4183 25.0595 43.5016 25.1754 43.3839L32.4204 36.1262C32.4548 36.0918 32.4747 36.0448 32.4747 35.9959V25.6074C32.4747 25.5585 32.4946 25.5114 32.529 25.477L38.1841 19.8111C38.2185 19.7767 38.2384 19.7296 38.2384 19.6807V9.81371H38.2402ZM31.6979 24.2493C31.6979 24.5173 31.4806 24.7364 31.2108 24.7364H23.5892C23.3212 24.7364 23.1021 24.5191 23.1021 24.2493V16.6277C23.1021 16.3597 23.3193 16.1406 23.5892 16.1406H31.2108C31.4787 16.1406 31.6979 16.3579 31.6979 16.6277V24.2493Z",
@@ -17696,7 +17874,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
17696
17874
  }
17697
17875
  if (props.type === "favicon") {
17698
17876
  const { size: size4 } = props;
17699
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17877
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17700
17878
  "svg",
17701
17879
  {
17702
17880
  width: size4,
@@ -17705,7 +17883,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
17705
17883
  fill: "none",
17706
17884
  xmlns: "http://www.w3.org/2000/svg",
17707
17885
  className: props?.className,
17708
- children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17886
+ children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17709
17887
  "path",
17710
17888
  {
17711
17889
  d: "M44.8002 16.2872V3.36077C44.8002 3.22533 44.6949 3.12 44.5595 3.12H31.5332C31.5332 3.12 31.4128 3.15009 31.3677 3.19524L23.8919 10.6591C23.8919 10.6591 23.7866 10.7344 23.7264 10.7344H9.99315C9.99315 10.7344 9.87282 10.7645 9.82769 10.8096L0.23095 20.3652C0.0805305 20.5157 0.185824 20.7866 0.396411 20.7866H12.7759C13.1369 20.7866 13.4227 21.0725 13.4227 21.4337V34.2698C13.4227 34.4052 13.528 34.5105 13.6634 34.5105H26.5242C26.8852 34.5105 27.171 34.8115 27.171 35.1576V47.5122C27.171 47.7229 27.4267 47.8432 27.5922 47.6928L37.0536 38.2425C37.0536 38.2425 37.1288 38.1371 37.1288 38.0619V24.1273C37.1288 24.1273 37.1589 23.9918 37.204 23.9467L44.7249 16.4226C44.7249 16.4226 44.8002 16.3173 44.8002 16.242V16.2872ZM24.8094 22.3967V12.3746C24.8094 12.0135 25.0952 11.7276 25.4562 11.7276H35.5042C35.8653 11.7276 36.1511 12.0135 36.1511 12.3746V22.3967C36.1511 22.7579 35.8653 23.0438 35.5042 23.0438H25.4562C25.0952 23.0438 24.8094 22.7579 24.8094 22.3967Z",
@@ -17715,7 +17893,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
17715
17893
  }
17716
17894
  );
17717
17895
  }
17718
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
17896
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
17719
17897
  "path",
17720
17898
  {
17721
17899
  d: "M38.2402 9.81371C38.2402 9.74309 38.204 9.68333 38.1895 9.65074C38.1569 9.63806 38.0972 9.60004 38.0266 9.60004H28.1578C28.1089 9.60004 28.0618 9.61996 28.0274 9.65436L22.3614 15.3094C22.327 15.3438 22.28 15.3638 22.2311 15.3638H11.8426C11.7937 15.3638 11.7466 15.3837 11.7122 15.4181L4.45458 22.663C4.33688 22.7789 4.42018 22.9799 4.58496 22.9799H13.9558C14.2292 22.9799 14.4501 23.2008 14.4501 23.4743V33.1946C14.4501 33.2471 14.4737 33.2942 14.5099 33.3286C14.5443 33.3648 14.5914 33.3883 14.6439 33.3883H24.3642C24.6376 33.3883 24.8585 33.6092 24.8585 33.8827V43.2535C24.8585 43.4183 25.0595 43.5016 25.1754 43.3839L32.4204 36.1262C32.4548 36.0918 32.4747 36.0448 32.4747 35.9959V25.6074C32.4747 25.5585 32.4946 25.5114 32.529 25.477L38.1841 19.8111C38.2185 19.7767 38.2384 19.7296 38.2384 19.6807V9.81371H38.2402ZM31.6979 24.2493C31.6979 24.5173 31.4806 24.7364 31.2108 24.7364H23.5892C23.3212 24.7364 23.1021 24.5191 23.1021 24.2493V16.6277C23.1021 16.3597 23.3193 16.1406 23.5892 16.1406H31.2108C31.4787 16.1406 31.6979 16.3579 31.6979 16.6277V24.2493Z",
@@ -17759,7 +17937,7 @@ __name(createFocusGuard, "createFocusGuard");
17759
17937
 
17760
17938
  // ../../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
17761
17939
  var React19 = __toESM(require("react"), 1);
17762
- var import_jsx_runtime212 = require("react/jsx-runtime");
17940
+ var import_jsx_runtime218 = require("react/jsx-runtime");
17763
17941
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
17764
17942
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
17765
17943
  var EVENT_OPTIONS = { bubbles: false, cancelable: true };
@@ -17878,7 +18056,7 @@ var FocusScope = React19.forwardRef((props, forwardedRef) => {
17878
18056
  },
17879
18057
  [loop, trapped, focusScope.paused]
17880
18058
  );
17881
- return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
18059
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
17882
18060
  });
17883
18061
  FocusScope.displayName = FOCUS_SCOPE_NAME;
17884
18062
  function focusFirst2(candidates, { select = false } = {}) {
@@ -19582,9 +19760,9 @@ var computePosition2 = /* @__PURE__ */ __name((reference, floating, options) =>
19582
19760
 
19583
19761
  // ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
19584
19762
  var React21 = __toESM(require("react"), 1);
19585
- var import_react24 = require("react");
19763
+ var import_react25 = require("react");
19586
19764
  var ReactDOM4 = __toESM(require("react-dom"), 1);
19587
- var index = typeof document !== "undefined" ? import_react24.useLayoutEffect : import_react24.useEffect;
19765
+ var index = typeof document !== "undefined" ? import_react25.useLayoutEffect : import_react25.useEffect;
19588
19766
  function deepEqual(a, b) {
19589
19767
  if (a === b) {
19590
19768
  return true;
@@ -19864,11 +20042,11 @@ var arrow3 = /* @__PURE__ */ __name((options, deps) => ({
19864
20042
 
19865
20043
  // ../../node_modules/@radix-ui/react-arrow/dist/index.mjs
19866
20044
  var React25 = __toESM(require("react"), 1);
19867
- var import_jsx_runtime213 = require("react/jsx-runtime");
20045
+ var import_jsx_runtime219 = require("react/jsx-runtime");
19868
20046
  var NAME2 = "Arrow";
19869
20047
  var Arrow = React25.forwardRef((props, forwardedRef) => {
19870
20048
  const { children, width = 10, height = 5, ...arrowProps } = props;
19871
- return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
20049
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
19872
20050
  Primitive.svg,
19873
20051
  {
19874
20052
  ...arrowProps,
@@ -19877,12 +20055,12 @@ var Arrow = React25.forwardRef((props, forwardedRef) => {
19877
20055
  height,
19878
20056
  viewBox: "0 0 30 10",
19879
20057
  preserveAspectRatio: "none",
19880
- children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("polygon", { points: "0,0 30,0 15,10" })
20058
+ children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("polygon", { points: "0,0 30,0 15,10" })
19881
20059
  }
19882
20060
  );
19883
20061
  });
19884
20062
  Arrow.displayName = NAME2;
19885
- var Root3 = Arrow;
20063
+ var Root4 = Arrow;
19886
20064
 
19887
20065
  // ../../node_modules/@radix-ui/react-use-size/dist/index.mjs
19888
20066
  var React26 = __toESM(require("react"), 1);
@@ -19923,14 +20101,14 @@ function useSize(element) {
19923
20101
  __name(useSize, "useSize");
19924
20102
 
19925
20103
  // ../../node_modules/@radix-ui/react-popper/dist/index.mjs
19926
- var import_jsx_runtime214 = require("react/jsx-runtime");
20104
+ var import_jsx_runtime220 = require("react/jsx-runtime");
19927
20105
  var POPPER_NAME = "Popper";
19928
20106
  var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
19929
20107
  var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
19930
20108
  var Popper = /* @__PURE__ */ __name((props) => {
19931
20109
  const { __scopePopper, children } = props;
19932
20110
  const [anchor, setAnchor] = React27.useState(null);
19933
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
20111
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
19934
20112
  }, "Popper");
19935
20113
  Popper.displayName = POPPER_NAME;
19936
20114
  var ANCHOR_NAME = "PopperAnchor";
@@ -19943,7 +20121,7 @@ var PopperAnchor = React27.forwardRef(
19943
20121
  React27.useEffect(() => {
19944
20122
  context.onAnchorChange(virtualRef?.current || ref.current);
19945
20123
  });
19946
- return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
20124
+ return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
19947
20125
  }
19948
20126
  );
19949
20127
  PopperAnchor.displayName = ANCHOR_NAME;
@@ -20036,7 +20214,7 @@ var PopperContent = React27.forwardRef(
20036
20214
  useLayoutEffect2(() => {
20037
20215
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
20038
20216
  }, [content]);
20039
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
20217
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
20040
20218
  "div",
20041
20219
  {
20042
20220
  ref: refs.setFloating,
@@ -20060,7 +20238,7 @@ var PopperContent = React27.forwardRef(
20060
20238
  }
20061
20239
  },
20062
20240
  dir: props.dir,
20063
- children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
20241
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
20064
20242
  PopperContentProvider,
20065
20243
  {
20066
20244
  scope: __scopePopper,
@@ -20069,7 +20247,7 @@ var PopperContent = React27.forwardRef(
20069
20247
  arrowX,
20070
20248
  arrowY,
20071
20249
  shouldHideArrow: cannotCenterArrow,
20072
- children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
20250
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
20073
20251
  Primitive.div,
20074
20252
  {
20075
20253
  "data-side": placedSide,
@@ -20106,7 +20284,7 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
20106
20284
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
20107
20285
  // doesn't report size as we'd expect on SVG elements.
20108
20286
  // it reports their bounding box which is effectively the largest path inside the SVG.
20109
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
20287
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
20110
20288
  "span",
20111
20289
  {
20112
20290
  ref: contentContext.onArrowChange,
@@ -20129,8 +20307,8 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
20129
20307
  }[contentContext.placedSide],
20130
20308
  visibility: contentContext.shouldHideArrow ? "hidden" : void 0
20131
20309
  },
20132
- children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
20133
- Root3,
20310
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
20311
+ Root4,
20134
20312
  {
20135
20313
  ...arrowProps,
20136
20314
  ref: forwardedRef,
@@ -20370,9 +20548,9 @@ function assignRef(ref, value) {
20370
20548
  __name(assignRef, "assignRef");
20371
20549
 
20372
20550
  // ../../node_modules/use-callback-ref/dist/es2015/useRef.js
20373
- var import_react25 = require("react");
20551
+ var import_react26 = require("react");
20374
20552
  function useCallbackRef2(initialValue, callback) {
20375
- var ref = (0, import_react25.useState)(function() {
20553
+ var ref = (0, import_react26.useState)(function() {
20376
20554
  return {
20377
20555
  // value
20378
20556
  value: initialValue,
@@ -21041,7 +21219,7 @@ ReactRemoveScroll.classNames = RemoveScroll.classNames;
21041
21219
  var Combination_default = ReactRemoveScroll;
21042
21220
 
21043
21221
  // ../../node_modules/@radix-ui/react-popover/dist/index.mjs
21044
- var import_jsx_runtime215 = require("react/jsx-runtime");
21222
+ var import_jsx_runtime221 = require("react/jsx-runtime");
21045
21223
  var POPOVER_NAME = "Popover";
21046
21224
  var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
21047
21225
  createPopperScope
@@ -21066,7 +21244,7 @@ var Popover2 = /* @__PURE__ */ __name((props) => {
21066
21244
  onChange: onOpenChange,
21067
21245
  caller: POPOVER_NAME
21068
21246
  });
21069
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Root22, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21247
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Root22, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21070
21248
  PopoverProvider,
21071
21249
  {
21072
21250
  scope: __scopePopover,
@@ -21095,7 +21273,7 @@ var PopoverAnchor2 = React35.forwardRef(
21095
21273
  onCustomAnchorAdd();
21096
21274
  return () => onCustomAnchorRemove();
21097
21275
  }, [onCustomAnchorAdd, onCustomAnchorRemove]);
21098
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
21276
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
21099
21277
  }
21100
21278
  );
21101
21279
  PopoverAnchor2.displayName = ANCHOR_NAME2;
@@ -21106,7 +21284,7 @@ var PopoverTrigger2 = React35.forwardRef(
21106
21284
  const context = usePopoverContext(TRIGGER_NAME, __scopePopover);
21107
21285
  const popperScope = usePopperScope(__scopePopover);
21108
21286
  const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
21109
- const trigger = /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21287
+ const trigger = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21110
21288
  Primitive.button,
21111
21289
  {
21112
21290
  type: "button",
@@ -21119,7 +21297,7 @@ var PopoverTrigger2 = React35.forwardRef(
21119
21297
  onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
21120
21298
  }
21121
21299
  );
21122
- return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Anchor, { asChild: true, ...popperScope, children: trigger });
21300
+ return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Anchor, { asChild: true, ...popperScope, children: trigger });
21123
21301
  }
21124
21302
  );
21125
21303
  PopoverTrigger2.displayName = TRIGGER_NAME;
@@ -21130,7 +21308,7 @@ var [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME2, {
21130
21308
  var PopoverPortal = /* @__PURE__ */ __name((props) => {
21131
21309
  const { __scopePopover, forceMount, children, container } = props;
21132
21310
  const context = usePopoverContext(PORTAL_NAME2, __scopePopover);
21133
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Portal, { asChild: true, container, children }) }) });
21311
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Portal, { asChild: true, container, children }) }) });
21134
21312
  }, "PopoverPortal");
21135
21313
  PopoverPortal.displayName = PORTAL_NAME2;
21136
21314
  var CONTENT_NAME2 = "PopoverContent";
@@ -21139,7 +21317,7 @@ var PopoverContent2 = React35.forwardRef(
21139
21317
  const portalContext = usePortalContext(CONTENT_NAME2, props.__scopePopover);
21140
21318
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
21141
21319
  const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
21142
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
21320
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
21143
21321
  }
21144
21322
  );
21145
21323
  PopoverContent2.displayName = CONTENT_NAME2;
@@ -21154,7 +21332,7 @@ var PopoverContentModal = React35.forwardRef(
21154
21332
  const content = contentRef.current;
21155
21333
  if (content) return hideOthers(content);
21156
21334
  }, []);
21157
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21335
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21158
21336
  PopoverContentImpl,
21159
21337
  {
21160
21338
  ...props,
@@ -21189,7 +21367,7 @@ var PopoverContentNonModal = React35.forwardRef(
21189
21367
  const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
21190
21368
  const hasInteractedOutsideRef = React35.useRef(false);
21191
21369
  const hasPointerDownOutsideRef = React35.useRef(false);
21192
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21370
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21193
21371
  PopoverContentImpl,
21194
21372
  {
21195
21373
  ...props,
@@ -21241,7 +21419,7 @@ var PopoverContentImpl = React35.forwardRef(
21241
21419
  const context = usePopoverContext(CONTENT_NAME2, __scopePopover);
21242
21420
  const popperScope = usePopperScope(__scopePopover);
21243
21421
  useFocusGuards();
21244
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21422
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21245
21423
  FocusScope,
21246
21424
  {
21247
21425
  asChild: true,
@@ -21249,7 +21427,7 @@ var PopoverContentImpl = React35.forwardRef(
21249
21427
  trapped: trapFocus,
21250
21428
  onMountAutoFocus: onOpenAutoFocus,
21251
21429
  onUnmountAutoFocus: onCloseAutoFocus,
21252
- children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21430
+ children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21253
21431
  DismissableLayer,
21254
21432
  {
21255
21433
  asChild: true,
@@ -21259,7 +21437,7 @@ var PopoverContentImpl = React35.forwardRef(
21259
21437
  onPointerDownOutside,
21260
21438
  onFocusOutside,
21261
21439
  onDismiss: /* @__PURE__ */ __name(() => context.onOpenChange(false), "onDismiss"),
21262
- children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21440
+ children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21263
21441
  Content,
21264
21442
  {
21265
21443
  "data-state": getState(context.open),
@@ -21292,7 +21470,7 @@ var PopoverClose = React35.forwardRef(
21292
21470
  (props, forwardedRef) => {
21293
21471
  const { __scopePopover, ...closeProps } = props;
21294
21472
  const context = usePopoverContext(CLOSE_NAME2, __scopePopover);
21295
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
21473
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
21296
21474
  Primitive.button,
21297
21475
  {
21298
21476
  type: "button",
@@ -21309,7 +21487,7 @@ var PopoverArrow = React35.forwardRef(
21309
21487
  (props, forwardedRef) => {
21310
21488
  const { __scopePopover, ...arrowProps } = props;
21311
21489
  const popperScope = usePopperScope(__scopePopover);
21312
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
21490
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
21313
21491
  }
21314
21492
  );
21315
21493
  PopoverArrow.displayName = ARROW_NAME2;
@@ -21326,30 +21504,30 @@ var Arrow22 = PopoverArrow;
21326
21504
 
21327
21505
  // src/components/coach-mark/primitive/index.tsx
21328
21506
  var import_cva11 = require("cva");
21329
- var import_clsx18 = __toESM(require("clsx"));
21330
- var import_react26 = require("react");
21507
+ var import_clsx20 = __toESM(require("clsx"));
21508
+ var import_react27 = require("react");
21331
21509
 
21332
21510
  // src/components/coach-mark/primitive/style.module.scss
21333
- var style_module_default17 = {
21511
+ var style_module_default20 = {
21334
21512
  "anchor": "_anchor_1pmfi_1",
21335
21513
  "content": "_content_1pmfi_5",
21336
21514
  "overlay": "_overlay_1pmfi_11"
21337
21515
  };
21338
21516
 
21339
21517
  // src/components/coach-mark/primitive/index.tsx
21340
- var import_jsx_runtime216 = require("react/jsx-runtime");
21518
+ var import_jsx_runtime222 = require("react/jsx-runtime");
21341
21519
  var primitiveCoachMarkVariants = (0, import_cva11.cva)({
21342
- base: style_module_default17.content
21520
+ base: style_module_default20.content
21343
21521
  });
21344
21522
  var primitiveCoachMarkAnchorVariants = (0, import_cva11.cva)({
21345
- base: style_module_default17.anchor
21523
+ base: style_module_default20.anchor
21346
21524
  });
21347
- var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
21348
- var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root23, { ...props, children: [
21349
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(PrimitiveCoachMarkTrigger, { by: trigger }),
21525
+ var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
21526
+ var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Root23, { ...props, children: [
21527
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(PrimitiveCoachMarkTrigger, { by: trigger }),
21350
21528
  children
21351
21529
  ] }), "PrimitiveCoachMarkRoot");
21352
- var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
21530
+ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
21353
21531
  "svg",
21354
21532
  {
21355
21533
  className,
@@ -21358,7 +21536,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
21358
21536
  height: "24",
21359
21537
  viewBox: "0 0 10 24",
21360
21538
  fill: "none",
21361
- children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
21539
+ children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
21362
21540
  "path",
21363
21541
  {
21364
21542
  fillRule: "evenodd",
@@ -21369,15 +21547,15 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
21369
21547
  )
21370
21548
  }
21371
21549
  ), "PrimitiveCoachMarkAnchor");
21372
- var PrimitiveCoachMarkContent = (0, import_react26.forwardRef)(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Portal2, { container, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
21550
+ var PrimitiveCoachMarkContent = (0, import_react27.forwardRef)(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Portal2, { container, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
21373
21551
  Content2,
21374
21552
  {
21375
21553
  ref,
21376
- className: (0, import_clsx18.default)(primitiveCoachMarkVariants(), className),
21554
+ className: (0, import_clsx20.default)(primitiveCoachMarkVariants(), className),
21377
21555
  ...rest,
21378
21556
  children: [
21379
21557
  children,
21380
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Arrow22, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(PrimitiveCoachMarkAnchor, { className: (0, import_clsx18.default)(primitiveCoachMarkAnchorVariants()) }) })
21558
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Arrow22, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(PrimitiveCoachMarkAnchor, { className: (0, import_clsx20.default)(primitiveCoachMarkAnchorVariants()) }) })
21381
21559
  ]
21382
21560
  }
21383
21561
  ) }));
@@ -21388,10 +21566,10 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
21388
21566
  });
21389
21567
 
21390
21568
  // src/components/coach-mark/compact/index.tsx
21391
- var import_react28 = require("react");
21569
+ var import_react29 = require("react");
21392
21570
 
21393
21571
  // src/components/coach-mark/compact/style.module.scss
21394
- var style_module_default18 = {
21572
+ var style_module_default21 = {
21395
21573
  "content": "_content_1tkjk_1",
21396
21574
  "slideIn": "_slideIn_1tkjk_1",
21397
21575
  "closeButton": "_closeButton_1tkjk_20",
@@ -21401,14 +21579,14 @@ var style_module_default18 = {
21401
21579
  };
21402
21580
 
21403
21581
  // src/components/coach-mark/compact/index.tsx
21404
- var import_clsx19 = __toESM(require("clsx"));
21582
+ var import_clsx21 = __toESM(require("clsx"));
21405
21583
  var import_cva13 = require("cva");
21406
21584
 
21407
21585
  // src/components/Tag/index.tsx
21408
- var import_react27 = require("react");
21586
+ var import_react28 = require("react");
21409
21587
 
21410
21588
  // src/components/Tag/style.module.scss
21411
- var style_module_default19 = {
21589
+ var style_module_default22 = {
21412
21590
  "tag": "_tag_148vi_2",
21413
21591
  "s": "_s_148vi_12",
21414
21592
  "m": "_m_148vi_18",
@@ -21631,28 +21809,28 @@ var style_module_default19 = {
21631
21809
 
21632
21810
  // src/components/Tag/index.tsx
21633
21811
  var import_cva12 = require("cva");
21634
- var import_jsx_runtime217 = require("react/jsx-runtime");
21812
+ var import_jsx_runtime223 = require("react/jsx-runtime");
21635
21813
  var tagVariants = (0, import_cva12.cva)({
21636
- base: style_module_default19.tag,
21814
+ base: style_module_default22.tag,
21637
21815
  variants: {
21638
- color: arrayToStyleObject(colorOptions, style_module_default19, "color"),
21639
- backgroundColor: arrayToStyleObject(colorOptions, style_module_default19, "bg"),
21640
- borderColor: arrayToStyleObject(colorOptions, style_module_default19, "border"),
21816
+ color: arrayToStyleObject(colorOptions, style_module_default22, "color"),
21817
+ backgroundColor: arrayToStyleObject(colorOptions, style_module_default22, "bg"),
21818
+ borderColor: arrayToStyleObject(colorOptions, style_module_default22, "border"),
21641
21819
  size: {
21642
- s: style_module_default19.s,
21643
- m: style_module_default19.m,
21644
- l: style_module_default19.l
21820
+ s: style_module_default22.s,
21821
+ m: style_module_default22.m,
21822
+ l: style_module_default22.l
21645
21823
  },
21646
21824
  thick: {
21647
- true: style_module_default19.thick
21825
+ true: style_module_default22.thick
21648
21826
  },
21649
21827
  radius: {
21650
- square: style_module_default19.square,
21651
- rounded: style_module_default19.rounded
21828
+ square: style_module_default22.square,
21829
+ rounded: style_module_default22.rounded
21652
21830
  }
21653
21831
  }
21654
21832
  });
21655
- var Tag = (0, import_react27.forwardRef)(
21833
+ var Tag = (0, import_react28.forwardRef)(
21656
21834
  ({
21657
21835
  children,
21658
21836
  color = "neutral-label-static-primary",
@@ -21663,7 +21841,7 @@ var Tag = (0, import_react27.forwardRef)(
21663
21841
  size: size4 = "s",
21664
21842
  ...rest
21665
21843
  }, ref) => {
21666
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
21844
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
21667
21845
  Caption,
21668
21846
  {
21669
21847
  ref,
@@ -21680,30 +21858,30 @@ var Tag = (0, import_react27.forwardRef)(
21680
21858
  );
21681
21859
 
21682
21860
  // src/components/coach-mark/compact/index.tsx
21683
- var import_jsx_runtime218 = require("react/jsx-runtime");
21861
+ var import_jsx_runtime224 = require("react/jsx-runtime");
21684
21862
  var compactCoachMarkVariants = (0, import_cva13.cva)({
21685
- base: style_module_default18.content,
21863
+ base: style_module_default21.content,
21686
21864
  variants: {
21687
21865
  level: {
21688
- brand: style_module_default18.brand,
21689
- "inverse-static": style_module_default18["inverse-static"],
21690
- inverse: style_module_default18.inverse
21866
+ brand: style_module_default21.brand,
21867
+ "inverse-static": style_module_default21["inverse-static"],
21868
+ inverse: style_module_default21.inverse
21691
21869
  }
21692
21870
  }
21693
21871
  });
21694
21872
  var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
21695
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(PrimitiveCoachMark, { ...props });
21873
+ return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(PrimitiveCoachMark, { ...props });
21696
21874
  }, "CompactCoachMarkRoot");
21697
- var CompactCoachMarkContent = (0, import_react28.forwardRef)(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
21875
+ var CompactCoachMarkContent = (0, import_react29.forwardRef)(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
21698
21876
  PrimitiveCoachMark.Content,
21699
21877
  {
21700
21878
  ref,
21701
- className: (0, import_clsx19.default)(compactCoachMarkVariants({ level }), className),
21879
+ className: (0, import_clsx21.default)(compactCoachMarkVariants({ level }), className),
21702
21880
  side,
21703
21881
  sideOffset,
21704
21882
  ...props,
21705
21883
  children: [
21706
- tag && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
21884
+ tag && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
21707
21885
  Tag,
21708
21886
  {
21709
21887
  color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
@@ -21711,7 +21889,7 @@ var CompactCoachMarkContent = (0, import_react28.forwardRef)(({ tag, title, leve
21711
21889
  children: tag
21712
21890
  }
21713
21891
  ),
21714
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Caption, { size: 2, type: "normal", weight: "bold", color: "inverse-label-static-primary", children: title })
21892
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(Caption, { size: 2, type: "normal", weight: "bold", color: "inverse-label-static-primary", children: title })
21715
21893
  ]
21716
21894
  }
21717
21895
  ));
@@ -21722,7 +21900,7 @@ var CompactCoachMark = Object.assign(CompactCoachMarkRoot, {
21722
21900
  });
21723
21901
 
21724
21902
  // src/components/coach-mark/main/style.module.scss
21725
- var style_module_default20 = {
21903
+ var style_module_default23 = {
21726
21904
  "content": "_content_196c9_1",
21727
21905
  "slideIn": "_slideIn_196c9_1",
21728
21906
  "brand": "_brand_196c9_19",
@@ -21739,9 +21917,9 @@ var style_module_default20 = {
21739
21917
  };
21740
21918
 
21741
21919
  // src/components/coach-mark/main/index.tsx
21742
- var import_react29 = require("react");
21920
+ var import_react30 = require("react");
21743
21921
  var import_cva14 = require("cva");
21744
- var import_clsx20 = __toESM(require("clsx"));
21922
+ var import_clsx22 = __toESM(require("clsx"));
21745
21923
 
21746
21924
  // src/constants/illust/size.ts
21747
21925
  var ratio = {
@@ -21804,7 +21982,7 @@ var useIllust = /* @__PURE__ */ __name(({ darkSrc, src }) => {
21804
21982
  }, "useIllust");
21805
21983
 
21806
21984
  // src/components/Illust/index.tsx
21807
- var import_jsx_runtime219 = require("react/jsx-runtime");
21985
+ var import_jsx_runtime225 = require("react/jsx-runtime");
21808
21986
  var Illust = /* @__PURE__ */ __name((props) => {
21809
21987
  const { src, width, margin } = props;
21810
21988
  const { sourcePrefix, currentSourceByColorTheme } = useIllust({
@@ -21817,7 +21995,7 @@ var Illust = /* @__PURE__ */ __name((props) => {
21817
21995
  margin
21818
21996
  };
21819
21997
  const source = `${sourcePrefix}${currentSourceByColorTheme}.webp`;
21820
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { style: css, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
21998
+ return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)("div", { style: css, children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
21821
21999
  import_image.default,
21822
22000
  {
21823
22001
  ...props,
@@ -21830,14 +22008,14 @@ var Illust = /* @__PURE__ */ __name((props) => {
21830
22008
  }, "Illust");
21831
22009
 
21832
22010
  // src/components/coach-mark/main/index.tsx
21833
- var import_jsx_runtime220 = require("react/jsx-runtime");
22011
+ var import_jsx_runtime226 = require("react/jsx-runtime");
21834
22012
  var coachMarkVariants = (0, import_cva14.cva)({
21835
- base: style_module_default20.content,
22013
+ base: style_module_default23.content,
21836
22014
  variants: {
21837
22015
  level: {
21838
- brand: style_module_default20.brand,
21839
- "inverse-static": style_module_default20["inverse-static"],
21840
- inverse: style_module_default20.inverse
22016
+ brand: style_module_default23.brand,
22017
+ "inverse-static": style_module_default23["inverse-static"],
22018
+ inverse: style_module_default23.inverse
21841
22019
  }
21842
22020
  }
21843
22021
  });
@@ -21848,8 +22026,8 @@ var coachMarkLevelButtonLevelMap = {
21848
22026
  };
21849
22027
  var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
21850
22028
  const { children } = props;
21851
- (0, import_react29.useEffect)(() => {
21852
- if ((0, import_react29.isValidElement)(children) && "image" in children.props) {
22029
+ (0, import_react30.useEffect)(() => {
22030
+ if ((0, import_react30.isValidElement)(children) && "image" in children.props) {
21853
22031
  const imageProps = children.props.image;
21854
22032
  if (imageProps?.src) {
21855
22033
  const img = new Image();
@@ -21857,9 +22035,9 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
21857
22035
  }
21858
22036
  }
21859
22037
  }, []);
21860
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(PrimitiveCoachMark, { ...props });
22038
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(PrimitiveCoachMark, { ...props });
21861
22039
  }, "CoachMarkRoot");
21862
- var CoachMarkContent = (0, import_react29.forwardRef)(
22040
+ var CoachMarkContent = (0, import_react30.forwardRef)(
21863
22041
  ({
21864
22042
  level = "brand",
21865
22043
  width,
@@ -21877,32 +22055,32 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21877
22055
  secondaryButton,
21878
22056
  onClose,
21879
22057
  ...rest
21880
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
22058
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
21881
22059
  PrimitiveCoachMark.Content,
21882
22060
  {
21883
22061
  ref,
21884
- className: (0, import_clsx20.default)(coachMarkVariants({ level }), className),
22062
+ className: (0, import_clsx22.default)(coachMarkVariants({ level }), className),
21885
22063
  style: { width: width ? `${width}px` : void 0 },
21886
22064
  side,
21887
22065
  sideOffset,
21888
22066
  ...rest,
21889
22067
  children: [
21890
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22068
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21891
22069
  IconButton,
21892
22070
  {
21893
22071
  icon: { name: "close" },
21894
22072
  size: "xs",
21895
22073
  level: level === "inverse" ? "inverse" : "inverse-static",
21896
22074
  fill: false,
21897
- className: style_module_default20.closeButton,
22075
+ className: style_module_default23.closeButton,
21898
22076
  onClick: onClose
21899
22077
  }
21900
22078
  ) }),
21901
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("header", { className: style_module_default20.top, children: [
21902
- illust && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Illust, { width: 72, ...illust }),
21903
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: style_module_default20.main, children: [
21904
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: style_module_default20.title, children: [
21905
- tag && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22079
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("header", { className: style_module_default23.top, children: [
22080
+ illust && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Illust, { width: 72, ...illust }),
22081
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.main, children: [
22082
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.title, children: [
22083
+ tag && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21906
22084
  Tag,
21907
22085
  {
21908
22086
  color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
@@ -21910,7 +22088,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21910
22088
  children: tag
21911
22089
  }
21912
22090
  ),
21913
- icon && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22091
+ icon && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21914
22092
  Icon,
21915
22093
  {
21916
22094
  name: icon.name,
@@ -21920,7 +22098,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21920
22098
  type: level === "inverse" ? "inverse-label-primary" : "inverse-label-static-primary"
21921
22099
  }
21922
22100
  ),
21923
- title && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22101
+ title && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21924
22102
  Paragraph,
21925
22103
  {
21926
22104
  size: 4,
@@ -21931,17 +22109,17 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21931
22109
  }
21932
22110
  )
21933
22111
  ] }),
21934
- image && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { className: style_module_default20["image-container"], children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22112
+ image && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23["image-container"], children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21935
22113
  "img",
21936
22114
  {
21937
- className: style_module_default20.image,
22115
+ className: style_module_default23.image,
21938
22116
  src: image.src ?? "",
21939
22117
  alt: image.alt ?? "",
21940
22118
  width: 280,
21941
22119
  height: 160
21942
22120
  }
21943
22121
  ) }),
21944
- description && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { className: style_module_default20.description, children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22122
+ description && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23.description, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21945
22123
  Caption,
21946
22124
  {
21947
22125
  size: 2,
@@ -21953,8 +22131,8 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21953
22131
  ) })
21954
22132
  ] })
21955
22133
  ] }),
21956
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("footer", { className: style_module_default20.footer, children: [
21957
- step ? /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
22134
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("footer", { className: style_module_default23.footer, children: [
22135
+ step ? /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
21958
22136
  Caption,
21959
22137
  {
21960
22138
  size: 2,
@@ -21967,9 +22145,9 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21967
22145
  step.total
21968
22146
  ]
21969
22147
  }
21970
- ) : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { className: style_module_default20.empty }),
21971
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: style_module_default20.buttonGroup, children: [
21972
- secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
22148
+ ) : /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23.empty }),
22149
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.buttonGroup, children: [
22150
+ secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
21973
22151
  TextButton,
21974
22152
  {
21975
22153
  size: "s",
@@ -21977,7 +22155,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
21977
22155
  ...secondaryButton
21978
22156
  }
21979
22157
  ),
21980
- primaryButton && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
22158
+ primaryButton && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
21981
22159
  ] })
21982
22160
  ] })
21983
22161
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.6.5",
3
+ "version": "2.6.7",
4
4
  "scripts": {
5
5
  "dev": "next dev",
6
6
  "start": "next start",