kui-complex 0.0.104 → 0.0.105
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/CheckboxGroupWithTitle/cjs/index.js +1 -1
- package/CheckboxGroupWithTitle/cjs/index.js.map +1 -1
- package/CheckboxGroupWithTitle/index.js +1 -1
- package/CheckboxGroupWithTitle/index.js.map +1 -1
- package/FileItem/cjs/index.js +1 -1
- package/FileItem/cjs/index.js.map +1 -1
- package/FileItem/index.js +1 -1
- package/FileItem/index.js.map +1 -1
- package/InputFile/cjs/index.js +1 -1
- package/InputFile/cjs/index.js.map +1 -1
- package/InputFile/index.js +1 -1
- package/InputFile/index.js.map +1 -1
- package/cjs/index.js +2 -2
- package/cjs/index.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1460,7 +1460,7 @@ var disabledCSS = function (_a) {
|
|
|
1460
1460
|
var disabled = _a.disabled;
|
|
1461
1461
|
return disabled && css(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n background: ", ";\n "], ["\n background: ", ";\n "])), theme.palette.background.light1);
|
|
1462
1462
|
};
|
|
1463
|
-
var FileWrapper = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n padding: 10px 12px;\n border: 1px solid\n ", ";\n display: flex;\n margin-bottom: 8px;\n cursor: pointer;\n ", ";\n ", ";\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n width: 100%;\n border-radius: 12px;\n padding: 10px 12px;\n border: 1px solid\n ", ";\n display: flex;\n margin-bottom: 8px;\n cursor: pointer;\n ", ";\n ", ";\n &:last-child {\n margin-bottom: 0;\n }\n"])), function (_a) {
|
|
1463
|
+
var FileWrapper = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n padding: 10px 12px;\n border: 1px solid\n ", ";\n display: flex;\n margin-bottom: 8px;\n cursor: pointer;\n background: white;\n ", ";\n ", ";\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n width: 100%;\n border-radius: 12px;\n padding: 10px 12px;\n border: 1px solid\n ", ";\n display: flex;\n margin-bottom: 8px;\n cursor: pointer;\n background: white;\n ", ";\n ", ";\n &:last-child {\n margin-bottom: 0;\n }\n"])), function (_a) {
|
|
1464
1464
|
var selected = _a.selected;
|
|
1465
1465
|
return selected ? theme.palette.brand.main : theme.palette.grey.fifteenB;
|
|
1466
1466
|
}, disabledCSS, errorCSS);
|
|
@@ -1612,7 +1612,7 @@ function CheckboxGroupWithTitle(_a) {
|
|
|
1612
1612
|
return (jsxs$1(StyledWrapper, __assign({ container: true, alignItems: "center", justify: "space-between" }, { children: [jsx(Grid, __assign({ item: true }, { children: jsx(Caption, __assign({ size: "s", weight: 500, color: "fiftyP" }, { children: title })) })), jsx(Grid, __assign({ item: true }, { children: jsx(Grid, __assign({ container: true }, { children: options.map(function (option) { return (jsx(StyledCheckbox, __assign({ name: option.name, label: jsx(Caption, __assign({ size: "s", color: "fiftyP", weight: 500 }, { children: option.label })), form: form, testId: option.name }, otherProps), option.name)); }) })) }))] })));
|
|
1613
1613
|
}
|
|
1614
1614
|
var StyledCheckbox = styled(CheckboxWithController)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &:not(:last-child) {\n margin-right: 22px;\n }\n"], ["\n &:not(:last-child) {\n margin-right: 22px;\n }\n"])));
|
|
1615
|
-
var StyledWrapper = styled(Grid)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 3px 16px;\n border: 1px solid ", ";\n border-radius: 66px;\n height: 40px;\n"], ["\n padding: 3px 16px;\n border: 1px solid ", ";\n border-radius: 66px;\n height: 40px;\n"])), theme.palette.grey.fifteenB);
|
|
1615
|
+
var StyledWrapper = styled(Grid)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 3px 16px;\n border: 1px solid ", ";\n border-radius: 66px;\n height: 40px;\n background: white;\n"], ["\n padding: 3px 16px;\n border: 1px solid ", ";\n border-radius: 66px;\n height: 40px;\n background: white;\n"])), theme.palette.grey.fifteenB);
|
|
1616
1616
|
var templateObject_1, templateObject_2;
|
|
1617
1617
|
|
|
1618
1618
|
var settings = {
|