New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@guardian/src-svgs

Package Overview
Dependencies
Maintainers
30
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/src-svgs - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-rc.0

camera.d.ts

73

dist/index.esm.js

@@ -58,2 +58,13 @@ import React from 'react';

var SvgCamera = function SvgCamera() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M25.9999 9.99999V20.9749L24.5249 22.5249H5.49999L4 21.0499V9.99999L5.49999 8.49999H10.475L12.975 6H17L19.4999 8.49999H24.5249L25.9999 9.99999ZM15 19.75C17.5 19.75 19.5249 17.75 19.5249 15.275C19.5249 12.775 17.5 10.775 15 10.775C12.5 10.775 10.5 12.775 10.5 15.275C10.5 17.75 12.5 19.75 15 19.75Z"
}));
};
var SvgCheckmark = function SvgCheckmark() {

@@ -114,5 +125,5 @@ return /*#__PURE__*/React.createElement("svg", {

var SvgClose = function SvgClose() {
var SvgCreditCard = function SvgCreditCard() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
viewBox: "0 0 30 20",
xmlns: "http://www.w3.org/2000/svg"

@@ -122,9 +133,9 @@ }, /*#__PURE__*/React.createElement("path", {

clipRule: "evenodd",
d: "M15.325 17.025l7.225 6.625 1.075-1.075-6.6-7.25 6.6-7.25L22.55 7l-7.225 6.625-7.25-6.6L7 8.1l6.625 7.225L7 22.55l1.075 1.075 7.25-6.6z"
d: "M25.28 4.75L23.5066 3H5.77333L4 4.75V6.36H25.28V4.75ZM25.28 8.32H4L4 15.25L5.74377 17H23.5066L25.28 15.25L25.28 8.32ZM8.48 13.64H10.6958V12.52H8.48V13.64ZM14.0639 13.64H11.8481V12.52H14.0639V13.64ZM15.2161 13.64H17.4319V12.52H15.2161V13.64ZM20.8 13.64H18.5842V12.52H20.8V13.64Z"
}));
};
var SvgCreditCard = function SvgCreditCard() {
var SvgCross = function SvgCross() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 20",
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"

@@ -134,6 +145,8 @@ }, /*#__PURE__*/React.createElement("path", {

clipRule: "evenodd",
d: "M25.28 4.75L23.5066 3H5.77333L4 4.75V6.36H25.28V4.75ZM25.28 8.32H4L4 15.25L5.74377 17H23.5066L25.28 15.25L25.28 8.32ZM8.48 13.64H10.6958V12.52H8.48V13.64ZM14.0639 13.64H11.8481V12.52H14.0639V13.64ZM15.2161 13.64H17.4319V12.52H15.2161V13.64ZM20.8 13.64H18.5842V12.52H20.8V13.64Z"
d: "M15.325 17.025l7.225 6.625 1.075-1.075-6.6-7.25 6.6-7.25L22.55 7l-7.225 6.625-7.25-6.6L7 8.1l6.625 7.225L7 22.55l1.075 1.075 7.25-6.6z"
}));
};
}; // TODO: Remove legacy name
var SvgClose = SvgCross;
var SvgDirectDebit = function SvgDirectDebit() {

@@ -208,2 +221,46 @@ return /*#__PURE__*/React.createElement("svg", {

export { SvgAlert, SvgArrowDownStraight, SvgArrowLeftStraight, SvgArrowRightStraight, SvgArrowUpStraight, SvgCheckmark, SvgChevronDownSingle, SvgChevronLeftSingle, SvgChevronRightSingle, SvgChevronUpSingle, SvgClose, SvgCreditCard, SvgDirectDebit, SvgExternal, SvgIndent, SvgMinus, SvgPayPal, SvgPlus };
var SvgQuote = function SvgQuote() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M9.2776 8H14.0473C13.4732 12.5489 12.9653 17.0095 12.7445 22H4C4.79495 17.142 6.4511 12.5489 9.2776 8ZM20.3852 8H25.0887C24.5808 12.5489 24.0067 17.0095 23.7859 22H15.0635C15.9688 17.142 17.5587 12.5489 20.3852 8Z"
}));
};
var SvgSpeechBubble = function SvgSpeechBubble() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M23.9999 10.5L22.4999 9H7.49999L6 10.5V19.5L7.475 21H9.99999V25.9999H10.975L14 21H22.4999L23.9999 19.5V10.5Z"
}));
};
var SvgStar = function SvgStar() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M22.4499 23.5499L20.1249 16.45L26.1499 12.025L25.8499 11.075H18.4L16.1 4H15.05L12.775 11.075H5.3L5 12.025L11.025 16.45L8.74999 23.5499L9.52498 24.1499L15.575 19.7249L21.6249 24.1499L22.4499 23.5499Z"
}));
};
var SvgTickRound = function SvgTickRound() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M15 26C21.0751 26 26 21.0751 26 15C26 8.92487 21.0751 4 15 4C8.92487 4 4 8.92487 4 15C4 21.0751 8.92487 26 15 26ZM13.05 17.3615L10.5523 14.9754L9.67347 15.8541L12.6526 20.025H13.1516L21.3527 11.5371L20.45 10.657L13.05 17.3615Z"
}));
};
export { SvgAlert, SvgArrowDownStraight, SvgArrowLeftStraight, SvgArrowRightStraight, SvgArrowUpStraight, SvgCamera, SvgCheckmark, SvgChevronDownSingle, SvgChevronLeftSingle, SvgChevronRightSingle, SvgChevronUpSingle, SvgClose, SvgCreditCard, SvgCross, SvgDirectDebit, SvgExternal, SvgIndent, SvgMinus, SvgPayPal, SvgPlus, SvgQuote, SvgSpeechBubble, SvgStar, SvgTickRound };

