@zenkigen-inc/component-ui 1.9.10 → 1.10.0

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.
@@ -8,6 +8,7 @@ type Props = {
8
8
  size?: Size;
9
9
  color?: Color;
10
10
  isDisabled?: boolean;
11
+ className?: string;
11
12
  };
12
13
  export declare const Icon: ({ size, isDisabled, ...props }: Props) => import("react").JSX.Element;
13
14
  export {};
package/dist/index.esm.js CHANGED
@@ -5,29 +5,22 @@ import aa, { useState, useCallback, useEffect, createContext, useContext, useRef
5
5
  import { iconElements } from '@zenkigen-inc/component-icons';
6
6
 
7
7
  function _extends() {
8
- _extends = Object.assign ? Object.assign.bind() : function (target) {
9
- for (var i = 1; i < arguments.length; i++) {
10
- var source = arguments[i];
11
- for (var key in source) {
12
- if (Object.prototype.hasOwnProperty.call(source, key)) {
13
- target[key] = source[key];
14
- }
15
- }
8
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
9
+ for (var e = 1; e < arguments.length; e++) {
10
+ var t = arguments[e];
11
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
16
12
  }
17
- return target;
18
- };
19
- return _extends.apply(this, arguments);
13
+ return n;
14
+ }, _extends.apply(null, arguments);
20
15
  }
21
- function _objectWithoutPropertiesLoose(source, excluded) {
22
- if (source == null) return {};
23
- var target = {};
24
- for (var key in source) {
25
- if (Object.prototype.hasOwnProperty.call(source, key)) {
26
- if (excluded.indexOf(key) >= 0) continue;
27
- target[key] = source[key];
28
- }
16
+ function _objectWithoutPropertiesLoose(r, e) {
17
+ if (null == r) return {};
18
+ var t = {};
19
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
20
+ if (e.indexOf(n) >= 0) continue;
21
+ t[n] = r[n];
29
22
  }
30
- return target;
23
+ return t;
31
24
  }
32
25
 
33
26
  var _excluded$8 = ["size"];
@@ -40,11 +33,11 @@ function Avatar(_ref) {
40
33
  size = _ref$size === void 0 ? 'medium' : _ref$size,
41
34
  props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
42
35
  var classes = clsx('flex items-center justify-center rounded-full text-textOnColor', (_clsx = {
43
- 'w-16 h-16 typography-label1regular': size === 'x-large',
44
- 'w-12 h-12 typography-label2regular': size === 'large',
45
- 'w-10 h-10 typography-label2regular': size === 'medium',
46
- 'w-8 h-8 typography-label4regular': size === 'small',
47
- 'w-6 h-6 typography-label4regular': size === 'x-small',
36
+ 'w-16 h-16 typography-label16regular': size === 'x-large',
37
+ 'w-12 h-12 typography-label14regular': size === 'large',
38
+ 'w-10 h-10 typography-label14regular': size === 'medium',
39
+ 'w-8 h-8 typography-label11regular': size === 'small',
40
+ 'w-6 h-6 typography-label11regular': size === 'x-small',
48
41
  'bg-disabled01': props.isDisabled,
49
42
  'bg-icon01': props.userId == null
50
43
  }, _clsx[userColors[((_props$userId = props.userId) != null ? _props$userId : 0) % userColors.length]] = props.userId != null && !((_props$isDisabled = props.isDisabled) != null ? _props$isDisabled : false), _clsx));
@@ -70,7 +63,7 @@ function Breadcrumb(_ref) {
70
63
  return /*#__PURE__*/jsx("nav", {
71
64
  "aria-label": "breadcrumb",
72
65
  children: /*#__PURE__*/jsx("ul", {
73
- className: "typography-label2regular flex flex-wrap gap-2 whitespace-nowrap text-text01",
66
+ className: "typography-label14regular flex flex-wrap gap-2 whitespace-nowrap text-text01",
74
67
  children: children
75
68
  })
76
69
  });
@@ -99,7 +92,7 @@ var Button = function Button(_ref) {
99
92
  'h-8 px-3': size === 'medium',
100
93
  'h-10 px-4 leading-[24px]': size === 'large',
101
94
  'inline-flex': elementAs === 'a'
102
- }, _clsx[buttonColors[variant].selected] = isSelected, _clsx[buttonColors[variant].base] = !isSelected, _clsx['hover:text-textOnColor active:text-textOnColor [&:hover>*]:fill-iconOnColor [&:active>*]:fill-iconOnColor'] = isSelected && variant !== 'outline' && variant !== 'text', _clsx['pointer-events-none'] = isDisabled, _clsx['rounded-button'] = borderRadius == null, _clsx['typography-label1regular'] = size === 'large', _clsx['typography-label2regular'] = size !== 'large', _clsx));
95
+ }, _clsx[buttonColors[variant].selected] = isSelected, _clsx[buttonColors[variant].base] = !isSelected, _clsx['hover:text-textOnColor active:text-textOnColor [&:hover>*]:fill-iconOnColor [&:active>*]:fill-iconOnColor'] = isSelected && variant !== 'outline' && variant !== 'text', _clsx['pointer-events-none'] = isDisabled, _clsx['rounded-button'] = borderRadius == null, _clsx['typography-label16regular'] = size === 'large', _clsx['typography-label14regular'] = size !== 'large', _clsx));
103
96
  var Component = elementAs != null ? elementAs : 'button';
