flysoft-react-ui 0.2.0 → 0.2.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.
- package/dist/docs/DocsMenu.d.ts.map +1 -1
- package/dist/docs/DocsMenu.js +1 -1
- package/dist/docs/DocsRouter.d.ts.map +1 -1
- package/dist/docs/DocsRouter.js +1 -2
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +0 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/services/apiClient.d.ts +72 -29
- package/dist/services/apiClient.d.ts.map +1 -1
- package/dist/services/apiClient.js +155 -135
- package/package.json +1 -1
- package/dist/docs/ApiClientDocs.d.ts +0 -4
- package/dist/docs/ApiClientDocs.d.ts.map +0 -1
- package/dist/docs/ApiClientDocs.js +0 -66
- package/dist/hooks/useApi.d.ts +0 -27
- package/dist/hooks/useApi.d.ts.map +0 -1
- package/dist/hooks/useApi.js +0 -150
- package/dist/hooks/useApiMutation.d.ts +0 -22
- package/dist/hooks/useApiMutation.d.ts.map +0 -1
- package/dist/hooks/useApiMutation.js +0 -85
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocsMenu.d.ts","sourceRoot":"","sources":["../../src/docs/DocsMenu.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,+
|
|
1
|
+
{"version":3,"file":"DocsMenu.d.ts","sourceRoot":"","sources":["../../src/docs/DocsMenu.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,+CAsBpB,CAAC"}
|
package/dist/docs/DocsMenu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Link } from "react-router-dom";
|
|
3
3
|
export const DocsMenu = () => {
|
|
4
|
-
return (_jsx(_Fragment, { children: _jsxs("ul", { children: [_jsx("li", { children: _jsx(Link, { to: "/docs/button", children: "Button" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/badge", children: "Badge" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/card", children: "Card" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/input", children: "Input" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/theme", children: "ThemeSwitcher" }) })
|
|
4
|
+
return (_jsx(_Fragment, { children: _jsxs("ul", { children: [_jsx("li", { children: _jsx(Link, { to: "/docs/button", children: "Button" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/badge", children: "Badge" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/card", children: "Card" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/input", children: "Input" }) }), _jsx("li", { children: _jsx(Link, { to: "/docs/theme", children: "ThemeSwitcher" }) })] }) }));
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocsRouter.d.ts","sourceRoot":"","sources":["../../src/docs/DocsRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DocsRouter.d.ts","sourceRoot":"","sources":["../../src/docs/DocsRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAW9B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/docs/DocsRouter.js
CHANGED
|
@@ -5,9 +5,8 @@ import ButtonDocs from "./ButtonDocs";
|
|
|
5
5
|
import CardDocs from "./CardDocs";
|
|
6
6
|
import InputDocs from "./InputDocs";
|
|
7
7
|
import ThemeSwitcherDocs from "./ThemeSwitcherDocs";
|
|
8
|
-
import ApiClientDocs from "./ApiClientDocs";
|
|
9
8
|
import BadgeDocs from "./BadgeDocs";
|
|
10
9
|
export const DocsRouter = () => {
|
|
11
|
-
return (_jsxs(Routes, { children: [_jsx(Route, { path: "", element: _jsx(Navigate, { to: "button", replace: true }) }), _jsx(Route, { path: "button", element: _jsx(ButtonDocs, {}) }), _jsx(Route, { path: "badge", element: _jsx(BadgeDocs, {}) }), _jsx(Route, { path: "card", element: _jsx(CardDocs, {}) }), _jsx(Route, { path: "input", element: _jsx(InputDocs, {}) }), _jsx(Route, { path: "theme", element: _jsx(ThemeSwitcherDocs, {}) })
|
|
10
|
+
return (_jsxs(Routes, { children: [_jsx(Route, { path: "", element: _jsx(Navigate, { to: "button", replace: true }) }), _jsx(Route, { path: "button", element: _jsx(ButtonDocs, {}) }), _jsx(Route, { path: "badge", element: _jsx(BadgeDocs, {}) }), _jsx(Route, { path: "card", element: _jsx(CardDocs, {}) }), _jsx(Route, { path: "input", element: _jsx(InputDocs, {}) }), _jsx(Route, { path: "theme", element: _jsx(ThemeSwitcherDocs, {}) })] }));
|
|
12
11
|
};
|
|
13
12
|
export default DocsRouter;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -3,9 +3,4 @@ export { useGlobalThemeStyles } from "./useGlobalThemeStyles";
|
|
|
3
3
|
export { useBreakpoint } from "./useBreakpoint";
|
|
4
4
|
export { useElementScroll } from "./useElementScroll";
|
|
5
5
|
export type { Breakpoint, WindowSize, BreakpointInfo } from "./useBreakpoint";
|
|
6
|
-
export { useApi } from "./useApi";
|
|
7
|
-
export type { UseApiOptions, UseApiResult } from "./useApi";
|
|
8
|
-
export { invalidateQueries } from "./useApi";
|
|
9
|
-
export { useApiMutation } from "./useApiMutation";
|
|
10
|
-
export type { UseApiMutationOptions, UseApiMutationResult, } from "./useApiMutation";
|
|
11
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -2,6 +2,3 @@ export { useThemeOverride, useTemporaryOverride } from "./useThemeOverride";
|
|
|
2
2
|
export { useGlobalThemeStyles } from "./useGlobalThemeStyles";
|
|
3
3
|
export { useBreakpoint } from "./useBreakpoint";
|
|
4
4
|
export { useElementScroll } from "./useElementScroll";
|
|
5
|
-
export { useApi } from "./useApi";
|
|
6
|
-
export { invalidateQueries } from "./useApi";
|
|
7
|
-
export { useApiMutation } from "./useApiMutation";
|