musae 0.5.6 → 0.5.8

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 (316) hide show
  1. package/dist/components/avatar/avatar.cjs +17 -17
  2. package/dist/components/avatar/avatar.mjs +17 -17
  3. package/dist/components/badge/badge.cjs +17 -17
  4. package/dist/components/badge/badge.mjs +16 -16
  5. package/dist/components/badge/context.cjs +10 -0
  6. package/dist/components/badge/context.d.ts +8 -0
  7. package/dist/components/badge/context.mjs +10 -0
  8. package/dist/components/bench/bench.cjs +15 -15
  9. package/dist/components/bench/bench.mjs +15 -15
  10. package/dist/components/breadcrumb/breadcrumb.cjs +16 -12
  11. package/dist/components/breadcrumb/breadcrumb.mjs +15 -11
  12. package/dist/components/breadcrumb/context.cjs +17 -0
  13. package/dist/components/breadcrumb/context.d.ts +16 -0
  14. package/dist/components/breadcrumb/context.mjs +16 -0
  15. package/dist/components/breadcrumb/item.cjs +16 -16
  16. package/dist/components/breadcrumb/item.mjs +16 -16
  17. package/dist/components/button/button.cjs +33 -31
  18. package/dist/components/button/button.d.ts +4 -0
  19. package/dist/components/button/button.mjs +33 -31
  20. package/dist/components/calendar/calendar.cjs +5 -5
  21. package/dist/components/calendar/calendar.mjs +5 -5
  22. package/dist/components/calendar/contribution.cjs +16 -17
  23. package/dist/components/calendar/contribution.mjs +16 -17
  24. package/dist/components/calendar/hooks.cjs +20 -20
  25. package/dist/components/calendar/hooks.mjs +20 -20
  26. package/dist/components/cascader/cascader.cjs +3 -3
  27. package/dist/components/cascader/cascader.mjs +3 -3
  28. package/dist/components/cascader/hooks.cjs +4 -4
  29. package/dist/components/cascader/hooks.mjs +4 -4
  30. package/dist/components/chat/chat.cjs +109 -0
  31. package/dist/components/chat/chat.d.ts +4 -0
  32. package/dist/components/chat/chat.mjs +107 -0
  33. package/dist/components/chat/context.cjs +20 -0
  34. package/dist/components/chat/context.d.ts +16 -0
  35. package/dist/components/chat/context.mjs +19 -0
  36. package/dist/components/chat/index.d.ts +2 -0
  37. package/dist/components/chat/item.cjs +148 -0
  38. package/dist/components/chat/item.d.ts +4 -0
  39. package/dist/components/chat/item.mjs +146 -0
  40. package/dist/components/checkbox/checkbox.cjs +1 -1
  41. package/dist/components/checkbox/checkbox.mjs +1 -1
  42. package/dist/components/checkbox/styles.cjs +25 -25
  43. package/dist/components/checkbox/styles.mjs +25 -25
  44. package/dist/components/clock/clock.cjs +11 -7
  45. package/dist/components/clock/clock.mjs +11 -7
  46. package/dist/components/clock/column.cjs +11 -11
  47. package/dist/components/clock/column.mjs +12 -12
  48. package/dist/components/clock/context.cjs +16 -0
  49. package/dist/components/clock/context.d.ts +14 -0
  50. package/dist/components/clock/context.mjs +15 -0
  51. package/dist/components/collapse/collapse.cjs +5 -5
  52. package/dist/components/collapse/collapse.mjs +5 -5
  53. package/dist/components/collapse/item.cjs +11 -11
  54. package/dist/components/collapse/item.mjs +11 -11
  55. package/dist/components/countdown/context.cjs +9 -0
  56. package/dist/components/countdown/context.d.ts +7 -0
  57. package/dist/components/countdown/context.mjs +9 -0
  58. package/dist/components/countdown/countdown.cjs +15 -16
  59. package/dist/components/countdown/countdown.mjs +14 -15
  60. package/dist/components/date-picker/context.cjs +10 -0
  61. package/dist/components/date-picker/context.d.ts +8 -0
  62. package/dist/components/date-picker/context.mjs +10 -0
  63. package/dist/components/date-picker/date-picker.cjs +8 -8
  64. package/dist/components/date-picker/date-picker.mjs +7 -7
  65. package/dist/components/date-picker/hooks.cjs +1 -1
  66. package/dist/components/date-picker/hooks.mjs +1 -1
  67. package/dist/components/date-range-picker/context.cjs +11 -0
  68. package/dist/components/date-range-picker/context.d.ts +9 -0
  69. package/dist/components/date-range-picker/context.mjs +11 -0
  70. package/dist/components/date-range-picker/date-range-picker.cjs +9 -9
  71. package/dist/components/date-range-picker/date-range-picker.mjs +9 -9
  72. package/dist/components/dialog/popup.cjs +15 -15
  73. package/dist/components/dialog/popup.mjs +15 -15
  74. package/dist/components/divider/divider.cjs +40 -40
  75. package/dist/components/divider/divider.mjs +40 -40
  76. package/dist/components/drawer/popup.cjs +29 -29
  77. package/dist/components/drawer/popup.mjs +29 -29
  78. package/dist/components/empty/empty.cjs +3 -3
  79. package/dist/components/empty/empty.mjs +3 -3
  80. package/dist/components/fab/fab.cjs +34 -24
  81. package/dist/components/fab/fab.d.ts +6 -2
  82. package/dist/components/fab/fab.mjs +36 -26
  83. package/dist/components/form/field/error.cjs +4 -4
  84. package/dist/components/form/field/error.mjs +4 -4
  85. package/dist/components/form/field/layout.cjs +7 -7
  86. package/dist/components/form/field/layout.mjs +7 -7
  87. package/dist/components/form/field/support.cjs +4 -4
  88. package/dist/components/form/field/support.mjs +4 -4
  89. package/dist/components/grid/col.cjs +3 -3
  90. package/dist/components/grid/col.mjs +3 -3
  91. package/dist/components/grid/row.cjs +9 -9
  92. package/dist/components/grid/row.mjs +9 -9
  93. package/dist/components/highlight/highlight.cjs +3 -3
  94. package/dist/components/highlight/highlight.mjs +3 -3
  95. package/dist/components/i18n-button/context.cjs +9 -0
  96. package/dist/components/i18n-button/context.d.ts +7 -0
  97. package/dist/components/i18n-button/context.mjs +9 -0
  98. package/dist/components/i18n-button/i18n-button.cjs +5 -5
  99. package/dist/components/i18n-button/i18n-button.mjs +4 -4
  100. package/dist/components/icon/icon.cjs +3 -3
  101. package/dist/components/icon/icon.mjs +3 -3
  102. package/dist/components/icon/icons/action/index.cjs +2 -0
  103. package/dist/components/icon/icons/action/index.d.ts +2 -1
  104. package/dist/components/icon/icons/action/index.mjs +1 -0
  105. package/dist/components/icon/icons/action/rocket-launch.cjs +20 -0
  106. package/dist/components/icon/icons/action/rocket-launch.d.ts +3 -0
  107. package/dist/components/icon/icons/action/rocket-launch.mjs +18 -0
  108. package/dist/components/icon/icons/home/index.d.ts +2 -1
  109. package/dist/components/icon/icons/home/smart-toy.cjs +20 -0
  110. package/dist/components/icon/icons/home/smart-toy.d.ts +3 -0
  111. package/dist/components/icon/icons/home/smart-toy.mjs +18 -0
  112. package/dist/components/icon/icons/index.cjs +4 -0
  113. package/dist/components/icon/icons/index.mjs +2 -0
  114. package/dist/components/icon-button/icon-button.cjs +7 -5
  115. package/dist/components/icon-button/icon-button.mjs +7 -5
  116. package/dist/components/image/image.cjs +5 -5
  117. package/dist/components/image/image.mjs +5 -5
  118. package/dist/components/image/preview/group.cjs +1 -1
  119. package/dist/components/image/preview/group.mjs +1 -1
  120. package/dist/components/image/preview/operations.cjs +14 -14
  121. package/dist/components/image/preview/operations.mjs +14 -14
  122. package/dist/components/image/preview/preview.cjs +3 -3
  123. package/dist/components/image/preview/preview.mjs +3 -3
  124. package/dist/components/input/input.cjs +27 -27
  125. package/dist/components/input/input.mjs +27 -27
  126. package/dist/components/layout/header.cjs +7 -7
  127. package/dist/components/layout/header.mjs +7 -7
  128. package/dist/components/layout/layout.cjs +6 -6
  129. package/dist/components/layout/layout.mjs +6 -6
  130. package/dist/components/loading/loading.cjs +14 -14
  131. package/dist/components/loading/loading.mjs +14 -14
  132. package/dist/components/menu/context.cjs +16 -4
  133. package/dist/components/menu/context.d.ts +15 -2
  134. package/dist/components/menu/context.mjs +15 -2
  135. package/dist/components/menu/group.cjs +13 -16
  136. package/dist/components/menu/group.mjs +12 -15
  137. package/dist/components/menu/hooks.cjs +11 -9
  138. package/dist/components/menu/hooks.d.ts +23 -4
  139. package/dist/components/menu/hooks.mjs +11 -9
  140. package/dist/components/menu/item.cjs +44 -46
  141. package/dist/components/menu/item.mjs +43 -45
  142. package/dist/components/menu/menu.cjs +7 -8
  143. package/dist/components/menu/menu.mjs +6 -7
  144. package/dist/components/notification/context.cjs +12 -0
  145. package/dist/components/notification/context.d.ts +10 -0
  146. package/dist/components/notification/context.mjs +12 -0
  147. package/dist/components/notification/holder.cjs +4 -4
  148. package/dist/components/notification/holder.mjs +4 -4
  149. package/dist/components/notification/notification.cjs +25 -25
  150. package/dist/components/notification/notification.mjs +25 -25
  151. package/dist/components/number-input/number-input.cjs +1 -1
  152. package/dist/components/number-input/number-input.mjs +1 -1
  153. package/dist/components/otp-input/otp-input.cjs +2 -2
  154. package/dist/components/otp-input/otp-input.mjs +2 -2
  155. package/dist/components/pagination/pagination.cjs +1 -1
  156. package/dist/components/pagination/pagination.mjs +1 -1
  157. package/dist/components/password-input/password-input.cjs +5 -5
  158. package/dist/components/password-input/password-input.mjs +5 -5
  159. package/dist/components/picker/picker.cjs +3 -3
  160. package/dist/components/picker/picker.mjs +3 -3
  161. package/dist/components/popconfirm/popconfirm.cjs +5 -5
  162. package/dist/components/popconfirm/popconfirm.mjs +5 -5
  163. package/dist/components/popover/context.cjs +11 -0
  164. package/dist/components/popover/context.d.ts +9 -0
  165. package/dist/components/popover/context.mjs +11 -0
  166. package/dist/components/popover/popover.cjs +17 -19
  167. package/dist/components/popover/popover.mjs +17 -19
  168. package/dist/components/popper/dropdown.cjs +12 -12
  169. package/dist/components/popper/dropdown.mjs +12 -12
  170. package/dist/components/popper/hooks.cjs +2 -2
  171. package/dist/components/popper/hooks.mjs +2 -2
  172. package/dist/components/portal/portal.cjs +2 -2
  173. package/dist/components/portal/portal.mjs +2 -2
  174. package/dist/components/progress/circular.cjs +12 -12
  175. package/dist/components/progress/circular.mjs +12 -12
  176. package/dist/components/progress/linear.cjs +12 -12
  177. package/dist/components/progress/linear.mjs +12 -12
  178. package/dist/components/quote/quote.cjs +1 -1
  179. package/dist/components/quote/quote.mjs +1 -1
  180. package/dist/components/quote/styles.cjs +6 -6
  181. package/dist/components/quote/styles.d.ts +2 -2
  182. package/dist/components/quote/styles.mjs +6 -6
  183. package/dist/components/radio/radio.cjs +22 -22
  184. package/dist/components/radio/radio.mjs +22 -22
  185. package/dist/components/rate/hooks.cjs +2 -2
  186. package/dist/components/rate/hooks.mjs +2 -2
  187. package/dist/components/rate/rate.cjs +3 -3
  188. package/dist/components/rate/rate.mjs +3 -3
  189. package/dist/components/rate/star.cjs +9 -9
  190. package/dist/components/rate/star.mjs +9 -9
  191. package/dist/components/rich-text-editor/dropdown.cjs +3 -3
  192. package/dist/components/rich-text-editor/dropdown.mjs +3 -3
  193. package/dist/components/rich-text-editor/index.cjs +1 -1
  194. package/dist/components/rich-text-editor/index.mjs +1 -1
  195. package/dist/components/rich-text-editor/plugins/floating-link-editor/index.cjs +1 -1
  196. package/dist/components/rich-text-editor/plugins/floating-link-editor/index.mjs +1 -1
  197. package/dist/components/rich-text-editor/plugins/toolbar/index.cjs +7 -7
  198. package/dist/components/rich-text-editor/plugins/toolbar/index.mjs +7 -7
  199. package/dist/components/rich-text-editor/rich-text-editor.cjs +130 -43
  200. package/dist/components/rich-text-editor/rich-text-editor.mjs +130 -43
  201. package/dist/components/ripple/ripple.cjs +10 -10
  202. package/dist/components/ripple/ripple.mjs +10 -10
  203. package/dist/components/select/select.cjs +2 -2
  204. package/dist/components/select/select.mjs +2 -2
  205. package/dist/components/select/selector.cjs +3 -3
  206. package/dist/components/select/selector.mjs +3 -3
  207. package/dist/components/skeleton/skeleton.cjs +5 -5
  208. package/dist/components/skeleton/skeleton.mjs +5 -5
  209. package/dist/components/space/space.cjs +5 -5
  210. package/dist/components/space/space.mjs +5 -5
  211. package/dist/components/steps/item.cjs +34 -34
  212. package/dist/components/steps/item.mjs +34 -34
  213. package/dist/components/steps/steps.cjs +2 -2
  214. package/dist/components/steps/steps.mjs +2 -2
  215. package/dist/components/switch/switch.cjs +49 -49
  216. package/dist/components/switch/switch.mjs +49 -49
  217. package/dist/components/table/body.cjs +9 -9
  218. package/dist/components/table/body.mjs +9 -9
  219. package/dist/components/table/header/cell.cjs +7 -7
  220. package/dist/components/table/header/cell.mjs +7 -7
  221. package/dist/components/table/header/header.cjs +14 -14
  222. package/dist/components/table/header/header.mjs +14 -14
  223. package/dist/components/tabs/context.cjs +20 -4
  224. package/dist/components/tabs/context.d.ts +17 -2
  225. package/dist/components/tabs/context.mjs +19 -2
  226. package/dist/components/tabs/hooks.cjs +1 -1
  227. package/dist/components/tabs/hooks.d.ts +3 -1
  228. package/dist/components/tabs/hooks.mjs +1 -1
  229. package/dist/components/tabs/navigation.cjs +20 -23
  230. package/dist/components/tabs/navigation.mjs +20 -23
  231. package/dist/components/tabs/panels.cjs +7 -9
  232. package/dist/components/tabs/panels.mjs +6 -8
  233. package/dist/components/tabs/tab.cjs +10 -11
  234. package/dist/components/tabs/tab.mjs +11 -12
  235. package/dist/components/tabs/tabs.cjs +9 -9
  236. package/dist/components/tabs/tabs.mjs +8 -8
  237. package/dist/components/tag/tag.cjs +17 -17
  238. package/dist/components/tag/tag.mjs +17 -17
  239. package/dist/components/textarea/context.cjs +10 -0
  240. package/dist/components/textarea/context.d.ts +8 -0
  241. package/dist/components/textarea/context.mjs +10 -0
  242. package/dist/components/textarea/textarea.cjs +32 -15
  243. package/dist/components/textarea/textarea.d.ts +6 -2
  244. package/dist/components/textarea/textarea.mjs +32 -15
  245. package/dist/components/theme/hooks.cjs +2 -2
  246. package/dist/components/theme/hooks.mjs +2 -2
  247. package/dist/components/theme/theme.cjs +15 -15
  248. package/dist/components/theme/theme.mjs +15 -15
  249. package/dist/components/theme/tokens.stylex.cjs +44 -43
  250. package/dist/components/theme/tokens.stylex.d.ts +1 -0
  251. package/dist/components/theme/tokens.stylex.mjs +44 -43
  252. package/dist/components/time-picker/context.cjs +18 -0
  253. package/dist/components/time-picker/context.d.ts +18 -0
  254. package/dist/components/time-picker/context.mjs +17 -0
  255. package/dist/components/time-picker/panel.cjs +13 -13
  256. package/dist/components/time-picker/panel.mjs +14 -14
  257. package/dist/components/time-picker/time-picker.cjs +15 -11
  258. package/dist/components/time-picker/time-picker.mjs +13 -9
  259. package/dist/components/timeline/item.cjs +20 -20
  260. package/dist/components/timeline/item.mjs +20 -20
  261. package/dist/components/timeline/timeline.cjs +1 -1
  262. package/dist/components/timeline/timeline.mjs +1 -1
  263. package/dist/components/tour/spotlight.cjs +1 -1
  264. package/dist/components/tour/spotlight.mjs +1 -1
  265. package/dist/components/tour/tour.cjs +13 -13
  266. package/dist/components/tour/tour.mjs +13 -13
  267. package/dist/components/transfer/item.cjs +1 -1
  268. package/dist/components/transfer/item.mjs +1 -1
  269. package/dist/components/transfer/list.cjs +13 -13
  270. package/dist/components/transfer/list.mjs +13 -13
  271. package/dist/components/transfer/transfer.cjs +2 -2
  272. package/dist/components/transfer/transfer.mjs +2 -2
  273. package/dist/components/tree/list.cjs +3 -3
  274. package/dist/components/tree/list.mjs +3 -3
  275. package/dist/components/tree/node.cjs +13 -13
  276. package/dist/components/tree/node.mjs +13 -13
  277. package/dist/components/upload/upload.cjs +1 -1
  278. package/dist/components/upload/upload.mjs +1 -1
  279. package/dist/components/upload/uploaded-item.cjs +10 -10
  280. package/dist/components/upload/uploaded-item.mjs +10 -10
  281. package/dist/components/upload/uploaded-list.cjs +3 -3
  282. package/dist/components/upload/uploaded-list.mjs +3 -3
  283. package/dist/components/visually-hidden/visually-hidden.cjs +1 -1
  284. package/dist/components/visually-hidden/visually-hidden.mjs +1 -1
  285. package/dist/components/waterfall/context.cjs +10 -0
  286. package/dist/components/waterfall/context.d.ts +8 -0
  287. package/dist/components/waterfall/context.mjs +10 -0
  288. package/dist/components/waterfall/sequential.cjs +3 -3
  289. package/dist/components/waterfall/sequential.mjs +3 -3
  290. package/dist/components/waterfall/waterfall.cjs +19 -19
  291. package/dist/components/waterfall/waterfall.mjs +18 -18
  292. package/dist/components/watermark/hooks.cjs +3 -3
  293. package/dist/components/watermark/hooks.mjs +3 -3
  294. package/dist/components/watermark/watermark.cjs +1 -1
  295. package/dist/components/watermark/watermark.mjs +1 -1
  296. package/dist/hooks/use-class-names.d.ts +0 -68
  297. package/dist/hooks/use-closable.cjs +5 -5
  298. package/dist/hooks/use-closable.mjs +5 -5
  299. package/dist/hooks/use-gutters.cjs +1 -1
  300. package/dist/hooks/use-gutters.mjs +1 -1
  301. package/dist/index.cjs +2 -0
  302. package/dist/index.d.ts +1 -0
  303. package/dist/index.mjs +1 -0
  304. package/dist/node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs +289 -0
  305. package/dist/node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs +278 -0
  306. package/dist/styles.css +721 -639
  307. package/dist/types/chat.d.ts +58 -0
  308. package/dist/types/fab.d.ts +8 -2
  309. package/dist/types/textarea.d.ts +9 -2
  310. package/dist/utils/class-name.cjs +1 -107
  311. package/dist/utils/class-name.d.ts +0 -215
  312. package/dist/utils/class-name.mjs +2 -108
  313. package/dist/utils/styles.d.ts +1 -1
  314. package/package.json +22 -22
  315. package/dist/node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs +0 -306
  316. package/dist/node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs +0 -295
