@lark-apaas/client-toolkit 1.0.20-alpha.placeholder.1 → 1.0.20-alpha.placeholder.3

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.
@@ -0,0 +1 @@
1
+ export { default as PagePlaceholder } from '../../components/PagePlaceholder';
@@ -0,0 +1,2 @@
1
+ import PagePlaceholder from "../../components/PagePlaceholder/index.js";
2
+ export { PagePlaceholder };
@@ -1 +1 @@
1
- export { default as Welcome } from '../../components/PlaceHolder';
1
+ export { default as Welcome } from '../../components/PagePlaceholder';
@@ -1,2 +1,2 @@
1
- import PlaceHolder from "../../components/PlaceHolder/index.js";
2
- export { PlaceHolder as Welcome };
1
+ import PagePlaceholder from "../../components/PagePlaceholder/index.js";
2
+ export { PagePlaceholder as Welcome };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const PagePlaceholder: React.FC<{
3
+ title?: string;
4
+ description?: string;
5
+ }>;
6
+ export default PagePlaceholder;
@@ -0,0 +1,24 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import "react";
3
+ const PagePlaceholder = ({ title = '页面待开发', description = '页面暂未开发,请耐心等待...' })=>/*#__PURE__*/ jsxs("div", {
4
+ className: "flex flex-col items-center justify-center px-6 w-full h-[calc(100vh-64px)] text-center",
5
+ children: [
6
+ /*#__PURE__*/ jsx("img", {
7
+ className: "rounded-md mb-6",
8
+ width: "320",
9
+ height: "200",
10
+ src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/LMfspH/ljhwZthlaukjlkulzlp/miao/welcome.svg",
11
+ alt: "Welcome"
12
+ }),
13
+ /*#__PURE__*/ jsx("div", {
14
+ className: "text-center text-foreground text-base font-medium mb-1 leading-6",
15
+ children: title
16
+ }),
17
+ /*#__PURE__*/ jsx("div", {
18
+ className: "text-center text-muted-foreground text-base leading-6",
19
+ children: description
20
+ })
21
+ ]
22
+ });
23
+ const components_PagePlaceholder = PagePlaceholder;
24
+ export { components_PagePlaceholder as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit",
3
- "version": "1.0.20-alpha.placeholder.1",
3
+ "version": "1.0.20-alpha.placeholder.3",
4
4
  "types": "./lib/index.d.ts",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -1 +0,0 @@
1
- export { default as PlaceHolder } from '../../components/PlaceHolder';
@@ -1,2 +0,0 @@
1
- import PlaceHolder from "../../components/PlaceHolder/index.js";
2
- export { PlaceHolder };
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const PlaceHolder: React.FC<{
3
- title: string;
4
- description: string;
5
- }>;
6
- export default PlaceHolder;
@@ -1,26 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import "react";
3
- const PlaceHolder_PlaceHolder = ({ title = '页面待开发', description = '页面暂未开发,请耐心等待...' })=>/*#__PURE__*/ jsxs("center", {
4
- className: "pt-10 md:pt-9 bg-background p-6 text-center",
5
- children: [
6
- /*#__PURE__*/ jsx("center", {
7
- children: /*#__PURE__*/ jsx("img", {
8
- className: "rounded-md",
9
- width: "320",
10
- height: "200",
11
- src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/LMfspH/ljhwZthlaukjlkulzlp/miao/welcome.svg",
12
- alt: "Welcome"
13
- })
14
- }),
15
- /*#__PURE__*/ jsx("div", {
16
- className: "text-center text-foreground text-base font-medium mb-1 leading-6",
17
- children: title
18
- }),
19
- /*#__PURE__*/ jsx("div", {
20
- className: "text-center text-muted-foreground text-base leading-6",
21
- children: description
22
- })
23
- ]
24
- });
25
- const PlaceHolder = PlaceHolder_PlaceHolder;
26
- export { PlaceHolder as default };