@liner-fe/prism 2.9.42 → 2.9.44

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
@@ -1985,15 +1985,15 @@
1985
1985
  }
1986
1986
 
1987
1987
  /* esbuild-sass-plugin:css-chunk:src/components/coach-mark/main/style.module.scss */
1988
- ._content_196c9_1 {
1988
+ ._content_hgpfp_1 {
1989
1989
  display: flex;
1990
1990
  flex-direction: column;
1991
1991
  min-width: 230px;
1992
1992
  padding: var(--lp-sys-padding-component-400);
1993
1993
  box-sizing: border-box;
1994
- animation: _slideIn_196c9_1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
1994
+ animation: _slideIn_hgpfp_1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
1995
1995
  }
1996
- @keyframes _slideIn_196c9_1 {
1996
+ @keyframes _slideIn_hgpfp_1 {
1997
1997
  from {
1998
1998
  transform: translateY(10px);
1999
1999
  opacity: 0;
@@ -2003,66 +2003,69 @@
2003
2003
  opacity: 1;
2004
2004
  }
2005
2005
  }
2006
- ._content_196c9_1._brand_196c9_19 {
2006
+ ._content_hgpfp_1._brand_hgpfp_19 {
2007
2007
  background: var(--brand-container-mid);
2008
2008
  }
2009
- ._content_196c9_1._brand_196c9_19 > span > svg > path {
2009
+ ._content_hgpfp_1._brand_hgpfp_19 > span > svg > path {
2010
2010
  fill: var(--brand-container-mid);
2011
2011
  }
2012
- ._content_196c9_1._inverse-static_196c9_25 {
2012
+ ._content_hgpfp_1._inverse-static_hgpfp_25 {
2013
2013
  background: var(--inverse-container-static-high);
2014
2014
  }
2015
- ._content_196c9_1._inverse-static_196c9_25 > span > svg > path {
2015
+ ._content_hgpfp_1._inverse-static_hgpfp_25 > span > svg > path {
2016
2016
  fill: var(--inverse-container-static-high);
2017
2017
  }
2018
- ._content_196c9_1._inverse_196c9_25 {
2018
+ ._content_hgpfp_1._inverse_hgpfp_25 {
2019
2019
  background: var(--inverse-container-lowest);
2020
2020
  }
2021
- ._content_196c9_1._inverse_196c9_25 > span > svg > path {
2021
+ ._content_hgpfp_1._inverse_hgpfp_25 > span > svg > path {
2022
2022
  fill: var(--inverse-container-lowest);
2023
2023
  }
2024
- ._top_196c9_38 {
2024
+ ._top_hgpfp_38 {
2025
2025
  display: flex;
2026
2026
  flex-direction: column;
2027
2027
  gap: var(--lp-sys-padding-component-400);
2028
2028
  }
2029
- ._main_196c9_44 {
2029
+ ._main_hgpfp_44 {
2030
2030
  width: 100%;
2031
2031
  display: flex;
2032
2032
  flex-direction: column;
2033
2033
  gap: var(--lp-sys-gap-positive-100);
2034
2034
  }
2035
- ._title_196c9_51 {
2035
+ ._title_hgpfp_51 {
2036
2036
  display: flex;
2037
2037
  align-items: center;
2038
2038
  gap: var(--lp-sys-gap-positive-150);
2039
2039
  }
2040
- ._footer_196c9_57 {
2040
+ ._description_hgpfp_57 {
2041
+ white-space: pre-wrap;
2042
+ }
2043
+ ._footer_hgpfp_61 {
2041
2044
  display: flex;
2042
2045
  align-items: center;
2043
2046
  justify-content: space-between;
2044
2047
  padding-top: var(--lp-sys-gap-positive-150);
2045
2048
  }
2046
- ._footer_196c9_57 ._buttonGroup_196c9_63 {
2049
+ ._footer_hgpfp_61 ._buttonGroup_hgpfp_67 {
2047
2050
  display: flex;
2048
2051
  gap: var(--lp-sys-gap-positive-400);
2049
2052
  height: 28px;
2050
2053
  }
2051
- ._closeButton_196c9_69 {
2054
+ ._closeButton_hgpfp_73 {
2052
2055
  position: absolute;
2053
2056
  top: 0;
2054
2057
  right: 0;
2055
2058
  transform: translate(-25%, 25%);
2056
2059
  opacity: 0.64;
2057
2060
  }
2058
- ._image-container_196c9_77 {
2061
+ ._image-container_hgpfp_81 {
2059
2062
  position: relative;
2060
2063
  width: 248px;
2061
2064
  height: 160px;
2062
2065
  margin-top: 8px;
2063
2066
  margin-bottom: 8px;
2064
2067
  }
2065
- ._image_196c9_77 {
2068
+ ._image_hgpfp_81 {
2066
2069
  position: absolute;
2067
2070
  transform: translateX(-5.7%);
2068
2071
  }
package/lib/index.d.ts CHANGED
@@ -217,7 +217,7 @@ interface PopoverTriggerProps {
217
217
  /**
218
218
  * PopoverContent
219
219
  */
220
- interface PopoverContentProps extends HTMLAttributes<HTMLDivElement> {
220
+ interface PopoverContentProps extends HTMLAttributes<HTMLDivElement>, Popover$1.PopoverContentProps {
221
221
  level?: 'primary' | 'secondary';
222
222
  tag?: string;
223
223
  icon?: {
@@ -226,7 +226,6 @@ interface PopoverContentProps extends HTMLAttributes<HTMLDivElement> {
226
226
  title?: string;
227
227
  description?: string;
228
228
  position?: 'top' | 'right' | 'bottom' | 'left';
229
- align?: 'start' | 'center' | 'end';
230
229
  confirmText?: string;
231
230
  isOverlay?: boolean;
232
231
  container?: HTMLElement;
@@ -540,6 +539,7 @@ interface LogoRectangleProps {
540
539
  width: number;
541
540
  height: number;
542
541
  className?: string;
542
+ fill?: BasicColorType;
543
543
  }
544
544
  type LogoProps = LogoSquareProps | LogoRectangleProps;
545
545
  declare const Logo: (props: LogoProps) => react_jsx_runtime.JSX.Element;
package/lib/index.js CHANGED
@@ -2502,7 +2502,8 @@ import { vars } from "@liner-fe/design-token";
2502
2502
  import { jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
2503
2503
  var Logo = /* @__PURE__ */ __name((props) => {
2504
2504
  if (props.type === "combination") {
2505
- const { width, height } = props;
2505
+ const { width, height, fill = "brand-label-secondary" } = props;
2506
+ const darkModeAwareFillColor = vars.color[fill];
2506
2507
  return /* @__PURE__ */ jsxs13(
2507
2508
  "svg",
2508
2509
  {
@@ -2518,49 +2519,49 @@ var Logo = /* @__PURE__ */ __name((props) => {
2518
2519
  "path",
2519
2520
  {
2520
2521
  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",
2521
- fill: vars.color["brand-label-secondary"]
2522
+ fill: darkModeAwareFillColor
2522
2523
  }
2523
2524
  ),
2524
2525
  /* @__PURE__ */ jsx27(
2525
2526
  "path",
2526
2527
  {
2527
2528
  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",
2528
- fill: vars.color["brand-label-secondary"]
2529
+ fill: darkModeAwareFillColor
2529
2530
  }
2530
2531
  ),
2531
2532
  /* @__PURE__ */ jsx27(
2532
2533
  "path",
2533
2534
  {
2534
2535
  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",
2535
- fill: vars.color["brand-label-secondary"]
2536
+ fill: darkModeAwareFillColor
2536
2537
  }
2537
2538
  ),
2538
2539
  /* @__PURE__ */ jsx27(
2539
2540
  "path",
2540
2541
  {
2541
2542
  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",
2542
- fill: vars.color["brand-label-secondary"]
2543
+ fill: darkModeAwareFillColor
2543
2544
  }
2544
2545
  ),
2545
2546
  /* @__PURE__ */ jsx27(
2546
2547
  "path",
2547
2548
  {
2548
2549
  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",
2549
- fill: vars.color["brand-label-secondary"]
2550
+ fill: darkModeAwareFillColor
2550
2551
  }
2551
2552
  ),
2552
2553
  /* @__PURE__ */ jsx27(
2553
2554
  "path",
2554
2555
  {
2555
2556
  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",
2556
- fill: vars.color["brand-label-secondary"]
2557
+ fill: darkModeAwareFillColor
2557
2558
  }
2558
2559
  ),
2559
2560
  /* @__PURE__ */ jsx27(
2560
2561
  "path",
2561
2562
  {
2562
2563
  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",
2563
- fill: vars.color["brand-label-secondary"]
2564
+ fill: darkModeAwareFillColor
2564
2565
  }
2565
2566
  )
2566
2567
  ] }),
@@ -3250,19 +3251,20 @@ import * as PopoverPrimitive4 from "@radix-ui/react-popover";
3250
3251
 
3251
3252
  // src/components/coach-mark/main/style.module.scss
3252
3253
  var style_module_default21 = {
3253
- "content": "_content_196c9_1",
3254
- "slideIn": "_slideIn_196c9_1",
3255
- "brand": "_brand_196c9_19",
3256
- "inverse-static": "_inverse-static_196c9_25",
3257
- "inverse": "_inverse_196c9_25",
3258
- "top": "_top_196c9_38",
3259
- "main": "_main_196c9_44",
3260
- "title": "_title_196c9_51",
3261
- "footer": "_footer_196c9_57",
3262
- "buttonGroup": "_buttonGroup_196c9_63",
3263
- "closeButton": "_closeButton_196c9_69",
3264
- "image-container": "_image-container_196c9_77",
3265
- "image": "_image_196c9_77"
3254
+ "content": "_content_hgpfp_1",
3255
+ "slideIn": "_slideIn_hgpfp_1",
3256
+ "brand": "_brand_hgpfp_19",
3257
+ "inverse-static": "_inverse-static_hgpfp_25",
3258
+ "inverse": "_inverse_hgpfp_25",
3259
+ "top": "_top_hgpfp_38",
3260
+ "main": "_main_hgpfp_44",
3261
+ "title": "_title_hgpfp_51",
3262
+ "description": "_description_hgpfp_57",
3263
+ "footer": "_footer_hgpfp_61",
3264
+ "buttonGroup": "_buttonGroup_hgpfp_67",
3265
+ "closeButton": "_closeButton_hgpfp_73",
3266
+ "image-container": "_image-container_hgpfp_81",
3267
+ "image": "_image_hgpfp_81"
3266
3268
  };
3267
3269
 
3268
3270
  // src/components/coach-mark/main/index.tsx
@@ -3385,16 +3387,17 @@ var CoachMarkContent = forwardRef19(
3385
3387
  height: 160
3386
3388
  }
3387
3389
  ) }),
3388
- description && /* @__PURE__ */ jsx31("div", { className: style_module_default21.description, children: /* @__PURE__ */ jsx31(
3390
+ description && /* @__PURE__ */ jsx31(
3389
3391
  Caption,
3390
3392
  {
3391
3393
  size: 2,
3392
3394
  type: "normal",
3393
3395
  weight: "regular",
3394
3396
  color: level === "inverse" ? "inverse-label-secondary" : "inverse-label-static-secondary",
3397
+ className: style_module_default21.description,
3395
3398
  children: description
3396
3399
  }
3397
- ) })
3400
+ )
3398
3401
  ] })
3399
3402
  ] }),
3400
3403
  /* @__PURE__ */ jsxs16("footer", { className: style_module_default21.footer, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.9.42",
3
+ "version": "2.9.44",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "dependencies": {
@@ -18,8 +18,8 @@
18
18
  "react-dom": "^18.2.0",
19
19
  "recoil": "^0.5.2",
20
20
  "@liner-fe/design-token": "^2.5.34",
21
- "@liner-fe/design-token-primitive": "^0.2.32",
22
- "@liner-fe/icon": "^0.2.33",
21
+ "@liner-fe/design-token-primitive": "^0.2.33",
22
+ "@liner-fe/icon": "^0.2.40",
23
23
  "@liner-fe/illust": "^0.2.10"
24
24
  },
25
25
  "devDependencies": {