@proprioo/salatim 18.1.2 → 18.1.4
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/CHANGELOG.md +8 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/ui/src/buttonRadioGroup/ButtonRadio.styles.js +4 -4
- package/lib/ui/src/buttonRadioGroup/ButtonRadio.styles.js.map +1 -1
- package/lib/ui/src/selectWrapper/SelectWrapper.styles.js +1 -1
- package/lib/ui/src/selectWrapper/SelectWrapper.styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,16 +32,16 @@ var breakpoints_1 = __importDefault(require("../../../utils/src/breakpoints"));
|
|
|
32
32
|
var colors_1 = __importDefault(require("../../../utils/src/colors"));
|
|
33
33
|
var radius_1 = __importDefault(require("../../../utils/src/radius"));
|
|
34
34
|
var spacing_1 = require("../../../utils/src/spacing");
|
|
35
|
-
exports.Layout = styled_components_1.default.label(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n flex: 1;\n padding: ", " ", ";\n border: ", " solid ", ";\n text-align: center;\n transition: all 0.1s ease-in;\n cursor: pointer;\n\n ", "\n\n &:not(:first-of-type) {\n margin-top: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-
|
|
36
|
-
"\n\n &:not(:first-of-type) {\n margin-top: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-
|
|
37
|
-
"\n }\n\n @media (min-width: ", "px) {\n &:not(:first-of-type) {\n margin-top: 0;\n margin-left: -", ";\n }\n }\n"])), spacing_1.convertPxToRem(16), spacing_1.convertPxToRem(24), spacing_1.convertPxToRem(2), colors_1.default.dark.base20, function (_a) {
|
|
35
|
+
exports.Layout = styled_components_1.default.label(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n flex: 1;\n padding: ", " ", ";\n border: ", " solid ", ";\n text-align: center;\n transition: all 0.1s ease-in;\n cursor: pointer;\n\n ", "\n\n &:not(:first-of-type) {\n margin-top: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n &:last-of-type {\n border-bottom-left-radius: ", ";\n border-bottom-right-radius: ", ";\n }\n\n :hover {\n ", "\n }\n\n @media (min-width: ", "px) {\n &:not(:first-of-type) {\n margin-top: 0;\n margin-left: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-top-right-radius: 0;\n border-bottom-left-radius: ", ";\n }\n\n &:last-of-type {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: ", ";\n border-top-right-radius: ", ";\n }\n }\n"], ["\n flex: 1;\n padding: ", " ", ";\n border: ", " solid ", ";\n text-align: center;\n transition: all 0.1s ease-in;\n cursor: pointer;\n\n ",
|
|
36
|
+
"\n\n &:not(:first-of-type) {\n margin-top: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n &:last-of-type {\n border-bottom-left-radius: ", ";\n border-bottom-right-radius: ", ";\n }\n\n :hover {\n ",
|
|
37
|
+
"\n }\n\n @media (min-width: ", "px) {\n &:not(:first-of-type) {\n margin-top: 0;\n margin-left: -", ";\n }\n\n &:first-of-type {\n border-top-left-radius: ", ";\n border-top-right-radius: 0;\n border-bottom-left-radius: ", ";\n }\n\n &:last-of-type {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: ", ";\n border-top-right-radius: ", ";\n }\n }\n"])), spacing_1.convertPxToRem(16), spacing_1.convertPxToRem(24), spacing_1.convertPxToRem(2), colors_1.default.dark.base20, function (_a) {
|
|
38
38
|
var isActive = _a.isActive;
|
|
39
39
|
return isActive
|
|
40
40
|
? styled_components_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n background-color: ", ";\n font-weight: bold;\n border-color: ", ";\n z-index: 2;\n "], ["\n color: ", ";\n background-color: ", ";\n font-weight: bold;\n border-color: ", ";\n z-index: 2;\n "])), colors_1.default.dark.base, colors_1.default.green.base5, colors_1.default.green.base) : styled_components_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), colors_1.default.dark.base80);
|
|
41
41
|
}, spacing_1.convertPxToRem(2), radius_1.default.normal, radius_1.default.normal, radius_1.default.normal, radius_1.default.normal, function (_a) {
|
|
42
42
|
var isActive = _a.isActive;
|
|
43
43
|
return !isActive && styled_components_1.css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n z-index: 1;\n "], ["\n background-color: ", ";\n border-color: ", ";\n z-index: 1;\n "])), colors_1.default.dark.base5, colors_1.default.dark.base40);
|
|
44
|
-
}, breakpoints_1.default.small, spacing_1.convertPxToRem(2));
|
|
44
|
+
}, breakpoints_1.default.small, spacing_1.convertPxToRem(2), radius_1.default.normal, radius_1.default.normal, radius_1.default.normal, radius_1.default.normal);
|
|
45
45
|
exports.InputLayout = styled_components_1.default.input(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n border: 0;\n clip-path: rect(0, 0, 0, 0);\n width: ", ";\n height: ", ";\n margin: -", ";\n padding: 0;\n overflow: hidden;\n white-space: nowrap;\n position: absolute;\n"], ["\n border: 0;\n clip-path: rect(0, 0, 0, 0);\n width: ", ";\n height: ", ";\n margin: -", ";\n padding: 0;\n overflow: hidden;\n white-space: nowrap;\n position: absolute;\n"])), spacing_1.convertPxToRem(1), spacing_1.convertPxToRem(1), spacing_1.convertPxToRem(1));
|
|
46
46
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
47
47
|
//# sourceMappingURL=ButtonRadio.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonRadio.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/buttonRadioGroup/ButtonRadio.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAEhD,+EAAyD;AACzD,qEAA+C;AAC/C,qEA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AAV,QAAQ,cAAA;IACX,OAAA,CAAC,QAAQ,IACT,uBAAG,gKAAA,8BACmB,EAAiB,2BACrB,EAAkB,gCAEnC,KAHqB,gBAAM,CAAC,IAAI,CAAC,KAAK,EACrB,gBAAM,CAAC,IAAI,CAAC,MAAM,CAEnC;AALD,CAKC,EAGgB,qBAAW,CAAC,KAAK,EAGlB,wBAAc,CAAC,CAAC,CAAC,EAIP,gBAAM,CAAC,MAAM,EAEV,gBAAM,CAAC,MAAM,EAKZ,gBAAM,CAAC,MAAM,EAChB,gBAAM,CAAC,MAAM,EAG5C;AAEW,QAAA,WAAW,GAAG,2BAAM,CAAC,KAAK,2PAAA,2DAG5B,EAAiB,eAChB,EAAiB,gBAChB,EAAiB,wFAK7B,KAPU,wBAAc,CAAC,CAAC,CAAC,EAChB,wBAAc,CAAC,CAAC,CAAC,EAChB,wBAAc,CAAC,CAAC,CAAC,EAK5B"}
|
|
@@ -34,7 +34,7 @@ exports.IconContainer = styled_components_1.default.div(templateObject_3 || (tem
|
|
|
34
34
|
var isOpen = _a.isOpen;
|
|
35
35
|
return isOpen && styled_components_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n transform: rotate(-90deg);\n "], ["\n transform: rotate(-90deg);\n "])));
|
|
36
36
|
});
|
|
37
|
-
exports.SelectWrapperLayout = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: relative;\n z-index: 0;\n\n ", "\n\n ", " {\n max-width: calc(100% - ", ");\n\n ", "\n }\n"], ["\n position: relative;\n z-index: 0;\n\n ",
|
|
37
|
+
exports.SelectWrapperLayout = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: relative;\n z-index: 0;\n width: 100%;\n\n ", "\n\n ", " {\n max-width: calc(100% - ", ");\n\n ", "\n }\n"], ["\n position: relative;\n z-index: 0;\n width: 100%;\n\n ",
|
|
38
38
|
"\n\n ", " {\n max-width: calc(100% - ", ");\n\n ",
|
|
39
39
|
"\n }\n"])), function (_a) {
|
|
40
40
|
var isOpen = _a.isOpen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectWrapper.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/selectWrapper/SelectWrapper.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAEhD,wCAAwD;AACxD,sDAAmD;AACnD,kEAA4D;AAa/C,QAAA,cAAc,GAAG,2BAAM,CAAC,GAAG,wKAAA,sEAGrB,EAAkB,6BAEpC,KAFkB,sBAAc,CAAC,EAAE,CAAC,EAEnC;AAEW,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,yPAAW,kCAEzC,EAAiB,cACf,EAAkB,cAClB,EAAkB,eACjB,EAAkB,+EAGnB,EAAiB,SAExB;IAIC,KACJ,KAbQ,sBAAc,CAAC,CAAC,CAAC,EACf,sBAAc,CAAC,EAAE,CAAC,EAClB,sBAAc,CAAC,EAAE,CAAC,EACjB,sBAAc,CAAC,EAAE,CAAC,EAGnB,cAAM,CAAC,KAAK,CAAC,IAAI,EAExB,UAAC,EAAU;QAAR,MAAM,YAAA;IACT,OAAA,MAAM,IACN,uBAAG,6GAAA,0CAEF,IAAA;AAHD,CAGC,EACH;AAEW,QAAA,mBAAmB,GAAG,2BAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"SelectWrapper.styles.js","sourceRoot":"","sources":["../../../../packages/ui/src/selectWrapper/SelectWrapper.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAEhD,wCAAwD;AACxD,sDAAmD;AACnD,kEAA4D;AAa/C,QAAA,cAAc,GAAG,2BAAM,CAAC,GAAG,wKAAA,sEAGrB,EAAkB,6BAEpC,KAFkB,sBAAc,CAAC,EAAE,CAAC,EAEnC;AAEW,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,yPAAW,kCAEzC,EAAiB,cACf,EAAkB,cAClB,EA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