takeat-design-system-ui-kit 0.6.39 → 0.6.43
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.
|
@@ -4,7 +4,7 @@ exports.ButtonArea = exports.RadioLabel = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = tslib_1.__importDefault(require("styled-components"));
|
|
6
6
|
var consts_1 = require("../../utils/consts");
|
|
7
|
-
exports.RadioLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
7
|
+
exports.RadioLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n position: relative;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n position: relative;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
8
8
|
var $labelPosition = _a.$labelPosition;
|
|
9
9
|
return consts_1.LABEL_POSITIONS[$labelPosition];
|
|
10
10
|
}, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Radio/styles.ts"],"names":[],"mappings":";;;;AAAA,gFAAuC;AACvC,6CAAqD;AAOxC,QAAA,UAAU,GAAG,2BAAM,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Radio/styles.ts"],"names":[],"mappings":";;;;AAAA,gFAAuC;AACvC,6CAAqD;AAOxC,QAAA,UAAU,GAAG,2BAAM,CAAC,KAAK,wxBAAiB,oG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C,KAAK,CAAC,OAAO;AAApD,CAAoD,EAItC,UAAC,EAAwB;QAAtB,KAAK,WAAA,EAAE,aAAa,mBAAA;IACrC,OAAA,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,KAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI;AAA9C,CAA8C,EAG1B,UAAC,EAAwB;QAAtB,KAAK,WAAA,EAAE,aAAa,mBAAA;IACzC,OAAA,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,KAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI;AAA9C,CAA8C,EAIhC,UAAC,EAAwB;QAAtB,KAAK,WAAA,EAAE,aAAa,mBAAA;IACrC,OAAA,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,KAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;AAApD,CAAoD,EAGhC,UAAC,EAAwB;QAAtB,KAAK,WAAA,EAAE,aAAa,mBAAA;IACzC,OAAA,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,KAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;AAApD,CAAoD,EAQ5C,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK;AAA1B,CAA0B,EAMnC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK;AAA1B,CAA0B,EAGjE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
import { LABEL_POSITIONS } from "../../utils/consts";
|
|
4
|
-
export var RadioLabel = styled.label(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
4
|
+
export var RadioLabel = styled.label(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n position: relative;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n width: fit-content;\n flex-direction: ", ";\n border-radius: ", ";\n cursor: pointer;\n user-select: none;\n position: relative;\n\n &:has(> input[type=\"radio\"]:focus-visible) {\n outline: 1px solid black;\n outline-offset: 2px;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n letter-spacing: 0.1px;\n transition: color 0.3s;\n }\n\n input {\n opacity: 0;\n width: 0;\n height: 0;\n position: absolute;\n }\n\n &:has(> input[type=\"radio\"]:disabled) {\n cursor: default;\n\n span {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
5
5
|
var $labelPosition = _a.$labelPosition;
|
|
6
6
|
return LABEL_POSITIONS[$labelPosition];
|
|
7
7
|
}, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Radio/styles.ts"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAOrD,MAAM,CAAC,IAAM,UAAU,GAAG,MAAM,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Radio/styles.ts"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAOrD,MAAM,CAAC,IAAM,UAAU,GAAG,MAAM,CAAC,KAAK,gxBAAiB,oGAKnC,EAAuD,sBACxD,EAAgC,+MAWtC,EAA0C,2WAoBxC,EAAyC,iBAGvD,KAnCmB,UAAC,EAAkB;QAAhB,cAAc,oBAAA;IAAO,OAAA,eAAe,CAAC,cAAc,CAAC;AAA/B,CAA+B,EACxD,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,OAAO,CAAC,GAAG;AAAjB,CAAiB,EAWtC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,K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