infinity-forge 0.39.1 → 0.40.0
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/system/presentation/components/data/tab/component.d.ts +1 -1
- package/dist/system/presentation/components/data/tab/component.js +28 -1
- package/dist/system/presentation/components/data/tab/component.js.map +1 -1
- package/dist/system/presentation/context/container.js +2 -1
- package/dist/system/presentation/context/container.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITabProps } from
|
|
1
|
+
import { ITabProps } from "./interfaces.js";
|
|
2
2
|
export declare function Tab({ tabs }: ITabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
26
|
exports.Tab = void 0;
|
|
4
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var react_1 = require("@nextui-org/react");
|
|
5
29
|
var ui_1 = require("../../../../../ui/index.js");
|
|
30
|
+
var S = __importStar(require("./styles.js"));
|
|
6
31
|
function Tab(_a) {
|
|
7
32
|
var tabs = _a.tabs;
|
|
8
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name:
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: "Tab", children: (0, jsx_runtime_1.jsx)(S.Tab, { children: (0, jsx_runtime_1.jsx)(react_1.Tabs, { children: tabs.map(function (tab) {
|
|
34
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Tab, { title: (0, jsx_runtime_1.jsx)("div", { className: "flex items-center space-x-2", children: (0, jsx_runtime_1.jsx)("span", { children: tab.title }) }), children: (0, jsx_runtime_1.jsx)("div", { className: "content", children: tab.content }) }, tab.key));
|
|
35
|
+
}) }) }) }));
|
|
9
36
|
}
|
|
10
37
|
exports.Tab = Tab;
|
|
11
38
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAyD;AACzD,2BAA6B;AAI7B,0CAA8B;AAE9B,SAAgB,GAAG,CAAC,EAAmB;QAAjB,IAAI,UAAA;IACxB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,KAAK,YACf,uBAAC,CAAC,CAAC,GAAG,cACJ,uBAAC,YAAI,cACF,IAAI,CAAC,GAAG,CAAC,UAAC,GAAG;oBACZ,OAAO,CACL,uBAAC,WAAO,IAEN,KAAK,EACH,gCAAK,SAAS,EAAC,6BAA6B,YAC1C,2CAAO,GAAG,CAAC,KAAK,GAAQ,GACpB,YAGR,gCAAK,SAAS,EAAC,SAAS,YAAE,GAAG,CAAC,OAAO,GAAO,IAPvC,GAAG,CAAC,GAAG,CAQJ,CACX,CAAC;gBACJ,CAAC,CAAC,GACG,GACD,GACF,CACT,CAAC;AACJ,CAAC;AAvBD,kBAuBC"}
|
|
@@ -13,13 +13,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.InfinityForgeProviders = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_1 = require("@nextui-org/react");
|
|
16
17
|
var ui_1 = require("../../../ui/index.js");
|
|
17
18
|
var auth_1 = require("./auth/index.js");
|
|
18
19
|
var infra_injection_1 = require("./infra-injection/index.js");
|
|
19
20
|
var theme_1 = require("./theme/index.js");
|
|
20
21
|
function InfinityForgeProviders(_a) {
|
|
21
22
|
var auth = _a.auth, toast = _a.toast, theme = _a.theme, children = _a.children, InjectedRemotes = _a.InjectedRemotes, Configurations = _a.Configurations;
|
|
22
|
-
return ((0, jsx_runtime_1.jsx)(infra_injection_1.InfraInjectionProvider, { InjectedRemotes: InjectedRemotes, Configurations: Configurations, children: (0, jsx_runtime_1.jsx)(auth_1.AuthAdminProvider, __assign({}, auth, { children: (0, jsx_runtime_1.jsx)(theme_1.ThemeProvider, { theme: theme, children: (0, jsx_runtime_1.jsx)(ui_1.ToastProvider, { toast: toast, children: children }) }) })) }));
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(react_1.NextUIProvider, { children: (0, jsx_runtime_1.jsx)(infra_injection_1.InfraInjectionProvider, { InjectedRemotes: InjectedRemotes, Configurations: Configurations, children: (0, jsx_runtime_1.jsx)(auth_1.AuthAdminProvider, __assign({}, auth, { children: (0, jsx_runtime_1.jsx)(theme_1.ThemeProvider, { theme: theme, children: (0, jsx_runtime_1.jsx)(ui_1.ToastProvider, { toast: toast, children: children }) }) })) }) }));
|
|
23
24
|
}
|
|
24
25
|
exports.InfinityForgeProviders = InfinityForgeProviders;
|
|
25
26
|
//# sourceMappingURL=container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../../src/system/presentation/context/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../../src/system/presentation/context/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmD;AAEnD,2BAAoC;AACpC,+BAAkE;AAClE,qDAAqF;AACrF,iCAAkE;AAElE,SAAgB,sBAAsB,CAAC,EAYwB;QAX7D,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,eAAe,qBAAA,EACf,cAAc,oBAAA;IAOd,OAAO,CACL,uBAAC,sBAAc,cACb,uBAAC,wCAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,YACtF,uBAAC,wBAAiB,eAAK,IAAI,cACzB,uBAAC,qBAAa,IAAC,KAAK,EAAE,KAAK,YACzB,uBAAC,kBAAa,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAiB,GACzC,IACE,GACG,GACV,CAElB,CAAA;AACH,CAAC;AAzBD,wDAyBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infinity-forge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "codie Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ckeditor/ckeditor5-react": "^6.3.0",
|
|
47
47
|
"@internationalized/date": "^3.5.3",
|
|
48
|
+
"@nextui-org/react": "^2.3.6",
|
|
48
49
|
"@react-aria/i18n": "^3.11.0",
|
|
49
50
|
"aos": "^2.3.4",
|
|
50
51
|
"axios": "^1.4.0",
|