@lideralia/alife-uikit 1.2.89 → 1.2.91
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/atoms/Checkbox/Checkbox.js +8 -1
- package/dist/molecules/CarouselScroll/CarouselScrollFlowers.js +2 -1
- package/dist/organisms/Cards/Content.js +1 -1
- package/package.json +2 -1
- package/dist/.DS_Store +0 -0
- package/dist/atoms/.DS_Store +0 -0
- package/dist/common/.DS_Store +0 -0
- package/dist/molecules/.DS_Store +0 -0
- package/dist/organisms/.DS_Store +0 -0
- package/dist/organisms/Navbar/.DS_Store +0 -0
|
@@ -67,7 +67,14 @@ const Checkbox = props => {
|
|
|
67
67
|
"data-testid": "test-Checkbox"
|
|
68
68
|
}, props, {
|
|
69
69
|
disabled: isDisabled
|
|
70
|
-
}))), _react.default.createElement(_Typography.Text, (0, _extends2.default)({
|
|
70
|
+
}))), typeof label === 'string' ? _react.default.createElement(_Typography.Text, (0, _extends2.default)({
|
|
71
|
+
as: "label",
|
|
72
|
+
sizeText: "display14",
|
|
73
|
+
marginLeft: 1,
|
|
74
|
+
dangerouslySetInnerHTML: {
|
|
75
|
+
__html: DOMPurify.sanitize(label)
|
|
76
|
+
}
|
|
77
|
+
}, props)) : _react.default.createElement(_Typography.Text, (0, _extends2.default)({
|
|
71
78
|
as: "label",
|
|
72
79
|
sizeText: "display14",
|
|
73
80
|
marginLeft: 1
|
|
@@ -105,7 +105,8 @@ const CarouselScrollFlowers = _ref => {
|
|
|
105
105
|
backgroundColor: customColor,
|
|
106
106
|
color: customColorText,
|
|
107
107
|
action: () => onSubmit(element),
|
|
108
|
-
className: "buttonFlower"
|
|
108
|
+
className: "buttonFlower",
|
|
109
|
+
hasHover: window.matchMedia('(hover: hover)').matches
|
|
109
110
|
}, selected === element.uuid ? selectedText : selectText))))));
|
|
110
111
|
};
|
|
111
112
|
exports.CarouselScrollFlowers = CarouselScrollFlowers;
|
|
@@ -45,7 +45,7 @@ exports.CardContent = CardContent;
|
|
|
45
45
|
const DropDownStyle = (0, _styledComponents.default)(_Card.Card).withConfig({
|
|
46
46
|
displayName: "Content__DropDownStyle",
|
|
47
47
|
componentId: "sc-1bxsr64-0"
|
|
48
|
-
})(["
|
|
48
|
+
})(["position:absolute;&:after{content:' ';width:0;height:0;border-style:solid;border-width:12px 12.5px 0 12.5px;border-color:white transparent transparent transparent;position:absolute;right:18px;transform:rotate(180deg);top:-12px;overflow:hidden;}"]);
|
|
49
49
|
CardContent.Header = props => {
|
|
50
50
|
const [isOpen, setIsOpen] = (0, _react.useState)(false);
|
|
51
51
|
const onCloseDropdown = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lideralia/alife-uikit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.91",
|
|
4
4
|
"description": "Librería y documentación de componentes, basada en el Design System de Alife.",
|
|
5
5
|
"homepage": "https://github.com/lideralia/alife-frontend-components#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"@testing-library/jest-dom": "^5.11.9",
|
|
84
84
|
"apexcharts": "^3.41.0",
|
|
85
85
|
"canvas2svg": "^1.0.16",
|
|
86
|
+
"dompurify": "^3.1.7",
|
|
86
87
|
"eslint-plugin-prettier": "^3.3.1",
|
|
87
88
|
"hls.js": "^1.0.2",
|
|
88
89
|
"input-otp": "^1.2.4",
|
package/dist/.DS_Store
DELETED
|
Binary file
|
package/dist/atoms/.DS_Store
DELETED
|
Binary file
|
package/dist/common/.DS_Store
DELETED
|
Binary file
|
package/dist/molecules/.DS_Store
DELETED
|
Binary file
|
package/dist/organisms/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|