musae 0.2.21 → 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.
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/avatar/group.js +1 -1
- package/dist/components/bench/bench.js +2 -2
- package/dist/components/breadcrumb/item.js +1 -1
- package/dist/components/calendar/hooks.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/clock/clock.js +1 -1
- package/dist/components/collapse/item.js +1 -1
- package/dist/components/dialog/hooks.js +1 -1
- package/dist/components/dialog/popup.js +3 -3
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.js +41 -9
- package/dist/components/divider/types.d.ts +7 -1
- package/dist/components/drawer/popup.js +1 -1
- package/dist/components/form/field/layout.js +1 -1
- package/dist/components/highlight/highlight.js +1 -1
- package/dist/components/i18n-button/hooks.js +1 -1
- package/dist/components/i18n-button/i18n-button.js +2 -2
- package/dist/components/image/preview/operations.js +1 -1
- package/dist/components/layout/layout.js +2 -2
- package/dist/components/menu/group.js +2 -2
- package/dist/components/menu/hooks.js +3 -3
- package/dist/components/menu/item.js +1 -1
- package/dist/components/notification/hooks.js +2 -2
- package/dist/components/notification/notification.js +4 -4
- package/dist/components/notification/notifier.js +2 -2
- package/dist/components/popover/hooks.js +2 -2
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/popper/dropdown.js +1 -1
- package/dist/components/popper/hooks.js +2 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/rich-text-editor/dropdown.js +2 -2
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.js +3 -3
- package/dist/components/table/header/cell.js +1 -1
- package/dist/components/time-picker/time-picker.js +1 -1
- package/dist/components/timeline/item.js +2 -2
- package/dist/components/tour/tour.js +3 -3
- package/dist/components/tree/list.js +2 -2
- package/dist/components/upload/uploadeds.js +1 -1
- package/dist/hooks/use-expandable.js +4 -4
- package/dist/index.js +1 -1
- package/dist/{stylex.css → styles.css} +4 -0
- package/package.json +24 -23
|
@@ -163,7 +163,7 @@ var Avatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
163
163
|
className: clsx(classNames[AvatarClassToken.Avatar], styled.avatar.className),
|
|
164
164
|
style: styled.avatar.style,
|
|
165
165
|
ref: ref
|
|
166
|
-
}), loadStatus === "loaded" ? (
|
|
166
|
+
}), loadStatus === "loaded" ? (/*#__PURE__*/React.createElement("img", {
|
|
167
167
|
draggable: false,
|
|
168
168
|
src: src,
|
|
169
169
|
alt: alt,
|
|
@@ -39,7 +39,7 @@ var _Group = function Group(_ref) {
|
|
|
39
39
|
hidden = _Children$toArray$red2[1];
|
|
40
40
|
// got hidden nodes, show ellipse node
|
|
41
41
|
if (hidden.length > 0) {
|
|
42
|
-
visible.push(
|
|
42
|
+
visible.push(/*#__PURE__*/React.createElement(Popover, {
|
|
43
43
|
content: /*#__PURE__*/React.createElement(_Group, {
|
|
44
44
|
max: Infinity
|
|
45
45
|
}, hidden),
|
|
@@ -125,7 +125,7 @@ var Bench = function Bench(_ref) {
|
|
|
125
125
|
}, !!_logo && /*#__PURE__*/React.createElement("img", {
|
|
126
126
|
src: _logo === null || _logo === void 0 ? void 0 : _logo.url,
|
|
127
127
|
alt: "logo"
|
|
128
|
-
}), !!_logo && (
|
|
128
|
+
}), !!_logo && (/*#__PURE__*/React.createElement("div", {
|
|
129
129
|
className: styled.divider.className,
|
|
130
130
|
style: styled.divider.style
|
|
131
131
|
}, /*#__PURE__*/React.createElement(Divider, {
|
|
@@ -141,7 +141,7 @@ var Bench = function Bench(_ref) {
|
|
|
141
141
|
style: styled.headerNavigation.style
|
|
142
142
|
}, !!selectedKeys[0] && {
|
|
143
143
|
selectedKeys: [selectedKeys[0]]
|
|
144
|
-
})), trailing), sideMenuItems.length > 0 && (
|
|
144
|
+
})), trailing), sideMenuItems.length > 0 && (/*#__PURE__*/React.createElement(Sider, {
|
|
145
145
|
className: styled.sider.className,
|
|
146
146
|
style: styled.sider.style
|
|
147
147
|
}, /*#__PURE__*/React.createElement(Menu, _objectSpread({
|
|
@@ -76,7 +76,7 @@ var Item = function Item(_ref) {
|
|
|
76
76
|
className: classNames[BreadcrumbClassToken.Item]
|
|
77
77
|
}, isLink && /*#__PURE__*/React.createElement("a", {
|
|
78
78
|
href: href
|
|
79
|
-
}, label), !isLink && label), !max && (
|
|
79
|
+
}, label), !isLink && label), !max && (/*#__PURE__*/React.createElement("li", {
|
|
80
80
|
role: "separator",
|
|
81
81
|
className: clsx(classNames[BreadcrumbClassToken.Separator], styled.separator.className),
|
|
82
82
|
style: styled.separator.style
|
|
@@ -131,7 +131,7 @@ var useDateCells = function useDateCells(_ref) {
|
|
|
131
131
|
className: "musaex-gnae0u musaex-ksl8fa"
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
prev.at(prev.length - 1).push(
|
|
134
|
+
prev.at(prev.length - 1).push(/*#__PURE__*/React.createElement("td", {
|
|
135
135
|
title: formatted,
|
|
136
136
|
key: formatted,
|
|
137
137
|
className: clsx(classNames[CalendarClassToken.DateCell], _objectSpread(_defineProperty({}, classNames[CalendarClassToken.DateCellSelected], isSelected), timespan.isRange && _defineProperty(_defineProperty(_defineProperty({}, classNames[CalendarClassToken.DateCellInRange], isBetween), classNames[CalendarClassToken.DateCellRangeFrom], isFrom), classNames[CalendarClassToken.DateCellRangeTo], isTo)), styled.cell.className),
|
|
@@ -76,7 +76,7 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
76
76
|
"aria-checked": isChecked,
|
|
77
77
|
disabled: isDisabled,
|
|
78
78
|
onChange: change
|
|
79
|
-
}), children && (
|
|
79
|
+
}), children && (/*#__PURE__*/React.createElement("span", {
|
|
80
80
|
className: styled.label.className,
|
|
81
81
|
style: styled.label.style
|
|
82
82
|
}, children)));
|
|
@@ -28,7 +28,7 @@ var Clock = function Clock(_ref) {
|
|
|
28
28
|
onChange: function onChange(_value) {
|
|
29
29
|
_onChange === null || _onChange === void 0 || _onChange(Object.values(_objectSpread(_objectSpread(_objectSpread({}, [0, 0, 0]), value), {}, _defineProperty({}, index, _value))));
|
|
30
30
|
}
|
|
31
|
-
}), index === columns.length - 1 ? null : (
|
|
31
|
+
}), index === columns.length - 1 ? null : (/*#__PURE__*/React.createElement(Divider, {
|
|
32
32
|
orientation: "vertical",
|
|
33
33
|
key: "".concat(unit, "-divider")
|
|
34
34
|
}))];
|
|
@@ -110,7 +110,7 @@ var CollapseItem = function CollapseItem(_ref) {
|
|
|
110
110
|
var _useExpandable = useExpandable(),
|
|
111
111
|
expand = _useExpandable.expand,
|
|
112
112
|
collapse = _useExpandable.collapse;
|
|
113
|
-
useUpdateEffect(
|
|
113
|
+
useUpdateEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
114
114
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
115
115
|
while (1) switch (_context.prev = _context.next) {
|
|
116
116
|
case 0:
|
|
@@ -18,7 +18,7 @@ var useFooter = function useFooter(_ref) {
|
|
|
18
18
|
_useLocale2 = _slicedToArray(_useLocale, 1),
|
|
19
19
|
locale = _useLocale2[0];
|
|
20
20
|
return useMemo(function () {
|
|
21
|
-
return footer !== null && footer !== void 0 ? footer : (
|
|
21
|
+
return footer !== null && footer !== void 0 ? footer : (/*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
|
|
22
22
|
onClick: onClose,
|
|
23
23
|
color: "secondary",
|
|
24
24
|
variant: "text"
|
|
@@ -126,7 +126,7 @@ var Popup = function Popup(_ref) {
|
|
|
126
126
|
onKeyDown = _useClosable.onKeyDown,
|
|
127
127
|
onOverlayClick = _useClosable.onOverlayClick;
|
|
128
128
|
useEffect(function () {
|
|
129
|
-
_asyncToGenerator(
|
|
129
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
130
130
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
131
131
|
while (1) switch (_context.prev = _context.next) {
|
|
132
132
|
case 0:
|
|
@@ -199,13 +199,13 @@ var Popup = function Popup(_ref) {
|
|
|
199
199
|
className: clsx(classNames[DialogClassToken.Panel], styled.panel.className),
|
|
200
200
|
style: _objectSpread(_objectSpread({}, styled.panel.style), (_props$styles = props$1.styles) === null || _props$styles === void 0 ? void 0 : _props$styles.panel),
|
|
201
201
|
ref: panelRef
|
|
202
|
-
}, closer, !!props$1.title && (
|
|
202
|
+
}, closer, !!props$1.title && (/*#__PURE__*/React.createElement("div", {
|
|
203
203
|
className: clsx(classNames[DialogClassToken.Header], styled.header.className),
|
|
204
204
|
style: styled.header.style
|
|
205
205
|
}, props$1.title)), /*#__PURE__*/React.createElement("div", {
|
|
206
206
|
className: clsx(classNames[DialogClassToken.Body], styled.body.className),
|
|
207
207
|
style: _objectSpread(_objectSpread({}, styled.body.style), (_props$styles2 = props$1.styles) === null || _props$styles2 === void 0 ? void 0 : _props$styles2.body)
|
|
208
|
-
}, props$1.children), !!footer && (
|
|
208
|
+
}, props$1.children), !!footer && (/*#__PURE__*/React.createElement("div", {
|
|
209
209
|
className: clsx(classNames[DialogClassToken.Footer], styled.footer.className),
|
|
210
210
|
style: styled.footer.style
|
|
211
211
|
}, footer))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type DividerProps } from "./types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare const Divider: ({ align, children, orientation, className, style, }: DividerProps) => React.JSX.Element;
|
|
3
|
+
declare const Divider: ({ align, children, orientation, className, style, margin, }: DividerProps) => React.JSX.Element;
|
|
4
4
|
export default Divider;
|
|
@@ -9,16 +9,41 @@ import { ColorToken } from '../../utils/colors.js';
|
|
|
9
9
|
import { typography } from '../theme/theme.js';
|
|
10
10
|
import { clsx } from '@aiszlab/relax';
|
|
11
11
|
import { ComponentToken } from '../../utils/component-token.js';
|
|
12
|
+
import { useGutters } from '../../hooks/use-gutters.js';
|
|
12
13
|
|
|
13
14
|
var styles = {
|
|
14
15
|
divider: {
|
|
15
|
-
horizontal: {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
horizontal: function horizontal(props) {
|
|
17
|
+
return [{
|
|
18
|
+
width: "musaex-1k094eu",
|
|
19
|
+
marginTop: "musaex-fdd01f",
|
|
20
|
+
marginBottom: "musaex-19qvvsl",
|
|
21
|
+
$$css: true
|
|
22
|
+
}, {
|
|
23
|
+
"--marginBlockStart": function (val) {
|
|
24
|
+
return typeof val === "number" ? val + "px" : val != null ? val : "initial";
|
|
25
|
+
}(props.margins[0]),
|
|
26
|
+
"--marginBlockEnd": function (val) {
|
|
27
|
+
return typeof val === "number" ? val + "px" : val != null ? val : "initial";
|
|
28
|
+
}(props.margins[1])
|
|
29
|
+
}];
|
|
18
30
|
},
|
|
19
|
-
vertical: {
|
|
20
|
-
|
|
21
|
-
|
|
31
|
+
vertical: function vertical(props) {
|
|
32
|
+
return [{
|
|
33
|
+
height: "musaex-1xj1dsn",
|
|
34
|
+
marginInlineStart: "musaex-1f2nheo",
|
|
35
|
+
marginLeft: null,
|
|
36
|
+
marginRight: null,
|
|
37
|
+
marginInlineEnd: "musaex-1uoloo9",
|
|
38
|
+
$$css: true
|
|
39
|
+
}, {
|
|
40
|
+
"--marginInlineStart": function (val) {
|
|
41
|
+
return typeof val === "number" ? val + "px" : val != null ? val : "initial";
|
|
42
|
+
}(props.margins[0]),
|
|
43
|
+
"--marginInlineEnd": function (val) {
|
|
44
|
+
return typeof val === "number" ? val + "px" : val != null ? val : "initial";
|
|
45
|
+
}(props.margins[1])
|
|
46
|
+
}];
|
|
22
47
|
}
|
|
23
48
|
},
|
|
24
49
|
simple: {
|
|
@@ -119,15 +144,22 @@ var Divider = function Divider(_ref) {
|
|
|
119
144
|
_ref$orientation = _ref.orientation,
|
|
120
145
|
orientation = _ref$orientation === void 0 ? "horizontal" : _ref$orientation,
|
|
121
146
|
className = _ref.className,
|
|
122
|
-
style = _ref.style
|
|
147
|
+
style = _ref.style,
|
|
148
|
+
_ref$margin = _ref.margin,
|
|
149
|
+
margin = _ref$margin === void 0 ? 0 : _ref$margin;
|
|
123
150
|
var classNames = useClassNames(ComponentToken.Divider);
|
|
124
151
|
var offset = useOffset({
|
|
125
152
|
align: align
|
|
126
153
|
});
|
|
127
154
|
var theme = useTheme();
|
|
128
155
|
var isLabeled = !!children;
|
|
156
|
+
var margins = useGutters({
|
|
157
|
+
gutter: margin
|
|
158
|
+
});
|
|
129
159
|
var styled = {
|
|
130
|
-
divider: props(styles.divider[orientation]
|
|
160
|
+
divider: props(styles.divider[orientation]({
|
|
161
|
+
margins: margins
|
|
162
|
+
}), !isLabeled && styles.simple[orientation]({
|
|
131
163
|
backgroundColor: theme.colors[ColorToken.OutlineVariant]
|
|
132
164
|
}), isLabeled && styles.labeled[orientation]({
|
|
133
165
|
backgroundColor: theme.colors[ColorToken.OutlineVariant],
|
|
@@ -138,7 +170,7 @@ var Divider = function Divider(_ref) {
|
|
|
138
170
|
return /*#__PURE__*/React.createElement("div", {
|
|
139
171
|
className: clsx(classNames[DividerClassToken.Divider], className, styled.divider.className),
|
|
140
172
|
style: _objectSpread(_objectSpread({}, styled.divider.style), style)
|
|
141
|
-
}, !!children && (
|
|
173
|
+
}, !!children && (/*#__PURE__*/React.createElement("span", {
|
|
142
174
|
className: clsx(classNames[DividerClassToken.Label], styled.label.className),
|
|
143
175
|
style: styled.label.style
|
|
144
176
|
}, children)));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import { ComponentProps } from "../../types/element";
|
|
2
|
+
import type { ComponentProps } from "../../types/element";
|
|
3
|
+
import type { Gutter } from "../../hooks/use-gutters";
|
|
3
4
|
export type Align = "center" | "left" | "right";
|
|
4
5
|
export type Orientation = "horizontal" | "vertical";
|
|
5
6
|
/**
|
|
@@ -25,4 +26,9 @@ export interface DividerProps extends ComponentProps {
|
|
|
25
26
|
* @default "horizontal"
|
|
26
27
|
*/
|
|
27
28
|
orientation?: Orientation;
|
|
29
|
+
/**
|
|
30
|
+
* @description
|
|
31
|
+
* margin
|
|
32
|
+
*/
|
|
33
|
+
margin?: Gutter;
|
|
28
34
|
}
|
|
@@ -187,7 +187,7 @@ var Popup = function Popup(_ref) {
|
|
|
187
187
|
onKeyDown = _useClosable.onKeyDown,
|
|
188
188
|
onOverlayClick = _useClosable.onOverlayClick;
|
|
189
189
|
useEffect(function () {
|
|
190
|
-
_asyncToGenerator(
|
|
190
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
191
191
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
192
192
|
while (1) switch (_context.prev = _context.next) {
|
|
193
193
|
case 0:
|
|
@@ -52,7 +52,7 @@ var Layout = function Layout(_ref) {
|
|
|
52
52
|
gutter: [0, 8],
|
|
53
53
|
className: styled.item.className,
|
|
54
54
|
style: styled.item.style
|
|
55
|
-
}, !!labelCol && props$1.label && (
|
|
55
|
+
}, !!labelCol && props$1.label && (/*#__PURE__*/React.createElement(Col, {
|
|
56
56
|
span: labelCol
|
|
57
57
|
}, /*#__PURE__*/React.createElement("span", {
|
|
58
58
|
className: clsx(styled.label.className),
|
|
@@ -32,7 +32,7 @@ var Highlight = function Highlight(_ref) {
|
|
|
32
32
|
// 2. replace with custom node
|
|
33
33
|
var _Array$from$reduce = Array.from(children.matchAll(new RegExp(capture, "g"))).reduce(function (prev, item) {
|
|
34
34
|
prev[0].push(children.slice(prev[1], item.index));
|
|
35
|
-
prev[0].push(
|
|
35
|
+
prev[0].push(/*#__PURE__*/React.createElement("span", {
|
|
36
36
|
className: clsx(classNames[HighlightClassToken.Capture], styled.className),
|
|
37
37
|
style: styled.style,
|
|
38
38
|
key: item.index
|
|
@@ -19,7 +19,7 @@ var useLocales = function useLocales() {
|
|
|
19
19
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20
20
|
locales = _useState2[0],
|
|
21
21
|
setLocales = _useState2[1];
|
|
22
|
-
useMounted(
|
|
22
|
+
useMounted(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
23
23
|
var _yield$import$catch;
|
|
24
24
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
25
25
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -16,8 +16,8 @@ var I18nButton = function I18nButton(_ref) {
|
|
|
16
16
|
locales = _useLocales.locales,
|
|
17
17
|
localeCode = _useLocales.localeCode;
|
|
18
18
|
var popoverRef = useRef(null);
|
|
19
|
-
var change = useEvent(
|
|
20
|
-
var _ref2 = _asyncToGenerator(
|
|
19
|
+
var change = useEvent(/*#__PURE__*/function () {
|
|
20
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
|
|
21
21
|
var _popoverRef$current;
|
|
22
22
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
23
23
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -117,7 +117,7 @@ var Operations = function Operations(_ref) {
|
|
|
117
117
|
shape: "circular"
|
|
118
118
|
}, /*#__PURE__*/React.createElement(Close, {
|
|
119
119
|
size: 32
|
|
120
|
-
})), isMultiple && (
|
|
120
|
+
})), isMultiple && (/*#__PURE__*/React.createElement("div", {
|
|
121
121
|
className: styled.navigations.className,
|
|
122
122
|
style: styled.navigations.style
|
|
123
123
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -40,11 +40,11 @@ var Layout = function Layout(_ref) {
|
|
|
40
40
|
return /*#__PURE__*/React.createElement("div", {
|
|
41
41
|
className: clsx(className, styled.className),
|
|
42
42
|
style: _objectSpread(_objectSpread({}, styled.style), style)
|
|
43
|
-
}, children.get(ChildToken.Header), hasSider ? (
|
|
43
|
+
}, children.get(ChildToken.Header), hasSider ? (/*#__PURE__*/React.createElement(Grid.Row, {
|
|
44
44
|
as: "main"
|
|
45
45
|
}, sider, /*#__PURE__*/React.createElement(Grid.Col, _objectSpread(_objectSpread({}, mainProps), {}, {
|
|
46
46
|
span: 19
|
|
47
|
-
}), children.get(ChildToken.Main), children.get(ChildToken.Footer)))) : (
|
|
47
|
+
}), children.get(ChildToken.Main), children.get(ChildToken.Footer)))) : (/*#__PURE__*/React.createElement("main", _objectSpread({}, mainProps), children.get(ChildToken.Main), children.get(ChildToken.Footer))));
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { Layout as default };
|
|
@@ -126,7 +126,7 @@ var Group = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
126
126
|
var _useExpandable = useExpandable(),
|
|
127
127
|
expand = _useExpandable.expand,
|
|
128
128
|
collapse = _useExpandable.collapse;
|
|
129
|
-
useUpdateEffect(
|
|
129
|
+
useUpdateEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
130
130
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
131
131
|
while (1) switch (_context.prev = _context.next) {
|
|
132
132
|
case 0:
|
|
@@ -174,7 +174,7 @@ var Group = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
174
174
|
if (!_ref) return;
|
|
175
175
|
collect(item.key, _ref);
|
|
176
176
|
}
|
|
177
|
-
}, children.length > 0 && (
|
|
177
|
+
}, children.length > 0 && (/*#__PURE__*/React.createElement(Group, {
|
|
178
178
|
items: children,
|
|
179
179
|
expanded: !isInline || expandedKeys.has(item.key),
|
|
180
180
|
level: !isInline ? 0 : level + 1,
|
|
@@ -65,7 +65,7 @@ var useItemChildren = function useItemChildren(_ref) {
|
|
|
65
65
|
}));
|
|
66
66
|
return /*#__PURE__*/React.createElement("span", _objectSpread({}, {
|
|
67
67
|
className: "musaex-igfled"
|
|
68
|
-
}), suffix, hasChildren && isInline && (
|
|
68
|
+
}), suffix, hasChildren && isInline && (/*#__PURE__*/React.createElement("span", _objectSpread({}, styled), /*#__PURE__*/React.createElement(KeyboardArrowUp, {
|
|
69
69
|
size: 16
|
|
70
70
|
}))));
|
|
71
71
|
}, [hasChildren, isExpanded, suffix, isInline]);
|
|
@@ -104,8 +104,8 @@ var useContextValue = function useContextValue(_ref2) {
|
|
|
104
104
|
return new Set(_expandedKeys);
|
|
105
105
|
}, [_expandedKeys]);
|
|
106
106
|
/// click handler
|
|
107
|
-
var click = useCallback(
|
|
108
|
-
var _ref3 = _asyncToGenerator(
|
|
107
|
+
var click = useCallback(/*#__PURE__*/function () {
|
|
108
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(key) {
|
|
109
109
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
110
110
|
while (1) switch (_context.prev = _context.next) {
|
|
111
111
|
case 0:
|
|
@@ -279,7 +279,7 @@ var Item = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
279
279
|
className: clsx(classNames[MenuClassToken.Item], className, styled.item.className),
|
|
280
280
|
style: styled.item.style,
|
|
281
281
|
onClick: click
|
|
282
|
-
}, hoverProps), _children.prefix, _children.label, _children.suffix), isInline && props$1.children, !isInline && !!props$1.children && (
|
|
282
|
+
}, hoverProps), _children.prefix, _children.label, _children.suffix), isInline && props$1.children, !isInline && !!props$1.children && (/*#__PURE__*/React.createElement(Popper, _objectSpread({
|
|
283
283
|
trigger: itemRef.current,
|
|
284
284
|
open: isOpen,
|
|
285
285
|
placement: mode === "vertical" ? "top-start" : "bottom-start"
|
|
@@ -25,8 +25,8 @@ var useNotification = function useNotification() {
|
|
|
25
25
|
ref: ref
|
|
26
26
|
});
|
|
27
27
|
}, [notifier]);
|
|
28
|
-
var open = useEvent(
|
|
29
|
-
var _ref2 = _asyncToGenerator(
|
|
28
|
+
var open = useEvent(/*#__PURE__*/function () {
|
|
29
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(config) {
|
|
30
30
|
var _notifier$current, _config$key, _config$placement;
|
|
31
31
|
var _notifier, key;
|
|
32
32
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -194,7 +194,7 @@ var Notification = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
194
194
|
var classNames = useClassNames(ComponentToken.Notification);
|
|
195
195
|
var notificationRef = useRefs(scope, ref);
|
|
196
196
|
// after duration, `Notification` will auto destroy
|
|
197
|
-
useTimeout(
|
|
197
|
+
useTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
198
198
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
199
199
|
while (1) switch (_context.prev = _context.next) {
|
|
200
200
|
case 0:
|
|
@@ -254,16 +254,16 @@ var Notification = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
254
254
|
className: clsx(classNames[NotificationClassToken.Notification], styled.notification.className),
|
|
255
255
|
style: styled.notification.style,
|
|
256
256
|
ref: notificationRef
|
|
257
|
-
}, LEADINGS.has(type) && (
|
|
257
|
+
}, LEADINGS.has(type) && (/*#__PURE__*/React.createElement("div", {
|
|
258
258
|
className: styled.leading.className,
|
|
259
259
|
style: styled.leading.style
|
|
260
|
-
}, /*#__PURE__*/createElement(LEADINGS.get(type)))), !!title && (
|
|
260
|
+
}, /*#__PURE__*/createElement(LEADINGS.get(type)))), !!title && (/*#__PURE__*/React.createElement("div", {
|
|
261
261
|
className: clsx(classNames[NotificationClassToken.Title], styled.title.className),
|
|
262
262
|
style: styled.title.style
|
|
263
263
|
}, title)), /*#__PURE__*/React.createElement("div", {
|
|
264
264
|
className: clsx(classNames[NotificationClassToken.Description], styled.description.className),
|
|
265
265
|
style: styled.description.style
|
|
266
|
-
}, description), closable && (
|
|
266
|
+
}, description), closable && (/*#__PURE__*/React.createElement(Button, {
|
|
267
267
|
className: clsx(classNames[NotificationClassToken.Closer], styled.closer.className),
|
|
268
268
|
shape: "circular",
|
|
269
269
|
variant: "text",
|
|
@@ -26,7 +26,7 @@ var Notifier = /*#__PURE__*/function () {
|
|
|
26
26
|
value: function open(notification) {
|
|
27
27
|
var _this = this;
|
|
28
28
|
if (!_classPrivateFieldGet(_holder, this)) {
|
|
29
|
-
createRoot(document.createDocumentFragment()).render(
|
|
29
|
+
createRoot(document.createDocumentFragment()).render(/*#__PURE__*/React.createElement(Holder, {
|
|
30
30
|
ref: function ref(holder) {
|
|
31
31
|
_classPrivateFieldSet(_holder, _this, holder);
|
|
32
32
|
},
|
|
@@ -48,7 +48,7 @@ var Notification = Object.assign.apply(Object, [{
|
|
|
48
48
|
}
|
|
49
49
|
}].concat(_toConsumableArray(METHODS.map(function (type) {
|
|
50
50
|
return _defineProperty({}, type, function () {
|
|
51
|
-
var _ref = _asyncToGenerator(
|
|
51
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(notification) {
|
|
52
52
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
53
53
|
while (1) switch (_context.prev = _context.next) {
|
|
54
54
|
case 0:
|
|
@@ -17,7 +17,7 @@ var useIsOpen = function useIsOpen(popperRef) {
|
|
|
17
17
|
turnOn = _useLazyBoolean2$.turnOn,
|
|
18
18
|
_turnOff = _useLazyBoolean2$.turnOff,
|
|
19
19
|
_disappear = _useLazyBoolean2$.disappear;
|
|
20
|
-
var turnOff = useEvent(
|
|
20
|
+
var turnOff = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
21
21
|
var _popperRef$current;
|
|
22
22
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
23
23
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -38,7 +38,7 @@ var useIsOpen = function useIsOpen(popperRef) {
|
|
|
38
38
|
}
|
|
39
39
|
turnOn();
|
|
40
40
|
}, [isOpen, turnOff, turnOn]);
|
|
41
|
-
var disappear = useCallback(
|
|
41
|
+
var disappear = useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
42
42
|
var _popperRef$current2;
|
|
43
43
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
44
44
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -140,7 +140,7 @@ var Popover = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
140
140
|
}), /*#__PURE__*/React.createElement("div", {
|
|
141
141
|
className: clsx(classNames[PopoverClassToken.Popover], className, styled.popover.className),
|
|
142
142
|
style: _objectSpread(_objectSpread({}, styled.popover.style), style)
|
|
143
|
-
}, !!title && (
|
|
143
|
+
}, !!title && (/*#__PURE__*/React.createElement("div", {
|
|
144
144
|
className: clsx(classNames[PopoverClassToken.Title], styled.title.className),
|
|
145
145
|
style: styled.title.style
|
|
146
146
|
}, title)), /*#__PURE__*/React.createElement("div", {
|
|
@@ -123,7 +123,7 @@ var Dropdown = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
123
123
|
}, props$1), {}, {
|
|
124
124
|
className: clsx(classNames[PopperClassToken.Dropdown], className, styled.dropdown.className),
|
|
125
125
|
style: _objectSpread(_objectSpread({}, styled.dropdown.style), style)
|
|
126
|
-
}), children, arrowable && (
|
|
126
|
+
}), children, arrowable && (/*#__PURE__*/React.createElement("div", {
|
|
127
127
|
ref: arrowRef,
|
|
128
128
|
className: styled.arrow.className,
|
|
129
129
|
style: styled.arrow.style
|
|
@@ -40,7 +40,7 @@ var useAnimation = function useAnimation(_ref2) {
|
|
|
40
40
|
_useAnimate2 = _slicedToArray(_useAnimate, 2),
|
|
41
41
|
animatableRef = _useAnimate2[0],
|
|
42
42
|
animate = _useAnimate2[1];
|
|
43
|
-
var appear = useEvent(
|
|
43
|
+
var appear = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
44
44
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
45
45
|
while (1) switch (_context.prev = _context.next) {
|
|
46
46
|
case 0:
|
|
@@ -61,7 +61,7 @@ var useAnimation = function useAnimation(_ref2) {
|
|
|
61
61
|
}
|
|
62
62
|
}, _callee);
|
|
63
63
|
})));
|
|
64
|
-
var disappear = useEvent(
|
|
64
|
+
var disappear = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
65
65
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
66
66
|
while (1) switch (_context2.prev = _context2.next) {
|
|
67
67
|
case 0:
|
|
@@ -230,7 +230,7 @@ var Radio = function Radio(_ref) {
|
|
|
230
230
|
disabled: isDisabled,
|
|
231
231
|
className: styled.trigger.className,
|
|
232
232
|
style: styled.trigger.style
|
|
233
|
-
}), children && (
|
|
233
|
+
}), children && (/*#__PURE__*/React.createElement("span", {
|
|
234
234
|
className: styled.label.className,
|
|
235
235
|
style: styled.label.style
|
|
236
236
|
}, children)));
|
|
@@ -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(
|
|
21
|
-
var _ref2 = _asyncToGenerator(
|
|
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(
|
|
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 && (
|
|
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 && (
|
|
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",
|
|
@@ -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 && (
|
|
125
|
+
})), !!sort && (/*#__PURE__*/React.createElement("div", {
|
|
126
126
|
className: styled.halfSort.className,
|
|
127
127
|
style: styled.halfSort.style
|
|
128
128
|
}, /*#__PURE__*/React.createElement(UnfoldMore, {
|
|
@@ -34,7 +34,7 @@ var TimePicker = function TimePicker(_ref) {
|
|
|
34
34
|
readOnly: true
|
|
35
35
|
});
|
|
36
36
|
}, [value, classNames]);
|
|
37
|
-
var popperEntered = useEvent(
|
|
37
|
+
var popperEntered = useEvent(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
38
38
|
var _panelRef$current;
|
|
39
39
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
40
40
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -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 && (
|
|
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 : (
|
|
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", {
|
|
@@ -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 && (
|
|
157
|
+
}, hasPrev && (/*#__PURE__*/React.createElement(Button, {
|
|
158
158
|
onClick: prev,
|
|
159
159
|
size: "small"
|
|
160
|
-
}, locale.prev)), hasNext && (
|
|
160
|
+
}, locale.prev)), hasNext && (/*#__PURE__*/React.createElement(Button, {
|
|
161
161
|
onClick: next,
|
|
162
162
|
size: "small"
|
|
163
|
-
}, locale.next)), !hasNext && (
|
|
163
|
+
}, locale.next)), !hasNext && (/*#__PURE__*/React.createElement(Button, {
|
|
164
164
|
onClick: close,
|
|
165
165
|
size: "small"
|
|
166
166
|
}, locale.finish)))));
|
|
@@ -48,7 +48,7 @@ var _List = function List(_ref) {
|
|
|
48
48
|
var _useExpandable = useExpandable(),
|
|
49
49
|
expand = _useExpandable.expand,
|
|
50
50
|
collapse = _useExpandable.collapse;
|
|
51
|
-
useUpdateEffect(
|
|
51
|
+
useUpdateEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
52
52
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
53
53
|
while (1) switch (_context.prev = _context.next) {
|
|
54
54
|
case 0:
|
|
@@ -84,7 +84,7 @@ var _List = function List(_ref) {
|
|
|
84
84
|
onExpand: onExpand,
|
|
85
85
|
title: node.title,
|
|
86
86
|
level: level
|
|
87
|
-
}, children.length > 0 && (
|
|
87
|
+
}, children.length > 0 && (/*#__PURE__*/React.createElement(_List, {
|
|
88
88
|
nodes: children,
|
|
89
89
|
expanded: expandedKeys.has(node.key),
|
|
90
90
|
level: level + 1
|
|
@@ -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(
|
|
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) {
|
|
@@ -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(
|
|
12
|
-
var _ref2 = _asyncToGenerator(
|
|
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(
|
|
41
|
-
var _ref5 = _asyncToGenerator(
|
|
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.js
CHANGED
|
@@ -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}
|
|
@@ -350,12 +352,14 @@ html[dir='rtl'] .musaex-p4054r:not(#\#):not(#\#):not(#\#){text-align:left}
|
|
|
350
352
|
.musaex-xtgfc8:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musaex-xrqq76)}
|
|
351
353
|
.musaex-u96u03:not(#\#):not(#\#):not(#\#):not(#\#){left:0}
|
|
352
354
|
.musaex-101gtxs:not(#\#):not(#\#):not(#\#):not(#\#){left:var(--left,revert)}
|
|
355
|
+
.musaex-19qvvsl:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--marginBlockEnd,revert)}
|
|
353
356
|
.musaex-uaxuc:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musaex-15cw4i4)}
|
|
354
357
|
.musaex-1w7ha7z:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musaex-1tzp6vk)}
|
|
355
358
|
.musaex-9x39mp:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:var(--musaex-1ncxh3n)}
|
|
356
359
|
.musaex-ack27t:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:auto}
|
|
357
360
|
.musaex-1a1twg2:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--musaex-qk2ac7)}
|
|
358
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)}
|
|
359
363
|
.musaex-xhh4n9:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-1ncxh3n)}
|
|
360
364
|
.musaex-gqr9ew:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-1wblvyz)}
|
|
361
365
|
.musaex-19h4m1:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musaex-qk2ac7)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musae",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"description": "musae-ui",
|
|
5
5
|
"author": "tutu@fantufantu.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
21
|
"default": "./dist/index.js"
|
|
22
22
|
},
|
|
23
|
+
"./styles.css": "./dist/styles.css",
|
|
23
24
|
"./locales": {
|
|
24
25
|
"types": "./dist/locale/locales/index.d.ts",
|
|
25
26
|
"default": "./dist/locale/locales/index.js"
|
|
@@ -71,31 +72,31 @@
|
|
|
71
72
|
},
|
|
72
73
|
"dependencies": {
|
|
73
74
|
"@aiszlab/relax": "^1.3.8",
|
|
74
|
-
"@babel/runtime": "^7.25.
|
|
75
|
+
"@babel/runtime": "^7.25.6",
|
|
75
76
|
"@dnd-kit/core": "^6.1.0",
|
|
76
77
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
77
78
|
"@floating-ui/dom": "^1.6.10",
|
|
78
|
-
"@lexical/code": "^0.17.
|
|
79
|
-
"@lexical/link": "^0.17.
|
|
80
|
-
"@lexical/list": "^0.17.
|
|
81
|
-
"@lexical/markdown": "^0.17.
|
|
82
|
-
"@lexical/react": "^0.17.
|
|
83
|
-
"@lexical/rich-text": "^0.17.
|
|
84
|
-
"@lexical/selection": "^0.17.
|
|
85
|
-
"@lexical/utils": "^0.17.
|
|
86
|
-
"@tanstack/react-table": "^8.20.
|
|
87
|
-
"dayjs": "^1.11.
|
|
79
|
+
"@lexical/code": "^0.17.1",
|
|
80
|
+
"@lexical/link": "^0.17.1",
|
|
81
|
+
"@lexical/list": "^0.17.1",
|
|
82
|
+
"@lexical/markdown": "^0.17.1",
|
|
83
|
+
"@lexical/react": "^0.17.1",
|
|
84
|
+
"@lexical/rich-text": "^0.17.1",
|
|
85
|
+
"@lexical/selection": "^0.17.1",
|
|
86
|
+
"@lexical/utils": "^0.17.1",
|
|
87
|
+
"@tanstack/react-table": "^8.20.5",
|
|
88
|
+
"dayjs": "^1.11.13",
|
|
88
89
|
"deepmerge": "^4.3.1",
|
|
89
|
-
"framer-motion": "^11.
|
|
90
|
-
"lexical": "^0.17.
|
|
91
|
-
"react-hook-form": "^7.
|
|
90
|
+
"framer-motion": "^11.5.4",
|
|
91
|
+
"lexical": "^0.17.1",
|
|
92
|
+
"react-hook-form": "^7.53.0",
|
|
92
93
|
"rxjs": "^7.8.1"
|
|
93
94
|
},
|
|
94
95
|
"devDependencies": {
|
|
95
96
|
"@aiszlab/jarvis": "^1.0.2",
|
|
96
97
|
"@babel/core": "^7.25.2",
|
|
97
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
98
|
-
"@babel/preset-env": "^7.25.
|
|
98
|
+
"@babel/plugin-transform-runtime": "^7.25.4",
|
|
99
|
+
"@babel/preset-env": "^7.25.4",
|
|
99
100
|
"@babel/preset-react": "^7.24.7",
|
|
100
101
|
"@babel/preset-typescript": "^7.24.7",
|
|
101
102
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -105,13 +106,13 @@
|
|
|
105
106
|
"@stylexjs/babel-plugin": "^0.7.5",
|
|
106
107
|
"@stylexjs/rollup-plugin": "^0.7.5",
|
|
107
108
|
"@stylexjs/stylex": "^0.7.5",
|
|
108
|
-
"@testing-library/jest-dom": "^6.
|
|
109
|
-
"@testing-library/react": "^16.0.
|
|
109
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
110
|
+
"@testing-library/react": "^16.0.1",
|
|
110
111
|
"@testing-library/user-event": "^14.5.2",
|
|
111
112
|
"@types/dom-view-transitions": "^1.0.5",
|
|
112
113
|
"@types/jest": "^29.5.12",
|
|
113
|
-
"@types/node": "^22.4
|
|
114
|
-
"@types/react": "^18.3.
|
|
114
|
+
"@types/node": "^22.5.4",
|
|
115
|
+
"@types/react": "^18.3.5",
|
|
115
116
|
"@types/react-dom": "^18.3.0",
|
|
116
117
|
"babel-jest": "^29.7.0",
|
|
117
118
|
"babel-preset-react-app": "^10.0.1",
|
|
@@ -121,9 +122,9 @@
|
|
|
121
122
|
"jest-environment-jsdom": "^29.7.0",
|
|
122
123
|
"react": "^18.3.1",
|
|
123
124
|
"react-dom": "^18.3.1",
|
|
124
|
-
"rollup": "^4.21.
|
|
125
|
+
"rollup": "^4.21.2",
|
|
125
126
|
"typescript": "^5.5.4",
|
|
126
|
-
"zx": "^8.1.
|
|
127
|
+
"zx": "^8.1.5"
|
|
127
128
|
},
|
|
128
129
|
"peerDependencies": {
|
|
129
130
|
"react": "^18",
|