yootd 0.2.37 → 0.2.38
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{Preview → preview}/components/preview/phone.js +5 -1
- package/dist/{Preview → preview}/components/preview/phone.scss +7 -8
- package/dist/utils/script.js +0 -1
- package/package.json +1 -1
- /package/dist/{Preview → preview}/assets/phonebg.png +0 -0
- /package/dist/{Preview → preview}/components/icons/AdaptIcon.d.ts +0 -0
- /package/dist/{Preview → preview}/components/icons/AdaptIcon.js +0 -0
- /package/dist/{Preview → preview}/components/icons/MagnifyIcon.d.ts +0 -0
- /package/dist/{Preview → preview}/components/icons/MagnifyIcon.js +0 -0
- /package/dist/{Preview → preview}/components/icons/ResetIcon.d.ts +0 -0
- /package/dist/{Preview → preview}/components/icons/ResetIcon.js +0 -0
- /package/dist/{Preview → preview}/components/icons/ShrinkIcon.d.ts +0 -0
- /package/dist/{Preview → preview}/components/icons/ShrinkIcon.js +0 -0
- /package/dist/{Preview → preview}/components/preview/phone.d.ts +0 -0
- /package/dist/{Preview → preview}/components/preview/web.d.ts +0 -0
- /package/dist/{Preview → preview}/components/preview/web.js +0 -0
- /package/dist/{Preview → preview}/components/reactflow/Controls.d.ts +0 -0
- /package/dist/{Preview → preview}/components/reactflow/Controls.js +0 -0
- /package/dist/{Preview → preview}/components/reactflow/TopPreview.d.ts +0 -0
- /package/dist/{Preview → preview}/components/reactflow/TopPreview.js +0 -0
- /package/dist/{Preview → preview}/index.d.ts +0 -0
- /package/dist/{Preview → preview}/index.js +0 -0
- /package/dist/{Preview → preview}/index.scss +0 -0
- /package/dist/{Preview → preview}/types/type.d.ts +0 -0
package/dist/index.d.ts
CHANGED
@@ -147,7 +147,7 @@ export { Popconfirm } from './pop-confirm';
|
|
147
147
|
export type { PopconfirmProps } from './pop-confirm';
|
148
148
|
export { Progress } from './progress';
|
149
149
|
export type { ProgressProps } from './progress';
|
150
|
-
export { Preview } from './
|
150
|
+
export { Preview } from './preview';
|
151
151
|
export { Result } from './result';
|
152
152
|
export type { ResultProps } from './result';
|
153
153
|
export { Skeleton } from './skeleton';
|
package/dist/index.js
CHANGED
@@ -78,7 +78,7 @@ export { Modal } from "./modal";
|
|
78
78
|
export { notification } from "./notification";
|
79
79
|
export { Popconfirm } from "./pop-confirm";
|
80
80
|
export { Progress } from "./progress";
|
81
|
-
export { Preview } from "./
|
81
|
+
export { Preview } from "./preview";
|
82
82
|
export { Result } from "./result";
|
83
83
|
export { Skeleton } from "./skeleton";
|
84
84
|
export { Spin } from "./spin";
|
@@ -1,10 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { useBem } from "../../../hooks/useBem";
|
3
|
+
import phoeBg from "../../assets/phonebg.png";
|
3
4
|
import "./phone.scss";
|
4
5
|
export default function Phone(_ref) {
|
5
6
|
var data = _ref.data;
|
6
7
|
var mb = useBem('preview-phone');
|
7
8
|
return /*#__PURE__*/React.createElement("div", {
|
8
|
-
className: "".concat(mb)
|
9
|
+
className: "".concat(mb),
|
10
|
+
style: {
|
11
|
+
backgroundImage: "url(\"".concat(phoeBg, "\")")
|
12
|
+
}
|
9
13
|
}, data === null || data === void 0 ? void 0 : data.value);
|
10
14
|
}
|
@@ -1,8 +1,7 @@
|
|
1
|
-
.yot-preview-phone {
|
2
|
-
width: 398px;
|
3
|
-
height: 829px;
|
4
|
-
background-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
1
|
+
.yot-preview-phone {
|
2
|
+
width: 398px;
|
3
|
+
height: 829px;
|
4
|
+
background-size: 100% 100%;
|
5
|
+
padding: 96px 36px 20px 36px;
|
6
|
+
box-sizing: border-box;
|
7
|
+
}
|
package/dist/utils/script.js
CHANGED
package/package.json
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|