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 ContextValue } from "./types";
1
+ import type { ContextValue } from "musae/types/avatar";
2
2
  /**
3
3
  * @description
4
4
  * context
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { type AvatarGroupProps } from "./types";
2
+ import type { AvatarGroupProps } from "musae/types/avatar";
3
3
  declare const Group: ({ children: _children, shape, size, max, }: AvatarGroupProps) => React.JSX.Element;
4
4
  export default Group;
@@ -1,3 +1,3 @@
1
- import type { TypedAvatar } from "./types";
1
+ import type { TypedAvatar } from "musae/types/avatar";
2
2
  declare const Avatar: TypedAvatar;
3
3
  export { Avatar };
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { BadgeProps } from "./types";
2
+ import type { BadgeProps } from "musae/types/badge";
3
3
  declare const Badge: ({ className, style, children, content, invisible, placement, }: BadgeProps) => React.JSX.Element;
4
4
  export default Badge;
@@ -138,24 +138,22 @@ var Bench = function Bench(_ref) {
138
138
  }))), /*#__PURE__*/React.createElement("span", {
139
139
  className: styled.title.className,
140
140
  style: styled.title.style
141
- }, title), /*#__PURE__*/React.createElement(menu.default, _objectSpread({
141
+ }, title), /*#__PURE__*/React.createElement(menu.default, {
142
142
  items: topMenuItems,
143
143
  onClick: navigate,
144
144
  mode: "horizontal",
145
145
  className: styled.headerNavigation.className,
146
- style: styled.headerNavigation.style
147
- }, !!selectedKeys[0] && {
148
- selectedKeys: [selectedKeys[0]]
149
- })), trailing), sideMenuItems.length > 0 && (/*#__PURE__*/React.createElement(Sider, {
146
+ style: styled.headerNavigation.style,
147
+ selectedKeys: selectedKeys[0]
148
+ }), trailing), sideMenuItems.length > 0 && (/*#__PURE__*/React.createElement(Sider, {
150
149
  className: styled.sider.className,
151
150
  style: styled.sider.style
152
- }, /*#__PURE__*/React.createElement(menu.default, _objectSpread({
151
+ }, /*#__PURE__*/React.createElement(menu.default, {
153
152
  items: sideMenuItems,
154
153
  onClick: navigate,
155
- defaultExpandedKeys: defaultExpandedKeys
156
- }, !!selectedKeys[1] && {
157
- selectedKeys: [selectedKeys[1]]
158
- })))), /*#__PURE__*/React.createElement(Main, {
154
+ defaultExpandedKeys: defaultExpandedKeys,
155
+ selectedKeys: selectedKeys[1]
156
+ }))), /*#__PURE__*/React.createElement(Main, {
159
157
  className: relax.clsx(mainClassName, styled.main.className),
160
158
  style: styled.main.style
161
159
  }, children));
@@ -136,24 +136,22 @@ var Bench = function Bench(_ref) {
136
136
  }))), /*#__PURE__*/React.createElement("span", {
137
137
  className: styled.title.className,
138
138
  style: styled.title.style
139
- }, title), /*#__PURE__*/React.createElement(Menu, _objectSpread({
139
+ }, title), /*#__PURE__*/React.createElement(Menu, {
140
140
  items: topMenuItems,
141
141
  onClick: navigate,
142
142
  mode: "horizontal",
143
143
  className: styled.headerNavigation.className,
144
- style: styled.headerNavigation.style
145
- }, !!selectedKeys[0] && {
146
- selectedKeys: [selectedKeys[0]]
147
- })), trailing), sideMenuItems.length > 0 && (/*#__PURE__*/React.createElement(Sider, {
144
+ style: styled.headerNavigation.style,
145
+ selectedKeys: selectedKeys[0]
146
+ }), trailing), sideMenuItems.length > 0 && (/*#__PURE__*/React.createElement(Sider, {
148
147
  className: styled.sider.className,
149
148
  style: styled.sider.style
150
- }, /*#__PURE__*/React.createElement(Menu, _objectSpread({
149
+ }, /*#__PURE__*/React.createElement(Menu, {
151
150
  items: sideMenuItems,
152
151
  onClick: navigate,
153
- defaultExpandedKeys: defaultExpandedKeys
154
- }, !!selectedKeys[1] && {
155
- selectedKeys: [selectedKeys[1]]
156
- })))), /*#__PURE__*/React.createElement(Main, {
152
+ defaultExpandedKeys: defaultExpandedKeys,
153
+ selectedKeys: selectedKeys[1]
154
+ }))), /*#__PURE__*/React.createElement(Main, {
157
155
  className: clsx(mainClassName, styled.main.className),
158
156
  style: styled.main.style
159
157
  }, children));
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { BreadcrumbProps } from "./types";
2
+ import type { BreadcrumbProps } from "musae/types/breadcrumb";
3
3
  declare const Breadcrumb: ({ items, className, separator, style }: BreadcrumbProps) => React.JSX.Element | null;
4
4
  export default Breadcrumb;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { type BreadcrumbItemProps } from "./types";
2
+ import type { BreadcrumbItemProps } from "musae/types/breadcrumb";
3
3
  declare const Item: ({ href, label, max, separator }: BreadcrumbItemProps) => React.JSX.Element;
4
4
  export default Item;
@@ -6,12 +6,12 @@ var React = require('react');
6
6
  var className = require('../../utils/class-name.cjs');
7
7
  var relax = require('@aiszlab/relax');
8
8
  var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
+ var tokens_stylex = require('../theme/tokens.stylex.cjs');
9
10
  var hooks = require('../theme/hooks.cjs');
10
11
  var hooks$1 = require('./hooks.cjs');
11
12
  var ripple = require('../ripple/ripple.cjs');
12
13
  var theme = require('../theme/theme.cjs');
13
14
  var colors = require('../../utils/colors.cjs');
14
- var layer = require('../../utils/layer.cjs');
15
15
  var useClassNames = require('../../hooks/use-class-names.cjs');
16
16
  var componentToken = require('../../utils/component-token.cjs');
17
17
 
@@ -267,18 +267,18 @@ var Button = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
267
267
  color: theme$1.colors["on-".concat(color)]
268
268
  }), variant === "outlined" && styles.outlined({
269
269
  color: theme$1.colors[color],
270
- hoveredBackgroundColor: layer.layer(theme$1.colors[colors.ColorToken.Primary], "thin")
270
+ hoveredBackgroundColor: colors.toRgba(theme$1.colors[colors.ColorToken.Primary], tokens_stylex.OPACITY.thin)
271
271
  }), variant === "text" && styles.text({
272
272
  color: theme$1.colors[color],
273
- hoveredBackgroundColor: layer.layer(theme$1.colors[colors.ColorToken.Primary], "thin")
273
+ hoveredBackgroundColor: colors.toRgba(theme$1.colors[colors.ColorToken.Primary], tokens_stylex.OPACITY.thin)
274
274
  }),
275
275
  // shape
276
276
  styles[shape],
277
277
  // disabled
278
278
  disabled && styles.disabled({
279
- backgroundColor: variant === "filled" ? layer.layer(theme$1.colors[colors.ColorToken.OnSurface], "medium") : "transparent",
280
- color: layer.layer(theme$1.colors[colors.ColorToken.OnSurface], "thicker"),
281
- outlineColor: variant === "outlined" ? layer.layer(theme$1.colors[colors.ColorToken.OnSurface], "thicker") : null
279
+ backgroundColor: variant === "filled" ? colors.toRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.medium) : "transparent",
280
+ color: colors.toRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.thicker),
281
+ outlineColor: variant === "outlined" ? colors.toRgba(theme$1.colors[colors.ColorToken.OnSurface], tokens_stylex.OPACITY.thicker) : null
282
282
  }))
283
283
  };
284
284
  return /*#__PURE__*/React.createElement("button", _objectSpread({
@@ -1,4 +1,4 @@
1
- import type { ButtonProps } from "./types";
1
+ import type { ButtonProps } from "musae/types/button";
2
2
  import React from "react";
3
3
  /**
4
4
  * @author murukal
@@ -4,12 +4,12 @@ import React, { forwardRef } from 'react';
4
4
  import { ButtonClassToken } from '../../utils/class-name.mjs';
5
5
  import { clsx } from '@aiszlab/relax';
6
6
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
7
+ import { OPACITY } from '../theme/tokens.stylex.mjs';
7
8
  import { useTheme } from '../theme/hooks.mjs';
8
9
  import { useButton } from './hooks.mjs';
9
10
  import Ripple from '../ripple/ripple.mjs';
10
11
  import { typography } from '../theme/theme.mjs';
11
- import { ColorToken } from '../../utils/colors.mjs';
12
- import { layer } from '../../utils/layer.mjs';
12
+ import { toRgba, ColorToken } from '../../utils/colors.mjs';
13
13
  import { useClassNames } from '../../hooks/use-class-names.mjs';
14
14
  import { ComponentToken } from '../../utils/component-token.mjs';
15
15
 
@@ -265,18 +265,18 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
265
265
  color: theme.colors["on-".concat(color)]
266
266
  }), variant === "outlined" && styles.outlined({
267
267
  color: theme.colors[color],
268
- hoveredBackgroundColor: layer(theme.colors[ColorToken.Primary], "thin")
268
+ hoveredBackgroundColor: toRgba(theme.colors[ColorToken.Primary], OPACITY.thin)
269
269
  }), variant === "text" && styles.text({
270
270
  color: theme.colors[color],
271
- hoveredBackgroundColor: layer(theme.colors[ColorToken.Primary], "thin")
271
+ hoveredBackgroundColor: toRgba(theme.colors[ColorToken.Primary], OPACITY.thin)
272
272
  }),
273
273
  // shape
274
274
  styles[shape],
275
275
  // disabled
276
276
  disabled && styles.disabled({
277
- backgroundColor: variant === "filled" ? layer(theme.colors[ColorToken.OnSurface], "medium") : "transparent",
278
- color: layer(theme.colors[ColorToken.OnSurface], "thicker"),
279
- outlineColor: variant === "outlined" ? layer(theme.colors[ColorToken.OnSurface], "thicker") : null
277
+ backgroundColor: variant === "filled" ? toRgba(theme.colors[ColorToken.OnSurface], OPACITY.medium) : "transparent",
278
+ color: toRgba(theme.colors[ColorToken.OnSurface], OPACITY.thicker),
279
+ outlineColor: variant === "outlined" ? toRgba(theme.colors[ColorToken.OnSurface], OPACITY.thicker) : null
280
280
  }))
281
281
  };
282
282
  return /*#__PURE__*/React.createElement("button", _objectSpread({
@@ -1,11 +1,11 @@
1
1
  import { type MouseEvent } from "react";
2
- import type { ButtonProps } from "./types";
2
+ import type { ButtonProps } from "musae/types/button";
3
3
  /**
4
4
  * @description
5
5
  * hooks for button component
6
6
  */
7
7
  export declare const useButton: (props: Pick<ButtonProps, "onClick">) => {
8
- ripples: import("../ripple/types").Ripple[];
8
+ ripples: import("../../types/ripple").Ripple[];
9
9
  onClick: (e: MouseEvent<HTMLButtonElement>) => void;
10
10
  clear: (key: import("react").Key) => void;
11
11
  };
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { CalendarProps } from "./types";
2
+ import type { CalendarProps } from "musae/types/calendar";
3
3
  declare const Calendar: ({ className, style, value, onClick: _onClick, focusedAt: _focusedAt, }: CalendarProps) => React.JSX.Element;
4
4
  export default Calendar;
@@ -1,7 +1,7 @@
1
1
  import dayjs, { type Dayjs } from "dayjs";
2
2
  import React from "react";
3
3
  import { Timespan } from "../../utils/timespan";
4
- import type { CalendarProps } from "./types";
4
+ import type { CalendarProps } from "musae/types/calendar";
5
5
  /**
6
6
  * @description
7
7
  * head cells
@@ -1,3 +1,2 @@
1
1
  import Calendar from "./calendar";
2
- import type { CalendarProps } from "./types";
3
- export { Calendar, type CalendarProps };
2
+ export { Calendar };
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { CascaderProps } from "./types";
2
+ import type { CascaderProps } from "musae/types/cascader";
3
3
  declare const Cascader: ({ mode, separator, options, complex, ...props }: CascaderProps) => React.JSX.Element;
4
4
  export default Cascader;
@@ -1,6 +1,6 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
2
  import type { MenuItem } from "musae/types/menu";
3
- import type { CascaderProps, ReadableOptions, ReadablePaths } from "./types";
3
+ import type { CascaderProps, ReadableOptions, ReadablePaths } from "musae/types/cascader";
4
4
  import type { Option } from "musae/types/option";
5
5
  /**
6
6
  * @description
@@ -1,4 +1,4 @@
1
- import type { KeyOrOption, Optionable, ReadBy, ReadableOption, ReadableOptions, ReadablePaths, Value, ValueOrValues } from "./types";
1
+ import type { KeyOrOption, Optionable, ReadBy, ReadableOption, ReadableOptions, ReadablePaths, Value, ValueOrValues } from "musae/types/cascader";
2
2
  import type { MenuItem } from "musae/types/menu";
3
3
  /**
4
4
  * @description
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CheckboxProps } from "./types";
2
+ import type { CheckboxProps } from "musae/types/checkbox";
3
3
  import styles from "./styles";
4
4
  declare const Checkbox: ({ value, className, style, children, onChange, disabled, checked, }: CheckboxProps) => React.JSX.Element;
5
5
  export default Checkbox;
@@ -1,3 +1,3 @@
1
- import type { ContextValue } from "./types";
1
+ import type { ContextValue } from "musae/types/checkbox";
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 { CheckboxGroupProps } from "./types";
2
+ import type { CheckboxGroupProps } from "musae/types/checkbox";
3
3
  declare const Group: ({ value: controlledValue, children, onChange, disabled, }: CheckboxGroupProps) => React.JSX.Element;
4
4
  export default Group;
@@ -1,5 +1,5 @@
1
1
  import styles from "./styles";
2
- export declare const Checkbox: (({ value, className, style, children, onChange, disabled, checked, }: import("./types").CheckboxProps) => import("react").JSX.Element) & {
3
- Group: ({ value: controlledValue, children, onChange, disabled, }: import("./types").CheckboxGroupProps) => import("react").JSX.Element;
2
+ export declare const Checkbox: (({ value, className, style, children, onChange, disabled, checked, }: import("../../types/checkbox").CheckboxProps) => import("react").JSX.Element) & {
3
+ Group: ({ value: controlledValue, children, onChange, disabled, }: import("../../types/checkbox").CheckboxGroupProps) => import("react").JSX.Element;
4
4
  };
5
5
  export { styles };
@@ -10,7 +10,7 @@ var styles = {
10
10
  $$css: true
11
11
  },
12
12
  disabled: {
13
- opacity: "musaex-niy1rt",
13
+ opacity: "musaex-1n1gcw9",
14
14
  cursor: "musaex-1h6gzvc",
15
15
  $$css: true
16
16
  },
@@ -7,7 +7,7 @@ declare const styles: {
7
7
  readonly userSelect: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"userSelect", "none">;
8
8
  }>;
9
9
  readonly disabled: Readonly<{
10
- readonly opacity: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"opacity", string>;
10
+ readonly opacity: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"opacity", number>;
11
11
  readonly cursor: import("@stylexjs/stylex/lib/StyleXTypes").StyleXClassNameFor<"cursor", "not-allowed">;
12
12
  }>;
13
13
  readonly variables: (props: {
@@ -8,7 +8,7 @@ var styles = {
8
8
  $$css: true
9
9
  },
10
10
  disabled: {
11
- opacity: "musaex-niy1rt",
11
+ opacity: "musaex-1n1gcw9",
12
12
  cursor: "musaex-1h6gzvc",
13
13
  $$css: true
14
14
  },
@@ -5,7 +5,6 @@ var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
5
5
  var React = require('react');
6
6
  var useClassNames = require('../../hooks/use-class-names.cjs');
7
7
  var className = require('../../utils/class-name.cjs');
8
- var types = require('./types.cjs');
9
8
  var column = require('./column.cjs');
10
9
  var relax = require('@aiszlab/relax');
11
10
  var divider = require('../divider/divider.cjs');
@@ -18,7 +17,7 @@ var Clock = function Clock(_ref) {
18
17
  var styled = {
19
18
  className: "musaex-78zum5 musaex-1m3v4wt musaex-13bbkc7"
20
19
  };
21
- var columns = [types.TimeUnit.Hour, types.TimeUnit.Minute, types.TimeUnit.Second];
20
+ var columns = ["hour", "minute", "second"];
22
21
  return /*#__PURE__*/React.createElement("div", {
23
22
  className: relax.clsx(classNames[className.ClockClassToken.Clock], styled.className),
24
23
  style: styled.style
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { ClockProps } from "./types";
2
+ import type { ClockProps } from "musae/types/clock";
3
3
  declare const Clock: ({ value, onChange }: ClockProps) => React.JSX.Element;
4
4
  export default Clock;
@@ -3,7 +3,6 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
3
3
  import React from 'react';
4
4
  import { useClassNames } from '../../hooks/use-class-names.mjs';
5
5
  import { ClockClassToken } from '../../utils/class-name.mjs';
6
- import { TimeUnit } from './types.mjs';
7
6
  import Column from './column.mjs';
8
7
  import { clsx } from '@aiszlab/relax';
9
8
  import Divider from '../divider/divider.mjs';
@@ -16,7 +15,7 @@ var Clock = function Clock(_ref) {
16
15
  var styled = {
17
16
  className: "musaex-78zum5 musaex-1m3v4wt musaex-13bbkc7"
18
17
  };
19
- var columns = [TimeUnit.Hour, TimeUnit.Minute, TimeUnit.Second];
18
+ var columns = ["hour", "minute", "second"];
20
19
  return /*#__PURE__*/React.createElement("div", {
21
20
  className: clsx(classNames[ClockClassToken.Clock], styled.className),
22
21
  style: styled.style
@@ -1,16 +1,20 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var React = require('react');
4
- var hooks = require('./hooks.cjs');
5
4
  var menu = require('../menu/menu.cjs');
6
5
  var useClassNames = require('../../hooks/use-class-names.cjs');
7
6
  var className = require('../../utils/class-name.cjs');
8
7
  var relax = require('@aiszlab/relax');
9
8
  var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
10
- var hooks$1 = require('../theme/hooks.cjs');
9
+ var hooks = require('../theme/hooks.cjs');
11
10
  var colors = require('../../utils/colors.cjs');
12
11
  var componentToken = require('../../utils/component-token.cjs');
13
12
 
13
+ var UNITS = {
14
+ hour: 24,
15
+ minute: 60,
16
+ second: 60
17
+ };
14
18
  var styles = {
15
19
  menu: function menu(props) {
16
20
  return [{
@@ -42,10 +46,10 @@ var Column = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
42
46
  var unit = _ref.unit,
43
47
  value = _ref.value,
44
48
  onChange = _ref.onChange;
45
- var timeUnit = hooks.useTimeUnit(unit);
49
+ var timeUnit = UNITS[unit];
46
50
  var classNames = useClassNames.useClassNames(componentToken.ComponentToken.Clock);
47
51
  var menuRef = React.useRef(null);
48
- var theme = hooks$1.useTheme();
52
+ var theme = hooks.useTheme();
49
53
  var onClick = React.useCallback(function (key) {
50
54
  var _menuRef$current;
51
55
  onChange === null || onChange === void 0 || onChange(key);
@@ -59,10 +63,6 @@ var Column = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
59
63
  if (relax.isVoid(value)) return;
60
64
  (_menuRef$current2 = menuRef.current) === null || _menuRef$current2 === void 0 || _menuRef$current2.scrollTo(value || 0, 100);
61
65
  }, [value]);
62
- var selectedKeys = React.useMemo(function () {
63
- if (relax.isVoid(value)) return void 0;
64
- return [value];
65
- }, [value]);
66
66
  var styled = {
67
67
  menu: stylex.default.props(styles.menu({
68
68
  scrollbarThumbColor: theme.colors[colors.ColorToken.Secondary],
@@ -73,7 +73,7 @@ var Column = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
73
73
  }
74
74
  };
75
75
  return /*#__PURE__*/React.createElement(menu.default, {
76
- selectedKeys: selectedKeys,
76
+ selectedKeys: value,
77
77
  ref: menuRef,
78
78
  className: relax.clsx(styled.menu.className, classNames[className.ClockClassToken.Column]),
79
79
  style: styled.menu.style,
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { ColumnProps } from "./types";
2
+ import { ColumnProps } from "musae/types/clock";
3
3
  declare const Column: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<{}>>;
4
4
  export default Column;
@@ -1,5 +1,4 @@
1
- import React, { forwardRef, useRef, useCallback, useImperativeHandle, useEffect, useMemo } from 'react';
2
- import { useTimeUnit } from './hooks.mjs';
1
+ import React, { forwardRef, useRef, useCallback, useImperativeHandle, useEffect } from 'react';
3
2
  import Menu from '../menu/menu.mjs';
4
3
  import { useClassNames } from '../../hooks/use-class-names.mjs';
5
4
  import { ClockClassToken } from '../../utils/class-name.mjs';
@@ -9,6 +8,11 @@ import { useTheme } from '../theme/hooks.mjs';
9
8
  import { ColorToken } from '../../utils/colors.mjs';
10
9
  import { ComponentToken } from '../../utils/component-token.mjs';
11
10
 
11
+ var UNITS = {
12
+ hour: 24,
13
+ minute: 60,
14
+ second: 60
15
+ };
12
16
  var styles = {
13
17
  menu: function menu(props) {
14
18
  return [{
@@ -40,7 +44,7 @@ var Column = /*#__PURE__*/forwardRef(function (_ref, ref) {
40
44
  var unit = _ref.unit,
41
45
  value = _ref.value,
42
46
  onChange = _ref.onChange;
43
- var timeUnit = useTimeUnit(unit);
47
+ var timeUnit = UNITS[unit];
44
48
  var classNames = useClassNames(ComponentToken.Clock);
45
49
  var menuRef = useRef(null);
46
50
  var theme = useTheme();
@@ -57,10 +61,6 @@ var Column = /*#__PURE__*/forwardRef(function (_ref, ref) {
57
61
  if (isVoid(value)) return;
58
62
  (_menuRef$current2 = menuRef.current) === null || _menuRef$current2 === void 0 || _menuRef$current2.scrollTo(value || 0, 100);
59
63
  }, [value]);
60
- var selectedKeys = useMemo(function () {
61
- if (isVoid(value)) return void 0;
62
- return [value];
63
- }, [value]);
64
64
  var styled = {
65
65
  menu: _stylex.props(styles.menu({
66
66
  scrollbarThumbColor: theme.colors[ColorToken.Secondary],
@@ -71,7 +71,7 @@ var Column = /*#__PURE__*/forwardRef(function (_ref, ref) {
71
71
  }
72
72
  };
73
73
  return /*#__PURE__*/React.createElement(Menu, {
74
- selectedKeys: selectedKeys,
74
+ selectedKeys: value,
75
75
  ref: menuRef,
76
76
  className: clsx(styled.menu.className, classNames[ClockClassToken.Column]),
77
77
  style: styled.menu.style,
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { CollapseProps } from "./types";
2
+ import type { CollapseProps } from "musae/types/collapse";
3
3
  declare const Collapse: ({ items, className, defaultActiveKey, activeKey, onChange, style, accordion, }: CollapseProps) => React.JSX.Element | null;
4
4
  export default Collapse;
@@ -1,4 +1,4 @@
1
- import type { ContextValue } from "./types";
1
+ import type { ContextValue } from "musae/types/collapse";
2
2
  /**
3
3
  * @description
4
4
  * `Collapse` Context
@@ -1,5 +1,5 @@
1
1
  import { type Key } from "react";
2
- import type { Value } from "./types";
2
+ import type { Value } from "musae/types/collapse";
3
3
  /**
4
4
  * @description
5
5
  * `Collapse` active key hook
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { CollapseItemProps } from "./types";
2
+ import type { CollapseItemProps } from "musae/types/collapse";
3
3
  declare const CollapseItem: ({ children, label, value }: CollapseItemProps) => React.JSX.Element;
4
4
  export default CollapseItem;
@@ -1,3 +1,3 @@
1
- import type { ContextValue } from "./types";
1
+ import type { ContextValue } from "musae/types/config";
2
2
  declare const Context: import("react").Context<ContextValue>;
3
3
  export default Context;
@@ -2,4 +2,4 @@
2
2
  * @description
3
3
  * configuration
4
4
  */
5
- export declare const useConfiguration: () => import("./types").ContextValue;
5
+ export declare const useConfiguration: () => import("../../types/config").ContextValue;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { ConfigProps } from "./types";
2
+ import type { ConfigProps } from "musae/types/config";
3
3
  declare const ConfigProvider: ({ children, prefix, locale: _locale }: ConfigProps) => React.JSX.Element;
4
4
  export default ConfigProvider;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { CountableProps } from "./types";
3
- declare const Countdown: ({ count, children, interval: _interval, disabled, variant, color, shape, size, ripple, className, style, }: CountableProps) => React.JSX.Element;
2
+ import type { CountdownProps } from "musae/types/countdown";
3
+ declare const Countdown: ({ count, children, interval: _interval, disabled, variant, color, shape, size, ripple, className, style, }: CountdownProps) => React.JSX.Element;
4
4
  export default Countdown;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { DatePickerProps } from "./types";
2
+ import type { DatePickerProps } from "musae/types/date-picker";
3
3
  declare const DatePicker: (props: DatePickerProps) => React.JSX.Element;
4
4
  export default DatePicker;
@@ -1,4 +1,4 @@
1
- import type { DatePickerProps } from "./types";
1
+ import type { DatePickerProps } from "musae/types/date-picker";
2
2
  import { type RefObject } from "react";
3
3
  import type { PickerRef } from "musae/types/picker";
4
4
  /**
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { DateRangePickerProps } from "./types";
2
+ import type { DateRangePickerProps } from "musae/types/date-range-picker";
3
3
  declare const DateRangePicker: (props: DateRangePickerProps) => React.JSX.Element;
4
4
  export default DateRangePicker;
@@ -1,4 +1,4 @@
1
- import type { DateRangePickerProps } from "./types";
1
+ import type { DateRangePickerProps } from "musae/types/date-range-picker";
2
2
  import { type RefObject } from "react";
3
3
  import { Dayjs } from "dayjs";
4
4
  import type { PickerRef } from "musae/types/picker";
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { DialogProps } from "./types";
2
+ import type { DialogProps } from "musae/types/dialog";
3
3
  declare const Dialog: ({ open, closable, ...props }: DialogProps) => React.JSX.Element;
4
4
  export default Dialog;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { PopupProps } from "./types";
2
+ import type { PopupProps } from "musae/types/dialog";
3
3
  /**
4
4
  * @description
5
5
  * footer
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { PopupProps } from "./types";
2
+ import type { PopupProps } from "musae/types/dialog";
3
3
  declare const Popup: ({ onClose, open, closable, onClosed, className, ...props }: PopupProps) => React.JSX.Element;
4
4
  export default Popup;
@@ -1,4 +1,4 @@
1
- import { type DividerProps } from "./types";
1
+ import type { DividerProps } from "musae/types/divider";
2
2
  import React from "react";
3
3
  declare const Divider: ({ align, children, orientation, className, style, margin, }: DividerProps) => React.JSX.Element;
4
4
  export default Divider;
@@ -1,4 +1,4 @@
1
- import { Align } from "./types";
1
+ import type { Align } from "musae/types/divider";
2
2
  interface UseOffsetProps {
3
3
  align: Align;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { DrawerProps } from "./types";
2
+ import type { DrawerProps } from "musae/types/drawer";
3
3
  declare const Drawer: ({ open, size, closable, placement, ...props }: DrawerProps) => React.JSX.Element;
4
4
  export default Drawer;
@@ -1,2 +1,2 @@
1
- import type { Placement } from "./types";
1
+ import type { Placement } from "musae/types/drawer";
2
2
  export declare const PLACEMENTS: Record<Placement, [hidden: string, appeared: string]>;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { PopupProps } from "./types";
2
+ import type { PopupProps } from "musae/types/drawer";
3
3
  declare const Popup: ({ open, onClose, placement, closable, onClosed, size, className, ...props }: PopupProps) => React.JSX.Element;
4
4
  export default Popup;