@@ -3,7 +3,7 @@ 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.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
7
7
  var context = require('./context.cjs');
8
8
  var hooks = require('../theme/hooks.cjs');
9
9
  var useClassNames = require('../../hooks/use-class-names.cjs');
@@ -17,7 +17,7 @@ var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrig
17
17
  var styles = {
18
18
  avatar: function avatar(props) {
19
19
  return [{
20
- borderWidth: "musaex-bupo1m",
20
+ borderWidth: "musaex-1iyq3db",
21
21
  borderInlineWidth: null,
22
22
  borderInlineStartWidth: null,
23
23
  borderLeftWidth: null,
@@ -46,15 +46,15 @@ var styles = {
46
46
  borderBottomColor: null,
47
47
  boxSizing: "musaex-9f619",
48
48
  display: "musaex-3nfvp2",
49
- backgroundColor: "musaex-q1mx2j",
50
- color: "musaex-19dipnz",
49
+ backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
50
+ color: props.color == null ? null : "musaex-fx01vb",
51
51
  alignItems: "musaex-6s0dn4",
52
52
  justifyContent: "musaex-l56j7k",
53
53
  userSelect: "musaex-87ps6o",
54
54
  $$css: true
55
55
  }, {
56
- "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : "initial",
57
- "--color": props.color != null ? props.color : "initial"
56
+ "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
57
+ "--color": props.color != null ? props.color : undefined
58
58
  }];
59
59
  },
60
60
  image: {
@@ -73,10 +73,10 @@ var styles = {
73
73
  },
74
74
  overlapping: function overlapping(props) {
75
75
  return [{
76
- ":not(:first-child)_marginInlineStart": "musaex-1bx1b4w",
76
+ ":not(:first-child)_marginInlineStart": "musaex-k72gy",
77
77
  ":not(:first-child)_marginLeft": null,
78
78
  ":not(:first-child)_marginRight": null,
79
- borderColor: "musaex-eqt46j",
79
+ borderColor: props.outlineColor == null ? null : "musaex-1u3gezn",
80
80
  borderInlineColor: null,
81
81
  borderInlineStartColor: null,
82
82
  borderLeftColor: null,
@@ -87,11 +87,11 @@ var styles = {
87
87
  borderBottomColor: null,
88
88
  $$css: true
89
89
  }, {
90
- "--borderColor": props.outlineColor != null ? props.outlineColor : "initial"
90
+ "--borderColor": props.outlineColor != null ? props.outlineColor : undefined
91
91
  }];
92
92
  },
93
93
  circular: {
94
- borderRadius: "musaex-z7qqyb",
94
+ borderRadius: "musaex-shxsqp",
95
95
  borderStartStartRadius: null,
96
96
  borderStartEndRadius: null,
97
97
  borderEndStartRadius: null,
@@ -103,7 +103,7 @@ var styles = {
103
103
  $$css: true
104
104
  },
105
105
  squared: {
106
- borderRadius: "musaex-ok3b7d",
106
+ borderRadius: "musaex-10lp2fo",
107
107
  borderStartStartRadius: null,
108
108
  borderStartEndRadius: null,
109
109
  borderEndStartRadius: null,
@@ -115,18 +115,18 @@ var styles = {
115
115
  $$css: true
116
116
  },
117
117
  small: {
118
- width: "musaex-6hukdw",
119
- height: "musaex-q5eura",
118
+ width: "musaex-t4hhhd",
119
+ height: "musaex-pvxov6",
120
120
  $$css: true
121
121
  },
122
122
  medium: {
123
- width: "musaex-zx3e9c",
124
- height: "musaex-1dql3xx",
123
+ width: "musaex-1po6ib",
124
+ height: "musaex-1si1pn3",
125
125
  $$css: true
126
126
  },
127
127
  large: {
128
- width: "musaex-1opwmbq",
129
- height: "musaex-19ak84k",
128
+ width: "musaex-19dbm5w",
129
+ height: "musaex-12ez60q",
130
130
  $$css: true
131
131
  }
132
132
  };
@@ -1,7 +1,7 @@
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.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
5
  import { Context } from './context.mjs';
6
6
  import { useTheme } from '../theme/hooks.mjs';
7
7
  import { useClassNames } from '../../hooks/use-class-names.mjs';
@@ -15,7 +15,7 @@ var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrig
15
15
  var styles = {
16
16
  avatar: function avatar(props) {
17
17
  return [{
18
- borderWidth: "musaex-bupo1m",
18
+ borderWidth: "musaex-1iyq3db",
19
19
  borderInlineWidth: null,
20
20
  borderInlineStartWidth: null,
21
21
  borderLeftWidth: null,
@@ -44,15 +44,15 @@ var styles = {
44
44
  borderBottomColor: null,
45
45
  boxSizing: "musaex-9f619",
46
46
  display: "musaex-3nfvp2",
47
- backgroundColor: "musaex-q1mx2j",
48
- color: "musaex-19dipnz",
47
+ backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
48
+ color: props.color == null ? null : "musaex-fx01vb",
49
49
  alignItems: "musaex-6s0dn4",
50
50
  justifyContent: "musaex-l56j7k",
51
51
  userSelect: "musaex-87ps6o",
52
52
  $$css: true
53
53
  }, {
54
- "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : "initial",
55
- "--color": props.color != null ? props.color : "initial"
54
+ "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
55
+ "--color": props.color != null ? props.color : undefined
56
56
  }];
57
57
  },
58
58
  image: {
@@ -71,10 +71,10 @@ var styles = {
71
71
  },
72
72
  overlapping: function overlapping(props) {
73
73
  return [{
74
- ":not(:first-child)_marginInlineStart": "musaex-1bx1b4w",
74
+ ":not(:first-child)_marginInlineStart": "musaex-k72gy",
75
75
  ":not(:first-child)_marginLeft": null,
76
76
  ":not(:first-child)_marginRight": null,
77
- borderColor: "musaex-eqt46j",
77
+ borderColor: props.outlineColor == null ? null : "musaex-1u3gezn",
78
78
  borderInlineColor: null,
79
79
  borderInlineStartColor: null,
80
80
  borderLeftColor: null,
@@ -85,11 +85,11 @@ var styles = {
85
85
  borderBottomColor: null,
86
86
  $$css: true
87
87
  }, {
88
- "--borderColor": props.outlineColor != null ? props.outlineColor : "initial"
88
+ "--borderColor": props.outlineColor != null ? props.outlineColor : undefined
89
89
  }];
90
90
  },
91
91
  circular: {
92
- borderRadius: "musaex-z7qqyb",
92
+ borderRadius: "musaex-shxsqp",
93
93
  borderStartStartRadius: null,
94
94
  borderStartEndRadius: null,
95
95
  borderEndStartRadius: null,
@@ -101,7 +101,7 @@ var styles = {
101
101
  $$css: true
102
102
  },
103
103
  squared: {
104
- borderRadius: "musaex-ok3b7d",
104
+ borderRadius: "musaex-10lp2fo",
105
105
  borderStartStartRadius: null,
106
106
  borderStartEndRadius: null,
107
107
  borderEndStartRadius: null,
@@ -113,18 +113,18 @@ var styles = {
113
113
  $$css: true
114
114
  },
115
115
  small: {
116
- width: "musaex-6hukdw",
117
- height: "musaex-q5eura",
116
+ width: "musaex-t4hhhd",
117
+ height: "musaex-pvxov6",
118
118
  $$css: true
119
119
  },
120
120
  medium: {
121
- width: "musaex-zx3e9c",
122
- height: "musaex-1dql3xx",
121
+ width: "musaex-1po6ib",
122
+ height: "musaex-1si1pn3",
123
123
  $$css: true
124
124
  },
125
125
  large: {
126
- width: "musaex-1opwmbq",
127
- height: "musaex-19ak84k",
126
+ width: "musaex-19dbm5w",
127
+ height: "musaex-12ez60q",
128
128
  $$css: true
129
129
  }
130
130
  };
@@ -2,14 +2,14 @@ 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 useClassNames = require('../../hooks/use-class-names.cjs');
6
- var className$1 = require('../../utils/class-name.cjs');
7
- var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
5
+ var useClassNames_component = require('../../hooks/use-class-names.component.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
8
7
  var theme = require('../theme/theme.cjs');
9
8
  var tokens_stylex = require('../theme/tokens.stylex.cjs');
10
9
  var hooks = require('../theme/hooks.cjs');
11
10
  var relax = require('@aiszlab/relax');
12
11
  var className = require('@aiszlab/relax/class-name');
12
+ var context = require('./context.cjs');
13
13
 
14
14
  var styles = {
15
15
  badge: {
@@ -23,7 +23,7 @@ var styles = {
23
23
  "default": function _default(props) {
24
24
  return [{
25
25
  position: "musaex-10l6tqk",
26
- borderRadius: "musaex-z7qqyb",
26
+ borderRadius: "musaex-shxsqp",
27
27
  borderStartStartRadius: null,
28
28
  borderStartEndRadius: null,
29
29
  borderEndStartRadius: null,
@@ -32,22 +32,22 @@ var styles = {
32
32
  borderTopRightRadius: null,
33
33
  borderBottomLeftRadius: null,
34
34
  borderBottomRightRadius: null,
35
- minWidth: "musaex-wgl7p8",
35
+ minWidth: "musaex-17fkqza",
36
36
  textAlign: "musaex-2b8uid",
37
- boxShadow: "musaex-igitpm",
38
- backgroundColor: "musaex-q1mx2j",
39
- color: "musaex-19dipnz",
37
+ boxShadow: "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) == null ? null : "musaex-10ya7sz",
38
+ backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
39
+ color: props.color == null ? null : "musaex-fx01vb",
40
40
  $$css: true
41
41
  }, {
42
- "--boxShadow": "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) : "initial",
43
- "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : "initial",
44
- "--color": props.color != null ? props.color : "initial"
42
+ "--boxShadow": "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) : undefined,
43
+ "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
44
+ "--color": props.color != null ? props.color : undefined
45
45
  }];
46
46
  },
47
47
  dot: {
48
48
  minWidth: null,
49
- width: "musaex-1ankuk0",
50
- height: "musaex-drj9st",
49
+ width: "musaex-165vr4g",
50
+ height: "musaex-rywi9w",
51
51
  $$css: true
52
52
  },
53
53
  invisible: {
@@ -89,7 +89,7 @@ var styles = {
89
89
  }
90
90
  };
91
91
  var Badge = function Badge(_ref) {
92
- var className$2 = _ref.className,
92
+ var className$1 = _ref.className,
93
93
  style = _ref.style,
94
94
  children = _ref.children,
95
95
  content = _ref.content,
@@ -97,7 +97,7 @@ var Badge = function Badge(_ref) {
97
97
  invisible = _ref$invisible === void 0 ? false : _ref$invisible,
98
98
  _ref$placement = _ref.placement,
99
99
  placement = _ref$placement === void 0 ? "top-right" : _ref$placement;
100
- var classNames = useClassNames.useClassNames("badge");
100
+ var classNames = useClassNames_component.useClassNames(context.CLASS_NAMES);
101
101
  var theme$1 = hooks.useTheme();
102
102
  var isDot = relax.isVoid(content);
103
103
  var styled = {
@@ -108,10 +108,10 @@ var Badge = function Badge(_ref) {
108
108
  }), isDot && styles.tail.dot, theme.typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
109
109
  };
110
110
  return /*#__PURE__*/React.createElement("span", {
111
- className: className.stringify(classNames[className$1.BadgeClassToken.Badge], className$2, styled.badge.className),
111
+ className: className.stringify(classNames.badge, className$1, styled.badge.className),
112
112
  style: _objectSpread(_objectSpread({}, styled.badge.style), style)
113
113
  }, children, /*#__PURE__*/React.createElement("span", {
114
- className: className.stringify(classNames[className$1.BadgeClassToken.Tail], styled.tail.className),
114
+ className: className.stringify(classNames.tail, styled.tail.className),
115
115
  style: styled.tail.style
116
116
  }, content));
117
117
  };
@@ -1,13 +1,13 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import React from 'react';
3
- import { useClassNames } from '../../hooks/use-class-names.mjs';
4
- import { BadgeClassToken } from '../../utils/class-name.mjs';
5
- import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
3
+ import { useClassNames } from '../../hooks/use-class-names.component.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
5
  import { typography } from '../theme/theme.mjs';
7
6
  import { sizes } from '../theme/tokens.stylex.mjs';
8
7
  import { useTheme } from '../theme/hooks.mjs';
9
8
  import { isVoid } from '@aiszlab/relax';
10
9
  import { stringify } from '@aiszlab/relax/class-name';
10
+ import { CLASS_NAMES } from './context.mjs';
11
11
 
12
12
  var styles = {
13
13
  badge: {
@@ -21,7 +21,7 @@ var styles = {
21
21
  "default": function _default(props) {
22
22
  return [{
23
23
  position: "musaex-10l6tqk",
24
- borderRadius: "musaex-z7qqyb",
24
+ borderRadius: "musaex-shxsqp",
25
25
  borderStartStartRadius: null,
26
26
  borderStartEndRadius: null,
27
27
  borderEndStartRadius: null,
@@ -30,22 +30,22 @@ var styles = {
30
30
  borderTopRightRadius: null,
31
31
  borderBottomLeftRadius: null,
32
32
  borderBottomRightRadius: null,
33
- minWidth: "musaex-wgl7p8",
33
+ minWidth: "musaex-17fkqza",
34
34
  textAlign: "musaex-2b8uid",
35
- boxShadow: "musaex-igitpm",
36
- backgroundColor: "musaex-q1mx2j",
37
- color: "musaex-19dipnz",
35
+ boxShadow: "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) == null ? null : "musaex-10ya7sz",
36
+ backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
37
+ color: props.color == null ? null : "musaex-fx01vb",
38
38
  $$css: true
39
39
  }, {
40
- "--boxShadow": "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) : "initial",
41
- "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : "initial",
42
- "--color": props.color != null ? props.color : "initial"
40
+ "--boxShadow": "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) : undefined,
41
+ "--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
42
+ "--color": props.color != null ? props.color : undefined
43
43
  }];
44
44
  },
45
45
  dot: {
46
46
  minWidth: null,
47
- width: "musaex-1ankuk0",
48
- height: "musaex-drj9st",
47
+ width: "musaex-165vr4g",
48
+ height: "musaex-rywi9w",
49
49
  $$css: true
50
50
  },
51
51
  invisible: {
@@ -95,7 +95,7 @@ var Badge = function Badge(_ref) {
95
95
  invisible = _ref$invisible === void 0 ? false : _ref$invisible,
96
96
  _ref$placement = _ref.placement,
97
97
  placement = _ref$placement === void 0 ? "top-right" : _ref$placement;
98
- var classNames = useClassNames("badge");
98
+ var classNames = useClassNames(CLASS_NAMES);
99
99
  var theme = useTheme();
100
100
  var isDot = isVoid(content);
101
101
  var styled = {
@@ -106,10 +106,10 @@ var Badge = function Badge(_ref) {
106
106
  }), isDot && styles.tail.dot, typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
107
107
  };
108
108
  return /*#__PURE__*/React.createElement("span", {
109
- className: stringify(classNames[BadgeClassToken.Badge], className, styled.badge.className),
109
+ className: stringify(classNames.badge, className, styled.badge.className),
110
110
  style: _objectSpread(_objectSpread({}, styled.badge.style), style)
111
111
  }, children, /*#__PURE__*/React.createElement("span", {
112
- className: stringify(classNames[BadgeClassToken.Tail], styled.tail.className),
112
+ className: stringify(classNames.tail, styled.tail.className),
113
113
  style: styled.tail.style
114
114
  }, content));
115
115
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @description
3
+ * class names
4
+ */
5
+ var CLASS_NAMES = {
6
+ badge: "badge",
7
+ tail: "badge__tail"
8
+ };
9
+
10
+ exports.CLASS_NAMES = CLASS_NAMES;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @description
3
+ * class names
4
+ */
5
+ export declare const CLASS_NAMES: {
6
+ badge: string;
7
+ tail: string;
8
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @description
3
+ * class names
4
+ */
5
+ var CLASS_NAMES = {
6
+ badge: "badge",
7
+ tail: "badge__tail"
8
+ };
9
+
10
+ export { CLASS_NAMES };
@@ -3,7 +3,7 @@ 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.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
6
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/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');
@@ -22,28 +22,28 @@ var styles = {
22
22
  },
23
23
  sider: function sider(props) {
24
24
  return [{
25
- borderRightWidth: "musaex-1xs0jsv",
25
+ borderRightWidth: "musaex-a640vs",
26
26
  borderInlineStartWidth: null,
27
27
  borderInlineEndWidth: null,
28
28
  borderRightStyle: "musaex-32b0ac",
29
29
  borderInlineStartStyle: null,
30
30
  borderInlineEndStyle: null,
31
- borderRightColor: "musaex-104k1kx",
31
+ borderRightColor: props.outlineColor == null ? null : "musaex-pm6wt3",
32
32
  borderInlineStartColor: null,
33
33
  borderInlineEndColor: null,
34
- paddingInline: "musaex-1dhq86w",
34
+ paddingInline: "musaex-81lxrv",
35
35
  paddingStart: null,
36
36
  paddingLeft: null,
37
37
  paddingEnd: null,
38
38
  paddingRight: null,
39
- paddingBottom: "musaex-z1jy5j",
39
+ paddingBottom: "musaex-1us5tpc",
40
40
  position: "musaex-7wzq59",
41
- height: "musaex-bmf846",
42
- top: "musaex-98oeat",
41
+ height: "musaex-1sn4ngq",
42
+ top: "musaex-1pvtwdj",
43
43
  overflowY: "musaex-10wlt62 musaex-r8ctv5",
44
44
  $$css: true
45
45
  }, {
46
- "--borderRightColor": props.outlineColor != null ? props.outlineColor : "initial"
46
+ "--borderRightColor": props.outlineColor != null ? props.outlineColor : undefined
47
47
  }];
48
48
  },
49
49
  main: {
@@ -53,25 +53,25 @@ var styles = {
53
53
  header: {
54
54
  "default": function _default(props) {
55
55
  return [{
56
- gap: "musaex-4ttznp",
56
+ gap: "musaex-1ixihd9",
57
57
  rowGap: null,
58
58
  columnGap: null,
59
- boxShadow: "musaex-igitpm",
59
+ boxShadow: tokens_stylex.elevations[props.elevation] == null ? null : "musaex-10ya7sz",
60
60
  $$css: true
61
61
  }, {
62
- "--boxShadow": tokens_stylex.elevations[props.elevation] != null ? tokens_stylex.elevations[props.elevation] : "initial"
62
+ "--boxShadow": tokens_stylex.elevations[props.elevation] != null ? tokens_stylex.elevations[props.elevation] : undefined
63
63
  }];
64
64
  },
65
65
  navigation: {
66
- marginLeft: "musaex-9x39mp",
66
+ marginLeft: "musaex-ceibj9",
67
+ marginRight: "musaex-ack27t",
67
68
  marginInlineStart: null,
68
69
  marginInlineEnd: null,
69
- marginRight: "musaex-ack27t",
70
- height: "musaex-1xj1dsn",
70
+ height: "musaex-qg7gut",
71
71
  $$css: true
72
72
  },
73
73
  divider: {
74
- height: "musaex-q5eura",
74
+ height: "musaex-pvxov6",
75
75
  $$css: true
76
76
  }
77
77
  }
@@ -1,7 +1,7 @@
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.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
4
+ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/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';
@@ -20,28 +20,28 @@ var styles = {
20
20
  },
21
21
  sider: function sider(props) {
22
22
  return [{
23
- borderRightWidth: "musaex-1xs0jsv",
23
+ borderRightWidth: "musaex-a640vs",
24
24
  borderInlineStartWidth: null,
25
25
  borderInlineEndWidth: null,
26
26
  borderRightStyle: "musaex-32b0ac",
27
27
  borderInlineStartStyle: null,
28
28
  borderInlineEndStyle: null,
29
- borderRightColor: "musaex-104k1kx",
29
+ borderRightColor: props.outlineColor == null ? null : "musaex-pm6wt3",
30
30
  borderInlineStartColor: null,
31
31
  borderInlineEndColor: null,
32
- paddingInline: "musaex-1dhq86w",
32
+ paddingInline: "musaex-81lxrv",
33
33
  paddingStart: null,
34
34
  paddingLeft: null,
35
35
  paddingEnd: null,
36
36
  paddingRight: null,
37
- paddingBottom: "musaex-z1jy5j",
37
+ paddingBottom: "musaex-1us5tpc",
38
38
  position: "musaex-7wzq59",
39
- height: "musaex-bmf846",
40
- top: "musaex-98oeat",
39
+ height: "musaex-1sn4ngq",
40
+ top: "musaex-1pvtwdj",
41
41
  overflowY: "musaex-10wlt62 musaex-r8ctv5",
42
42
  $$css: true
43
43
  }, {
44
- "--borderRightColor": props.outlineColor != null ? props.outlineColor : "initial"
44
+ "--borderRightColor": props.outlineColor != null ? props.outlineColor : undefined
45
45
  }];
46
46
  },
47
47
  main: {
@@ -51,25 +51,25 @@ var styles = {
51
51
  header: {
52
52
  "default": function _default(props) {
53
53
  return [{
54
- gap: "musaex-4ttznp",
54
+ gap: "musaex-1ixihd9",
55
55
  rowGap: null,
56
56
  columnGap: null,
57
- boxShadow: "musaex-igitpm",
57
+ boxShadow: elevations[props.elevation] == null ? null : "musaex-10ya7sz",
58
58
  $$css: true
59
59
  }, {
60
- "--boxShadow": elevations[props.elevation] != null ? elevations[props.elevation] : "initial"
60
+ "--boxShadow": elevations[props.elevation] != null ? elevations[props.elevation] : undefined
61
61
  }];
62
62
  },
63
63
  navigation: {
64
- marginLeft: "musaex-9x39mp",
64
+ marginLeft: "musaex-ceibj9",
65
+ marginRight: "musaex-ack27t",
65
66
  marginInlineStart: null,
66
67
  marginInlineEnd: null,
67
- marginRight: "musaex-ack27t",
68
- height: "musaex-1xj1dsn",
68
+ height: "musaex-qg7gut",
69
69
  $$css: true
70
70
  },
71
71
  divider: {
72
- height: "musaex-q5eura",
72
+ height: "musaex-pvxov6",
73
73
  $$css: true
74
74
  }
75
75
  }
@@ -2,34 +2,34 @@ 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.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
5
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/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 useClassNames = require('../../hooks/use-class-names.cjs');
9
- var className$1 = require('../../utils/class-name.cjs');
8
+ var useClassNames_component = require('../../hooks/use-class-names.component.cjs');
10
9
  var className = require('@aiszlab/relax/class-name');
11
10
  var item = require('./item.cjs');
11
+ var context = require('./context.cjs');
12
12
 
13
13
  var styles = {
14
14
  breadcrumb: function breadcrumb(props) {
15
15
  return [{
16
- color: "musaex-19dipnz",
16
+ color: props.color == null ? null : "musaex-fx01vb",
17
17
  $$css: true
18
18
  }, {
19
- "--color": props.color != null ? props.color : "initial"
19
+ "--color": props.color != null ? props.color : undefined
20
20
  }];
21
21
  }
22
22
  };
23
23
  var Breadcrumb = function Breadcrumb(_ref) {
24
24
  var _ref$items = _ref.items,
25
25
  items = _ref$items === void 0 ? [] : _ref$items,
26
- className$2 = _ref.className,
26
+ className$1 = _ref.className,
27
27
  _ref$separator = _ref.separator,
28
28
  separator = _ref$separator === void 0 ? "/" : _ref$separator,
29
29
  style = _ref.style;
30
30
  var theme$1 = hooks.useTheme();
31
- var classNames = useClassNames.useClassNames("breadcrumb");
32
- /// there is no need to render the breadcrumb when there is no items
31
+ var classNames = useClassNames_component.useClassNames(context.CLASS_NAMES);
32
+ // there is no need to render the breadcrumb when there is no items
33
33
  if (items.length === 0) {
34
34
  return null;
35
35
  }
@@ -38,11 +38,15 @@ var Breadcrumb = function Breadcrumb(_ref) {
38
38
  color: theme$1.colors["on-surface-variant"]
39
39
  })),
40
40
  navigations: {
41
- className: "musaex-p8vts musaex-j8pfrn musaex-3ct3a4 musaex-78zum5 musaex-1a02dak"
41
+ className: "musaex-q3gua8 musaex-1n775ky musaex-3ct3a4 musaex-78zum5 musaex-1a02dak"
42
42
  }
43
43
  };
44
- return /*#__PURE__*/React.createElement("nav", {
45
- className: className.stringify(classNames[className$1.BreadcrumbClassToken.Breadcrumb], className$2, styled.breadcrumb.className),
44
+ return /*#__PURE__*/React.createElement(context.Context.Provider, {
45
+ value: {
46
+ classNames: classNames
47
+ }
48
+ }, /*#__PURE__*/React.createElement("nav", {
49
+ className: className.stringify(classNames.breadcrumb, className$1, styled.breadcrumb.className),
46
50
  style: _objectSpread(_objectSpread({}, styled.breadcrumb.style), style)
47
51
  }, /*#__PURE__*/React.createElement("ol", _objectSpread({}, styled.navigations), items.map(function (item$1, index) {
48
52
  return /*#__PURE__*/React.createElement(item.default, {
@@ -52,7 +56,7 @@ var Breadcrumb = function Breadcrumb(_ref) {
52
56
  href: item$1.href,
53
57
  separator: separator
54
58
  });
55
- })));
59
+ }))));
56
60
  };
57
61
 
58
62
  exports.default = Breadcrumb;