Socket
Socket
Sign inDemoInstall

@ltht-react/styles

Package Overview
Dependencies
Maintainers
5
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/styles - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [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)

@@ -8,0 +16,0 @@

22

lib/atoms/colours.d.ts

@@ -71,21 +71,25 @@ export declare const INPUT_COLOURS: {

DEFAULT: {
VALUE: string;
BACKGROUND: string;
TEXT: string;
BORDER: string;
ICON: string;
};
PRIMARY: {
VALUE: string;
TEXT: string;
};
INFO: {
VALUE: string;
BACKGROUND: string;
TEXT: string;
BORDER: string;
ICON: string;
};
WARNING: {
VALUE: string;
BACKGROUND: string;
TEXT: string;
BORDER: string;
ICON: string;
};
ERROR: {
VALUE: string;
DANGER: {
BACKGROUND: string;
TEXT: string;
BORDER: string;
ICON: string;
};
};

@@ -17,3 +17,3 @@ "use strict";

var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);

@@ -83,22 +83,26 @@ return result;

DEFAULT: {
VALUE: colours.NHS_DARK_BLUE.VALUE,
TEXT: colours.NHS_BLACK,
BACKGROUND: '#edecec',
TEXT: '#626262',
BORDER: '#e4e4e4',
ICON: '#919090',
},
PRIMARY: {
VALUE: colours.NHS_DARK_BLUE.VALUE,
TEXT: colours.NHS_WHITE,
},
INFO: {
VALUE: colours.NHS_TRANSLUCENT_BRIGHT_BLUE,
TEXT: colours.NHS_DARK_BLUE.VALUE,
BACKGROUND: '#cbdbee',
TEXT: '#0053c3',
BORDER: '#bdd2ec',
ICON: '#107dbd',
},
WARNING: {
VALUE: colours.NHS_TRANSLUCENT_WARM_YELLOW,
TEXT: colours.NHS_ORANGE,
BACKGROUND: '#fef3cd',
TEXT: '#926100',
BORDER: '#faeab4',
ICON: '#ffa500',
},
ERROR: {
VALUE: colours.NHS_DARK_RED,
TEXT: colours.NHS_WHITE,
DANGER: {
BACKGROUND: '#eeacbd',
TEXT: '#a41e40',
BORDER: '#ec9bb0',
ICON: '#f50b47',
},
};
//# sourceMappingURL=colours.js.map
declare const CSS_RESET: import("@emotion/utils").SerializedStyles;
export default CSS_RESET;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const ICON_SIZE_SMALL = "1rem";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './colours';

@@ -10,10 +10,14 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, 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 css_reset_1.default; } });
Object.defineProperty(exports, "CSS_RESET", { enumerable: true, get: function () { return __importDefault(css_reset_1).default; } });
__exportStar(require("./icons"), exports);
__exportStar(require("./media-queries"), exports);
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ export declare const MOBILE_MEDIA_QUERY = "@media only screen and (max-width: 767px)";

@@ -0,0 +0,0 @@ "use strict";

@@ -13,2 +13,3 @@ export declare const NHS_BLUE = "#005EB8";

LIGHTER25: string;
LIGHTER50: string;
};

@@ -15,0 +16,0 @@ export declare const NHS_BLACK = "#231f20";

@@ -16,2 +16,3 @@ "use strict";

LIGHTER25: '#406aae',
LIGHTER50: '#7FAFFF',
};

@@ -18,0 +19,0 @@ exports.NHS_BLACK = '#231f20';

export * from './atoms';

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

{
"name": "@ltht-react/styles",
"version": "0.1.18",
"version": "0.1.19",
"description": "> TODO: description",

@@ -25,3 +25,3 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>",

"dependencies": {
"@emotion/core": "^10.0.27",
"@emotion/core": "10.0.35",
"@emotion/styled": "^10.0.27",

@@ -31,5 +31,5 @@ "emotion": "^10.0.27"

"devDependencies": {
"typescript": "^3.7.4"
"typescript": "4.0.5"
},
"gitHead": "6f88b301f18fa5b39cf5f6c6126812b5f134f4d1"
"gitHead": "635882c57fc2790aabb610028b1dbc30dbc1dc54"
}

@@ -0,0 +0,0 @@ # `@ltht-react/types`

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc