Socket
Socket
Sign inDemoInstall

@ltht-react/icon

Package Overview
Dependencies
Maintainers
5
Versions
323
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/icon - npm Package Compare versions

Comparing version 0.1.12 to 0.1.13

8

CHANGELOG.md

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

## [0.1.13](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@0.1.12...@ltht-react/icon@0.1.13) (2020-05-01)
**Note:** Version bump only for package @ltht-react/icon
## [0.1.12](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@0.1.11...@ltht-react/icon@0.1.12) (2020-05-01)

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

6

lib/atoms/column-icon.d.ts
/** @jsx jsx */
import React from 'react';
import { IconSizes } from '@ltht-react/styles';
declare const ColumnIcon: React.FC<ExclamationIconProps>;
declare type ExclamationIconProps = {
status: 'red' | 'green' | 'amber' | 'default';
declare const ColumnIcon: React.FC<IconProps>;
declare type IconProps = {
status: 'red' | 'green' | 'amber' | 'default' | 'info';
size: IconSizes;
};
export default ColumnIcon;

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

var status = _a.status, size = _a.size;
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS.VALUE + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT.VALUE + ";");
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS.VALUE + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT.VALUE + ";", status === 'info' && "color: " + styles_1.ICON_COLOURS.INFO + ";");
return core_1.jsx(react_fontawesome_1.FontAwesomeIcon, { css: styles, icon: free_solid_svg_icons_1.faColumns, size: styles_1.calculateIconSize(size), transform: { rotate: 180 } });

@@ -16,0 +16,0 @@ };

@@ -6,5 +6,5 @@ /** @jsx jsx */

declare type ExclamationIconProps = {
status: 'red' | 'green' | 'amber' | 'default';
status: 'red' | 'green' | 'amber' | 'info' | 'default';
size: IconSizes;
};
export default ExclamationIcon;

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

var status = _a.status, size = _a.size;
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT + ";");
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT + ";", status === 'info' && "color: " + styles_1.ICON_COLOURS.INFO + ";");
return core_1.jsx(react_fontawesome_1.FontAwesomeIcon, { css: styles, icon: free_solid_svg_icons_1.faExclamationTriangle, size: styles_1.calculateIconSize(size) });

@@ -16,0 +16,0 @@ };

/** @jsx jsx */
import React from 'react';
import { IconSizes } from '@ltht-react/styles';
declare const TableIcon: React.FC<ExclamationIconProps>;
declare type ExclamationIconProps = {
status: 'red' | 'green' | 'amber' | 'default';
declare const TableIcon: React.FC<IconProps>;
declare type IconProps = {
status: 'red' | 'green' | 'amber' | 'info' | 'default';
size: IconSizes;
};
export default TableIcon;

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

var status = _a.status, size = _a.size;
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS.VALUE + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT.VALUE + ";");
var styles = core_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n ", "\n "])), status === 'green' && "color: " + styles_1.ICON_COLOURS.SUCCESS.VALUE + ";", status === 'amber' && "color: " + styles_1.ICON_COLOURS.WARNING + ";", status === 'red' && "color: " + styles_1.ICON_COLOURS.DANGER + ";", status === 'default' && "color: " + styles_1.ICON_COLOURS.DEFAULT.VALUE + ";", status === 'info' && "color: " + styles_1.ICON_COLOURS.INFO + ";");
return core_1.jsx(react_fontawesome_1.FontAwesomeIcon, { css: styles, icon: free_solid_svg_icons_1.faTable, size: styles_1.calculateIconSize(size), transform: { rotate: 180 } });

@@ -16,0 +16,0 @@ };

{
"name": "@ltht-react/icon",
"version": "0.1.12",
"version": "0.1.13",
"description": "ltht-react styled Icon component.",

@@ -39,3 +39,3 @@ "author": "LTHT",

},
"gitHead": "179ae9136342e1645a73393d907f5925922f5873"
"gitHead": "667b6be0cf1e29fbc7e19cddaadbdfdcd7919815"
}

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc