@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.
package/dist/index.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() {
@@ -41,14 +41,14 @@ function Avatar(_ref) {
41
41
  size = 'medium'
42
42
  } = _ref,
43
43
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
44
- const classes = clsx('flex items-center justify-center rounded-full text-text-textOnColor', {
44
+ const classes = clsx('flex items-center justify-center rounded-full text-textOnColor', {
45
45
  'w-16 h-16 typography-label1regular': size === 'x-large',
46
46
  'w-12 h-12 typography-label2regular': size === 'large',
47
47
  'w-10 h-10 typography-label2regular': size === 'medium',
48
48
  'w-8 h-8 typography-label4regular': size === 'small',
49
49
  'w-6 h-6 typography-label4regular': size === 'x-small',
50
- 'bg-disabled-disabled01': props.isDisabled,
51
- 'bg-icon-icon01': !props.userId,
50
+ 'bg-disabled01': props.isDisabled,
51
+ 'bg-icon01': !props.userId,
52
52
  [userColors[((_props$userId = props.userId) != null ? _props$userId : 0) % userColors.length]]: props.userId && !props.isDisabled
53
53
  });
54
54
  const trimmedFirstName = props.firstName.replace(' ', ' ').trim();
@@ -64,7 +64,7 @@ const BreadcrumbItem = ({
64
64
  children
65
65
  }) => {
66
66
  return /*#__PURE__*/jsx("li", {
67
- className: "flex gap-2 after:content-['/'] last:after:content-none [&_a]:text-interactive-interactive02 [&_a]:hover:underline",
67
+ className: "flex gap-2 after:content-['/'] last:after:content-none [&_a]:text-interactive02 [&_a]:hover:underline",
68
68
  children: children
69
69
  });
70
70
  };
@@ -75,7 +75,7 @@ function Breadcrumb({
75
75
  return /*#__PURE__*/jsx("nav", {
76
76
  "aria-label": "breadcrumb",
77
77
  children: /*#__PURE__*/jsx("ul", {
78
- className: "typography-label2regular flex flex-wrap gap-2 whitespace-nowrap text-text-text01",
78
+ className: "typography-label2regular flex flex-wrap gap-2 whitespace-nowrap text-text01",
79
79
  children: children
80
80
  })
81
81
  });
@@ -83,7 +83,7 @@ function Breadcrumb({
83
83
  Breadcrumb.Item = BreadcrumbItem;
84
84
 
85
85
  const _excluded$6 = ["size", "variant", "type", "href", "target", "onClick"];
86
- function Button(_ref) {
86
+ const Button = /*#__PURE__*/forwardRef((_ref, ref) => {
87
87
  let {
88
88
  size = 'medium',
89
89
  variant = 'fill',
@@ -100,7 +100,7 @@ function Button(_ref) {
100
100
  'inline-flex': type === 'anchor',
101
101
  [buttonColors[variant].selected]: props.isSelected,
102
102
  [buttonColors[variant].base]: !props.isSelected,
103
- 'hover:text-text-textOnColor active:text-text-textOnColor [&:hover>*]:fill-icon-iconOnColor [&:active>*]:fill-icon-iconOnColor': props.isSelected && variant !== 'outline' && variant !== 'text',
103
+ 'hover:text-textOnColor active:text-textOnColor [&:hover>*]:fill-iconOnColor [&:active>*]:fill-iconOnColor': props.isSelected && variant !== 'outline' && variant !== 'text',
104
104
  'pointer-events-none': props.isDisabled,
105
105
  'rounded-button': !props.borderRadius,
106
106
  'typography-label1regular': size === 'large',
@@ -114,6 +114,7 @@ function Button(_ref) {
114
114
  style: {
115
115
  borderRadius: props.borderRadius
116
116
  },
117
+ ref: ref,
117
118
  children: [props.before, props.children, props.after]
118
119
  });
119
120
  } else {
@@ -126,16 +127,18 @@ function Button(_ref) {
126
127
  width: props.width,
127
128
  borderRadius: props.borderRadius
128
129
  },
130
+ ref: ref,
129
131
  children: [props.before, props.children, props.after]
130
132
  });
131
133
  }
132
- }
134
+ });
135
+ Button.displayName = 'Button';
133
136
 
134
137
  const CheckedIcon = () => {
135
138
  return /*#__PURE__*/jsx("svg", {
136
139
  viewBox: "0 0 20 20",
137
140
  xmlns: "http://www.w3.org/2000/svg",
138
- className: "absolute z-10 size-5 rounded-sm fill-icon-iconOnColor hover:rounded-sm",
141
+ className: "absolute z-10 size-5 rounded-sm fill-iconOnColor hover:rounded-sm",
139
142
  children: /*#__PURE__*/jsx("path", {
140
143
  fillRule: "evenodd",
141
144
  clipRule: "evenodd",
@@ -148,7 +151,7 @@ const MinusIcon = () => {
148
151
  return /*#__PURE__*/jsx("svg", {
149
152
  viewBox: "0 0 20 20",
150
153
  xmlns: "http://www.w3.org/2000/svg",
151
- className: "absolute z-10 size-5 rounded-sm fill-icon-iconOnColor hover:rounded-sm",
154
+ className: "absolute z-10 size-5 rounded-sm fill-iconOnColor hover:rounded-sm",
152
155
  children: /*#__PURE__*/jsx("path", {
153
156
  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"
154
157
  })
@@ -181,34 +184,34 @@ function Checkbox({
181
184
  'cursor-pointer': !isDisabled
182
185
  });
183
186
  const boxClasses = clsx$1('inline-flex size-5 items-center justify-center rounded-sm border bg-white', focusVisible.normalPeer, {
184
- 'border-disabled-disabled01': isDisabled,
185
- 'border-hover-hoverUiBorder': !isDisabled && isMouseOver,
186
- 'border-border-uiBorder03': !isDisabled && !isMouseOver,
187
- 'border-interactive-interactive02': !isDisabled && !isMouseOver && color === 'gray',
188
- 'border-hover-hoverError': !isDisabled && isMouseOver && color === 'error',
189
- 'border-support-supportError': !isDisabled && !isMouseOver && color === 'error'
187
+ 'border-disabled01': isDisabled,
188
+ 'border-hoverUiBorder': !isDisabled && isMouseOver && color === 'default',
189
+ 'border-uiBorder03': !isDisabled && !isMouseOver && color === 'default',
190
+ 'border-interactive02': !isDisabled && !isMouseOver && color === 'gray',
191
+ 'border-hoverError': !isDisabled && isMouseOver && color === 'error',
192
+ 'border-supportError': !isDisabled && !isMouseOver && color === 'error'
190
193
  });
191
194
  const indicatorClasses = clsx$1('relative flex size-5 flex-[0_0_auto] items-center justify-center', {
192
- 'bg-disabled-disabled01': isDisabled && isChecked,
193
- 'border-disabled-disabled01': isDisabled
195
+ 'bg-disabled01': isDisabled && isChecked,
196
+ 'border-disabled01': isDisabled
194
197
  });
195
198
  const afterClasses = clsx$1('absolute inset-0 m-auto block rounded-sm', {
196
- 'bg-disabled-disabled01': isDisabled && isChecked,
197
- 'bg-hover-hover01': !(isDisabled && isChecked) && isMouseOver,
198
- 'bg-interactive-interactive01': !(isDisabled && isChecked) && !isMouseOver,
199
- 'bg-hover-hover02Dark': !(isDisabled && isChecked) && isMouseOver && color === 'gray',
200
- 'bg-interactive-interactive02': !(isDisabled && isChecked) && !isMouseOver && color === 'gray',
201
- 'bg-hover-hoverError': !(isDisabled && isChecked) && isMouseOver && color === 'error',
202
- 'bg-support-supportError': !(isDisabled && isChecked) && !isMouseOver && color === 'error',
199
+ 'bg-disabled01': isDisabled && isChecked,
200
+ 'bg-hover01': !(isDisabled && isChecked) && isMouseOver,
201
+ 'bg-interactive01': !(isDisabled && isChecked) && !isMouseOver,
202
+ 'bg-hover02Dark': !(isDisabled && isChecked) && isMouseOver && color === 'gray',
203
+ 'bg-interactive02': !(isDisabled && isChecked) && !isMouseOver && color === 'gray',
204
+ 'bg-hoverError': !(isDisabled && isChecked) && isMouseOver && color === 'error',
205
+ 'bg-supportError': !(isDisabled && isChecked) && !isMouseOver && color === 'error',
203
206
  'scale-0': !isChecked,
204
207
  'scale-100': isChecked
205
208
  });
206
209
  const hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-[1px]', {
207
- 'bg-hover-hoverUi': !isDisabled && !isChecked && isMouseOver
210
+ 'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
208
211
  });
209
212
  const labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] break-all', {
210
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
211
- 'cursor-pointer text-text-text01': !isDisabled
213
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
214
+ 'cursor-pointer text-text01': !isDisabled
212
215
  });
213
216
  return /*#__PURE__*/jsxs("div", {
214
217
  className: "flex items-center",
@@ -31126,7 +31129,7 @@ const Icon = _ref => {
31126
31129
  } = _ref,
31127
31130
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
31128
31131
  const classes = clsx('inline-block shrink-0', {
31129
- 'fill-disabled-disabled01': props.isDisabled,
31132
+ 'fill-disabled01': props.isDisabled,
31130
31133
  [iconColors.icon01]: !props.isDisabled && props.color === 'icon01',
31131
31134
  [iconColors.icon01Dark]: !props.isDisabled && props.color === 'icon01Dark',
31132
31135
  [iconColors.icon02]: !props.isDisabled && props.color === 'icon02',
@@ -31169,9 +31172,9 @@ function DropdownItem({
31169
31172
  setIsVisible(false);
31170
31173
  onClick && onClick(event);
31171
31174
  };
31172
- const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
31173
- 'bg-background-uiBackground01 fill-icon-icon01 text-interactive-interactive02': color === 'gray',
31174
- 'fill-support-supportDanger text-support-supportDanger': color === 'red'
31175
+ const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31176
+ 'bg-uiBackground01 fill-icon01 text-interactive02': color === 'gray',
31177
+ 'fill-supportDanger text-supportDanger': color === 'red'
31175
31178
  });
31176
31179
  return /*#__PURE__*/jsx("li", {
31177
31180
  className: "flex w-full items-center",
@@ -31198,9 +31201,9 @@ function DropdownMenu({
31198
31201
  variant,
31199
31202
  portalTargetRef
31200
31203
  } = useContext(DropdownContext);
31201
- const wrapperClasses = clsx$1('z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 shadow-floatingShadow', {
31204
+ const wrapperClasses = clsx$1('z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 shadow-floatingShadow', {
31202
31205
  absolute: !portalTargetRef,
31203
- 'border-solid border border-border-uiBorder01': variant === 'outline',
31206
+ 'border-solid border border-uiBorder01': variant === 'outline',
31204
31207
  'py-1': !isNoPadding,
31205
31208
  'left-0': horizontalAlign === 'left',
31206
31209
  'right-0': horizontalAlign === 'right',
@@ -31255,9 +31258,9 @@ function Dropdown({
31255
31258
  const wrapperClasses = clsx$1('relative flex shrink-0 items-center gap-1 rounded', {
31256
31259
  'cursor-not-allowed': isDisabled
31257
31260
  });
31258
- const childrenButtonClasses = clsx$1('flex items-center justify-center rounded p-1 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.normal, {
31261
+ const childrenButtonClasses = clsx$1('flex items-center justify-center rounded p-1 hover:bg-hover02 active:bg-active02', focusVisible.normal, {
31259
31262
  'pointer-events-none': isDisabled,
31260
- 'border border-border-uiBorder02': variant === 'outline'
31263
+ 'border border-uiBorder02': variant === 'outline'
31261
31264
  });
31262
31265
  const buttonClasses = clsx$1('flex items-center rounded', buttonColors[variant].base, buttonColors[variant].hover, buttonColors[variant].active, buttonColors[variant].disabled, focusVisible.normal, {
31263
31266
  'pointer-events-none': isDisabled,
@@ -31291,7 +31294,7 @@ function Dropdown({
31291
31294
  onClick: handleToggle,
31292
31295
  disabled: isDisabled,
31293
31296
  children: [target, !isArrowHidden && /*#__PURE__*/jsx("div", {
31294
- className: "ml-2 flex items-center fill-icon-icon01",
31297
+ className: "ml-2 flex items-center fill-icon01",
31295
31298
  children: /*#__PURE__*/jsx(Icon, {
31296
31299
  name: isVisible ? 'angle-small-up' : 'angle-small-down',
31297
31300
  size: size === 'large' ? 'medium' : 'small'
@@ -31348,7 +31351,7 @@ function EvaluationStar({
31348
31351
  });
31349
31352
  const ratingStars = [];
31350
31353
  for (let i = 1; i < maxRating + 1; i++) {
31351
- const color = i <= currentRating ? 'fill-yellow-yellow50' : 'fill-icon-icon03';
31354
+ const color = i <= currentRating ? 'fill-yellow-yellow50' : 'fill-icon03';
31352
31355
  ratingStars.push( /*#__PURE__*/jsx("button", {
31353
31356
  type: "button",
31354
31357
  onClick: () => handleChangeRating(i),
@@ -31365,7 +31368,7 @@ function EvaluationStar({
31365
31368
 
31366
31369
  function Heading(props) {
31367
31370
  const TagName = `h${props.level}`;
31368
- const classes = clsx(`flex items-center text-text-text01`, typography.heading[TagName], {
31371
+ const classes = clsx(`flex items-center text-text01`, typography.heading[TagName], {
31369
31372
  'gap-2': props.level === 1,
31370
31373
  'gap-1': props.level > 1
31371
31374
  });
@@ -31438,7 +31441,7 @@ function Loading({
31438
31441
  fill: "none",
31439
31442
  xmlns: "http://www.w3.org/2000/svg",
31440
31443
  children: /*#__PURE__*/jsx("circle", {
31441
- className: "origin-center animate-circular-small-move stroke-interactive-interactive01",
31444
+ className: "origin-center animate-circular-small-move stroke-interactive01",
31442
31445
  cx: "8",
31443
31446
  cy: "8",
31444
31447
  r: "7",
@@ -31452,7 +31455,7 @@ function Loading({
31452
31455
  fill: "none",
31453
31456
  xmlns: "http://www.w3.org/2000/svg",
31454
31457
  children: /*#__PURE__*/jsx("circle", {
31455
- className: "origin-center animate-circular-medium-move stroke-interactive-interactive01",
31458
+ className: "origin-center animate-circular-medium-move stroke-interactive01",
31456
31459
  cx: "16",
31457
31460
  cy: "16",
31458
31461
  r: "15",
@@ -31466,7 +31469,7 @@ function Loading({
31466
31469
  fill: "none",
31467
31470
  xmlns: "http://www.w3.org/2000/svg",
31468
31471
  children: /*#__PURE__*/jsx("circle", {
31469
- className: "origin-center animate-circular-large-move stroke-interactive-interactive01",
31472
+ className: "origin-center animate-circular-large-move stroke-interactive01",
31470
31473
  cx: "32",
31471
31474
  cy: "32",
31472
31475
  r: "30",
@@ -31497,7 +31500,7 @@ function ModalFooter({
31497
31500
  isNoBorder
31498
31501
  }) {
31499
31502
  const wrapperClasses = clsx$1('flex w-full shrink-0 items-center rounded-b-lg px-6 py-4', {
31500
- 'border-t-[1px] border-border-uiBorder01': !isNoBorder
31503
+ 'border-t-[1px] border-uiBorder01': !isNoBorder
31501
31504
  });
31502
31505
  return /*#__PURE__*/jsx("div", {
31503
31506
  className: wrapperClasses,
@@ -31512,8 +31515,8 @@ function ModalHeader({
31512
31515
  const {
31513
31516
  onClose
31514
31517
  } = useContext(ModalContext);
31515
- const headerClasses = clsx$1('typography-h5 flex w-full shrink-0 items-center justify-between rounded-t-lg px-6 text-text-text01', {
31516
- 'border-b-[1px] border-border-uiBorder01': !isNoBorder,
31518
+ const headerClasses = clsx$1('typography-h5 flex w-full shrink-0 items-center justify-between rounded-t-lg px-6 text-text01', {
31519
+ 'border-b-[1px] border-uiBorder01': !isNoBorder,
31517
31520
  'h-14': !onClose,
31518
31521
  'h-12': onClose
31519
31522
  });
@@ -31551,9 +31554,9 @@ function Modal({
31551
31554
  onClose
31552
31555
  },
31553
31556
  children: /*#__PURE__*/jsx("div", {
31554
- className: "fixed left-0 top-0 z-overlay flex size-full items-center justify-center bg-background-backgroundOverlayBlack py-4",
31557
+ className: "fixed left-0 top-0 z-overlay flex size-full items-center justify-center bg-backgroundOverlayBlack py-4",
31555
31558
  children: /*#__PURE__*/jsx("div", {
31556
- className: "grid max-h-full min-h-[120px] grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-background-uiBackground01 shadow-modalShadow",
31559
+ className: "grid max-h-full min-h-[120px] grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-uiBackground01 shadow-modalShadow",
31557
31560
  style: {
31558
31561
  width: renderWidth,
31559
31562
  height: renderHeight
@@ -31574,20 +31577,20 @@ function NotificationInline(_ref) {
31574
31577
  size = 'medium'
31575
31578
  } = _ref,
31576
31579
  props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
31577
- const wrapperClasses = clsx('typography-body2regular flex items-center gap-1 rounded text-text-text01', {
31578
- 'bg-background-uiBackgroundError': state === 'attention',
31579
- 'bg-background-uiBackgroundWarning': state === 'warning',
31580
- 'bg-background-uiBackgroundBlue': state === 'information',
31581
- 'bg-background-uiBackgroundSuccess': state === 'success',
31582
- 'bg-background-uiBackgroundGray': state === 'default',
31580
+ const wrapperClasses = clsx('typography-body2regular flex items-center gap-1 rounded text-text01', {
31581
+ 'bg-uiBackgroundError': state === 'attention',
31582
+ 'bg-uiBackgroundWarning': state === 'warning',
31583
+ 'bg-uiBackgroundBlue': state === 'information',
31584
+ 'bg-uiBackgroundSuccess': state === 'success',
31585
+ 'bg-uiBackgroundGray': state === 'default',
31583
31586
  'p-2': size === 'small',
31584
31587
  'p-3': size === 'medium'
31585
31588
  });
31586
31589
  const iconClasses = clsx('flex items-center', {
31587
- 'fill-support-supportError': state === 'attention',
31588
- 'fill-support-supportWarning': state === 'warning',
31590
+ 'fill-supportError': state === 'attention',
31591
+ 'fill-supportWarning': state === 'warning',
31589
31592
  'fill-blue-blue50': state === 'information',
31590
- 'fill-support-supportSuccess': state === 'success'
31593
+ 'fill-supportSuccess': state === 'success'
31591
31594
  });
31592
31595
  const iconName = {
31593
31596
  attention: 'attention',
@@ -31656,7 +31659,7 @@ function Pagination({
31656
31659
  for (let i = start + offsetStart; i <= end + offsetEnd; i++) {
31657
31660
  pageList.push(i);
31658
31661
  }
31659
- const threeDotIconClasses = 'flex h-8 w-8 items-center justify-center gap-1 fill-icon-icon01';
31662
+ const threeDotIconClasses = 'flex h-8 w-8 items-center justify-center gap-1 fill-icon01';
31660
31663
  return /*#__PURE__*/jsx(PaginationContext.Provider, {
31661
31664
  value: {
31662
31665
  currentPage
@@ -31729,9 +31732,9 @@ function SelectItem$1({
31729
31732
  onChange == null || onChange(option);
31730
31733
  setIsOptionListOpen(false);
31731
31734
  };
31732
- const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
31733
- 'text-interactive-interactive01 fill-interactive-interactive01 bg-selected-selectedUi': option.id === (selectedOption == null ? void 0 : selectedOption.id),
31734
- 'text-interactive-interactive02 fill-icon-icon01 bg-background-uiBackground01': option.id !== (selectedOption == null ? void 0 : selectedOption.id)
31735
+ const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
31736
+ 'text-interactive01 fill-interactive01 bg-selectedUi': option.id === (selectedOption == null ? void 0 : selectedOption.id),
31737
+ 'text-interactive02 fill-icon01 bg-uiBackground01': option.id !== (selectedOption == null ? void 0 : selectedOption.id)
31735
31738
  });
31736
31739
  return /*#__PURE__*/jsx("li", {
31737
31740
  className: "flex w-full items-center",
@@ -31785,13 +31788,13 @@ function SelectList$1({
31785
31788
  }
31786
31789
  // eslint-disable-next-line react-hooks/exhaustive-deps
31787
31790
  }, []);
31788
- const listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 py-2 shadow-floatingShadow', {
31791
+ const listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 py-2 shadow-floatingShadow', {
31789
31792
  'top-7': size === 'x-small' || size === 'small',
31790
31793
  'top-9': size === 'medium',
31791
31794
  'top-11': size === 'large',
31792
- 'border-solid border border-border-uiBorder01': variant === 'outline'
31795
+ 'border-solid border border-uiBorder01': variant === 'outline'
31793
31796
  });
31794
- const 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);
31797
+ const deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
31795
31798
  return /*#__PURE__*/jsxs("ul", {
31796
31799
  className: listClasses,
31797
31800
  style: {
@@ -31923,7 +31926,7 @@ function PaginationSelect({
31923
31926
  children: [/*#__PURE__*/jsxs("div", {
31924
31927
  className: "flex items-center gap-x-2",
31925
31928
  children: [/*#__PURE__*/jsxs("div", {
31926
- className: "typography-label2regular text-text-text01",
31929
+ className: "typography-label2regular text-text01",
31927
31930
  children: [(currentPage - 1) * sizePerPage + 1, " -", ' ', currentPage * sizePerPage > totalSize ? totalSize : currentPage * sizePerPage, countLabel]
31928
31931
  }), /*#__PURE__*/jsx(Select, {
31929
31932
  size: "medium",
@@ -31935,7 +31938,7 @@ function PaginationSelect({
31935
31938
  option: option
31936
31939
  }, option.id))
31937
31940
  }), /*#__PURE__*/jsxs("div", {
31938
- className: "typography-label2regular text-text-text03",
31941
+ className: "typography-label2regular text-text03",
31939
31942
  children: ["/ ", pageMax, pageLabel]
31940
31943
  })]
31941
31944
  }), /*#__PURE__*/jsxs("div", {
@@ -31979,24 +31982,24 @@ function Radio({
31979
31982
  'cursor-pointer': !isDisabled
31980
31983
  });
31981
31984
  const boxClasses = clsx$1('inline-flex size-5 items-center justify-center rounded-full border border-solid bg-white', focusVisible.normalPeer, {
31982
- 'border-disabled-disabled01 hover:border-disabled-disabled01': isDisabled && !isMouseOver,
31983
- 'border-hover-hoverUiBorder': !isDisabled && isMouseOver,
31984
- 'border-border-uiBorder03': !isDisabled,
31985
+ 'border-disabled01 hover:border-disabled01': isDisabled && !isMouseOver,
31986
+ 'border-hoverUiBorder': !isDisabled && isMouseOver,
31987
+ 'border-uiBorder03': !isDisabled,
31985
31988
  'cursor-not-allowed': isDisabled,
31986
31989
  'cursor-pointer': !isDisabled
31987
31990
  });
31988
31991
  const afterClasses = clsx$1('absolute inset-0 m-auto block size-3 rounded-full', {
31989
- 'bg-disabled-disabled01': isDisabled && isChecked,
31990
- 'bg-active-activeSelectedUi': !isDisabled && isChecked,
31992
+ 'bg-disabled01': isDisabled && isChecked,
31993
+ 'bg-activeSelectedUi': !isDisabled && isChecked,
31991
31994
  'scale-0': !isChecked,
31992
31995
  'scale-100': isChecked
31993
31996
  });
31994
31997
  const hoverIndicatorClasses = clsx$1('inline-block size-3 rounded-full', {
31995
- 'bg-hover-hoverUi': !isDisabled && !isChecked && isMouseOver
31998
+ 'bg-hoverUi': !isDisabled && !isChecked && isMouseOver
31996
31999
  });
31997
32000
  const labelClasses = clsx$1('typography-label2regular ml-2 flex-[1_0_0] select-none break-all', {
31998
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
31999
- 'cursor-pointer text-text-text01': !isDisabled
32001
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32002
+ 'cursor-pointer text-text01': !isDisabled
32000
32003
  });
32001
32004
  return /*#__PURE__*/jsxs("div", {
32002
32005
  className: "flex items-center",
@@ -32039,12 +32042,12 @@ const Search = /*#__PURE__*/forwardRef((_ref, ref) => {
32039
32042
  size = 'medium'
32040
32043
  } = _ref,
32041
32044
  props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
32042
- const classes = clsx('flex items-center rounded-full border border-border-uiBorder02 focus-within:border-active-activeInput', {
32045
+ const classes = clsx('flex items-center rounded-full border border-uiBorder02 focus-within:border-activeInput', {
32043
32046
  'h-8 px-3': size === 'medium'
32044
32047
  }, {
32045
32048
  'h-10 px-4': size === 'large'
32046
32049
  });
32047
- const inputClasses = clsx('mx-2.5 h-full flex-1 text-text-text01 outline-0 placeholder:text-text-textPlaceholder', {
32050
+ const inputClasses = clsx('mx-2.5 h-full flex-1 text-text01 outline-0 placeholder:text-textPlaceholder', {
32048
32051
  ['typography-label2regular']: size === 'medium',
32049
32052
  ['typography-label1regular']: size === 'large'
32050
32053
  });
@@ -32087,9 +32090,9 @@ function SelectItem({
32087
32090
  isSortKey,
32088
32091
  onClickItem
32089
32092
  }) {
32090
- const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover-hover02 active:bg-active-active02', focusVisible.inset, {
32091
- 'bg-selected-selectedUi fill-interactive-interactive01 text-interactive-interactive01': isSortKey,
32092
- 'bg-background-uiBackground01 fill-icon-icon01 text-interactive-interactive02': !isSortKey
32093
+ const itemClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 hover:bg-hover02 active:bg-active02', focusVisible.inset, {
32094
+ 'bg-selectedUi fill-interactive01 text-interactive01': isSortKey,
32095
+ 'bg-uiBackground01 fill-icon01 text-interactive02': !isSortKey
32093
32096
  });
32094
32097
  return /*#__PURE__*/jsx("li", {
32095
32098
  className: "flex w-full items-center",
@@ -32118,13 +32121,13 @@ function SelectList({
32118
32121
  onClickItem,
32119
32122
  onClickDeselect
32120
32123
  }) {
32121
- const listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-background-uiBackground01 py-2 shadow-floatingShadow', {
32124
+ const listClasses = clsx$1('absolute z-dropdown w-max overflow-y-auto rounded bg-uiBackground01 py-2 shadow-floatingShadow', {
32122
32125
  'top-7': size === 'x-small' || size === 'small',
32123
32126
  'top-9': size === 'medium',
32124
32127
  'top-11': size === 'large',
32125
- 'border-solid border border-border-uiBorder01': variant === 'outline'
32128
+ 'border-solid border border-uiBorder01': variant === 'outline'
32126
32129
  });
32127
- const 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);
32130
+ const deselectButtonClasses = clsx$1('typography-label2regular flex h-8 w-full items-center px-3 text-interactive02 hover:bg-hover02 active:bg-active02', focusVisible.inset);
32128
32131
  return /*#__PURE__*/jsxs("ul", {
32129
32132
  className: listClasses,
32130
32133
  children: [/*#__PURE__*/jsx(SelectItem, {
@@ -32220,11 +32223,11 @@ function SelectSort({
32220
32223
  }
32221
32224
 
32222
32225
  const TabItem = props => {
32223
- const 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', {
32226
+ const 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', {
32224
32227
  'typography-label2regular': !props.isSelected,
32225
- 'text-interactive-interactive02 hover:before:bg-border-uiBorder02Dark': !props.isSelected,
32228
+ 'text-interactive02 hover:before:bg-uiBorder02Dark': !props.isSelected,
32226
32229
  'typography-label2bold': props.isSelected,
32227
- 'before:bg-interactive-interactive01 hover:before:bg-interactive-interactive01 pointer-events-none': props.isSelected
32230
+ 'before:bg-interactive01 hover:before:bg-interactive01 pointer-events-none': props.isSelected
32228
32231
  });
32229
32232
  return /*#__PURE__*/jsx("button", {
32230
32233
  type: "button",
@@ -32242,7 +32245,7 @@ function Tab({
32242
32245
  }) {
32243
32246
  return /*#__PURE__*/jsx("div", {
32244
32247
  role: "tablist",
32245
- className: "relative flex gap-4 px-6 before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-border-uiBorder01",
32248
+ className: "relative flex gap-4 px-6 before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-uiBorder01",
32246
32249
  children: children
32247
32250
  });
32248
32251
  }
@@ -32253,7 +32256,7 @@ function TableCell({
32253
32256
  className
32254
32257
  }) {
32255
32258
  return /*#__PURE__*/jsx("div", {
32256
- className: clsx$1('border-b-[1px] border-border-uiBorder01', className),
32259
+ className: clsx$1('border-b-[1px] border-uiBorder01', className),
32257
32260
  children: children
32258
32261
  });
32259
32262
  }
@@ -32262,7 +32265,7 @@ function TableRow({
32262
32265
  children,
32263
32266
  isHoverBackgroundVisible
32264
32267
  }) {
32265
- const rowClasses = clsx$1('contents', isHoverBackgroundVisible && '[&:hover>div]:bg-hover-hoverUi02');
32268
+ const rowClasses = clsx$1('contents', isHoverBackgroundVisible && '[&:hover>div]:bg-hoverUi02');
32266
32269
  return /*#__PURE__*/jsx("div", {
32267
32270
  className: rowClasses,
32268
32271
  children: children
@@ -32297,10 +32300,10 @@ const DeleteIcon = ({
32297
32300
  variant,
32298
32301
  onClick
32299
32302
  }) => {
32300
- const 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);
32303
+ const 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);
32301
32304
  const deletePathClasses = clsx$1({
32302
- 'fill-interactive-interactive02': color === 'gray' || variant === 'light',
32303
- 'group-hover:fill-interactive-interactive02 group-focus-visible:fill-interactive-interactive02 fill-icon-iconOnColor': color !== 'gray'
32305
+ 'fill-interactive02': color === 'gray' || variant === 'light',
32306
+ 'group-hover:fill-interactive02 group-focus-visible:fill-interactive02 fill-iconOnColor': color !== 'gray'
32304
32307
  });
32305
32308
  return /*#__PURE__*/jsx("button", {
32306
32309
  type: "button",
@@ -32358,14 +32361,14 @@ const TextArea = /*#__PURE__*/forwardRef((_ref, ref) => {
32358
32361
  isError
32359
32362
  } = _ref,
32360
32363
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
32361
- const classes = clsx('w-full rounded border outline-0 placeholder:text-text-textPlaceholder disabled:text-text-textPlaceholder', {
32362
- 'border-support-supportError': isError && !props.disabled,
32363
- 'hover:border-hover-hoverInput': !props.disabled && !isError,
32364
- 'border-border-uiBorder01 hover:focus-within:border-active-activeInput focus-within:border-active-activeInput text-text-text01': !isError,
32365
- 'bg-disabled-disabled02 border-disabled-disabled02': props.disabled,
32364
+ const classes = clsx('w-full rounded border outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', {
32365
+ 'border-supportError': isError && !props.disabled,
32366
+ 'hover:border-hoverInput': !props.disabled && !isError,
32367
+ 'border-uiBorder01 hover:focus-within:border-activeInput focus-within:border-activeInput text-text01': !isError,
32368
+ 'bg-disabled02 border-disabled01': props.disabled,
32366
32369
  ['typography-body1regular px-2 pt-1.5 pb-2']: size === 'medium',
32367
32370
  ['text-4 px-3.5 py-2.5']: size === 'large',
32368
- 'text-support-supportError': isError,
32371
+ 'text-supportError': isError,
32369
32372
  'resize-none': !isResizable
32370
32373
  });
32371
32374
  return /*#__PURE__*/jsx("div", {
@@ -32391,18 +32394,18 @@ const TextInput = /*#__PURE__*/forwardRef((_ref, ref) => {
32391
32394
  } = _ref,
32392
32395
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
32393
32396
  const inputWrapClasses = clsx('relative flex items-center gap-2 overflow-hidden rounded border', {
32394
- 'border-border-uiBorder01': !isError,
32395
- 'border-support-supportError': isError && !props.disabled,
32396
- 'hover:border-hover-hoverInput': !props.disabled && !isError,
32397
- 'hover:focus-within:border-active-activeInput': !isError,
32398
- 'focus-within:border-active-activeInput': !isError,
32399
- 'bg-disabled-disabled02 border-disabled-disabled02': props.disabled
32397
+ 'border-uiBorder01': !isError,
32398
+ 'border-supportError': isError && !props.disabled,
32399
+ 'hover:border-hoverInput': !props.disabled && !isError,
32400
+ 'hover:focus-within:border-activeInput': !isError,
32401
+ 'focus-within:border-activeInput': !isError,
32402
+ 'bg-disabled02 border-disabled01': props.disabled
32400
32403
  });
32401
- const inputClasses = clsx('flex-1 pl-2 pr-3 outline-0 placeholder:text-text-textPlaceholder disabled:text-text-textPlaceholder', {
32404
+ const inputClasses = clsx('flex-1 pl-2 pr-3 outline-0 placeholder:text-textPlaceholder disabled:text-textPlaceholder', {
32402
32405
  ['typography-label2regular pt-1.5 pb-2']: size === 'medium',
32403
32406
  ['typography-label1regular py-2.5']: size === 'large',
32404
- 'text-text-text01': !isError,
32405
- 'text-support-supportError': isError
32407
+ 'text-text01': !isError,
32408
+ 'text-supportError': isError
32406
32409
  });
32407
32410
  return /*#__PURE__*/jsxs("div", {
32408
32411
  className: inputWrapClasses,
@@ -32450,14 +32453,14 @@ function Toast({
32450
32453
  ['animate-toast-out opacity-0']: isAnimation && isRemoving
32451
32454
  });
32452
32455
  const iconClasses = clsx$1('flex items-center', {
32453
- 'fill-support-supportSuccess': state === 'success',
32454
- 'fill-support-supportError': state === 'error',
32455
- 'fill-support-supportWarning': state === 'warning',
32456
- 'fill-support-supportInfo': state === 'information'
32456
+ 'fill-supportSuccess': state === 'success',
32457
+ 'fill-supportError': state === 'error',
32458
+ 'fill-supportWarning': state === 'warning',
32459
+ 'fill-supportInfo': state === 'information'
32457
32460
  });
32458
32461
  const textClasses = clsx$1('typography-body2regular flex-1 pt-[3px]', {
32459
- 'text-support-supportError': state === 'error',
32460
- 'text-text-text01': state === 'success' || state === 'warning' || state === 'information'
32462
+ 'text-supportError': state === 'error',
32463
+ 'text-text01': state === 'success' || state === 'warning' || state === 'information'
32461
32464
  });
32462
32465
  const iconName = {
32463
32466
  success: 'success-filled',
@@ -32555,15 +32558,15 @@ function Toggle({
32555
32558
  isDisabled
32556
32559
  }) {
32557
32560
  const baseClasses = clsx$1('relative flex items-center rounded-full', {
32558
- 'bg-disabled-disabledOn': isDisabled && isChecked,
32559
- 'bg-disabled-disabled01': isDisabled && !isChecked,
32560
- 'bg-interactive-interactive01 peer-hover:bg-hover-hover01': !isDisabled && isChecked,
32561
- 'bg-interactive-interactive02 peer-hover:bg-hover-hover02Dark': !isDisabled && !isChecked,
32561
+ 'bg-disabledOn': isDisabled && isChecked,
32562
+ 'bg-disabled01': isDisabled && !isChecked,
32563
+ 'bg-interactive01 peer-hover:bg-hover01': !isDisabled && isChecked,
32564
+ 'bg-interactive02 peer-hover:bg-hover02Dark': !isDisabled && !isChecked,
32562
32565
  'w-8 h-4 px-[3px]': size === 'small',
32563
32566
  'w-12 h-6 px-1': size === 'medium'
32564
32567
  });
32565
32568
  const inputClasses = clsx$1('peer absolute inset-0 z-[1] opacity-0', isDisabled ? 'cursor-not-allowed' : 'cursor-pointer');
32566
- const indicatorClasses = clsx$1('rounded-full bg-icon-iconOnColor', {
32569
+ const indicatorClasses = clsx$1('rounded-full bg-iconOnColor', {
32567
32570
  'w-2.5 h-2.5': size === 'small',
32568
32571
  'w-4 h-4': size === 'medium',
32569
32572
  'ml-auto': isChecked
@@ -32573,8 +32576,8 @@ function Toggle({
32573
32576
  'ml-2': labelPosition === 'right',
32574
32577
  'typography-label3regular': size === 'small',
32575
32578
  'typography-label1regular': size === 'medium',
32576
- 'pointer-events-none cursor-not-allowed text-disabled-disabled01': isDisabled,
32577
- 'cursor-pointer text-text-text01': !isDisabled
32579
+ 'pointer-events-none cursor-not-allowed text-disabled01': isDisabled,
32580
+ 'cursor-pointer text-text01': !isDisabled
32578
32581
  });
32579
32582
  return /*#__PURE__*/jsxs("div", {
32580
32583
  className: "relative flex flex-[0_0_auto] items-center",
@@ -32654,7 +32657,7 @@ const useTooltip = () => {
32654
32657
  };
32655
32658
 
32656
32659
  const TailIcon = props => {
32657
- const tailClasses = clsx$1('absolute fill-background-uiBackgroundTooltip', {
32660
+ const tailClasses = clsx$1('absolute fill-uiBackgroundTooltip', {
32658
32661
  'rotate-180': props.verticalPosition === 'bottom',
32659
32662
  'rotate-0': props.verticalPosition !== 'bottom',
32660
32663
  '-top-1': props.verticalPosition === 'bottom' && props.size === 'small',
@@ -32712,7 +32715,7 @@ const TooltipContent = ({
32712
32715
  'w-[24px]': size === 'small',
32713
32716
  'w-[46px]': size !== 'small'
32714
32717
  });
32715
- const tooltipBodyClasses = clsx$1('absolute z-tooltip inline-block w-max rounded bg-background-uiBackgroundTooltip text-text-textOnColor', {
32718
+ const tooltipBodyClasses = clsx$1('absolute z-tooltip inline-block w-max rounded bg-uiBackgroundTooltip text-textOnColor', {
32716
32719
  'typography-body3regular': size === 'small',
32717
32720
  'typography-body2regular': size === 'medium',
32718
32721
  'px-2 pb-1 pt-1.5': size === 'small',