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

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 PlaceHolder } from '../../components/PlaceHolder';
@@ -0,0 +1,2 @@
1
+ import PlaceHolder from "../../components/PlaceHolder/index.js";
2
+ export { PlaceHolder };
@@ -1 +1 @@
1
- export { default as Welcome } from '../../components/Welcome';
1
+ export { default as Welcome } from '../../components/PlaceHolder';
@@ -1,2 +1,2 @@
1
- import Welcome from "../../components/Welcome/index.js";
2
- export { Welcome };
1
+ import PlaceHolder from "../../components/PlaceHolder/index.js";
2
+ export { PlaceHolder as Welcome };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const PlaceHolder: React.FC<{
3
+ title: string;
4
+ description: string;
5
+ }>;
6
+ export default PlaceHolder;
@@ -0,0 +1,26 @@
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit",
3
- "version": "1.0.19",
3
+ "version": "1.0.20-alpha.placeholder.1",
4
4
  "types": "./lib/index.d.ts",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const Welcome: React.FC;
3
- export default Welcome;
@@ -1,17 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import "react";
3
- const Welcome = ()=>/*#__PURE__*/ jsxs("div", {
4
- className: "flex flex-col items-center justify-center w-full h-full min-h-[70vh]",
5
- children: [
6
- /*#__PURE__*/ jsx("div", {
7
- className: "text-xl font-bold leading-8 mb-2",
8
- children: "初始化应用"
9
- }),
10
- /*#__PURE__*/ jsx("div", {
11
- className: "leading-5",
12
- children: "通过对话搭建你的专属应用"
13
- })
14
- ]
15
- });
16
- const components_Welcome = Welcome;
17
- export { components_Welcome as default };