@thefreshop/tb 1.0.8 → 1.0.9

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.
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import React from "react";
2
2
  declare const Main: () => React.JSX.Element;
3
3
  export default Main;
@@ -1,3 +1,6 @@
1
- import React from 'react';
2
- declare const Tabs: () => React.JSX.Element;
1
+ import React from "react";
2
+ import { navType } from "../../types";
3
+ declare const Tabs: ({ nav: { menuSet, openIcon, closeIcon } }: {
4
+ nav: navType;
5
+ }) => React.JSX.Element;
3
6
  export default Tabs;
@@ -16,6 +16,7 @@ export type ProviderType = {
16
16
  SetWarning: (value: ErrMsgType) => void;
17
17
  errMsg?: ErrMsgType;
18
18
  setGlobalpages: (value: tabType[]) => void;
19
+ globalpages?: tabType[];
19
20
  addGlobalTabs: (key: string) => void;
20
21
  setMenupages: (value: navType) => void;
21
22
  goTabs: (key: string) => void;
package/dist/index.d.ts CHANGED
@@ -231,6 +231,7 @@ type ProviderType = {
231
231
  SetWarning: (value: ErrMsgType) => void;
232
232
  errMsg?: ErrMsgType;
233
233
  setGlobalpages: (value: tabType[]) => void;
234
+ globalpages?: tabType[];
234
235
  addGlobalTabs: (key: string) => void;
235
236
  setMenupages: (value: navType) => void;
236
237
  goTabs: (key: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefreshop/tb",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "tb framework",
5
5
  "license": "MIT",
6
6
  "repository": "/tb",
@@ -15,9 +15,10 @@
15
15
  "@monaco-editor/react": "^4.7.0",
16
16
  "antd": "^6.0.0",
17
17
  "dayjs": "^1.11.13",
18
- "react": "^18.3.1",
19
- "react-dom": "^18.3.1",
20
- "react-error-boundary": "^4.0.13"
18
+ "react": "^19.1.1",
19
+ "react-dom": "^19.1.1",
20
+ "react-error-boundary": "^4.0.13",
21
+ "react-router": "^7.10.0"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@babel/core": "^7.25.2",
@@ -29,6 +30,7 @@
29
30
  "@rollup/plugin-node-resolve": "^15.2.3",
30
31
  "@rollup/plugin-typescript": "^11.1.6",
31
32
  "@types/react": "^18.3.3",
33
+ "antd": "^6.0.0",
32
34
  "antd-img-crop": "^4.23.0",
33
35
  "axios": "^1.7.4",
34
36
  "babel-preset-react-app": "^10.0.1",
@@ -36,10 +38,11 @@
36
38
  "postcss": "^8.4.41",
37
39
  "postcss-loader": "^8.1.1",
38
40
  "postcss-prefixer": "^3.0.0",
39
- "react": "^18.3.1",
40
- "react-dom": "^18.3.1",
41
+ "react": "^19.1.1",
42
+ "react-dom": "^19.1.1",
41
43
  "react-image-file-resizer": "^0.4.8",
42
44
  "react-quill": "^2.0.0",
45
+ "react-router": "^7.10.0",
43
46
  "rollup": "^4.20.0",
44
47
  "rollup-plugin-dts": "^6.1.1",
45
48
  "rollup-plugin-peer-deps-external": "^2.2.4",