musae 0.3.2 → 0.3.3

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 (294) hide show
  1. package/dist/components/avatar/context.d.ts +1 -1
  2. package/dist/components/avatar/group.d.ts +1 -1
  3. package/dist/components/avatar/index.d.ts +1 -1
  4. package/dist/components/badge/badge.d.ts +1 -1
  5. package/dist/components/bench/bench.cjs +8 -10
  6. package/dist/components/bench/bench.mjs +8 -10
  7. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  8. package/dist/components/breadcrumb/item.d.ts +1 -1
  9. package/dist/components/button/button.cjs +6 -6
  10. package/dist/components/button/button.d.ts +1 -1
  11. package/dist/components/button/button.mjs +7 -7
  12. package/dist/components/button/hooks.d.ts +2 -2
  13. package/dist/components/calendar/calendar.d.ts +1 -1
  14. package/dist/components/calendar/hooks.d.ts +1 -1
  15. package/dist/components/calendar/index.d.ts +1 -2
  16. package/dist/components/cascader/cascader.d.ts +1 -1
  17. package/dist/components/cascader/hooks.d.ts +1 -1
  18. package/dist/components/cascader/utils.d.ts +1 -1
  19. package/dist/components/checkbox/checkbox.d.ts +1 -1
  20. package/dist/components/checkbox/context.d.ts +1 -1
  21. package/dist/components/checkbox/group.d.ts +1 -1
  22. package/dist/components/checkbox/index.d.ts +2 -2
  23. package/dist/components/checkbox/styles.cjs +1 -1
  24. package/dist/components/checkbox/styles.d.ts +1 -1
  25. package/dist/components/checkbox/styles.mjs +1 -1
  26. package/dist/components/clock/clock.cjs +1 -2
  27. package/dist/components/clock/clock.d.ts +1 -1
  28. package/dist/components/clock/clock.mjs +1 -2
  29. package/dist/components/clock/column.cjs +9 -9
  30. package/dist/components/clock/column.d.ts +1 -1
  31. package/dist/components/clock/column.mjs +8 -8
  32. package/dist/components/collapse/collapse.d.ts +1 -1
  33. package/dist/components/collapse/context.d.ts +1 -1
  34. package/dist/components/collapse/hooks.d.ts +1 -1
  35. package/dist/components/collapse/item.d.ts +1 -1
  36. package/dist/components/config/context.d.ts +1 -1
  37. package/dist/components/config/hooks.d.ts +1 -1
  38. package/dist/components/config/provider.d.ts +1 -1
  39. package/dist/components/countdown/countdown.d.ts +2 -2
  40. package/dist/components/date-picker/date-picker.d.ts +1 -1
  41. package/dist/components/date-picker/hooks.d.ts +1 -1
  42. package/dist/components/date-range-picker/date-range-picker.d.ts +1 -1
  43. package/dist/components/date-range-picker/hooks.d.ts +1 -1
  44. package/dist/components/dialog/dialog.d.ts +1 -1
  45. package/dist/components/dialog/hooks.d.ts +1 -1
  46. package/dist/components/dialog/popup.d.ts +1 -1
  47. package/dist/components/divider/divider.d.ts +1 -1
  48. package/dist/components/divider/hooks.d.ts +1 -1
  49. package/dist/components/drawer/drawer.d.ts +1 -1
  50. package/dist/components/drawer/hooks.d.ts +1 -1
  51. package/dist/components/drawer/popup.d.ts +1 -1
  52. package/dist/components/{floating-action-button/floating-action-button.cjs → fab/fab.cjs} +2 -2
  53. package/dist/components/fab/fab.d.ts +4 -0
  54. package/dist/components/{floating-action-button/floating-action-button.mjs → fab/fab.mjs} +2 -2
  55. package/dist/components/{floating-action-button → fab}/floatable.d.ts +1 -1
  56. package/dist/components/fab/index.d.ts +2 -0
  57. package/dist/components/grid/col.d.ts +1 -1
  58. package/dist/components/grid/index.d.ts +2 -2
  59. package/dist/components/grid/row.d.ts +1 -1
  60. package/dist/components/highlight/highlight.d.ts +1 -1
  61. package/dist/components/i18n-button/i18n-button.cjs +11 -3
  62. package/dist/components/i18n-button/i18n-button.d.ts +2 -2
  63. package/dist/components/i18n-button/i18n-button.mjs +12 -4
  64. package/dist/components/icon/hoc.d.ts +2 -2
  65. package/dist/components/icon/icon.d.ts +1 -1
  66. package/dist/components/icon/icons/action/check-circle-outline.d.ts +1 -1
  67. package/dist/components/icon/icons/action/check-circle.d.ts +1 -1
  68. package/dist/components/icon/icons/action/code.d.ts +1 -1
  69. package/dist/components/icon/icons/action/done-outline.d.ts +1 -1
  70. package/dist/components/icon/icons/action/done.d.ts +1 -1
  71. package/dist/components/icon/icons/action/index.d.ts +13 -13
  72. package/dist/components/icon/icons/action/open-in-new.d.ts +1 -1
  73. package/dist/components/icon/icons/action/swap-horiz.d.ts +1 -1
  74. package/dist/components/icon/icons/action/swap-vert.d.ts +1 -1
  75. package/dist/components/icon/icons/action/translate.d.ts +1 -1
  76. package/dist/components/icon/icons/action/visibility-off.d.ts +1 -1
  77. package/dist/components/icon/icons/action/visibility.d.ts +1 -1
  78. package/dist/components/icon/icons/action/zoom-in.d.ts +1 -1
  79. package/dist/components/icon/icons/action/zoom-out.d.ts +1 -1
  80. package/dist/components/icon/icons/alert/add-alert.d.ts +1 -1
  81. package/dist/components/icon/icons/alert/auto-delete.d.ts +1 -1
  82. package/dist/components/icon/icons/alert/error-outline.d.ts +1 -1
  83. package/dist/components/icon/icons/alert/error.d.ts +1 -1
  84. package/dist/components/icon/icons/alert/index.d.ts +7 -7
  85. package/dist/components/icon/icons/alert/notification-important.d.ts +1 -1
  86. package/dist/components/icon/icons/alert/warning-amber.d.ts +1 -1
  87. package/dist/components/icon/icons/alert/warning.d.ts +1 -1
  88. package/dist/components/icon/icons/content/clear.d.ts +1 -1
  89. package/dist/components/icon/icons/content/font-download.d.ts +1 -1
  90. package/dist/components/icon/icons/content/index.d.ts +5 -5
  91. package/dist/components/icon/icons/content/link-off.d.ts +1 -1
  92. package/dist/components/icon/icons/content/redo.d.ts +1 -1
  93. package/dist/components/icon/icons/content/undo.d.ts +1 -1
  94. package/dist/components/icon/icons/editor/checklist.d.ts +1 -1
  95. package/dist/components/icon/icons/editor/format-bold.d.ts +1 -1
  96. package/dist/components/icon/icons/editor/format-italic.d.ts +1 -1
  97. package/dist/components/icon/icons/editor/format-strikethrough.d.ts +1 -1
  98. package/dist/components/icon/icons/editor/format-underlined.d.ts +1 -1
  99. package/dist/components/icon/icons/editor/index.d.ts +9 -9
  100. package/dist/components/icon/icons/editor/insert-link.d.ts +1 -1
  101. package/dist/components/icon/icons/editor/notes.d.ts +1 -1
  102. package/dist/components/icon/icons/editor/subscript.d.ts +1 -1
  103. package/dist/components/icon/icons/editor/superscript.d.ts +1 -1
  104. package/dist/components/icon/icons/hardware/index.d.ts +6 -6
  105. package/dist/components/icon/icons/hardware/keyboard-arrow-down.d.ts +1 -1
  106. package/dist/components/icon/icons/hardware/keyboard-arrow-left.d.ts +1 -1
  107. package/dist/components/icon/icons/hardware/keyboard-arrow-right.d.ts +1 -1
  108. package/dist/components/icon/icons/hardware/keyboard-arrow-up.d.ts +1 -1
  109. package/dist/components/icon/icons/hardware/keyboard-double-arrow-left.d.ts +1 -1
  110. package/dist/components/icon/icons/hardware/keyboard-double-arrow-right.d.ts +1 -1
  111. package/dist/components/icon/icons/image/bedtime.d.ts +1 -1
  112. package/dist/components/icon/icons/image/edit.d.ts +1 -1
  113. package/dist/components/icon/icons/image/index.d.ts +11 -11
  114. package/dist/components/icon/icons/image/looks-five.d.ts +1 -1
  115. package/dist/components/icon/icons/image/looks-four.d.ts +1 -1
  116. package/dist/components/icon/icons/image/looks-one.d.ts +1 -1
  117. package/dist/components/icon/icons/image/looks-six.d.ts +1 -1
  118. package/dist/components/icon/icons/image/looks-three.d.ts +1 -1
  119. package/dist/components/icon/icons/image/looks-two.d.ts +1 -1
  120. package/dist/components/icon/icons/image/rotate-left.d.ts +1 -1
  121. package/dist/components/icon/icons/image/rotate-right.d.ts +1 -1
  122. package/dist/components/icon/icons/image/wb-sunny.d.ts +1 -1
  123. package/dist/components/icon/icons/mock/github.d.ts +1 -1
  124. package/dist/components/icon/icons/mock/index.d.ts +2 -2
  125. package/dist/components/icon/icons/mock/loading.d.ts +1 -1
  126. package/dist/components/icon/icons/navigation/cancel.d.ts +1 -1
  127. package/dist/components/icon/icons/navigation/check.d.ts +1 -1
  128. package/dist/components/icon/icons/navigation/close.d.ts +1 -1
  129. package/dist/components/icon/icons/navigation/index.d.ts +5 -5
  130. package/dist/components/icon/icons/navigation/more-horiz.d.ts +1 -1
  131. package/dist/components/icon/icons/navigation/unfold-more.d.ts +1 -1
  132. package/dist/components/icon/icons/three-dimension-rotation.d.ts +1 -1
  133. package/dist/components/icon/icons/toggle/index.d.ts +3 -3
  134. package/dist/components/icon/icons/toggle/star-half.d.ts +1 -1
  135. package/dist/components/icon/icons/toggle/star-outline.d.ts +1 -1
  136. package/dist/components/icon/icons/toggle/star.d.ts +1 -1
  137. package/dist/components/icon/index.d.ts +0 -5
  138. package/dist/components/image/hooks.d.ts +1 -1
  139. package/dist/components/image/image.cjs +2 -2
  140. package/dist/components/image/image.d.ts +1 -1
  141. package/dist/components/image/image.mjs +2 -2
  142. package/dist/components/image/index.d.ts +2 -2
  143. package/dist/components/image/preview/context.d.ts +1 -1
  144. package/dist/components/image/preview/group.d.ts +1 -1
  145. package/dist/components/image/preview/operations.d.ts +1 -1
  146. package/dist/components/image/preview/preview.d.ts +1 -1
  147. package/dist/components/input/hooks.d.ts +1 -1
  148. package/dist/components/input/index.d.ts +1 -2
  149. package/dist/components/input/input.d.ts +1 -1
  150. package/dist/components/kbd/kbd.d.ts +1 -1
  151. package/dist/components/kbd/utils.d.ts +1 -1
  152. package/dist/components/layout/footer.d.ts +1 -1
  153. package/dist/components/layout/header.d.ts +1 -1
  154. package/dist/components/layout/index.d.ts +1 -1
  155. package/dist/components/layout/layout.d.ts +1 -1
  156. package/dist/components/layout/main.d.ts +1 -1
  157. package/dist/components/layout/sider.d.ts +1 -1
  158. package/dist/components/loading/loading.d.ts +1 -1
  159. package/dist/components/menu/hooks.cjs +7 -7
  160. package/dist/components/menu/hooks.mjs +8 -8
  161. package/dist/components/message/hooks.d.ts +1 -1
  162. package/dist/components/message/messager.d.ts +1 -1
  163. package/dist/components/notification/holder.d.ts +1 -1
  164. package/dist/components/notification/hooks.d.ts +1 -1
  165. package/dist/components/notification/index.d.ts +1 -1
  166. package/dist/components/notification/notification.d.ts +1 -1
  167. package/dist/components/notification/notifier.d.ts +1 -1
  168. package/dist/components/number-input/number-input.d.ts +1 -1
  169. package/dist/components/otp-input/otp-input.d.ts +1 -1
  170. package/dist/components/picker/context.d.ts +1 -1
  171. package/dist/components/picker/picker.d.ts +1 -1
  172. package/dist/components/popconfirm/popconfirm.d.ts +1 -1
  173. package/dist/components/popover/hooks.d.ts +1 -1
  174. package/dist/components/popover/index.d.ts +1 -1
  175. package/dist/components/popover/popover.d.ts +1 -1
  176. package/dist/components/popper/dropdown.cjs +0 -3
  177. package/dist/components/popper/dropdown.d.ts +2 -2
  178. package/dist/components/popper/dropdown.mjs +0 -3
  179. package/dist/components/popper/hooks.d.ts +1 -1
  180. package/dist/components/popper/index.d.ts +0 -2
  181. package/dist/components/popper/popper.d.ts +1 -1
  182. package/dist/components/portal/portal.d.ts +1 -1
  183. package/dist/components/progress/circular.d.ts +1 -1
  184. package/dist/components/progress/linear.d.ts +1 -1
  185. package/dist/components/progress/progress.d.ts +1 -1
  186. package/dist/components/quote/quote.d.ts +1 -1
  187. package/dist/components/radio/context.d.ts +1 -1
  188. package/dist/components/radio/group.d.ts +1 -1
  189. package/dist/components/radio/index.d.ts +1 -1
  190. package/dist/components/radio/radio.d.ts +1 -1
  191. package/dist/components/rate/hooks.d.ts +1 -1
  192. package/dist/components/rate/rate.d.ts +1 -1
  193. package/dist/components/rate/star.d.ts +1 -1
  194. package/dist/components/rich-text-editor/dropdown.cjs +1 -1
  195. package/dist/components/rich-text-editor/dropdown.d.ts +1 -1
  196. package/dist/components/rich-text-editor/dropdown.mjs +1 -1
  197. package/dist/components/rich-text-editor/index.cjs +20 -2
  198. package/dist/components/rich-text-editor/index.d.ts +1 -1
  199. package/dist/components/rich-text-editor/index.mjs +20 -2
  200. package/dist/components/rich-text-editor/plugins/controlled-state/index.d.ts +1 -1
  201. package/dist/components/rich-text-editor/rich-text-editor.cjs +8 -5
  202. package/dist/components/rich-text-editor/rich-text-editor.d.ts +1 -1
  203. package/dist/components/rich-text-editor/rich-text-editor.mjs +9 -6
  204. package/dist/components/ripple/hooks.d.ts +1 -1
  205. package/dist/components/ripple/ripple.d.ts +1 -1
  206. package/dist/components/select/hooks.d.ts +1 -1
  207. package/dist/components/select/select.cjs +4 -1
  208. package/dist/components/select/select.mjs +5 -2
  209. package/dist/components/select/selections.d.ts +1 -1
  210. package/dist/components/select/selector.d.ts +1 -1
  211. package/dist/components/select/utils.d.ts +1 -1
  212. package/dist/components/skeleton/skeleton.cjs +20 -3
  213. package/dist/components/skeleton/skeleton.d.ts +1 -1
  214. package/dist/components/skeleton/skeleton.mjs +20 -3
  215. package/dist/components/space/space.d.ts +1 -1
  216. package/dist/components/switch/switch.cjs +8 -8
  217. package/dist/components/switch/switch.mjs +9 -9
  218. package/dist/components/theme/tokens.stylex.cjs +7 -0
  219. package/dist/components/theme/tokens.stylex.d.ts +8 -6
  220. package/dist/components/theme/tokens.stylex.mjs +7 -1
  221. package/dist/hooks/use-class-names.d.ts +7 -1
  222. package/dist/hooks/use-container.d.ts +1 -1
  223. package/dist/index.cjs +2 -2
  224. package/dist/index.d.ts +1 -1
  225. package/dist/index.mjs +1 -1
  226. package/dist/locale/context.d.ts +1 -1
  227. package/dist/locale/use-locale.d.ts +1 -1
  228. package/dist/styles.css +7 -5
  229. package/dist/{components/clock/types.d.ts → types/clock.d.ts} +1 -5
  230. package/dist/{components/config/types.d.ts → types/config.d.ts} +2 -2
  231. package/dist/{components/countdown/types.d.ts → types/countdown.d.ts} +3 -3
  232. package/dist/{components/date-picker/types.d.ts → types/date-picker.d.ts} +1 -1
  233. package/dist/{components/dialog/types.d.ts → types/dialog.d.ts} +2 -2
  234. package/dist/{components/divider/types.d.ts → types/divider.d.ts} +1 -1
  235. package/dist/{components/drawer/types.d.ts → types/drawer.d.ts} +1 -1
  236. package/dist/{components/floating-action-button/types.d.ts → types/fab.d.ts} +3 -3
  237. package/dist/{components/grid/types.d.ts → types/grid.d.ts} +1 -1
  238. package/dist/{components/i18n-button/types.d.ts → types/i18n-button.d.ts} +3 -2
  239. package/dist/types/menu.d.ts +1 -1
  240. package/dist/{components/message/types.d.ts → types/message.d.ts} +1 -1
  241. package/dist/{components/popconfirm/types.d.ts → types/popconfirm.d.ts} +2 -2
  242. package/dist/{components/popper/types.d.ts → types/popper.d.ts} +1 -1
  243. package/dist/{components/quote/types.d.ts → types/quote.d.ts} +1 -1
  244. package/dist/{components/radio/types.d.ts → types/radio.d.ts} +1 -1
  245. package/dist/types/rich-text-editor.d.ts +2 -1
  246. package/dist/{components/skeleton/types.d.ts → types/skeleton.d.ts} +1 -1
  247. package/dist/{components/space/types.d.ts → types/space.d.ts} +1 -1
  248. package/dist/types/tour.d.ts +1 -1
  249. package/dist/utils/class-name.cjs +10 -1
  250. package/dist/utils/class-name.d.ts +22 -3
  251. package/dist/utils/class-name.mjs +11 -2
  252. package/dist/utils/colors.cjs +10 -0
  253. package/dist/utils/colors.d.ts +3 -0
  254. package/dist/utils/colors.mjs +10 -1
  255. package/dist/utils/component-token.cjs +1 -0
  256. package/dist/utils/component-token.d.ts +2 -1
  257. package/dist/utils/component-token.mjs +1 -0
  258. package/package.json +1 -1
  259. package/dist/components/clock/hooks.cjs +0 -12
  260. package/dist/components/clock/hooks.d.ts +0 -2
  261. package/dist/components/clock/hooks.mjs +0 -12
  262. package/dist/components/clock/types.cjs +0 -6
  263. package/dist/components/clock/types.mjs +0 -8
  264. package/dist/components/floating-action-button/floating-action-button.d.ts +0 -4
  265. package/dist/components/floating-action-button/index.d.ts +0 -2
  266. package/dist/utils/layer.cjs +0 -23
  267. package/dist/utils/layer.d.ts +0 -7
  268. package/dist/utils/layer.mjs +0 -23
  269. /package/dist/components/{floating-action-button → fab}/floatable.cjs +0 -0
  270. /package/dist/components/{floating-action-button → fab}/floatable.mjs +0 -0
  271. /package/dist/{components/avatar/types.d.ts → types/avatar.d.ts} +0 -0
  272. /package/dist/{components/badge/types.d.ts → types/badge.d.ts} +0 -0
  273. /package/dist/{components/breadcrumb/types.d.ts → types/breadcrumb.d.ts} +0 -0
  274. /package/dist/{components/button/types.d.ts → types/button.d.ts} +0 -0
  275. /package/dist/{components/calendar/types.d.ts → types/calendar.d.ts} +0 -0
  276. /package/dist/{components/cascader/types.d.ts → types/cascader.d.ts} +0 -0
  277. /package/dist/{components/checkbox/types.d.ts → types/checkbox.d.ts} +0 -0
  278. /package/dist/{components/collapse/types.d.ts → types/collapse.d.ts} +0 -0
  279. /package/dist/{components/date-range-picker/types.d.ts → types/date-range-picker.d.ts} +0 -0
  280. /package/dist/{components/highlight/types.d.ts → types/highlight.d.ts} +0 -0
  281. /package/dist/{components/icon/types.d.ts → types/icon.d.ts} +0 -0
  282. /package/dist/{components/image/types.d.ts → types/image.d.ts} +0 -0
  283. /package/dist/{components/input/types.d.ts → types/input.d.ts} +0 -0
  284. /package/dist/{components/kbd/types.d.ts → types/kbd.d.ts} +0 -0
  285. /package/dist/{components/layout/types.d.ts → types/layout.d.ts} +0 -0
  286. /package/dist/{components/loading/types.d.ts → types/loading.d.ts} +0 -0
  287. /package/dist/{components/notification/types.d.ts → types/notification.d.ts} +0 -0
  288. /package/dist/{components/number-input/types.d.ts → types/number-input.d.ts} +0 -0
  289. /package/dist/{components/otp-input/types.d.ts → types/otp-input.d.ts} +0 -0
  290. /package/dist/{components/popover/types.d.ts → types/popover.d.ts} +0 -0
  291. /package/dist/{components/portal/types.d.ts → types/portal.d.ts} +0 -0
  292. /package/dist/{components/progress/types.d.ts → types/progress.d.ts} +0 -0
  293. /package/dist/{components/rate/types.d.ts → types/rate.d.ts} +0 -0
  294. /package/dist/{components/ripple/types.d.ts → types/ripple.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import type { NotificationConfig, TypedNotification } from "./types";
1
+ import type { NotificationConfig, TypedNotification } from "musae/types/notification";
2
2
  export declare class Notifier {
3
3
  #private;
4
4
  constructor();
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { NumberInputProps } from "./types";
2
+ import type { NumberInputProps } from "musae/types/number-input";
3
3
  declare const NumberInput: ({ value: __value, formatter: _formatter }: NumberInputProps) => React.JSX.Element;
4
4
  export default NumberInput;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { OtpInputProps } from "./types";
2
+ import type { OtpInputProps } from "musae/types/otp-input";
3
3
  declare const OtpInput: ({ length, onChange, value: _value }: OtpInputProps) => React.JSX.Element;
4
4
  export default OtpInput;
@@ -1,2 +1,2 @@
1
- import { ContextValue } from "../../types/picker";
1
+ import type { ContextValue } from "musae/types/picker";
2
2
  export declare const Context: import("react").Context<ContextValue>;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { PickerProps, PickerRef } from "../../types/picker";
2
+ import type { PickerProps, PickerRef } from "musae/types/picker";
3
3
  declare const Picker: React.ForwardRefExoticComponent<PickerProps & React.RefAttributes<PickerRef>>;
4
4
  export default Picker;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { PopconfirmProps, ChildProps } from "./types";
2
+ import type { PopconfirmProps, ChildProps } from "musae/types/popconfirm";
3
3
  declare const Popconfirm: <P extends ChildProps<T>, T extends HTMLElement>({ content, title, onConfirm, onCancel, className, placement, children: _children, style, }: PopconfirmProps<P, T>) => React.JSX.Element;
4
4
  export default Popconfirm;
@@ -1,4 +1,4 @@
1
- import { type PopperRef } from "../popper";
1
+ import type { PopperRef } from "musae/types/popper";
2
2
  type UsedIsOpen = [
3
3
  boolean,
4
4
  {
@@ -1,4 +1,4 @@
1
1
  import Popover from "./popover";
2
- import type { PopoverProps, PopoverRef } from "./types";
2
+ import type { PopoverProps, PopoverRef } from "musae/types/popover";
3
3
  export { Popover };
4
4
  export type { PopoverProps, PopoverRef };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ChildProps, PopoverRef } from "./types";
2
+ import type { ChildProps, PopoverRef } from "musae/types/popover";
3
3
  declare const Popover: React.ForwardRefExoticComponent<import("../../types/element").ComponentProps & {
4
4
  children: React.ReactElement<ChildProps<HTMLElement>, string | React.JSXElementConstructor<any>>;
5
5
  title?: React.ReactNode;
@@ -35,9 +35,6 @@ var styles = {
35
35
  borderTopRightRadius: null,
36
36
  borderBottomLeftRadius: null,
37
37
  borderBottomRightRadius: null,
38
- overflow: "musaex-ysyzu8",
39
- overflowX: null,
40
- overflowY: null,
41
38
  willChange: "musaex-19wnzia",
42
39
  $$css: true
43
40
  }, {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { PopperRef } from "./types";
3
- declare const Dropdown: React.ForwardRefExoticComponent<Omit<import("./types").PopperProps, "container" | "placement" | "portal"> & {
2
+ import type { PopperRef } from "musae/types/popper";
3
+ declare const Dropdown: React.ForwardRefExoticComponent<Omit<import("musae/types/popper").PopperProps, "container" | "placement" | "portal"> & {
4
4
  placement: import("@floating-ui/dom").Placement;
5
5
  } & React.RefAttributes<PopperRef>>;
6
6
  export default Dropdown;
@@ -33,9 +33,6 @@ var styles = {
33
33
  borderTopRightRadius: null,
34
34
  borderBottomLeftRadius: null,
35
35
  borderBottomRightRadius: null,
36
- overflow: "musaex-ysyzu8",
37
- overflowX: null,
38
- overflowY: null,
39
36
  willChange: "musaex-19wnzia",
40
37
  $$css: true
41
38
  }, {
@@ -1,4 +1,4 @@
1
- import type { DropdownProps, PopperProps } from "./types";
1
+ import type { DropdownProps, PopperProps } from "musae/types/popper";
2
2
  /**
3
3
  * @description
4
4
  * offset converter
@@ -1,4 +1,2 @@
1
1
  import Popper from "./popper";
2
- import type { PopperRef } from "./types";
3
2
  export { Popper };
4
- export type { PopperRef };
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { PopperProps, PopperRef } from "./types";
2
+ import type { PopperProps, PopperRef } from "musae/types/popper";
3
3
  declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<PopperRef>>;
4
4
  export default Popper;
@@ -1,4 +1,4 @@
1
- import type { PortalProps } from "./types";
1
+ import type { PortalProps } from "musae/types/portal";
2
2
  import { type FC } from "react";
3
3
  declare const Portal: FC<PortalProps>;
4
4
  export default Portal;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { CircularProps } from "./types";
2
+ import { CircularProps } from "musae/types/progress";
3
3
  declare const Circular: ({ value: _value, className, style }: CircularProps) => React.JSX.Element;
4
4
  export default Circular;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { LinearProps } from "./types";
2
+ import type { LinearProps } from "musae/types/progress";
3
3
  declare const Linear: ({ value: _value, className, style }: LinearProps) => React.JSX.Element;
4
4
  export default Linear;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { ProgressProps } from "./types";
2
+ import type { ProgressProps } from "musae/types/progress";
3
3
  declare const Progress: ({ variant, value }: ProgressProps) => React.JSX.Element;
4
4
  export default Progress;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { QuoteProps } from "./types";
2
+ import { QuoteProps } from "musae/types/quote";
3
3
  declare const Quote: ({ className, children, style }: QuoteProps) => React.JSX.Element;
4
4
  export default Quote;
@@ -1,3 +1,3 @@
1
- import type { ContextValue } from "./types";
1
+ import type { ContextValue } from "musae/types/radio";
2
2
  declare const Context: import("react").Context<ContextValue | null>;
3
3
  export default Context;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { RadioGroupProps } from "./types";
2
+ import type { RadioGroupProps } from "musae/types/radio";
3
3
  declare const Group: ({ disabled, children, ...props }: RadioGroupProps) => React.JSX.Element;
4
4
  export default Group;
@@ -1,2 +1,2 @@
1
- import type { TypedRadio } from "./types";
1
+ import type { TypedRadio } from "musae/types/radio";
2
2
  export declare const Radio: TypedRadio;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { RadioProps } from "./types";
2
+ import type { RadioProps } from "musae/types/radio";
3
3
  declare const Radio: ({ children, value, checked, disabled, ...props }: RadioProps) => React.JSX.Element;
4
4
  export default Radio;
@@ -1,4 +1,4 @@
1
- import type { RateProps } from "./types";
1
+ import type { RateProps } from "musae/types/rate";
2
2
  /**
3
3
  * @description
4
4
  * value hooks
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { RateProps } from "./types";
2
+ import type { RateProps } from "musae/types/rate";
3
3
  declare const Rate: ({ count, className, style, halfable, disabled, ...props }: RateProps) => React.JSX.Element;
4
4
  export default Rate;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { StarProps } from "./types";
2
+ import type { StarProps } from "musae/types/rate";
3
3
  declare const Star: ({ disabled, value, onEnter, at, onLeave, onClick }: StarProps) => React.JSX.Element;
4
4
  export default Star;
@@ -61,7 +61,7 @@ var Dropdown = function Dropdown(_ref) {
61
61
  return /*#__PURE__*/React.createElement(menu.default, {
62
62
  items: items,
63
63
  onClick: onClick,
64
- selectedKeys: relax.toArray(value)
64
+ selectedKeys: value
65
65
  });
66
66
  }, [items, onClick, value]);
67
67
  return /*#__PURE__*/React.createElement(popover.default, {
@@ -1,4 +1,4 @@
1
1
  import React, { type Key } from "react";
2
- import { DropdownProps } from "../../types/rich-text-editor";
2
+ import type { DropdownProps } from "musae/types/rich-text-editor";
3
3
  declare const Dropdown: <T extends Key = React.Key>({ items: _items, value: _value, onChange, children, }: DropdownProps<T>) => React.JSX.Element;
4
4
  export default Dropdown;
@@ -59,7 +59,7 @@ var Dropdown = function Dropdown(_ref) {
59
59
  return /*#__PURE__*/React.createElement(Menu, {
60
60
  items: items,
61
61
  onClick: onClick,
62
- selectedKeys: toArray(value)
62
+ selectedKeys: value
63
63
  });
64
64
  }, [items, onClick, value]);
65
65
  return /*#__PURE__*/React.createElement(Popover, {
@@ -1,13 +1,31 @@
1
1
  var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
2
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
2
3
  var React = require('react');
4
+ var skeleton = require('../skeleton/skeleton.cjs');
5
+ var useClassNames = require('../../hooks/use-class-names.cjs');
6
+ var componentToken = require('../../utils/component-token.cjs');
7
+ var relax = require('@aiszlab/relax');
8
+ var className = require('../../utils/class-name.cjs');
3
9
 
10
+ var _excluded = ["className"];
4
11
  var _RichTextEditor = /*#__PURE__*/React.lazy(function () {
5
12
  return Promise.resolve().then(function () { return require('./rich-text-editor.cjs'); });
6
13
  });
7
- var RichTextEditor = /*#__PURE__*/React.forwardRef(function (props, ref) {
14
+ var RichTextEditor = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15
+ var className$1 = _ref.className,
16
+ props = _objectWithoutProperties(_ref, _excluded);
17
+ var styled = {
18
+ className: "musaex-h22aca musaex-1k094eu musaex-qwu505"
19
+ };
20
+ var classNames = useClassNames.useClassNames(componentToken.ComponentToken.RichTextEditor);
8
21
  return /*#__PURE__*/React.createElement(React.Suspense, {
9
- fallback: /*#__PURE__*/React.createElement("div", null, "Loading...")
22
+ fallback: /*#__PURE__*/React.createElement(skeleton.default, {
23
+ animation: true,
24
+ className: relax.clsx(classNames[className.RichTextEditorClassToken.Loading], styled.className),
25
+ style: styled.style
26
+ })
10
27
  }, /*#__PURE__*/React.createElement(_RichTextEditor, _objectSpread(_objectSpread({}, props), {}, {
28
+ className: relax.clsx(classNames[className.RichTextEditorClassToken.RichTextEditor], className$1),
11
29
  ref: ref
12
30
  })));
13
31
  });
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { RichTextEditorRef } from "musae/types/rich-text-editor";
3
- declare const RichTextEditor: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "aria-placeholder"> & {
3
+ declare const RichTextEditor: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "aria-placeholder"> & import("../../types/element").ComponentProps & {
4
4
  placeholder?: import("@lexical/react/LexicalContentEditable").Props["placeholder"];
5
5
  disabled?: boolean;
6
6
  defaultValue?: string;
@@ -1,13 +1,31 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
2
3
  import React, { forwardRef, Suspense, createElement, lazy } from 'react';
4
+ import Skeleton from '../skeleton/skeleton.mjs';
5
+ import { useClassNames } from '../../hooks/use-class-names.mjs';
6
+ import { ComponentToken } from '../../utils/component-token.mjs';
7
+ import { clsx } from '@aiszlab/relax';
8
+ import { RichTextEditorClassToken } from '../../utils/class-name.mjs';
3
9
 
10
+ var _excluded = ["className"];
4
11
  var _RichTextEditor = /*#__PURE__*/lazy(function () {
5
12
  return import('./rich-text-editor.mjs');
6
13
  });
7
- var RichTextEditor = /*#__PURE__*/forwardRef(function (props, ref) {
14
+ var RichTextEditor = /*#__PURE__*/forwardRef(function (_ref, ref) {
15
+ var className = _ref.className,
16
+ props = _objectWithoutProperties(_ref, _excluded);
17
+ var styled = {
18
+ className: "musaex-h22aca musaex-1k094eu musaex-qwu505"
19
+ };
20
+ var classNames = useClassNames(ComponentToken.RichTextEditor);
8
21
  return /*#__PURE__*/React.createElement(Suspense, {
9
- fallback: /*#__PURE__*/React.createElement("div", null, "Loading...")
22
+ fallback: /*#__PURE__*/React.createElement(Skeleton, {
23
+ animation: true,
24
+ className: clsx(classNames[RichTextEditorClassToken.Loading], styled.className),
25
+ style: styled.style
26
+ })
10
27
  }, /*#__PURE__*/createElement(_RichTextEditor, _objectSpread(_objectSpread({}, props), {}, {
28
+ className: clsx(classNames[RichTextEditorClassToken.RichTextEditor], className),
11
29
  ref: ref
12
30
  })));
13
31
  });
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { Use } from "../../../../types/rich-text-editor";
2
+ import type { Use } from "musae/types/rich-text-editor";
3
3
  interface Props {
4
4
  value?: string;
5
5
  onChange?: (value: string) => void;
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
+ var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
3
4
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
5
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
5
6
  var React = require('react');
@@ -31,7 +32,7 @@ require('../checkbox/index.cjs');
31
32
  var markdown = require('@lexical/markdown');
32
33
  var styles$1 = require('../checkbox/styles.cjs');
33
34
 
34
- var _excluded = ["placeholder", "disabled", "defaultValue", "onChange", "value"];
35
+ var _excluded = ["placeholder", "disabled", "defaultValue", "onChange", "value", "className", "style"];
35
36
  var styles = {
36
37
  shell: function shell(props) {
37
38
  return [{
@@ -81,7 +82,9 @@ var RichTextEditor = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
81
82
  defaultValue = _ref.defaultValue,
82
83
  onChange = _ref.onChange;
83
84
  _ref.value;
84
- var props = _objectWithoutProperties(_ref, _excluded);
85
+ var className = _ref.className,
86
+ style = _ref.style,
87
+ props = _objectWithoutProperties(_ref, _excluded);
85
88
  var _useIdentity = relax.useIdentity(),
86
89
  _useIdentity2 = _slicedToArray(_useIdentity, 1),
87
90
  id = _useIdentity2[0];
@@ -105,7 +108,7 @@ var RichTextEditor = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
105
108
  codeBackgroundColor: theme$1.colors[colors.ColorToken.SurfaceContainerHighest]
106
109
  })),
107
110
  editor: {
108
- className: "musaex-1a2a7pz musaex-y0sash musaex-1vgzror musaex-igxgg9 musaex-1y06zzy"
111
+ className: "musaex-1a2a7pz musaex-y0sash musaex-1vgzror musaex-igxgg9 musaex-ktxt4i"
109
112
  },
110
113
  h1: stylex.default.props(theme.typography.display.large),
111
114
  h2: stylex.default.props(theme.typography.display.medium),
@@ -195,8 +198,8 @@ var RichTextEditor = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
195
198
  return /*#__PURE__*/React.createElement(LexicalComposer.LexicalComposer, {
196
199
  initialConfig: initialConfig
197
200
  }, /*#__PURE__*/React.createElement("div", {
198
- className: styled.shell.className,
199
- style: styled.shell.style
201
+ className: relax.clsx(className, styled.shell.className),
202
+ style: _objectSpread(_objectSpread({}, styled.shell.style), style)
200
203
  }, !disabled && /*#__PURE__*/React.createElement(index$1.default, null), /*#__PURE__*/React.createElement(LexicalRichTextPlugin.RichTextPlugin, {
201
204
  contentEditable: /*#__PURE__*/React.createElement(LexicalContentEditable.ContentEditable, {
202
205
  className: styled.editor.className,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { RichTextEditorRef } from "musae/types/rich-text-editor";
3
- declare const RichTextEditor: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "aria-placeholder"> & {
3
+ declare const RichTextEditor: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "aria-placeholder"> & import("../../types/element").ComponentProps & {
4
4
  placeholder?: import("@lexical/react/LexicalContentEditable").Props["placeholder"];
5
5
  disabled?: boolean;
6
6
  defaultValue?: string;
@@ -1,3 +1,4 @@
1
+ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
1
2
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
3
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
4
  import React, { forwardRef, useRef, useImperativeHandle } from 'react';
@@ -11,7 +12,7 @@ import { ClickableLinkPlugin } from '@lexical/react/LexicalClickableLinkPlugin';
11
12
  import { ListPlugin } from '@lexical/react/LexicalListPlugin';
12
13
  import CheckListPlugin from './plugins/check-list/index.mjs';
13
14
  import ControlledStatePlugin from './plugins/controlled-state/index.mjs';
14
- import { useIdentity, useDefault } from '@aiszlab/relax';
15
+ import { useIdentity, useDefault, clsx } from '@aiszlab/relax';
15
16
  import { useMessage } from '../message/hooks.mjs';
16
17
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
17
18
  import { useTheme } from '../theme/hooks.mjs';
@@ -29,7 +30,7 @@ import '../checkbox/index.mjs';
29
30
  import { $convertFromMarkdownString } from '@lexical/markdown';
30
31
  import styles$1 from '../checkbox/styles.mjs';
31
32
 
32
- var _excluded = ["placeholder", "disabled", "defaultValue", "onChange", "value"];
33
+ var _excluded = ["placeholder", "disabled", "defaultValue", "onChange", "value", "className", "style"];
33
34
  var styles = {
34
35
  shell: function shell(props) {
35
36
  return [{
@@ -79,7 +80,9 @@ var RichTextEditor = /*#__PURE__*/forwardRef(function (_ref, ref) {
79
80
  defaultValue = _ref.defaultValue,
80
81
  onChange = _ref.onChange;
81
82
  _ref.value;
82
- var props = _objectWithoutProperties(_ref, _excluded);
83
+ var className = _ref.className,
84
+ style = _ref.style,
85
+ props = _objectWithoutProperties(_ref, _excluded);
83
86
  var _useIdentity = useIdentity(),
84
87
  _useIdentity2 = _slicedToArray(_useIdentity, 1),
85
88
  id = _useIdentity2[0];
@@ -103,7 +106,7 @@ var RichTextEditor = /*#__PURE__*/forwardRef(function (_ref, ref) {
103
106
  codeBackgroundColor: theme.colors[ColorToken.SurfaceContainerHighest]
104
107
  })),
105
108
  editor: {
106
- className: "musaex-1a2a7pz musaex-y0sash musaex-1vgzror musaex-igxgg9 musaex-1y06zzy"
109
+ className: "musaex-1a2a7pz musaex-y0sash musaex-1vgzror musaex-igxgg9 musaex-ktxt4i"
107
110
  },
108
111
  h1: _stylex.props(typography.display.large),
109
112
  h2: _stylex.props(typography.display.medium),
@@ -193,8 +196,8 @@ var RichTextEditor = /*#__PURE__*/forwardRef(function (_ref, ref) {
193
196
  return /*#__PURE__*/React.createElement(LexicalComposer, {
194
197
  initialConfig: initialConfig
195
198
  }, /*#__PURE__*/React.createElement("div", {
196
- className: styled.shell.className,
197
- style: styled.shell.style
199
+ className: clsx(className, styled.shell.className),
200
+ style: _objectSpread(_objectSpread({}, styled.shell.style), style)
198
201
  }, !disabled && /*#__PURE__*/React.createElement(ToolbarPlugin, null), /*#__PURE__*/React.createElement(RichTextPlugin, {
199
202
  contentEditable: /*#__PURE__*/React.createElement(ContentEditable, {
200
203
  className: styled.editor.className,
@@ -1,5 +1,5 @@
1
1
  import { type MouseEvent, type Key } from "react";
2
- import type { Ripple } from "./types";
2
+ import type { Ripple } from "musae/types/ripple";
3
3
  export declare function useRipple(): {
4
4
  ripples: Ripple[];
5
5
  add: (event: MouseEvent<HTMLElement>) => void;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { RippleProps } from "./types";
2
+ import { RippleProps } from "musae/types/ripple";
3
3
  declare const Ripple: ({ ripples, onClear }: RippleProps) => React.JSX.Element[];
4
4
  export default Ripple;
@@ -1,5 +1,5 @@
1
1
  import { type Key } from "react";
2
- import type { Mode, ReadableOptions, SelectProps, ValueOrValues } from "../../types/select";
2
+ import type { Mode, ReadableOptions, SelectProps, ValueOrValues } from "musae/types/select";
3
3
  import type { Option } from "musae/types/option";
4
4
  /**
5
5
  * @description
@@ -66,12 +66,15 @@ var Select = function Select(_ref) {
66
66
  className: "musaex-1pgy25r"
67
67
  }
68
68
  };
69
+ var selectedKeys = React.useMemo(function () {
70
+ return Array.from(readableValues.keys());
71
+ }, [readableValues]);
69
72
  return /*#__PURE__*/React.createElement(picker.default, _objectSpread({
70
73
  ref: ref,
71
74
  pickable: /*#__PURE__*/React.createElement(selections.default, {
72
75
  items: menuItems,
73
76
  onSelect: onChange,
74
- selectedKeys: Array.from(readableValues.keys())
77
+ selectedKeys: selectedKeys
75
78
  }),
76
79
  className: relax.clsx(classNames[className.SelectClassToken.Select], className$1, styled.picker.className),
77
80
  style: _objectSpread(_objectSpread({}, styled.picker.style), style),
@@ -1,5 +1,5 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
- import React, { useRef, useCallback } from 'react';
2
+ import React, { useRef, useCallback, useMemo } from 'react';
3
3
  import Picker from '../picker/picker.mjs';
4
4
  import { useOptions, useValue } from './hooks.mjs';
5
5
  import { SelectClassToken } from '../../utils/class-name.mjs';
@@ -64,12 +64,15 @@ var Select = function Select(_ref) {
64
64
  className: "musaex-1pgy25r"
65
65
  }
66
66
  };
67
+ var selectedKeys = useMemo(function () {
68
+ return Array.from(readableValues.keys());
69
+ }, [readableValues]);
67
70
  return /*#__PURE__*/React.createElement(Picker, _objectSpread({
68
71
  ref: ref,
69
72
  pickable: /*#__PURE__*/React.createElement(Selections, {
70
73
  items: menuItems,
71
74
  onSelect: onChange,
72
- selectedKeys: Array.from(readableValues.keys())
75
+ selectedKeys: selectedKeys
73
76
  }),
74
77
  className: clsx(classNames[SelectClassToken.Select], className, styled.picker.className),
75
78
  style: _objectSpread(_objectSpread({}, styled.picker.style), style),
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { SelectionsProps } from "../../types/select";
2
+ import type { SelectionsProps } from "musae/types/select";
3
3
  /**
4
4
  * @description
5
5
  * just display the selections for user selectable like options
@@ -1,4 +1,4 @@
1
1
  import { type ForwardRefExoticComponent, type PropsWithoutRef, type RefAttributes } from "react";
2
- import type { SelectorProps, SelectorRef } from "../../types/select";
2
+ import type { SelectorProps, SelectorRef } from "musae/types/select";
3
3
  declare const Selector: ForwardRefExoticComponent<PropsWithoutRef<SelectorProps> & RefAttributes<SelectorRef>>;
4
4
  export default Selector;
@@ -1,4 +1,4 @@
1
- import type { Filter, ReadableOptions, ToMenuItem, Value, ValueOrValues } from "../../types/select";
1
+ import type { Filter, ReadableOptions, ToMenuItem, Value, ValueOrValues } from "musae/types/select";
2
2
  import type { Option } from "musae/types/option";
3
3
  import type { MenuItem } from "musae/types/menu";
4
4
  /**
@@ -6,9 +6,22 @@ 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 relax = require('@aiszlab/relax');
9
+ var tokens_stylex = require('../theme/tokens.stylex.cjs');
9
10
  var componentToken = require('../../utils/component-token.cjs');
11
+ var hooks = require('../theme/hooks.cjs');
12
+ var colors = require('../../utils/colors.cjs');
10
13
 
11
14
  var styles = {
15
+ variables: function variables(props) {
16
+ return [{
17
+ "--shadow": "musaex-36wvql",
18
+ "--lighter-shadow": "musaex-p8ugqh",
19
+ $$css: true
20
+ }, {
21
+ "----shadow": props.shadow != null ? props.shadow : "initial",
22
+ "----lighter-shadow": props.lighterShadow != null ? props.lighterShadow : "initial"
23
+ }];
24
+ },
12
25
  title: {
13
26
  width: "musaex-1fvqbsf",
14
27
  height: "musaex-1bti5vo",
@@ -52,7 +65,7 @@ var styles = {
52
65
  $$css: true
53
66
  },
54
67
  skeleton: {
55
- background: "musaex-1csrv2e",
68
+ background: "musaex-uwpeme",
56
69
  backgroundAttachment: null,
57
70
  backgroundClip: null,
58
71
  backgroundColor: null,
@@ -66,7 +79,7 @@ var styles = {
66
79
  $$css: true
67
80
  },
68
81
  animation: {
69
- background: "musaex-1jvh8g2",
82
+ background: "musaex-1br516c",
70
83
  backgroundAttachment: null,
71
84
  backgroundClip: null,
72
85
  backgroundColor: null,
@@ -91,7 +104,11 @@ var Skeleton = function Skeleton(_ref) {
91
104
  className$1 = _ref.className,
92
105
  style = _ref.style;
93
106
  var classNames = useClassNames.useClassNames(componentToken.ComponentToken.Skeleton);
94
- var styled = stylex.default.props(!!variant && styles[variant], animation && styles.animation);
107
+ var theme = hooks.useTheme();
108
+ var styled = stylex.default.props(styles.variables({
109
+ shadow: colors.toRgba(theme.colors.shadow, tokens_stylex.OPACITY.thin),
110
+ lighterShadow: colors.toRgba(theme.colors.shadow, tokens_stylex.OPACITY.thick)
111
+ }), !!variant && styles[variant], animation && styles.animation);
95
112
  return /*#__PURE__*/React.createElement("div", {
96
113
  className: relax.clsx(classNames[className.SkeletonClassToken.Skeleton], className$1, styled.className),
97
114
  style: _objectSpread(_objectSpread({}, styled.style), style)
@@ -1,4 +1,4 @@
1
- import type { SkeletonProps } from "./types";
1
+ import type { SkeletonProps } from "musae/types/skeleton";
2
2
  import React from "react";
3
3
  declare const Skeleton: ({ animation, variant, className, style }: SkeletonProps) => React.JSX.Element;
4
4
  export default Skeleton;