musae 0.2.20 → 0.2.22

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 (109) hide show
  1. package/dist/components/avatar/avatar.js +2 -3
  2. package/dist/components/avatar/group.js +2 -2
  3. package/dist/components/badge/badge.js +1 -2
  4. package/dist/components/bench/bench.d.ts +1 -1
  5. package/dist/components/bench/bench.js +20 -11
  6. package/dist/components/bench/types.d.ts +8 -2
  7. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  8. package/dist/components/breadcrumb/item.js +2 -2
  9. package/dist/components/button/button.js +1 -1
  10. package/dist/components/calendar/calendar.js +1 -1
  11. package/dist/components/calendar/hooks.js +2 -3
  12. package/dist/components/cascader/cascader.js +1 -1
  13. package/dist/components/checkbox/checkbox.js +8 -9
  14. package/dist/components/checkbox/styles.d.ts +2 -2
  15. package/dist/components/checkbox/styles.js +2 -2
  16. package/dist/components/clock/clock.js +2 -2
  17. package/dist/components/clock/column.js +1 -2
  18. package/dist/components/collapse/collapse.js +1 -1
  19. package/dist/components/collapse/item.js +2 -3
  20. package/dist/components/date-picker/date-picker.js +1 -1
  21. package/dist/components/date-range-picker/date-range-picker.js +1 -1
  22. package/dist/components/dialog/hooks.js +1 -1
  23. package/dist/components/dialog/popup.js +4 -4
  24. package/dist/components/divider/divider.d.ts +1 -1
  25. package/dist/components/divider/divider.js +42 -10
  26. package/dist/components/divider/types.d.ts +7 -1
  27. package/dist/components/drawer/popup.js +2 -2
  28. package/dist/components/empty/empty.js +1 -1
  29. package/dist/components/form/field/error.js +1 -1
  30. package/dist/components/form/field/field.js +1 -2
  31. package/dist/components/form/field/layout.js +2 -2
  32. package/dist/components/grid/col.js +1 -1
  33. package/dist/components/grid/row.js +1 -1
  34. package/dist/components/highlight/highlight.js +2 -2
  35. package/dist/components/i18n-button/hooks.js +1 -1
  36. package/dist/components/i18n-button/i18n-button.js +2 -2
  37. package/dist/components/icon/icon.js +1 -2
  38. package/dist/components/image/preview/operations.js +1 -1
  39. package/dist/components/input/input.js +1 -2
  40. package/dist/components/layout/header.js +1 -1
  41. package/dist/components/layout/layout.js +3 -3
  42. package/dist/components/loading/loading.js +1 -1
  43. package/dist/components/menu/group.js +3 -4
  44. package/dist/components/menu/hooks.js +3 -3
  45. package/dist/components/menu/item.js +2 -3
  46. package/dist/components/menu/menu.js +1 -2
  47. package/dist/components/notification/hooks.js +2 -2
  48. package/dist/components/notification/notification.js +5 -6
  49. package/dist/components/notification/notifier.js +2 -2
  50. package/dist/components/pagination/pagination.js +1 -2
  51. package/dist/components/picker/picker.js +1 -2
  52. package/dist/components/popconfirm/popconfirm.js +1 -2
  53. package/dist/components/popover/hooks.js +2 -2
  54. package/dist/components/popover/popover.js +2 -3
  55. package/dist/components/popper/dropdown.js +2 -3
  56. package/dist/components/popper/hooks.js +2 -2
  57. package/dist/components/progress/linear.js +1 -1
  58. package/dist/components/quote/index.d.ts +2 -0
  59. package/dist/components/quote/quote.d.ts +4 -0
  60. package/dist/components/quote/quote.js +29 -0
  61. package/dist/components/quote/styles.d.ts +20 -0
  62. package/dist/components/quote/styles.js +29 -0
  63. package/dist/components/quote/types.d.ts +12 -0
  64. package/dist/components/radio/radio.js +2 -3
  65. package/dist/components/rate/rate.js +1 -1
  66. package/dist/components/rate/star.js +1 -2
  67. package/dist/components/rich-text-editor/dropdown.js +2 -2
  68. package/dist/components/rich-text-editor/plugins/floating-link-editor/index.js +3 -3
  69. package/dist/components/rich-text-editor/rich-text-editor.js +3 -3
  70. package/dist/components/select/select.js +1 -1
  71. package/dist/components/skeleton/skeleton.js +1 -1
  72. package/dist/components/space/space.js +1 -1
  73. package/dist/components/steps/item.js +1 -2
  74. package/dist/components/steps/steps.js +1 -1
  75. package/dist/components/switch/switch.js +1 -2
  76. package/dist/components/table/body.js +1 -1
  77. package/dist/components/table/header/cell.js +1 -1
  78. package/dist/components/table/header/header.js +1 -1
  79. package/dist/components/tabs/navigation.js +1 -2
  80. package/dist/components/tabs/panels.js +1 -2
  81. package/dist/components/tabs/tabs.js +1 -1
  82. package/dist/components/tag/tag.js +1 -1
  83. package/dist/components/theme/tokens.stylex.d.ts +3 -2
  84. package/dist/components/theme/tokens.stylex.js +10 -1
  85. package/dist/components/time-picker/panel.js +1 -1
  86. package/dist/components/time-picker/time-picker.js +2 -3
  87. package/dist/components/timeline/item.js +3 -3
  88. package/dist/components/timeline/timeline.js +1 -1
  89. package/dist/components/tooltip/tooltip.js +1 -1
  90. package/dist/components/tour/spotlight.js +1 -2
  91. package/dist/components/tour/tour.js +4 -4
  92. package/dist/components/transfer/item.js +1 -1
  93. package/dist/components/transfer/list.js +1 -1
  94. package/dist/components/transfer/transfer.js +1 -1
  95. package/dist/components/tree/list.js +3 -4
  96. package/dist/components/tree/node.js +1 -2
  97. package/dist/components/upload/uploadeds.js +1 -1
  98. package/dist/components/visually-hidden/visually-hidden.js +1 -1
  99. package/dist/components/waterfall/waterfall.js +1 -2
  100. package/dist/hooks/use-class-names.d.ts +3 -0
  101. package/dist/hooks/use-expandable.js +4 -4
  102. package/dist/index.d.ts +1 -0
  103. package/dist/index.js +2 -1
  104. package/dist/{stylex.css → styles.css} +7 -0
  105. package/dist/utils/class-name.d.ts +9 -0
  106. package/dist/utils/class-name.js +6 -2
  107. package/dist/utils/component-token.d.ts +2 -1
  108. package/dist/utils/component-token.js +1 -0
  109. package/package.json +25 -25
