musae 0.2.17 → 0.2.19
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/dialog/popup.js +1 -1
- package/dist/components/drawer/popup.js +1 -1
- package/dist/components/i18n-button/i18n-button.js +1 -1
- package/dist/components/menu/menu.js +1 -2
- package/package.json +8 -9
- /package/dist/node_modules/.pnpm/{@aiszlab_relax@1.2.71_react-dom@18.3.1_react@18.3.1__react@18.3.1 → @aiszlab_relax@1.2.73_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@aiszlab/relax/dist/dom/contains.js +0 -0
|
@@ -15,7 +15,7 @@ import { typography } from '../theme/theme.js';
|
|
|
15
15
|
import clsx from 'clsx';
|
|
16
16
|
import { useClosable } from '../../hooks/use-closable.js';
|
|
17
17
|
import { ComponentToken } from '../../utils/component-token.js';
|
|
18
|
-
import { contains } from '../../node_modules/.pnpm/@aiszlab_relax@1.2.
|
|
18
|
+
import { contains } from '../../node_modules/.pnpm/@aiszlab_relax@1.2.73_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@aiszlab/relax/dist/dom/contains.js';
|
|
19
19
|
|
|
20
20
|
var _excluded = ["onClose", "open", "closable", "onClosed"];
|
|
21
21
|
var styles = {
|
|
@@ -15,7 +15,7 @@ import clsx from 'clsx';
|
|
|
15
15
|
import { typography } from '../theme/theme.js';
|
|
16
16
|
import { useClosable } from '../../hooks/use-closable.js';
|
|
17
17
|
import { ComponentToken } from '../../utils/component-token.js';
|
|
18
|
-
import { contains } from '../../node_modules/.pnpm/@aiszlab_relax@1.2.
|
|
18
|
+
import { contains } from '../../node_modules/.pnpm/@aiszlab_relax@1.2.73_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@aiszlab/relax/dist/dom/contains.js';
|
|
19
19
|
|
|
20
20
|
var _excluded = ["open", "onClose", "placement", "closable", "onClosed", "size"];
|
|
21
21
|
var styles = {
|
|
@@ -16,8 +16,8 @@ var I18nButton = function I18nButton(_ref) {
|
|
|
16
16
|
var popoverRef = useRef(null);
|
|
17
17
|
var change = useEvent(function (value) {
|
|
18
18
|
var _popoverRef$current;
|
|
19
|
-
onChange === null || onChange === void 0 || onChange(locales.get(value));
|
|
20
19
|
(_popoverRef$current = popoverRef.current) === null || _popoverRef$current === void 0 || _popoverRef$current.close();
|
|
20
|
+
onChange === null || onChange === void 0 || onChange(locales.get(value));
|
|
21
21
|
});
|
|
22
22
|
return /*#__PURE__*/React.createElement(Popover, {
|
|
23
23
|
ref: popoverRef,
|
|
@@ -31,9 +31,8 @@ var Menu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
31
31
|
defaultExpandedKeys = _ref.defaultExpandedKeys,
|
|
32
32
|
defaultSelectedKeys = _ref.defaultSelectedKeys;
|
|
33
33
|
var classNames = useClassNames(ComponentToken.Menu);
|
|
34
|
-
// TODO: change `direction` prop into `orientation` prop
|
|
35
34
|
var _useScrollable = useScrollable({
|
|
36
|
-
|
|
35
|
+
orientation: useScrollOrientation(mode)
|
|
37
36
|
}),
|
|
38
37
|
targetRef = _useScrollable.targetRef,
|
|
39
38
|
_scrollTo = _useScrollable.scrollTo,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musae",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "musae-ui",
|
|
5
5
|
"author": "tutu@fantufantu.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"prepublishOnly": "rm -rf dist && npm run build",
|
|
14
14
|
"preinstall": "npx @aiszlab/watchdog preinstall",
|
|
15
15
|
"authors": "zx scripts/contributors.mjs",
|
|
16
|
-
"
|
|
17
|
-
"cv": "changeset version"
|
|
16
|
+
"version": "z cs version"
|
|
18
17
|
},
|
|
19
18
|
"exports": {
|
|
20
19
|
".": {
|
|
@@ -35,26 +34,26 @@
|
|
|
35
34
|
"pnpm": ">=9"
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|
|
38
|
-
"@aiszlab/relax": "^1.2.
|
|
37
|
+
"@aiszlab/relax": "^1.2.73",
|
|
39
38
|
"@babel/runtime": "^7.25.0",
|
|
40
39
|
"@dnd-kit/core": "^6.1.0",
|
|
41
40
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
42
|
-
"@floating-ui/dom": "^1.6.
|
|
41
|
+
"@floating-ui/dom": "^1.6.10",
|
|
43
42
|
"@tanstack/react-table": "^8.20.1",
|
|
44
43
|
"clsx": "^2.1.1",
|
|
45
44
|
"dayjs": "^1.11.12",
|
|
46
45
|
"deepmerge": "^4.3.1",
|
|
47
|
-
"framer-motion": "^11.3.
|
|
46
|
+
"framer-motion": "^11.3.28",
|
|
48
47
|
"react-hook-form": "^7.52.2",
|
|
49
48
|
"rxjs": "^7.8.1"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
51
|
+
"@aiszlab/jarvis": "^1.0.2",
|
|
52
52
|
"@babel/core": "^7.25.2",
|
|
53
53
|
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
54
54
|
"@babel/preset-env": "^7.25.3",
|
|
55
55
|
"@babel/preset-react": "^7.24.7",
|
|
56
56
|
"@babel/preset-typescript": "^7.24.7",
|
|
57
|
-
"@changesets/cli": "^2.27.7",
|
|
58
57
|
"@rollup/plugin-babel": "^6.0.4",
|
|
59
58
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
60
59
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -67,7 +66,7 @@
|
|
|
67
66
|
"@testing-library/user-event": "^14.5.2",
|
|
68
67
|
"@types/dom-view-transitions": "^1.0.5",
|
|
69
68
|
"@types/jest": "^29.5.12",
|
|
70
|
-
"@types/node": "^22.
|
|
69
|
+
"@types/node": "^22.4.1",
|
|
71
70
|
"@types/react": "^18.3.3",
|
|
72
71
|
"@types/react-dom": "^18.3.0",
|
|
73
72
|
"babel-jest": "^29.7.0",
|
|
@@ -78,7 +77,7 @@
|
|
|
78
77
|
"jest-environment-jsdom": "^29.7.0",
|
|
79
78
|
"react": "^18.3.1",
|
|
80
79
|
"react-dom": "^18.3.1",
|
|
81
|
-
"rollup": "^4.
|
|
80
|
+
"rollup": "^4.21.0",
|
|
82
81
|
"typescript": "^5.5.4",
|
|
83
82
|
"zx": "^8.1.4"
|
|
84
83
|
},
|