@ltht-react/styles
Advanced tools
Comparing version 0.1.20 to 0.2.0
@@ -6,18 +6,2 @@ # Change Log | ||
## [0.1.20](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/styles@0.1.18...@ltht-react/styles@0.1.20) (2020-11-19) | ||
**Note:** Version bump only for package @ltht-react/styles | ||
## [0.1.19](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/styles@0.1.18...@ltht-react/styles@0.1.19) (2020-10-29) | ||
**Note:** Version bump only for package @ltht-react/styles | ||
## [0.1.18](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/styles@0.1.17...@ltht-react/styles@0.1.18) (2020-09-10) | ||
@@ -24,0 +8,0 @@ |
@@ -39,3 +39,2 @@ export declare const INPUT_COLOURS: { | ||
export declare const CARD_LIST_ITEM_BORDER_HOVER = "#b0b0b0"; | ||
export declare const CARD_LIST_ITEM_SELECTED_BACKGROUND: string; | ||
export declare const PATIENT_BANNER_DECEASED_BACKGROUND_COLOUR = "#231f20"; | ||
@@ -73,29 +72,21 @@ export declare const PATIENT_BANNER_BACKGROUND_COLOUR = "#56008c"; | ||
DEFAULT: { | ||
BACKGROUND: string; | ||
VALUE: string; | ||
TEXT: string; | ||
BORDER: string; | ||
ICON: string; | ||
HOVER: string; | ||
}; | ||
PRIMARY: { | ||
VALUE: string; | ||
TEXT: string; | ||
}; | ||
INFO: { | ||
BACKGROUND: string; | ||
VALUE: string; | ||
TEXT: string; | ||
BORDER: string; | ||
ICON: string; | ||
HOVER: string; | ||
}; | ||
WARNING: { | ||
BACKGROUND: string; | ||
VALUE: string; | ||
TEXT: string; | ||
BORDER: string; | ||
ICON: string; | ||
HOVER: string; | ||
}; | ||
DANGER: { | ||
BACKGROUND: string; | ||
ERROR: { | ||
VALUE: string; | ||
TEXT: string; | ||
BORDER: string; | ||
ICON: string; | ||
HOVER: string; | ||
}; | ||
}; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -23,3 +23,3 @@ return result; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BANNER_COLOURS = exports.BTN_COLOURS = exports.PATIENT_BANNER_LABEL_COLOUR = exports.PATIENT_BANNER_TEXT_COLOUR = exports.PATIENT_BANNER_BACKGROUND_COLOUR = exports.PATIENT_BANNER_DECEASED_BACKGROUND_COLOUR = exports.CARD_LIST_ITEM_SELECTED_BACKGROUND = exports.CARD_LIST_ITEM_BORDER_HOVER = exports.CARD_LIST_ITEM_BORDER_COLOUR = exports.CARD_LIST_ITEM_BACKGROUND_HOVER = exports.CARD_SHADOW_COLOUR = exports.CARD_BORDER_COLOUR = exports.CARD_BACKGROUND_COLOUR_NO_DATA = exports.CARD_BACKGROUND_COLOUR = exports.EFORM_BACKGROUND_COLOUR = exports.ICON_COLOURS = exports.TEXT_COLOURS = exports.INPUT_COLOURS = void 0; | ||
exports.BANNER_COLOURS = exports.BTN_COLOURS = exports.PATIENT_BANNER_LABEL_COLOUR = exports.PATIENT_BANNER_TEXT_COLOUR = exports.PATIENT_BANNER_BACKGROUND_COLOUR = exports.PATIENT_BANNER_DECEASED_BACKGROUND_COLOUR = exports.CARD_LIST_ITEM_BORDER_HOVER = exports.CARD_LIST_ITEM_BORDER_COLOUR = exports.CARD_LIST_ITEM_BACKGROUND_HOVER = exports.CARD_SHADOW_COLOUR = exports.CARD_BORDER_COLOUR = exports.CARD_BACKGROUND_COLOUR_NO_DATA = exports.CARD_BACKGROUND_COLOUR = exports.EFORM_BACKGROUND_COLOUR = exports.ICON_COLOURS = exports.TEXT_COLOURS = exports.INPUT_COLOURS = void 0; | ||
var colours = __importStar(require("./nhs-colours")); | ||
@@ -52,3 +52,2 @@ exports.INPUT_COLOURS = { | ||
exports.CARD_LIST_ITEM_BORDER_HOVER = '#b0b0b0'; | ||
exports.CARD_LIST_ITEM_SELECTED_BACKGROUND = colours.NHS_LIGHT_GREEN.LIGHTER75; | ||
exports.PATIENT_BANNER_DECEASED_BACKGROUND_COLOUR = colours.NHS_BLACK; | ||
@@ -86,30 +85,22 @@ exports.PATIENT_BANNER_BACKGROUND_COLOUR = '#56008c'; | ||
DEFAULT: { | ||
BACKGROUND: '#edecec', | ||
TEXT: '#626262', | ||
BORDER: '#e4e4e4', | ||
ICON: '#919090', | ||
HOVER: '#c8c5c5', | ||
VALUE: colours.NHS_DARK_BLUE.VALUE, | ||
TEXT: colours.NHS_BLACK, | ||
}, | ||
PRIMARY: { | ||
VALUE: colours.NHS_DARK_BLUE.VALUE, | ||
TEXT: colours.NHS_WHITE, | ||
}, | ||
INFO: { | ||
BACKGROUND: '#cbdbee', | ||
TEXT: '#0053c3', | ||
BORDER: '#bdd2ec', | ||
ICON: '#107dbd', | ||
HOVER: '#b2cae6', | ||
VALUE: colours.NHS_TRANSLUCENT_BRIGHT_BLUE, | ||
TEXT: colours.NHS_DARK_BLUE.VALUE, | ||
}, | ||
WARNING: { | ||
BACKGROUND: '#fef3cd', | ||
TEXT: '#926100', | ||
BORDER: '#faeab4', | ||
ICON: '#ffa500', | ||
HOVER: '#faeab1', | ||
VALUE: colours.NHS_TRANSLUCENT_WARM_YELLOW, | ||
TEXT: colours.NHS_ORANGE, | ||
}, | ||
DANGER: { | ||
BACKGROUND: '#eeacbd', | ||
TEXT: '#a41e40', | ||
BORDER: '#ec9bb0', | ||
ICON: '#f50b47', | ||
HOVER: 'ea94aa', | ||
ERROR: { | ||
VALUE: colours.NHS_DARK_RED, | ||
TEXT: colours.NHS_WHITE, | ||
}, | ||
}; | ||
//# sourceMappingURL=colours.js.map |
@@ -10,14 +10,10 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CSS_RESET = void 0; | ||
__exportStar(require("./colours"), exports); | ||
var css_reset_1 = require("./css-reset"); | ||
Object.defineProperty(exports, "CSS_RESET", { enumerable: true, get: function () { return __importDefault(css_reset_1).default; } }); | ||
Object.defineProperty(exports, "CSS_RESET", { enumerable: true, get: function () { return css_reset_1.default; } }); | ||
__exportStar(require("./icons"), exports); | ||
__exportStar(require("./media-queries"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -13,3 +13,2 @@ export declare const NHS_BLUE = "#005EB8"; | ||
LIGHTER25: string; | ||
LIGHTER50: string; | ||
}; | ||
@@ -16,0 +15,0 @@ export declare const NHS_BLACK = "#231f20"; |
@@ -16,3 +16,2 @@ "use strict"; | ||
LIGHTER25: '#406aae', | ||
LIGHTER50: '#7FAFFF', | ||
}; | ||
@@ -19,0 +18,0 @@ exports.NHS_BLACK = '#231f20'; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@ltht-react/styles", | ||
"version": "0.1.20", | ||
"version": "0.2.0", | ||
"description": "> TODO: description", | ||
@@ -25,3 +25,3 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>", | ||
"dependencies": { | ||
"@emotion/core": "10.0.35", | ||
"@emotion/core": "^10.0.27", | ||
"@emotion/styled": "^10.0.27", | ||
@@ -31,5 +31,5 @@ "emotion": "^10.0.27" | ||
"devDependencies": { | ||
"typescript": "4.0.5" | ||
"typescript": "^3.7.4" | ||
}, | ||
"gitHead": "bed644100b6acf8597d480e640131a2ebb74f7ba" | ||
"gitHead": "130d29ad7089f9d9f0f48cdfa217205a2a1b9c0d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25602
378
+ Added@emotion/core@10.3.1(transitive)
- Removed@emotion/core@10.0.35(transitive)
Updated@emotion/core@^10.0.27