104
97
  return /*#__PURE__*/jsxs(Component, _extends({
105
98
  className: baseClasses,
@@ -193,7 +186,7 @@ function Checkbox(_ref) {
193
186
  var hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-[1px]', {
194
187
  'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
195
188
  });
196
- var labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] break-all', {
189
+ var labelClasses = clsx$1('typography-label14regular ml-2 flex-[1_0_0] break-all', {
197
190
  'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
198
191
  'cursor-pointer text-text01': !isDisabled
199
192
  });
@@ -31176,7 +31169,7 @@ var Icon = function Icon(_ref) {
31176
31169
  props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
31177
31170
  var classes = clsx('inline-block shrink-0', (_clsx = {
31178
31171
  'fill-disabled01': isDisabled
31179
- }, _clsx[iconColors.icon01] = !isDisabled && props.color === 'icon01', _clsx[iconColors.icon01Dark] = !isDisabled && props.color === 'icon01Dark', _clsx[iconColors.icon02] = !isDisabled && props.color === 'icon02', _clsx[iconColors.icon02Dark] = !isDisabled && props.color === 'icon02Dark', _clsx[iconColors.icon03] = !isDisabled && props.color === 'icon03', _clsx[iconColors.icon03Dark] = !isDisabled && props.color === 'icon03Dark', _clsx[iconColors.iconOnColor] = !isDisabled && props.color === 'iconOnColor', _clsx['w-3 h-3'] = size === 'x-small', _clsx['w-4 h-4'] = size === 'small', _clsx['w-6 h-6'] = size === 'medium', _clsx['w-8 h-8'] = size === 'large', _clsx['w-10 h-10'] = size === 'x-large', _clsx));
31172
+ }, _clsx[iconColors.icon01] = !isDisabled && props.color === 'icon01', _clsx[iconColors.icon01Dark] = !isDisabled && props.color === 'icon01Dark', _clsx[iconColors.icon02] = !isDisabled && props.color === 'icon02', _clsx[iconColors.icon02Dark] = !isDisabled && props.color === 'icon02Dark', _clsx[iconColors.icon03] = !isDisabled && props.color === 'icon03', _clsx[iconColors.icon03Dark] = !isDisabled && props.color === 'icon03Dark', _clsx[iconColors.iconOnColor] = !isDisabled && props.color === 'iconOnColor', _clsx['w-3 h-3'] = size === 'x-small', _clsx['w-4 h-4'] = size === 'small', _clsx['w-6 h-6'] = size === 'medium', _clsx['w-8 h-8'] = size === 'large', _clsx['w-10 h-10'] = size === 'x-large', _clsx), props.className);
31180
31173
  return /*#__PURE__*/jsx("span", {
31181
31174
  className: classes,
31182
31175
  children: iconElements[props.name]
@@ -31207,7 +31200,7 @@ function DropdownItem(_ref) {
31207
31200
  setIsVisible(false);
31208
31201
  onClick && onClick(event);
31209
31202
  };
31210
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31203
+ var itemClasses = clsx$1('typography-label14regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31211
31204
  'bg-uiBackground01 fill-icon01 text-interactive02': color === 'gray',
31212
31205
  'fill-supportDanger text-supportDanger': color === 'red'
31213
31206
  });
@@ -31316,9 +31309,9 @@ function Dropdown(_ref) {
31316
31309
  var labelClasses = clsx$1('flex items-center', {
31317
31310
  'mr-1': !isArrowHidden && size === 'x-small',
31318
31311
  'mr-2': !isArrowHidden && size !== 'x-small',
31319
- 'typography-label3regular': size === 'x-small',
31320
- 'typography-label2regular': size === 'small' || size === 'medium',
31321
- 'typography-label1regular': size === 'large'
31312
+ 'typography-label12regular': size === 'x-small',
31313
+ 'typography-label14regular': size === 'small' || size === 'medium',
31314
+ 'typography-label16regular': size === 'large'
31322
31315
  });
31323
31316
  return /*#__PURE__*/jsx(DropdownContext.Provider, {
31324
31317
  value: {
@@ -31442,7 +31435,7 @@ function IconButton(_ref) {
31442
31435
  _ref$isDisabled = _ref.isDisabled,
31443
31436
  isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
31444
31437
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
31445
- var baseClasses = clsx('typography-label1regular flex items-center justify-center gap-1 rounded', buttonColors[variant].base, buttonColors[variant].hover, buttonColors[variant].active, buttonColors[variant].disabled, focusVisible.normal, {
31438
+ var baseClasses = clsx('typography-label16regular flex items-center justify-center gap-1 rounded', buttonColors[variant].base, buttonColors[variant].hover, buttonColors[variant].active, buttonColors[variant].disabled, focusVisible.normal, {
31446
31439
  'h-4 w-4': size === 'small' && isNoPadding,
31447
31440
  'h-6 w-6': size === 'small' && !isNoPadding || (size === 'medium' || size === 'large') && isNoPadding,
31448
31441
  'h-8 w-8': size === 'medium' && !isNoPadding,
@@ -31638,7 +31631,7 @@ function NotificationInline(_ref) {
31638
31631
  _ref$size = _ref.size,
31639
31632
  size = _ref$size === void 0 ? 'medium' : _ref$size,
31640
31633
  props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
31641
- var wrapperClasses = clsx('typography-body2regular flex items-center gap-1 rounded text-text01', {
31634
+ var wrapperClasses = clsx('typography-body13regular flex items-center gap-1 rounded text-text01', {
31642
31635
  'bg-uiBackgroundError': state === 'attention',
31643
31636
  'bg-uiBackgroundWarning': state === 'warning',
31644
31637
  'bg-uiBackgroundBlue': state === 'information',
@@ -31694,8 +31687,14 @@ function PaginationButton(_ref) {
31694
31687
  _onClick = _ref.onClick;
31695
31688
  var _useContext = useContext(PaginationContext),
31696
31689
  currentPage = _useContext.currentPage;
31697
- return /*#__PURE__*/jsx(Button, {
31698
- variant: page === currentPage ? 'outline' : 'text',
31690
+ var buttonClasses = clsx('flex h-8 min-w-8 items-center justify-center rounded fill-icon01 px-1', 'typography-label14regular', 'text-interactive02', 'hover:bg-hover02', {
31691
+ 'border border-uiBorder02': page === currentPage
31692
+ }, {
31693
+ 'border-transparent': page !== currentPage
31694
+ });
31695
+ return /*#__PURE__*/jsx("button", {
31696
+ type: "button",
31697
+ className: buttonClasses,
31699
31698
  onClick: function onClick() {
31700
31699
  return _onClick(page);
31701
31700
  },
@@ -31726,13 +31725,14 @@ function Pagination(_ref) {
31726
31725
  currentPage: currentPage
31727
31726
  },
31728
31727
  children: /*#__PURE__*/jsxs("ul", {
31729
- className: "flex gap-2",
31728
+ className: "flex gap-1",
31730
31729
  children: [/*#__PURE__*/jsx("li", {
31730
+ className: "flex items-center",
31731
31731
  children: /*#__PURE__*/jsx(IconButton, {
31732
31732
  isDisabled: currentPage === START_PAGE,
31733
31733
  variant: "text",
31734
31734
  icon: "angle-left",
31735
- size: "medium",
31735
+ size: "small",
31736
31736
  onClick: function onClick() {
31737
31737
  return _onClick(currentPage - 1);
31738
31738
  }
@@ -31773,11 +31773,12 @@ function Pagination(_ref) {
31773
31773
  page: totalPage
31774
31774
  })
31775
31775
  }), /*#__PURE__*/jsx("li", {
31776
+ className: "flex items-center",
31776
31777
  children: /*#__PURE__*/jsx(IconButton, {
31777
31778
  isDisabled: currentPage === totalPage,
31778
31779
  variant: "text",
31779
31780
  icon: "angle-right",
31780
- size: "medium",
31781
+ size: "small",
31781
31782
  onClick: function onClick() {
31782
31783
  return _onClick(currentPage + 1);
31783
31784
  }
@@ -31805,7 +31806,7 @@ function SelectItem$1(_ref) {
31805
31806
  onChange == null || onChange(option);
31806
31807
  setIsOptionListOpen(false);
31807
31808
  };
31808
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31809
+ var itemClasses = clsx$1('typography-label14regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31809
31810
  'text-interactive01 fill-interactive01 bg-selectedUi': option.id === (selectedOption == null ? void 0 : selectedOption.id),
31810
31811
  'text-interactive02 fill-icon01 bg-uiBackground01': option.id !== (selectedOption == null ? void 0 : selectedOption.id)
31811
31812
  });
@@ -31870,7 +31871,7 @@ function SelectList$1(_ref) {
31870
31871
  'top-11': size === 'large',
31871
31872
  'border-solid border border-uiBorder01': variant === 'outline'
31872
31873
  });
31873
- var deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
31874
+ var deselectButtonClasses = clsx$1('typography-label14regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
31874
31875
  return /*#__PURE__*/jsxs("ul", {
31875
31876
  className: listClasses,
31876
31877
  style: {
@@ -31929,9 +31930,9 @@ function Select(_ref) {
31929
31930
  var labelClasses = clsx$1('overflow-hidden', {
31930
31931
  'mr-1': size === 'x-small',
31931
31932
  'mr-2': size !== 'x-small',
31932
- 'typography-label3regular': size === 'x-small',
31933
- 'typography-label2regular': size === 'small' || size === 'medium',
31934
- 'typography-label1regular': size === 'large'
31933
+ 'typography-label12regular': size === 'x-small',
31934
+ 'typography-label14regular': size === 'small' || size === 'medium',
31935
+ 'typography-label16regular': size === 'large'
31935
31936
  });
31936
31937
  return /*#__PURE__*/jsx(SelectContext.Provider, {
31937
31938
  value: {
@@ -32018,7 +32019,7 @@ function PaginationSelect(_ref) {
32018
32019
  children: [/*#__PURE__*/jsxs("div", {
32019
32020
  className: "flex items-center gap-x-2",
32020
32021
  children: [/*#__PURE__*/jsxs("div", {
32021
- className: "typography-label2regular text-text01",
32022
+ className: "typography-label14regular text-text01",
32022
32023
  children: [minCount > 0 && minCount + " - ", maxCount, countLabel]
32023
32024
  }), /*#__PURE__*/jsx(Select, {
32024
32025
  size: "medium",
@@ -32037,7 +32038,7 @@ function PaginationSelect(_ref) {
32037
32038
  }, option.id);
32038
32039
  })
32039
32040
  }), /*#__PURE__*/jsxs("div", {
32040
- className: "typography-label2regular text-text03",
32041
+ className: "typography-label14regular text-text03",
32041
32042
  children: ["/ ", pageMax, pageLabel]
32042
32043
  })]
32043
32044
  }), /*#__PURE__*/jsxs("div", {
@@ -32101,7 +32102,7 @@ function Radio(_ref) {
32101
32102
  var hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-full', {
32102
32103
  'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
32103
32104
  });
32104
- var labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] select-none break-all', {
32105
+ var labelClasses = clsx$1('typography-label14regular ml-2 flex-[1_0_0] select-none break-all', {
32105
32106
  'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32106
32107
  'cursor-pointer text-text01': !isDisabled
32107
32108
  });
@@ -32152,7 +32153,7 @@ var Search = /*#__PURE__*/forwardRef(function (_ref, ref) {
32152
32153
  }, {
32153
32154
  'h-10 px-4': size === 'large'
32154
32155
  });
32155
- var inputClasses = clsx('mx-2.5 h-full flex-1 text-text01 outline-0 placeholder:text-textPlaceholder', (_clsx = {}, _clsx['typography-label2regular'] = size === 'medium', _clsx['typography-label1regular'] = size === 'large', _clsx));
32156
+ var inputClasses = clsx('mx-2.5 h-full flex-1 text-text01 outline-0 placeholder:text-textPlaceholder', (_clsx = {}, _clsx['typography-label14regular'] = size === 'medium', _clsx['typography-label16regular'] = size === 'large', _clsx));
32156
32157
  return /*#__PURE__*/jsx("div", {
32157
32158
  className: "relative",
32158
32159
  ref: ref,
@@ -32191,7 +32192,7 @@ function SelectItem(_ref) {
32191
32192
  var children = _ref.children,
32192
32193
  isSortKey = _ref.isSortKey,
32193
32194
  onClickItem = _ref.onClickItem;
32194
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
32195
+ var itemClasses = clsx$1('typography-label14regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
32195
32196
  'bg-selectedUi fill-interactive01 text-interactive01': isSortKey,
32196
32197
  'bg-uiBackground01 fill-icon01 text-interactive02': !isSortKey
32197
32198
  });
@@ -32227,7 +32228,7 @@ function SelectList(_ref) {
32227
32228
  'top-11': size === 'large',
32228
32229
  'border-solid border border-uiBorder01': variant === 'outline'
32229
32230
  });
32230
- var deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
32231
+ var deselectButtonClasses = clsx$1('typography-label14regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
32231
32232
  return /*#__PURE__*/jsxs("ul", {
32232
32233
  className: listClasses,
32233
32234
  children: [/*#__PURE__*/jsx(SelectItem, {
@@ -32292,9 +32293,9 @@ function SelectSort(_ref) {
32292
32293
  });
32293
32294
  var buttonClasses = clsx$1('flex size-full items-center rounded', buttonColors[variant].hover, buttonColors[variant].active, buttonColors[variant].disabled, focusVisible.normal, (_clsx = {}, _clsx[buttonColors[variant].selected] = isSortKey, _clsx[buttonColors[variant].base] = !isSortKey, _clsx['px-2'] = size === 'x-small' || size === 'small', _clsx['px-4'] = size === 'medium' || size === 'large', _clsx['pointer-events-none'] = isDisabled, _clsx));
32294
32295
  var labelClasses = clsx$1('truncate', {
32295
- 'typography-label3regular': size === 'x-small',
32296
- 'typography-label2regular': size === 'small' || size === 'medium',
32297
- 'typography-label1regular': size === 'large',
32296
+ 'typography-label12regular': size === 'x-small',
32297
+ 'typography-label14regular': size === 'small' || size === 'medium',
32298
+ 'typography-label16regular': size === 'large',
32298
32299
  'mr-1': size === 'x-small',
32299
32300
  'mr-2': size !== 'x-small'
32300
32301
  });
@@ -32338,9 +32339,9 @@ var TabItem = function TabItem(_ref) {
32338
32339
  isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected,
32339
32340
  props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
32340
32341
  var classes = clsx('relative z-0 flex py-2 leading-[24px] before:absolute before:inset-x-0 before:bottom-0 before:h-px hover:text-text01 disabled:pointer-events-none disabled:text-disabled01', {
32341
- 'typography-label2regular': !isSelected,
32342
+ 'typography-label14regular': !isSelected,
32342
32343
  'text-interactive02 hover:before:bg-uiBorder02Dark': !isSelected,
32343
- 'typography-label2bold': isSelected,
32344
+ 'typography-label14bold': isSelected,
32344
32345
  'before:bg-interactive01 hover:before:bg-interactive01 pointer-events-none': isSelected
32345
32346
  });
32346
32347
  return /*#__PURE__*/jsx("button", {
@@ -32445,7 +32446,7 @@ function Tag(_ref) {
32445
32446
  size = _ref$size === void 0 ? 'medium' : _ref$size,
32446
32447
  isEditable = _ref.isEditable,
32447
32448
  onDelete = _ref.onDelete;
32448
- var wrapperClasses = clsx$1('flex', 'items-center', 'justify-center', (_clsx = {}, _clsx[tagColors[color]] = variant === 'normal', _clsx[tagLightColors[color]] = variant === 'light', _clsx['h-[14px] typography-label4regular'] = !isEditable && size === 'x-small', _clsx['h-4 typography-label3regular'] = !isEditable && size === 'small', _clsx['h-[18px] typography-label2regular'] = !isEditable && size === 'medium', _clsx['h-[22px] typography-label2regular'] = isEditable && size === 'medium', _clsx['rounded-full'] = isEditable, _clsx.rounded = !isEditable, _clsx['py-0.5 px-1'] = !isEditable, _clsx['py-1 px-2'] = isEditable, _clsx));
32449
+ var wrapperClasses = clsx$1('flex', 'items-center', 'justify-center', (_clsx = {}, _clsx[tagColors[color]] = variant === 'normal', _clsx[tagLightColors[color]] = variant === 'light', _clsx['h-[14px] typography-label11regular'] = !isEditable && size === 'x-small', _clsx['h-4 typography-label12regular'] = !isEditable && size === 'small', _clsx['h-[18px] typography-label14regular'] = !isEditable && size === 'medium', _clsx['h-[22px] typography-label14regular'] = isEditable && size === 'medium', _clsx['rounded-full'] = isEditable, _clsx.rounded = !isEditable, _clsx['py-0.5 px-1'] = !isEditable, _clsx['py-1 px-2'] = isEditable, _clsx));
32449
32450
  return /*#__PURE__*/jsxs("div", {
32450
32451
  className: wrapperClasses,
32451
32452
  children: [children, isEditable ? /*#__PURE__*/jsx(DeleteIcon, {
@@ -32473,9 +32474,9 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
32473
32474
  var classes = clsx('w-full rounded border outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', (_clsx = {
32474
32475
  'border-supportError': isError && !disabled,
32475
32476
  'hover:border-hoverInput': !disabled && !isError,
32476
- 'border-uiBorder01 hover:focus-within:border-activeInput focus-within:border-activeInput text-text01': !isError,
32477
+ 'border-uiBorder02 hover:focus-within:border-activeInput focus-within:border-activeInput text-text01': !isError,
32477
32478
  'bg-disabled02 border-disabled01': disabled
32478
- }, _clsx['typography-body1regular px-2 pt-1.5 pb-2'] = size === 'medium', _clsx['text-4 px-3.5 py-2.5'] = size === 'large', _clsx['text-supportError'] = isError, _clsx['resize-none'] = !isResizable, _clsx));
32479
+ }, _clsx['typography-body14regular px-2 pt-1.5 pb-2'] = size === 'medium', _clsx['text-4 leading-normal px-3.5 py-2.5'] = size === 'large', _clsx['text-supportError'] = isError, _clsx['resize-none'] = !isResizable, _clsx));
32479
32480
  return /*#__PURE__*/jsx("div", {
32480
32481
  className: "flex",
32481
32482
  children: /*#__PURE__*/jsx("textarea", _extends({
@@ -32503,14 +32504,14 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
32503
32504
  onClickClearButton = _ref.onClickClearButton,
32504
32505
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
32505
32506
  var inputWrapClasses = clsx('relative flex items-center gap-2 overflow-hidden rounded border', {
32506
- 'border-uiBorder01': !isError,
32507
+ 'border-uiBorder02': !isError && !disabled,
32507
32508
  'border-supportError': isError && !disabled,
32508
32509
  'hover:border-hoverInput': !disabled && !isError,
32509
32510
  'hover:focus-within:border-activeInput': !isError,
32510
32511
  'focus-within:border-activeInput': !isError,
32511
32512
  'bg-disabled02 border-disabled01': disabled
32512
32513
  });
32513
- var inputClasses = clsx('flex-1 pl-2 pr-3 outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', (_clsx = {}, _clsx['typography-label2regular pt-1.5 pb-2'] = size === 'medium', _clsx['typography-label1regular py-2.5'] = size === 'large', _clsx['text-text01'] = !isError, _clsx['text-supportError'] = isError, _clsx));
32514
+ var inputClasses = clsx('flex-1 pl-2 pr-3 outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', (_clsx = {}, _clsx['typography-label14regular min-h-8'] = size === 'medium', _clsx['typography-label16regular min-h-10'] = size === 'large', _clsx['text-text01'] = !isError, _clsx['text-supportError'] = isError, _clsx));
32514
32515
  return /*#__PURE__*/jsxs("div", {
32515
32516
  className: inputWrapClasses,
32516
32517
  children: [/*#__PURE__*/jsx("input", _extends({
@@ -32566,7 +32567,7 @@ function Toast(_ref) {
32566
32567
  'fill-supportWarning': state === 'warning',
32567
32568
  'fill-supportInfo': state === 'information'
32568
32569
  });
32569
- var textClasses = clsx$1('typography-body2regular flex-1 pt-[3px]', {
32570
+ var textClasses = clsx$1('typography-body13regular flex-1 pt-[3px]', {
32570
32571
  'text-supportError': state === 'error',
32571
32572
  'text-text01': state === 'success' || state === 'warning' || state === 'information'
32572
32573
  });
@@ -32697,8 +32698,8 @@ function Toggle(_ref) {
32697
32698
  var labelClasses = clsx$1('break-all', {
32698
32699
  'mr-2': labelPosition === 'left',
32699
32700
  'ml-2': labelPosition === 'right',
32700
- 'typography-label3regular': size === 'small',
32701
- 'typography-label1regular': size === 'medium',
32701
+ 'typography-label12regular': size === 'small',
32702
+ 'typography-label16regular': size === 'medium',
32702
32703
  'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32703
32704
  'cursor-pointer text-text01': !isDisabled
32704
32705
  });
@@ -32839,8 +32840,8 @@ var TooltipContent = function TooltipContent(_ref) {
32839
32840
  'w-[46px]': size !== 'small'
32840
32841
  });
32841
32842
  var tooltipBodyClasses = clsx$1('absolute z-tooltip inline-block w-max rounded bg-uiBackgroundTooltip text-textOnColor', {
32842
- 'typography-body3regular': size === 'small',
32843
- 'typography-body2regular': size === 'medium',
32843
+ 'typography-body12regular': size === 'small',
32844
+ 'typography-body13regular': size === 'medium',
32844
32845
  'px-2 pb-1 pt-1.5': size === 'small',
32845
32846
  'px-4 py-3': size === 'medium',
32846
32847
  'bottom-2': verticalPosition !== 'bottom' && size === 'small',