@liner-fe/prism 2.6.3 → 2.6.5

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
@@ -1372,19 +1372,25 @@
1372
1372
  }
1373
1373
 
1374
1374
  /* esbuild-sass-plugin:css-chunk:src/components/Textfield/style.module.scss */
1375
- ._textfield-container_15lqz_1 {
1375
+ ._textfield-container_ogykf_1 {
1376
1376
  display: flex;
1377
1377
  flex-direction: column;
1378
1378
  gap: var(--lp-sys-gap-positive-200);
1379
1379
  width: 100%;
1380
1380
  }
1381
- ._textfield-container_15lqz_1:has(:disabled) {
1382
- cursor: not-allowed;
1381
+ ._textfield-container_ogykf_1:hover > ._textfield_ogykf_1 {
1382
+ outline: 1px solid var(--neutral-border-opaque-strong);
1383
1383
  }
1384
- ._textfield-container_15lqz_1:has(:disabled) * {
1384
+ ._textfield-container_ogykf_1[data-disabled=true] {
1385
1385
  cursor: not-allowed;
1386
1386
  }
1387
- ._textfield_15lqz_1 {
1387
+ ._textfield-container_ogykf_1[data-disabled=true] > * {
1388
+ cursor: not-allowed !important;
1389
+ }
1390
+ ._textfield-container_ogykf_1[data-disabled=true] > ._textfield_ogykf_1 {
1391
+ outline: 1px solid var(--neutral-border-opaque-normal) !important;
1392
+ }
1393
+ ._textfield_ogykf_1 {
1388
1394
  box-sizing: border-box;
1389
1395
  position: relative;
1390
1396
  width: 100%;
@@ -1395,46 +1401,53 @@
1395
1401
  cursor: text;
1396
1402
  transition: ease-out all 0.1s;
1397
1403
  }
1398
- ._textfield_15lqz_1:hover {
1399
- outline: 1px solid var(--neutral-border-opaque-strong);
1400
- }
1401
- ._textfield_15lqz_1:focus-within {
1404
+ ._textfield_ogykf_1:focus-within {
1402
1405
  outline: 2px solid var(--neutral-border-opaque-strong);
1403
1406
  }
1404
- ._textfield_15lqz_1:has(:disabled) {
1407
+ ._textfield_ogykf_1:disabled {
1405
1408
  outline: 1px solid var(--neutral-border-opaque-subtle);
1406
1409
  cursor: not-allowed;
1407
1410
  }
1408
- ._textfield_15lqz_1:has(:disabled) > ._label_15lqz_35 {
1411
+ ._textfield_ogykf_1:disabled > ._label_ogykf_38 {
1409
1412
  color: var(--neutral-label-tertiary);
1410
1413
  cursor: not-allowed;
1411
1414
  }
1412
- ._textfield_15lqz_1._label-out-textfield_15lqz_39 {
1415
+ ._textfield_ogykf_1._label-out-textfield_ogykf_42 {
1413
1416
  height: 52px;
1414
1417
  margin-top: 24px;
1415
1418
  }
1416
- ._textfield_15lqz_1._white_15lqz_43 {
1419
+ ._textfield_ogykf_1._white_ogykf_46 {
1417
1420
  background: var(--neutral-container-lowest);
1418
1421
  }
1419
- ._textfield_15lqz_1._gray_15lqz_46 {
1422
+ ._textfield_ogykf_1._gray_ogykf_49 {
1420
1423
  background: var(--neutral-container-mid);
1421
1424
  }
1422
- ._label_15lqz_35 {
1425
+ ._label_ogykf_38 {
1423
1426
  position: absolute;
1424
1427
  left: 0;
1425
1428
  top: 0;
1426
1429
  color: var(--neutral-label-secondary);
1427
1430
  cursor: text;
1428
1431
  }
1429
- ._label-in_15lqz_58 {
1432
+ ._label-in_ogykf_61 {
1430
1433
  transform-origin: left top;
1431
1434
  transform: translate(var(--lp-sys-padding-component-400), 100%) scale(1);
1432
1435
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
1433
1436
  }
1434
- ._label-out_15lqz_39 {
1437
+ ._label-out_ogykf_42 {
1435
1438
  transform: translateY(-150%);
1436
1439
  }
1437
- ._input-wrapper_15lqz_68 {
1440
+ ._label-visually-hidden_ogykf_71 {
1441
+ position: absolute;
1442
+ width: 1px;
1443
+ height: 1px;
1444
+ overflow: hidden;
1445
+ margin: -1px;
1446
+ clip: rect(0 0 0 0);
1447
+ white-space: nowrap;
1448
+ border: 0;
1449
+ }
1450
+ ._input-wrapper_ogykf_82 {
1438
1451
  display: flex;
1439
1452
  align-items: center;
1440
1453
  justify-content: space-between;
@@ -1442,7 +1455,7 @@
1442
1455
  height: 100%;
1443
1456
  gap: var(--lp-sys-gap-positive-300);
1444
1457
  }
1445
- ._input_15lqz_68 {
1458
+ ._input_ogykf_82 {
1446
1459
  background: transparent;
1447
1460
  border: none;
1448
1461
  outline: none;
@@ -1456,68 +1469,68 @@
1456
1469
  font-weight: var(--lp-pri-font-weight-400);
1457
1470
  line-height: 130%;
1458
1471
  }
1459
- ._input_15lqz_68:focus + ._label-in_15lqz_58,
1460
- ._input_15lqz_68:not(:placeholder-shown) + ._label-in_15lqz_58 {
1472
+ ._input_ogykf_82:focus + ._label-in_ogykf_61,
1473
+ ._input_ogykf_82:not(:placeholder-shown) + ._label-in_ogykf_61 {
1461
1474
  transform: translate(var(--lp-sys-padding-component-400), 60%) scale(0.8);
1462
1475
  font-weight: var(--lp-pri-font-weight-500);
1463
1476
  color: var(--neutral-label-primary);
1464
1477
  }
1465
- ._input_15lqz_68::placeholder {
1478
+ ._input_ogykf_82::placeholder {
1466
1479
  color: var(--neutral-label-tertiary);
1467
1480
  font-size: var(--lp-pri-font-size-15);
1468
1481
  font-style: normal;
1469
1482
  font-weight: var(--lp-pri-font-weight-400);
1470
1483
  line-height: 130%;
1471
1484
  }
1472
- ._label-out-input_15lqz_104 {
1485
+ ._label-out-input_ogykf_118 {
1473
1486
  transform: translateY(0);
1474
1487
  }
1475
- ._input-action-buttons_15lqz_108 {
1488
+ ._input-action-buttons_ogykf_122 {
1476
1489
  display: flex;
1477
1490
  align-items: center;
1478
1491
  gap: var(--lp-sys-gap-positive-50);
1479
1492
  }
1480
- ._action-button_15lqz_114 {
1493
+ ._action-button_ogykf_128 {
1481
1494
  margin-right: var(--lp-sys-padding-component-100);
1482
1495
  }
1483
- ._action-button_15lqz_114 > svg > circle {
1496
+ ._action-button_ogykf_128 > svg > circle {
1484
1497
  fill: var(--neutral-label-secondary);
1485
1498
  }
1486
- ._error_15lqz_121 {
1499
+ ._error_ogykf_135 {
1487
1500
  display: block;
1488
1501
  outline: 2px solid var(--function-label-negative);
1489
1502
  }
1490
- ._error_15lqz_121 > ._input_15lqz_68 + ._label_15lqz_35 {
1503
+ ._error_ogykf_135 > ._input_ogykf_82 + ._label_ogykf_38 {
1491
1504
  color: var(--function-label-negative);
1492
1505
  }
1493
- ._error_15lqz_121:hover {
1506
+ ._error_ogykf_135:hover {
1494
1507
  outline: 2px solid var(--function-label-negative);
1495
1508
  }
1496
- ._error_15lqz_121:focus-within {
1509
+ ._error_ogykf_135:focus-within {
1497
1510
  outline: 2px solid var(--function-label-negative);
1498
1511
  }
1499
- ._error_15lqz_121:focus-within > ._label_15lqz_35 {
1512
+ ._error_ogykf_135:focus-within > ._label_ogykf_38 {
1500
1513
  color: var(--function-label-negative);
1501
1514
  }
1502
- ._error_15lqz_121 > div > ._error-message_15lqz_137 {
1515
+ ._error_ogykf_135 > div > ._error-message_ogykf_151 {
1503
1516
  color: var(--function-label-negative);
1504
1517
  }
1505
- ._error-wrapper_15lqz_141 {
1518
+ ._error-wrapper_ogykf_155 {
1506
1519
  display: flex;
1507
1520
  align-items: flex-end;
1508
1521
  gap: 4px;
1509
1522
  }
1510
- ._error-wrapper_15lqz_141 > ._error-message_15lqz_137 {
1523
+ ._error-wrapper_ogykf_155 > ._error-message_ogykf_151 {
1511
1524
  color: var(--function-label-negative);
1512
1525
  }
1513
- ._footer_15lqz_150 {
1526
+ ._footer_ogykf_164 {
1514
1527
  display: flex;
1515
1528
  justify-content: space-between;
1516
1529
  align-items: center;
1517
1530
  gap: 8px;
1518
1531
  min-height: var(--lp-sys-icon-size-xs);
1519
1532
  }
1520
- ._character_15lqz_158 {
1533
+ ._character_ogykf_172 {
1521
1534
  color: var(--neutral-label-secondary);
1522
1535
  }
1523
1536
 
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { SystemKeys, TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix, TypographyDisplayPrefix } from '@liner-fe/design-token-primitive';
2
1
  import * as react from 'react';
3
- import react__default, { SVGProps, ButtonHTMLAttributes, RefAttributes, HTMLAttributes, ReactNode, ComponentPropsWithoutRef, InputHTMLAttributes, ComponentProps, LiHTMLAttributes, MouseEventHandler } from 'react';
2
+ import react__default, { ComponentType, ForwardRefExoticComponent, RefAttributes, SVGProps, ButtonHTMLAttributes, HTMLAttributes, ReactNode, ComponentPropsWithoutRef, InputHTMLAttributes, ComponentProps, LiHTMLAttributes, MouseEventHandler } from 'react';
3
+ import { SystemKeys, TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix, TypographyDisplayPrefix } from '@liner-fe/design-token-primitive';
4
4
  import * as cva from 'cva';
5
5
  import { VariantProps } from 'cva';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -20,7 +20,7 @@ interface IconComponentProps {
20
20
  thick?: boolean;
21
21
  size?: 16 | 20 | 24 | 32 | 40;
22
22
  }
23
- type IconComponent = (props: IconComponentProps) => JSX.Element | undefined;
23
+ type IconComponent = ComponentType<IconComponentProps> | ForwardRefExoticComponent<IconComponentProps & RefAttributes<SVGSVGElement>>;
24
24
  type IconMapType = typeof iconMap;
25
25
  type IconKey = 'close-fill' | 'more' | 'liner' | 'liner-variation' | 'person-fill' | 'list' | 'history' | 'start' | 'end' | 'paperclip' | 'share' | 'sign-out' | 'check-mark-fill' | 'exclamationmark-fill' | 'plus' | 'minus' | 'new-thread' | 'move' | 'search' | 'globe' | 'graduationcap' | 'palette' | 'download' | 'regenerate' | 'credit' | 'feedback' | 'tune' | 'arrow-back' | 'arrow-forward' | 'arrow-up' | 'arrow-down' | 'menu' | 'document-warning' | 'arrow-right' | 'arrow-left' | 'step' | 'arrow-turn' | 'power' | 'desktop' | 'desktop-on-cursor' | 'view-list' | 'chart-bar' | 'chart-line-uptrend' | 'folder' | 'person' | 'trash' | 'pencil' | 'copy' | 'book' | 'description' | 'bookmark' | 'photo' | 'camera' | 'bolt' | 'question-message' | 'books' | 'balance' | 'folder-add' | 'document' | 'person-add' | 'send' | 'check-mark' | 'exclamationmark' | 'close' | 'lock' | 'ai' | 'stack' | 'summarize' | 'memo' | 'highlighter' | 'creditcard' | 'speaker' | 'light' | 'document-add' | 'thumb-up' | 'thumb-down' | 'shield' | 'home' | 'visibility' | 'visibility-off' | 'magic-wand' | 'magic-pencil' | 'bulb-exclamtionmark' | 'bulb' | 'paraphase' | 'make-easy' | 'translate' | 'Info' | 'folder-open' | 'highlight-edit' | 'apple' | 'android' | 'twitter' | 'facebook' | 'google' | 'paraphrase' | 'car' | 'airplane' | 'rocket' | 'source' | 'setting' | 'extend' | 'shorten' | 'sun' | 'moon' | 'fire' | 'arrow-upward' | 'arrow-downward' | 'light-mode' | 'dark-mode' | 'target' | 'question-box' | 'new-tab' | 'example' | 'quote' | 'document-check' | 'block' | 'bookmark-cancel' | 'arrow-up-right' | 'arrow-down-left' | 'arrow-up-left' | 'email' | 'filter' | 'timer' | 'play-button' | 'text-select' | 'arrow-drop-down' | 'bell' | 'secret-mode' | 'add-clock' | 'clock' | 'arrow-backward' | 'link' | 'sheet-export' | 'shield-usage' | 'essay' | 'spinner' | 'drop-down' | 'drop-up' | 'arrow-drop-right' | 'arrow-up-down' | 'google-export' | 'shield-person' | 'formal-bag' | 'casual-shoe' | 'undo' | 'redo' | 'expand' | 'verification-badge' | 'volume-up' | 'volume' | 'folder-open-share' | 'folder-share' | 'report' | 'mindmap' | 'flowchart' | 'show-all' | 'hide-all' | 'brain' | 'zoom-in' | 'zoom-out' | 'focus' | 'help' | 'paragraph' | 'retry' | 'add-to-folder' | 'remove-from-folder' | 'move-to-folder' | 'new-thread-folder' | 'chrome' | 'new-chrome-extension' | 'mobile' | 'google-color' | 'stop' | 'microscope' | 'members' | 'teams' | 'literature-review' | 'expand-close';
26
26
 
@@ -65,7 +65,7 @@ interface IconProps extends VariantProps<typeof iconVariants>, Omit<SVGProps<SVG
65
65
  fill?: boolean;
66
66
  className?: string;
67
67
  }
68
- declare const Icon: (props: IconProps) => react_jsx_runtime.JSX.Element;
68
+ declare const Icon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
69
69
 
70
70
  declare const defaultButtonVariants: (props?: ({
71
71
  level?: "primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "negative" | "static" | "inverse-static" | undefined;
@@ -396,7 +396,7 @@ declare const defaultTextfieldVariants: (props?: ({
396
396
  className?: cva.ClassValue;
397
397
  })) | undefined) => string;
398
398
  type TextfieldButtonProps = Omit<DefaultButtonProps<FillType>, 'size'>;
399
- type TextfieldLabelType = 'in' | 'out';
399
+ type TextfieldLabelType = 'in' | 'out' | 'visually-hidden';
400
400
  interface TextfieldLabelProps {
401
401
  text: string;
402
402
  type?: TextfieldLabelType;
package/lib/index.js CHANGED
@@ -13687,7 +13687,7 @@ var arrayToStyleObject = /* @__PURE__ */ __name((colorKeys, style, prefix) => co
13687
13687
  var isEmptyObject = /* @__PURE__ */ __name((obj) => Object.getOwnPropertyNames(obj).length === 0, "isEmptyObject");
13688
13688
 
13689
13689
  // src/components/Button/index.tsx
13690
- var import_react = require("react");
13690
+ var import_react2 = require("react");
13691
13691
 
13692
13692
  // src/components/Button/style.module.scss
13693
13693
  var style_module_default = {
@@ -13725,6 +13725,7 @@ var import_clsx2 = __toESM(require("clsx"));
13725
13725
  // src/components/Icon/index.tsx
13726
13726
  var import_cva = require("cva");
13727
13727
  var import_clsx = __toESM(require("clsx"));
13728
+ var import_react = require("react");
13728
13729
 
13729
13730
  // src/components/Icon/style.module.scss
13730
13731
  var style_module_default2 = {
@@ -13903,7 +13904,7 @@ var iconVariants = (0, import_cva.cva)({
13903
13904
  }
13904
13905
  });
13905
13906
  var getIconComponent = /* @__PURE__ */ __name((iconKey, map) => map[iconKey], "getIconComponent");
13906
- var Icon = /* @__PURE__ */ __name((props) => {
13907
+ var Icon = (0, import_react.forwardRef)((props, ref) => {
13907
13908
  const {
13908
13909
  name,
13909
13910
  type = "neutral-label-primary",
@@ -13916,17 +13917,19 @@ var Icon = /* @__PURE__ */ __name((props) => {
13916
13917
  } = props;
13917
13918
  const IconComponent = getIconComponent(name, iconMap);
13918
13919
  const iconSize = iconSizeMap[size4];
13919
- return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
13920
- IconComponent,
13921
- {
13922
- ...rest,
13923
- className: (0, import_clsx.default)(iconVariants({ type, fillType }), className),
13924
- size: iconSize,
13925
- thick,
13926
- fill
13927
- }
13928
- );
13929
- }, "Icon");
13920
+ const iconProps = {
13921
+ ...rest,
13922
+ className: (0, import_clsx.default)(iconVariants({ type, fillType }), className),
13923
+ size: iconSize,
13924
+ thick,
13925
+ fill
13926
+ };
13927
+ const isForwardRef = "$$typeof" in IconComponent && IconComponent.$$typeof === Symbol.for("react.forward_ref");
13928
+ if (isForwardRef && ref) {
13929
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(IconComponent, { ...iconProps, ref });
13930
+ }
13931
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(IconComponent, { ...iconProps });
13932
+ });
13930
13933
 
13931
13934
  // src/components/Loading/style.module.scss
13932
13935
  var style_module_default3 = {
@@ -14125,7 +14128,7 @@ var defaultButtonChildrenVariants = (0, import_cva3.cva)({
14125
14128
  }
14126
14129
  }
14127
14130
  });
14128
- var DefaultButton = (0, import_react.forwardRef)(
14131
+ var DefaultButton = (0, import_react2.forwardRef)(
14129
14132
  ({
14130
14133
  asChild = false,
14131
14134
  level = "primary",
@@ -14155,9 +14158,9 @@ var DefaultButton = (0, import_react.forwardRef)(
14155
14158
  !!rightIcon && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { ...iconProps, ...rightIcon })
14156
14159
  ] }), "renderContent");
14157
14160
  if (asChild) {
14158
- const parent = import_react.Children.only(children);
14161
+ const parent = import_react2.Children.only(children);
14159
14162
  const newChildren = parent.props.children;
14160
- const ParentClone = (0, import_react.cloneElement)(
14163
+ const ParentClone = (0, import_react2.cloneElement)(
14161
14164
  parent,
14162
14165
  {
14163
14166
  ...rest,
@@ -14183,7 +14186,7 @@ var DefaultButton = (0, import_react.forwardRef)(
14183
14186
  }
14184
14187
  );
14185
14188
  DefaultButton.displayName = "DefaultButton";
14186
- var Button = (0, import_react.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DefaultButton, { ...props, ref }));
14189
+ var Button = (0, import_react2.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DefaultButton, { ...props, ref }));
14187
14190
  Button.displayName = "Button";
14188
14191
 
14189
14192
  // src/hooks/useToast.ts
@@ -14274,7 +14277,7 @@ function useComposedRefs(...refs) {
14274
14277
  __name(useComposedRefs, "useComposedRefs");
14275
14278
 
14276
14279
  // ../../node_modules/@radix-ui/react-collection/dist/index.mjs
14277
- var import_react2 = __toESM(require("react"), 1);
14280
+ var import_react3 = __toESM(require("react"), 1);
14278
14281
 
14279
14282
  // ../../node_modules/@radix-ui/react-context/dist/index.mjs
14280
14283
  var React2 = __toESM(require("react"), 1);
@@ -14435,7 +14438,7 @@ __name(getElementRef, "getElementRef");
14435
14438
 
14436
14439
  // ../../node_modules/@radix-ui/react-collection/dist/index.mjs
14437
14440
  var import_jsx_runtime185 = require("react/jsx-runtime");
14438
- var import_react3 = __toESM(require("react"), 1);
14441
+ var import_react4 = __toESM(require("react"), 1);
14439
14442
  var import_jsx_runtime186 = require("react/jsx-runtime");
14440
14443
  function createCollection(name) {
14441
14444
  const PROVIDER_NAME2 = name + "CollectionProvider";
@@ -14446,14 +14449,14 @@ function createCollection(name) {
14446
14449
  );
14447
14450
  const CollectionProvider2 = /* @__PURE__ */ __name((props) => {
14448
14451
  const { scope, children } = props;
14449
- const ref = import_react2.default.useRef(null);
14450
- const itemMap = import_react2.default.useRef(/* @__PURE__ */ new Map()).current;
14452
+ const ref = import_react3.default.useRef(null);
14453
+ const itemMap = import_react3.default.useRef(/* @__PURE__ */ new Map()).current;
14451
14454
  return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
14452
14455
  }, "CollectionProvider");
14453
14456
  CollectionProvider2.displayName = PROVIDER_NAME2;
14454
14457
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
14455
14458
  const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
14456
- const CollectionSlot = import_react2.default.forwardRef(
14459
+ const CollectionSlot = import_react3.default.forwardRef(
14457
14460
  (props, forwardedRef) => {
14458
14461
  const { scope, children } = props;
14459
14462
  const context = useCollectionContext2(COLLECTION_SLOT_NAME, scope);
@@ -14465,13 +14468,13 @@ function createCollection(name) {
14465
14468
  const ITEM_SLOT_NAME = name + "CollectionItemSlot";
14466
14469
  const ITEM_DATA_ATTR = "data-radix-collection-item";
14467
14470
  const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
14468
- const CollectionItemSlot = import_react2.default.forwardRef(
14471
+ const CollectionItemSlot = import_react3.default.forwardRef(
14469
14472
  (props, forwardedRef) => {
14470
14473
  const { scope, children, ...itemData } = props;
14471
- const ref = import_react2.default.useRef(null);
14474
+ const ref = import_react3.default.useRef(null);
14472
14475
  const composedRefs = useComposedRefs(forwardedRef, ref);
14473
14476
  const context = useCollectionContext2(ITEM_SLOT_NAME, scope);
14474
- import_react2.default.useEffect(() => {
14477
+ import_react3.default.useEffect(() => {
14475
14478
  context.itemMap.set(ref, { ref, ...itemData });
14476
14479
  return () => void context.itemMap.delete(ref);
14477
14480
  });
@@ -14481,7 +14484,7 @@ function createCollection(name) {
14481
14484
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
14482
14485
  function useCollection2(scope) {
14483
14486
  const context = useCollectionContext2(name + "CollectionConsumer", scope);
14484
- const getItems = import_react2.default.useCallback(() => {
14487
+ const getItems = import_react3.default.useCallback(() => {
14485
14488
  const collectionNode = context.collectionRef.current;
14486
14489
  if (!collectionNode) return [];
14487
14490
  const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
@@ -15671,11 +15674,11 @@ var style_module_default4 = {
15671
15674
  };
15672
15675
 
15673
15676
  // src/components/Toast/index.tsx
15674
- var import_react5 = require("react");
15677
+ var import_react6 = require("react");
15675
15678
 
15676
15679
  // src/components/Typography/Set/Paragraph.tsx
15677
15680
  var import_clsx3 = __toESM(require("clsx"));
15678
- var import_react4 = require("react");
15681
+ var import_react5 = require("react");
15679
15682
 
15680
15683
  // src/components/Typography/utils.ts
15681
15684
  var import_cva4 = require("cva");
@@ -15718,7 +15721,7 @@ var colorVariants = (0, import_cva4.cva)({
15718
15721
 
15719
15722
  // src/components/Typography/Set/Paragraph.tsx
15720
15723
  var import_jsx_runtime192 = require("react/jsx-runtime");
15721
- var Paragraph = (0, import_react4.forwardRef)(
15724
+ var Paragraph = (0, import_react5.forwardRef)(
15722
15725
  ({
15723
15726
  size: size4,
15724
15727
  type,
@@ -16225,26 +16228,26 @@ var loading_default = {
16225
16228
  // src/components/Toast/index.tsx
16226
16229
  var import_constants2 = require("date-fns/constants");
16227
16230
  var import_jsx_runtime193 = require("react/jsx-runtime");
16228
- var import_react6 = require("react");
16231
+ var import_react7 = require("react");
16229
16232
  var Toaster = /* @__PURE__ */ __name(() => {
16230
16233
  const list = (0, import_recoil2.useRecoilValue)(toastAtom);
16231
16234
  return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(Provider, { children: [
16232
- list.map((props) => /* @__PURE__ */ (0, import_react6.createElement)(SingleToast, { ...props, key: props.toastId })),
16235
+ list.map((props) => /* @__PURE__ */ (0, import_react7.createElement)(SingleToast, { ...props, key: props.toastId })),
16233
16236
  /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Viewport, { className: style_module_default4.ToastViewport })
16234
16237
  ] });
16235
16238
  }, "Toaster");
16236
16239
  var SingleToast = /* @__PURE__ */ __name((props) => {
16237
16240
  const setToast = (0, import_recoil2.useSetRecoilState)(toastAtom);
16238
- const timerRef = (0, import_react5.useRef)();
16241
+ const timerRef = (0, import_react6.useRef)();
16239
16242
  const { message, icon, button, timer, toastId, isLoading } = props;
16240
- const [isOpen, setIsOpen] = (0, import_react5.useState)(true);
16241
- const lottieRef = (0, import_react5.useRef)(null);
16242
- const toastSuccess = (0, import_react5.useRef)(false);
16243
+ const [isOpen, setIsOpen] = (0, import_react6.useState)(true);
16244
+ const lottieRef = (0, import_react6.useRef)(null);
16245
+ const toastSuccess = (0, import_react6.useRef)(false);
16243
16246
  const removeToast = /* @__PURE__ */ __name(() => {
16244
16247
  setToast((prev) => prev.filter((toast) => toast.toastId !== toastId));
16245
16248
  timerRef.current && clearTimeout(timerRef.current);
16246
16249
  }, "removeToast");
16247
- (0, import_react5.useEffect)(() => {
16250
+ (0, import_react6.useEffect)(() => {
16248
16251
  if (isLoading && !toastSuccess.current) {
16249
16252
  if (lottieRef.current) {
16250
16253
  import_lottie_web.default.loadAnimation({
@@ -16310,10 +16313,10 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
16310
16313
  }, "SingleToast");
16311
16314
 
16312
16315
  // src/components/Typography/Set/Heading.tsx
16313
- var import_react7 = require("react");
16316
+ var import_react8 = require("react");
16314
16317
  var import_clsx4 = __toESM(require("clsx"));
16315
16318
  var import_jsx_runtime194 = require("react/jsx-runtime");
16316
- var Heading = (0, import_react7.forwardRef)(
16319
+ var Heading = (0, import_react8.forwardRef)(
16317
16320
  ({ size: size4, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
16318
16321
  const Element2 = as || `h${size4}`;
16319
16322
  return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
@@ -16334,9 +16337,9 @@ var Heading = (0, import_react7.forwardRef)(
16334
16337
 
16335
16338
  // src/components/Typography/Set/Caption.tsx
16336
16339
  var import_clsx5 = __toESM(require("clsx"));
16337
- var import_react8 = require("react");
16340
+ var import_react9 = require("react");
16338
16341
  var import_jsx_runtime195 = require("react/jsx-runtime");
16339
- var Caption = (0, import_react8.forwardRef)(
16342
+ var Caption = (0, import_react9.forwardRef)(
16340
16343
  ({
16341
16344
  children,
16342
16345
  size: size4,
@@ -16366,10 +16369,10 @@ var Caption = (0, import_react8.forwardRef)(
16366
16369
  Caption.displayName = "Caption";
16367
16370
 
16368
16371
  // src/components/Typography/Set/Title.tsx
16369
- var import_react9 = require("react");
16372
+ var import_react10 = require("react");
16370
16373
  var import_clsx6 = __toESM(require("clsx"));
16371
16374
  var import_jsx_runtime196 = require("react/jsx-runtime");
16372
- var Title2 = (0, import_react9.forwardRef)(
16375
+ var Title2 = (0, import_react10.forwardRef)(
16373
16376
  ({
16374
16377
  weight,
16375
16378
  size: size4,
@@ -16398,9 +16401,9 @@ var Title2 = (0, import_react9.forwardRef)(
16398
16401
 
16399
16402
  // src/components/Typography/Set/Display.tsx
16400
16403
  var import_clsx7 = __toESM(require("clsx"));
16401
- var import_react10 = require("react");
16404
+ var import_react11 = require("react");
16402
16405
  var import_jsx_runtime197 = require("react/jsx-runtime");
16403
- var Display = (0, import_react10.forwardRef)(
16406
+ var Display = (0, import_react11.forwardRef)(
16404
16407
  ({
16405
16408
  size: size4,
16406
16409
  type,
@@ -16449,7 +16452,7 @@ var { MediaContextProvider, Media } = AppMedia;
16449
16452
 
16450
16453
  // src/components/Typography/Responsive/index.tsx
16451
16454
  var import_jsx_runtime198 = require("react/jsx-runtime");
16452
- var import_react11 = require("react");
16455
+ var import_react12 = require("react");
16453
16456
  var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
16454
16457
  const commonProps = {
16455
16458
  ...rest,
@@ -16510,7 +16513,7 @@ var Typography = /* @__PURE__ */ __name((props) => {
16510
16513
  const variable = props[breakPointKey];
16511
16514
  const isExistVariable = !!variable;
16512
16515
  if (isExistVariable) {
16513
- return /* @__PURE__ */ (0, import_react11.createElement)(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(TypographyImpl, { ...variable, text: variable.text || children }));
16516
+ return /* @__PURE__ */ (0, import_react12.createElement)(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(TypographyImpl, { ...variable, text: variable.text || children }));
16514
16517
  }
16515
16518
  return null;
16516
16519
  }) })
@@ -16562,7 +16565,7 @@ var style_module_default7 = {
16562
16565
  };
16563
16566
 
16564
16567
  // src/components/TextButton/index.tsx
16565
- var import_react12 = require("react");
16568
+ var import_react13 = require("react");
16566
16569
  var import_clsx8 = __toESM(require("clsx"));
16567
16570
  var import_jsx_runtime199 = require("react/jsx-runtime");
16568
16571
  var textButtonLevelIconTypeMap = {
@@ -16601,7 +16604,7 @@ var textButtonVariants = (0, import_cva5.cva)({
16601
16604
  }
16602
16605
  }
16603
16606
  });
16604
- var TextButton = (0, import_react12.forwardRef)(
16607
+ var TextButton = (0, import_react13.forwardRef)(
16605
16608
  ({
16606
16609
  level = "primary",
16607
16610
  thick = false,
@@ -16627,8 +16630,8 @@ var TextButton = (0, import_react12.forwardRef)(
16627
16630
  rightIcon && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Icon, { ...getIconProps(rightIcon) })
16628
16631
  ] }), "renderContent");
16629
16632
  if (asChild) {
16630
- const parent = import_react12.Children.only(children);
16631
- return (0, import_react12.cloneElement)(
16633
+ const parent = import_react13.Children.only(children);
16634
+ return (0, import_react13.cloneElement)(
16632
16635
  parent,
16633
16636
  {
16634
16637
  ...rest,
@@ -16784,7 +16787,7 @@ var Popover = Object.assign(PopoverRoot, {
16784
16787
 
16785
16788
  // src/components/Tooltip/index.tsx
16786
16789
  var import_radix_ui2 = require("radix-ui");
16787
- var import_react13 = require("react");
16790
+ var import_react14 = require("react");
16788
16791
 
16789
16792
  // src/components/Tooltip/style.module.scss
16790
16793
  var style_module_default8 = {
@@ -16801,7 +16804,7 @@ var tooltipVariants = (0, import_cva7.cva)({ base: [style_module_default8.toolti
16801
16804
  var TooltipProvider = import_radix_ui2.Tooltip.Provider;
16802
16805
  var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_radix_ui2.Tooltip.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
16803
16806
  var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_radix_ui2.Tooltip.Trigger, { asChild: true, children: by }), "TooltipTrigger");
16804
- var TooltipContent = (0, import_react13.forwardRef)(
16807
+ var TooltipContent = (0, import_react14.forwardRef)(
16805
16808
  ({
16806
16809
  description,
16807
16810
  position = "top",
@@ -16830,7 +16833,7 @@ var Tooltip = Object.assign(TooltipRoot, {
16830
16833
 
16831
16834
  // src/components/IconButton/index.tsx
16832
16835
  var import_cva8 = require("cva");
16833
- var import_react14 = require("react");
16836
+ var import_react15 = require("react");
16834
16837
  var import_clsx11 = __toESM(require("clsx"));
16835
16838
 
16836
16839
  // src/components/IconButton/style.module.scss
@@ -16925,7 +16928,7 @@ var iconButtonVariants = (0, import_cva8.cva)({
16925
16928
  }
16926
16929
  }
16927
16930
  });
16928
- var IconButton = (0, import_react14.forwardRef)(
16931
+ var IconButton = (0, import_react15.forwardRef)(
16929
16932
  ({
16930
16933
  asChild,
16931
16934
  level = "primary",
@@ -16973,11 +16976,11 @@ var style_module_default10 = {
16973
16976
  };
16974
16977
 
16975
16978
  // src/components/CheckBox/index.tsx
16976
- var import_react16 = require("react");
16979
+ var import_react17 = require("react");
16977
16980
  var import_clsx13 = __toESM(require("clsx"));
16978
16981
 
16979
16982
  // src/components/Label/index.tsx
16980
- var import_react15 = require("react");
16983
+ var import_react16 = require("react");
16981
16984
  var import_radix_ui4 = require("radix-ui");
16982
16985
  var import_clsx12 = __toESM(require("clsx"));
16983
16986
 
@@ -17030,7 +17033,7 @@ var defaultLabelVariants = (0, import_cva9.cva)({
17030
17033
  }
17031
17034
  }
17032
17035
  });
17033
- var Label = (0, import_react15.forwardRef)(
17036
+ var Label = (0, import_react16.forwardRef)(
17034
17037
  ({
17035
17038
  className,
17036
17039
  level = "primary",
@@ -17058,7 +17061,7 @@ Label.displayName = "Label";
17058
17061
 
17059
17062
  // src/components/CheckBox/index.tsx
17060
17063
  var import_jsx_runtime204 = require("react/jsx-runtime");
17061
- var Checkbox = (0, import_react16.forwardRef)(
17064
+ var Checkbox = (0, import_react17.forwardRef)(
17062
17065
  ({ className, label, description, ...props }, ref) => {
17063
17066
  const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(Label, { position: "right", htmlFor: props.id, children: [
17064
17067
  /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)("div", { className: style_module_default10["label-wrapper"], children: [
@@ -17074,7 +17077,7 @@ var Checkbox = (0, import_react16.forwardRef)(
17074
17077
  // src/components/Radio/index.tsx
17075
17078
  var import_radix_ui6 = require("radix-ui");
17076
17079
  var import_clsx14 = __toESM(require("clsx"));
17077
- var import_react17 = require("react");
17080
+ var import_react18 = require("react");
17078
17081
 
17079
17082
  // src/components/Radio/style.module.scss
17080
17083
  var style_module_default12 = {
@@ -17087,9 +17090,9 @@ var style_module_default12 = {
17087
17090
  // src/components/Radio/index.tsx
17088
17091
  var import_jsx_runtime205 = require("react/jsx-runtime");
17089
17092
  var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
17090
- var RadioRoot = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(import_radix_ui6.RadioGroup.Root, { ref, className, ...props }));
17093
+ var RadioRoot = (0, import_react18.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(import_radix_ui6.RadioGroup.Root, { ref, className, ...props }));
17091
17094
  RadioRoot.displayName = "RadioRoot";
17092
- var RadioItem = (0, import_react17.forwardRef)(
17095
+ var RadioItem = (0, import_react18.forwardRef)(
17093
17096
  ({ className, label, description, ...props }, ref) => {
17094
17097
  const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(Label, { position: "right", children: [
17095
17098
  /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("div", { className: style_module_default12["label-wrapper"], children: [
@@ -17116,28 +17119,29 @@ var Radio = Object.assign(RadioRoot, {
17116
17119
  });
17117
17120
 
17118
17121
  // src/components/Textfield/index.tsx
17119
- var import_react18 = require("react");
17122
+ var import_react19 = require("react");
17120
17123
 
17121
17124
  // src/components/Textfield/style.module.scss
17122
17125
  var style_module_default13 = {
17123
- "textfield-container": "_textfield-container_15lqz_1",
17124
- "textfield": "_textfield_15lqz_1",
17125
- "label": "_label_15lqz_35",
17126
- "label-out-textfield": "_label-out-textfield_15lqz_39",
17127
- "white": "_white_15lqz_43",
17128
- "gray": "_gray_15lqz_46",
17129
- "label-in": "_label-in_15lqz_58",
17130
- "label-out": "_label-out_15lqz_39",
17131
- "input-wrapper": "_input-wrapper_15lqz_68",
17132
- "input": "_input_15lqz_68",
17133
- "label-out-input": "_label-out-input_15lqz_104",
17134
- "input-action-buttons": "_input-action-buttons_15lqz_108",
17135
- "action-button": "_action-button_15lqz_114",
17136
- "error": "_error_15lqz_121",
17137
- "error-message": "_error-message_15lqz_137",
17138
- "error-wrapper": "_error-wrapper_15lqz_141",
17139
- "footer": "_footer_15lqz_150",
17140
- "character": "_character_15lqz_158"
17126
+ "textfield-container": "_textfield-container_ogykf_1",
17127
+ "textfield": "_textfield_ogykf_1",
17128
+ "label": "_label_ogykf_38",
17129
+ "label-out-textfield": "_label-out-textfield_ogykf_42",
17130
+ "white": "_white_ogykf_46",
17131
+ "gray": "_gray_ogykf_49",
17132
+ "label-in": "_label-in_ogykf_61",
17133
+ "label-out": "_label-out_ogykf_42",
17134
+ "label-visually-hidden": "_label-visually-hidden_ogykf_71",
17135
+ "input-wrapper": "_input-wrapper_ogykf_82",
17136
+ "input": "_input_ogykf_82",
17137
+ "label-out-input": "_label-out-input_ogykf_118",
17138
+ "input-action-buttons": "_input-action-buttons_ogykf_122",
17139
+ "action-button": "_action-button_ogykf_128",
17140
+ "error": "_error_ogykf_135",
17141
+ "error-message": "_error-message_ogykf_151",
17142
+ "error-wrapper": "_error-wrapper_ogykf_155",
17143
+ "footer": "_footer_ogykf_164",
17144
+ "character": "_character_ogykf_172"
17141
17145
  };
17142
17146
 
17143
17147
  // src/components/Textfield/index.tsx
@@ -17154,9 +17158,9 @@ var defaultTextfieldVariants = (0, import_cva10.cva)({
17154
17158
  }
17155
17159
  }
17156
17160
  });
17157
- var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17161
+ var Textfield = (0, import_react19.forwardRef)((props, ref) => {
17158
17162
  const {
17159
- id = (0, import_react18.useId)(),
17163
+ id = (0, import_react19.useId)(),
17160
17164
  type,
17161
17165
  label,
17162
17166
  value: controlledValue,
@@ -17170,9 +17174,9 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17170
17174
  onClear,
17171
17175
  ...rest
17172
17176
  } = props;
17173
- const inputRef = (0, import_react18.useRef)(null);
17174
- const [value, setValue] = (0, import_react18.useState)("");
17175
- const [deidentifiy, setDeidentifiy] = (0, import_react18.useState)(true);
17177
+ const inputRef = (0, import_react19.useRef)(null);
17178
+ const [value, setValue] = (0, import_react19.useState)("");
17179
+ const [deidentifiy, setDeidentifiy] = (0, import_react19.useState)(true);
17176
17180
  const isControlled = controlledValue !== void 0;
17177
17181
  const isPassword = type === "password";
17178
17182
  const isDeidentified = isPassword && deidentifiy;
@@ -17212,8 +17216,8 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17212
17216
  inputRef.current.setSelectionRange(length, length);
17213
17217
  }
17214
17218
  }, "handleDeidentify");
17215
- (0, import_react18.useImperativeHandle)(ref, () => inputRef.current);
17216
- return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], children: [
17219
+ (0, import_react19.useImperativeHandle)(ref, () => inputRef.current);
17220
+ return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], "data-disabled": disabled, children: [
17217
17221
  /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
17218
17222
  "div",
17219
17223
  {
@@ -17227,7 +17231,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17227
17231
  "input",
17228
17232
  {
17229
17233
  className: (0, import_clsx15.default)(style_module_default13.input, {
17230
- [style_module_default13["label-out-input"]]: !label || labelType === "out"
17234
+ [style_module_default13["label-out-input"]]: !label || labelType === "out" || labelType === "visually-hidden"
17231
17235
  }),
17232
17236
  type: isDeidentified ? "password" : "text",
17233
17237
  placeholder,
@@ -17243,7 +17247,8 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17243
17247
  {
17244
17248
  className: (0, import_clsx15.default)(style_module_default13.label, {
17245
17249
  [style_module_default13["label-in"]]: labelType === "in",
17246
- [style_module_default13["label-out"]]: !label || labelType === "out"
17250
+ [style_module_default13["label-out"]]: !label || labelType === "out",
17251
+ [style_module_default13["label-visually-hidden"]]: labelType === "visually-hidden"
17247
17252
  }),
17248
17253
  size: label?.type === "out" ? "s" : void 0,
17249
17254
  htmlFor: id,
@@ -17317,7 +17322,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
17317
17322
  Textfield.displayName = "Textfield";
17318
17323
 
17319
17324
  // src/components/Slider/index.tsx
17320
- var import_react19 = require("react");
17325
+ var import_react20 = require("react");
17321
17326
 
17322
17327
  // src/components/Slider/style.module.scss
17323
17328
  var style_module_default14 = {
@@ -17335,7 +17340,7 @@ var style_module_default14 = {
17335
17340
  // src/components/Slider/index.tsx
17336
17341
  var import_radix_ui7 = require("radix-ui");
17337
17342
  var import_jsx_runtime207 = require("react/jsx-runtime");
17338
- var SliderRoot = (0, import_react19.forwardRef)(
17343
+ var SliderRoot = (0, import_react20.forwardRef)(
17339
17344
  (props, ref) => {
17340
17345
  const { label, tooltip, rangeLeft, rangeRight, min: min2, max: max2, step = 50, ...rest } = props;
17341
17346
  return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_jsx_runtime207.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(Tooltip.Provider, { children: [
@@ -17396,11 +17401,11 @@ var style_module_default15 = {
17396
17401
  };
17397
17402
 
17398
17403
  // src/components/Select/index.tsx
17399
- var import_react20 = require("react");
17404
+ var import_react21 = require("react");
17400
17405
  var import_clsx16 = __toESM(require("clsx"));
17401
17406
  var import_jsx_runtime208 = require("react/jsx-runtime");
17402
17407
  var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { className: style_module_default15.badgeContainer, children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Caption, { className: style_module_default15.badge, size: 2, type: "normal", weight: "medium", children }) }), "Badge");
17403
- var SelectContent = (0, import_react20.forwardRef)(
17408
+ var SelectContent = (0, import_react21.forwardRef)(
17404
17409
  (props, ref) => {
17405
17410
  const { id, isResponsive, popSide, sideOffset, listLabel, children, container } = props;
17406
17411
  return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_radix_ui8.Select.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
@@ -17452,7 +17457,7 @@ var SelectContent = (0, import_react20.forwardRef)(
17452
17457
  ) });
17453
17458
  }
17454
17459
  );
17455
- var SelectRoot = (0, import_react20.forwardRef)(
17460
+ var SelectRoot = (0, import_react21.forwardRef)(
17456
17461
  (props, ref) => {
17457
17462
  const {
17458
17463
  id,
@@ -17472,8 +17477,8 @@ var SelectRoot = (0, import_react20.forwardRef)(
17472
17477
  ...rest
17473
17478
  } = props;
17474
17479
  const contentProps = { id, isResponsive, popSide, sideOffset, listLabel, children, container };
17475
- const [isOpen, setIsOpen] = (0, import_react20.useState)(false);
17476
- (0, import_react20.useEffect)(() => {
17480
+ const [isOpen, setIsOpen] = (0, import_react21.useState)(false);
17481
+ (0, import_react21.useEffect)(() => {
17477
17482
  setIsOpen(open);
17478
17483
  }, [open]);
17479
17484
  return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)("div", { children: [
@@ -17541,18 +17546,18 @@ var style_module_default16 = {
17541
17546
  };
17542
17547
 
17543
17548
  // src/components/List/index.tsx
17544
- var import_react22 = require("react");
17549
+ var import_react23 = require("react");
17545
17550
 
17546
17551
  // src/hooks/collection.tsx
17547
- var import_react21 = require("react");
17552
+ var import_react22 = require("react");
17548
17553
  var import_jsx_runtime209 = require("react/jsx-runtime");
17549
- var CollectionContext = (0, import_react21.createContext)(void 0);
17554
+ var CollectionContext = (0, import_react22.createContext)(void 0);
17550
17555
  var CollectionProvider = /* @__PURE__ */ __name(({ value, onChangeValue, children }) => {
17551
- const contextValue = (0, import_react21.useMemo)(() => ({ value, onChangeValue }), [value, onChangeValue]);
17556
+ const contextValue = (0, import_react22.useMemo)(() => ({ value, onChangeValue }), [value, onChangeValue]);
17552
17557
  return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(CollectionContext.Provider, { value: contextValue, children });
17553
17558
  }, "CollectionProvider");
17554
17559
  var useCollectionContext = /* @__PURE__ */ __name(() => {
17555
- const context = (0, import_react21.useContext)(CollectionContext);
17560
+ const context = (0, import_react22.useContext)(CollectionContext);
17556
17561
  if (!context) {
17557
17562
  throw new Error("useCollectionContext must be used within a CollectionProvider");
17558
17563
  }
@@ -17566,7 +17571,7 @@ var ListRoot = /* @__PURE__ */ __name(({ children, className, ...props }) => {
17566
17571
  return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(CollectionProvider, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("ul", { className: (0, import_clsx17.default)(style_module_default16.list, className), children }) });
17567
17572
  }, "ListRoot");
17568
17573
  var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => {
17569
- const [isFocused, setIsFocused] = (0, import_react22.useState)(false);
17574
+ const [isFocused, setIsFocused] = (0, import_react23.useState)(false);
17570
17575
  const { value: contextValue, onChangeValue } = useCollectionContext();
17571
17576
  const isSelected = contextValue === value;
17572
17577
  const iconProps = isSelected ? { name: "check-mark", type: "brand-label-primary", thick: true } : icon ? icon : {};
@@ -19577,9 +19582,9 @@ var computePosition2 = /* @__PURE__ */ __name((reference, floating, options) =>
19577
19582
 
19578
19583
  // ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
19579
19584
  var React21 = __toESM(require("react"), 1);
19580
- var import_react23 = require("react");
19585
+ var import_react24 = require("react");
19581
19586
  var ReactDOM4 = __toESM(require("react-dom"), 1);
19582
- var index = typeof document !== "undefined" ? import_react23.useLayoutEffect : import_react23.useEffect;
19587
+ var index = typeof document !== "undefined" ? import_react24.useLayoutEffect : import_react24.useEffect;
19583
19588
  function deepEqual(a, b) {
19584
19589
  if (a === b) {
19585
19590
  return true;
@@ -20365,9 +20370,9 @@ function assignRef(ref, value) {
20365
20370
  __name(assignRef, "assignRef");
20366
20371
 
20367
20372
  // ../../node_modules/use-callback-ref/dist/es2015/useRef.js
20368
- var import_react24 = require("react");
20373
+ var import_react25 = require("react");
20369
20374
  function useCallbackRef2(initialValue, callback) {
20370
- var ref = (0, import_react24.useState)(function() {
20375
+ var ref = (0, import_react25.useState)(function() {
20371
20376
  return {
20372
20377
  // value
20373
20378
  value: initialValue,
@@ -21322,7 +21327,7 @@ var Arrow22 = PopoverArrow;
21322
21327
  // src/components/coach-mark/primitive/index.tsx
21323
21328
  var import_cva11 = require("cva");
21324
21329
  var import_clsx18 = __toESM(require("clsx"));
21325
- var import_react25 = require("react");
21330
+ var import_react26 = require("react");
21326
21331
 
21327
21332
  // src/components/coach-mark/primitive/style.module.scss
21328
21333
  var style_module_default17 = {
@@ -21364,7 +21369,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
21364
21369
  )
21365
21370
  }
21366
21371
  ), "PrimitiveCoachMarkAnchor");
21367
- var PrimitiveCoachMarkContent = (0, import_react25.forwardRef)(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Portal2, { container, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
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)(
21368
21373
  Content2,
21369
21374
  {
21370
21375
  ref,
@@ -21383,7 +21388,7 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
21383
21388
  });
21384
21389
 
21385
21390
  // src/components/coach-mark/compact/index.tsx
21386
- var import_react27 = require("react");
21391
+ var import_react28 = require("react");
21387
21392
 
21388
21393
  // src/components/coach-mark/compact/style.module.scss
21389
21394
  var style_module_default18 = {
@@ -21400,7 +21405,7 @@ var import_clsx19 = __toESM(require("clsx"));
21400
21405
  var import_cva13 = require("cva");
21401
21406
 
21402
21407
  // src/components/Tag/index.tsx
21403
- var import_react26 = require("react");
21408
+ var import_react27 = require("react");
21404
21409
 
21405
21410
  // src/components/Tag/style.module.scss
21406
21411
  var style_module_default19 = {
@@ -21647,7 +21652,7 @@ var tagVariants = (0, import_cva12.cva)({
21647
21652
  }
21648
21653
  }
21649
21654
  });
21650
- var Tag = (0, import_react26.forwardRef)(
21655
+ var Tag = (0, import_react27.forwardRef)(
21651
21656
  ({
21652
21657
  children,
21653
21658
  color = "neutral-label-static-primary",
@@ -21689,7 +21694,7 @@ var compactCoachMarkVariants = (0, import_cva13.cva)({
21689
21694
  var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
21690
21695
  return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(PrimitiveCoachMark, { ...props });
21691
21696
  }, "CompactCoachMarkRoot");
21692
- var CompactCoachMarkContent = (0, import_react27.forwardRef)(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
21697
+ var CompactCoachMarkContent = (0, import_react28.forwardRef)(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
21693
21698
  PrimitiveCoachMark.Content,
21694
21699
  {
21695
21700
  ref,
@@ -21734,7 +21739,7 @@ var style_module_default20 = {
21734
21739
  };
21735
21740
 
21736
21741
  // src/components/coach-mark/main/index.tsx
21737
- var import_react28 = require("react");
21742
+ var import_react29 = require("react");
21738
21743
  var import_cva14 = require("cva");
21739
21744
  var import_clsx20 = __toESM(require("clsx"));
21740
21745
 
@@ -21843,8 +21848,8 @@ var coachMarkLevelButtonLevelMap = {
21843
21848
  };
21844
21849
  var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
21845
21850
  const { children } = props;
21846
- (0, import_react28.useEffect)(() => {
21847
- if ((0, import_react28.isValidElement)(children) && "image" in children.props) {
21851
+ (0, import_react29.useEffect)(() => {
21852
+ if ((0, import_react29.isValidElement)(children) && "image" in children.props) {
21848
21853
  const imageProps = children.props.image;
21849
21854
  if (imageProps?.src) {
21850
21855
  const img = new Image();
@@ -21854,7 +21859,7 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
21854
21859
  }, []);
21855
21860
  return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(PrimitiveCoachMark, { ...props });
21856
21861
  }, "CoachMarkRoot");
21857
- var CoachMarkContent = (0, import_react28.forwardRef)(
21862
+ var CoachMarkContent = (0, import_react29.forwardRef)(
21858
21863
  ({
21859
21864
  level = "brand",
21860
21865
  width,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "scripts": {
5
5
  "dev": "next dev",
6
6
  "start": "next start",