@ltht-react/card
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.19](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/card@0.1.18...@ltht-react/card@0.1.19) (2020-05-05) | ||
**Note:** Version bump only for package @ltht-react/card | ||
## [0.1.18](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/card@0.1.17...@ltht-react/card@0.1.18) (2020-05-01) | ||
@@ -8,0 +16,0 @@ |
@@ -10,3 +10,3 @@ "use strict"; | ||
var computeStyles = function (collapsed, clickable) { | ||
return core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n list-style: none;\n & li {\n border-top: 1px solid ", ";\n padding: 0.5rem;\n margin-right: -0.5rem;\n }\n & li:hover {\n ", "\n ", "\n }\n ", "\n & #banner {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n /* any first adjacent li after the banner has no top border */\n #banner + li {\n border-top: 0px !important;\n }\n "], ["\n list-style: none;\n & li {\n border-top: 1px solid ", ";\n padding: 0.5rem;\n margin-right: -0.5rem;\n }\n & li:hover {\n ", "\n ", "\n }\n ", "\n & #banner {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n /* any first adjacent li after the banner has no top border */\n #banner + li {\n border-top: 0px !important;\n }\n "])), styles_1.CARD_LIST_ITEM_BORDER_COLOUR, clickable && "cursor: pointer;", clickable && "background: " + styles_1.CARD_LIST_ITEM_BACKGROUND_HOVER + ";", collapsed && 'display: none;'); | ||
return core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n list-style: none;\n & li {\n border-top: 1px solid ", ";\n padding: 0.5rem 0.5rem 0.5rem 0;\n margin-right: -0.5rem;\n }\n & li:hover {\n ", "\n ", "\n }\n ", "\n & #banner {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n /* any first adjacent li after the banner has no top border */\n #banner + li {\n border-top: 0px !important;\n }\n "], ["\n list-style: none;\n & li {\n border-top: 1px solid ", ";\n padding: 0.5rem 0.5rem 0.5rem 0;\n margin-right: -0.5rem;\n }\n & li:hover {\n ", "\n ", "\n }\n ", "\n & #banner {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n /* any first adjacent li after the banner has no top border */\n #banner + li {\n border-top: 0px !important;\n }\n "])), styles_1.CARD_LIST_ITEM_BORDER_COLOUR, clickable && "cursor: pointer;", clickable && "background: " + styles_1.CARD_LIST_ITEM_BACKGROUND_HOVER + ";", collapsed && 'display: none;'); | ||
}; | ||
@@ -13,0 +13,0 @@ var CardList = function (_a) { |
{ | ||
"name": "@ltht-react/card", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "ltht-react styled Card component.", | ||
@@ -37,3 +37,3 @@ "author": "LTHT", | ||
}, | ||
"gitHead": "667b6be0cf1e29fbc7e19cddaadbdfdcd7919815" | ||
"gitHead": "8f29c6679eeb659e1bd11b6a209cb7f5ec522a71" | ||
} |
Sorry, the diff of this file is not supported yet
29793