@@ -17,8 +17,8 @@ var Dropdown = function Dropdown(_ref) {
17
17
  onChange = _ref.onChange,
18
18
  children = _ref.children;
19
19
  var popoverRef = useRef(null);
20
- var onClick = useEvent( /*#__PURE__*/function () {
21
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(key) {
20
+ var onClick = useEvent(/*#__PURE__*/function () {
21
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(key) {
22
22
  var _popoverRef$current;
23
23
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24
24
  while (1) switch (_context.prev = _context.next) {
@@ -35,7 +35,7 @@ var FloatingLinkEditorPlugin = function FloatingLinkEditorPlugin(_ref) {
35
35
  var styled = {
36
36
  className: "musaex-1fap3ks"
37
37
  };
38
- var updateLink = useEvent( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
38
+ var updateLink = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
39
39
  var isValid, _form$getValues, href, title;
40
40
  return _regeneratorRuntime().wrap(function _callee$(_context) {
41
41
  while (1) switch (_context.prev = _context.next) {
@@ -88,7 +88,7 @@ var FloatingLinkEditorPlugin = function FloatingLinkEditorPlugin(_ref) {
88
88
  className: styled.className,
89
89
  style: styled.style,
90
90
  onExited: turnOff
91
- }, !isEditable && ( /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
91
+ }, !isEditable && (/*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
92
92
  variant: "text",
93
93
  shape: "circular",
94
94
  size: "small",
@@ -103,7 +103,7 @@ var FloatingLinkEditorPlugin = function FloatingLinkEditorPlugin(_ref) {
103
103
  shape: "circular",
104
104
  size: "small",
105
105
  onClick: linkOff
106
- }, /*#__PURE__*/React.createElement(LinkOff, null)))), isEditable && ( /*#__PURE__*/React.createElement(Form, {
106
+ }, /*#__PURE__*/React.createElement(LinkOff, null)))), isEditable && (/*#__PURE__*/React.createElement(Form, {
107
107
  form: form
108
108
  }, /*#__PURE__*/React.createElement(Form.Item, {
109
109
  name: "title",
@@ -26,7 +26,7 @@ import ToolbarPlugin from './plugins/toolbar/index.js';
26
26
  import MarkdownShortcutPlugin from './plugins/markdown-shortcut/index.js';
27
27
  import { typography } from '../theme/theme.js';
28
28
  import '../checkbox/index.js';
29
- import checkboxStyles from '../checkbox/styles.js';
29
+ import styles$1 from '../checkbox/styles.js';
30
30
 
31
31
  var styles = {
32
32
  shell: function shell(props) {
@@ -119,8 +119,8 @@ var RichTextEditor = function RichTextEditor(_ref) {
119
119
  }
120
120
  },
121
121
  checkbox: {
122
- unchecked: _stylex.props(checkboxStyles.trigger["default"], styles.checkbox),
123
- checked: _stylex.props(checkboxStyles.trigger["default"], checkboxStyles.trigger.checked, styles.checkbox)
122
+ unchecked: _stylex.props(styles$1.trigger["default"], styles.checkbox),
123
+ checked: _stylex.props(styles$1.trigger["default"], styles$1.trigger.checked, styles.checkbox)
124
124
  }
125
125
  };
126
126
  var initialConfig = useDefault(function () {
@@ -3,7 +3,7 @@ import React, { useRef, useCallback } from 'react';
3
3
  import Picker from '../picker/picker.js';
4
4
  import { useOptions, useValue } from './hooks.js';
5
5
  import { SelectClassToken } from '../../utils/class-name.js';
6
- import clsx from 'clsx';
6
+ import { clsx } from '@aiszlab/relax';
7
7
  import Selector from './selector.js';
8
8
  import Selections from './selections.js';
9
9
  import { useClassNames } from '../../hooks/use-class-names.js';
@@ -3,7 +3,7 @@ import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_module
3
3
  import React from 'react';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { SkeletonClassToken } from '../../utils/class-name.js';
6
- import clsx from 'clsx';
6
+ import { clsx } from '@aiszlab/relax';
7
7
  import { ComponentToken } from '../../utils/component-token.js';
8
8
 
9
9
  var styles = {
@@ -3,7 +3,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import React from 'react';
4
4
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
5
5
  import { useGutters } from '../../hooks/use-gutters.js';
6
- import clsx from 'clsx';
6
+ import { clsx } from '@aiszlab/relax';
7
7
 
8
8
  var styles = {
9
9
  space: function space(props) {
@@ -3,11 +3,10 @@ import React, { useContext } from 'react';
3
3
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { StepsClassToken } from '../../utils/class-name.js';
6
- import clsx from 'clsx';
7
6
  import { sizes } from '../theme/tokens.stylex.js';
8
7
  import { useTheme } from '../theme/hooks.js';
9
8
  import { ColorToken } from '../../utils/colors.js';
10
- import { useEvent } from '@aiszlab/relax';
9
+ import { useEvent, clsx } from '@aiszlab/relax';
11
10
  import { Context } from './context.js';
12
11
  import { typography } from '../theme/theme.js';
13
12
  import { ComponentToken } from '../../utils/component-token.js';
@@ -4,7 +4,7 @@ import Item from './item.js';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { StepsClassToken } from '../../utils/class-name.js';
6
6
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
7
- import clsx from 'clsx';
7
+ import { clsx } from '@aiszlab/relax';
8
8
  import { Context } from './context.js';
9
9
  import { ComponentToken } from '../../utils/component-token.js';
10
10
 
@@ -1,11 +1,10 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import React from 'react';
4
- import { useControlledState, useEvent } from '@aiszlab/relax';
4
+ import { useControlledState, useEvent, clsx } from '@aiszlab/relax';
5
5
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
6
6
  import { useTheme } from '../theme/hooks.js';
7
7
  import { ColorToken } from '../../utils/colors.js';
8
- import clsx from 'clsx';
9
8
  import { useClassNames } from '../../hooks/use-class-names.js';
10
9
  import { SwitchClassToken } from '../../utils/class-name.js';
11
10
  import { layer } from '../../utils/layer.js';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useTable } from './context.js';
3
3
  import { flexRender } from '@tanstack/react-table';
4
4
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
5
- import clsx from 'clsx';
5
+ import { clsx } from '@aiszlab/relax';
6
6
  import { typography } from '../theme/theme.js';
7
7
  import { useTheme } from '../theme/hooks.js';
8
8
  import { ColorToken } from '../../utils/colors.js';
@@ -122,7 +122,7 @@ var Cell = function Cell(_ref) {
122
122
  style: styled.fullSort.style
123
123
  }, /*#__PURE__*/React.createElement(UnfoldMore, {
124
124
  size: "medium"
125
- })), !!sort && ( /*#__PURE__*/React.createElement("div", {
125
+ })), !!sort && (/*#__PURE__*/React.createElement("div", {
126
126
  className: styled.halfSort.className,
127
127
  style: styled.halfSort.style
128
128
  }, /*#__PURE__*/React.createElement(UnfoldMore, {
@@ -3,7 +3,7 @@ import { useTable } from '../context.js';
3
3
  import { flexRender } from '@tanstack/react-table';
4
4
  import { props } from '../../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
5
5
  import { useTheme } from '../../theme/hooks.js';
6
- import clsx from 'clsx';
6
+ import { clsx } from '@aiszlab/relax';
7
7
  import { ColorToken } from '../../../utils/colors.js';
8
8
  import { typography } from '../../theme/theme.js';
9
9
 
@@ -1,12 +1,11 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
- import clsx from 'clsx';
3
2
  import React, { useRef, useEffect } from 'react';
4
3
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
5
4
  import { useClassNames } from '../../hooks/use-class-names.js';
6
5
  import { TabsClassToken } from '../../utils/class-name.js';
7
6
  import Tab from './tab.js';
8
7
  import { useAnimate } from 'framer-motion';
9
- import { isUndefined } from '@aiszlab/relax';
8
+ import { isUndefined, clsx } from '@aiszlab/relax';
10
9
  import { useTheme } from '../theme/hooks.js';
11
10
  import { ColorToken } from '../../utils/colors.js';
12
11
  import { useTabsContext, useNavigation, useNavigatorScroll } from './hooks.js';
@@ -3,8 +3,7 @@ import React, { useMemo } from 'react';
3
3
  import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { TabsClassToken } from '../../utils/class-name.js';
6
- import clsx from 'clsx';
7
- import { isUndefined, isVoid } from '@aiszlab/relax';
6
+ import { isUndefined, clsx, isVoid } from '@aiszlab/relax';
8
7
  import { useTabsContext } from './hooks.js';
9
8
  import { ComponentToken } from '../../utils/component-token.js';
10
9
 
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import Context from './context.js';
3
3
  import { useClassNames } from '../../hooks/use-class-names.js';
4
4
  import { TabsClassToken } from '../../utils/class-name.js';
5
- import clsx from 'clsx';
5
+ import { clsx } from '@aiszlab/relax';
6
6
  import { useTabs } from './hooks.js';
7
7
  import Panels from './panels.js';
8
8
  import Navigation from './navigation.js';
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import React from 'react';
3
- import clsx from 'clsx';
3
+ import { clsx } from '@aiszlab/relax';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { TagClassToken } from '../../utils/class-name.js';
6
6
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
@@ -1,13 +1,14 @@
1
+ export type ElevationToken = "none" | "xsmall" | "small" | "medium" | "large" | "xlarge";
1
2
  /**
2
3
  * @description
3
4
  * elevations
4
5
  */
5
6
  export declare const elevations: import("@stylexjs/stylex").VarGroup<Readonly<{
6
- none: string;
7
- xsmall: string;
8
7
  small: string;
9
8
  medium: string;
10
9
  large: string;
10
+ none: string;
11
+ xsmall: string;
11
12
  xlarge: string;
12
13
  }>, symbol>;
13
14
  /**
@@ -2,6 +2,15 @@
2
2
  * @description
3
3
  * elevations
4
4
  */
5
+ var elevations = {
6
+ none: "var(--musaex-gmufu8)",
7
+ xsmall: "var(--musaex-15zostt)",
8
+ small: "var(--musaex-1trg6py)",
9
+ medium: "var(--musaex-4poz8g)",
10
+ large: "var(--musaex-1vq77kn)",
11
+ xlarge: "var(--musaex-1yt3x0a)",
12
+ __themeName__: "musaex-7eja5x"
13
+ };
5
14
  /**
6
15
  * @description
7
16
  * spacing
@@ -50,4 +59,4 @@ var sizes = {
50
59
  __themeName__: "musaex-qhz0mn"
51
60
  };
52
61
 
53
- export { sizes, spacing };
62
+ export { elevations, sizes, spacing };
@@ -8,7 +8,7 @@ import dayjs from 'dayjs';
8
8
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
9
9
  import { useTheme } from '../theme/hooks.js';
10
10
  import { ColorToken } from '../../utils/colors.js';
11
- import clsx from 'clsx';
11
+ import { clsx } from '@aiszlab/relax';
12
12
  import { ComponentToken } from '../../utils/component-token.js';
13
13
  import { useLocale } from '../../locale/use-locale.js';
14
14
 
@@ -3,13 +3,12 @@ import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
3
3
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
4
4
  import React, { useRef, useMemo } from 'react';
5
5
  import Picker from '../picker/picker.js';
6
- import clsx from 'clsx';
7
6
  import { useClassNames } from '../../hooks/use-class-names.js';
8
7
  import { TimePickerClassToken } from '../../utils/class-name.js';
9
8
  import Panel from './panel.js';
10
9
  import { useValue } from './hooks.js';
11
10
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
12
- import { useEvent } from '@aiszlab/relax';
11
+ import { clsx, useEvent } from '@aiszlab/relax';
13
12
  import { styles } from '../input/input.js';
14
13
  import { ComponentToken } from '../../utils/component-token.js';
15
14
 
@@ -35,7 +34,7 @@ var TimePicker = function TimePicker(_ref) {
35
34
  readOnly: true
36
35
  });
37
36
  }, [value, classNames]);
38
- var popperEntered = useEvent( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
37
+ var popperEntered = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
39
38
  var _panelRef$current;
40
39
  return _regeneratorRuntime().wrap(function _callee$(_context) {
41
40
  while (1) switch (_context.prev = _context.next) {
@@ -4,7 +4,7 @@ import { Context } from './context.js';
4
4
  import { sizes } from '../theme/tokens.stylex.js';
5
5
  import { useClassNames } from '../../hooks/use-class-names.js';
6
6
  import { TimelineClassToken } from '../../utils/class-name.js';
7
- import clsx from 'clsx';
7
+ import { clsx } from '@aiszlab/relax';
8
8
  import { useTheme } from '../theme/hooks.js';
9
9
  import { ColorToken } from '../../utils/colors.js';
10
10
  import { ComponentToken } from '../../utils/component-token.js';
@@ -197,7 +197,7 @@ var Item = function Item(_ref) {
197
197
  return /*#__PURE__*/React.createElement("li", {
198
198
  className: clsx(classNames[TimelineClassToken.Item], styled.item.className),
199
199
  style: styled.item.style
200
- }, isLabeled && ( /*#__PURE__*/React.createElement("div", {
200
+ }, isLabeled && (/*#__PURE__*/React.createElement("div", {
201
201
  className: clsx(classNames[TimelineClassToken.Label], styled.label.className),
202
202
  style: styled.label.style
203
203
  }, label)), /*#__PURE__*/React.createElement("div", {
@@ -206,7 +206,7 @@ var Item = function Item(_ref) {
206
206
  }, /*#__PURE__*/React.createElement("div", {
207
207
  className: clsx(classNames[TimelineClassToken.Sign], styled.sign.className),
208
208
  style: styled.sign.style
209
- }, dot !== null && dot !== void 0 ? dot : ( /*#__PURE__*/React.createElement("span", {
209
+ }, dot !== null && dot !== void 0 ? dot : (/*#__PURE__*/React.createElement("span", {
210
210
  className: clsx(classNames[TimelineClassToken.Dot], styled.dot.className),
211
211
  style: styled.dot.style
212
212
  })))), /*#__PURE__*/React.createElement("div", {
@@ -3,7 +3,7 @@ import Item from './item.js';
3
3
  import { Context } from './context.js';
4
4
  import { useClassNames } from '../../hooks/use-class-names.js';
5
5
  import { TimelineClassToken } from '../../utils/class-name.js';
6
- import clsx from 'clsx';
6
+ import { clsx } from '@aiszlab/relax';
7
7
  import { ComponentToken } from '../../utils/component-token.js';
8
8
 
9
9
  var Timeline = function Timeline(_ref) {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import Popover from '../popover/popover.js';
3
3
  import { useClassNames } from '../../hooks/use-class-names.js';
4
4
  import { TooltipClassToken } from '../../utils/class-name.js';
5
- import clsx from 'clsx';
5
+ import { clsx } from '@aiszlab/relax';
6
6
  import { ComponentToken } from '../../utils/component-token.js';
7
7
 
8
8
  var Tooltip = function Tooltip(_ref) {
@@ -1,8 +1,7 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import React, { useRef, useMemo, useEffect } from 'react';
3
- import { isFunction } from '@aiszlab/relax';
3
+ import { isFunction, clsx } from '@aiszlab/relax';
4
4
  import { autoUpdate, computePosition, size, offset } from '@floating-ui/dom';
5
- import clsx from 'clsx';
6
5
  import { useClassNames } from '../../hooks/use-class-names.js';
7
6
  import { TourClassToken } from '../../utils/class-name.js';
8
7
  import { ComponentToken } from '../../utils/component-token.js';
@@ -10,7 +10,7 @@ import Space from '../space/space.js';
10
10
  import { typography } from '../theme/theme.js';
11
11
  import { useClassNames } from '../../hooks/use-class-names.js';
12
12
  import { TourClassToken } from '../../utils/class-name.js';
13
- import clsx from 'clsx';
13
+ import { clsx } from '@aiszlab/relax';
14
14
  import { useStep } from './hooks.js';
15
15
  import Spotlight from './spotlight.js';
16
16
  import { useGutters } from '../../hooks/use-gutters.js';
@@ -154,13 +154,13 @@ var Tour = function Tour(_ref) {
154
154
  gutter: 6,
155
155
  className: clsx(classNames[TourClassToken.Footer], styled.footer.className),
156
156
  style: styled.footer.style
157
- }, hasPrev && ( /*#__PURE__*/React.createElement(Button, {
157
+ }, hasPrev && (/*#__PURE__*/React.createElement(Button, {
158
158
  onClick: prev,
159
159
  size: "small"
160
- }, locale.prev)), hasNext && ( /*#__PURE__*/React.createElement(Button, {
160
+ }, locale.prev)), hasNext && (/*#__PURE__*/React.createElement(Button, {
161
161
  onClick: next,
162
162
  size: "small"
163
- }, locale.next)), !hasNext && ( /*#__PURE__*/React.createElement(Button, {
163
+ }, locale.next)), !hasNext && (/*#__PURE__*/React.createElement(Button, {
164
164
  onClick: close,
165
165
  size: "small"
166
166
  }, locale.finish)))));
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Checkbox } from '../checkbox/index.js';
3
3
  import { useClassNames } from '../../hooks/use-class-names.js';
4
4
  import { TransferClassToken } from '../../utils/class-name.js';
5
- import clsx from 'clsx';
5
+ import { clsx } from '@aiszlab/relax';
6
6
  import { ComponentToken } from '../../utils/component-token.js';
7
7
 
8
8
  var Item = function Item(_ref) {
@@ -8,7 +8,7 @@ import { Checkbox } from '../checkbox/index.js';
8
8
  import { Context } from './context.js';
9
9
  import { useClassNames } from '../../hooks/use-class-names.js';
10
10
  import { TransferClassToken } from '../../utils/class-name.js';
11
- import clsx from 'clsx';
11
+ import { clsx } from '@aiszlab/relax';
12
12
  import { typography } from '../theme/theme.js';
13
13
  import { ComponentToken } from '../../utils/component-token.js';
14
14
  import { useLocale } from '../../locale/use-locale.js';
@@ -6,7 +6,7 @@ import Button from '../button/button.js';
6
6
  import { Context } from './context.js';
7
7
  import { useClassNames } from '../../hooks/use-class-names.js';
8
8
  import { TransferClassToken } from '../../utils/class-name.js';
9
- import clsx from 'clsx';
9
+ import { clsx } from '@aiszlab/relax';
10
10
  import { ComponentToken } from '../../utils/component-token.js';
11
11
  import KeyboardArrowRight from '../icon/icons/hardware/keyboard-arrow-right.js';
12
12
  import KeyboardArrowLeft from '../icon/icons/hardware/keyboard-arrow-left.js';
@@ -7,13 +7,12 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
7
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
8
8
  import React, { useContext } from 'react';
9
9
  import Node from './node.js';
10
- import clsx from 'clsx';
11
10
  import { useAnimate } from 'framer-motion';
12
11
  import Context from './context.js';
13
12
  import { useClassNames } from '../../hooks/use-class-names.js';
14
13
  import { TreeClassToken } from '../../utils/class-name.js';
15
14
  import { useExpandable } from '../../hooks/use-expandable.js';
16
- import { useUpdateEffect } from '@aiszlab/relax';
15
+ import { useUpdateEffect, clsx } from '@aiszlab/relax';
17
16
  import { ComponentToken } from '../../utils/component-token.js';
18
17
 
19
18
  var _excluded = ["children"];
@@ -49,7 +48,7 @@ var _List = function List(_ref) {
49
48
  var _useExpandable = useExpandable(),
50
49
  expand = _useExpandable.expand,
51
50
  collapse = _useExpandable.collapse;
52
- useUpdateEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
51
+ useUpdateEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
53
52
  return _regeneratorRuntime().wrap(function _callee$(_context) {
54
53
  while (1) switch (_context.prev = _context.next) {
55
54
  case 0:
@@ -85,7 +84,7 @@ var _List = function List(_ref) {
85
84
  onExpand: onExpand,
86
85
  title: node.title,
87
86
  level: level
88
- }, children.length > 0 && ( /*#__PURE__*/React.createElement(_List, {
87
+ }, children.length > 0 && (/*#__PURE__*/React.createElement(_List, {
89
88
  nodes: children,
90
89
  expanded: expandedKeys.has(node.key),
91
90
  level: level + 1
@@ -5,10 +5,9 @@ import { TreeClassToken } from '../../utils/class-name.js';
5
5
  import Context from './context.js';
6
6
  import { Checkbox } from '../checkbox/index.js';
7
7
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
8
- import clsx from 'clsx';
9
8
  import { useTheme } from '../theme/hooks.js';
10
9
  import { ColorToken } from '../../utils/colors.js';
11
- import { useEvent } from '@aiszlab/relax';
10
+ import { useEvent, clsx } from '@aiszlab/relax';
12
11
  import { ComponentToken } from '../../utils/component-token.js';
13
12
  import KeyboardArrowRight from '../icon/icons/hardware/keyboard-arrow-right.js';
14
13
 
@@ -28,7 +28,7 @@ var Uploadeds = /*#__PURE__*/forwardRef(function (_ref, ref) {
28
28
  useImperativeHandle(ref, function () {
29
29
  return {
30
30
  add: function () {
31
- var _add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
31
+ var _add = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
32
32
  var hasUploader, status, id, url;
33
33
  return _regeneratorRuntime().wrap(function _callee$(_context) {
34
34
  while (1) switch (_context.prev = _context.next) {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useClassNames } from '../../hooks/use-class-names.js';
3
3
  import { VisuallyHiddenClassToken } from '../../utils/class-name.js';
4
- import clsx from 'clsx';
4
+ import { clsx } from '@aiszlab/relax';
5
5
  import { ComponentToken } from '../../utils/component-token.js';
6
6
 
7
7
  var VisuallyHidden = function VisuallyHidden(_ref) {
@@ -3,9 +3,8 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.7.5/node_modules/@stylexjs/stylex/lib/es/stylex.js';
4
4
  import React from 'react';
5
5
  import { useRepaint } from './hooks.js';
6
- import clsx from 'clsx';
7
6
  import { useGutters } from '../../hooks/use-gutters.js';
8
- import { useUpdateEffect, useMounted } from '@aiszlab/relax';
7
+ import { useUpdateEffect, useMounted, clsx } from '@aiszlab/relax';
9
8
  import Sequential from './sequential.js';
10
9
  import { useClassNames } from '../../hooks/use-class-names.js';
11
10
  import { WaterfallClassToken } from '../../utils/class-name.js';
@@ -256,4 +256,7 @@ export declare const useClassNames: <T extends ComponentToken = ComponentToken>(
256
256
  1: string;
257
257
  };
258
258
  45: {};
259
+ 46: {
260
+ 0: string;
261
+ };
259
262
  }[T];
@@ -8,8 +8,8 @@ import { useEvent } from '@aiszlab/relax';
8
8
  * expand handler
9
9
  */
10
10
  var useExpandable = function useExpandable() {
11
- var expand = useEvent( /*#__PURE__*/function () {
12
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
11
+ var expand = useEvent(/*#__PURE__*/function () {
12
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
13
13
  var _ref3, element, animate;
14
14
  return _regeneratorRuntime().wrap(function _callee$(_context) {
15
15
  while (1) switch (_context.prev = _context.next) {
@@ -37,8 +37,8 @@ var useExpandable = function useExpandable() {
37
37
  return _ref2.apply(this, arguments);
38
38
  };
39
39
  }());
40
- var collapse = useEvent( /*#__PURE__*/function () {
41
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref4) {
40
+ var collapse = useEvent(/*#__PURE__*/function () {
41
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref4) {
42
42
  var _ref6, element, animate;
43
43
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
44
44
  while (1) switch (_context2.prev = _context2.next) {
package/dist/index.d.ts CHANGED
@@ -59,6 +59,7 @@ export { Highlight } from "./components/highlight";
59
59
  export { Bench } from "./components/bench";
60
60
  export { I18nButton } from "./components/i18n-button";
61
61
  export { RichTextEditor } from "./components/rich-text-editor";
62
+ export { Quote } from "./components/quote";
62
63
  /**
63
64
  * @description
64
65
  * hooks
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./stylex.css";
1
+ import "musae/styles.css";
2
2
  export { Avatar } from './components/avatar/index.js';
3
3
  export { Radio } from './components/radio/index.js';
4
4
  export { Checkbox } from './components/checkbox/index.js';
@@ -56,6 +56,7 @@ export { default as Popconfirm } from './components/popconfirm/popconfirm.js';
56
56
  export { default as Highlight } from './components/highlight/highlight.js';
57
57
  export { default as Bench } from './components/bench/bench.js';
58
58
  export { default as I18nButton } from './components/i18n-button/i18n-button.js';
59
+ export { default as Quote } from './components/quote/quote.js';
59
60
  export { useMessage } from './components/message/hooks.js';
60
61
  export { default as Message } from './components/message/messager.js';
61
62
  export { useNotification } from './components/notification/hooks.js';
@@ -213,9 +213,11 @@
213
213
  .musaex-14z9mp:not(#\#):not(#\#):not(#\#){margin-inline-end:0}
214
214
  .musaex-1rjh17g:not(#\#):not(#\#):not(#\#){margin-inline-end:calc(-100% - var(--musaex-rlgvtq) - var(--musaex-jdzqnm) * 4 - var(--musaex-jdzqnm))}
215
215
  .musaex-1kwx3ox:not(#\#):not(#\#):not(#\#){margin-inline-end:calc(100% + var(--musaex-rlgvtq) + var(--musaex-jdzqnm) * 4 + var(--musaex-jdzqnm))}
216
+ .musaex-1uoloo9:not(#\#):not(#\#):not(#\#){margin-inline-end:var(--marginInlineEnd,revert)}
216
217
  .musaex-1lziwak:not(#\#):not(#\#):not(#\#){margin-inline-start:0}
217
218
  .musaex-xsxsn7:not(#\#):not(#\#):not(#\#){margin-inline-start:calc(-100% - var(--musaex-rlgvtq) - var(--musaex-jdzqnm) * 4 - var(--musaex-jdzqnm))}
218
219
  .musaex-1bec1b4:not(#\#):not(#\#):not(#\#){margin-inline-start:calc(100% + var(--musaex-rlgvtq) + var(--musaex-jdzqnm) * 4 + var(--musaex-jdzqnm))}
220
+ .musaex-1f2nheo:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--marginInlineStart,revert)}
219
221
  .musaex-igfled:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--musaex-68a8pz)}
220
222
  .musaex-1dzd4em:not(#\#):not(#\#):not(#\#){mix-blend-mode:hard-light}
221
223
  .musaex-l1xv1r:not(#\#):not(#\#):not(#\#){object-fit:cover}
@@ -229,6 +231,7 @@
229
231
  .musaex-naytfa:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--musaex-rlgvtq) + var(--musaex-jdzqnm) * 4)}
230
232
  .musaex-rjmplk:not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--musaex-15cw4i4) / 2 - var(--musaex-jdzqnm))}
231
233
  .musaex-1m1uyq8:not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--musaex-rlgvtq) + var(--musaex-jdzqnm) * 4)}
234
+ .musaex-7t49h1:not(#\#):not(#\#):not(#\#){padding-inline-start:var(--musaex-1ncxh3n)}
232
235
  .musaex-71s49j:not(#\#):not(#\#):not(#\#){pointer-events:all}
233
236
  .musaex-67bb7w:not(#\#):not(#\#):not(#\#){pointer-events:auto}
234
237
  .musaex-47corl:not(#\#):not(#\#):not(#\#){pointer-events:none}
@@ -349,12 +352,14 @@ html[dir='rtl'] .musaex-p4054r:not(#\#):not(#\#):not(#\#){text-align:left}
349
352
  .musaex-xtgfc8:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musaex-xrqq76)}
350
353
  .musaex-u96u03:not(#\#):not(#\#):not(#\#):not(#\#){left:0}
351
354
  .musaex-101gtxs:not(#\#):not(#\#):not(#\#):not(#\#){left:var(--left,revert)}
355
+ .musaex-19qvvsl:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--marginBlockEnd,revert)}
352
356
  .musaex-uaxuc:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musaex-15cw4i4)}
353
357
  .musaex-1w7ha7z:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musaex-1tzp6vk)}
354
358
  .musaex-9x39mp:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:var(--musaex-1ncxh3n)}
355
359
  .musaex-ack27t:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:auto}
356
360
  .musaex-1a1twg2:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--musaex-qk2ac7)}
357
361
  .musaex-185trme:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(-1 * var(--musaex-1qsoxbc))}
362
+ .musaex-fdd01f:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--marginBlockStart,revert)}
358
363
  .musaex-xhh4n9:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-1ncxh3n)}
359
364
  .musaex-gqr9ew:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-1wblvyz)}
360
365
  .musaex-19h4m1:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-qk2ac7)}
@@ -454,6 +459,7 @@ html[dir='rtl'] .musaex-p4054r:not(#\#):not(#\#):not(#\#){text-align:left}
454
459
  .musaex-27d4w3:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{background-color:var(--15iyedw,revert)}
455
460
  .musaex-rr6jkh:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{background-color:var(--1lrm08k,revert)}
456
461
  .musaex-1cj4lvr:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{background-color:var(--b44ld2,revert)}
462
+ .musaex-1xmraew:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{background-color:var(--outline-color)}
457
463
  .musaex-ietmgg:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{background-color:var(--primary-color)}
458
464
  html:not([dir='rtl']) .musaex-15cyge6:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.08)}
459
465
  html[dir='rtl'] .musaex-15cyge6:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.08)}
@@ -529,5 +535,6 @@ html[dir='rtl'] .musaex-91zhsk:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(
529
535
  .musaex-fuyjx5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{width:var(--musaex-1qj6wod)}
530
536
  .musaex-1iylo5z:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{width:var(--musaex-1rrllem)}
531
537
  .musaex-16absqa:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{width:var(--musaex-fwu7zn)}
538
+ .musaex-bv6p2w:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{width:var(--musaex-jdzqnm)}
532
539
  .musaex-z31nut:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar{width:var(--musaex-vk5id6)}
533
540
  .musaex-1b1hfbl:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{width:var(--nzppn4,revert)}
@@ -261,6 +261,9 @@ export declare enum HighlightClassToken {
261
261
  Highlight = 0,
262
262
  Capture = 1
263
263
  }
264
+ export declare enum QuoteClassToken {
265
+ Quote = 0
266
+ }
264
267
  /**
265
268
  * @description
266
269
  * class name collection
@@ -521,6 +524,9 @@ export declare const CLASS_NAMES: {
521
524
  1: string;
522
525
  };
523
526
  45: {};
527
+ 46: {
528
+ 0: string;
529
+ };
524
530
  };
525
531
  /**
526
532
  * @description
@@ -784,4 +790,7 @@ export declare const DEFAULT_CLASS_NAMES: {
784
790
  1: string;
785
791
  };
786
792
  45: {};
793
+ 46: {
794
+ 0: string;
795
+ };
787
796
  };