infinity-forge 0.35.0 → 0.35.2
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/layout/header/index.js +1 -3
- package/dist/system/presentation/components/layout/header/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.js +2 -2
- package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -1
- package/dist/system/presentation/components/layout/interfaces.d.ts +5 -1
- package/dist/system/presentation/components/layout/menu/index.js +1 -3
- package/dist/system/presentation/components/layout/menu/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/styles.js +1 -1
- package/dist/ui/components/form/input-date-picker/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -17,9 +17,7 @@ var version_01_1 = require("./version-01/index.js");
|
|
|
17
17
|
function Header(props) {
|
|
18
18
|
var type = 'version01';
|
|
19
19
|
switch (type) {
|
|
20
|
-
|
|
21
|
-
return (0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, __assign({}, props));
|
|
22
|
-
default: (0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, __assign({}, props));
|
|
20
|
+
default: return (0, jsx_runtime_1.jsx)(version_01_1.HeaderVersion01, __assign({}, props));
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
exports.Header = Header;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/header/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAA8C;AAE9C,SAAgB,MAAM,CAAC,KAAc;IACnC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/header/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAA8C;AAE9C,SAAgB,MAAM,CAAC,KAAc;IACnC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,OAAO,CAAC,CAAC,OAAO,uBAAC,4BAAe,eAAK,KAAK,EAAI,CAAA;IAChD,CAAC;AACH,CAAC;AAND,wBAMC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ILayout } from '../../interfaces.js';
|
|
2
|
-
export declare function HeaderVersion01({ workspaces, fixedSidebar }: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function HeaderVersion01({ workspaces, fixedSidebar, logo }: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,8 +34,8 @@ var data_1 = require("../../../data/index.js");
|
|
|
34
34
|
var components_1 = require("../components/index.js");
|
|
35
35
|
var S = __importStar(require("./styles.js"));
|
|
36
36
|
function HeaderVersion01(_a) {
|
|
37
|
-
var workspaces = _a.workspaces, fixedSidebar = _a.fixedSidebar;
|
|
38
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', "$hasSidebarButton": fixedSidebar, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: '/', children: (0, jsx_runtime_1.jsx)("img", { src: '/images/logo.png', alt: 'header-logo' }) }) }), fixedSidebar && (0, jsx_runtime_1.jsx)(data_1.SideBarButton, {})] }), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(0, jsx_runtime_1.jsx)(components_1.SearchModal, {}), (0, jsx_runtime_1.jsx)(components_1.MenuRight, { workspaces: workspaces })] })] }) }) }));
|
|
37
|
+
var workspaces = _a.workspaces, fixedSidebar = _a.fixedSidebar, logo = _a.logo;
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', "$hasSidebarButton": fixedSidebar, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: logo.href || '/', children: (0, jsx_runtime_1.jsx)("img", { src: logo.src || '/images/logo.png', alt: 'header-logo' }) }) }), fixedSidebar && (0, jsx_runtime_1.jsx)(data_1.SideBarButton, {})] }), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(0, jsx_runtime_1.jsx)(components_1.SearchModal, {}), (0, jsx_runtime_1.jsx)(components_1.MenuRight, { workspaces: workspaces })] })] }) }) }));
|
|
39
39
|
}
|
|
40
40
|
exports.HeaderVersion01 = HeaderVersion01;
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,sCAA6C;AAC7C,4CAAsD;AAItD,0CAA6B;AAE7B,SAAgB,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,sCAA6C;AAC7C,4CAAsD;AAItD,0CAA6B;AAE7B,SAAgB,eAAe,CAAC,EAA2C;QAAzC,UAAU,gBAAA,EAAE,YAAY,kBAAA,EAAE,IAAI,UAAA;IAC9D,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,CAAC,CAAC,eAAe,IAAC,EAAE,EAAC,QAAQ,uBAAoB,YAAY,YAC5D,wBAAC,cAAS,eACR,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,cAAc,YAC3B,uBAAC,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG,YAC3C,gCAAK,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,kBAAkB,EAAE,GAAG,EAAC,aAAa,GAAG,GACzD,GACH,EAEL,YAAY,IAAI,uBAAC,oBAAa,KAAG,IAC9B,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,wBAAW,KAAG,EAEf,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,IACjC,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AAxBD,0CAwBC"}
|
|
@@ -3,6 +3,10 @@ import { WorkSpace } from '../data/select-workspace/interfaces.js';
|
|
|
3
3
|
export interface ILayout {
|
|
4
4
|
workspaces?: WorkSpace;
|
|
5
5
|
fixedSidebar?: boolean;
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
isInteralMenu?: boolean;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
logo?: {
|
|
9
|
+
src?: string;
|
|
10
|
+
href?: string;
|
|
11
|
+
};
|
|
8
12
|
}
|
|
@@ -17,9 +17,7 @@ var version_01_1 = require("./version-01/index.js");
|
|
|
17
17
|
function SideBarMenu(props) {
|
|
18
18
|
var type = 'version01';
|
|
19
19
|
switch (type) {
|
|
20
|
-
|
|
21
|
-
return (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
22
|
-
default: (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
20
|
+
default: return (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
exports.SideBarMenu = SideBarMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAAmD;AAEnD,SAAgB,WAAW,CAAC,KAAc;IACxC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAAmD;AAEnD,SAAgB,WAAW,CAAC,KAAc;IACxC,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,OAAO,CAAC,CAAC,OAAO,uBAAC,iCAAoB,eAAK,KAAK,EAAI,CAAA;IACrD,CAAC;AACH,CAAC;AAND,kCAMC"}
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.InputDatePicker = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.InputDatePicker = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .date_picker_container {\n position: relative;\n border-radius: 4px;\n background-color: #000;\n\n > svg {\n top: 50%;\n transform: translateY(-50%);\n position: absolute;\n z-index: 1;\n left: 7px;\n width: 17px;\n height: auto;\n fill: #fff;\n }\n\n > svg + .react-datepicker-wrapper {\n
|
|
12
|
+
exports.InputDatePicker = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .date_picker_container {\n position: relative;\n border-radius: 4px;\n background-color: #000;\n\n > svg {\n top: 50%;\n transform: translateY(-50%);\n position: absolute;\n z-index: 1;\n left: 7px;\n width: 17px;\n height: auto;\n fill: #fff;\n }\n\n > svg + .react-datepicker-wrapper {\n position: relative;\n z-index: 2;\n }\n\n .react-datepicker-wrapper {\n width: 100%;\n\n input {\n border: 0;\n color: #ffff;\n padding-left: 30px;\n\n background-color: transparent;\n }\n }\n\n .react-datepicker-popper {\n width: 100%;\n max-width: 400px;\n .react-datepicker__month-wrapper {\n display: flex;\n\n .react-datepicker__month-text {\n width: 100%;\n height: 25px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 13px;\n }\n }\n\n .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n }\n\n .react-datepicker__header {\n background-color: #fff;\n }\n\n .react-datepicker {\n width: 100%;\n\n .react-datepicker__month-container {\n width: 100%;\n }\n\n .react-datepicker-year-header {\n font-size: 15px;\n width: 100%;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n transition: 0.2s;\n\n &:hover {\n background-color: #cccccc47;\n transition: 0.2s;\n }\n }\n\n .react-datepicker__navigation-icon--next::before {\n left: -2px;\n }\n\n .react-datepicker__navigation-icon--previous::before {\n right: -2px;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon::before {\n border-color: #111;\n border-style: solid;\n border-width: 2px 2px 0 0;\n height: 8px;\n top: 8px;\n width: 8px;\n }\n }\n }\n }\n\n input.react-datepicker-ignore-onclickoutside {\n background-color: #ffff;\n color: #2b2b2b;\n }\n"], ["\n .date_picker_container {\n position: relative;\n border-radius: 4px;\n background-color: #000;\n\n > svg {\n top: 50%;\n transform: translateY(-50%);\n position: absolute;\n z-index: 1;\n left: 7px;\n width: 17px;\n height: auto;\n fill: #fff;\n }\n\n > svg + .react-datepicker-wrapper {\n position: relative;\n z-index: 2;\n }\n\n .react-datepicker-wrapper {\n width: 100%;\n\n input {\n border: 0;\n color: #ffff;\n padding-left: 30px;\n\n background-color: transparent;\n }\n }\n\n .react-datepicker-popper {\n width: 100%;\n max-width: 400px;\n .react-datepicker__month-wrapper {\n display: flex;\n\n .react-datepicker__month-text {\n width: 100%;\n height: 25px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 13px;\n }\n }\n\n .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n }\n\n .react-datepicker__header {\n background-color: #fff;\n }\n\n .react-datepicker {\n width: 100%;\n\n .react-datepicker__month-container {\n width: 100%;\n }\n\n .react-datepicker-year-header {\n font-size: 15px;\n width: 100%;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n transition: 0.2s;\n\n &:hover {\n background-color: #cccccc47;\n transition: 0.2s;\n }\n }\n\n .react-datepicker__navigation-icon--next::before {\n left: -2px;\n }\n\n .react-datepicker__navigation-icon--previous::before {\n right: -2px;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon::before {\n border-color: #111;\n border-style: solid;\n border-width: 2px 2px 0 0;\n height: 8px;\n top: 8px;\n width: 8px;\n }\n }\n }\n }\n\n input.react-datepicker-ignore-onclickoutside {\n background-color: #ffff;\n color: #2b2b2b;\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-date-picker/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-date-picker/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,i5EAAA,80EA4G3C,KAAA"}
|