infinity-forge 0.20.9 → 0.21.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.
@@ -1,2 +1,2 @@
1
1
  import { IPageWrapper } from './interfaces.js';
2
- export declare function PageWrapper({ title, children }: IPageWrapper): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PageWrapper({ title, children, breadCrumb }: IPageWrapper): import("react/jsx-runtime").JSX.Element;
@@ -28,8 +28,8 @@ var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var ui_1 = require("../../../../../ui/index.js");
29
29
  var S = __importStar(require("./styles.js"));
30
30
  function PageWrapper(_a) {
31
- var title = _a.title, children = _a.children;
32
- return ((0, jsx_runtime_1.jsxs)(S.PageWrapper, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'header', children: [(0, jsx_runtime_1.jsx)("h1", { className: 'font-24-bold-lexend', children: title }), (0, jsx_runtime_1.jsx)(ui_1.Breadcrumb, {})] }), children] }));
31
+ var title = _a.title, children = _a.children, breadCrumb = _a.breadCrumb;
32
+ return ((0, jsx_runtime_1.jsxs)(S.PageWrapper, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'header', children: [(0, jsx_runtime_1.jsx)("h1", { className: 'font-24-bold-lexend', children: title }), (0, jsx_runtime_1.jsx)(ui_1.Breadcrumb, { links: breadCrumb })] }), children] }));
33
33
  }
34
34
  exports.PageWrapper = PageWrapper;
35
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/page-wrapper/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAiC;AAIjC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAAiC;QAA/B,KAAK,WAAA,EAAE,QAAQ,cAAA;IAC3C,OAAO,CACL,wBAAC,CAAC,CAAC,WAAW,eACZ,iCAAK,SAAS,EAAC,QAAQ,aACrB,+BAAI,SAAS,EAAC,qBAAqB,YAAE,KAAK,GAAM,EAEhD,uBAAC,eAAU,KAAG,IACV,EAEL,QAAQ,IACK,CACjB,CAAA;AACH,CAAC;AAZD,kCAYC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/page-wrapper/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAiC;AAIjC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAA6C;QAA3C,KAAK,WAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA;IACvD,OAAO,CACL,wBAAC,CAAC,CAAC,WAAW,eACZ,iCAAK,SAAS,EAAC,QAAQ,aACrB,+BAAI,SAAS,EAAC,qBAAqB,YAAE,KAAK,GAAM,EAEhD,uBAAC,eAAU,IAAC,KAAK,EAAE,UAAU,GAAI,IAC7B,EAEL,QAAQ,IACK,CACjB,CAAA;AACH,CAAC;AAZD,kCAYC"}
@@ -1,5 +1,7 @@
1
+ import { IBreadCrumbShape } from '../../../../../ui/components/breadcrumb/interfaces.js';
1
2
  import { ReactNode } from 'react';
2
3
  export interface IPageWrapper {
3
4
  title: string;
4
5
  children: ReactNode;
6
+ breadCrumb?: IBreadCrumbShape[];
5
7
  }
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SelectWorkSpace = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.SelectWorkSpace = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [class*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [class*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
12
+ exports.SelectWorkSpace = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
13
13
  var templateObject_1;
14
14
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,8rCAAA,2nCAiExC,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,2rCAAA,wnCAiExC,KAAA"}
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
+ export interface IBreadCrumbShape {
3
+ icon?: JSX.Element;
4
+ text: string;
5
+ href?: string;
6
+ }
2
7
  export interface IBreadcrumbProps {
3
- links?: {
4
- icon?: JSX.Element;
5
- text: string;
6
- href?: string;
7
- }[];
8
+ links?: IBreadCrumbShape[];
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.20.9",
3
+ "version": "0.21.1",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",