@pinnacle0/web-ui 0.3.66 → 0.3.68
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/core/Table/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare enum SortOrder {
|
|
|
11
11
|
declare type RenderedCell<T extends object> = Exclude<ReturnType<NonNullable<AntColumnsProps<T>["render"]>>, React.ReactNode>;
|
|
12
12
|
export interface TableColumn<RowType extends object, OrderByFieldType = undefined> {
|
|
13
13
|
title: React.ReactElement | React.ReactChild;
|
|
14
|
-
renderData: (record: RowType, index: number) => SafeReactChildren | RenderedCell<RowType
|
|
14
|
+
renderData: (record: RowType, index: number) => SafeReactChildren | RenderedCell<RowType> | undefined;
|
|
15
15
|
align?: "left" | "right" | "center";
|
|
16
16
|
colSpan?: number;
|
|
17
17
|
width?: string | number;
|
package/core/Tabs/Single.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { Props as TabsProps } from "./index";
|
|
3
2
|
import type { SafeReactChildren } from "../../internal/type";
|
|
3
|
+
import type { Props as TabsProps } from "./index";
|
|
4
4
|
export interface Props extends Omit<TabsProps, "activeKey" | "onChange" | "defaultActiveKey"> {
|
|
5
5
|
title: string;
|
|
6
6
|
children: SafeReactChildren;
|
package/core/Tabs/Single.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Single.js","sourceRoot":"","sources":["../../../src/core/Tabs/Single.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Single.js","sourceRoot":"","sources":["../../../src/core/Tabs/Single.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAS7B;IAA4B,0BAA0B;IAAtD;;IAcA,CAAC;IAXG,uBAAM,GAAN;QACI,IAAM,KAA6B,IAAI,CAAC,KAAK,EAAtC,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAK,IAAI,cAAzB,qBAA0B,CAAa,CAAC;QAE9C,OAAO,CACH,oBAAC,IAAI,eAAK,IAAI;YACV,oBAAC,IAAI,CAAC,OAAO,IAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,IAC/B,QAAQ,CACE,CACZ,CACV,CAAC;IACN,CAAC;IAZM,kBAAW,GAAG,QAAQ,CAAC;IAalC,aAAC;CAAA,AAdD,CAA4B,KAAK,CAAC,aAAa,GAc9C;SAdY,MAAM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinnacle0/web-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.68",
|
|
4
4
|
"author": "Pinnacle",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -36,11 +36,13 @@
|
|
|
36
36
|
"@testing-library/jest-dom": "5.16.5",
|
|
37
37
|
"@testing-library/react": "13.4.0",
|
|
38
38
|
"@testing-library/user-event": "14.4.3",
|
|
39
|
+
"@types/fs-extra": "9.0.13",
|
|
39
40
|
"@types/history": "4.7.11",
|
|
40
41
|
"@types/react": "18.0.21",
|
|
41
42
|
"@types/react-dom": "18.0.6",
|
|
42
43
|
"@types/react-router": "5.1.19",
|
|
43
44
|
"@types/react-router-dom": "5.3.3",
|
|
45
|
+
"fs-extra": "10.1.0",
|
|
44
46
|
"less": "4.1.3",
|
|
45
47
|
"react": "18.2.0",
|
|
46
48
|
"react-dom": "18.2.0",
|
|
@@ -56,6 +58,7 @@
|
|
|
56
58
|
"start": "pnpm run run-script script/start.ts",
|
|
57
59
|
"start:mobile": "pnpm run run-script script/start-mobile.ts",
|
|
58
60
|
"format": "pnpm run run-script script/format.ts",
|
|
59
|
-
"test": "jest --config config/jest.config.ts"
|
|
61
|
+
"test": "jest --config config/jest.config.ts",
|
|
62
|
+
"prepublish": "pnpm build"
|
|
60
63
|
}
|
|
61
64
|
}
|