@@ -64,2 +64,13 @@ 'use strict';

var SvgCamera = function SvgCamera() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M25.9999 9.99999V20.9749L24.5249 22.5249H5.49999L4 21.0499V9.99999L5.49999 8.49999H10.475L12.975 6H17L19.4999 8.49999H24.5249L25.9999 9.99999ZM15 19.75C17.5 19.75 19.5249 17.75 19.5249 15.275C19.5249 12.775 17.5 10.775 15 10.775C12.5 10.775 10.5 12.775 10.5 15.275C10.5 17.75 12.5 19.75 15 19.75Z"
}));
};
var SvgCheckmark = function SvgCheckmark() {

@@ -120,5 +131,5 @@ return /*#__PURE__*/React.createElement("svg", {

var SvgClose = function SvgClose() {
var SvgCreditCard = function SvgCreditCard() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
viewBox: "0 0 30 20",
xmlns: "http://www.w3.org/2000/svg"

@@ -128,9 +139,9 @@ }, /*#__PURE__*/React.createElement("path", {

clipRule: "evenodd",
d: "M15.325 17.025l7.225 6.625 1.075-1.075-6.6-7.25 6.6-7.25L22.55 7l-7.225 6.625-7.25-6.6L7 8.1l6.625 7.225L7 22.55l1.075 1.075 7.25-6.6z"
d: "M25.28 4.75L23.5066 3H5.77333L4 4.75V6.36H25.28V4.75ZM25.28 8.32H4L4 15.25L5.74377 17H23.5066L25.28 15.25L25.28 8.32ZM8.48 13.64H10.6958V12.52H8.48V13.64ZM14.0639 13.64H11.8481V12.52H14.0639V13.64ZM15.2161 13.64H17.4319V12.52H15.2161V13.64ZM20.8 13.64H18.5842V12.52H20.8V13.64Z"
}));
};
var SvgCreditCard = function SvgCreditCard() {
var SvgCross = function SvgCross() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 20",
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"

@@ -140,6 +151,8 @@ }, /*#__PURE__*/React.createElement("path", {

clipRule: "evenodd",
d: "M25.28 4.75L23.5066 3H5.77333L4 4.75V6.36H25.28V4.75ZM25.28 8.32H4L4 15.25L5.74377 17H23.5066L25.28 15.25L25.28 8.32ZM8.48 13.64H10.6958V12.52H8.48V13.64ZM14.0639 13.64H11.8481V12.52H14.0639V13.64ZM15.2161 13.64H17.4319V12.52H15.2161V13.64ZM20.8 13.64H18.5842V12.52H20.8V13.64Z"
d: "M15.325 17.025l7.225 6.625 1.075-1.075-6.6-7.25 6.6-7.25L22.55 7l-7.225 6.625-7.25-6.6L7 8.1l6.625 7.225L7 22.55l1.075 1.075 7.25-6.6z"
}));
};
}; // TODO: Remove legacy name
var SvgClose = SvgCross;
var SvgDirectDebit = function SvgDirectDebit() {

@@ -214,2 +227,46 @@ return /*#__PURE__*/React.createElement("svg", {

var SvgQuote = function SvgQuote() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M9.2776 8H14.0473C13.4732 12.5489 12.9653 17.0095 12.7445 22H4C4.79495 17.142 6.4511 12.5489 9.2776 8ZM20.3852 8H25.0887C24.5808 12.5489 24.0067 17.0095 23.7859 22H15.0635C15.9688 17.142 17.5587 12.5489 20.3852 8Z"
}));
};
var SvgSpeechBubble = function SvgSpeechBubble() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M23.9999 10.5L22.4999 9H7.49999L6 10.5V19.5L7.475 21H9.99999V25.9999H10.975L14 21H22.4999L23.9999 19.5V10.5Z"
}));
};
var SvgStar = function SvgStar() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M22.4499 23.5499L20.1249 16.45L26.1499 12.025L25.8499 11.075H18.4L16.1 4H15.05L12.775 11.075H5.3L5 12.025L11.025 16.45L8.74999 23.5499L9.52498 24.1499L15.575 19.7249L21.6249 24.1499L22.4499 23.5499Z"
}));
};
var SvgTickRound = function SvgTickRound() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 30 30",
xmlns: "http://www.w3.org/2000/svg"
}, /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M15 26C21.0751 26 26 21.0751 26 15C26 8.92487 21.0751 4 15 4C8.92487 4 4 8.92487 4 15C4 21.0751 8.92487 26 15 26ZM13.05 17.3615L10.5523 14.9754L9.67347 15.8541L12.6526 20.025H13.1516L21.3527 11.5371L20.45 10.657L13.05 17.3615Z"
}));
};
exports.SvgAlert = SvgAlert;

