@kingteza/crud-component 1.0.55 → 1.0.56
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/hooks/NavigatorHooks.cjs.js +1 -0
- package/hooks/NavigatorHooks.d.ts +1 -0
- package/hooks/NavigatorHooks.es.js +8 -0
- package/icons/FlipHIcon.cjs.js +1 -0
- package/icons/FlipHIcon.d.ts +3 -0
- package/icons/FlipHIcon.es.js +28 -0
- package/icons/FlipVIcon.cjs.js +1 -0
- package/icons/FlipVIcon.d.ts +3 -0
- package/icons/FlipVIcon.es.js +28 -0
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react-router-dom");function t(){if(e.useInRouterContext())return e.useNavigate()}exports.useNavigateOptional=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useNavigateOptional(): import('react-router-dom').NavigateFunction | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),n=require("../common/icon/KIcon.cjs.js");function s(i){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...i,children:t.jsxs("g",{fill:i.fill,children:[t.jsx("path",{fillOpacity:.5,d:"M18 7a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-3v2h3a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3h-3v2z"}),t.jsx("path",{d:"M13 3h-2v18h2zM5 8a1 1 0 0 1 1-1h3V5H6a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h3v-2H6a1 1 0 0 1-1-1z"})]})})}const h=s,e=i=>t.jsx(n,{component:h,...i});module.exports=e;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as h, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import n from "../common/icon/KIcon.es.js";
|
|
3
|
+
function o(t) {
|
|
4
|
+
return /* @__PURE__ */ h(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
...t,
|
|
12
|
+
children: /* @__PURE__ */ i("g", { fill: t.fill, children: [
|
|
13
|
+
/* @__PURE__ */ h(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fillOpacity: 0.5,
|
|
17
|
+
d: "M18 7a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-3v2h3a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3h-3v2z"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ h("path", { d: "M13 3h-2v18h2zM5 8a1 1 0 0 1 1-1h3V5H6a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h3v-2H6a1 1 0 0 1-1-1z" })
|
|
21
|
+
] })
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
const a = o, c = (t) => /* @__PURE__ */ h(n, { component: a, ...t });
|
|
26
|
+
export {
|
|
27
|
+
c as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),n=require("../common/icon/KIcon.cjs.js");function s(i){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...i,children:t.jsxs("g",{fill:i.fill,children:[t.jsx("path",{fillOpacity:.5,d:"M17 18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-3H5v3a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-3h-2z"}),t.jsx("path",{d:"M16 5a1 1 0 0 1 1 1v3h2V6a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v3h2V6a1 1 0 0 1 1-1zm5 8v-2H3v2z"})]})})}const e=s,c=i=>t.jsx(n,{component:e,...i});module.exports=c;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as i, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import o from "../common/icon/KIcon.es.js";
|
|
3
|
+
function a(t) {
|
|
4
|
+
return /* @__PURE__ */ i(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
...t,
|
|
12
|
+
children: /* @__PURE__ */ n("g", { fill: t.fill, children: [
|
|
13
|
+
/* @__PURE__ */ i(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fillOpacity: 0.5,
|
|
17
|
+
d: "M17 18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-3H5v3a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-3h-2z"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ i("path", { d: "M16 5a1 1 0 0 1 1 1v3h2V6a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v3h2V6a1 1 0 0 1 1-1zm5 8v-2H3v2z" })
|
|
21
|
+
] })
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
const h = a, c = (t) => /* @__PURE__ */ i(o, { component: h, ...t });
|
|
26
|
+
export {
|
|
27
|
+
c as default
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kingteza/crud-component",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.56",
|
|
5
5
|
"description": "React CRUD component library with Ant Design",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -25,8 +25,9 @@
|
|
|
25
25
|
"/crud/",
|
|
26
26
|
"/common/",
|
|
27
27
|
"/types/",
|
|
28
|
+
"/icons/",
|
|
29
|
+
"/hooks/",
|
|
28
30
|
"/util/",
|
|
29
|
-
"/_virtual/",
|
|
30
31
|
"/locale/",
|
|
31
32
|
"/README.md"
|
|
32
33
|
],
|