@dgui/react-shared 1.3.0-beta.1 → 1.4.0-next.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/Contexts/DrawerContext.d.ts +2 -2
- package/dist/Contexts/DrawerContext.js +4 -4
- package/dist/Contexts/DrawerContext.js.map +1 -1
- package/dist/Contexts/DrawerToggleContext.d.ts +2 -2
- package/dist/Contexts/DrawerToggleContext.js +4 -3
- package/dist/Contexts/DrawerToggleContext.js.map +1 -1
- package/dist/Hooks/index.d.ts +8 -0
- package/dist/Hooks/index.js +8 -0
- package/dist/Hooks/index.js.map +1 -1
- package/dist/Hooks/useAddDrawer.d.ts +2 -0
- package/dist/Hooks/useAddDrawer.js +11 -0
- package/dist/Hooks/useAddDrawer.js.map +1 -0
- package/dist/Hooks/useAddTab.d.ts +2 -0
- package/dist/Hooks/useAddTab.js +11 -0
- package/dist/Hooks/useAddTab.js.map +1 -0
- package/dist/Hooks/useDrawerOpen.d.ts +2 -0
- package/dist/Hooks/useDrawerOpen.js +11 -0
- package/dist/Hooks/useDrawerOpen.js.map +1 -0
- package/dist/Hooks/useDrawerOrder.d.ts +2 -0
- package/dist/Hooks/useDrawerOrder.js +11 -0
- package/dist/Hooks/useDrawerOrder.js.map +1 -0
- package/dist/Hooks/useDrawers.d.ts +4 -0
- package/dist/Hooks/useDrawers.js +11 -0
- package/dist/Hooks/useDrawers.js.map +1 -0
- package/dist/Hooks/useRemoveDrawer.d.ts +2 -0
- package/dist/Hooks/useRemoveDrawer.js +11 -0
- package/dist/Hooks/useRemoveDrawer.js.map +1 -0
- package/dist/Hooks/useRemoveTab.d.ts +2 -0
- package/dist/Hooks/useRemoveTab.js +11 -0
- package/dist/Hooks/useRemoveTab.js.map +1 -0
- package/dist/Hooks/useSelectedTabID.d.ts +2 -0
- package/dist/Hooks/useSelectedTabID.js +13 -0
- package/dist/Hooks/useSelectedTabID.js.map +1 -0
- package/dist/Providers/DrawerProvider.js +2 -2
- package/dist/Providers/DrawerProvider.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type DrawerContextProps } from '../Types';
|
|
3
|
-
declare const
|
|
3
|
+
declare const drawerDefaults: DrawerContextProps;
|
|
4
4
|
declare const DrawerContext: import("react").Context<DrawerContextProps>;
|
|
5
|
-
export { DrawerContext,
|
|
5
|
+
export { DrawerContext, drawerDefaults };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.drawerDefaults = exports.DrawerContext = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const drawerDefaults = {
|
|
6
6
|
addDrawer: () => { },
|
|
7
7
|
drawerOrder: [],
|
|
8
8
|
drawers: {},
|
|
9
9
|
removeDrawer: () => { }
|
|
10
10
|
};
|
|
11
|
-
exports.
|
|
12
|
-
const DrawerContext = (0, react_1.createContext)(
|
|
11
|
+
exports.drawerDefaults = drawerDefaults;
|
|
12
|
+
const DrawerContext = (0, react_1.createContext)(drawerDefaults);
|
|
13
13
|
exports.DrawerContext = DrawerContext;
|
|
14
14
|
DrawerContext.displayName = 'DrawerContext';
|
|
15
15
|
//# sourceMappingURL=DrawerContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContext.js","sourceRoot":"","sources":["../../src/Contexts/DrawerContext.ts"],"names":[],"mappings":";;;AAGA,iCAEe;AAEf,MAAM,
|
|
1
|
+
{"version":3,"file":"DrawerContext.js","sourceRoot":"","sources":["../../src/Contexts/DrawerContext.ts"],"names":[],"mappings":";;;AAGA,iCAEe;AAEf,MAAM,cAAc,GAAuB;IAC1C,SAAS,EAAE,GAAG,EAAE,GAAE,CAAC;IACnB,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,EAAE;IACX,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;CACtB,CAAC;AAQD,wCAAc;AANf,MAAM,aAAa,GAAG,IAAA,qBAAa,EAAqB,cAAc,CAAC,CAAC;AAKvE,sCAAa;AAHd,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type DrawerToggleContextProps } from '../Types';
|
|
3
|
-
|
|
3
|
+
declare const drawerToggleDefaults: DrawerToggleContextProps;
|
|
4
4
|
declare const DrawerToggleContext: import("react").Context<DrawerToggleContextProps>;
|
|
5
|
-
export { DrawerToggleContext };
|
|
5
|
+
export { DrawerToggleContext, drawerToggleDefaults };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.drawerToggleDefaults = exports.DrawerToggleContext = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
|
|
5
|
+
const drawerToggleDefaults = {
|
|
6
6
|
drawerOpen: false,
|
|
7
7
|
toggleDrawer: () => { }
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
exports.drawerToggleDefaults = drawerToggleDefaults;
|
|
10
|
+
const DrawerToggleContext = (0, react_1.createContext)(drawerToggleDefaults);
|
|
10
11
|
exports.DrawerToggleContext = DrawerToggleContext;
|
|
11
12
|
DrawerToggleContext.displayName = 'DrawerToggleContext';
|
|
12
13
|
//# sourceMappingURL=DrawerToggleContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerToggleContext.js","sourceRoot":"","sources":["../../src/Contexts/DrawerToggleContext.ts"],"names":[],"mappings":";;;AAGA,iCAEe;
|
|
1
|
+
{"version":3,"file":"DrawerToggleContext.js","sourceRoot":"","sources":["../../src/Contexts/DrawerToggleContext.ts"],"names":[],"mappings":";;;AAGA,iCAEe;AAEf,MAAM,oBAAoB,GAA6B;IACtD,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;CACtB,CAAC;AAQD,oDAAoB;AANrB,MAAM,mBAAmB,GAAG,IAAA,qBAAa,EAA2B,oBAAoB,CAAC,CAAC;AAKzF,kDAAmB;AAHpB,mBAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC"}
|
package/dist/Hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
export * from './useAddDrawer';
|
|
2
|
+
export * from './useAddTab';
|
|
1
3
|
export * from './useDrawerIndex';
|
|
4
|
+
export * from './useDrawerOpen';
|
|
5
|
+
export * from './useDrawerOrder';
|
|
6
|
+
export * from './useDrawers';
|
|
2
7
|
export * from './useDrawerStatus';
|
|
8
|
+
export * from './useRemoveDrawer';
|
|
9
|
+
export * from './useRemoveTab';
|
|
3
10
|
export * from './useSelectDrawer';
|
|
11
|
+
export * from './useSelectedTabID';
|
|
4
12
|
export * from './useSelectTab';
|
|
5
13
|
export * from './useTabIndex';
|
|
6
14
|
export * from './useTabOrder';
|
package/dist/Hooks/index.js
CHANGED
|
@@ -14,9 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./useAddDrawer"), exports);
|
|
18
|
+
__exportStar(require("./useAddTab"), exports);
|
|
17
19
|
__exportStar(require("./useDrawerIndex"), exports);
|
|
20
|
+
__exportStar(require("./useDrawerOpen"), exports);
|
|
21
|
+
__exportStar(require("./useDrawerOrder"), exports);
|
|
22
|
+
__exportStar(require("./useDrawers"), exports);
|
|
18
23
|
__exportStar(require("./useDrawerStatus"), exports);
|
|
24
|
+
__exportStar(require("./useRemoveDrawer"), exports);
|
|
25
|
+
__exportStar(require("./useRemoveTab"), exports);
|
|
19
26
|
__exportStar(require("./useSelectDrawer"), exports);
|
|
27
|
+
__exportStar(require("./useSelectedTabID"), exports);
|
|
20
28
|
__exportStar(require("./useSelectTab"), exports);
|
|
21
29
|
__exportStar(require("./useTabIndex"), exports);
|
|
22
30
|
__exportStar(require("./useTabOrder"), exports);
|
package/dist/Hooks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,gDAA8B;AAC9B,gDAA8B;AAC9B,4CAA0B;AAC1B,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8CAA4B;AAC5B,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,+CAA6B;AAC7B,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,iDAA+B;AAC/B,gDAA8B;AAC9B,gDAA8B;AAC9B,4CAA0B;AAC1B,oDAAkC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useAddDrawer = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const useAddDrawer = () => {
|
|
7
|
+
const { addDrawer } = (0, react_1.useContext)(Contexts_1.DrawerContext);
|
|
8
|
+
return addDrawer;
|
|
9
|
+
};
|
|
10
|
+
exports.useAddDrawer = useAddDrawer;
|
|
11
|
+
//# sourceMappingURL=useAddDrawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddDrawer.js","sourceRoot":"","sources":["../../src/Hooks/useAddDrawer.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAEf,MAAM,YAAY,GAAG,GAAG,EAAE;IACzB,MAAM,EACL,SAAS,EACT,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAE9B,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC;AAGD,oCAAY"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useAddTab = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const useAddTab = () => {
|
|
7
|
+
const { addTab } = (0, react_1.useContext)(Contexts_1.TabContext);
|
|
8
|
+
return addTab;
|
|
9
|
+
};
|
|
10
|
+
exports.useAddTab = useAddTab;
|
|
11
|
+
//# sourceMappingURL=useAddTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddTab.js","sourceRoot":"","sources":["../../src/Hooks/useAddTab.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAEf,MAAM,SAAS,GAAG,GAAG,EAAE;IACtB,MAAM,EACL,MAAM,EACN,GAAG,IAAA,kBAAU,EAAC,qBAAU,CAAC,CAAC;IAE3B,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAGD,8BAAS"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDrawerOpen = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
function useDrawerOpen() {
|
|
7
|
+
const { drawerOpen } = (0, react_1.useContext)(Contexts_1.DrawerToggleContext);
|
|
8
|
+
return drawerOpen;
|
|
9
|
+
}
|
|
10
|
+
exports.useDrawerOpen = useDrawerOpen;
|
|
11
|
+
//# sourceMappingURL=useDrawerOpen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrawerOpen.js","sourceRoot":"","sources":["../../src/Hooks/useDrawerOpen.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAGf,SAAS,aAAa;IACrB,MAAM,EACL,UAAU,EACV,GAAG,IAAA,kBAAU,EAAC,8BAAmB,CAAC,CAAC;IAEpC,OAAO,UAAU,CAAC;AACnB,CAAC;AAGA,sCAAa"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDrawerOrder = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const useDrawerOrder = () => {
|
|
7
|
+
const { drawerOrder } = (0, react_1.useContext)(Contexts_1.DrawerContext);
|
|
8
|
+
return drawerOrder;
|
|
9
|
+
};
|
|
10
|
+
exports.useDrawerOrder = useDrawerOrder;
|
|
11
|
+
//# sourceMappingURL=useDrawerOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrawerOrder.js","sourceRoot":"","sources":["../../src/Hooks/useDrawerOrder.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAEf,MAAM,cAAc,GAAG,GAAG,EAAE;IAC3B,MAAM,EACL,WAAW,EACX,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAE9B,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAGD,wCAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDrawers = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
function useDrawers() {
|
|
7
|
+
const { drawers } = (0, react_1.useContext)(Contexts_1.DrawerContext);
|
|
8
|
+
return drawers;
|
|
9
|
+
}
|
|
10
|
+
exports.useDrawers = useDrawers;
|
|
11
|
+
//# sourceMappingURL=useDrawers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrawers.js","sourceRoot":"","sources":["../../src/Hooks/useDrawers.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAGf,SAAS,UAAU;IAClB,MAAM,EACL,OAAO,EACP,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAE9B,OAAO,OAAO,CAAC;AAChB,CAAC;AAGA,gCAAU"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useRemoveDrawer = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const useRemoveDrawer = () => {
|
|
7
|
+
const { removeDrawer } = (0, react_1.useContext)(Contexts_1.DrawerContext);
|
|
8
|
+
return removeDrawer;
|
|
9
|
+
};
|
|
10
|
+
exports.useRemoveDrawer = useRemoveDrawer;
|
|
11
|
+
//# sourceMappingURL=useRemoveDrawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveDrawer.js","sourceRoot":"","sources":["../../src/Hooks/useRemoveDrawer.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAEf,MAAM,eAAe,GAAG,GAAG,EAAE;IAC5B,MAAM,EACL,YAAY,EACZ,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAE9B,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AAGD,0CAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useRemoveTab = void 0;
|
|
4
|
+
const Contexts_1 = require("../Contexts");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const useRemoveTab = () => {
|
|
7
|
+
const { removeTab } = (0, react_1.useContext)(Contexts_1.TabContext);
|
|
8
|
+
return removeTab;
|
|
9
|
+
};
|
|
10
|
+
exports.useRemoveTab = useRemoveTab;
|
|
11
|
+
//# sourceMappingURL=useRemoveTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveTab.js","sourceRoot":"","sources":["../../src/Hooks/useRemoveTab.ts"],"names":[],"mappings":";;;AAAA,0CAEqB;AACrB,iCAEe;AAEf,MAAM,YAAY,GAAG,GAAG,EAAE;IACzB,MAAM,EACL,SAAS,EACT,GAAG,IAAA,kBAAU,EAAC,qBAAU,CAAC,CAAC;IAE3B,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC;AAGD,oCAAY"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useSelectedTabID = void 0;
|
|
4
|
+
const useTabIndex_1 = require("./useTabIndex");
|
|
5
|
+
const useTabOrder_1 = require("./useTabOrder");
|
|
6
|
+
const useSelectedTabID = () => {
|
|
7
|
+
const tabOrder = (0, useTabOrder_1.useTabOrder)();
|
|
8
|
+
const tabIndex = (0, useTabIndex_1.useTabIndex)();
|
|
9
|
+
const selectedTabID = tabOrder[tabIndex];
|
|
10
|
+
return selectedTabID;
|
|
11
|
+
};
|
|
12
|
+
exports.useSelectedTabID = useSelectedTabID;
|
|
13
|
+
//# sourceMappingURL=useSelectedTabID.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSelectedTabID.js","sourceRoot":"","sources":["../../src/Hooks/useSelectedTabID.ts"],"names":[],"mappings":";;;AAAA,+CAEuB;AACvB,+CAEuB;AAEvB,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC7B,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAE/B,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEzC,OAAO,aAAa,CAAC;AACtB,CAAC,CAAC;AAGD,4CAAgB"}
|
|
@@ -15,8 +15,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
15
15
|
const Contexts_1 = require("../Contexts");
|
|
16
16
|
const react_1 = require("react");
|
|
17
17
|
const DrawerProvider = ({ children }) => {
|
|
18
|
-
const [drawers, setDrawers] = (0, react_1.useState)(Contexts_1.
|
|
19
|
-
const [drawerOrder, setDrawerOrder] = (0, react_1.useState)(Contexts_1.
|
|
18
|
+
const [drawers, setDrawers] = (0, react_1.useState)(Contexts_1.drawerDefaults.drawers);
|
|
19
|
+
const [drawerOrder, setDrawerOrder] = (0, react_1.useState)(Contexts_1.drawerDefaults.drawerOrder);
|
|
20
20
|
const addDrawer = (0, react_1.useCallback)((drawer, position) => {
|
|
21
21
|
const { drawerId, tabId } = drawer, restOfDrawer = __rest(drawer, ["drawerId", "tabId"]);
|
|
22
22
|
setDrawers((previousDrawers) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerProvider.js","sourceRoot":"","sources":["../../src/Providers/DrawerProvider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0CAGqB;AAIrB,iCAMe;AAEf,MAAM,cAAc,GAA2C,CAAC,EAC/D,QAAQ,EACR,EAAE,EAAE;IACJ,MAAM,CACL,OAAO,EACP,UAAU,CACV,GAAG,IAAA,gBAAQ,EAAC,
|
|
1
|
+
{"version":3,"file":"DrawerProvider.js","sourceRoot":"","sources":["../../src/Providers/DrawerProvider.tsx"],"names":[],"mappings":";;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D,CAAC;IACH,CAAC,EACD,EAAE,CACF,CAAC;IAEF,MAAM,KAAK,GAAG,IAAA,eAAO,EACpB,GAAG,EAAE;QACJ,OAAO;YACN,SAAS;YACT,WAAW;YACX,OAAO;YACP,YAAY;SACZ,CAAC;IACH,CAAC,EACD;QACC,SAAS;QACT,WAAW;QACX,OAAO;QACP,YAAY;KACZ,CACD,CAAC;IAEF,OAAO,CACN,uBAAC,wBAAa,CAAC,QAAQ,IACtB,KAAK,EAAE,KAAK,YAEX,QAAQ,GACe,CACzB,CAAC;AACH,CAAC,CAAC;AAEF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C,kBAAe,cAAc,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Contexts"), exports);
|
|
18
17
|
__exportStar(require("./Hooks"), exports);
|
|
19
18
|
__exportStar(require("./Providers"), exports);
|
|
20
19
|
__exportStar(require("./Types"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,8CAA4B;AAC5B,0CAAwB"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dgui/react-shared",
|
|
3
3
|
"title": "Digested React GUI Shared Components",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.4.0-next.1",
|
|
6
6
|
"private": false,
|
|
7
7
|
"description": "Shared Components for a boilerplate React GUI",
|
|
8
8
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"clean:dist": "rimraf dist"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@digest/eslint-config-jest": "^4.
|
|
46
|
-
"@digest/eslint-config-react": "^4.
|
|
47
|
-
"@digest/eslint-config-typescript": "^4.
|
|
48
|
-
"@digest/jest-junit": "^4.
|
|
49
|
-
"@digest/jest-react": "^4.
|
|
50
|
-
"@digest/jest-typescript": "^4.
|
|
51
|
-
"@digest/typescript": "^4.
|
|
45
|
+
"@digest/eslint-config-jest": "^4.4.2",
|
|
46
|
+
"@digest/eslint-config-react": "^4.4.2",
|
|
47
|
+
"@digest/eslint-config-typescript": "^4.4.2",
|
|
48
|
+
"@digest/jest-junit": "^4.4.2",
|
|
49
|
+
"@digest/jest-react": "^4.4.2",
|
|
50
|
+
"@digest/jest-typescript": "^4.4.2",
|
|
51
|
+
"@digest/typescript": "^4.4.2",
|
|
52
52
|
"@types/jest": "^29.5.12",
|
|
53
|
-
"@types/react": "^18.3.
|
|
53
|
+
"@types/react": "^18.3.3",
|
|
54
54
|
"@types/react-test-renderer": "^18.3.0",
|
|
55
55
|
"cross-env": "^7.0.3",
|
|
56
56
|
"jest-environment-jsdom": "^29.7.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"reactjs",
|
|
71
71
|
"typescript"
|
|
72
72
|
],
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "ba3621ba0e90f641430e2abbe34893c71ab9726c"
|
|
74
74
|
}
|