@@ -220,2 +277,3 @@ exports.SvgArrowDownStraight = SvgArrowDownStraight;

exports.SvgArrowUpStraight = SvgArrowUpStraight;
exports.SvgCamera = SvgCamera;
exports.SvgCheckmark = SvgCheckmark;

@@ -228,2 +286,3 @@ exports.SvgChevronDownSingle = SvgChevronDownSingle;

exports.SvgCreditCard = SvgCreditCard;
exports.SvgCross = SvgCross;
exports.SvgDirectDebit = SvgDirectDebit;

@@ -235,1 +294,5 @@ exports.SvgExternal = SvgExternal;

exports.SvgPlus = SvgPlus;
exports.SvgQuote = SvgQuote;
exports.SvgSpeechBubble = SvgSpeechBubble;
exports.SvgStar = SvgStar;
exports.SvgTickRound = SvgTickRound;

@@ -6,2 +6,3 @@ export * from "./alert";

export * from "./arrow-up-straight";
export * from "./camera";
export * from "./checkmark";

@@ -12,4 +13,4 @@ export * from "./chevron-down-single";

export * from "./chevron-up-single";
export * from "./close";
export * from "./credit-card";
export * from "./cross";
export * from "./direct-debit";

@@ -21,1 +22,5 @@ export * from "./external";

export * from "./plus";
export * from "./quote";
export * from "./speech-bubble";
export * from "./star";
export * from "./tick-round";

13

package.json
{
"name": "@guardian/src-svgs",
"version": "1.1.0",
"version": "1.2.0-rc.0",
"main": "dist/index.js",

@@ -28,4 +28,4 @@ "module": "dist/index.esm.js",

"@babel/preset-typescript": "^7.9.0",
"@guardian/src-foundations": "^1.1.0",
"@guardian/src-helpers": "^1.1.0",
"@guardian/src-foundations": "^1.2.0-rc.0",
"@guardian/src-helpers": "^1.2.0-rc.0",
"rollup": "^1.17.0",

@@ -42,2 +42,3 @@ "rollup-plugin-babel": "^4.3.3",

"arrow-up-straight.tsx",
"camera.tsx",
"checkmark.tsx",

@@ -48,4 +49,4 @@ "chevron-down-single.tsx",

"chevron-up-single.tsx",
"close.tsx",
"credit-card.tsx",
"cross.tsx",
"direct-debit.tsx",

@@ -57,2 +58,6 @@ "external.tsx",

"paypal.tsx",
"quote.tsx",
"speech-bubble.tsx",
"star.tsx",
"tick-round.tsx",
"*.d.ts",

@@ -59,0 +64,0 @@ "dist/*.js"

@@ -6,2 +6,16 @@ /// <reference types="react" />

export default _default;
export declare const XsmallIcons: {
(): JSX.Element;
story: {
name: string;
parameters: {
backgrounds: ({
default: boolean;
} & {
name: import("@guardian/src-helpers").ThemeName;
value: string;
})[];
};
};
};
export declare const SmallIcons: {

@@ -21,3 +35,3 @@ (): JSX.Element;

};
export declare const DefaultIcons: {
export declare const MediumIcons: {
(): JSX.Element;

@@ -36,1 +50,29 @@ story: {

};
export declare const MediumBrandIcons: {
(): JSX.Element;
story: {
name: string;
parameters: {
backgrounds: ({
default: boolean;
} & {
name: import("@guardian/src-helpers").ThemeName;
value: string;
})[];
};
};
};
export declare const PaymentIcons: {
(): JSX.Element;
story: {
name: string;
parameters: {
backgrounds: ({
default: boolean;
} & {
name: import("@guardian/src-helpers").ThemeName;
value: string;
})[];
};
};
};
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