@zenkigen-inc/component-ui 1.8.2 → 1.9.1

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.
@@ -12,7 +12,7 @@ type Props = {
12
12
  borderRadius?: CSSProperties['borderRadius'];
13
13
  } & ({
14
14
  type?: 'anchor';
15
- href: string;
15
+ href?: string;
16
16
  target?: HTMLAnchorElement['target'];
17
17
  onClick?: never;
18
18
  } | {
@@ -26,5 +26,5 @@ type Props = {
26
26
  target?: never;
27
27
  onClick?: () => void;
28
28
  });
29
- export declare function Button({ size, variant, type, href, target, onClick, ...props }: PropsWithChildren<Props>): import("react").JSX.Element;
29
+ export declare const Button: import("react").ForwardRefExoticComponent<PropsWithChildren<Props> & import("react").RefAttributes<HTMLAnchorElement & HTMLButtonElement>>;
30
30
  export {};
package/dist/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { userColors, buttonColors, focusVisible, iconColors, typography, tagColors, tagLightColors } from '@zenkigen-inc/component-theme';
2
2
  import clsx$1, { clsx } from 'clsx';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
- import aa, { useState, useCallback, useEffect, createContext, useContext, useRef, useLayoutEffect, forwardRef } from 'react';
4
+ import aa, { forwardRef, useState, useCallback, useEffect, createContext, useContext, useRef, useLayoutEffect } from 'react';
5
5
  import { iconElements } from '@zenkigen-inc/component-icons';
6
6
 
7
7
  function _extends() {
@@ -40,14 +40,14 @@ function Avatar(_ref) {
40
40
  var _ref$size = _ref.size,
41
41
  size = _ref$size === void 0 ? 'medium' : _ref$size,
42
42
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
43
- var classes = clsx('flex items-center justify-center rounded-full text-text-textOnColor', (_clsx = {
43
+ var classes = clsx('flex items-center justify-center rounded-full text-textOnColor', (_clsx = {
44
44
  'w-16 h-16 typography-label1regular': size === 'x-large',
45
45
  'w-12 h-12 typography-label2regular': size === 'large',
46
46
  'w-10 h-10 typography-label2regular': size === 'medium',
47
47
  'w-8 h-8 typography-label4regular': size === 'small',
48
48
  'w-6 h-6 typography-label4regular': size === 'x-small',
49
- 'bg-disabled-disabled01': props.isDisabled,
50
- 'bg-icon-icon01': !props.userId
49
+ 'bg-disabled01': props.isDisabled,
50
+ 'bg-icon01': !props.userId
51
51
  }, _clsx[userColors[((_props$userId = props.userId) != null ? _props$userId : 0) % userColors.length]] = props.userId && !props.isDisabled, _clsx));
52
52
  var trimmedFirstName = props.firstName.replace(' ', ' ').trim();
53
53
  var trimmedLastName = props.lastName.replace(' ', ' ').trim().trim();
@@ -61,7 +61,7 @@ function Avatar(_ref) {
61
61
  var BreadcrumbItem = function BreadcrumbItem(_ref) {
62
62
  var children = _ref.children;
63
63
  return /*#__PURE__*/jsx("li", {
64
- className: "flex gap-2 after:content-['/'] last:after:content-none [&_a]:text-interactive-interactive02 [&_a]:hover:underline",
64
+ className: "flex gap-2 after:content-['/'] last:after:content-none [&_a]:text-interactive02 [&_a]:hover:underline",
65
65
  children: children
66
66
  });
67
67
  };
@@ -71,7 +71,7 @@ function Breadcrumb(_ref) {
71
71
  return /*#__PURE__*/jsx("nav", {
72
72
  "aria-label": "breadcrumb",
73
73
  children: /*#__PURE__*/jsx("ul", {
74
- className: "typography-label2regular flex flex-wrap gap-2 whitespace-nowrap text-text-text01",
74
+ className: "typography-label2regular flex flex-wrap gap-2 whitespace-nowrap text-text01",
75
75
  children: children
76
76
  })
77
77
  });
@@ -79,7 +79,7 @@ function Breadcrumb(_ref) {
79
79
  Breadcrumb.Item = BreadcrumbItem;
80
80
 
81
81
  var _excluded$6 = ["size", "variant", "type", "href", "target", "onClick"];
82
- function Button(_ref) {
82
+ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
83
83
  var _clsx;
84
84
  var _ref$size = _ref.size,
85
85
  size = _ref$size === void 0 ? 'medium' : _ref$size,
@@ -96,7 +96,7 @@ function Button(_ref) {
96
96
  'h-8 px-3': size === 'medium',
97
97
  'h-10 px-4 leading-[24px]': size === 'large',
98
98
  'inline-flex': type === 'anchor'
99
- }, _clsx[buttonColors[variant].selected] = props.isSelected, _clsx[buttonColors[variant].base] = !props.isSelected, _clsx['hover:text-text-textOnColor active:text-text-textOnColor [&:hover>*]:fill-icon-iconOnColor [&:active>*]:fill-icon-iconOnColor'] = props.isSelected && variant !== 'outline' && variant !== 'text', _clsx['pointer-events-none'] = props.isDisabled, _clsx['rounded-button'] = !props.borderRadius, _clsx['typography-label1regular'] = size === 'large', _clsx['typography-label2regular'] = size !== 'large', _clsx));
99
+ }, _clsx[buttonColors[variant].selected] = props.isSelected, _clsx[buttonColors[variant].base] = !props.isSelected, _clsx['hover:text-textOnColor active:text-textOnColor [&:hover>*]:fill-iconOnColor [&:active>*]:fill-iconOnColor'] = props.isSelected && variant !== 'outline' && variant !== 'text', _clsx['pointer-events-none'] = props.isDisabled, _clsx['rounded-button'] = !props.borderRadius, _clsx['typography-label1regular'] = size === 'large', _clsx['typography-label2regular'] = size !== 'large', _clsx));
100
100
  if (type === 'anchor') {
101
101
  return /*#__PURE__*/jsxs("a", {
102
102
  className: baseClasses,
@@ -105,6 +105,7 @@ function Button(_ref) {
105
105
  style: {
106
106
  borderRadius: props.borderRadius
107
107
  },
108
+ ref: ref,
108
109
  children: [props.before, props.children, props.after]
109
110
  });
110
111
  } else {
@@ -117,16 +118,18 @@ function Button(_ref) {
117
118
  width: props.width,
118
119
  borderRadius: props.borderRadius
119
120
  },
121
+ ref: ref,
120
122
  children: [props.before, props.children, props.after]
121
123
  });
122
124
  }
123
- }
125
+ });
126
+ Button.displayName = 'Button';
124
127
 
125
128
  var CheckedIcon = function CheckedIcon() {
126
129
  return /*#__PURE__*/jsx("svg", {
127
130
  viewBox: "0 0 20 20",
128
131
  xmlns: "http://www.w3.org/2000/svg",
129
- className: "absolute z-10 size-5 rounded-sm fill-icon-iconOnColor hover:rounded-sm",
132
+ className: "absolute z-10 size-5 rounded-sm fill-iconOnColor hover:rounded-sm",
130
133
  children: /*#__PURE__*/jsx("path", {
131
134
  fillRule: "evenodd",
132
135
  clipRule: "evenodd",
@@ -139,7 +142,7 @@ var MinusIcon = function MinusIcon() {
139
142
  return /*#__PURE__*/jsx("svg", {
140
143
  viewBox: "0 0 20 20",
141
144
  xmlns: "http://www.w3.org/2000/svg",
142
- className: "absolute z-10 size-5 rounded-sm fill-icon-iconOnColor hover:rounded-sm",
145
+ className: "absolute z-10 size-5 rounded-sm fill-iconOnColor hover:rounded-sm",
143
146
  children: /*#__PURE__*/jsx("path", {
144
147
  d: "M4.94723 10.5028H9.49726H10.5028H15.0528C15.3293 10.5028 15.5556 10.2766 15.5556 10C15.5556 9.72352 15.3293 9.49725 15.0528 9.49725H10.5028H9.49726H4.94723C4.67071 9.49725 4.44446 9.72352 4.44446 10C4.44446 10.2766 4.67071 10.5028 4.94723 10.5028Z"
145
148
  })
@@ -177,34 +180,34 @@ function Checkbox(_ref) {
177
180
  'cursor-pointer': !isDisabled
178
181
  });
179
182
  var boxClasses = clsx$1('inline-flex size-5 items-center justify-center rounded-sm border bg-white', focusVisible.normalPeer, {
180
- 'border-disabled-disabled01': isDisabled,
181
- 'border-hover-hoverUiBorder': !isDisabled && isMouseOver,
182
- 'border-border-uiBorder03': !isDisabled && !isMouseOver,
183
- 'border-interactive-interactive02': !isDisabled && !isMouseOver && color === 'gray',
184
- 'border-hover-hoverError': !isDisabled && isMouseOver && color === 'error',
185
- 'border-support-supportError': !isDisabled && !isMouseOver && color === 'error'
183
+ 'border-disabled01': isDisabled,
184
+ 'border-hoverUiBorder': !isDisabled && isMouseOver && color === 'default',
185
+ 'border-uiBorder03': !isDisabled && !isMouseOver && color === 'default',
186
+ 'border-interactive02': !isDisabled && !isMouseOver && color === 'gray',
187
+ 'border-hoverError': !isDisabled && isMouseOver && color === 'error',
188
+ 'border-supportError': !isDisabled && !isMouseOver && color === 'error'
186
189
  });
187
190
  var indicatorClasses = clsx$1('relative flex size-5 flex-[0_0_auto] items-center justify-center', {
188
- 'bg-disabled-disabled01': isDisabled && isChecked,
189
- 'border-disabled-disabled01': isDisabled
191
+ 'bg-disabled01': isDisabled && isChecked,
192
+ 'border-disabled01': isDisabled
190
193
  });
191
194
  var afterClasses = clsx$1('absolute inset-0 m-auto block rounded-sm', {
192
- 'bg-disabled-disabled01': isDisabled && isChecked,
193
- 'bg-hover-hover01': !(isDisabled && isChecked) && isMouseOver,
194
- 'bg-interactive-interactive01': !(isDisabled && isChecked) && !isMouseOver,
195
- 'bg-hover-hover02Dark': !(isDisabled && isChecked) && isMouseOver && color === 'gray',
196
- 'bg-interactive-interactive02': !(isDisabled && isChecked) && !isMouseOver && color === 'gray',
197
- 'bg-hover-hoverError': !(isDisabled && isChecked) && isMouseOver && color === 'error',
198
- 'bg-support-supportError': !(isDisabled && isChecked) && !isMouseOver && color === 'error',
195
+ 'bg-disabled01': isDisabled && isChecked,
196
+ 'bg-hover01': !(isDisabled && isChecked) && isMouseOver,
197
+ 'bg-interactive01': !(isDisabled && isChecked) && !isMouseOver,
198
+ 'bg-hover02Dark': !(isDisabled && isChecked) && isMouseOver && color === 'gray',
199
+ 'bg-interactive02': !(isDisabled && isChecked) && !isMouseOver && color === 'gray',
200
+ 'bg-hoverError': !(isDisabled && isChecked) && isMouseOver && color === 'error',
201
+ 'bg-supportError': !(isDisabled && isChecked) && !isMouseOver && color === 'error',
199
202
  'scale-0': !isChecked,
200
203
  'scale-100': isChecked
201
204
  });
202
205
  var hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-[1px]', {
203
- 'bg-hover-hoverUi': !isDisabled && !isChecked && isMouseOver
206
+ 'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
204
207
  });
205
208
  var labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] break-all', {
206
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
207
- 'cursor-pointer text-text-text01': !isDisabled
209
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
210
+ 'cursor-pointer text-text01': !isDisabled
208
211
  });
209
212
  return /*#__PURE__*/jsxs("div", {
210
213
  className: "flex items-center",
@@ -31127,7 +31130,7 @@ var Icon = function Icon(_ref) {
31127
31130
  size = _ref$size === void 0 ? 'medium' : _ref$size,
31128
31131
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
31129
31132
  var classes = clsx('inline-block shrink-0', (_clsx = {
31130
- 'fill-disabled-disabled01': props.isDisabled
31133
+ 'fill-disabled01': props.isDisabled
31131
31134
  }, _clsx[iconColors.icon01] = !props.isDisabled && props.color === 'icon01', _clsx[iconColors.icon01Dark] = !props.isDisabled && props.color === 'icon01Dark', _clsx[iconColors.icon02] = !props.isDisabled && props.color === 'icon02', _clsx[iconColors.icon02Dark] = !props.isDisabled && props.color === 'icon02Dark', _clsx[iconColors.icon03] = !props.isDisabled && props.color === 'icon03', _clsx[iconColors.icon03Dark] = !props.isDisabled && props.color === 'icon03Dark', _clsx[iconColors.iconOnColor] = !props.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));
31132
31135
  return /*#__PURE__*/jsx("span", {
31133
31136
  className: classes,
@@ -31159,9 +31162,9 @@ function DropdownItem(_ref) {
31159
31162
  setIsVisible(false);
31160
31163
  onClick && onClick(event);
31161
31164
  };
31162
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
31163
- 'bg-background-uiBackground01 fill-icon-icon01 text-interactive-interactive02': color === 'gray',
31164
- 'fill-support-supportDanger text-support-supportDanger': color === 'red'
31165
+ var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31166
+ 'bg-uiBackground01 fill-icon01 text-interactive02': color === 'gray',
31167
+ 'fill-supportDanger text-supportDanger': color === 'red'
31165
31168
  });
31166
31169
  return /*#__PURE__*/jsx("li", {
31167
31170
  className: "flex w-full items-center",
@@ -31188,9 +31191,9 @@ function DropdownMenu(_ref) {
31188
31191
  targetDimensions = _useContext.targetDimensions,
31189
31192
  variant = _useContext.variant,
31190
31193
  portalTargetRef = _useContext.portalTargetRef;
31191
- var wrapperClasses = clsx$1('z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 shadow-floatingShadow', {
31194
+ var wrapperClasses = clsx$1('z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 shadow-floatingShadow', {
31192
31195
  absolute: !portalTargetRef,
31193
- 'border-solid border border-border-uiBorder01': variant === 'outline',
31196
+ 'border-solid border border-uiBorder01': variant === 'outline',
31194
31197
  'py-1': !isNoPadding,
31195
31198
  'left-0': horizontalAlign === 'left',
31196
31199
  'right-0': horizontalAlign === 'right',
@@ -31254,9 +31257,9 @@ function Dropdown(_ref) {
31254
31257
  var wrapperClasses = clsx$1('relative flex shrink-0 items-center gap-1 rounded', {
31255
31258
  'cursor-not-allowed': isDisabled
31256
31259
  });
31257
- var childrenButtonClasses = clsx$1('flex items-center justify-center rounded p-1 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.normal, {
31260
+ var childrenButtonClasses = clsx$1('flex items-center justify-center rounded p-1 hover:bg-hover02 active:bg-active02', focusVisible.normal, {
31258
31261
  'pointer-events-none': isDisabled,
31259
- 'border border-border-uiBorder02': variant === 'outline'
31262
+ 'border border-uiBorder02': variant === 'outline'
31260
31263
  });
31261
31264
  var buttonClasses = clsx$1('flex items-center rounded', buttonColors[variant].base, buttonColors[variant].hover, buttonColors[variant].active, buttonColors[variant].disabled, focusVisible.normal, {
31262
31265
  'pointer-events-none': isDisabled,
@@ -31290,7 +31293,7 @@ function Dropdown(_ref) {
31290
31293
  onClick: handleToggle,
31291
31294
  disabled: isDisabled,
31292
31295
  children: [target, !isArrowHidden && /*#__PURE__*/jsx("div", {
31293
- className: "ml-2 flex items-center fill-icon-icon01",
31296
+ className: "ml-2 flex items-center fill-icon01",
31294
31297
  children: /*#__PURE__*/jsx(Icon, {
31295
31298
  name: isVisible ? 'angle-small-up' : 'angle-small-down',
31296
31299
  size: size === 'large' ? 'medium' : 'small'
@@ -31350,7 +31353,7 @@ function EvaluationStar(_ref) {
31350
31353
  });
31351
31354
  var ratingStars = [];
31352
31355
  var _loop = function _loop(i) {
31353
- var color = i <= currentRating ? 'fill-yellow-yellow50' : 'fill-icon-icon03';
31356
+ var color = i <= currentRating ? 'fill-yellow-yellow50' : 'fill-icon03';
31354
31357
  ratingStars.push( /*#__PURE__*/jsx("button", {
31355
31358
  type: "button",
31356
31359
  onClick: function onClick() {
@@ -31372,7 +31375,7 @@ function EvaluationStar(_ref) {
31372
31375
 
31373
31376
  function Heading(props) {
31374
31377
  var TagName = "h" + props.level;
31375
- var classes = clsx("flex items-center text-text-text01", typography.heading[TagName], {
31378
+ var classes = clsx("flex items-center text-text01", typography.heading[TagName], {
31376
31379
  'gap-2': props.level === 1,
31377
31380
  'gap-1': props.level > 1
31378
31381
  });
@@ -31447,7 +31450,7 @@ function Loading(_ref) {
31447
31450
  fill: "none",
31448
31451
  xmlns: "http://www.w3.org/2000/svg",
31449
31452
  children: /*#__PURE__*/jsx("circle", {
31450
- className: "origin-center animate-circular-small-move stroke-interactive-interactive01",
31453
+ className: "origin-center animate-circular-small-move stroke-interactive01",
31451
31454
  cx: "8",
31452
31455
  cy: "8",
31453
31456
  r: "7",
@@ -31461,7 +31464,7 @@ function Loading(_ref) {
31461
31464
  fill: "none",
31462
31465
  xmlns: "http://www.w3.org/2000/svg",
31463
31466
  children: /*#__PURE__*/jsx("circle", {
31464
- className: "origin-center animate-circular-medium-move stroke-interactive-interactive01",
31467
+ className: "origin-center animate-circular-medium-move stroke-interactive01",
31465
31468
  cx: "16",
31466
31469
  cy: "16",
31467
31470
  r: "15",
@@ -31475,7 +31478,7 @@ function Loading(_ref) {
31475
31478
  fill: "none",
31476
31479
  xmlns: "http://www.w3.org/2000/svg",
31477
31480
  children: /*#__PURE__*/jsx("circle", {
31478
- className: "origin-center animate-circular-large-move stroke-interactive-interactive01",
31481
+ className: "origin-center animate-circular-large-move stroke-interactive01",
31479
31482
  cx: "32",
31480
31483
  cy: "32",
31481
31484
  r: "30",
@@ -31506,7 +31509,7 @@ function ModalFooter(_ref) {
31506
31509
  var children = _ref.children,
31507
31510
  isNoBorder = _ref.isNoBorder;
31508
31511
  var wrapperClasses = clsx$1('flex w-full shrink-0 items-center rounded-b-lg px-6 py-4', {
31509
- 'border-t-[1px] border-border-uiBorder01': !isNoBorder
31512
+ 'border-t-[1px] border-uiBorder01': !isNoBorder
31510
31513
  });
31511
31514
  return /*#__PURE__*/jsx("div", {
31512
31515
  className: wrapperClasses,
@@ -31519,8 +31522,8 @@ function ModalHeader(_ref) {
31519
31522
  isNoBorder = _ref.isNoBorder;
31520
31523
  var _useContext = useContext(ModalContext),
31521
31524
  onClose = _useContext.onClose;
31522
- var headerClasses = clsx$1('typography-h5 flex w-full shrink-0 items-center justify-between rounded-t-lg px-6 text-text-text01', {
31523
- 'border-b-[1px] border-border-uiBorder01': !isNoBorder,
31525
+ var headerClasses = clsx$1('typography-h5 flex w-full shrink-0 items-center justify-between rounded-t-lg px-6 text-text01', {
31526
+ 'border-b-[1px] border-uiBorder01': !isNoBorder,
31524
31527
  'h-14': !onClose,
31525
31528
  'h-12': onClose
31526
31529
  });
@@ -31560,9 +31563,9 @@ function Modal(_ref) {
31560
31563
  onClose: onClose
31561
31564
  },
31562
31565
  children: /*#__PURE__*/jsx("div", {
31563
- className: "fixed left-0 top-0 z-overlay flex size-full items-center justify-center bg-background-backgroundOverlayBlack py-4",
31566
+ className: "fixed left-0 top-0 z-overlay flex size-full items-center justify-center bg-backgroundOverlayBlack py-4",
31564
31567
  children: /*#__PURE__*/jsx("div", {
31565
- className: "grid max-h-full min-h-[120px] grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-background-uiBackground01 shadow-modalShadow",
31568
+ className: "grid max-h-full min-h-[120px] grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-uiBackground01 shadow-modalShadow",
31566
31569
  style: {
31567
31570
  width: renderWidth,
31568
31571
  height: renderHeight
@@ -31583,20 +31586,20 @@ function NotificationInline(_ref) {
31583
31586
  _ref$size = _ref.size,
31584
31587
  size = _ref$size === void 0 ? 'medium' : _ref$size,
31585
31588
  props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
31586
- var wrapperClasses = clsx('typography-body2regular flex items-center gap-1 rounded text-text-text01', {
31587
- 'bg-background-uiBackgroundError': state === 'attention',
31588
- 'bg-background-uiBackgroundWarning': state === 'warning',
31589
- 'bg-background-uiBackgroundBlue': state === 'information',
31590
- 'bg-background-uiBackgroundSuccess': state === 'success',
31591
- 'bg-background-uiBackgroundGray': state === 'default',
31589
+ var wrapperClasses = clsx('typography-body2regular flex items-center gap-1 rounded text-text01', {
31590
+ 'bg-uiBackgroundError': state === 'attention',
31591
+ 'bg-uiBackgroundWarning': state === 'warning',
31592
+ 'bg-uiBackgroundBlue': state === 'information',
31593
+ 'bg-uiBackgroundSuccess': state === 'success',
31594
+ 'bg-uiBackgroundGray': state === 'default',
31592
31595
  'p-2': size === 'small',
31593
31596
  'p-3': size === 'medium'
31594
31597
  });
31595
31598
  var iconClasses = clsx('flex items-center', {
31596
- 'fill-support-supportError': state === 'attention',
31597
- 'fill-support-supportWarning': state === 'warning',
31599
+ 'fill-supportError': state === 'attention',
31600
+ 'fill-supportWarning': state === 'warning',
31598
31601
  'fill-blue-blue50': state === 'information',
31599
- 'fill-support-supportSuccess': state === 'success'
31602
+ 'fill-supportSuccess': state === 'success'
31600
31603
  });
31601
31604
  var iconName = {
31602
31605
  attention: 'attention',
@@ -31665,7 +31668,7 @@ function Pagination(_ref) {
31665
31668
  for (var i = start + offsetStart; i <= end + offsetEnd; i++) {
31666
31669
  pageList.push(i);
31667
31670
  }
31668
- var threeDotIconClasses = 'flex h-8 w-8 items-center justify-center gap-1 fill-icon-icon01';
31671
+ var threeDotIconClasses = 'flex h-8 w-8 items-center justify-center gap-1 fill-icon01';
31669
31672
  return /*#__PURE__*/jsx(PaginationContext.Provider, {
31670
31673
  value: {
31671
31674
  currentPage: currentPage
@@ -31750,9 +31753,9 @@ function SelectItem$1(_ref) {
31750
31753
  onChange == null || onChange(option);
31751
31754
  setIsOptionListOpen(false);
31752
31755
  };
31753
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
31754
- 'text-interactive-interactive01 fill-interactive-interactive01 bg-selected-selectedUi': option.id === (selectedOption == null ? void 0 : selectedOption.id),
31755
- 'text-interactive-interactive02 fill-icon-icon01 bg-background-uiBackground01': option.id !== (selectedOption == null ? void 0 : selectedOption.id)
31756
+ var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31757
+ 'text-interactive01 fill-interactive01 bg-selectedUi': option.id === (selectedOption == null ? void 0 : selectedOption.id),
31758
+ 'text-interactive02 fill-icon01 bg-uiBackground01': option.id !== (selectedOption == null ? void 0 : selectedOption.id)
31756
31759
  });
31757
31760
  return /*#__PURE__*/jsx("li", {
31758
31761
  className: "flex w-full items-center",
@@ -31808,13 +31811,13 @@ function SelectList$1(_ref) {
31808
31811
  }
31809
31812
  // eslint-disable-next-line react-hooks/exhaustive-deps
31810
31813
  }, []);
31811
- var listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 py-2 shadow-floatingShadow', {
31814
+ var listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 py-2 shadow-floatingShadow', {
31812
31815
  'top-7': size === 'x-small' || size === 'small',
31813
31816
  'top-9': size === 'medium',
31814
31817
  'top-11': size === 'large',
31815
- 'border-solid border border-border-uiBorder01': variant === 'outline'
31818
+ 'border-solid border border-uiBorder01': variant === 'outline'
31816
31819
  });
31817
- var deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive-interactive02 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset);
31820
+ 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);
31818
31821
  return /*#__PURE__*/jsxs("ul", {
31819
31822
  className: listClasses,
31820
31823
  style: {
@@ -31959,7 +31962,7 @@ function PaginationSelect(_ref) {
31959
31962
  children: [/*#__PURE__*/jsxs("div", {
31960
31963
  className: "flex items-center gap-x-2",
31961
31964
  children: [/*#__PURE__*/jsxs("div", {
31962
- className: "typography-label2regular text-text-text01",
31965
+ className: "typography-label2regular text-text01",
31963
31966
  children: [(currentPage - 1) * sizePerPage + 1, " -", ' ', currentPage * sizePerPage > totalSize ? totalSize : currentPage * sizePerPage, countLabel]
31964
31967
  }), /*#__PURE__*/jsx(Select, {
31965
31968
  size: "medium",
@@ -31977,7 +31980,7 @@ function PaginationSelect(_ref) {
31977
31980
  }, option.id);
31978
31981
  })
31979
31982
  }), /*#__PURE__*/jsxs("div", {
31980
- className: "typography-label2regular text-text-text03",
31983
+ className: "typography-label2regular text-text03",
31981
31984
  children: ["/ ", pageMax, pageLabel]
31982
31985
  })]
31983
31986
  }), /*#__PURE__*/jsxs("div", {
@@ -32026,24 +32029,24 @@ function Radio(_ref) {
32026
32029
  'cursor-pointer': !isDisabled
32027
32030
  });
32028
32031
  var boxClasses = clsx$1('inline-flex size-5 items-center justify-center rounded-full border border-solid bg-white', focusVisible.normalPeer, {
32029
- 'border-disabled-disabled01 hover:border-disabled-disabled01': isDisabled && !isMouseOver,
32030
- 'border-hover-hoverUiBorder': !isDisabled && isMouseOver,
32031
- 'border-border-uiBorder03': !isDisabled,
32032
+ 'border-disabled01 hover:border-disabled01': isDisabled && !isMouseOver,
32033
+ 'border-hoverUiBorder': !isDisabled && isMouseOver,
32034
+ 'border-uiBorder03': !isDisabled,
32032
32035
  'cursor-not-allowed': isDisabled,
32033
32036
  'cursor-pointer': !isDisabled
32034
32037
  });
32035
32038
  var afterClasses = clsx$1('absolute inset-0 m-auto block size-3 rounded-full', {
32036
- 'bg-disabled-disabled01': isDisabled && isChecked,
32037
- 'bg-active-activeSelectedUi': !isDisabled && isChecked,
32039
+ 'bg-disabled01': isDisabled && isChecked,
32040
+ 'bg-activeSelectedUi': !isDisabled && isChecked,
32038
32041
  'scale-0': !isChecked,
32039
32042
  'scale-100': isChecked
32040
32043
  });
32041
32044
  var hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-full', {
32042
- 'bg-hover-hoverUi': !isDisabled && !isChecked && isMouseOver
32045
+ 'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
32043
32046
  });
32044
32047
  var labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] select-none break-all', {
32045
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
32046
- 'cursor-pointer text-text-text01': !isDisabled
32048
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32049
+ 'cursor-pointer text-text01': !isDisabled
32047
32050
  });
32048
32051
  return /*#__PURE__*/jsxs("div", {
32049
32052
  className: "flex items-center",
@@ -32087,12 +32090,12 @@ var Search = /*#__PURE__*/forwardRef(function (_ref, ref) {
32087
32090
  _ref$size = _ref.size,
32088
32091
  size = _ref$size === void 0 ? 'medium' : _ref$size,
32089
32092
  props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
32090
- var classes = clsx('flex items-center rounded-full border border-border-uiBorder02 focus-within:border-active-activeInput', {
32093
+ var classes = clsx('flex items-center rounded-full border border-uiBorder02 focus-within:border-activeInput', {
32091
32094
  'h-8 px-3': size === 'medium'
32092
32095
  }, {
32093
32096
  'h-10 px-4': size === 'large'
32094
32097
  });
32095
- var inputClasses = clsx('mx-2.5 h-full flex-1 text-text-text01 outline-0 placeholder:text-text-textPlaceholder', (_clsx = {}, _clsx['typography-label2regular'] = size === 'medium', _clsx['typography-label1regular'] = size === 'large', _clsx));
32098
+ 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));
32096
32099
  return /*#__PURE__*/jsx("div", {
32097
32100
  className: "relative",
32098
32101
  ref: ref,
@@ -32131,9 +32134,9 @@ function SelectItem(_ref) {
32131
32134
  var children = _ref.children,
32132
32135
  isSortKey = _ref.isSortKey,
32133
32136
  onClickItem = _ref.onClickItem;
32134
- var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
32135
- 'bg-selected-selectedUi fill-interactive-interactive01 text-interactive-interactive01': isSortKey,
32136
- 'bg-background-uiBackground01 fill-icon-icon01 text-interactive-interactive02': !isSortKey
32137
+ var itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
32138
+ 'bg-selectedUi fill-interactive01 text-interactive01': isSortKey,
32139
+ 'bg-uiBackground01 fill-icon01 text-interactive02': !isSortKey
32137
32140
  });
32138
32141
  return /*#__PURE__*/jsx("li", {
32139
32142
  className: "flex w-full items-center",
@@ -32161,13 +32164,13 @@ function SelectList(_ref) {
32161
32164
  sortOrder = _ref.sortOrder,
32162
32165
  _onClickItem = _ref.onClickItem,
32163
32166
  onClickDeselect = _ref.onClickDeselect;
32164
- var listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 py-2 shadow-floatingShadow', {
32167
+ var listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 py-2 shadow-floatingShadow', {
32165
32168
  'top-7': size === 'x-small' || size === 'small',
32166
32169
  'top-9': size === 'medium',
32167
32170
  'top-11': size === 'large',
32168
- 'border-solid border border-border-uiBorder01': variant === 'outline'
32171
+ 'border-solid border border-uiBorder01': variant === 'outline'
32169
32172
  });
32170
- var deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive-interactive02 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset);
32173
+ 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);
32171
32174
  return /*#__PURE__*/jsxs("ul", {
32172
32175
  className: listClasses,
32173
32176
  children: [/*#__PURE__*/jsx(SelectItem, {
@@ -32272,11 +32275,11 @@ function SelectSort(_ref) {
32272
32275
  }
32273
32276
 
32274
32277
  var TabItem = function TabItem(props) {
32275
- 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-text-text01 disabled:pointer-events-none disabled:text-disabled-disabled01', {
32278
+ 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', {
32276
32279
  'typography-label2regular': !props.isSelected,
32277
- 'text-interactive-interactive02 hover:before:bg-border-uiBorder02Dark': !props.isSelected,
32280
+ 'text-interactive02 hover:before:bg-uiBorder02Dark': !props.isSelected,
32278
32281
  'typography-label2bold': props.isSelected,
32279
- 'before:bg-interactive-interactive01 hover:before:bg-interactive-interactive01 pointer-events-none': props.isSelected
32282
+ 'before:bg-interactive01 hover:before:bg-interactive01 pointer-events-none': props.isSelected
32280
32283
  });
32281
32284
  return /*#__PURE__*/jsx("button", {
32282
32285
  type: "button",
@@ -32295,7 +32298,7 @@ function Tab(_ref) {
32295
32298
  var children = _ref.children;
32296
32299
  return /*#__PURE__*/jsx("div", {
32297
32300
  role: "tablist",
32298
- className: "relative flex gap-4 px-6 before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-border-uiBorder01",
32301
+ className: "relative flex gap-4 px-6 before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-uiBorder01",
32299
32302
  children: children
32300
32303
  });
32301
32304
  }
@@ -32305,7 +32308,7 @@ function TableCell(_ref) {
32305
32308
  var children = _ref.children,
32306
32309
  className = _ref.className;
32307
32310
  return /*#__PURE__*/jsx("div", {
32308
- className: clsx$1('border-b-[1px] border-border-uiBorder01', className),
32311
+ className: clsx$1('border-b-[1px] border-uiBorder01', className),
32309
32312
  children: children
32310
32313
  });
32311
32314
  }
@@ -32313,7 +32316,7 @@ function TableCell(_ref) {
32313
32316
  function TableRow(_ref) {
32314
32317
  var children = _ref.children,
32315
32318
  isHoverBackgroundVisible = _ref.isHoverBackgroundVisible;
32316
- var rowClasses = clsx$1('contents', isHoverBackgroundVisible && '[&:hover>div]:bg-hover-hoverUi02');
32319
+ var rowClasses = clsx$1('contents', isHoverBackgroundVisible && '[&:hover>div]:bg-hoverUi02');
32317
32320
  return /*#__PURE__*/jsx("div", {
32318
32321
  className: rowClasses,
32319
32322
  children: children
@@ -32346,10 +32349,10 @@ var DeleteIcon = function DeleteIcon(_ref) {
32346
32349
  var color = _ref.color,
32347
32350
  variant = _ref.variant,
32348
32351
  onClick = _ref.onClick;
32349
- var deleteButtonClasses = clsx$1('group ml-2 size-[14px] rounded-full p-0.5 hover:cursor-pointer hover:bg-icon-iconOnColor focus-visible:bg-icon-iconOnColor', focusVisible.normal);
32352
+ var deleteButtonClasses = clsx$1('group ml-2 size-[14px] rounded-full p-0.5 hover:cursor-pointer hover:bg-iconOnColor focus-visible:bg-iconOnColor', focusVisible.normal);
32350
32353
  var deletePathClasses = clsx$1({
32351
- 'fill-interactive-interactive02': color === 'gray' || variant === 'light',
32352
- 'group-hover:fill-interactive-interactive02 group-focus-visible:fill-interactive-interactive02 fill-icon-iconOnColor': color !== 'gray'
32354
+ 'fill-interactive02': color === 'gray' || variant === 'light',
32355
+ 'group-hover:fill-interactive02 group-focus-visible:fill-interactive02 fill-iconOnColor': color !== 'gray'
32353
32356
  });
32354
32357
  return /*#__PURE__*/jsx("button", {
32355
32358
  type: "button",
@@ -32401,12 +32404,12 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
32401
32404
  isResizable = _ref$isResizable === void 0 ? false : _ref$isResizable,
32402
32405
  isError = _ref.isError,
32403
32406
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
32404
- var classes = clsx('w-full rounded border outline-0 placeholder:text-text-textPlaceholder disabled:text-text-textPlaceholder', (_clsx = {
32405
- 'border-support-supportError': isError && !props.disabled,
32406
- 'hover:border-hover-hoverInput': !props.disabled && !isError,
32407
- 'border-border-uiBorder01 hover:focus-within:border-active-activeInput focus-within:border-active-activeInput text-text-text01': !isError,
32408
- 'bg-disabled-disabled02 border-disabled-disabled02': props.disabled
32409
- }, _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-support-supportError'] = isError, _clsx['resize-none'] = !isResizable, _clsx));
32407
+ var classes = clsx('w-full rounded border outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', (_clsx = {
32408
+ 'border-supportError': isError && !props.disabled,
32409
+ 'hover:border-hoverInput': !props.disabled && !isError,
32410
+ 'border-uiBorder01 hover:focus-within:border-activeInput focus-within:border-activeInput text-text01': !isError,
32411
+ 'bg-disabled02 border-disabled01': props.disabled
32412
+ }, _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));
32410
32413
  return /*#__PURE__*/jsx("div", {
32411
32414
  className: "flex",
32412
32415
  children: /*#__PURE__*/jsx("textarea", _extends({
@@ -32430,14 +32433,14 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
32430
32433
  onClickClearButton = _ref.onClickClearButton,
32431
32434
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
32432
32435
  var inputWrapClasses = clsx('relative flex items-center gap-2 overflow-hidden rounded border', {
32433
- 'border-border-uiBorder01': !isError,
32434
- 'border-support-supportError': isError && !props.disabled,
32435
- 'hover:border-hover-hoverInput': !props.disabled && !isError,
32436
- 'hover:focus-within:border-active-activeInput': !isError,
32437
- 'focus-within:border-active-activeInput': !isError,
32438
- 'bg-disabled-disabled02 border-disabled-disabled02': props.disabled
32436
+ 'border-uiBorder01': !isError,
32437
+ 'border-supportError': isError && !props.disabled,
32438
+ 'hover:border-hoverInput': !props.disabled && !isError,
32439
+ 'hover:focus-within:border-activeInput': !isError,
32440
+ 'focus-within:border-activeInput': !isError,
32441
+ 'bg-disabled02 border-disabled01': props.disabled
32439
32442
  });
32440
- var inputClasses = clsx('flex-1 pl-2 pr-3 outline-0 placeholder:text-text-textPlaceholder disabled:text-text-textPlaceholder', (_clsx = {}, _clsx['typography-label2regular pt-1.5 pb-2'] = size === 'medium', _clsx['typography-label1regular py-2.5'] = size === 'large', _clsx['text-text-text01'] = !isError, _clsx['text-support-supportError'] = isError, _clsx));
32443
+ 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));
32441
32444
  return /*#__PURE__*/jsxs("div", {
32442
32445
  className: inputWrapClasses,
32443
32446
  children: [/*#__PURE__*/jsx("input", _extends({
@@ -32485,14 +32488,14 @@ function Toast(_ref) {
32485
32488
  };
32486
32489
  var wrapperClasses = clsx$1('pointer-events-auto flex items-start gap-1 bg-white p-4 shadow-floatingShadow', (_clsx = {}, _clsx['animate-toast-in'] = isAnimation && !isRemoving, _clsx['animate-toast-out opacity-0'] = isAnimation && isRemoving, _clsx));
32487
32490
  var iconClasses = clsx$1('flex items-center', {
32488
- 'fill-support-supportSuccess': state === 'success',
32489
- 'fill-support-supportError': state === 'error',
32490
- 'fill-support-supportWarning': state === 'warning',
32491
- 'fill-support-supportInfo': state === 'information'
32491
+ 'fill-supportSuccess': state === 'success',
32492
+ 'fill-supportError': state === 'error',
32493
+ 'fill-supportWarning': state === 'warning',
32494
+ 'fill-supportInfo': state === 'information'
32492
32495
  });
32493
32496
  var textClasses = clsx$1('typography-body2regular flex-1 pt-[3px]', {
32494
- 'text-support-supportError': state === 'error',
32495
- 'text-text-text01': state === 'success' || state === 'warning' || state === 'information'
32497
+ 'text-supportError': state === 'error',
32498
+ 'text-text01': state === 'success' || state === 'warning' || state === 'information'
32496
32499
  });
32497
32500
  var iconName = {
32498
32501
  success: 'success-filled',
@@ -32604,15 +32607,15 @@ function Toggle(_ref) {
32604
32607
  labelPosition = _ref$labelPosition === void 0 ? 'right' : _ref$labelPosition,
32605
32608
  isDisabled = _ref.isDisabled;
32606
32609
  var baseClasses = clsx$1('relative flex items-center rounded-full', {
32607
- 'bg-disabled-disabledOn': isDisabled && isChecked,
32608
- 'bg-disabled-disabled01': isDisabled && !isChecked,
32609
- 'bg-interactive-interactive01 peer-hover:bg-hover-hover01': !isDisabled && isChecked,
32610
- 'bg-interactive-interactive02 peer-hover:bg-hover-hover02Dark': !isDisabled && !isChecked,
32610
+ 'bg-disabledOn': isDisabled && isChecked,
32611
+ 'bg-disabled01': isDisabled && !isChecked,
32612
+ 'bg-interactive01 peer-hover:bg-hover01': !isDisabled && isChecked,
32613
+ 'bg-interactive02 peer-hover:bg-hover02Dark': !isDisabled && !isChecked,
32611
32614
  'w-8 h-4 px-[3px]': size === 'small',
32612
32615
  'w-12 h-6 px-1': size === 'medium'
32613
32616
  });
32614
32617
  var inputClasses = clsx$1('peer absolute inset-0 z-[1] opacity-0', isDisabled ? 'cursor-not-allowed' : 'cursor-pointer');
32615
- var indicatorClasses = clsx$1('rounded-full bg-icon-iconOnColor', {
32618
+ var indicatorClasses = clsx$1('rounded-full bg-iconOnColor', {
32616
32619
  'w-2.5 h-2.5': size === 'small',
32617
32620
  'w-4 h-4': size === 'medium',
32618
32621
  'ml-auto': isChecked
@@ -32622,8 +32625,8 @@ function Toggle(_ref) {
32622
32625
  'ml-2': labelPosition === 'right',
32623
32626
  'typography-label3regular': size === 'small',
32624
32627
  'typography-label1regular': size === 'medium',
32625
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
32626
- 'cursor-pointer text-text-text01': !isDisabled
32628
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32629
+ 'cursor-pointer text-text01': !isDisabled
32627
32630
  });
32628
32631
  return /*#__PURE__*/jsxs("div", {
32629
32632
  className: "relative flex flex-[0_0_auto] items-center",
@@ -32703,7 +32706,7 @@ var useTooltip = function useTooltip() {
32703
32706
  };
32704
32707
 
32705
32708
  var TailIcon = function TailIcon(props) {
32706
- var tailClasses = clsx$1('absolute fill-background-uiBackgroundTooltip', {
32709
+ var tailClasses = clsx$1('absolute fill-uiBackgroundTooltip', {
32707
32710
  'rotate-180': props.verticalPosition === 'bottom',
32708
32711
  'rotate-0': props.verticalPosition !== 'bottom',
32709
32712
  '-top-1': props.verticalPosition === 'bottom' && props.size === 'small',
@@ -32760,7 +32763,7 @@ var TooltipContent = function TooltipContent(_ref) {
32760
32763
  'w-[24px]': size === 'small',
32761
32764
  'w-[46px]': size !== 'small'
32762
32765
  });
32763
- var tooltipBodyClasses = clsx$1('absolute z-tooltip inline-block w-max rounded bg-background-uiBackgroundTooltip text-text-textOnColor', {
32766
+ var tooltipBodyClasses = clsx$1('absolute z-tooltip inline-block w-max rounded bg-uiBackgroundTooltip text-textOnColor', {
32764
32767
  'typography-body3regular': size === 'small',
32765
32768
  'typography-body2regular': size === 'medium',
32766
32769
  'px-2 pb-1 pt-1.5': size === 'small',