infinity-forge 13.1.8 → 13.2.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/ui/codie-dynamic/components/directory-filter/source-filter-custom/index.d.ts +2 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-custom/index.js +8 -7
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-custom/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/interactions/component.js +2 -2
- package/dist/ui/codie-dynamic/components/interactions/component.js.map +1 -1
- package/dist/ui/codie-dynamic/components/interactions/styles.js +1 -1
- package/dist/ui/codie-dynamic/components/interactions/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -31,8 +31,9 @@ type CustomFilter = {
|
|
|
31
31
|
hasComponentAll?: boolean;
|
|
32
32
|
carouselConfig?: CarouselProps['config'];
|
|
33
33
|
};
|
|
34
|
-
export declare function SourceFilterCustom({ route, customFilters }: {
|
|
34
|
+
export declare function SourceFilterCustom({ route, customFilters, shallow, }: {
|
|
35
35
|
route: string;
|
|
36
36
|
customFilters: CustomFilter[];
|
|
37
|
+
shallow?: boolean;
|
|
37
38
|
}): import("react/jsx-runtime").JSX.Element;
|
|
38
39
|
export {};
|
|
@@ -63,12 +63,12 @@ var hooks_1 = require("../hooks/index.js");
|
|
|
63
63
|
var select_source_filter_1 = require("../source-filter-header/select-source-filter/index.js");
|
|
64
64
|
var S = __importStar(require("./styles.js"));
|
|
65
65
|
function SourceFilterCustom(_a) {
|
|
66
|
-
var route = _a.route, customFilters = _a.customFilters;
|
|
66
|
+
var route = _a.route, customFilters = _a.customFilters, _b = _a.shallow, shallow = _b === void 0 ? false : _b;
|
|
67
67
|
var router = (0, router_1.useRouter)();
|
|
68
|
-
var
|
|
68
|
+
var _c = (0, hooks_1.useDynamicFilter)({
|
|
69
69
|
active: true,
|
|
70
70
|
route: route,
|
|
71
|
-
}), data =
|
|
71
|
+
}), data = _c.data, sourceFilters = _c.sourceFilters;
|
|
72
72
|
if (!sourceFilters) {
|
|
73
73
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
74
74
|
}
|
|
@@ -81,11 +81,11 @@ function SourceFilterCustom(_a) {
|
|
|
81
81
|
var indexB = customFilters.findIndex(function (item) { return item.target === b.entityKey; });
|
|
82
82
|
return indexA - indexB;
|
|
83
83
|
}).map(function (filter, index) {
|
|
84
|
-
return ((0, jsx_runtime_1.jsx)(Wrapper, { DefaultWrapper: DefaultWrapper, customFilters: customFilters, filter: filter, index: index }, filter.entityKey));
|
|
84
|
+
return ((0, jsx_runtime_1.jsx)(Wrapper, { DefaultWrapper: DefaultWrapper, customFilters: customFilters, filter: filter, index: index, shallow: shallow }, filter.entityKey));
|
|
85
85
|
}) }) }) }));
|
|
86
86
|
}
|
|
87
87
|
function Wrapper(_a) {
|
|
88
|
-
var customFilters = _a.customFilters, DefaultWrapper = _a.DefaultWrapper, filter = _a.filter, index = _a.index;
|
|
88
|
+
var customFilters = _a.customFilters, DefaultWrapper = _a.DefaultWrapper, filter = _a.filter, index = _a.index, shallow = _a.shallow;
|
|
89
89
|
var _b = (0, react_1.useState)(''), search = _b[0], setSearch = _b[1];
|
|
90
90
|
var _c = (0, react_1.useState)(0), totalItems = _c[0], setTotalItems = _c[1];
|
|
91
91
|
var configuration = customFilters === null || customFilters === void 0 ? void 0 : customFilters.find(function (item) { return item.target === filter.entityKey; });
|
|
@@ -102,11 +102,11 @@ function Wrapper(_a) {
|
|
|
102
102
|
value: filter.entityRoute,
|
|
103
103
|
} }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'none' }, children: (0, jsx_runtime_1.jsx)(ui_1.Input, { readOnly: true, name: "sourceFilters[".concat(index, "].keyValue"), controlledInitialValue: {
|
|
104
104
|
value: filter.entityKey,
|
|
105
|
-
} }) }), (0, jsx_runtime_1.jsx)(Custom, { filter: filter, configuration: configuration, index: index, search: search, setTotalItems: setTotalItems })] }, filter.entityKey) }));
|
|
105
|
+
} }) }), (0, jsx_runtime_1.jsx)(Custom, { filter: filter, configuration: configuration, index: index, search: search, setTotalItems: setTotalItems, shallow: shallow })] }, filter.entityKey) }));
|
|
106
106
|
}
|
|
107
107
|
function Custom(_a) {
|
|
108
108
|
var _b, _c, _d;
|
|
109
|
-
var index = _a.index, filter = _a.filter, configuration = _a.configuration, search = _a.search, setTotalItems = _a.setTotalItems;
|
|
109
|
+
var index = _a.index, filter = _a.filter, configuration = _a.configuration, search = _a.search, setTotalItems = _a.setTotalItems, _e = _a.shallow, shallow = _e === void 0 ? false : _e;
|
|
110
110
|
var values = (0, formik_1.useFormikContext)().values;
|
|
111
111
|
var router = (0, router_1.useRouter)();
|
|
112
112
|
function onClick(item) {
|
|
@@ -143,6 +143,7 @@ function Custom(_a) {
|
|
|
143
143
|
page: 1,
|
|
144
144
|
sourceFilters: sourceFilters,
|
|
145
145
|
},
|
|
146
|
+
shallow: shallow,
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
var allItem = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filter-custom/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filter-custom/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,gDA2DC;;AAtHD,+BAA4E;AAE5E,sCAAuC;AAEvC,iCAAgD;AAEhD,2BAYa;AAGb,kCAA2C;AAC3C,qFAAiF;AAEjF,0CAA6B;AAmC7B,SAAgB,kBAAkB,CAAC,EAQlC;QAPC,KAAK,WAAA,EACL,aAAa,mBAAA,EACb,eAAe,EAAf,OAAO,mBAAG,K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1B,EAEP,uBAAC,QAAQ,KAAG,EAEZ,uBAAC,IAAI,cACH,uBAAC,SAAI,IAAC,IAAI,EAAC,kBAAkB,GAAG,GAC3B,IACH,CACP,CAAA;AACH,CAAC"}
|
|
@@ -112,14 +112,14 @@ function Interactions(props) {
|
|
|
112
112
|
}, children: [(0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEdit' }), " Avaliar"] })] }), (0, jsx_runtime_1.jsx)("div", { className: 'bottom', children: (_j = (_h = data === null || data === void 0 ? void 0 : data.item) === null || _h === void 0 ? void 0 : _h.items) === null || _j === void 0 ? void 0 : _j.map(function (item) { return ((0, jsx_runtime_1.jsx)(card_1.ReviewCard, __assign({ theme: theme }, item), "evaluation-card-".concat(item.id))); }) })] })] }), (0, jsx_runtime_1.jsx)(ui_1.LoginModal, { open: isOpenAuth, setOpen: setIsOpenAuth, title: 'Autentica\u00E7\u00E3o', onAuth: function () {
|
|
113
113
|
setIsOpen(true);
|
|
114
114
|
setIsOpenAuth(false);
|
|
115
|
-
} }), (0, jsx_runtime_1.jsx)(ui_1.Modal, { disabledClickOverlay: true, open: isOpen, onClose: function () { return setIsOpen(false); }, styles: {
|
|
115
|
+
} }), (0, jsx_runtime_1.jsx)(ui_1.Modal, { hideCloseButton: true, disabledClickOverlay: true, open: isOpen, onClose: function () { return setIsOpen(false); }, styles: {
|
|
116
116
|
padding: 0,
|
|
117
117
|
backgroundColor: '#fff',
|
|
118
118
|
boxShadow: 'none',
|
|
119
119
|
maxWidth: '500px',
|
|
120
120
|
}, stylesContent: {
|
|
121
121
|
padding: '0',
|
|
122
|
-
}, children: (0, jsx_runtime_1.jsxs)(S.Modal, { "$themeInteractions": theme, children: [(0, jsx_runtime_1.jsx)("h4", { className: 'font-32-bold', children: "Avalie" }), (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Enviar' }, disableEnterKeySubmitForm: true, cleanFieldsOnSubmit: false, onSucess: function (formData) { return __awaiter(_this, void 0, void 0, function () {
|
|
122
|
+
}, children: (0, jsx_runtime_1.jsxs)(S.Modal, { "$themeInteractions": theme, children: [(0, jsx_runtime_1.jsx)("h4", { className: 'font-32-bold', children: "Avalie" }), (0, jsx_runtime_1.jsx)("span", { className: 'font-20 subtitle', children: "Avalia\u00E7\u00E3o Geral:" }), (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Enviar' }, disableEnterKeySubmitForm: true, cleanFieldsOnSubmit: false, onSucess: function (formData) { return __awaiter(_this, void 0, void 0, function () {
|
|
123
123
|
var payload;
|
|
124
124
|
var _a, _b;
|
|
125
125
|
return __generator(this, function (_c) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/ui/codie-dynamic/components/interactions/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/ui/codie-dynamic/components/interactions/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,oCAwJC;;AAxLD,+BAAgC;AAEhC,2BAYa;AAEb,mCAAoD;AACpD,2CAAwC;AAExC,0CAA6B;AAC7B,+BAAmC;AACnC,+BAAwC;AAWxC,SAAgB,YAAY,CAAC,KAAwB;IAArD,iBAwJC;;IAvJO,IAAA,KAAsB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAApC,MAAM,QAAA,EAAE,SAAS,QAAmB,CAAA;IACrC,IAAA,KAA8B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAE3C,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAE/B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CAAC,CAAA;;;;iCACjB,aAED,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,cAAS,IAAC,IAAI,EAAE,QAAQ,GAAI,GACzB,EAEN,gCAAK,SAAS,EAAC,SAAS,YACrB,MAAA,MAAA,MAAA,MAAA,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAE,IAAI,0CAAE,IAAI,0CAAE,UAAU,0CAAE,KAAK,CAAC,GAAG,CAAC,0CAAE,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK;wCAC7E,OAAO,CACL,6DACE,gCAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,YAC7B,uBAAC,UAAK,IAAC,IAAI,EAAE,qBAAc,KAAK,mBAAgB,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAI,GACzF,EAEN,uBAAC,cAAS,IAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,qBAAc,KAAK,aAAU,GAAI,IAC9D,CACJ,CAAA;oCACH,CAAC,CAAC,GACE,EAEL,CAAA,MAAA,MAAA,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAE,IAAI,0CAAE,IAAI,0CAAE,YAAY,KAAI,CACrD,uBAAC,aAAQ,IAAC,WAAW,EAAC,2DAA4C,EAAC,IAAI,EAAC,SAAS,GAAG,CACrF,IACW,IACN,GACJ,IACF,CACT,CAAA;AACH,CAAC"}
|
|
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.Modal = exports.Evaluations = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
exports.Evaluations = (0, styled_components_1.default)('section')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n * {\n color: ", ";\n }\n\n h5 {\n margin-bottom: 5px;\n }\n\n > div {\n border-radius: 30px;\n padding: 40px;\n background-color: ", ";\n\n .top {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 30px;\n padding-bottom: 30px;\n justify-content: space-between;\n\n .container-stars {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-bottom: 10px;\n }\n\n .stars {\n .star {\n color: ", " !important;\n }\n\n .number {\n display: none;\n }\n }\n\n > .item:nth-child(1) {\n span {\n svg {\n margin-left: 8px;\n }\n\n &:last-child {\n color: ", ";\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n width: fit-content;\n border-left: 1px solid #dcdcdc;\n border-right: 1px solid #dcdcdc;\n\n > div {\n display: grid;\n grid-template-columns: 125px 180px 30px;\n align-items: center;\n gap: 20px;\n \n & + div {\n margin-top: 15px;\n }\n\n .back-bar {\n height: 10px;\n border-radius: 100rem;\n background: #aaaaaa;\n position: relative;\n z-index: 2;\n }\n\n .bar {\n height: 10px;\n border-radius: 100rem;\n background: ", ";\n position: relative;\n z-index: 3;\n }\n }\n }\n\n > .item:nth-child(3) {\n color: ", ";\n padding: 0;\n background: none;\n border: none;\n border: 1px solid currentColor;\n height: 48px;\n padding: 0 20px;\n border-radius: 100rem;\n display: flex;\n align-items: center;\n gap: 10px;\n transition: 0.1s;\n\n &:hover {\n color: #fff;\n background: ", ";\n\n svg {\n fill: #fff;\n }\n }\n\n svg {\n width: 16px;\n height: auto;\n fill: currentColor;\n }\n }\n }\n\n .bottom {\n > div + div {\n margin-top: 30px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > div {\n padding: 30px;\n border-radius: 25px;\n\n .top {\n margin-bottom: 28px;\n padding-bottom: 28px;\n\n > .item:nth-child(2) {\n margin: 0 20px 0 20px;\n padding: 0 20px 0 20px;\n\n > div {\n grid-template-columns: 115px 160px 30px;\n gap: 18px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > div {\n padding: 25px;\n border-radius: 20px;\n\n .top {\n margin-bottom: 25px;\n padding-bottom: 25px;\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n\n > div {\n grid-template-columns: 105px 140px 30px;\n gap: 15px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > div {\n padding: 20px;\n border-radius: 15px;\n\n .top {\n margin-bottom: 20px;\n padding-bottom: 20px;\n gap: 5px;\n\n .container-stars {\n align-items: start;\n flex-direction: column;\n }\n\n > .item:nth-child(1) {\n svg {\n width: 110px;\n height: auto;\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 0;\n padding: 0 10px;\n\n > div {\n grid-template-columns: 100px 80px 30px;\n gap: 8px;\n }\n }\n\n > .item:nth-child(3) {\n height: 44px;\n padding: 0 16px;\n\n svg {\n width: 13px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > div {\n padding: 15px;\n border-radius: 10px;\n\n .top {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n\n .container-stars {\n flex-direction: row;\n align-items: center;\n }\n\n > .item:nth-child(1) {\n span {\n &:last-child {\n margin-top: 5px;\n }\n }\n }\n\n > .item:nth-child(2) {\n border-right: none;\n padding-right: 0;\n\n > div {\n font-size: 14px;\n grid-template-columns: 100px 100px 30px;\n\n & + div {\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(3) {\n height: 42px;\n max-width: fit-content;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 800px) {\n > div .top > .item:nth-child(2) > div {\n gap: 3px;\n grid-template-columns: 100px 60px 25px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > div {\n padding: 10px;\n background-color: transparent;\n\n .top {\n display: grid;\n grid-template-columns: 1fr 1fr;\n\n > .item:nth-child(2) {\n border-right: none;\n margin-left: 0;\n padding-left: 0;\n padding-right: 0;\n border-left: none;\n width: 100%;\n\n > div {\n grid-template-columns: 115px 90px 25px;\n }\n }\n\n > .item:nth-child(3) {\n width: fit-content;\n height: 40px;\n margin-top: 5px;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 600px) {\n > div {\n .top {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 10px;\n\n .item > div {\n justify-content: center;\n }\n\n > .item:nth-child(3) {\n height: 34px;\n }\n\n .container-stars {\n justify-content: center;\n }\n }\n }\n }\n"], ["\n * {\n color: ", ";\n }\n\n h5 {\n margin-bottom: 5px;\n }\n\n > div {\n border-radius: 30px;\n padding: 40px;\n background-color: ", ";\n\n .top {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 30px;\n padding-bottom: 30px;\n justify-content: space-between;\n\n .container-stars {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-bottom: 10px;\n }\n\n .stars {\n .star {\n color: ", " !important;\n }\n\n .number {\n display: none;\n }\n }\n\n > .item:nth-child(1) {\n span {\n svg {\n margin-left: 8px;\n }\n\n &:last-child {\n color: ", ";\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n width: fit-content;\n border-left: 1px solid #dcdcdc;\n border-right: 1px solid #dcdcdc;\n\n > div {\n display: grid;\n grid-template-columns: 125px 180px 30px;\n align-items: center;\n gap: 20px;\n \n & + div {\n margin-top: 15px;\n }\n\n .back-bar {\n height: 10px;\n border-radius: 100rem;\n background: #aaaaaa;\n position: relative;\n z-index: 2;\n }\n\n .bar {\n height: 10px;\n border-radius: 100rem;\n background: ", ";\n position: relative;\n z-index: 3;\n }\n }\n }\n\n > .item:nth-child(3) {\n color: ", ";\n padding: 0;\n background: none;\n border: none;\n border: 1px solid currentColor;\n height: 48px;\n padding: 0 20px;\n border-radius: 100rem;\n display: flex;\n align-items: center;\n gap: 10px;\n transition: 0.1s;\n\n &:hover {\n color: #fff;\n background: ", ";\n\n svg {\n fill: #fff;\n }\n }\n\n svg {\n width: 16px;\n height: auto;\n fill: currentColor;\n }\n }\n }\n\n .bottom {\n > div + div {\n margin-top: 30px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n > div {\n padding: 30px;\n border-radius: 25px;\n\n .top {\n margin-bottom: 28px;\n padding-bottom: 28px;\n\n > .item:nth-child(2) {\n margin: 0 20px 0 20px;\n padding: 0 20px 0 20px;\n\n > div {\n grid-template-columns: 115px 160px 30px;\n gap: 18px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1400px) {\n > div {\n padding: 25px;\n border-radius: 20px;\n\n .top {\n margin-bottom: 25px;\n padding-bottom: 25px;\n\n > .item:nth-child(2) {\n margin: 0 15px 0 15px;\n padding: 0 15px 0 15px;\n\n > div {\n grid-template-columns: 105px 140px 30px;\n gap: 15px;\n }\n }\n\n > .item:nth-child(3) {\n height: 46px;\n padding: 0 18px;\n\n svg {\n width: 15px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1200px) {\n > div {\n padding: 20px;\n border-radius: 15px;\n\n .top {\n margin-bottom: 20px;\n padding-bottom: 20px;\n gap: 5px;\n\n .container-stars {\n align-items: start;\n flex-direction: column;\n }\n\n > .item:nth-child(1) {\n svg {\n width: 110px;\n height: auto;\n }\n }\n\n > .item:nth-child(2) {\n margin: 0 0;\n padding: 0 10px;\n\n > div {\n grid-template-columns: 100px 80px 30px;\n gap: 8px;\n }\n }\n\n > .item:nth-child(3) {\n height: 44px;\n padding: 0 16px;\n\n svg {\n width: 13px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > div {\n padding: 15px;\n border-radius: 10px;\n\n .top {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n\n .container-stars {\n flex-direction: row;\n align-items: center;\n }\n\n > .item:nth-child(1) {\n span {\n &:last-child {\n margin-top: 5px;\n }\n }\n }\n\n > .item:nth-child(2) {\n border-right: none;\n padding-right: 0;\n\n > div {\n font-size: 14px;\n grid-template-columns: 100px 100px 30px;\n\n & + div {\n margin-top: 10px;\n }\n }\n }\n\n > .item:nth-child(3) {\n height: 42px;\n max-width: fit-content;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 800px) {\n > div .top > .item:nth-child(2) > div {\n gap: 3px;\n grid-template-columns: 100px 60px 25px;\n }\n }\n\n @media only screen and (max-width: 768px) {\n > div {\n padding: 10px;\n background-color: transparent;\n\n .top {\n display: grid;\n grid-template-columns: 1fr 1fr;\n\n > .item:nth-child(2) {\n border-right: none;\n margin-left: 0;\n padding-left: 0;\n padding-right: 0;\n border-left: none;\n width: 100%;\n\n > div {\n grid-template-columns: 115px 90px 25px;\n }\n }\n\n > .item:nth-child(3) {\n width: fit-content;\n height: 40px;\n margin-top: 5px;\n\n svg {\n width: 12px;\n }\n }\n }\n }\n }\n\n @media only screen and (max-width: 600px) {\n > div {\n .top {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 10px;\n\n .item > div {\n justify-content: center;\n }\n\n > .item:nth-child(3) {\n height: 34px;\n }\n\n .container-stars {\n justify-content: center;\n }\n }\n }\n }\n"])), function (props) { return props.theme.darkColor; }, function (props) { return props.theme.grey; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; }, function (props) { return props.theme.grey40; }, function (props) { return props.$themeInteractions.baseColor || props.theme.primaryColor; }, function (props) { return props.theme.grey60; }, function (props) { return props.theme.grey60 || '#000'; });
|
|
13
|
-
exports.Modal = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n margin-bottom: 0;\n }\n\n .rating {\n\n\n .container-switch {\n justify-content: center;\n\n label {\n span {\n font-size: 40px;\n }\n }\n }\n }\n\n .separator {\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 20px;\n margin-top: 25px;\n }\n\n .ratings {\n label {\n font-size: 18px !important;\n }\n }\n\n form {\n padding-top: 10px;\n \n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .input-star {\n label {\n font-size: 18px !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: left;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"], ["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n margin-bottom: 0;\n }\n\n .rating {\n\n\n .container-switch {\n justify-content: center;\n\n label {\n span {\n font-size: 40px;\n }\n }\n }\n }\n\n .separator {\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 20px;\n margin-top: 25px;\n }\n\n .ratings {\n label {\n font-size: 18px !important;\n }\n }\n\n form {\n padding-top: 10px;\n \n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .input-star {\n label {\n font-size: 18px !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: left;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"])), function (p) { return p.theme.grey; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; });
|
|
13
|
+
exports.Modal = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n margin-bottom: 0;\n }\n\n .subtitle {\n display: block;\n width: 100%;\n text-align: center;\n margin-top: 5px;\n }\n\n .rating {\n\n\n .container-switch {\n justify-content: center;\n\n label {\n span {\n font-size: 40px;\n }\n }\n }\n }\n\n .separator {\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 20px;\n margin-top: 25px;\n }\n\n .ratings {\n label {\n font-size: 18px !important;\n }\n }\n\n form {\n padding-top: 10px;\n \n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .input-star {\n label {\n font-size: 18px !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: left;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"], ["\n padding: 40px 60px;\n border-radius: 30px;\n background-color: ", ";\n\n h4 {\n text-align: center;\n margin-bottom: 0;\n }\n\n .subtitle {\n display: block;\n width: 100%;\n text-align: center;\n margin-top: 5px;\n }\n\n .rating {\n\n\n .container-switch {\n justify-content: center;\n\n label {\n span {\n font-size: 40px;\n }\n }\n }\n }\n\n .separator {\n border-bottom: 1px solid #dcdcdc;\n margin-bottom: 20px;\n margin-top: 25px;\n }\n\n .ratings {\n label {\n font-size: 18px !important;\n }\n }\n\n form {\n padding-top: 10px;\n \n .conntent_form_infinity_forge {\n padding: 0;\n\n label {\n margin-bottom: 0 !important;\n font-weight: 400 !important;\n }\n }\n\n .input-star {\n label {\n font-size: 18px !important;\n }\n }\n\n .container-switch {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n\n > * {\n flex: 1;\n }\n\n .input-content:has([role='radiogroup']) {\n flex: unset;\n }\n\n label:has(input:checked) span {\n color: ", ";\n }\n\n span:hover,\n span.active {\n color: ", ";\n }\n }\n\n .input-wrapper label {\n margin-bottom: 0 !important;\n }\n\n textarea {\n width: 100%;\n height: 90px;\n resize: none;\n padding: 10px;\n text-align: left;\n }\n\n .form-button > div {\n display: flex;\n justify-content: center;\n\n button {\n font-weight: bold;\n max-width: 311px;\n margin: 0 auto;\n background-color: ", ";\n border: none;\n border-radius: 100px;\n }\n }\n }\n\n @media only screen and (max-width: 1600px) {\n padding: 30px 40px;\n border-radius: 25px;\n\n form {\n padding-top: 20px;\n\n .container-switch {\n margin-bottom: 15px;\n }\n\n textarea {\n padding: 10px 15px;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 25px 30px;\n border-radius: 20px;\n\n form {\n padding-top: 15px;\n\n .container-switch {\n margin-bottom: 10px;\n }\n\n textarea {\n padding: 8px 12px;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 15px;\n border-radius: 10px;\n\n form {\n padding-top: 10px;\n\n .container-switch {\n margin-bottom: 5px;\n }\n\n textarea {\n padding: 5px 8px;\n }\n\n .form-button button {\n max-width: 260px;\n }\n\n label span {\n font-size: 1.8rem;\n }\n\n [role='radiogroup'] {\n gap: 3px;\n }\n }\n }\n"])), function (p) { return p.theme.grey; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; }, function (p) { return p.$themeInteractions.baseColor || p.theme.primaryColor; });
|
|
14
14
|
var templateObject_1, templateObject_2;
|
|
15
15
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/codie-dynamic/components/interactions/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,IAAA,2BAAM,EAAC,SAAS,CAAC,ilNAI1C,sBAEW,EAAgC,mIAUrB,EAA2B,8YAmBhC,EAA6D,0PAe3D,EAA6B,syBAkCxB,EAAyE,+IAQlF,EAA6B,8WAetB,EAAuC,47IAgP9D,KArVY,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAUrB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,EAAhB,CAAgB,EAmBhC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAAC,CAAC,KAA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