infinity-forge 4.0.4 → 4.0.5

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.
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.CollapsedMenu = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var styles_1 = require("../../styles.js");
13
- exports.CollapsedMenu = (0, styled_components_1.default)(styles_1.DefaultMenuStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 100%;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"], ["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 100%;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"])), function (props) { return props.theme.primaryColor; });
13
+ exports.CollapsedMenu = (0, styled_components_1.default)(styles_1.DefaultMenuStyle)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n padding: 8px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 100%;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"], ["\n padding: 41px 0 15px 0;\n z-index: 99;\n width: 65px;\n min-width: 65px;\n position: absolute;\n z-index: 2;\n left: 0;\n top: 0;\n\n .ghost {\n width: 65px;\n }\n\n &.open {\n width: 240px !important;\n transition: 0.3s;\n\n .expand {\n svg {\n transform: rotate(180deg);\n }\n }\n }\n\n .expand {\n position: absolute;\n top: 10px;\n right: -12px;\n padding: 8px;\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 56;\n\n svg {\n width: 100%;\n fill: #fff;\n height: auto;\n }\n }\n\n &:not(.open) > ul {\n > li {\n > span {\n grid-template-columns: 1fr !important;\n\n > div {\n width: fit-content;\n margin: auto;\n }\n\n a,\n .arrow {\n display: none;\n }\n }\n }\n\n ul {\n min-width: max-content;\n width: 240px;\n }\n }\n"])), function (props) { return props.theme.primaryColor; });
14
14
  var templateObject_1;
15
15
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/data/menu/modes/collapsed-menu/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AACtC,uCAA+C;AAElC,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,yBAAgB,CAAC,wlCAAA,+eAgC7B,EAAmC,oiBAoC1D,KApCuB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,EAAxB,CAAwB,EAoC1D"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/data/menu/modes/collapsed-menu/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AACtC,uCAA+C;AAElC,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,yBAAgB,CAAC,2mCAAA,kgBAiC7B,EAAmC,oiBAoC1D,KApCuB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,EAAxB,CAAwB,EAoC1D"}
@@ -46,7 +46,7 @@ function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro() {
46
46
  // const { data } = useQueryBackend({ url: '/Users', method: 'get' })
47
47
  return ((0, jsx_runtime_1.jsx)(system_1.Layout, { children: (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { initialData: { test: new Date(), range: { startDate: new Date() } }, button: { text: 'A' }, onSucess: function (data) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
48
48
  return [2 /*return*/, console.log(data)];
49
- }); }); }, children: [(0, jsx_runtime_1.jsx)(ui_1.DatePicker, { name: 'test', maxDate: new Date() }), (0, jsx_runtime_1.jsx)(ui_1.RangeDatePicker, { name: 'range' }), (0, jsx_runtime_1.jsx)(ui_1.InputColor, { name: 't' })] }) }));
49
+ }); }); }, children: [(0, jsx_runtime_1.jsx)(ui_1.DatePicker, { name: 'test', maxDate: new Date() }), (0, jsx_runtime_1.jsx)(ui_1.RangeDatePicker, { name: 'range' }), (0, jsx_runtime_1.jsx)(ui_1.InputColor, { name: 't', label: 'cor' })] }) }));
50
50
  }
51
51
  exports.NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro = NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro;
52
52
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2BAAsG;AACtG,mCAAiC;AACjC,SAAgB,8CAA8C;IAC5D,sDAAsD;IADxD,iBAoBC;IAjBC,qEAAqE;IAErE,OAAO,CACL,uBAAC,eAAM,cACL,wBAAC,gBAAW,IACV,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,EACnE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,UAAO,IAAI;gBAAK,sBAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAA;qBAAA,aAG3C,uBAAC,eAAU,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,IAAI,EAAE,GAAI,EAE/C,uBAAC,oBAAe,IAAC,IAAI,EAAC,OAAO,GAAG,EAChC,uBAAC,eAAU,IAAC,IAAI,EAAC,GAAG,GAAG,IACX,GACP,CACV,CAAA;AACH,CAAC;AApBD,wGAoBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2BAAsG;AACtG,mCAAiC;AACjC,SAAgB,8CAA8C;IAC5D,sDAAsD;IADxD,iBAoBC;IAjBC,qEAAqE;IAErE,OAAO,CACL,uBAAC,eAAM,cACL,wBAAC,gBAAW,IACV,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,EACnE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,UAAO,IAAI;gBAAK,sBAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAA;qBAAA,aAG3C,uBAAC,eAAU,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,IAAI,IAAI,EAAE,GAAI,EAE/C,uBAAC,oBAAe,IAAC,IAAI,EAAC,OAAO,GAAG,EAChC,uBAAC,eAAU,IAAC,IAAI,EAAC,GAAG,EAAC,KAAK,EAAC,KAAK,GAAG,IACvB,GACP,CACV,CAAA;AACH,CAAC;AApBD,wGAoBC"}
@@ -52,9 +52,9 @@ function InputColor(props) {
52
52
  helpers.setValue('#000');
53
53
  }
54
54
  }, [field.value]);
55
- return ((0, jsx_runtime_1.jsx)(S.InputColor, { children: (0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, { position: (props === null || props === void 0 ? void 0 : props.position) || 'right-center', idTooltip: 'tooltip-color', content: (0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(react_input_color_lib_1.default, __assign({}, props, { color: field.value, onChange: function (ev) {
55
+ return ((0, jsx_runtime_1.jsx)(S.InputColor, { children: (0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, { position: (props === null || props === void 0 ? void 0 : props.position) || 'right-center', idTooltip: 'tooltip-color', content: (0, jsx_runtime_1.jsx)(react_input_color_lib_1.default, __assign({}, props, { color: field.value, onChange: function (ev) {
56
56
  helpers.setValue(ev === null || ev === void 0 ? void 0 : ev.hex);
57
- } })) })), trigger: (0, jsx_runtime_1.jsx)("label", { className: 'label-color', style: { background: field === null || field === void 0 ? void 0 : field.value } }) }) }));
57
+ } })), trigger: (0, jsx_runtime_1.jsx)("label", { className: 'label-color', style: { background: field === null || field === void 0 ? void 0 : field.value } }) }) })) }));
58
58
  }
59
59
  exports.InputColor = InputColor;
60
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-color/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAiC;AAEjC,iCAAiC;AAEjC,yCAAuC;AACvC,kDAA+C;AAC/C,kFAAmD;AAInD,0CAA6B;AAE7B,SAAgB,UAAU,CAAC,KAAsB;IACzC,IAAA,KAAsB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAnD,KAAK,QAAA,EAAE,CAAC,QAAA,EAAE,OAAO,QAAkC,CAAA;IAE1D,IAAA,iBAAS,EAAC;QACR,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IAEjB,OAAO,CACL,uBAAC,CAAC,CAAC,UAAU,cACX,uBAAC,iBAAO,IACN,QAAQ,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,KAAI,cAAc,EAC3C,SAAS,EAAC,eAAe,EACzB,OAAO,EACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,uBAAC,+BAAa,eACR,KAAK,IACT,KAAK,EAAE,KAAK,CAAC,KAAK,EA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AAC,EAAE;wBACX,OAAO,CAAC,QAAQ,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,GAAG,CAAC,CAAA;oBAC3B,CAAC,IACD,EAEJ,OAAO,EAAE,kCAAO,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE,GAAI,GAC/E,IACW,GACF,CAChB,CAAA;AACH,CAAC;AA7BD,gCA6BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",