musae 0.3.11 → 0.3.13

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.
Files changed (188) hide show
  1. package/dist/components/avatar/avatar.cjs +4 -5
  2. package/dist/components/avatar/avatar.mjs +4 -5
  3. package/dist/components/badge/badge.cjs +3 -4
  4. package/dist/components/badge/badge.mjs +3 -4
  5. package/dist/components/bench/bench.cjs +2 -3
  6. package/dist/components/bench/bench.mjs +2 -3
  7. package/dist/components/breadcrumb/breadcrumb.cjs +2 -3
  8. package/dist/components/breadcrumb/breadcrumb.mjs +2 -3
  9. package/dist/components/breadcrumb/item.cjs +4 -5
  10. package/dist/components/breadcrumb/item.mjs +4 -5
  11. package/dist/components/button/button.cjs +6 -7
  12. package/dist/components/button/button.mjs +6 -7
  13. package/dist/components/calendar/calendar.cjs +2 -3
  14. package/dist/components/calendar/calendar.mjs +2 -3
  15. package/dist/components/calendar/contribution.cjs +1 -1
  16. package/dist/components/calendar/contribution.mjs +1 -1
  17. package/dist/components/calendar/hooks.cjs +3 -4
  18. package/dist/components/calendar/hooks.mjs +3 -4
  19. package/dist/components/checkbox/checkbox.cjs +6 -7
  20. package/dist/components/checkbox/checkbox.mjs +6 -7
  21. package/dist/components/clock/column.cjs +3 -4
  22. package/dist/components/clock/column.mjs +3 -4
  23. package/dist/components/collapse/collapse.cjs +2 -3
  24. package/dist/components/collapse/collapse.mjs +2 -3
  25. package/dist/components/collapse/item.cjs +3 -4
  26. package/dist/components/collapse/item.mjs +3 -4
  27. package/dist/components/date-picker/date-picker.cjs +1 -1
  28. package/dist/components/date-picker/date-picker.mjs +1 -1
  29. package/dist/components/dialog/hooks.cjs +3 -3
  30. package/dist/components/dialog/hooks.mjs +3 -3
  31. package/dist/components/dialog/popup.cjs +5 -5
  32. package/dist/components/dialog/popup.mjs +5 -5
  33. package/dist/components/divider/divider.cjs +3 -4
  34. package/dist/components/divider/divider.mjs +3 -4
  35. package/dist/components/drawer/popup.cjs +4 -5
  36. package/dist/components/drawer/popup.mjs +4 -5
  37. package/dist/components/empty/empty.cjs +1 -1
  38. package/dist/components/empty/empty.mjs +1 -1
  39. package/dist/components/fab/floatable.cjs +1 -1
  40. package/dist/components/fab/floatable.mjs +1 -1
  41. package/dist/components/form/field/error.cjs +2 -3
  42. package/dist/components/form/field/error.mjs +2 -3
  43. package/dist/components/form/field/field.cjs +1 -1
  44. package/dist/components/form/field/field.mjs +1 -1
  45. package/dist/components/form/field/layout.cjs +2 -3
  46. package/dist/components/form/field/layout.mjs +2 -3
  47. package/dist/components/grid/col.cjs +1 -1
  48. package/dist/components/grid/col.mjs +1 -1
  49. package/dist/components/grid/row.cjs +1 -1
  50. package/dist/components/grid/row.mjs +1 -1
  51. package/dist/components/highlight/highlight.cjs +2 -3
  52. package/dist/components/highlight/highlight.mjs +2 -3
  53. package/dist/components/icon/icon.cjs +1 -1
  54. package/dist/components/icon/icon.mjs +1 -1
  55. package/dist/components/image/image.cjs +1 -1
  56. package/dist/components/image/image.mjs +1 -1
  57. package/dist/components/image/preview/operations.cjs +3 -4
  58. package/dist/components/image/preview/operations.mjs +3 -4
  59. package/dist/components/image/preview/preview.cjs +1 -1
  60. package/dist/components/image/preview/preview.mjs +1 -1
  61. package/dist/components/input/hooks.cjs +2 -14
  62. package/dist/components/input/hooks.d.ts +0 -2
  63. package/dist/components/input/hooks.mjs +2 -14
  64. package/dist/components/input/input.cjs +15 -23
  65. package/dist/components/input/input.d.ts +7 -5
  66. package/dist/components/input/input.mjs +15 -23
  67. package/dist/components/layout/header.cjs +2 -3
  68. package/dist/components/layout/header.mjs +2 -3
  69. package/dist/components/layout/layout.cjs +3 -4
  70. package/dist/components/layout/layout.mjs +3 -4
  71. package/dist/components/loading/loading.cjs +1 -1
  72. package/dist/components/loading/loading.mjs +1 -1
  73. package/dist/components/menu/group.cjs +2 -3
  74. package/dist/components/menu/group.mjs +2 -3
  75. package/dist/components/menu/hooks.cjs +1 -1
  76. package/dist/components/menu/hooks.mjs +1 -1
  77. package/dist/components/menu/item.cjs +7 -8
  78. package/dist/components/menu/item.mjs +7 -8
  79. package/dist/components/notification/holder.cjs +1 -1
  80. package/dist/components/notification/holder.mjs +1 -1
  81. package/dist/components/notification/notification.cjs +4 -5
  82. package/dist/components/notification/notification.mjs +4 -5
  83. package/dist/components/otp-input/otp-input.cjs +6 -3
  84. package/dist/components/otp-input/otp-input.d.ts +1 -1
  85. package/dist/components/otp-input/otp-input.mjs +6 -3
  86. package/dist/components/password-input/password-input.cjs +30 -4
  87. package/dist/components/password-input/password-input.mjs +30 -4
  88. package/dist/components/picker/picker.cjs +3 -5
  89. package/dist/components/picker/picker.mjs +3 -5
  90. package/dist/components/popconfirm/popconfirm.cjs +2 -3
  91. package/dist/components/popconfirm/popconfirm.mjs +2 -3
  92. package/dist/components/popover/popover.cjs +1 -1
  93. package/dist/components/popover/popover.mjs +1 -1
  94. package/dist/components/popper/dropdown.cjs +3 -4
  95. package/dist/components/popper/dropdown.mjs +3 -4
  96. package/dist/components/progress/circular.cjs +3 -4
  97. package/dist/components/progress/circular.d.ts +1 -1
  98. package/dist/components/progress/circular.mjs +3 -4
  99. package/dist/components/progress/linear.cjs +3 -4
  100. package/dist/components/progress/linear.mjs +3 -4
  101. package/dist/components/quote/quote.cjs +2 -3
  102. package/dist/components/quote/quote.mjs +2 -3
  103. package/dist/components/radio/radio.cjs +4 -5
  104. package/dist/components/radio/radio.mjs +4 -5
  105. package/dist/components/rate/rate.cjs +1 -1
  106. package/dist/components/rate/rate.mjs +1 -1
  107. package/dist/components/rate/star.cjs +4 -5
  108. package/dist/components/rate/star.mjs +4 -5
  109. package/dist/components/rich-text-editor/plugins/toolbar/index.cjs +2 -3
  110. package/dist/components/rich-text-editor/plugins/toolbar/index.mjs +2 -3
  111. package/dist/components/rich-text-editor/rich-text-editor.cjs +5 -9
  112. package/dist/components/rich-text-editor/rich-text-editor.mjs +5 -9
  113. package/dist/components/ripple/ripple.cjs +1 -1
  114. package/dist/components/ripple/ripple.mjs +1 -1
  115. package/dist/components/select/selector.cjs +2 -3
  116. package/dist/components/select/selector.mjs +2 -3
  117. package/dist/components/skeleton/skeleton.cjs +1 -1
  118. package/dist/components/skeleton/skeleton.mjs +1 -1
  119. package/dist/components/space/space.cjs +1 -1
  120. package/dist/components/space/space.mjs +1 -1
  121. package/dist/components/steps/item.cjs +9 -10
  122. package/dist/components/steps/item.mjs +9 -10
  123. package/dist/components/steps/steps.cjs +1 -1
  124. package/dist/components/steps/steps.mjs +1 -1
  125. package/dist/components/switch/switch.cjs +19 -20
  126. package/dist/components/switch/switch.mjs +19 -20
  127. package/dist/components/table/body.cjs +2 -3
  128. package/dist/components/table/body.mjs +2 -3
  129. package/dist/components/table/header/cell.cjs +4 -5
  130. package/dist/components/table/header/cell.mjs +4 -5
  131. package/dist/components/table/header/header.cjs +4 -5
  132. package/dist/components/table/header/header.mjs +4 -5
  133. package/dist/components/tabs/navigation.cjs +3 -4
  134. package/dist/components/tabs/navigation.mjs +3 -4
  135. package/dist/components/tabs/panels.cjs +1 -1
  136. package/dist/components/tabs/panels.mjs +1 -1
  137. package/dist/components/tag/tag.cjs +3 -4
  138. package/dist/components/tag/tag.mjs +3 -4
  139. package/dist/components/textarea/textarea.cjs +32 -52
  140. package/dist/components/textarea/textarea.d.ts +2 -2
  141. package/dist/components/textarea/textarea.mjs +33 -53
  142. package/dist/components/theme/hooks.cjs +5 -5
  143. package/dist/components/theme/hooks.d.ts +1 -1
  144. package/dist/components/theme/hooks.mjs +3 -3
  145. package/dist/components/time-picker/panel.cjs +2 -3
  146. package/dist/components/time-picker/panel.mjs +2 -3
  147. package/dist/components/time-picker/time-picker.cjs +1 -1
  148. package/dist/components/time-picker/time-picker.mjs +1 -1
  149. package/dist/components/timeline/item.cjs +3 -4
  150. package/dist/components/timeline/item.mjs +3 -4
  151. package/dist/components/tour/tour.cjs +3 -4
  152. package/dist/components/tour/tour.mjs +3 -4
  153. package/dist/components/transfer/list.cjs +3 -4
  154. package/dist/components/transfer/list.mjs +3 -4
  155. package/dist/components/tree/list.cjs +1 -1
  156. package/dist/components/tree/list.mjs +1 -1
  157. package/dist/components/tree/node.cjs +4 -5
  158. package/dist/components/tree/node.mjs +4 -5
  159. package/dist/components/upload/uploaded-item.cjs +2 -3
  160. package/dist/components/upload/uploaded-item.mjs +2 -3
  161. package/dist/components/upload/uploaded-list.cjs +1 -1
  162. package/dist/components/upload/uploaded-list.mjs +1 -1
  163. package/dist/components/waterfall/sequential.cjs +1 -1
  164. package/dist/components/waterfall/sequential.mjs +1 -1
  165. package/dist/components/waterfall/waterfall.cjs +1 -1
  166. package/dist/components/waterfall/waterfall.mjs +1 -1
  167. package/dist/hooks/use-class-names.d.ts +1 -0
  168. package/dist/hooks/use-closable.cjs +24 -3
  169. package/dist/hooks/use-closable.d.ts +2 -1
  170. package/dist/hooks/use-closable.mjs +24 -3
  171. package/dist/styles.css +2422 -547
  172. package/dist/types/icon.d.ts +1 -1
  173. package/dist/types/input.d.ts +1 -1
  174. package/dist/types/otp-input.d.ts +7 -1
  175. package/dist/types/textarea.d.ts +9 -2
  176. package/dist/types/theme.d.ts +2 -2
  177. package/dist/utils/class-name.cjs +2 -1
  178. package/dist/utils/class-name.d.ts +4 -1
  179. package/dist/utils/class-name.mjs +2 -1
  180. package/dist/utils/color-role.cjs +63 -0
  181. package/dist/utils/color-role.d.ts +18 -0
  182. package/dist/utils/color-role.mjs +63 -0
  183. package/package.json +7 -7
  184. package/dist/utils/colors.cjs +0 -72
  185. package/dist/utils/colors.d.ts +0 -64
  186. package/dist/utils/colors.mjs +0 -72
  187. /package/dist/node_modules/.pnpm/{@stylexjs_stylex@0.7.5 → @stylexjs_stylex@0.8.0}/node_modules/@stylexjs/stylex/lib/es/stylex.cjs +0 -0
  188. /package/dist/node_modules/.pnpm/{@stylexjs_stylex@0.7.5 → @stylexjs_stylex@0.8.0}/node_modules/@stylexjs/stylex/lib/es/stylex.mjs +0 -0
@@ -3,10 +3,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
4
4
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
5
5
  var React = require('react');
6
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
7
7
  var context = require('./context.cjs');
8
8
  var hooks = require('../theme/hooks.cjs');
9
- var colors = require('../../utils/colors.cjs');
10
9
  var useClassNames = require('../../hooks/use-class-names.cjs');
11
10
  var className = require('../../utils/class-name.cjs');
12
11
  var theme = require('../theme/theme.cjs');
@@ -157,10 +156,10 @@ var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
157
156
  });
158
157
  var styled = {
159
158
  avatar: stylex.default.props(theme.typography.label[size], styles.avatar({
160
- backgroundColor: theme$1.colors[colors.ColorToken.PrimaryContainer],
161
- color: theme$1.colors[colors.ColorToken.Primary]
159
+ backgroundColor: theme$1.colors["primary-container"],
160
+ color: theme$1.colors.primary
162
161
  }), styles[size], styles[shape], isInGroup && styles.overlapping({
163
- outlineColor: theme$1.colors[colors.ColorToken.OnPrimary]
162
+ outlineColor: theme$1.colors["on-primary"]
164
163
  })),
165
164
  loading: stylex.default.props(styles[shape], styles[size]),
166
165
  image: stylex.default.props(styles.image, styles[size])
@@ -1,10 +1,9 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import React, { forwardRef, useContext } from 'react';
4
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
5
  import { Context } from './context.mjs';
6
6
  import { useTheme } from '../theme/hooks.mjs';
7
- import { ColorToken } from '../../utils/colors.mjs';
8
7
  import { useClassNames } from '../../hooks/use-class-names.mjs';
9
8
  import { AvatarClassToken } from '../../utils/class-name.mjs';
10
9
  import { typography } from '../theme/theme.mjs';
@@ -155,10 +154,10 @@ var Avatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
155
154
  });
156
155
  var styled = {
157
156
  avatar: _stylex.props(typography.label[size], styles.avatar({
158
- backgroundColor: theme.colors[ColorToken.PrimaryContainer],
159
- color: theme.colors[ColorToken.Primary]
157
+ backgroundColor: theme.colors["primary-container"],
158
+ color: theme.colors.primary
160
159
  }), styles[size], styles[shape], isInGroup && styles.overlapping({
161
- outlineColor: theme.colors[ColorToken.OnPrimary]
160
+ outlineColor: theme.colors["on-primary"]
162
161
  })),
163
162
  loading: _stylex.props(styles[shape], styles[size]),
164
163
  image: _stylex.props(styles.image, styles[size])
@@ -4,11 +4,10 @@ var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
4
4
  var React = require('react');
5
5
  var useClassNames = require('../../hooks/use-class-names.cjs');
6
6
  var className = require('../../utils/class-name.cjs');
7
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
7
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
8
8
  var theme = require('../theme/theme.cjs');
9
9
  var tokens_stylex = require('../theme/tokens.stylex.cjs');
10
10
  var hooks = require('../theme/hooks.cjs');
11
- var colors = require('../../utils/colors.cjs');
12
11
  var relax = require('@aiszlab/relax');
13
12
  var componentToken = require('../../utils/component-token.cjs');
14
13
 
@@ -104,8 +103,8 @@ var Badge = function Badge(_ref) {
104
103
  var styled = {
105
104
  badge: stylex.default.props(styles.badge["default"]),
106
105
  tail: stylex.default.props(styles.tail["default"]({
107
- backgroundColor: theme$1.colors[colors.ColorToken.Primary],
108
- color: theme$1.colors[colors.ColorToken.OnPrimary]
106
+ backgroundColor: theme$1.colors.primary,
107
+ color: theme$1.colors["on-primary"]
109
108
  }), isDot && styles.tail.dot, theme.typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
110
109
  };
111
110
  return /*#__PURE__*/React.createElement("span", {
@@ -2,11 +2,10 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import React from 'react';
3
3
  import { useClassNames } from '../../hooks/use-class-names.mjs';
4
4
  import { BadgeClassToken } from '../../utils/class-name.mjs';
5
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
6
  import { typography } from '../theme/theme.mjs';
7
7
  import { sizes } from '../theme/tokens.stylex.mjs';
8
8
  import { useTheme } from '../theme/hooks.mjs';
9
- import { ColorToken } from '../../utils/colors.mjs';
10
9
  import { isVoid, clsx } from '@aiszlab/relax';
11
10
  import { ComponentToken } from '../../utils/component-token.mjs';
12
11
 
@@ -102,8 +101,8 @@ var Badge = function Badge(_ref) {
102
101
  var styled = {
103
102
  badge: _stylex.props(styles.badge["default"]),
104
103
  tail: _stylex.props(styles.tail["default"]({
105
- backgroundColor: theme.colors[ColorToken.Primary],
106
- color: theme.colors[ColorToken.OnPrimary]
104
+ backgroundColor: theme.colors.primary,
105
+ color: theme.colors["on-primary"]
107
106
  }), isDot && styles.tail.dot, typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
108
107
  };
109
108
  return /*#__PURE__*/React.createElement("span", {
@@ -3,13 +3,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
4
4
  var React = require('react');
5
5
  var index = require('../layout/index.cjs');
6
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
7
7
  var tokens_stylex = require('../theme/tokens.stylex.cjs');
8
8
  var divider = require('../divider/divider.cjs');
9
9
  var hooks$1 = require('./hooks.cjs');
10
10
  var menu = require('../menu/menu.cjs');
11
11
  var hooks = require('../theme/hooks.cjs');
12
- var colors = require('../../utils/colors.cjs');
13
12
  var theme = require('../theme/theme.cjs');
14
13
  var relax = require('@aiszlab/relax');
15
14
 
@@ -115,7 +114,7 @@ var Bench = function Bench(_ref) {
115
114
  })),
116
115
  main: stylex.default.props(styles.bench.main),
117
116
  sider: stylex.default.props(styles.bench.sider({
118
- outlineColor: theme$1.colors[colors.ColorToken.OutlineVariant]
117
+ outlineColor: theme$1.colors["outline-variant"]
119
118
  })),
120
119
  title: stylex.default.props(theme.typography.title.large),
121
120
  divider: stylex.default.props(styles.header.divider),
@@ -1,13 +1,12 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import React from 'react';
3
3
  import { Layout } from '../layout/index.mjs';
4
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
5
  import { elevations } from '../theme/tokens.stylex.mjs';
6
6
  import Divider from '../divider/divider.mjs';
7
7
  import { useLogo, useNavigations } from './hooks.mjs';
8
8
  import Menu from '../menu/menu.mjs';
9
9
  import { useTheme } from '../theme/hooks.mjs';
10
- import { ColorToken } from '../../utils/colors.mjs';
11
10
  import { typography } from '../theme/theme.mjs';
12
11
  import { clsx } from '@aiszlab/relax';
13
12
 
@@ -113,7 +112,7 @@ var Bench = function Bench(_ref) {
113
112
  })),
114
113
  main: _stylex.props(styles.bench.main),
115
114
  sider: _stylex.props(styles.bench.sider({
116
- outlineColor: theme.colors[ColorToken.OutlineVariant]
115
+ outlineColor: theme.colors["outline-variant"]
117
116
  })),
118
117
  title: _stylex.props(typography.title.large),
119
118
  divider: _stylex.props(styles.header.divider),
@@ -2,10 +2,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
4
4
  var React = require('react');
5
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
5
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
6
  var theme = require('../theme/theme.cjs');
7
7
  var hooks = require('../theme/hooks.cjs');
8
- var colors = require('../../utils/colors.cjs');
9
8
  var useClassNames = require('../../hooks/use-class-names.cjs');
10
9
  var className = require('../../utils/class-name.cjs');
11
10
  var relax = require('@aiszlab/relax');
@@ -37,7 +36,7 @@ var Breadcrumb = function Breadcrumb(_ref) {
37
36
  }
38
37
  var styled = {
39
38
  breadcrumb: stylex.default.props(theme.typography.label.large, styles.breadcrumb({
40
- color: theme$1.colors[colors.ColorToken.OnSurfaceVariant]
39
+ color: theme$1.colors["on-surface-variant"]
41
40
  })),
42
41
  navigations: {
43
42
  className: "musaex-e8uvvx musaex-78zum5 musaex-1a02dak"
@@ -1,9 +1,8 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import React from 'react';
3
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
3
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
4
  import { typography } from '../theme/theme.mjs';
5
5
  import { useTheme } from '../theme/hooks.mjs';
6
- import { ColorToken } from '../../utils/colors.mjs';
7
6
  import { useClassNames } from '../../hooks/use-class-names.mjs';
8
7
  import { BreadcrumbClassToken } from '../../utils/class-name.mjs';
9
8
  import { clsx } from '@aiszlab/relax';
@@ -35,7 +34,7 @@ var Breadcrumb = function Breadcrumb(_ref) {
35
34
  }
36
35
  var styled = {
37
36
  breadcrumb: _stylex.props(typography.label.large, styles.breadcrumb({
38
- color: theme.colors[ColorToken.OnSurfaceVariant]
37
+ color: theme.colors["on-surface-variant"]
39
38
  })),
40
39
  navigations: {
41
40
  className: "musaex-e8uvvx musaex-78zum5 musaex-1a02dak"
@@ -1,9 +1,8 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var React = require('react');
4
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
4
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
5
5
  var hooks = require('../theme/hooks.cjs');
6
- var colors = require('../../utils/colors.cjs');
7
6
  var useClassNames = require('../../hooks/use-class-names.cjs');
8
7
  var className = require('../../utils/class-name.cjs');
9
8
  var relax = require('@aiszlab/relax');
@@ -67,10 +66,10 @@ var Item = function Item(_ref) {
67
66
  var classNames = useClassNames.useClassNames(componentToken.ComponentToken.Breadcrumb);
68
67
  var styled = {
69
68
  navigation: stylex.default.props(styles.navigation["default"]({
70
- color: theme.colors[colors.ColorToken.OnSurface]
69
+ color: theme.colors["on-surface"]
71
70
  }), isLink && styles.navigation.link({
72
- hoveredBackgroundColor: theme.colors[colors.ColorToken.Surface],
73
- hoveredColor: theme.colors[colors.ColorToken.OnSurface]
71
+ hoveredBackgroundColor: theme.colors.surface,
72
+ hoveredColor: theme.colors["on-surface"]
74
73
  })),
75
74
  separator: stylex.default.props(styles.separator["default"])
76
75
  };
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
2
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
3
3
  import { useTheme } from '../theme/hooks.mjs';
4
- import { ColorToken } from '../../utils/colors.mjs';
5
4
  import { useClassNames } from '../../hooks/use-class-names.mjs';
6
5
  import { BreadcrumbClassToken } from '../../utils/class-name.mjs';
7
6
  import { clsx } from '@aiszlab/relax';
@@ -65,10 +64,10 @@ var Item = function Item(_ref) {
65
64
  var classNames = useClassNames(ComponentToken.Breadcrumb);
66
65
  var styled = {
67
66
  navigation: _stylex.props(styles.navigation["default"]({
68
- color: theme.colors[ColorToken.OnSurface]
67
+ color: theme.colors["on-surface"]
69
68
  }), isLink && styles.navigation.link({
70
- hoveredBackgroundColor: theme.colors[ColorToken.Surface],
71
- hoveredColor: theme.colors[ColorToken.OnSurface]
69
+ hoveredBackgroundColor: theme.colors.surface,
70
+ hoveredColor: theme.colors["on-surface"]
72
71
  })),
73
72
  separator: _stylex.props(styles.separator["default"])
74
73
  };
@@ -5,13 +5,12 @@ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProp
5
5
  var React = require('react');
6
6
  var className = require('../../utils/class-name.cjs');
7
7
  var relax = require('@aiszlab/relax');
8
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
8
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
9
  var tokens_stylex = require('../theme/tokens.stylex.cjs');
10
10
  var hooks = require('../theme/hooks.cjs');
11
11
  var hooks$1 = require('./hooks.cjs');
12
12
  var ripple = require('../ripple/ripple.cjs');
13
13
  var theme = require('../theme/theme.cjs');
14
- var colors = require('../../utils/colors.cjs');
15
14
  var useClassNames = require('../../hooks/use-class-names.cjs');
16
15
  var componentToken = require('../../utils/component-token.cjs');
17
16
  var color = require('@aiszlab/fuzzy/color');
@@ -268,18 +267,18 @@ var Button = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
268
267
  color: theme$1.colors["on-".concat(color$1)]
269
268
  }), variant === "outlined" && styles.outlined({
270
269
  color: theme$1.colors[color$1],
271
- hoveredBackgroundColor: color.hexToRgba(theme$1.colors[colors.ColorToken.Primary], tokens_stylex.OPACITY.thin)
270
+ hoveredBackgroundColor: color.hexToRgba(theme$1.colors.primary, tokens_stylex.OPACITY.thin)
272
271
  }), variant === "text" && styles.text({
273
272
  color: theme$1.colors[color$1],
274
- hoveredBackgroundColor: color.hexToRgba(theme$1.colors[colors.ColorToken.Primary], tokens_stylex.OPACITY.thin)
273
+ hoveredBackgroundColor: color.hexToRgba(theme$1.colors.primary, tokens_stylex.OPACITY.thin)
275
274
  }),
276
275
  // shape
277
276
  styles[shape],
278
277
  // disabled
279
278
  disabled && styles.disabled({
280
- backgroundColor: variant === "filled" ? color.hexToRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.medium) : "transparent",
281
- color: color.hexToRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.thicker),
282
- outlineColor: variant === "outlined" ? color.hexToRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.thicker) : null
279
+ backgroundColor: variant === "filled" ? color.hexToRgba(theme$1.colors["on-surface"], tokens_stylex.OPACITY.medium) : "transparent",
280
+ color: color.hexToRgba(theme$1.colors["on-surface"], tokens_stylex.OPACITY.thicker),
281
+ outlineColor: variant === "outlined" ? color.hexToRgba(theme$1.colors["on-surface"], tokens_stylex.OPACITY.thicker) : null
283
282
  }))
284
283
  };
285
284
  return /*#__PURE__*/React.createElement("button", _objectSpread({
@@ -3,13 +3,12 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
3
3
  import React, { forwardRef } from 'react';
4
4
  import { ButtonClassToken } from '../../utils/class-name.mjs';
5
5
  import { clsx } from '@aiszlab/relax';
6
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
7
7
  import { OPACITY } from '../theme/tokens.stylex.mjs';
8
8
  import { useTheme } from '../theme/hooks.mjs';
9
9
  import { useButton } from './hooks.mjs';
10
10
  import Ripple from '../ripple/ripple.mjs';
11
11
  import { typography } from '../theme/theme.mjs';
12
- import { ColorToken } from '../../utils/colors.mjs';
13
12
  import { useClassNames } from '../../hooks/use-class-names.mjs';
14
13
  import { ComponentToken } from '../../utils/component-token.mjs';
15
14
  import { hexToRgba } from '@aiszlab/fuzzy/color';
@@ -266,18 +265,18 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
266
265
  color: theme.colors["on-".concat(color)]
267
266
  }), variant === "outlined" && styles.outlined({
268
267
  color: theme.colors[color],
269
- hoveredBackgroundColor: hexToRgba(theme.colors[ColorToken.Primary], OPACITY.thin)
268
+ hoveredBackgroundColor: hexToRgba(theme.colors.primary, OPACITY.thin)
270
269
  }), variant === "text" && styles.text({
271
270
  color: theme.colors[color],
272
- hoveredBackgroundColor: hexToRgba(theme.colors[ColorToken.Primary], OPACITY.thin)
271
+ hoveredBackgroundColor: hexToRgba(theme.colors.primary, OPACITY.thin)
273
272
  }),
274
273
  // shape
275
274
  styles[shape],
276
275
  // disabled
277
276
  disabled && styles.disabled({
278
- backgroundColor: variant === "filled" ? hexToRgba(theme.colors[ColorToken.OnSurface], OPACITY.medium) : "transparent",
279
- color: hexToRgba(theme.colors[ColorToken.OnSurface], OPACITY.thicker),
280
- outlineColor: variant === "outlined" ? hexToRgba(theme.colors[ColorToken.OnSurface], OPACITY.thicker) : null
277
+ backgroundColor: variant === "filled" ? hexToRgba(theme.colors["on-surface"], OPACITY.medium) : "transparent",
278
+ color: hexToRgba(theme.colors["on-surface"], OPACITY.thicker),
279
+ outlineColor: variant === "outlined" ? hexToRgba(theme.colors["on-surface"], OPACITY.thicker) : null
281
280
  }))
282
281
  };
283
282
  return /*#__PURE__*/React.createElement("button", _objectSpread({
@@ -5,12 +5,11 @@ var React = require('react');
5
5
  var hooks = require('./hooks.cjs');
6
6
  var useClassNames = require('../../hooks/use-class-names.cjs');
7
7
  var className = require('../../utils/class-name.cjs');
8
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
8
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
9
  var theme = require('../theme/theme.cjs');
10
10
  var relax = require('@aiszlab/relax');
11
11
  var button = require('../button/button.cjs');
12
12
  var hooks$1 = require('../theme/hooks.cjs');
13
- var colors = require('../../utils/colors.cjs');
14
13
  var componentToken = require('../../utils/component-token.cjs');
15
14
  var keyboardDoubleArrowLeft = require('../icon/icons/hardware/keyboard-double-arrow-left.cjs');
16
15
  var keyboardDoubleArrowRight = require('../icon/icons/hardware/keyboard-double-arrow-right.cjs');
@@ -68,7 +67,7 @@ var Calendar = function Calendar(_ref) {
68
67
  className: "musaex-eq5yr9"
69
68
  },
70
69
  header: stylex.default.props(theme.typography.label.large, styles.header({
71
- color: theme$1.colors[colors.ColorToken.OnSurfaceVariant]
70
+ color: theme$1.colors["on-surface-variant"]
72
71
  })),
73
72
  heading: {
74
73
  className: "musaex-98rzlu musaex-78zum5 musaex-l56j7k"
@@ -3,12 +3,11 @@ import React from 'react';
3
3
  import { useValue, useFocusedAt, useDateCells, useHeadCells } from './hooks.mjs';
4
4
  import { useClassNames } from '../../hooks/use-class-names.mjs';
5
5
  import { CalendarClassToken } from '../../utils/class-name.mjs';
6
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
7
7
  import { typography } from '../theme/theme.mjs';
8
8
  import { clsx } from '@aiszlab/relax';
9
9
  import { Button } from '../button/button.mjs';
10
10
  import { useTheme } from '../theme/hooks.mjs';
11
- import { ColorToken } from '../../utils/colors.mjs';
12
11
  import { ComponentToken } from '../../utils/component-token.mjs';
13
12
  import KeyboardDoubleArrowLeft from '../icon/icons/hardware/keyboard-double-arrow-left.mjs';
14
13
  import KeyboardDoubleArrowRight from '../icon/icons/hardware/keyboard-double-arrow-right.mjs';
@@ -66,7 +65,7 @@ var Calendar = function Calendar(_ref) {
66
65
  className: "musaex-eq5yr9"
67
66
  },
68
67
  header: _stylex.props(typography.label.large, styles.header({
69
- color: theme.colors[ColorToken.OnSurfaceVariant]
68
+ color: theme.colors["on-surface-variant"]
70
69
  })),
71
70
  heading: {
72
71
  className: "musaex-98rzlu musaex-78zum5 musaex-l56j7k"
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
4
  var dayjs = require('dayjs');
5
5
  var React = require('react');
6
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
7
7
  var hooks = require('../theme/hooks.cjs');
8
8
  var theme = require('../theme/theme.cjs');
9
9
  var tooltip = require('../tooltip/tooltip.cjs');
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import dayjs from 'dayjs';
3
3
  import React, { useMemo } from 'react';
4
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
5
  import { useTheme } from '../theme/hooks.mjs';
6
6
  import { typography } from '../theme/theme.mjs';
7
7
  import Tooltip from '../tooltip/tooltip.mjs';
@@ -7,10 +7,9 @@ var useClassNames = require('../../hooks/use-class-names.cjs');
7
7
  var className = require('../../utils/class-name.cjs');
8
8
  var relax = require('@aiszlab/relax');
9
9
  var timespan = require('../../utils/timespan.cjs');
10
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
10
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
11
11
  var theme = require('../theme/theme.cjs');
12
12
  var hooks = require('../theme/hooks.cjs');
13
- var colors = require('../../utils/colors.cjs');
14
13
  var button = require('../button/button.cjs');
15
14
  var componentToken = require('../../utils/component-token.cjs');
16
15
 
@@ -87,7 +86,7 @@ var useHeadCells = function useHeadCells() {
87
86
  return React.useMemo(function () {
88
87
  var _dayjs$Ls$dayjs$local;
89
88
  var styled = stylex.default.props(styles.cell, styles.header({
90
- color: theme$1.colors[colors.ColorToken.OnSurfaceVariant]
89
+ color: theme$1.colors["on-surface-variant"]
91
90
  }), theme.typography.body.large);
92
91
  return (_dayjs$Ls$dayjs$local = dayjs.Ls[dayjs.locale()].weekdays) === null || _dayjs$Ls$dayjs$local === void 0 ? void 0 : _dayjs$Ls$dayjs$local.map(function (weekday, index) {
93
92
  return /*#__PURE__*/React.createElement("th", {
@@ -125,7 +124,7 @@ var useDateCells = function useDateCells(_ref) {
125
124
  var isSelected = isFrom || isTo;
126
125
  var styled = {
127
126
  cell: stylex.default.props(styles.cell, styles.date({
128
- backgroundColor: theme$1.colors[colors.ColorToken.SecondaryContainer]
127
+ backgroundColor: theme$1.colors["secondary-container"]
129
128
  }), isDisabled && styles.hidden, isBetween && styles.range, isFrom && timespan.isRange && styles.from, isTo && timespan.isRange && styles.to, theme.typography.body.large),
130
129
  trigger: {
131
130
  className: "musaex-gnae0u musaex-ksl8fa"
@@ -7,10 +7,9 @@ import { useClassNames } from '../../hooks/use-class-names.mjs';
7
7
  import { CalendarClassToken } from '../../utils/class-name.mjs';
8
8
  import { clsx, toArray, useControlledState } from '@aiszlab/relax';
9
9
  import { Timespan } from '../../utils/timespan.mjs';
10
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
10
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
11
11
  import { typography } from '../theme/theme.mjs';
12
12
  import { useTheme } from '../theme/hooks.mjs';
13
- import { ColorToken } from '../../utils/colors.mjs';
14
13
  import { Button } from '../button/button.mjs';
15
14
  import { ComponentToken } from '../../utils/component-token.mjs';
16
15
 
@@ -87,7 +86,7 @@ var useHeadCells = function useHeadCells() {
87
86
  return useMemo(function () {
88
87
  var _dayjs$Ls$dayjs$local;
89
88
  var styled = _stylex.props(styles.cell, styles.header({
90
- color: theme.colors[ColorToken.OnSurfaceVariant]
89
+ color: theme.colors["on-surface-variant"]
91
90
  }), typography.body.large);
92
91
  return (_dayjs$Ls$dayjs$local = dayjs.Ls[dayjs.locale()].weekdays) === null || _dayjs$Ls$dayjs$local === void 0 ? void 0 : _dayjs$Ls$dayjs$local.map(function (weekday, index) {
93
92
  return /*#__PURE__*/React.createElement("th", {
@@ -125,7 +124,7 @@ var useDateCells = function useDateCells(_ref) {
125
124
  var isSelected = isFrom || isTo;
126
125
  var styled = {
127
126
  cell: _stylex.props(styles.cell, styles.date({
128
- backgroundColor: theme.colors[ColorToken.SecondaryContainer]
127
+ backgroundColor: theme.colors["secondary-container"]
129
128
  }), isDisabled && styles.hidden, isBetween && styles.range, isFrom && timespan.isRange && styles.from, isTo && timespan.isRange && styles.to, typography.body.large),
130
129
  trigger: {
131
130
  className: "musaex-gnae0u musaex-ksl8fa"
@@ -7,9 +7,8 @@ var relax = require('@aiszlab/relax');
7
7
  var context = require('./context.cjs');
8
8
  var useClassNames = require('../../hooks/use-class-names.cjs');
9
9
  var className = require('../../utils/class-name.cjs');
10
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
10
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
11
11
  var hooks = require('../theme/hooks.cjs');
12
- var colors = require('../../utils/colors.cjs');
13
12
  var theme = require('../theme/theme.cjs');
14
13
  var componentToken = require('../../utils/component-token.cjs');
15
14
  var styles = require('./styles.cjs');
@@ -57,13 +56,13 @@ var Checkbox = function Checkbox(_ref) {
57
56
  });
58
57
  var styled = {
59
58
  checkbox: stylex.default.props(styles.default.checkbox["default"], isDisabled && styles.default.checkbox.disabled, styles.default.checkbox.variables({
60
- primaryColor: theme$1.colors[colors.ColorToken.Primary],
61
- onPrimaryColor: theme$1.colors[colors.ColorToken.OnPrimary],
62
- outlineColor: theme$1.colors[colors.ColorToken.Outline]
59
+ primaryColor: theme$1.colors.primary,
60
+ onPrimaryColor: theme$1.colors["on-primary"],
61
+ outlineColor: theme$1.colors.outline
63
62
  })),
64
63
  trigger: stylex.default.props(styles.default.trigger["default"], isChecked && styles.default.trigger.checked, isDisabled && styles.default.trigger.disabled({
65
- backgroundColor: theme$1.colors[colors.ColorToken.OnSurface],
66
- color: theme$1.colors[colors.ColorToken.OnPrimary]
64
+ backgroundColor: theme$1.colors["on-surface"],
65
+ color: theme$1.colors["on-primary"]
67
66
  }), !isChecked && styles.default.trigger.unchecked),
68
67
  label: stylex.default.props(styles.default.label["default"], theme.typography.label.small)
69
68
  };
@@ -5,9 +5,8 @@ import { useControlledState, useEvent, clsx } from '@aiszlab/relax';
5
5
  import Context from './context.mjs';
6
6
  import { useClassNames } from '../../hooks/use-class-names.mjs';
7
7
  import { CheckboxClassToken } from '../../utils/class-name.mjs';
8
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
8
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
9
9
  import { useTheme } from '../theme/hooks.mjs';
10
- import { ColorToken } from '../../utils/colors.mjs';
11
10
  import { typography } from '../theme/theme.mjs';
12
11
  import { ComponentToken } from '../../utils/component-token.mjs';
13
12
  import styles from './styles.mjs';
@@ -55,13 +54,13 @@ var Checkbox = function Checkbox(_ref) {
55
54
  });
56
55
  var styled = {
57
56
  checkbox: _stylex.props(styles.checkbox["default"], isDisabled && styles.checkbox.disabled, styles.checkbox.variables({
58
- primaryColor: theme.colors[ColorToken.Primary],
59
- onPrimaryColor: theme.colors[ColorToken.OnPrimary],
60
- outlineColor: theme.colors[ColorToken.Outline]
57
+ primaryColor: theme.colors.primary,
58
+ onPrimaryColor: theme.colors["on-primary"],
59
+ outlineColor: theme.colors.outline
61
60
  })),
62
61
  trigger: _stylex.props(styles.trigger["default"], isChecked && styles.trigger.checked, isDisabled && styles.trigger.disabled({
63
- backgroundColor: theme.colors[ColorToken.OnSurface],
64
- color: theme.colors[ColorToken.OnPrimary]
62
+ backgroundColor: theme.colors["on-surface"],
63
+ color: theme.colors["on-primary"]
65
64
  }), !isChecked && styles.trigger.unchecked),
66
65
  label: _stylex.props(styles.label["default"], typography.label.small)
67
66
  };
@@ -5,9 +5,8 @@ var menu = require('../menu/menu.cjs');
5
5
  var useClassNames = require('../../hooks/use-class-names.cjs');
6
6
  var className = require('../../utils/class-name.cjs');
7
7
  var relax = require('@aiszlab/relax');
8
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
8
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
9
  var hooks = require('../theme/hooks.cjs');
10
- var colors = require('../../utils/colors.cjs');
11
10
  var componentToken = require('../../utils/component-token.cjs');
12
11
 
13
12
  var UNITS = {
@@ -65,8 +64,8 @@ var Column = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
65
64
  }, [value]);
66
65
  var styled = {
67
66
  menu: stylex.default.props(styles.menu({
68
- scrollbarThumbColor: theme.colors[colors.ColorToken.Secondary],
69
- outlineColor: theme.colors[colors.ColorToken.OutlineVariant]
67
+ scrollbarThumbColor: theme.colors.secondary,
68
+ outlineColor: theme.colors["outline-variant"]
70
69
  })),
71
70
  item: {
72
71
  className: "musaex-yueg9c musaex-78zum5 musaex-l56j7k"
@@ -3,9 +3,8 @@ import Menu from '../menu/menu.mjs';
3
3
  import { useClassNames } from '../../hooks/use-class-names.mjs';
4
4
  import { ClockClassToken } from '../../utils/class-name.mjs';
5
5
  import { isVoid, clsx } from '@aiszlab/relax';
6
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
7
7
  import { useTheme } from '../theme/hooks.mjs';
8
- import { ColorToken } from '../../utils/colors.mjs';
9
8
  import { ComponentToken } from '../../utils/component-token.mjs';
10
9
 
11
10
  var UNITS = {
@@ -63,8 +62,8 @@ var Column = /*#__PURE__*/forwardRef(function (_ref, ref) {
63
62
  }, [value]);
64
63
  var styled = {
65
64
  menu: _stylex.props(styles.menu({
66
- scrollbarThumbColor: theme.colors[ColorToken.Secondary],
67
- outlineColor: theme.colors[ColorToken.OutlineVariant]
65
+ scrollbarThumbColor: theme.colors.secondary,
66
+ outlineColor: theme.colors["outline-variant"]
68
67
  })),
69
68
  item: {
70
69
  className: "musaex-yueg9c musaex-78zum5 musaex-l56j7k"
@@ -6,12 +6,11 @@ var React = require('react');
6
6
  var useClassNames = require('../../hooks/use-class-names.cjs');
7
7
  var className = require('../../utils/class-name.cjs');
8
8
  var item = require('./item.cjs');
9
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
10
10
  var relax = require('@aiszlab/relax');
11
11
  var hooks = require('./hooks.cjs');
12
12
  var context = require('./context.cjs');
13
13
  var hooks$1 = require('../theme/hooks.cjs');
14
- var colors = require('../../utils/colors.cjs');
15
14
  var componentToken = require('../../utils/component-token.cjs');
16
15
 
17
16
  var styles = {
@@ -82,7 +81,7 @@ var Collapse = function Collapse(_ref) {
82
81
  // no need to render when items is empty
83
82
  if (items.length === 0) return null;
84
83
  var styled = stylex.default.props(styles.collapse({
85
- outlineColor: theme.colors[colors.ColorToken.OutlineVariant]
84
+ outlineColor: theme.colors["outline-variant"]
86
85
  }));
87
86
  return /*#__PURE__*/React.createElement(context.Context.Provider, {
88
87
  value: {
@@ -4,12 +4,11 @@ import React from 'react';
4
4
  import { useClassNames } from '../../hooks/use-class-names.mjs';
5
5
  import { CollapseClassToken } from '../../utils/class-name.mjs';
6
6
  import CollapseItem from './item.mjs';
7
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
7
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
8
8
  import { clsx } from '@aiszlab/relax';
9
9
  import { useActiveKeys } from './hooks.mjs';
10
10
  import { Context } from './context.mjs';
11
11
  import { useTheme } from '../theme/hooks.mjs';
12
- import { ColorToken } from '../../utils/colors.mjs';
13
12
  import { ComponentToken } from '../../utils/component-token.mjs';
14
13
 
15
14
  var styles = {
@@ -80,7 +79,7 @@ var Collapse = function Collapse(_ref) {
80
79
  // no need to render when items is empty
81
80
  if (items.length === 0) return null;
82
81
  var styled = _stylex.props(styles.collapse({
83
- outlineColor: theme.colors[ColorToken.OutlineVariant]
82
+ outlineColor: theme.colors["outline-variant"]
84
83
  }));
85
84
  return /*#__PURE__*/React.createElement(Context.Provider, {
86
85
  value: {